2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev
/null
; then :
204 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
209 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
212 test -z "$as_dir" && as_dir
=.
216 for as_base
in sh bash ksh sh5
; do
217 # Try only shells that exist, to save several forks.
218 as_shell
=$as_dir/$as_base
219 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
221 CONFIG_SHELL
=$as_shell as_have_required
=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$SHELL as_have_required
=yes
237 if test "x$CONFIG_SHELL" != x
; then :
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
245 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
247 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 if test x
$as_have_required = xno
; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x
${ZSH_VERSION+set} = xset
; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
275 SHELL
=${CONFIG_SHELL-/bin/sh}
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE
= GREP_OPTIONS
=
279 unset CLICOLOR_FORCE GREP_OPTIONS
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
286 # Portably unset VAR.
289 { eval $1=; unset $1;}
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 # Create "$as_dir" as a directory, including parents if necessary.
318 -*) as_dir
=.
/$as_dir;;
320 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
324 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
327 as_dirs
="'$as_qdir' $as_dirs"
328 as_dir
=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
351 test -d "$as_dir" && break
353 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
354 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p
()
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
373 eval 'as_fn_append ()
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
397 as_val
=`expr "$@" || test $? -eq 1`
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
409 as_status
=$1; test $as_status -eq 0 && as_status
=1
411 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit
$as_status
418 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
425 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
431 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
437 as_me
=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
456 # Avoid depending upon Character Ranges.
457 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits
='0123456789'
461 as_cr_alnum
=$as_cr_Letters$as_cr_digits
464 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
465 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484 chmod +x
"$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec
=no
; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
495 # Exit status is that of the last command.
499 ECHO_C
= ECHO_N
= ECHO_T
=
500 case `echo -n x` in #(((((
502 case `echo 'xy\c'` in
503 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
512 rm -f conf$$ conf$$.exe conf$$.
file
513 if test -d conf$$.dir
; then
514 rm -f conf$$.dir
/conf$$.
file
517 mkdir conf$$.dir
2>/dev
/null
519 if (echo >conf$$.
file) 2>/dev
/null
; then
520 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
528 elif ln conf$$.
file conf$$
2>/dev
/null
; then
536 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
537 rmdir conf$$.dir
2>/dev
/null
539 if mkdir
-p .
2>/dev
/null
; then
540 as_mkdir_p
='mkdir -p "$as_dir"'
542 test -d .
/-p && rmdir .
/-p
547 as_executable_p
=as_fn_executable_p
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
567 ac_default_prefix
=/usr
/local
569 ac_config_libobj_dir
=.
576 # Identity of this package.
584 ac_unique_file
="../mmakefile"
585 ac_subst_vars
='LTLIBOBJS
587 aros_nowarnflags_int_in_bool_context
588 aros_warnflags_int_in_bool_context
589 aros_nowarnflags_class_memaccess
590 aros_warnflags_class_memaccess
591 aros_nowarnflags_missing_prototypes
592 aros_warnflags_missing_prototypes
593 aros_nowarnflags_implicit_fallthrough
594 aros_warnflags_implicit_fallthrough
595 aros_nowarnflags_missing_field_initializers
596 aros_warnflags_missing_field_initializers
597 aros_nowarnflags_shift_negative_value
598 aros_warnflags_shift_negative_value
599 aros_nowarnflags_stringop_truncation
600 aros_warnflags_stringop_truncation
601 aros_nowarnflags_format_truncation
602 aros_warnflags_format_truncation
603 aros_nowarnflags_stringop_overflow
604 aros_warnflags_stringop_overflow
605 aros_nowarnflags_format_overflow
606 aros_warnflags_format_overflow
607 aros_nowarnflags_empty_body
608 aros_warnflags_empty_body
609 aros_nowarnflags_tautological_compare
610 aros_warnflags_tautological_compare
611 aros_nowarnflags_lto_type_mismatch
612 aros_warnflags_lto_type_mismatch
613 aros_nowarnflags_format_zero_length
614 aros_warnflags_format_zero_length
615 aros_nowarnflags_return_type
616 aros_warnflags_return_type
617 aros_nowarnflags_sizeof_pointer_memaccess
618 aros_warnflags_sizeof_pointer_memaccess
619 aros_nowarnflags_volatile_register_var
620 aros_warnflags_volatile_register_var
621 aros_nowarnflags_narrowing
622 aros_warnflags_narrowing
623 aros_nowarnflags_conversion_null
624 aros_warnflags_conversion_null
625 aros_nowarnflags_missing_braces
626 aros_warnflags_missing_braces
627 aros_nowarnflags_unused_local_typedefs
628 aros_warnflags_unused_local_typedefs
629 aros_nowarnflags_overflow
630 aros_warnflags_overflow
631 aros_nowarnflags_attributes
632 aros_warnflags_attributes
633 aros_nowarnflags_sign_compare
634 aros_warnflags_sign_compare
635 aros_nowarnflags_deprecated_declarations
636 aros_warnflags_deprecated_declarations
637 aros_nowarnflags_frame_address
638 aros_warnflags_frame_address
639 aros_nowarnflags_shift_overflow
640 aros_warnflags_shift_overflow
641 aros_nowarnflags_pointer_sign
642 aros_warnflags_pointer_sign
643 aros_nowarnflags_logical_not_parentheses
644 aros_warnflags_logical_not_parentheses
645 aros_nowarnflags_bool_compare
646 aros_warnflags_bool_compare
647 aros_nowarnflags_incompatible_pointer_types
648 aros_warnflags_incompatible_pointer_types
649 aros_nowarnflags_comment
650 aros_warnflags_comment
651 aros_nowarnflags_write_strings
652 aros_warnflags_write_strings
653 aros_nowarnflags_unused_const_variable
654 aros_warnflags_unused_const_variable
655 aros_nowarnflags_pointer_to_int_cast
656 aros_warnflags_pointer_to_int_cast
657 aros_nowarnflags_int_to_pointer_cast
658 aros_warnflags_int_to_pointer_cast
659 aros_nowarnflags_int_conversion
660 aros_warnflags_int_conversion
661 aros_nowarnflags_discarded_array_qualifiers
662 aros_warnflags_discarded_array_qualifiers
663 aros_nowarnflags_unknown_pragmas
664 aros_warnflags_unknown_pragmas
665 aros_nowarnflags_sequence_point
666 aros_warnflags_sequence_point
667 aros_nowarnflags_discarded_qualifiers
668 aros_warnflags_discarded_qualifiers
669 aros_nowarnflags_switch
670 aros_warnflags_switch
673 aros_nowarnflags_aggressive_loop_optimizations
674 aros_warnflags_aggressive_loop_optimizations
675 aros_nowarnflags_implicit_int
676 aros_warnflags_implicit_int
677 aros_nowarnflags_format_contains_nul
678 aros_warnflags_format_contains_nul
679 aros_nowarnflags_endif_labels
680 aros_warnflags_endif_labels
681 aros_nowarnflags_char_subscripts
682 aros_warnflags_char_subscripts
683 aros_nowarnflags_parentheses
684 aros_warnflags_parentheses
685 aros_nowarnflags_format
686 aros_warnflags_format
687 aros_nowarnflags_implicit_function_declaration
688 aros_warnflags_implicit_function_declaration
689 aros_nowarnflags_maybe_uninitialized
690 aros_warnflags_maybe_uninitialized
691 aros_nowarnflags_uninitialized
692 aros_warnflags_uninitialized
693 aros_nowarnflags_unused_parameter
694 aros_warnflags_unused_parameter
695 aros_nowarnflags_unused_function
696 aros_warnflags_unused_function
697 aros_nowarnflags_unused_variable
698 aros_warnflags_unused_variable
699 aros_nowarnflags_unused_value
700 aros_warnflags_unused_value
701 aros_nowarnflags_unused_label
702 aros_warnflags_unused_label
703 aros_nowarnflags_unused
704 aros_warnflags_unused
705 aros_nowarnflags_nonnull_compare
706 aros_warnflags_nonnull_compare
707 aros_nowarnflags_misleading_indentation
708 aros_warnflags_misleading_indentation
709 aros_nowarnflags_format_security
710 aros_warnflags_format_security
711 aros_nowarnflags_strict_overflow
712 aros_warnflags_strict_overflow
713 aros_nowarnflags_strict_prototypes
714 aros_warnflags_strict_prototypes
715 aros_nowarnflags_enum_compare
716 aros_warnflags_enum_compare
717 aros_nowarnflags_array_bounds
718 aros_warnflags_array_bounds
719 aros_nowarnflags_strict_aliasing
720 aros_warnflags_strict_aliasing
721 aros_nowarnflags_unused_but_set_variable
722 aros_warnflags_unused_but_set_variable
723 aros_nowarnflags_unknown_warning_option
724 aros_warnflags_unknown_warning_option
725 aros_nowarnflags_unused_command_line_argument
726 aros_warnflags_unused_command_line_argument
727 aros_nowarnflags_restrict
728 aros_warnflags_restrict
730 aros_nowarnflags_error
732 aros_cflags_no_red_zone
733 aros_cflags_iquote_end
735 aros_cflags_notestcoverage
736 aros_cflags_testcoverage
737 aros_cflags_noprofilearcs
738 aros_cflags_profilearcs
743 aros_cflags_noinlinesmallfunctions
744 aros_cflags_inlinesmallfunctions
745 aros_cflags_nostrictaliasing
746 aros_cflags_strictaliasing
747 aros_cflags_unroll_loops
748 aros_cflags_peel_loops
749 aros_cflags_loop_strip_mine
750 aros_cflags_loop_interchange
751 aros_cflags_loop_block
752 aros_cflags_whole_program
755 aros_cflags_no_builtin_floor
756 aros_cflags_fast_math
757 aros_cflags_permissive
758 aros_cflags_exceptions
793 program_transform_name
806 enable_option_checking
809 ac_precious_vars
='build_alias
819 # Initialize some variables set by options.
821 ac_init_version
=false
822 ac_unrecognized_opts
=
824 # The variables have the same names as the options, with
825 # dashes changed to underlines.
833 program_transform_name
=s
,x
,x
,
841 # Installation directory options.
842 # These are left unexpanded so users can "make install exec_prefix=/foo"
843 # and all the variables that are supposed to be based on exec_prefix
844 # by default will actually change.
845 # Use braces instead of parens because sh, perl, etc. also accept them.
846 # (The list follows the same order as the GNU Coding Standards.)
847 bindir
='${exec_prefix}/bin'
848 sbindir
='${exec_prefix}/sbin'
849 libexecdir
='${exec_prefix}/libexec'
850 datarootdir
='${prefix}/share'
851 datadir
='${datarootdir}'
852 sysconfdir
='${prefix}/etc'
853 sharedstatedir
='${prefix}/com'
854 localstatedir
='${prefix}/var'
855 includedir
='${prefix}/include'
856 oldincludedir
='/usr/include'
857 docdir
='${datarootdir}/doc/${PACKAGE}'
858 infodir
='${datarootdir}/info'
863 libdir
='${exec_prefix}/lib'
864 localedir
='${datarootdir}/locale'
865 mandir
='${datarootdir}/man'
871 # If the previous option needs an argument, assign it.
872 if test -n "$ac_prev"; then
873 eval $ac_prev=\
$ac_option
879 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
884 # Accept the important Cygnus configure options, so we can diagnose typos.
886 case $ac_dashdash$ac_option in
890 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
892 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
895 -build |
--build |
--buil |
--bui |
--bu)
896 ac_prev
=build_alias
;;
897 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
898 build_alias
=$ac_optarg ;;
900 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
901 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
902 ac_prev
=cache_file
;;
903 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
904 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
905 cache_file
=$ac_optarg ;;
908 cache_file
=config.cache
;;
910 -datadir |
--datadir |
--datadi |
--datad)
912 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
913 datadir
=$ac_optarg ;;
915 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
916 |
--dataroo |
--dataro |
--datar)
917 ac_prev
=datarootdir
;;
918 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
919 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
920 datarootdir
=$ac_optarg ;;
922 -disable-* |
--disable-*)
923 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
924 # Reject names that are not valid shell variable names.
925 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
926 as_fn_error $?
"invalid feature name: $ac_useropt"
927 ac_useropt_orig
=$ac_useropt
928 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
929 case $ac_user_opts in
933 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
934 ac_unrecognized_sep
=', ';;
936 eval enable_
$ac_useropt=no
;;
938 -docdir |
--docdir |
--docdi |
--doc |
--do)
940 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
943 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
945 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
948 -enable-* |
--enable-*)
949 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
950 # Reject names that are not valid shell variable names.
951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
952 as_fn_error $?
"invalid feature name: $ac_useropt"
953 ac_useropt_orig
=$ac_useropt
954 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
955 case $ac_user_opts in
959 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
960 ac_unrecognized_sep
=', ';;
962 eval enable_
$ac_useropt=\
$ac_optarg ;;
964 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
965 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
966 |
--exec |
--exe |
--ex)
967 ac_prev
=exec_prefix
;;
968 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
969 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
970 |
--exec=* |
--exe=* |
--ex=*)
971 exec_prefix
=$ac_optarg ;;
973 -gas |
--gas |
--ga |
--g)
974 # Obsolete; use --with-gas.
977 -help |
--help |
--hel |
--he |
-h)
979 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
980 ac_init_help
=recursive
;;
981 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
982 ac_init_help
=short
;;
984 -host |
--host |
--hos |
--ho)
985 ac_prev
=host_alias
;;
986 -host=* |
--host=* |
--hos=* |
--ho=*)
987 host_alias
=$ac_optarg ;;
989 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
991 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
993 htmldir
=$ac_optarg ;;
995 -includedir |
--includedir |
--includedi |
--included |
--include \
996 |
--includ |
--inclu |
--incl |
--inc)
997 ac_prev
=includedir
;;
998 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
999 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1000 includedir
=$ac_optarg ;;
1002 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1004 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1005 infodir
=$ac_optarg ;;
1007 -libdir |
--libdir |
--libdi |
--libd)
1009 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1010 libdir
=$ac_optarg ;;
1012 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1013 |
--libexe |
--libex |
--libe)
1014 ac_prev
=libexecdir
;;
1015 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1016 |
--libexe=* |
--libex=* |
--libe=*)
1017 libexecdir
=$ac_optarg ;;
1019 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1020 ac_prev
=localedir
;;
1021 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1022 localedir
=$ac_optarg ;;
1024 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1025 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1026 ac_prev
=localstatedir
;;
1027 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1028 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1029 localstatedir
=$ac_optarg ;;
1031 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1033 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1034 mandir
=$ac_optarg ;;
1036 -nfp |
--nfp |
--nf)
1037 # Obsolete; use --without-fp.
1040 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1041 |
--no-cr |
--no-c |
-n)
1044 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1045 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1048 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1049 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1050 |
--oldin |
--oldi |
--old |
--ol |
--o)
1051 ac_prev
=oldincludedir
;;
1052 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1053 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1054 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1055 oldincludedir
=$ac_optarg ;;
1057 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1059 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1060 prefix
=$ac_optarg ;;
1062 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1063 |
--program-pre |
--program-pr |
--program-p)
1064 ac_prev
=program_prefix
;;
1065 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1066 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1067 program_prefix
=$ac_optarg ;;
1069 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1070 |
--program-suf |
--program-su |
--program-s)
1071 ac_prev
=program_suffix
;;
1072 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1073 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1074 program_suffix
=$ac_optarg ;;
1076 -program-transform-name |
--program-transform-name \
1077 |
--program-transform-nam |
--program-transform-na \
1078 |
--program-transform-n |
--program-transform- \
1079 |
--program-transform |
--program-transfor \
1080 |
--program-transfo |
--program-transf \
1081 |
--program-trans |
--program-tran \
1082 |
--progr-tra |
--program-tr |
--program-t)
1083 ac_prev
=program_transform_name
;;
1084 -program-transform-name=* |
--program-transform-name=* \
1085 |
--program-transform-nam=* |
--program-transform-na=* \
1086 |
--program-transform-n=* |
--program-transform-=* \
1087 |
--program-transform=* |
--program-transfor=* \
1088 |
--program-transfo=* |
--program-transf=* \
1089 |
--program-trans=* |
--program-tran=* \
1090 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1091 program_transform_name
=$ac_optarg ;;
1093 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1095 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1096 pdfdir
=$ac_optarg ;;
1098 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1100 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1103 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1104 |
-silent |
--silent |
--silen |
--sile |
--sil)
1107 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1109 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1111 sbindir
=$ac_optarg ;;
1113 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1114 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1115 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1117 ac_prev
=sharedstatedir
;;
1118 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1119 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1120 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1122 sharedstatedir
=$ac_optarg ;;
1124 -site |
--site |
--sit)
1126 -site=* |
--site=* |
--sit=*)
1129 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1131 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1132 srcdir
=$ac_optarg ;;
1134 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1135 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1136 ac_prev
=sysconfdir
;;
1137 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1138 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1139 sysconfdir
=$ac_optarg ;;
1141 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1142 ac_prev
=target_alias
;;
1143 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1144 target_alias
=$ac_optarg ;;
1146 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1149 -version |
--version |
--versio |
--versi |
--vers |
-V)
1150 ac_init_version
=: ;;
1153 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1154 # Reject names that are not valid shell variable names.
1155 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1156 as_fn_error $?
"invalid package name: $ac_useropt"
1157 ac_useropt_orig
=$ac_useropt
1158 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1159 case $ac_user_opts in
1163 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1164 ac_unrecognized_sep
=', ';;
1166 eval with_
$ac_useropt=\
$ac_optarg ;;
1168 -without-* |
--without-*)
1169 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1170 # Reject names that are not valid shell variable names.
1171 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1172 as_fn_error $?
"invalid package name: $ac_useropt"
1173 ac_useropt_orig
=$ac_useropt
1174 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1175 case $ac_user_opts in
1179 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1180 ac_unrecognized_sep
=', ';;
1182 eval with_
$ac_useropt=no
;;
1185 # Obsolete; use --with-x.
1188 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1189 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1190 ac_prev
=x_includes
;;
1191 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1192 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1193 x_includes
=$ac_optarg ;;
1195 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1196 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1197 ac_prev
=x_libraries
;;
1198 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1199 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1200 x_libraries
=$ac_optarg ;;
1202 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1203 Try \`$0 --help' for more information"
1207 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1208 # Reject names that are not valid shell variable names.
1209 case $ac_envvar in #(
1210 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1211 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1213 eval $ac_envvar=\
$ac_optarg
1214 export $ac_envvar ;;
1217 # FIXME: should be removed in autoconf 3.0.
1218 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1219 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1220 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1221 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1227 if test -n "$ac_prev"; then
1228 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1229 as_fn_error $?
"missing argument to $ac_option"
1232 if test -n "$ac_unrecognized_opts"; then
1233 case $enable_option_checking in
1235 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1236 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1240 # Check all directory arguments for consistency.
1241 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1242 datadir sysconfdir sharedstatedir localstatedir includedir \
1243 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1244 libdir localedir mandir
1246 eval ac_val
=\$
$ac_var
1247 # Remove trailing slashes.
1250 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1251 eval $ac_var=\
$ac_val;;
1253 # Be sure to have absolute directory names.
1255 [\\/$
]* | ?
:[\\/]* ) continue;;
1256 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1258 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1261 # There might be people who depend on the old broken behavior: `$host'
1262 # used to hold the argument of --host etc.
1263 # FIXME: To remove some day.
1266 target
=$target_alias
1268 # FIXME: To remove some day.
1269 if test "x$host_alias" != x
; then
1270 if test "x$build_alias" = x
; then
1271 cross_compiling
=maybe
1272 elif test "x$build_alias" != "x$host_alias"; then
1278 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1280 test "$silent" = yes && exec 6>/dev
/null
1283 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1284 ac_ls_di
=`ls -di .` &&
1285 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1286 as_fn_error $?
"working directory cannot be determined"
1287 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1288 as_fn_error $?
"pwd does not report name of working directory"
1291 # Find the source files, if location was not specified.
1292 if test -z "$srcdir"; then
1293 ac_srcdir_defaulted
=yes
1294 # Try the directory containing this script, then the parent directory.
1295 ac_confdir
=`$as_dirname -- "$as_myself" ||
1296 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1297 X"$as_myself" : 'X\(//\)[^/]' \| \
1298 X"$as_myself" : 'X\(//\)$' \| \
1299 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1300 $as_echo X"$as_myself" |
1301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1319 if test ! -r "$srcdir/$ac_unique_file"; then
1323 ac_srcdir_defaulted
=no
1325 if test ! -r "$srcdir/$ac_unique_file"; then
1326 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1327 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1329 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1331 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1333 # When building in place, set srcdir=.
1334 if test "$ac_abs_confdir" = "$ac_pwd"; then
1337 # Remove unnecessary trailing slashes from srcdir.
1338 # Double slashes in file names in object file debugging info
1339 # mess up M-x gdb in Emacs.
1341 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1343 for ac_var
in $ac_precious_vars; do
1344 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1345 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1346 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1347 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1351 # Report the --help message.
1353 if test "$ac_init_help" = "long"; then
1354 # Omit some internal or obsolete options to make the list less imposing.
1355 # This message is too long to be a string in the A/UX 3.1 sh.
1357 \`configure' configures this package to adapt to many kinds of systems.
1359 Usage: $0 [OPTION]... [VAR=VALUE]...
1361 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1362 VAR=VALUE. See below for descriptions of some of the useful variables.
1364 Defaults for the options are specified in brackets.
1367 -h, --help display this help and exit
1368 --help=short display options specific to this package
1369 --help=recursive display the short help of all the included packages
1370 -V, --version display version information and exit
1371 -q, --quiet, --silent do not print \`checking ...' messages
1372 --cache-file=FILE cache test results in FILE [disabled]
1373 -C, --config-cache alias for \`--cache-file=config.cache'
1374 -n, --no-create do not create output files
1375 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1377 Installation directories:
1378 --prefix=PREFIX install architecture-independent files in PREFIX
1379 [$ac_default_prefix]
1380 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1383 By default, \`make install' will install all the files in
1384 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1385 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1386 for instance \`--prefix=\$HOME'.
1388 For better control, use the options below.
1390 Fine tuning of the installation directories:
1391 --bindir=DIR user executables [EPREFIX/bin]
1392 --sbindir=DIR system admin executables [EPREFIX/sbin]
1393 --libexecdir=DIR program executables [EPREFIX/libexec]
1394 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1395 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1396 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1397 --libdir=DIR object code libraries [EPREFIX/lib]
1398 --includedir=DIR C header files [PREFIX/include]
1399 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1400 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1401 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1402 --infodir=DIR info documentation [DATAROOTDIR/info]
1403 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1404 --mandir=DIR man documentation [DATAROOTDIR/man]
1405 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1406 --htmldir=DIR html documentation [DOCDIR]
1407 --dvidir=DIR dvi documentation [DOCDIR]
1408 --pdfdir=DIR pdf documentation [DOCDIR]
1409 --psdir=DIR ps documentation [DOCDIR]
1416 if test -n "$ac_init_help"; then
1421 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1422 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1423 --with-config-dir=VERSION
1424 Location of generated target config files
1426 Some influential environment variables
:
1427 CC C compiler
command
1428 CFLAGS C compiler flags
1429 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1430 nonstandard directory
<lib dir
>
1431 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1432 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1433 you have headers
in a nonstandard directory
<include dir
>
1435 Use these variables to override the choices made by
`configure' or to help
1436 it to find libraries and programs with nonstandard names/locations.
1438 Report bugs to the package provider.
1443 if test "$ac_init_help" = "recursive"; then
1444 # If there are subdirs, report their specific --help.
1445 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1446 test -d "$ac_dir" ||
1447 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1452 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1454 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1455 # A ".." for each directory in $ac_dir_suffix.
1456 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1457 case $ac_top_builddir_sub in
1458 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1459 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1462 ac_abs_top_builddir=$ac_pwd
1463 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1464 # for backward compatibility:
1465 ac_top_builddir=$ac_top_build_prefix
1468 .) # We are building in place.
1470 ac_top_srcdir=$ac_top_builddir_sub
1471 ac_abs_top_srcdir=$ac_pwd ;;
1472 [\\/]* | ?:[\\/]* ) # Absolute name.
1473 ac_srcdir=$srcdir$ac_dir_suffix;
1474 ac_top_srcdir=$srcdir
1475 ac_abs_top_srcdir=$srcdir ;;
1477 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1478 ac_top_srcdir=$ac_top_build_prefix$srcdir
1479 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1481 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1483 cd "$ac_dir" || { ac_status=$?; continue; }
1484 # Check for guested configure.
1485 if test -f "$ac_srcdir/configure.gnu"; then
1487 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1488 elif test -f "$ac_srcdir/configure"; then
1490 $SHELL "$ac_srcdir/configure" --help=recursive
1492 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1494 cd "$ac_pwd" || { ac_status=$?; break; }
1498 test -n "$ac_init_help" && exit $ac_status
1499 if $ac_init_version; then
1502 generated by GNU Autoconf 2.69
1504 Copyright (C) 2012 Free Software Foundation, Inc.
1505 This configure script is free software; the Free Software Foundation
1506 gives unlimited permission to copy, distribute and modify it.
1511 ## ------------------------ ##
1512 ## Autoconf initialization. ##
1513 ## ------------------------ ##
1515 # ac_fn_c_try_compile LINENO
1516 # --------------------------
1517 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1518 ac_fn_c_try_compile ()
1520 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1521 rm -f conftest.$ac_objext
1522 if { { ac_try="$ac_compile"
1524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1525 *) ac_try_echo
=$ac_try;;
1527 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1528 $as_echo "$ac_try_echo"; } >&5
1529 (eval "$ac_compile") 2>conftest.err
1531 if test -s conftest.err
; then
1532 grep -v '^ *+' conftest.err
>conftest.er1
1533 cat conftest.er1
>&5
1534 mv -f conftest.er1 conftest.err
1536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1537 test $ac_status = 0; } && {
1538 test -z "$ac_c_werror_flag" ||
1539 test ! -s conftest.err
1540 } && test -s conftest.
$ac_objext; then :
1543 $as_echo "$as_me: failed program was:" >&5
1544 sed 's/^/| /' conftest.
$ac_ext >&5
1548 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1549 as_fn_set_status
$ac_retval
1551 } # ac_fn_c_try_compile
1552 cat >config.log
<<_ACEOF
1553 This file contains any messages produced by compilers while
1554 running configure, to aid debugging if configure makes a mistake.
1556 It was created by $as_me, which was
1557 generated by GNU Autoconf 2.69. Invocation command line was
1569 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1570 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1571 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1572 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1573 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1575 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1576 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1578 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1579 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1580 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1581 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1582 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1583 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1584 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1592 test -z "$as_dir" && as_dir
=.
1593 $as_echo "PATH: $as_dir"
1609 # Keep a trace of the command line.
1610 # Strip out --no-create and --no-recursion so they do not pile up.
1611 # Strip out --silent because we don't want to record it for future runs.
1612 # Also quote any args containing shell meta-characters.
1613 # Make two passes to allow for proper duplicate-argument suppression.
1617 ac_must_keep_next
=false
1623 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1624 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1625 |
-silent |
--silent |
--silen |
--sile |
--sil)
1628 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1631 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1633 as_fn_append ac_configure_args1
" '$ac_arg'"
1634 if test $ac_must_keep_next = true
; then
1635 ac_must_keep_next
=false
# Got value, back to normal.
1638 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1639 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1640 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1641 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1642 case "$ac_configure_args0 " in
1643 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1646 -* ) ac_must_keep_next
=true
;;
1649 as_fn_append ac_configure_args
" '$ac_arg'"
1654 { ac_configure_args0
=; unset ac_configure_args0
;}
1655 { ac_configure_args1
=; unset ac_configure_args1
;}
1657 # When interrupted or exit'd, cleanup temporary files, and complete
1658 # config.log. We remove comments because anyway the quotes in there
1659 # would cause problems or look ugly.
1660 # WARNING: Use '\'' to represent an apostrophe within the trap.
1661 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1662 trap 'exit_status=$?
1663 # Save into config.log some information that might help in debugging.
1667 $as_echo "## ---------------- ##
1668 ## Cache variables. ##
1669 ## ---------------- ##"
1671 # The following way of writing the cache mishandles newlines in values,
1673 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1674 eval ac_val=\$$ac_var
1678 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1679 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1682 _ | IFS | as_nl) ;; #(
1683 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1684 *) { eval $ac_var=; unset $ac_var;} ;;
1689 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1690 *${as_nl}ac_space=\ *)
1692 "s/'\''/'\''\\\\'\'''\''/g;
1693 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1696 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1703 $as_echo "## ----------------- ##
1704 ## Output variables. ##
1705 ## ----------------- ##"
1707 for ac_var in $ac_subst_vars
1709 eval ac_val=\$$ac_var
1711 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1713 $as_echo "$ac_var='\''$ac_val'\''"
1717 if test -n "$ac_subst_files"; then
1718 $as_echo "## ------------------- ##
1719 ## File substitutions. ##
1720 ## ------------------- ##"
1722 for ac_var
in $ac_subst_files
1724 eval ac_val
=\$
$ac_var
1726 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1728 $as_echo "$ac_var='\''$ac_val'\''"
1733 if test -s confdefs.h; then
1734 $as_echo "## ----------- ##
1741 test "$ac_signal" != 0 &&
1742 $as_echo "$as_me: caught signal $ac_signal"
1743 $as_echo "$as_me: exit $exit_status"
1745 rm -f core *.core core.conftest.* &&
1746 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1749 for ac_signal
in 1 2 13 15; do
1750 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1754 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1755 rm -f -r conftest
* confdefs.h
1757 $as_echo "/* confdefs.h */" > confdefs.h
1759 # Predefined preprocessor variables.
1761 cat >>confdefs.h
<<_ACEOF
1762 #define PACKAGE_NAME "$PACKAGE_NAME"
1765 cat >>confdefs.h
<<_ACEOF
1766 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1769 cat >>confdefs.h
<<_ACEOF
1770 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1773 cat >>confdefs.h
<<_ACEOF
1774 #define PACKAGE_STRING "$PACKAGE_STRING"
1777 cat >>confdefs.h
<<_ACEOF
1778 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1781 cat >>confdefs.h
<<_ACEOF
1782 #define PACKAGE_URL "$PACKAGE_URL"
1786 # Let the site file select an alternate cache file if it wants to.
1787 # Prefer an explicitly selected file to automatically selected ones.
1790 if test -n "$CONFIG_SITE"; then
1791 # We do not want a PATH search for config.site.
1792 case $CONFIG_SITE in #((
1793 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1794 */*) ac_site_file1
=$CONFIG_SITE;;
1795 *) ac_site_file1
=.
/$CONFIG_SITE;;
1797 elif test "x$prefix" != xNONE
; then
1798 ac_site_file1
=$prefix/share
/config.site
1799 ac_site_file2
=$prefix/etc
/config.site
1801 ac_site_file1
=$ac_default_prefix/share
/config.site
1802 ac_site_file2
=$ac_default_prefix/etc
/config.site
1804 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1806 test "x$ac_site_file" = xNONE
&& continue
1807 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1809 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1810 sed 's/^/| /' "$ac_site_file" >&5
1812 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1814 as_fn_error $?
"failed to load site script $ac_site_file
1815 See \`config.log' for more details" "$LINENO" 5; }
1819 if test -r "$cache_file"; then
1820 # Some versions of bash will fail to source /dev/null (special files
1821 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1822 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1824 $as_echo "$as_me: loading cache $cache_file" >&6;}
1826 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1827 *) .
"./$cache_file";;
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1832 $as_echo "$as_me: creating cache $cache_file" >&6;}
1836 # Check that the precious variables saved in the cache have kept the same
1838 ac_cache_corrupted
=false
1839 for ac_var
in $ac_precious_vars; do
1840 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1841 eval ac_new_set
=\
$ac_env_${ac_var}_set
1842 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1843 eval ac_new_val
=\
$ac_env_${ac_var}_value
1844 case $ac_old_set,$ac_new_set in
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1847 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1848 ac_cache_corrupted
=: ;;
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1851 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1852 ac_cache_corrupted
=: ;;
1855 if test "x$ac_old_val" != "x$ac_new_val"; then
1856 # differences in whitespace do not lead to failure.
1857 ac_old_val_w
=`echo x $ac_old_val`
1858 ac_new_val_w
=`echo x $ac_new_val`
1859 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1861 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1862 ac_cache_corrupted
=:
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1865 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1866 eval $ac_var=\
$ac_old_val
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1869 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1871 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1874 # Pass precious variables to config.status.
1875 if test "$ac_new_set" = set; then
1877 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1878 *) ac_arg
=$ac_var=$ac_new_val ;;
1880 case " $ac_configure_args " in
1881 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1882 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1886 if $ac_cache_corrupted; then
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1888 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1890 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1891 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1893 ## -------------------- ##
1894 ## Main body of script. ##
1895 ## -------------------- ##
1898 ac_cpp
='$CPP $CPPFLAGS'
1899 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1900 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1901 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1906 for ac_dir
in ..
/scripts
/autoconf
"$srcdir"/..
/scripts
/autoconf
; do
1907 if test -f "$ac_dir/install-sh"; then
1909 ac_install_sh
="$ac_aux_dir/install-sh -c"
1911 elif test -f "$ac_dir/install.sh"; then
1913 ac_install_sh
="$ac_aux_dir/install.sh -c"
1915 elif test -f "$ac_dir/shtool"; then
1917 ac_install_sh
="$ac_aux_dir/shtool install -c"
1921 if test -z "$ac_aux_dir"; then
1922 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
1925 # These three variables are undocumented and unsupported,
1926 # and are intended to be withdrawn in a future Autoconf release.
1927 # They can cause serious problems if a builder's source tree is in a directory
1928 # whose full name contains unusual characters.
1929 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1930 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1931 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1935 AROS_BUILDDIR
=`${PWDCMD-pwd}`
1936 AROS_BUILDDIR_UNIX
=${PWD}
1938 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1941 NOLINKFLAGS
="-nostdlib -nostartfiles"
1942 LDFLAGS
=$NOLINKFLAGS
1943 # The first step is to find the binaries.
1945 ac_cpp
='$CPP $CPPFLAGS'
1946 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1947 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1948 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1949 if test -n "$ac_tool_prefix"; then
1950 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1951 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1953 $as_echo_n "checking for $ac_word... " >&6; }
1954 if ${ac_cv_prog_CC+:} false
; then :
1955 $as_echo_n "(cached) " >&6
1957 if test -n "$CC"; then
1958 ac_cv_prog_CC
="$CC" # Let the user override the test.
1960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1964 test -z "$as_dir" && as_dir
=.
1965 for ac_exec_ext
in '' $ac_executable_extensions; do
1966 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1967 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1978 if test -n "$CC"; then
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1980 $as_echo "$CC" >&6; }
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1983 $as_echo "no" >&6; }
1988 if test -z "$ac_cv_prog_CC"; then
1990 # Extract the first word of "gcc", so it can be a program name with args.
1991 set dummy gcc
; ac_word
=$2
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1993 $as_echo_n "checking for $ac_word... " >&6; }
1994 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
1995 $as_echo_n "(cached) " >&6
1997 if test -n "$ac_ct_CC"; then
1998 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2004 test -z "$as_dir" && as_dir
=.
2005 for ac_exec_ext
in '' $ac_executable_extensions; do
2006 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2007 ac_cv_prog_ac_ct_CC
="gcc"
2008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2017 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2018 if test -n "$ac_ct_CC"; then
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2020 $as_echo "$ac_ct_CC" >&6; }
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2023 $as_echo "no" >&6; }
2026 if test "x$ac_ct_CC" = x
; then
2029 case $cross_compiling:$ac_tool_warned in
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2033 ac_tool_warned
=yes ;;
2041 if test -z "$CC"; then
2042 if test -n "$ac_tool_prefix"; then
2043 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2044 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2046 $as_echo_n "checking for $ac_word... " >&6; }
2047 if ${ac_cv_prog_CC+:} false
; then :
2048 $as_echo_n "(cached) " >&6
2050 if test -n "$CC"; then
2051 ac_cv_prog_CC
="$CC" # Let the user override the test.
2053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2057 test -z "$as_dir" && as_dir
=.
2058 for ac_exec_ext
in '' $ac_executable_extensions; do
2059 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2060 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2071 if test -n "$CC"; then
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2073 $as_echo "$CC" >&6; }
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2076 $as_echo "no" >&6; }
2082 if test -z "$CC"; then
2083 # Extract the first word of "cc", so it can be a program name with args.
2084 set dummy cc
; ac_word
=$2
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2086 $as_echo_n "checking for $ac_word... " >&6; }
2087 if ${ac_cv_prog_CC+:} false
; then :
2088 $as_echo_n "(cached) " >&6
2090 if test -n "$CC"; then
2091 ac_cv_prog_CC
="$CC" # Let the user override the test.
2094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2098 test -z "$as_dir" && as_dir
=.
2099 for ac_exec_ext
in '' $ac_executable_extensions; do
2100 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2101 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2102 ac_prog_rejected
=yes
2106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2113 if test $ac_prog_rejected = yes; then
2114 # We found a bogon in the path, so make sure we never use it.
2115 set dummy
$ac_cv_prog_CC
2117 if test $# != 0; then
2118 # We chose a different compiler from the bogus one.
2119 # However, it has the same basename, so the bogon will be chosen
2120 # first if we set CC to just the basename; use the full file name.
2122 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2128 if test -n "$CC"; then
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2130 $as_echo "$CC" >&6; }
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2133 $as_echo "no" >&6; }
2138 if test -z "$CC"; then
2139 if test -n "$ac_tool_prefix"; then
2140 for ac_prog
in cl.exe
2142 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2143 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2145 $as_echo_n "checking for $ac_word... " >&6; }
2146 if ${ac_cv_prog_CC+:} false
; then :
2147 $as_echo_n "(cached) " >&6
2149 if test -n "$CC"; then
2150 ac_cv_prog_CC
="$CC" # Let the user override the test.
2152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2156 test -z "$as_dir" && as_dir
=.
2157 for ac_exec_ext
in '' $ac_executable_extensions; do
2158 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2159 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2170 if test -n "$CC"; then
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2172 $as_echo "$CC" >&6; }
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2175 $as_echo "no" >&6; }
2179 test -n "$CC" && break
2182 if test -z "$CC"; then
2184 for ac_prog
in cl.exe
2186 # Extract the first word of "$ac_prog", so it can be a program name with args.
2187 set dummy
$ac_prog; ac_word
=$2
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2189 $as_echo_n "checking for $ac_word... " >&6; }
2190 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2191 $as_echo_n "(cached) " >&6
2193 if test -n "$ac_ct_CC"; then
2194 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2200 test -z "$as_dir" && as_dir
=.
2201 for ac_exec_ext
in '' $ac_executable_extensions; do
2202 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2203 ac_cv_prog_ac_ct_CC
="$ac_prog"
2204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2213 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2214 if test -n "$ac_ct_CC"; then
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2216 $as_echo "$ac_ct_CC" >&6; }
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2219 $as_echo "no" >&6; }
2223 test -n "$ac_ct_CC" && break
2226 if test "x$ac_ct_CC" = x
; then
2229 case $cross_compiling:$ac_tool_warned in
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2233 ac_tool_warned
=yes ;;
2242 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2244 as_fn_error $?
"no acceptable C compiler found in \$PATH
2245 See \`config.log' for more details" "$LINENO" 5; }
2247 # Provide some information about the compiler.
2248 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2251 for ac_option
in --version -v -V -qversion; do
2252 { { ac_try
="$ac_compiler $ac_option >&5"
2254 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2255 *) ac_try_echo=$ac_try;;
2257 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2258 $as_echo "$ac_try_echo"; } >&5
2259 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2261 if test -s conftest.err; then
2263 ... rest of stderr output deleted ...
2264 10q' conftest.err >conftest.er1
2265 cat conftest.er1 >&5
2267 rm -f conftest.er1 conftest.err
2268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2269 test $ac_status = 0; }
2272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2273 /* end confdefs.h. */
2283 ac_clean_files_save=$ac_clean_files
2284 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2285 # Try to create an executable without -o first, disregard a.out.
2286 # It will help us diagnose broken compilers, and finding out an intuition
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2289 $as_echo_n "checking whether the C compiler works... " >&6; }
2290 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2292 # The possible output files:
2293 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2296 for ac_file in $ac_files
2299 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2300 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2305 if { { ac_try="$ac_link_default"
2307 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2308 *) ac_try_echo
=$ac_try;;
2310 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2311 $as_echo "$ac_try_echo"; } >&5
2312 (eval "$ac_link_default") 2>&5
2314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2315 test $ac_status = 0; }; then :
2316 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2317 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2318 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2319 # so that the user can short-circuit this test for compilers unknown to
2321 for ac_file
in $ac_files ''
2323 test -f "$ac_file" ||
continue
2325 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2328 # We found the default executable, but exeext='' is most
2332 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2334 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2336 # We set ac_cv_exeext here because the later test for it is not
2337 # safe: cross compilers may not add the suffix if given an `-o'
2338 # argument, so we may need to know it at that point already.
2339 # Even if this section looks crufty: it has the advantage of
2346 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2351 if test -z "$ac_file"; then :
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2353 $as_echo "no" >&6; }
2354 $as_echo "$as_me: failed program was:" >&5
2355 sed 's/^/| /' conftest.
$ac_ext >&5
2357 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2359 as_fn_error
77 "C compiler cannot create executables
2360 See \`config.log' for more details" "$LINENO" 5; }
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2363 $as_echo "yes" >&6; }
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2366 $as_echo_n "checking for C compiler default output file name... " >&6; }
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2368 $as_echo "$ac_file" >&6; }
2369 ac_exeext
=$ac_cv_exeext
2371 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2372 ac_clean_files
=$ac_clean_files_save
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2374 $as_echo_n "checking for suffix of executables... " >&6; }
2375 if { { ac_try
="$ac_link"
2377 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2378 *) ac_try_echo=$ac_try;;
2380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2381 $as_echo "$ac_try_echo"; } >&5
2382 (eval "$ac_link") 2>&5
2384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2385 test $ac_status = 0; }; then :
2386 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2387 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2388 # work properly (i.e., refer to `conftest.exe'), while it won't with
2390 for ac_file
in conftest.exe conftest conftest.
*; do
2391 test -f "$ac_file" ||
continue
2393 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2394 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2400 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2402 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2403 See \`config.log' for more details" "$LINENO" 5; }
2405 rm -f conftest conftest
$ac_cv_exeext
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2407 $as_echo "$ac_cv_exeext" >&6; }
2409 rm -f conftest.
$ac_ext
2410 EXEEXT
=$ac_cv_exeext
2412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2413 /* end confdefs.h. */
2418 FILE *f = fopen ("conftest.out", "w");
2419 return ferror (f) || fclose (f) != 0;
2425 ac_clean_files
="$ac_clean_files conftest.out"
2426 # Check that the compiler produces executables we can run. If not, either
2427 # the compiler is broken, or we cross compile.
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2429 $as_echo_n "checking whether we are cross compiling... " >&6; }
2430 if test "$cross_compiling" != yes; then
2431 { { ac_try
="$ac_link"
2433 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2434 *) ac_try_echo=$ac_try;;
2436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2437 $as_echo "$ac_try_echo"; } >&5
2438 (eval "$ac_link") 2>&5
2440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2441 test $ac_status = 0; }
2442 if { ac_try='./conftest$ac_cv_exeext'
2443 { { case "(($ac_try" in
2444 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2445 *) ac_try_echo
=$ac_try;;
2447 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2448 $as_echo "$ac_try_echo"; } >&5
2449 (eval "$ac_try") 2>&5
2451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2452 test $ac_status = 0; }; }; then
2455 if test "$cross_compiling" = maybe
; then
2458 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2459 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2460 as_fn_error $?
"cannot run C compiled programs.
2461 If you meant to cross compile, use \`--host'.
2462 See \`config.log' for more details" "$LINENO" 5; }
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2467 $as_echo "$cross_compiling" >&6; }
2469 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2470 ac_clean_files
=$ac_clean_files_save
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2472 $as_echo_n "checking for suffix of object files... " >&6; }
2473 if ${ac_cv_objext+:} false
; then :
2474 $as_echo_n "(cached) " >&6
2476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2477 /* end confdefs.h. */
2487 rm -f conftest.o conftest.obj
2488 if { { ac_try
="$ac_compile"
2490 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2491 *) ac_try_echo=$ac_try;;
2493 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2494 $as_echo "$ac_try_echo"; } >&5
2495 (eval "$ac_compile") 2>&5
2497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2498 test $ac_status = 0; }; then :
2499 for ac_file in conftest.o conftest.obj conftest.*; do
2500 test -f "$ac_file" || continue;
2502 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2503 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2508 $as_echo "$as_me: failed program was:" >&5
2509 sed 's/^/| /' conftest.$ac_ext >&5
2511 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2512 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2513 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2514 See \
`config.log' for more details" "$LINENO" 5; }
2516 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2519 $as_echo "$ac_cv_objext" >&6; }
2520 OBJEXT=$ac_cv_objext
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2523 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2524 if ${ac_cv_c_compiler_gnu+:} false; then :
2525 $as_echo_n "(cached) " >&6
2527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2528 /* end confdefs.h. */
2541 if ac_fn_c_try_compile "$LINENO"; then :
2546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2547 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2551 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2552 if test $ac_compiler_gnu = yes; then
2557 ac_test_CFLAGS=${CFLAGS+set}
2558 ac_save_CFLAGS=$CFLAGS
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2560 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2561 if ${ac_cv_prog_cc_g+:} false; then :
2562 $as_echo_n "(cached) " >&6
2564 ac_save_c_werror_flag=$ac_c_werror_flag
2565 ac_c_werror_flag=yes
2568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2569 /* end confdefs.h. */
2579 if ac_fn_c_try_compile "$LINENO"; then :
2583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2584 /* end confdefs.h. */
2594 if ac_fn_c_try_compile "$LINENO"; then :
2597 ac_c_werror_flag=$ac_save_c_werror_flag
2599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2600 /* end confdefs.h. */
2610 if ac_fn_c_try_compile "$LINENO"; then :
2613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2618 ac_c_werror_flag=$ac_save_c_werror_flag
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2621 $as_echo "$ac_cv_prog_cc_g" >&6; }
2622 if test "$ac_test_CFLAGS" = set; then
2623 CFLAGS=$ac_save_CFLAGS
2624 elif test $ac_cv_prog_cc_g = yes; then
2625 if test "$GCC" = yes; then
2631 if test "$GCC" = yes; then
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2638 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2639 if ${ac_cv_prog_cc_c89+:} false; then :
2640 $as_echo_n "(cached) " >&6
2642 ac_cv_prog_cc_c89=no
2644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2645 /* end confdefs.h. */
2649 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2650 struct buf { int x; };
2651 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2652 static char *e (p, i)
2658 static char *f (char * (*g) (char **, int), char **p, ...)
2663 s = g (p, va_arg (v,int));
2668 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2669 function prototypes and stuff, but not '\xHH' hex character constants.
2670 These don't provoke an error unfortunately, instead are silently treated
2671 as 'x'. The following induces an error, until -std is added to get
2672 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2673 array size at least. It's necessary to write '\x00'==0 to get something
2674 that's true only with -std. */
2675 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2677 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2678 inside strings and character constants. */
2680 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2682 int test (int i, double x);
2683 struct s1 {int (*f) (int a);};
2684 struct s2 {int (*f) (double a);};
2685 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2691 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2696 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2697 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2699 CC="$ac_save_CC $ac_arg"
2700 if ac_fn_c_try_compile "$LINENO"; then :
2701 ac_cv_prog_cc_c89=$ac_arg
2703 rm -f core conftest.err conftest.$ac_objext
2704 test "x$ac_cv_prog_cc_c89" != "xno" && break
2706 rm -f conftest.$ac_ext
2711 case "x$ac_cv_prog_cc_c89" in
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2714 $as_echo "none needed" >&6; } ;;
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2717 $as_echo "unsupported" >&6; } ;;
2719 CC="$CC $ac_cv_prog_cc_c89"
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2721 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2723 if test "x$ac_cv_prog_cc_c89" != xno; then :
2728 ac_cpp='$CPP $CPPFLAGS'
2729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2735 $as_echo_n "checking target config location... " >&6; }
2737 # Check whether --with-config-dir was given.
2738 if test "${with_config_dir+set}" = set; then :
2739 withval=$with_config_dir; targetcfg_dir="$withval"
2744 if test "$targetcfg_dir" = ""; then
2745 as_fn_error $? "missing config directory!" "$LINENO" 5
2747 aros_targetcfg_dir="$targetcfg_dir"
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2750 $as_echo "$aros_targetcfg_dir" >&6; }
2752 #-----------------------------------------------------------------------------
2754 # Check if the target compiler supports some features:
2758 # -fno-builtin-floor
2762 # -floop-interchange
2766 # -finline-small-functions
2769 # -fomit-frame-pointer
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fexceptions" >&5
2774 $as_echo_n "checking whether ${CC} accepts -fexceptions... " >&6; }
2777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2778 /* end confdefs.h. */
2788 if ac_fn_c_try_compile "$LINENO"; then :
2789 aros_exceptions="yes"
2791 aros_exceptions="no"
2793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_exceptions" >&5
2795 $as_echo "$aros_exceptions" >&6; }
2796 if test "x-$aros_exceptions" = "x-yes" ; then
2797 aros_cflags_exceptions=-fexceptions
2798 aros_cflags_noexceptions=-fno-exceptions
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpermissive" >&5
2802 $as_echo_n "checking whether ${CC} accepts -fpermissive... " >&6; }
2804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2805 /* end confdefs.h. */
2815 if ac_fn_c_try_compile "$LINENO"; then :
2816 aros_permissive="yes"
2818 aros_permissive="no"
2820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_permissive" >&5
2822 $as_echo "$aros_permissive" >&6; }
2823 if test "x-$aros_permissive" = "x-yes" ; then
2824 aros_cflags_permissive=-fpermissive
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2828 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2831 /* end confdefs.h. */
2841 if ac_fn_c_try_compile "$LINENO"; then :
2842 aros_fast_math="yes"
2846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2848 $as_echo "$aros_fast_math" >&6; }
2849 if test "x-$aros_fast_math" = "x-yes" ; then
2850 aros_cflags_fast_math=-ffast-math
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-floor" >&5
2854 $as_echo_n "checking whether ${CC} accepts -fno-builtin-floor... " >&6; }
2855 CFLAGS=-fno-builtin-floor
2856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2857 /* end confdefs.h. */
2867 if ac_fn_c_try_compile "$LINENO"; then :
2868 aros_no_builtin_floor="yes"
2870 aros_no_builtin_floor="no"
2872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_floor" >&5
2874 $as_echo "$aros_no_builtin_floor" >&6; }
2875 if test "x-$aros_no_builtin_floor" = "x-yes" ; then
2876 aros_cflags_no_builtin_floor=-fno-builtin-floor
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2880 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2883 /* end confdefs.h. */
2893 if ac_fn_c_try_compile "$LINENO"; then :
2898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2900 $as_echo "$aros_lto" >&6; }
2901 if test "x-$aros_lto" = "x-yes" ; then
2902 aros_cflags_lto=-flto
2903 aros_cflags_nolto=-fno-lto
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
2906 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
2907 CFLAGS=-fwhole-program
2908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2909 /* end confdefs.h. */
2919 if ac_fn_c_try_compile "$LINENO"; then :
2920 aros_whole_program="yes"
2922 aros_whole_program="no"
2924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
2926 $as_echo "$aros_whole_program" >&6; }
2927 if test "x-$aros_whole_program" = "x-yes" ; then
2928 aros_cflags_whole_program=-fwhole-program
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2932 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2935 /* end confdefs.h. */
2945 if ac_fn_c_try_compile "$LINENO"; then :
2946 aros_loop_block="yes"
2948 aros_loop_block="no"
2950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2952 $as_echo "$aros_loop_block" >&6; }
2953 if test "x-$aros_loop_block" = "x-yes" ; then
2954 aros_cflags_loop_block=-floop-block
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2958 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2959 CFLAGS=-floop-interchange
2960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2961 /* end confdefs.h. */
2971 if ac_fn_c_try_compile "$LINENO"; then :
2972 aros_loop_interchange="yes"
2974 aros_loop_interchange="no"
2976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
2978 $as_echo "$aros_loop_interchange" >&6; }
2979 if test "x-$aros_loop_interchange" = "x-yes" ; then
2980 aros_cflags_loop_interchange=-floop-interchange
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
2984 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
2985 CFLAGS=-floop-strip-mine
2986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2987 /* end confdefs.h. */
2997 if ac_fn_c_try_compile "$LINENO"; then :
2998 aros_loop_strip_mine="yes"
3000 aros_loop_strip_mine="no"
3002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
3004 $as_echo "$aros_loop_strip_mine" >&6; }
3005 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
3006 aros_cflags_loop_strip_mine=-floop-strip-mine
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
3011 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
3013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3014 /* end confdefs.h. */
3024 if ac_fn_c_try_compile "$LINENO"; then :
3025 aros_peel_loops="yes"
3027 aros_peel_loops="no"
3029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
3031 $as_echo "$aros_peel_loops" >&6; }
3032 if test "x-$aros_peel_loops" = "x-yes" ; then
3033 aros_cflags_peel_loops=-fpeel-loops
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -funroll-loops" >&5
3037 $as_echo_n "checking whether ${CC} accepts -funroll-loops... " >&6; }
3038 CFLAGS=-funroll-loops
3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3040 /* end confdefs.h. */
3050 if ac_fn_c_try_compile "$LINENO"; then :
3051 aros_unroll_loops="yes"
3053 aros_unroll_loops="no"
3055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unroll_loops" >&5
3057 $as_echo "$aros_unroll_loops" >&6; }
3058 if test "x-$aros_unroll_loops" = "x-yes" ; then
3059 aros_cflags_unroll_loops=-funroll-loops
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
3063 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
3064 CFLAGS=-fstrict-aliasing
3065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3066 /* end confdefs.h. */
3076 if ac_fn_c_try_compile "$LINENO"; then :
3077 aros_strict_aliasing="yes"
3079 aros_strict_aliasing="no"
3081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3083 $as_echo "$aros_strict_aliasing" >&6; }
3084 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3085 aros_cflags_strictaliasing=-fstrict-aliasing
3086 aros_cflags_nostrictaliasing=-fno-strict-aliasing
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finline-small-functions" >&5
3090 $as_echo_n "checking whether ${CC} accepts -finline-small-functions... " >&6; }
3091 CFLAGS=-finline-small-functions
3092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3093 /* end confdefs.h. */
3103 if ac_fn_c_try_compile "$LINENO"; then :
3104 aros_inline_small_functions="yes"
3106 aros_inline_small_functions="no"
3108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_inline_small_functions" >&5
3110 $as_echo "$aros_inline_small_functions" >&6; }
3111 if test "x-$aros_inline_small_functions" = "x-yes" ; then
3112 aros_cflags_inlinesmallfunctions=-finline-small-functions
3113 aros_cflags_noinlinesmallfunctions=-fno-inline-small-functions
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fipa-cp" >&5
3117 $as_echo_n "checking whether ${CC} accepts -fipa-cp... " >&6; }
3119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3120 /* end confdefs.h. */
3130 if ac_fn_c_try_compile "$LINENO"; then :
3135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ipa_cp" >&5
3137 $as_echo "$aros_ipa_cp" >&6; }
3138 if test "x-$aros_ipa_cp" = "x-yes" ; then
3139 aros_cflags_ipacp=-fipa-cp
3140 aros_cflags_noipacp=-fno-ipa-cp
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fomit-frame-pointer" >&5
3144 $as_echo_n "checking whether ${CC} accepts -fomit-frame-pointer... " >&6; }
3145 CFLAGS=-fomit-frame-pointer
3146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3147 /* end confdefs.h. */
3157 if ac_fn_c_try_compile "$LINENO"; then :
3158 aros_omit_frame_pointer="yes"
3160 aros_omit_frame_pointer="no"
3162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_omit_frame_pointer" >&5
3164 $as_echo "$aros_omit_frame_pointer" >&6; }
3165 if test "x-$aros_omit_frame_pointer" = "x-yes" ; then
3166 aros_cflags_omitfp=-fomit-frame-pointer
3167 aros_cflags_noomitfp=-fno-omit-frame-pointer
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fprofile-arcs" >&5
3171 $as_echo_n "checking whether ${CC} accepts -fprofile-arcs... " >&6; }
3172 CFLAGS=-fprofile-arcs
3173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3174 /* end confdefs.h. */
3184 if ac_fn_c_try_compile "$LINENO"; then :
3185 aros_profile_arcs="yes"
3187 aros_profile_arcs="no"
3189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_profile_arcs" >&5
3191 $as_echo "$aros_profile_arcs" >&6; }
3192 if test "x-$aros_profile_arcs" = "x-yes" ; then
3193 aros_cflags_profilearcs=-fprofile-arcs
3194 aros_cflags_noprofilearcs=-fno-profile-arcs
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ftest-coverage" >&5
3198 $as_echo_n "checking whether ${CC} accepts -ftest-coverage... " >&6; }
3199 CFLAGS=-ftest-coverage
3200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3201 /* end confdefs.h. */
3211 if ac_fn_c_try_compile "$LINENO"; then :
3212 aros_test_coverage="yes"
3214 aros_test_coverage="no"
3216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_test_coverage" >&5
3218 $as_echo "$aros_test_coverage" >&6; }
3219 if test "x-$aros_test_coverage" = "x-yes" ; then
3220 aros_cflags_testcoverage=-ftest-coverage
3221 aros_cflags_notestcoverage=-fno-test-coverage
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
3228 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
3230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3231 /* end confdefs.h. */
3241 if ac_fn_c_try_compile "$LINENO"; then :
3246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
3248 $as_echo "$has_iquote" >&6; }
3249 if test "x-$has_iquote" = "x-yes" ; then
3250 aros_cflags_iquote=-iquote
3251 aros_cflags_iquote_end=
3253 aros_cflags_iquote=-I
3254 aros_cflags_iquote_end=-I-
3257 #-----------------------------------------------------------------------------
3259 # Check if the target compiler supports some options:
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mno-red-zone" >&5
3263 $as_echo_n "checking whether ${CC} accepts -mno-red-zone... " >&6; }
3264 CFLAGS=-mno-red-zone
3265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3266 /* end confdefs.h. */
3276 if ac_fn_c_try_compile "$LINENO"; then :
3277 aros_no_red_zone="yes"
3279 aros_no_red_zone="no"
3281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_red_zone" >&5
3283 $as_echo "$aros_no_red_zone" >&6; }
3284 if test "x-$aros_no_red_zone" = "x-yes" ; then
3285 aros_cflags_no_red_zone=-mno-red-zone
3288 #-----------------------------------------------------------------------------
3290 # Check if the target compiler supports some options used for de-linting:
3294 # -Wunused-command-line-argument
3295 # -Wunknown-warning-option
3296 # -Wunused-but-set-variable
3300 # -Wstrict-prototypes
3303 # -Wmisleading-indentation
3310 # -Wunused-parameter
3312 # -Wmaybe-uninitialized
3313 # -Wimplicit-function-declaration
3318 # -Wformat-contains-nul
3320 # -Waggressive-loop-optimizations
3323 # -Wdiscarded-qualifiers
3326 # -Wdiscarded-array-qualifiers
3328 # -Wint-to-pointer-cast
3329 # -Wpointer-to-int-cast
3330 # -Wunused-const-variable
3333 # -Wincompatible-pointer-types
3335 # -Wlogical-not-parentheses
3339 # -Wdeprecated-declarations
3343 # -Wunused-local-typedefs
3347 # -Wvolatile-register-var
3348 # -Wsizeof-pointer-memaccess
3350 # -Wformat-zero-length
3351 # -Wlto-type-mismatch
3352 # -Wtautological-compare
3355 # -Wstringop-overflow
3356 # -Wformat-truncation
3357 # -Wstringop-truncation
3358 # -Wshift-negative-value
3359 # -Wmissing-field-initializers
3360 # -Wimplicit-fallthrough
3361 # -Wmissing-prototypes
3363 # -Wint-in-bool-context
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Werror" >&5
3366 $as_echo_n "checking whether ${CC} accepts -Werror... " >&6; }
3368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3369 /* end confdefs.h. */
3379 if ac_fn_c_try_compile "$LINENO"; then :
3384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_error" >&5
3386 $as_echo "$aros_error" >&6; }
3387 if test "x-$aros_error" = "x-yes" ; then
3388 aros_warnflags_error=-Werror
3389 aros_nowarnflags_error=-Wno-error
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wall" >&5
3393 $as_echo_n "checking whether ${CC} accepts -Wall... " >&6; }
3395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3396 /* end confdefs.h. */
3406 if ac_fn_c_try_compile "$LINENO"; then :
3411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_all" >&5
3413 $as_echo "$aros_all" >&6; }
3414 if test "x-$aros_all" = "x-yes" ; then
3415 aros_warnflags_all=-Wall
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wrestrict" >&5
3419 $as_echo_n "checking whether ${CC} accepts -Wrestrict... " >&6; }
3421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3422 /* end confdefs.h. */
3432 if ac_fn_c_try_compile "$LINENO"; then :
3437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_restrict" >&5
3439 $as_echo "$aros_restrict" >&6; }
3440 if test "x-$aros_restrict" = "x-yes" ; then
3441 aros_warnflags_restrict=-Wrestrict
3442 aros_nowarnflags_restrict=-Wno-restrict
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
3446 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
3447 CFLAGS=-Wunused-command-line-argument
3448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3449 /* end confdefs.h. */
3459 if ac_fn_c_try_compile "$LINENO"; then :
3460 aros_unused_command_line_argument="yes"
3462 aros_unused_command_line_argument="no"
3464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
3466 $as_echo "$aros_unused_command_line_argument" >&6; }
3467 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
3468 aros_warnflags_unused_command_line_argument=-Wunused-command-line-argument
3469 aros_nowarnflags_unused_command_line_argument=-Wno-unused-command-line-argument
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
3473 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
3474 CFLAGS=-Wunknown-warning-option
3475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3476 /* end confdefs.h. */
3486 if ac_fn_c_try_compile "$LINENO"; then :
3487 aros_unknown_warning_option="yes"
3489 aros_unknown_warning_option="no"
3491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
3493 $as_echo "$aros_unknown_warning_option" >&6; }
3494 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
3495 aros_warnflags_unknown_warning_option=-Wunknown-warning-option
3496 aros_nowarnflags_unknown_warning_option=-Wno-unknown-warning-option
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
3500 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
3501 CFLAGS=-Wunused-but-set-variable
3502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3503 /* end confdefs.h. */
3513 if ac_fn_c_try_compile "$LINENO"; then :
3514 aros_unused_but_set_variable="yes"
3516 aros_unused_but_set_variable="no"
3518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
3520 $as_echo "$aros_unused_but_set_variable" >&6; }
3521 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
3522 aros_warnflags_unused_but_set_variable=-Wunused-but-set-variable
3523 aros_nowarnflags_unused_but_set_variable=-Wno-unused-but-set-variable
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
3527 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
3528 CFLAGS=-Wstrict-aliasing
3529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3530 /* end confdefs.h. */
3540 if ac_fn_c_try_compile "$LINENO"; then :
3541 aros_strict_aliasing="yes"
3543 aros_strict_aliasing="no"
3545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3547 $as_echo "$aros_strict_aliasing" >&6; }
3548 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3549 aros_warnflags_strict_aliasing=-Wstrict-aliasing
3550 aros_nowarnflags_strict_aliasing=-Wno-strict-aliasing
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
3554 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
3555 CFLAGS=-Warray-bounds
3556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3557 /* end confdefs.h. */
3567 if ac_fn_c_try_compile "$LINENO"; then :
3568 aros_array_bounds="yes"
3570 aros_array_bounds="no"
3572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
3574 $as_echo "$aros_array_bounds" >&6; }
3575 if test "x-$aros_array_bounds" = "x-yes" ; then
3576 aros_warnflags_array_bounds=-Warray-bounds
3577 aros_nowarnflags_array_bounds=-Wno-array-bounds
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
3581 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
3582 CFLAGS=-Wenum-compare
3583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3584 /* end confdefs.h. */
3594 if ac_fn_c_try_compile "$LINENO"; then :
3595 aros_enum_compare="yes"
3597 aros_enum_compare="no"
3599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
3601 $as_echo "$aros_enum_compare" >&6; }
3602 if test "x-$aros_enum_compare" = "x-yes" ; then
3603 aros_warnflags_enum_compare=-Wenum-compare
3604 aros_nowarnflags_enum_compare=-Wno-enum-compare
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
3608 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
3609 CFLAGS=-Wstrict-prototypes
3610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3611 /* end confdefs.h. */
3621 if ac_fn_c_try_compile "$LINENO"; then :
3622 aros_strict_prototypes="yes"
3624 aros_strict_prototypes="no"
3626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3628 $as_echo "$aros_strict_prototypes" >&6; }
3629 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3630 aros_warnflags_strict_prototypes=-Wstrict-prototypes
3631 aros_nowarnflags_strict_prototypes=-Wno-strict-prototypes
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3635 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3636 CFLAGS=-Wstrict-overflow
3637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3638 /* end confdefs.h. */
3648 if ac_fn_c_try_compile "$LINENO"; then :
3649 aros_strict_overflow="yes"
3651 aros_strict_overflow="no"
3653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3655 $as_echo "$aros_strict_overflow" >&6; }
3656 if test "x-$aros_strict_overflow" = "x-yes" ; then
3657 aros_warnflags_strict_overflow=-Wstrict-overflow
3658 aros_nowarnflags_strict_overflow=-Wno-strict-overflow
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3662 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3663 CFLAGS=-Wformat-security
3664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3665 /* end confdefs.h. */
3675 if ac_fn_c_try_compile "$LINENO"; then :
3676 aros_format_security="yes"
3678 aros_format_security="no"
3680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3682 $as_echo "$aros_format_security" >&6; }
3683 if test "x-$aros_format_security" = "x-yes" ; then
3684 aros_warnflags_format_security=-Wformat-security
3685 aros_nowarnflags_format_security=-Wno-format-security
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3689 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3690 CFLAGS=-Wmisleading-indentation
3691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3692 /* end confdefs.h. */
3702 if ac_fn_c_try_compile "$LINENO"; then :
3703 aros_misleading_indentation="yes"
3705 aros_misleading_indentation="no"
3707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3709 $as_echo "$aros_misleading_indentation" >&6; }
3710 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3711 aros_warnflags_misleading_indentation=-Wmisleading-indentation
3712 aros_nowarnflags_misleading_indentation=-Wno-misleading-indentation
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3716 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3717 CFLAGS=-Wnonnull-compare
3718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3719 /* end confdefs.h. */
3729 if ac_fn_c_try_compile "$LINENO"; then :
3730 aros_nonnull_compare="yes"
3732 aros_nonnull_compare="no"
3734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3736 $as_echo "$aros_nonnull_compare" >&6; }
3737 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3738 aros_warnflags_nonnull_compare=-Wnonnull-compare
3739 aros_nowarnflags_nonnull_compare=-Wno-nonnull-compare
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3743 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3746 /* end confdefs.h. */
3756 if ac_fn_c_try_compile "$LINENO"; then :
3761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3763 $as_echo "$aros_unused" >&6; }
3764 if test "x-$aros_unused" = "x-yes" ; then
3765 aros_warnflags_unused=-Wunused
3766 aros_nowarnflags_unused=-Wno-unused
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-label" >&5
3770 $as_echo_n "checking whether ${CC} accepts -Wunused-label... " >&6; }
3771 CFLAGS=-Wunused-label
3772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3773 /* end confdefs.h. */
3783 if ac_fn_c_try_compile "$LINENO"; then :
3784 aros_unused_label="yes"
3786 aros_unused_label="no"
3788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_label" >&5
3790 $as_echo "$aros_unused_label" >&6; }
3791 if test "x-$aros_unused_label" = "x-yes" ; then
3792 aros_warnflags_unused_label=-Wunused-label
3793 aros_nowarnflags_unused_label=-Wno-unused-label
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3797 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3798 CFLAGS=-Wunused-value
3799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3800 /* end confdefs.h. */
3810 if ac_fn_c_try_compile "$LINENO"; then :
3811 aros_unused_value="yes"
3813 aros_unused_value="no"
3815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3817 $as_echo "$aros_unused_value" >&6; }
3818 if test "x-$aros_unused_value" = "x-yes" ; then
3819 aros_warnflags_unused_value=-Wunused-value
3820 aros_nowarnflags_unused_value=-Wno-unused-value
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3824 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3825 CFLAGS=-Wunused-variable
3826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3827 /* end confdefs.h. */
3837 if ac_fn_c_try_compile "$LINENO"; then :
3838 aros_unused_variable="yes"
3840 aros_unused_variable="no"
3842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3844 $as_echo "$aros_unused_variable" >&6; }
3845 if test "x-$aros_unused_variable" = "x-yes" ; then
3846 aros_warnflags_unused_variable=-Wunused-variable
3847 aros_nowarnflags_unused_variable=-Wno-unused-variable
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3851 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3852 CFLAGS=-Wunused-function
3853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3854 /* end confdefs.h. */
3864 if ac_fn_c_try_compile "$LINENO"; then :
3865 aros_unused_function="yes"
3867 aros_unused_function="no"
3869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3871 $as_echo "$aros_unused_function" >&6; }
3872 if test "x-$aros_unused_function" = "x-yes" ; then
3873 aros_warnflags_unused_function=-Wunused-function
3874 aros_nowarnflags_unused_function=-Wno-unused-function
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
3878 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
3879 CFLAGS=-Wunused-parameter
3880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3881 /* end confdefs.h. */
3891 if ac_fn_c_try_compile "$LINENO"; then :
3892 aros_unused_parameter="yes"
3894 aros_unused_parameter="no"
3896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
3898 $as_echo "$aros_unused_parameter" >&6; }
3899 if test "x-$aros_unused_parameter" = "x-yes" ; then
3900 aros_warnflags_unused_parameter=-Wunused-parameter
3901 aros_nowarnflags_unused_parameter=-Wno-unused-parameter
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3905 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3906 CFLAGS=-Wuninitialized
3907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3908 /* end confdefs.h. */
3918 if ac_fn_c_try_compile "$LINENO"; then :
3919 aros_uninitialized="yes"
3921 aros_uninitialized="no"
3923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3925 $as_echo "$aros_uninitialized" >&6; }
3926 if test "x-$aros_uninitialized" = "x-yes" ; then
3927 aros_warnflags_uninitialized=-Wuninitialized
3928 aros_nowarnflags_uninitialized=-Wno-uninitialized
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3932 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3933 CFLAGS=-Wmaybe-uninitialized
3934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3935 /* end confdefs.h. */
3945 if ac_fn_c_try_compile "$LINENO"; then :
3946 aros_maybe_uninitialized="yes"
3948 aros_maybe_uninitialized="no"
3950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3952 $as_echo "$aros_maybe_uninitialized" >&6; }
3953 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3954 aros_warnflags_maybe_uninitialized=-Wmaybe-uninitialized
3955 aros_nowarnflags_maybe_uninitialized=-Wno-maybe-uninitialized
3957 aros_warnflags_maybe_uninitialized=$aros_warnflags_uninitialized
3958 aros_nowarnflags_maybe_uninitialized=$aros_nowarnflags_uninitialized
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3962 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3963 CFLAGS=-Wimplicit-function-declaration
3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3965 /* end confdefs.h. */
3975 if ac_fn_c_try_compile "$LINENO"; then :
3976 aros_implicit_function_declaration="yes"
3978 aros_implicit_function_declaration="no"
3980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3982 $as_echo "$aros_implicit_function_declaration" >&6; }
3983 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3984 aros_warnflags_implicit_function_declaration=-Wimplicit-function-declaration
3985 aros_nowarnflags_implicit_function_declaration=-Wno-implicit-function-declaration
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3989 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3992 /* end confdefs.h. */
4002 if ac_fn_c_try_compile "$LINENO"; then :
4007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
4009 $as_echo "$aros_format" >&6; }
4010 if test "x-$aros_format" = "x-yes" ; then
4011 aros_warnflags_format=-Wformat
4012 aros_nowarnflags_format=-Wno-format
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
4016 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
4017 CFLAGS=-Wparentheses
4018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4019 /* end confdefs.h. */
4029 if ac_fn_c_try_compile "$LINENO"; then :
4030 aros_parentheses="yes"
4032 aros_parentheses="no"
4034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
4036 $as_echo "$aros_parentheses" >&6; }
4037 if test "x-$aros_parentheses" = "x-yes" ; then
4038 aros_warnflags_parentheses=-Wparentheses
4039 aros_nowarnflags_parentheses=-Wno-parentheses
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
4043 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
4044 CFLAGS=-Wchar-subscripts
4045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4046 /* end confdefs.h. */
4056 if ac_fn_c_try_compile "$LINENO"; then :
4057 aros_char_subscripts="yes"
4059 aros_char_subscripts="no"
4061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
4063 $as_echo "$aros_char_subscripts" >&6; }
4064 if test "x-$aros_char_subscripts" = "x-yes" ; then
4065 aros_warnflags_char_subscripts=-Wchar-subscripts
4066 aros_nowarnflags_char_subscripts=-Wno-char-subscripts
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
4070 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
4071 CFLAGS=-Wendif-labels
4072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h. */
4083 if ac_fn_c_try_compile "$LINENO"; then :
4084 aros_endif_labels="yes"
4086 aros_endif_labels="no"
4088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
4090 $as_echo "$aros_endif_labels" >&6; }
4091 if test "x-$aros_endif_labels" = "x-yes" ; then
4092 aros_warnflags_endif_labels=-Wendif-labels
4093 aros_nowarnflags_endif_labels=-Wno-endif-labels
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
4097 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
4098 CFLAGS=-Wformat-contains-nul
4099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4100 /* end confdefs.h. */
4110 if ac_fn_c_try_compile "$LINENO"; then :
4111 aros_format_contains_nul="yes"
4113 aros_format_contains_nul="no"
4115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
4117 $as_echo "$aros_format_contains_nul" >&6; }
4118 if test "x-$aros_format_contains_nul" = "x-yes" ; then
4119 aros_warnflags_format_contains_nul=-Wformat-contains-nul
4120 aros_nowarnflags_format_contains_nul=-Wno-format-contains-nul
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
4124 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
4125 CFLAGS=-Wimplicit-int
4126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4127 /* end confdefs.h. */
4137 if ac_fn_c_try_compile "$LINENO"; then :
4138 aros_implicit_int="yes"
4140 aros_implicit_int="no"
4142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
4144 $as_echo "$aros_implicit_int" >&6; }
4145 if test "x-$aros_implicit_int" = "x-yes" ; then
4146 aros_warnflags_implicit_int=-Wimplicit-int
4147 aros_nowarnflags_implicit_int=-Wno-implicit-int
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
4151 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
4152 CFLAGS=-Waggressive-loop-optimizations
4153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4154 /* end confdefs.h. */
4164 if ac_fn_c_try_compile "$LINENO"; then :
4165 aros_aggressive_loop_optimizations="yes"
4167 aros_aggressive_loop_optimizations="no"
4169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
4171 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
4172 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
4173 aros_warnflags_aggressive_loop_optimizations=-Waggressive-loop-optimizations
4174 aros_nowarnflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
4178 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
4180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4181 /* end confdefs.h. */
4191 if ac_fn_c_try_compile "$LINENO"; then :
4196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
4198 $as_echo "$aros_cpp" >&6; }
4199 if test "x-$aros_cpp" = "x-yes" ; then
4200 aros_warnflags_cpp=-Wcpp
4201 aros_nowarnflags_cpp=-Wno-cpp
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
4205 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
4207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4208 /* end confdefs.h. */
4218 if ac_fn_c_try_compile "$LINENO"; then :
4223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
4225 $as_echo "$aros_switch" >&6; }
4226 if test "x-$aros_switch" = "x-yes" ; then
4227 aros_warnflags_switch=-Wswitch
4228 aros_nowarnflags_switch=-Wno-switch
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
4232 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
4233 CFLAGS=-Wdiscarded-qualifiers
4234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4235 /* end confdefs.h. */
4245 if ac_fn_c_try_compile "$LINENO"; then :
4246 aros_discarded_qualifiers="yes"
4248 aros_discarded_qualifiers="no"
4250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
4252 $as_echo "$aros_discarded_qualifiers" >&6; }
4253 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
4254 aros_warnflags_discarded_qualifiers=-Wdiscarded-qualifiers
4255 aros_nowarnflags_discarded_qualifiers=-Wno-discarded-qualifiers
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
4259 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
4260 CFLAGS=-Wsequence-point
4261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4262 /* end confdefs.h. */
4272 if ac_fn_c_try_compile "$LINENO"; then :
4273 aros_sequence_point="yes"
4275 aros_sequence_point="no"
4277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
4279 $as_echo "$aros_sequence_point" >&6; }
4280 if test "x-$aros_sequence_point" = "x-yes" ; then
4281 aros_warnflags_sequence_point=-Wsequence-point
4282 aros_nowarnflags_sequence_point=-Wno-sequence-point
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
4286 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
4287 CFLAGS=-Wunknown-pragmas
4288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4289 /* end confdefs.h. */
4299 if ac_fn_c_try_compile "$LINENO"; then :
4300 aros_unknown_pragmas="yes"
4302 aros_unknown_pragmas="no"
4304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
4306 $as_echo "$aros_unknown_pragmas" >&6; }
4307 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
4308 aros_warnflags_unknown_pragmas=-Wunknown-pragmas
4309 aros_nowarnflags_unknown_pragmas=-Wno-unknown-pragmas
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
4313 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
4314 CFLAGS=-Wdiscarded-array-qualifiers
4315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4316 /* end confdefs.h. */
4326 if ac_fn_c_try_compile "$LINENO"; then :
4327 aros_discarded_array_qualifiers="yes"
4329 aros_discarded_array_qualifiers="no"
4331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
4333 $as_echo "$aros_discarded_array_qualifiers" >&6; }
4334 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
4335 aros_warnflags_discarded_array_qualifiers=-Wdiscarded-array-qualifiers
4336 aros_nowarnflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
4340 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
4341 CFLAGS=-Wint-conversion
4342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4343 /* end confdefs.h. */
4353 if ac_fn_c_try_compile "$LINENO"; then :
4354 aros_int_conversion="yes"
4356 aros_int_conversion="no"
4358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
4360 $as_echo "$aros_int_conversion" >&6; }
4361 if test "x-$aros_int_conversion" = "x-yes" ; then
4362 aros_warnflags_int_conversion=-Wint-conversion
4363 aros_nowarnflags_int_conversion=-Wno-int-conversion
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
4367 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
4368 CFLAGS=-Wint-to-pointer-cast
4369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4370 /* end confdefs.h. */
4380 if ac_fn_c_try_compile "$LINENO"; then :
4381 aros_int_to_pointer_cast="yes"
4383 aros_int_to_pointer_cast="no"
4385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
4387 $as_echo "$aros_int_to_pointer_cast" >&6; }
4388 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
4389 aros_warnflags_int_to_pointer_cast=-Wint-to-pointer-cast
4390 aros_nowarnflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
4394 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
4395 CFLAGS=-Wpointer-to-int-cast
4396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4397 /* end confdefs.h. */
4407 if ac_fn_c_try_compile "$LINENO"; then :
4408 aros_pointer_to_int_cast="yes"
4410 aros_pointer_to_int_cast="no"
4412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
4414 $as_echo "$aros_pointer_to_int_cast" >&6; }
4415 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
4416 aros_warnflags_pointer_to_int_cast=-Wpointer-to-int-cast
4417 aros_nowarnflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
4421 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
4422 CFLAGS=-Wunused-const-variable
4423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4424 /* end confdefs.h. */
4434 if ac_fn_c_try_compile "$LINENO"; then :
4435 aros_unused_const_variable="yes"
4437 aros_unused_const_variable="no"
4439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
4441 $as_echo "$aros_unused_const_variable" >&6; }
4442 if test "x-$aros_unused_const_variable" = "x-yes" ; then
4443 aros_warnflags_unused_const_variable=-Wunused-const-variable
4444 aros_nowarnflags_unused_const_variable=-Wno-unused-const-variable
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
4448 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
4449 CFLAGS=-Wwrite-strings
4450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4451 /* end confdefs.h. */
4461 if ac_fn_c_try_compile "$LINENO"; then :
4462 aros_write_strings="yes"
4464 aros_write_strings="no"
4466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
4468 $as_echo "$aros_write_strings" >&6; }
4469 if test "x-$aros_write_strings" = "x-yes" ; then
4470 aros_warnflags_write_strings=-Wwrite-strings
4471 aros_nowarnflags_write_strings=-Wno-write-strings
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
4475 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
4477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4478 /* end confdefs.h. */
4488 if ac_fn_c_try_compile "$LINENO"; then :
4493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
4495 $as_echo "$aros_comment" >&6; }
4496 if test "x-$aros_comment" = "x-yes" ; then
4497 aros_warnflags_comment=-Wcomment
4498 aros_nowarnflags_comment=-Wno-comment
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
4502 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
4503 CFLAGS=-Wincompatible-pointer-types
4504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4505 /* end confdefs.h. */
4515 if ac_fn_c_try_compile "$LINENO"; then :
4516 aros_incompatible_pointer_types="yes"
4518 aros_incompatible_pointer_types="no"
4520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
4522 $as_echo "$aros_incompatible_pointer_types" >&6; }
4523 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
4524 aros_warnflags_incompatible_pointer_types=-Wincompatible-pointer-types
4525 aros_nowarnflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
4529 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
4530 CFLAGS=-Wbool-compare
4531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4532 /* end confdefs.h. */
4542 if ac_fn_c_try_compile "$LINENO"; then :
4543 aros_bool_compare="yes"
4545 aros_bool_compare="no"
4547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
4549 $as_echo "$aros_bool_compare" >&6; }
4550 if test "x-$aros_bool_compare" = "x-yes" ; then
4551 aros_warnflags_bool_compare=-Wbool-compare
4552 aros_nowarnflags_bool_compare=-Wno-bool-compare
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
4556 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
4557 CFLAGS=-Wlogical-not-parentheses
4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4569 if ac_fn_c_try_compile "$LINENO"; then :
4570 aros_logical_not_parentheses="yes"
4572 aros_logical_not_parentheses="no"
4574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
4576 $as_echo "$aros_logical_not_parentheses" >&6; }
4577 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
4578 aros_warnflags_logical_not_parentheses=-Wlogical-not-parentheses
4579 aros_nowarnflags_logical_not_parentheses=-Wno-logical-not-parentheses
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
4583 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
4584 CFLAGS=-Wpointer-sign
4585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4586 /* end confdefs.h. */
4596 if ac_fn_c_try_compile "$LINENO"; then :
4597 aros_pointer_sign="yes"
4599 aros_pointer_sign="no"
4601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
4603 $as_echo "$aros_pointer_sign" >&6; }
4604 if test "x-$aros_pointer_sign" = "x-yes" ; then
4605 aros_warnflags_pointer_sign=-Wpointer-sign
4606 aros_nowarnflags_pointer_sign=-Wno-pointer-sign
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
4610 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
4611 CFLAGS=-Wshift-overflow
4612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4613 /* end confdefs.h. */
4623 if ac_fn_c_try_compile "$LINENO"; then :
4624 aros_shift_overflow="yes"
4626 aros_shift_overflow="no"
4628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
4630 $as_echo "$aros_shift_overflow" >&6; }
4631 if test "x-$aros_shift_overflow" = "x-yes" ; then
4632 aros_warnflags_shift_overflow=-Wshift-overflow
4633 aros_nowarnflags_shift_overflow=-Wno-shift-overflow
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
4637 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
4638 CFLAGS=-Wframe-address
4639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4640 /* end confdefs.h. */
4650 if ac_fn_c_try_compile "$LINENO"; then :
4651 aros_frame_address="yes"
4653 aros_frame_address="no"
4655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
4657 $as_echo "$aros_frame_address" >&6; }
4658 if test "x-$aros_frame_address" = "x-yes" ; then
4659 aros_warnflags_frame_address=-Wframe-address
4660 aros_nowarnflags_frame_address=-Wno-frame-address
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
4664 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
4665 CFLAGS=-Wdeprecated-declarations
4666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4667 /* end confdefs.h. */
4677 if ac_fn_c_try_compile "$LINENO"; then :
4678 aros_deprecated_declarations="yes"
4680 aros_deprecated_declarations="no"
4682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4684 $as_echo "$aros_deprecated_declarations" >&6; }
4685 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4686 aros_warnflags_deprecated_declarations=-Wdeprecated-declarations
4687 aros_nowarnflags_deprecated_declarations=-Wno-deprecated-declarations
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4691 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4692 CFLAGS=-Wsign-compare
4693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4694 /* end confdefs.h. */
4704 if ac_fn_c_try_compile "$LINENO"; then :
4705 aros_sign_compare="yes"
4707 aros_sign_compare="no"
4709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4711 $as_echo "$aros_sign_compare" >&6; }
4712 if test "x-$aros_sign_compare" = "x-yes" ; then
4713 aros_warnflags_sign_compare=-Wsign-compare
4714 aros_nowarnflags_sign_compare=-Wno-sign-compare
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4718 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4721 /* end confdefs.h. */
4731 if ac_fn_c_try_compile "$LINENO"; then :
4732 aros_attributes="yes"
4734 aros_attributes="no"
4736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4738 $as_echo "$aros_attributes" >&6; }
4739 if test "x-$aros_attributes" = "x-yes" ; then
4740 aros_warnflags_attributes=-Wattributes
4741 aros_nowarnflags_attributes=-Wno-attributes
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4745 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4748 /* end confdefs.h. */
4758 if ac_fn_c_try_compile "$LINENO"; then :
4763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4765 $as_echo "$aros_overflow" >&6; }
4766 if test "x-$aros_overflow" = "x-yes" ; then
4767 aros_warnflags_overflow=-Woverflow
4768 aros_nowarnflags_overflow=-Wno-overflow
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4772 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4773 CFLAGS=-Wunused-local-typedefs
4774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4775 /* end confdefs.h. */
4785 if ac_fn_c_try_compile "$LINENO"; then :
4786 aros_unused_local_typedefs="yes"
4788 aros_unused_local_typedefs="no"
4790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4792 $as_echo "$aros_unused_local_typedefs" >&6; }
4793 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4794 aros_warnflags_unused_local_typedefs=-Wunused-local-typedefs
4795 aros_nowarnflags_unused_local_typedefs=-Wno-unused-local-typedefs
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4799 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4800 CFLAGS=-Wmissing-braces
4801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4802 /* end confdefs.h. */
4812 if ac_fn_c_try_compile "$LINENO"; then :
4813 aros_missing_braces="yes"
4815 aros_missing_braces="no"
4817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4819 $as_echo "$aros_missing_braces" >&6; }
4820 if test "x-$aros_missing_braces" = "x-yes" ; then
4821 aros_warnflags_missing_braces=-Wmissing-braces
4822 aros_nowarnflags_missing_braces=-Wno-missing-braces
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4826 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4827 CFLAGS=-Wconversion-null
4828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4829 /* end confdefs.h. */
4839 if ac_fn_c_try_compile "$LINENO"; then :
4840 aros_conversion_null="yes"
4842 aros_conversion_null="no"
4844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4846 $as_echo "$aros_conversion_null" >&6; }
4847 if test "x-$aros_conversion_null" = "x-yes" ; then
4848 aros_warnflags_conversion_null=-Wconversion-null
4849 aros_nowarnflags_conversion_null=-Wno-conversion-null
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4853 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4856 /* end confdefs.h. */
4866 if ac_fn_c_try_compile "$LINENO"; then :
4867 aros_narrowing="yes"
4871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4873 $as_echo "$aros_narrowing" >&6; }
4874 if test "x-$aros_narrowing" = "x-yes" ; then
4875 aros_warnflags_narrowing=-Wnarrowing
4876 aros_nowarnflags_narrowing=-Wno-narrowing
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4880 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4881 CFLAGS=-Wvolatile-register-var
4882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4883 /* end confdefs.h. */
4893 if ac_fn_c_try_compile "$LINENO"; then :
4894 aros_volatile_register_var="yes"
4896 aros_volatile_register_var="no"
4898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4900 $as_echo "$aros_volatile_register_var" >&6; }
4901 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4902 aros_warnflags_volatile_register_var=-Wvolatile-register-var
4903 aros_nowarnflags_volatile_register_var=-Wno-volatile-register-var
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
4907 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
4908 CFLAGS=-Wsizeof-pointer-memaccess
4909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4910 /* end confdefs.h. */
4920 if ac_fn_c_try_compile "$LINENO"; then :
4921 aros_sizeof_pointer_memaccess="yes"
4923 aros_sizeof_pointer_memaccess="no"
4925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
4927 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
4928 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
4929 aros_warnflags_sizeof_pointer_memaccess=-Wsizeof-pointer-memaccess
4930 aros_nowarnflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
4934 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
4935 CFLAGS=-Wreturn-type
4936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4937 /* end confdefs.h. */
4947 if ac_fn_c_try_compile "$LINENO"; then :
4948 aros_return_type="yes"
4950 aros_return_type="no"
4952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
4954 $as_echo "$aros_return_type" >&6; }
4955 if test "x-$aros_return_type" = "x-yes" ; then
4956 aros_warnflags_return_type=-Wreturn-type
4957 aros_nowarnflags_return_type=-Wno-return-type
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
4961 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
4962 CFLAGS=-Wformat-zero-length
4963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4964 /* end confdefs.h. */
4974 if ac_fn_c_try_compile "$LINENO"; then :
4975 aros_format_zero_length="yes"
4977 aros_format_zero_length="no"
4979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
4981 $as_echo "$aros_format_zero_length" >&6; }
4982 if test "x-$aros_format_zero_length" = "x-yes" ; then
4983 aros_warnflags_format_zero_length=-Wformat-zero-length
4984 aros_nowarnflags_format_zero_length=-Wno-format-zero-length
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
4988 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
4989 CFLAGS=-Wlto-type-mismatch
4990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4991 /* end confdefs.h. */
5001 if ac_fn_c_try_compile "$LINENO"; then :
5002 aros_lto_type_mismatch="yes"
5004 aros_lto_type_mismatch="no"
5006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
5008 $as_echo "$aros_lto_type_mismatch" >&6; }
5009 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
5010 aros_warnflags_lto_type_mismatch=-Wlto-type-mismatch
5011 aros_nowarnflags_lto_type_mismatch=-Wno-lto-type-mismatch
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wtautological-compare" >&5
5015 $as_echo_n "checking whether ${CC} accepts -Wtautological-compare... " >&6; }
5016 CFLAGS=-Wtautological-compare
5017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5018 /* end confdefs.h. */
5028 if ac_fn_c_try_compile "$LINENO"; then :
5029 aros_tautological_compare="yes"
5031 aros_tautological_compare="no"
5033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tautological_compare" >&5
5035 $as_echo "$aros_tautological_compare" >&6; }
5036 if test "x-$aros_tautological_compare" = "x-yes" ; then
5037 aros_warnflags_tautological_compare=-Wtautological-compare
5038 aros_nowarnflags_tautological_compare=-Wno-tautological-compare
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wempty-body" >&5
5042 $as_echo_n "checking whether ${CC} accepts -Wempty-body... " >&6; }
5044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5045 /* end confdefs.h. */
5055 if ac_fn_c_try_compile "$LINENO"; then :
5056 aros_empty_body="yes"
5058 aros_empty_body="no"
5060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_empty_body" >&5
5062 $as_echo "$aros_empty_body" >&6; }
5063 if test "x-$aros_empty_body" = "x-yes" ; then
5064 aros_warnflags_empty_body=-Wempty-body
5065 aros_nowarnflags_empty_body=-Wno-empty-body
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-overflow" >&5
5069 $as_echo_n "checking whether ${CC} accepts -Wformat-overflow... " >&6; }
5070 CFLAGS=-Wformat-overflow
5071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5072 /* end confdefs.h. */
5082 if ac_fn_c_try_compile "$LINENO"; then :
5083 aros_format_overflow="yes"
5085 aros_format_overflow="no"
5087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_overflow" >&5
5089 $as_echo "$aros_format_overflow" >&6; }
5090 if test "x-$aros_format_overflow" = "x-yes" ; then
5091 aros_warnflags_format_overflow=-Wformat-overflow
5092 aros_nowarnflags_format_overflow=-Wno-format-overflow
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-overflow" >&5
5096 $as_echo_n "checking whether ${CC} accepts -Wstringop-overflow... " >&6; }
5097 CFLAGS=-Wstringop-overflow
5098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5099 /* end confdefs.h. */
5109 if ac_fn_c_try_compile "$LINENO"; then :
5110 aros_stringop_overflow="yes"
5112 aros_stringop_overflow="no"
5114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_overflow" >&5
5116 $as_echo "$aros_stringop_overflow" >&6; }
5117 if test "x-$aros_stringop_overflow" = "x-yes" ; then
5118 aros_warnflags_stringop_overflow=-Wstringop-overflow
5119 aros_nowarnflags_stringop_overflow=-Wno-stringop-overflow
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-truncation" >&5
5123 $as_echo_n "checking whether ${CC} accepts -Wformat-truncation... " >&6; }
5124 CFLAGS=-Wformat-truncation
5125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5126 /* end confdefs.h. */
5136 if ac_fn_c_try_compile "$LINENO"; then :
5137 aros_format_truncation="yes"
5139 aros_format_truncation="no"
5141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_truncation" >&5
5143 $as_echo "$aros_format_truncation" >&6; }
5144 if test "x-$aros_format_truncation" = "x-yes" ; then
5145 aros_warnflags_format_truncation=-Wformat-truncation
5146 aros_nowarnflags_format_truncation=-Wno-format-truncation
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-truncation" >&5
5150 $as_echo_n "checking whether ${CC} accepts -Wstringop-truncation... " >&6; }
5151 CFLAGS=-Wstringop-truncation
5152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5153 /* end confdefs.h. */
5163 if ac_fn_c_try_compile "$LINENO"; then :
5164 aros_stringop_truncation="yes"
5166 aros_stringop_truncation="no"
5168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_truncation" >&5
5170 $as_echo "$aros_stringop_truncation" >&6; }
5171 if test "x-$aros_stringop_truncation" = "x-yes" ; then
5172 aros_warnflags_stringop_truncation=-Wstringop-truncation
5173 aros_nowarnflags_stringop_truncation=-Wno-stringop-truncation
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-negative-value" >&5
5177 $as_echo_n "checking whether ${CC} accepts -Wshift-negative-value... " >&6; }
5178 CFLAGS=-Wshift-negative-value
5179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5180 /* end confdefs.h. */
5190 if ac_fn_c_try_compile "$LINENO"; then :
5191 aros_shift_negative_value="yes"
5193 aros_shift_negative_value="no"
5195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_negative_value" >&5
5197 $as_echo "$aros_shift_negative_value" >&6; }
5198 if test "x-$aros_shift_negative_value" = "x-yes" ; then
5199 aros_warnflags_shift_negative_value=-Wshift-negative-value
5200 aros_nowarnflags_shift_negative_value=-Wno-shift-negative-value
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-field-initializers" >&5
5204 $as_echo_n "checking whether ${CC} accepts -Wmissing-field-initializers... " >&6; }
5205 CFLAGS=-Wmissing-field-initializers
5206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5207 /* end confdefs.h. */
5217 if ac_fn_c_try_compile "$LINENO"; then :
5218 aros_missing_field_initializers="yes"
5220 aros_missing_field_initializers="no"
5222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_field_initializers" >&5
5224 $as_echo "$aros_missing_field_initializers" >&6; }
5225 if test "x-$aros_missing_field_initializers" = "x-yes" ; then
5226 aros_warnflags_missing_field_initializers=-Wmissing-field-initializers
5227 aros_nowarnflags_missing_field_initializers=-Wno-missing-field-initializers
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-fallthrough" >&5
5231 $as_echo_n "checking whether ${CC} accepts -Wimplicit-fallthrough... " >&6; }
5232 CFLAGS=-Wimplicit-fallthrough
5233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5234 /* end confdefs.h. */
5244 if ac_fn_c_try_compile "$LINENO"; then :
5245 aros_implicit_fallthrough="yes"
5247 aros_implicit_fallthrough="no"
5249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_fallthrough" >&5
5251 $as_echo "$aros_implicit_fallthrough" >&6; }
5252 if test "x-$aros_implicit_fallthrough" = "x-yes" ; then
5253 aros_warnflags_implicit_fallthrough=-Wimplicit-fallthrough
5254 aros_nowarnflags_implicit_fallthrough=-Wno-implicit-fallthrough
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-prototypes" >&5
5258 $as_echo_n "checking whether ${CC} accepts -Wmissing-prototypes... " >&6; }
5259 CFLAGS=-Wmissing-prototypes
5260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5261 /* end confdefs.h. */
5271 if ac_fn_c_try_compile "$LINENO"; then :
5272 aros_missing_prototypes="yes"
5274 aros_missing_prototypes="no"
5276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_prototypes" >&5
5278 $as_echo "$aros_missing_prototypes" >&6; }
5279 if test "x-$aros_missing_prototypes" = "x-yes" ; then
5280 aros_warnflags_missing_prototypes=-Wmissing-prototypes
5281 aros_nowarnflags_missing_prototypes=-Wno-missing-prototypes
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wclass-memaccess" >&5
5285 $as_echo_n "checking whether ${CC} accepts -Wclass-memaccess... " >&6; }
5286 CFLAGS=-Wclass-memaccess
5287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5288 /* end confdefs.h. */
5298 if ac_fn_c_try_compile "$LINENO"; then :
5299 aros_class_memaccess="yes"
5301 aros_class_memaccess="no"
5303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_class_memaccess" >&5
5305 $as_echo "$aros_class_memaccess" >&6; }
5306 if test "x-$aros_class_memaccess" = "x-yes" ; then
5307 aros_warnflags_class_memaccess=-Wclass-memaccess
5308 aros_nowarnflags_class_memaccess=-Wno-class-memaccess
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-in-bool-context" >&5
5312 $as_echo_n "checking whether ${CC} accepts -Wint-in-bool-context... " >&6; }
5313 CFLAGS=-Wint-in-bool-context
5314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5315 /* end confdefs.h. */
5325 if ac_fn_c_try_compile "$LINENO"; then :
5326 aros_int_in_bool_context="yes"
5328 aros_int_in_bool_context="no"
5330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_in_bool_context" >&5
5332 $as_echo "$aros_int_in_bool_context" >&6; }
5333 if test "x-$aros_int_in_bool_context" = "x-yes" ; then
5334 aros_warnflags_int_in_bool_context=-Wint-in-bool-context
5335 aros_nowarnflags_int_in_bool_context=-Wno-int-in-bool-context
5339 # export the feature flags...
5376 # export the feature options...
5381 # ...and warning flags...
5529 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
5532 cat >confcache <<\_ACEOF
5533 # This file is a shell script that caches the results of configure
5534 # tests run on this system so they can be shared between configure
5535 # scripts and configure runs, see configure's option --config-cache.
5536 # It is not useful on other systems. If it contains results you don't
5537 # want to keep, you may remove or edit it.
5539 # config.status only pays attention to the cache file if you give it
5540 # the --recheck option to rerun configure.
5542 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
5543 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5548 # The following way of writing the cache mishandles newlines in values,
5549 # but we know of no workaround that is simple, portable, and efficient.
5550 # So, we kill variables containing newlines.
5551 # Ultrix sh set writes to stderr and can't be redirected directly,
5552 # and sets the high bit in the cache file unless we assign to the vars.
5554 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5555 eval ac_val
=\$
$ac_var
5559 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5560 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5563 _ | IFS | as_nl
) ;; #(
5564 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5565 *) { eval $ac_var=; unset $ac_var;} ;;
5571 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5572 *${as_nl}ac_space
=\
*)
5573 # `set' does not quote correctly, so add quotes: double-quote
5574 # substitution turns \\\\ into \\, and sed turns \\ into \.
5577 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5580 # `set' quotes correctly as required by POSIX, so do not add quotes.
5581 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5590 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5592 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5594 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5595 if test -w "$cache_file"; then
5596 if test "x$cache_file" != "x/dev/null"; then
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5598 $as_echo "$as_me: updating cache $cache_file" >&6;}
5599 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5600 cat confcache
>"$cache_file"
5602 case $cache_file in #(
5604 mv -f confcache
"$cache_file"$$
&&
5605 mv -f "$cache_file"$$
"$cache_file" ;; #(
5607 mv -f confcache
"$cache_file" ;;
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5613 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5618 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5619 # Let make expand exec_prefix.
5620 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5622 # Transform confdefs.h into DEFS.
5623 # Protect against shell expansion while executing Makefile rules.
5624 # Protect against Makefile macro expansion.
5626 # If the first sed substitution is executed (which looks for macros that
5627 # take arguments), then branch to the quote section. Otherwise,
5628 # look for a macro that doesn't take arguments.
5638 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5640 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5644 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5657 DEFS
=`sed -n "$ac_script" confdefs.h`
5663 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5664 # 1. Remove the extension, and $U if already installed.
5665 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5666 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5667 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5668 # will be set to the directory where LIBOBJS objects are built.
5669 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5670 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5674 LTLIBOBJS
=$ac_ltlibobjs
5678 : "${CONFIG_STATUS=./config.status}"
5680 ac_clean_files_save
=$ac_clean_files
5681 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5683 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5685 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5687 # Generated by $as_me.
5688 # Run this file to recreate the current configuration.
5689 # Compiler output produced by configure, useful for debugging
5690 # configure, is in config.log if it exists.
5696 SHELL=\${CONFIG_SHELL-$SHELL}
5699 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5700 ## -------------------- ##
5701 ## M4sh Initialization. ##
5702 ## -------------------- ##
5704 # Be more Bourne compatible
5705 DUALCASE
=1; export DUALCASE
# for MKS sh
5706 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5709 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5710 # is contrary to our usage. Disable this feature.
5711 alias -g '${1+"$@"}'='"$@"'
5712 setopt NO_GLOB_SUBST
5714 case `(set -o) 2>/dev/null` in #(
5726 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5727 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5728 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5729 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5730 # Prefer a ksh shell builtin over an external printf program on Solaris,
5731 # but without wasting forks for bash or zsh.
5732 if test -z "$BASH_VERSION$ZSH_VERSION" \
5733 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5734 as_echo='print
-r --'
5735 as_echo_n='print
-rn --'
5736 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5737 as_echo='printf %s
\n'
5738 as_echo_n='printf %s
'
5740 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5741 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5742 as_echo_n='/usr
/ucb
/echo -n'
5744 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5745 as_echo_n_body='eval
5749 expr "X$arg" : "X\\(.*\\)$as_nl";
5750 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5752 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5754 export as_echo_n_body
5755 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5758 as_echo='sh
-c $as_echo_body as_echo
'
5761 # The user is always right.
5762 if test "${PATH_SEPARATOR+set}" != set; then
5764 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5765 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5772 # We need space, tab and new line, in precisely that order. Quoting is
5773 # there to prevent editors from complaining about space-tab.
5774 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5775 # splitting by setting IFS to empty value.)
5778 # Find who we are. Look in the path if we contain no directory separator.
5781 *[\\/]* ) as_myself=$0 ;;
5782 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5786 test -z "$as_dir" && as_dir=.
5787 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5793 # We did not find ourselves, most probably we were run as `sh COMMAND'
5794 # in which case we are not to be found in the path.
5795 if test "x$as_myself" = x
; then
5798 if test ! -f "$as_myself"; then
5799 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5803 # Unset variables that we do not need and which cause bugs (e.g. in
5804 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5805 # suppresses any "Segmentation fault" message there. '((' could
5806 # trigger a bug in pdksh 5.2.14.
5807 for as_var
in BASH_ENV ENV MAIL MAILPATH
5808 do eval test x\
${$as_var+set} = xset \
5809 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5822 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5825 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5826 # ----------------------------------------
5827 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5828 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5829 # script with STATUS, using 1 if that was 0.
5832 as_status
=$1; test $as_status -eq 0 && as_status
=1
5834 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5835 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5837 $as_echo "$as_me: error: $2" >&2
5838 as_fn_exit
$as_status
5842 # as_fn_set_status STATUS
5843 # -----------------------
5844 # Set $? to STATUS, without forking.
5848 } # as_fn_set_status
5852 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5862 # Portably unset VAR.
5865 { eval $1=; unset $1;}
5867 as_unset
=as_fn_unset
5868 # as_fn_append VAR VALUE
5869 # ----------------------
5870 # Append the text in VALUE to the end of the definition contained in VAR. Take
5871 # advantage of any shell optimizations that allow amortized linear growth over
5872 # repeated appends, instead of the typical quadratic growth present in naive
5874 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5875 eval 'as_fn_append ()
5886 # as_fn_arith ARG...
5887 # ------------------
5888 # Perform arithmetic evaluation on the ARGs, and store the result in the
5889 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5890 # must be portable across $(()) and expr.
5891 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5892 eval 'as_fn_arith ()
5899 as_val
=`expr "$@" || test $? -eq 1`
5904 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5905 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5911 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5912 as_basename
=basename
5917 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5923 as_me
=`$as_basename -- "$0" ||
5924 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5925 X"$0" : 'X\(//\)$' \| \
5926 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5928 sed '/^.*\/\([^/][^/]*\)\/*$/{
5942 # Avoid depending upon Character Ranges.
5943 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5944 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5945 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5946 as_cr_digits
='0123456789'
5947 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5949 ECHO_C
= ECHO_N
= ECHO_T
=
5950 case `echo -n x` in #(((((
5952 case `echo 'xy\c'` in
5953 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5955 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5962 rm -f conf$$ conf$$.exe conf$$.
file
5963 if test -d conf$$.dir
; then
5964 rm -f conf$$.dir
/conf$$.
file
5967 mkdir conf$$.dir
2>/dev
/null
5969 if (echo >conf$$.
file) 2>/dev
/null
; then
5970 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5972 # ... but there are two gotchas:
5973 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5974 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5975 # In both cases, we have to default to `cp -pR'.
5976 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5978 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5986 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5987 rmdir conf$$.dir
2>/dev
/null
5992 # Create "$as_dir" as a directory, including parents if necessary.
5997 -*) as_dir
=.
/$as_dir;;
5999 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6003 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6004 *) as_qdir
=$as_dir;;
6006 as_dirs
="'$as_qdir' $as_dirs"
6007 as_dir
=`$as_dirname -- "$as_dir" ||
6008 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6009 X"$as_dir" : 'X\(//\)[^/]' \| \
6010 X"$as_dir" : 'X\(//\)$' \| \
6011 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6012 $as_echo X"$as_dir" |
6013 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6030 test -d "$as_dir" && break
6032 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6033 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
6037 if mkdir
-p .
2>/dev
/null
; then
6038 as_mkdir_p
='mkdir -p "$as_dir"'
6040 test -d .
/-p && rmdir .
/-p
6045 # as_fn_executable_p FILE
6046 # -----------------------
6047 # Test if FILE is an executable regular file.
6048 as_fn_executable_p
()
6050 test -f "$1" && test -x "$1"
6051 } # as_fn_executable_p
6053 as_executable_p
=as_fn_executable_p
6055 # Sed expression to map a string onto a valid CPP name.
6056 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6058 # Sed expression to map a string onto a valid variable name.
6059 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6063 ## ----------------------------------- ##
6064 ## Main body of $CONFIG_STATUS script. ##
6065 ## ----------------------------------- ##
6067 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6069 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6070 # Save the log message, to keep $0 and so on meaningful, and to
6071 # report actual input values of CONFIG_FILES etc. instead of their
6072 # values after options handling.
6074 This file was extended by $as_me, which was
6075 generated by GNU Autoconf 2.69. Invocation command line was
6077 CONFIG_FILES = $CONFIG_FILES
6078 CONFIG_HEADERS = $CONFIG_HEADERS
6079 CONFIG_LINKS = $CONFIG_LINKS
6080 CONFIG_COMMANDS = $CONFIG_COMMANDS
6083 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6088 case $ac_config_files in *"
6089 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6095 # Files that config.status was made for.
6096 config_files="$ac_config_files"
6100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6102 \`$as_me' instantiates files and other configuration actions
6103 from templates according to the current configuration. Unless the files
6104 and actions are specified as TAGs, all are instantiated by default.
6106 Usage: $0 [OPTION]... [TAG]...
6108 -h, --help print this help, then exit
6109 -V, --version print version number and configuration settings, then exit
6110 --config print configuration, then exit
6111 -q, --quiet, --silent
6112 do not print progress messages
6113 -d, --debug don't remove temporary files
6114 --recheck update $as_me by reconfiguring in the same conditions
6115 --file=FILE[:TEMPLATE]
6116 instantiate the configuration file FILE
6118 Configuration files:
6121 Report bugs to the package provider."
6124 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6125 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6128 configured by $0, generated by GNU Autoconf 2.69,
6129 with options \\"\$ac_cs_config\\"
6131 Copyright (C) 2012 Free Software Foundation, Inc.
6132 This config.status script is free software; the Free Software Foundation
6133 gives unlimited permission to copy, distribute and modify it."
6137 test -n "\$AWK" || AWK=awk
6140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6141 # The default lists apply if the user does not specify any file.
6147 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6148 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6152 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6164 # Handling of the options.
6165 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6167 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6168 $as_echo "$ac_cs_version"; exit ;;
6169 --config |
--confi |
--conf |
--con |
--co |
--c )
6170 $as_echo "$ac_cs_config"; exit ;;
6171 --debug |
--debu |
--deb |
--de |
--d |
-d )
6173 --file |
--fil |
--fi |
--f )
6176 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6177 '') as_fn_error $?
"missing file argument" ;;
6179 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6180 ac_need_defaults
=false
;;
6181 --he |
--h |
--help |
--hel |
-h )
6182 $as_echo "$ac_cs_usage"; exit ;;
6183 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6184 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6188 -*) as_fn_error $?
"unrecognized option: \`$1'
6189 Try \`$0 --help' for more information." ;;
6191 *) as_fn_append ac_config_targets
" $1"
6192 ac_need_defaults
=false
;;
6198 ac_configure_extra_args
=
6200 if $ac_cs_silent; then
6202 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6206 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6207 if \$ac_cs_recheck; then
6208 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6210 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6211 CONFIG_SHELL='$SHELL'
6217 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6221 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6222 ## Running $as_me. ##
6228 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6233 # Handling of arguments.
6234 for ac_config_target
in $ac_config_targets
6236 case $ac_config_target in
6237 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
6239 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6244 # If the user did not use the arguments to specify the items to instantiate,
6245 # then the envvar interface is used. Set only those that are not.
6246 # We use the long form for the default assignment because of an extremely
6247 # bizarre bug on SunOS 4.1.3.
6248 if $ac_need_defaults; then
6249 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6252 # Have a temporary directory for convenience. Make it in the build tree
6253 # simply because there is no reason against having it here, and in addition,
6254 # creating and moving files from /tmp can sometimes cause problems.
6255 # Hook for its removal unless debugging.
6256 # Note that there is a small window in which the directory will not be cleaned:
6257 # after its creation but before its name has been assigned to `$tmp'.
6261 trap 'exit_status=$?
6263 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6265 trap 'as_fn_exit 1' 1 2 13 15
6267 # Create a (secure) tmp directory for tmp files.
6270 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6274 tmp
=.
/conf$$
-$RANDOM
6275 (umask 077 && mkdir
"$tmp")
6276 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6279 # Set up the scripts for CONFIG_FILES section.
6280 # No need to generate them if there are no CONFIG_FILES.
6281 # This happens for instance with `./config.status config.h'.
6282 if test -n "$CONFIG_FILES"; then
6285 ac_cr
=`echo X | tr X '\015'`
6286 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6287 # But we know of no other shell where ac_cr would be empty at this
6288 # point, so we can use a bashism as a fallback.
6289 if test "x$ac_cr" = x
; then
6290 eval ac_cr
=\$
\'\\r
\'
6292 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6293 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6299 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6304 echo "cat >conf$$subs.awk <<_ACEOF" &&
6305 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6308 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6309 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6311 for ac_last_try in false false false false false :; do
6312 . ./conf$$subs.sh ||
6313 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6315 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6316 if test $ac_delim_n = $ac_delim_num; then
6318 elif $ac_last_try; then
6319 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6321 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6326 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6327 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6331 s/^/S["/; s
/!.
*/"]=/
6341 s/\(.\{148\}\)..*/\1/
6343 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6348 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6355 s/\(.\{148\}\)..*/\1/
6357 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6361 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6366 ' <conf$$subs.awk | sed '
6371 ' >>$CONFIG_STATUS || ac_write_fail=1
6372 rm -f conf$$subs.awk
6373 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6375 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6376 for (key in S) S_is_set[key] = 1
6382 nfields = split(line, field, "@
")
6384 len = length(field[1])
6385 for (i = 2; i < nfields; i++) {
6387 keylen = length(key)
6388 if (S_is_set[key]) {
6390 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6391 len += length(value) + length(field[++i])
6402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6403 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6404 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6407 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6408 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6411 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6412 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6413 # trailing colons and then remove the whole line if VPATH becomes empty
6414 # (actually we leave an empty line to preserve line numbers).
6415 if test "x
$srcdir" = x.; then
6416 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6435 fi # test -n "$CONFIG_FILES"
6438 eval set X " :F
$CONFIG_FILES "
6443 :[FHLC]) ac_mode=$ac_tag; continue;;
6445 case $ac_mode$ac_tag in
6447 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
6448 :[FH]-) ac_tag=-:-;;
6449 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6466 -) ac_f="$ac_tmp/stdin";;
6467 *) # Look for the file first in the build tree, then in the source tree
6468 # (if the path is not absolute). The absolute path cannot be DOS-style,
6469 # because $ac_f cannot contain `:'.
6473 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6475 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6477 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
6478 as_fn_append ac_file_inputs " '$ac_f'"
6481 # Let's still pretend it is `configure' which instantiates (i.e., don't
6482 # use $as_me), people would be surprised to read:
6483 # /* config.h. Generated by config.status. */
6484 configure_input='Generated from '`
6485 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6487 if test x"$ac_file" != x-; then
6488 configure_input="$ac_file.
$configure_input"
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
6490 $as_echo "$as_me: creating
$ac_file" >&6;}
6492 # Neutralize special characters interpreted by sed in replacement strings.
6493 case $configure_input in #(
6494 *\&* | *\|* | *\\* )
6495 ac_sed_conf_input=`$as_echo "$configure_input" |
6496 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6497 *) ac_sed_conf_input=$configure_input;;
6501 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
6502 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
6507 ac_dir=`$as_dirname -- "$ac_file" ||
6508 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6509 X"$ac_file" : 'X\(//\)[^/]' \| \
6510 X"$ac_file" : 'X\(//\)$' \| \
6511 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6512 $as_echo X"$ac_file" |
6513 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6530 as_dir="$ac_dir"; as_fn_mkdir_p
6534 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6536 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6537 # A "..
" for each directory in $ac_dir_suffix.
6538 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6539 case $ac_top_builddir_sub in
6540 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6541 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6544 ac_abs_top_builddir=$ac_pwd
6545 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6546 # for backward compatibility:
6547 ac_top_builddir=$ac_top_build_prefix
6550 .) # We are building in place.
6552 ac_top_srcdir=$ac_top_builddir_sub
6553 ac_abs_top_srcdir=$ac_pwd ;;
6554 [\\/]* | ?:[\\/]* ) # Absolute name.
6555 ac_srcdir=$srcdir$ac_dir_suffix;
6556 ac_top_srcdir=$srcdir
6557 ac_abs_top_srcdir=$srcdir ;;
6559 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6560 ac_top_srcdir=$ac_top_build_prefix$srcdir
6561 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6563 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6574 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6575 # If the template does not know about datarootdir, expand it.
6576 # FIXME: This hack should be removed a few years after 2.60.
6577 ac_datarootdir_hack=; ac_datarootdir_seen=
6588 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
6589 *datarootdir*) ac_datarootdir_seen=yes;;
6590 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
6592 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
6594 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6595 ac_datarootdir_hack='
6596 s&@datadir@&$datadir&g
6597 s&@docdir@&$docdir&g
6598 s&@infodir@&$infodir&g
6599 s&@localedir@&$localedir&g
6600 s&@mandir@&$mandir&g
6601 s&\\\${datarootdir}&$datarootdir&g' ;;
6605 # Neutralize VPATH when `$srcdir' = `.'.
6606 # Shell code in configure.ac might set extrasub.
6607 # FIXME: do we really want to maintain this feature?
6608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6609 ac_sed_extra="$ac_vpsub
6612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6614 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6615 s|@configure_input@|
$ac_sed_conf_input|
;t t
6616 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6617 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6618 s
&@srcdir@
&$ac_srcdir&;t t
6619 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6620 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6621 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6622 s
&@builddir@
&$ac_builddir&;t t
6623 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6624 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6625 $ac_datarootdir_hack
6627 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6628 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6630 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6631 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6632 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6633 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6635 which seems to be undefined. Please make sure it is defined" >&5
6636 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6637 which seems to be undefined. Please make sure it is defined" >&2;}
6639 rm -f "$ac_tmp/stdin"
6641 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6642 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6644 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6656 ac_clean_files=$ac_clean_files_save
6658 test $ac_write_fail = 0 ||
6659 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6662 # configure is writing to config.log, and then calls config.status.
6663 # config.status does its own redirection, appending to config.log.
6664 # Unfortunately, on DOS this fails, as config.log is still kept open
6665 # by configure, so config.status won't be able to
write to it
; its
6666 # output is simply discarded. So we exec the FD to /dev/null,
6667 # effectively closing config.log, so it can be properly (re)opened and
6668 # appended to by config.status. When coming back to configure, we
6669 # need to make the FD available again.
6670 if test "$no_create" != yes; then
6672 ac_config_status_args
=
6673 test "$silent" = yes &&
6674 ac_config_status_args
="$ac_config_status_args --quiet"
6676 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6678 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6679 # would make configure fail if this is the last instruction.
6680 $ac_cs_success || as_fn_exit
1
6682 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6684 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}