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_empty_body
588 aros_warnflags_empty_body
589 aros_nowarnflags_tautological_compare
590 aros_warnflags_tautological_compare
591 aros_nowarnflags_lto_type_mismatch
592 aros_warnflags_lto_type_mismatch
593 aros_nowarnflags_format_zero_length
594 aros_warnflags_format_zero_length
595 aros_nowarnflags_return_type
596 aros_warnflags_return_type
597 aros_nowarnflags_sizeof_pointer_memaccess
598 aros_warnflags_sizeof_pointer_memaccess
599 aros_nowarnflags_volatile_register_var
600 aros_warnflags_volatile_register_var
601 aros_nowarnflags_narrowing
602 aros_warnflags_narrowing
603 aros_nowarnflags_conversion_null
604 aros_warnflags_conversion_null
605 aros_nowarnflags_missing_braces
606 aros_warnflags_missing_braces
607 aros_nowarnflags_unused_local_typedefs
608 aros_warnflags_unused_local_typedefs
609 aros_nowarnflags_overflow
610 aros_warnflags_overflow
611 aros_nowarnflags_attributes
612 aros_warnflags_attributes
613 aros_nowarnflags_sign_compare
614 aros_warnflags_sign_compare
615 aros_nowarnflags_deprecated_declarations
616 aros_warnflags_deprecated_declarations
617 aros_nowarnflags_frame_address
618 aros_warnflags_frame_address
619 aros_nowarnflags_shift_overflow
620 aros_warnflags_shift_overflow
621 aros_nowarnflags_pointer_sign
622 aros_warnflags_pointer_sign
623 aros_nowarnflags_logical_not_parentheses
624 aros_warnflags_logical_not_parentheses
625 aros_nowarnflags_bool_compare
626 aros_warnflags_bool_compare
627 aros_nowarnflags_incompatible_pointer_types
628 aros_warnflags_incompatible_pointer_types
629 aros_nowarnflags_comment
630 aros_warnflags_comment
631 aros_nowarnflags_write_strings
632 aros_warnflags_write_strings
633 aros_nowarnflags_unused_const_variable
634 aros_warnflags_unused_const_variable
635 aros_nowarnflags_pointer_to_int_cast
636 aros_warnflags_pointer_to_int_cast
637 aros_nowarnflags_int_to_pointer_cast
638 aros_warnflags_int_to_pointer_cast
639 aros_nowarnflags_int_conversion
640 aros_warnflags_int_conversion
641 aros_nowarnflags_discarded_array_qualifiers
642 aros_warnflags_discarded_array_qualifiers
643 aros_nowarnflags_unknown_pragmas
644 aros_warnflags_unknown_pragmas
645 aros_nowarnflags_sequence_point
646 aros_warnflags_sequence_point
647 aros_nowarnflags_discarded_qualifiers
648 aros_warnflags_discarded_qualifiers
649 aros_nowarnflags_switch
650 aros_warnflags_switch
653 aros_nowarnflags_aggressive_loop_optimizations
654 aros_warnflags_aggressive_loop_optimizations
655 aros_nowarnflags_implicit_int
656 aros_warnflags_implicit_int
657 aros_nowarnflags_format_contains_nul
658 aros_warnflags_format_contains_nul
659 aros_nowarnflags_endif_labels
660 aros_warnflags_endif_labels
661 aros_nowarnflags_char_subscripts
662 aros_warnflags_char_subscripts
663 aros_nowarnflags_parentheses
664 aros_warnflags_parentheses
665 aros_nowarnflags_format
666 aros_warnflags_format
667 aros_nowarnflags_implicit_function_declaration
668 aros_warnflags_implicit_function_declaration
669 aros_nowarnflags_maybe_uninitialized
670 aros_warnflags_maybe_uninitialized
671 aros_nowarnflags_uninitialized
672 aros_warnflags_uninitialized
673 aros_nowarnflags_unused_parameter
674 aros_warnflags_unused_parameter
675 aros_nowarnflags_unused_function
676 aros_warnflags_unused_function
677 aros_nowarnflags_unused_variable
678 aros_warnflags_unused_variable
679 aros_nowarnflags_unused_value
680 aros_warnflags_unused_value
681 aros_nowarnflags_unused_label
682 aros_warnflags_unused_label
683 aros_nowarnflags_unused
684 aros_warnflags_unused
685 aros_nowarnflags_nonnull_compare
686 aros_warnflags_nonnull_compare
687 aros_nowarnflags_misleading_indentation
688 aros_warnflags_misleading_indentation
689 aros_nowarnflags_format_security
690 aros_warnflags_format_security
691 aros_nowarnflags_strict_overflow
692 aros_warnflags_strict_overflow
693 aros_nowarnflags_strict_prototypes
694 aros_warnflags_strict_prototypes
695 aros_nowarnflags_enum_compare
696 aros_warnflags_enum_compare
697 aros_nowarnflags_array_bounds
698 aros_warnflags_array_bounds
699 aros_nowarnflags_strict_aliasing
700 aros_warnflags_strict_aliasing
701 aros_nowarnflags_unused_but_set_variable
702 aros_warnflags_unused_but_set_variable
703 aros_nowarnflags_unknown_warning_option
704 aros_warnflags_unknown_warning_option
705 aros_nowarnflags_unused_command_line_argument
706 aros_warnflags_unused_command_line_argument
707 aros_nowarnflags_error
709 aros_cflags_no_red_zone
710 aros_cflags_iquote_end
712 aros_cflags_noinlinesmallfunctions
713 aros_cflags_inlinesmallfunctions
714 aros_cflags_nostrictaliasing
715 aros_cflags_strictaliasing
716 aros_cflags_unroll_loops
717 aros_cflags_peel_loops
718 aros_cflags_loop_strip_mine
719 aros_cflags_loop_interchange
720 aros_cflags_loop_block
721 aros_cflags_whole_program
724 aros_cflags_no_builtin_floor
725 aros_cflags_fast_math
726 aros_cflags_permissive
727 aros_cflags_exceptions
762 program_transform_name
775 enable_option_checking
778 ac_precious_vars
='build_alias
788 # Initialize some variables set by options.
790 ac_init_version
=false
791 ac_unrecognized_opts
=
793 # The variables have the same names as the options, with
794 # dashes changed to underlines.
802 program_transform_name
=s
,x
,x
,
810 # Installation directory options.
811 # These are left unexpanded so users can "make install exec_prefix=/foo"
812 # and all the variables that are supposed to be based on exec_prefix
813 # by default will actually change.
814 # Use braces instead of parens because sh, perl, etc. also accept them.
815 # (The list follows the same order as the GNU Coding Standards.)
816 bindir
='${exec_prefix}/bin'
817 sbindir
='${exec_prefix}/sbin'
818 libexecdir
='${exec_prefix}/libexec'
819 datarootdir
='${prefix}/share'
820 datadir
='${datarootdir}'
821 sysconfdir
='${prefix}/etc'
822 sharedstatedir
='${prefix}/com'
823 localstatedir
='${prefix}/var'
824 includedir
='${prefix}/include'
825 oldincludedir
='/usr/include'
826 docdir
='${datarootdir}/doc/${PACKAGE}'
827 infodir
='${datarootdir}/info'
832 libdir
='${exec_prefix}/lib'
833 localedir
='${datarootdir}/locale'
834 mandir
='${datarootdir}/man'
840 # If the previous option needs an argument, assign it.
841 if test -n "$ac_prev"; then
842 eval $ac_prev=\
$ac_option
848 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
853 # Accept the important Cygnus configure options, so we can diagnose typos.
855 case $ac_dashdash$ac_option in
859 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
861 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
864 -build |
--build |
--buil |
--bui |
--bu)
865 ac_prev
=build_alias
;;
866 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
867 build_alias
=$ac_optarg ;;
869 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
870 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
871 ac_prev
=cache_file
;;
872 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
873 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
874 cache_file
=$ac_optarg ;;
877 cache_file
=config.cache
;;
879 -datadir |
--datadir |
--datadi |
--datad)
881 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
882 datadir
=$ac_optarg ;;
884 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
885 |
--dataroo |
--dataro |
--datar)
886 ac_prev
=datarootdir
;;
887 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
888 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
889 datarootdir
=$ac_optarg ;;
891 -disable-* |
--disable-*)
892 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
895 as_fn_error $?
"invalid feature name: $ac_useropt"
896 ac_useropt_orig
=$ac_useropt
897 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898 case $ac_user_opts in
902 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
903 ac_unrecognized_sep
=', ';;
905 eval enable_
$ac_useropt=no
;;
907 -docdir |
--docdir |
--docdi |
--doc |
--do)
909 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
912 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
914 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
917 -enable-* |
--enable-*)
918 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
919 # Reject names that are not valid shell variable names.
920 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
921 as_fn_error $?
"invalid feature name: $ac_useropt"
922 ac_useropt_orig
=$ac_useropt
923 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
924 case $ac_user_opts in
928 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
929 ac_unrecognized_sep
=', ';;
931 eval enable_
$ac_useropt=\
$ac_optarg ;;
933 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
934 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
935 |
--exec |
--exe |
--ex)
936 ac_prev
=exec_prefix
;;
937 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
938 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
939 |
--exec=* |
--exe=* |
--ex=*)
940 exec_prefix
=$ac_optarg ;;
942 -gas |
--gas |
--ga |
--g)
943 # Obsolete; use --with-gas.
946 -help |
--help |
--hel |
--he |
-h)
948 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
949 ac_init_help
=recursive
;;
950 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
951 ac_init_help
=short
;;
953 -host |
--host |
--hos |
--ho)
954 ac_prev
=host_alias
;;
955 -host=* |
--host=* |
--hos=* |
--ho=*)
956 host_alias
=$ac_optarg ;;
958 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
960 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
962 htmldir
=$ac_optarg ;;
964 -includedir |
--includedir |
--includedi |
--included |
--include \
965 |
--includ |
--inclu |
--incl |
--inc)
966 ac_prev
=includedir
;;
967 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
968 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
969 includedir
=$ac_optarg ;;
971 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
973 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
974 infodir
=$ac_optarg ;;
976 -libdir |
--libdir |
--libdi |
--libd)
978 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
981 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
982 |
--libexe |
--libex |
--libe)
983 ac_prev
=libexecdir
;;
984 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
985 |
--libexe=* |
--libex=* |
--libe=*)
986 libexecdir
=$ac_optarg ;;
988 -localedir |
--localedir |
--localedi |
--localed |
--locale)
990 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
991 localedir
=$ac_optarg ;;
993 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
994 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
995 ac_prev
=localstatedir
;;
996 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
997 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
998 localstatedir
=$ac_optarg ;;
1000 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1002 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1003 mandir
=$ac_optarg ;;
1005 -nfp |
--nfp |
--nf)
1006 # Obsolete; use --without-fp.
1009 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1010 |
--no-cr |
--no-c |
-n)
1013 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1014 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1017 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1018 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1019 |
--oldin |
--oldi |
--old |
--ol |
--o)
1020 ac_prev
=oldincludedir
;;
1021 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1022 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1023 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1024 oldincludedir
=$ac_optarg ;;
1026 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1028 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1029 prefix
=$ac_optarg ;;
1031 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1032 |
--program-pre |
--program-pr |
--program-p)
1033 ac_prev
=program_prefix
;;
1034 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1035 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1036 program_prefix
=$ac_optarg ;;
1038 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1039 |
--program-suf |
--program-su |
--program-s)
1040 ac_prev
=program_suffix
;;
1041 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1042 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1043 program_suffix
=$ac_optarg ;;
1045 -program-transform-name |
--program-transform-name \
1046 |
--program-transform-nam |
--program-transform-na \
1047 |
--program-transform-n |
--program-transform- \
1048 |
--program-transform |
--program-transfor \
1049 |
--program-transfo |
--program-transf \
1050 |
--program-trans |
--program-tran \
1051 |
--progr-tra |
--program-tr |
--program-t)
1052 ac_prev
=program_transform_name
;;
1053 -program-transform-name=* |
--program-transform-name=* \
1054 |
--program-transform-nam=* |
--program-transform-na=* \
1055 |
--program-transform-n=* |
--program-transform-=* \
1056 |
--program-transform=* |
--program-transfor=* \
1057 |
--program-transfo=* |
--program-transf=* \
1058 |
--program-trans=* |
--program-tran=* \
1059 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1060 program_transform_name
=$ac_optarg ;;
1062 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1064 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1065 pdfdir
=$ac_optarg ;;
1067 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1069 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1072 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1073 |
-silent |
--silent |
--silen |
--sile |
--sil)
1076 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1078 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1080 sbindir
=$ac_optarg ;;
1082 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1083 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1084 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1086 ac_prev
=sharedstatedir
;;
1087 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1088 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1089 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1091 sharedstatedir
=$ac_optarg ;;
1093 -site |
--site |
--sit)
1095 -site=* |
--site=* |
--sit=*)
1098 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1100 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1101 srcdir
=$ac_optarg ;;
1103 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1104 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1105 ac_prev
=sysconfdir
;;
1106 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1107 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1108 sysconfdir
=$ac_optarg ;;
1110 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1111 ac_prev
=target_alias
;;
1112 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1113 target_alias
=$ac_optarg ;;
1115 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1118 -version |
--version |
--versio |
--versi |
--vers |
-V)
1119 ac_init_version
=: ;;
1122 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1125 as_fn_error $?
"invalid package name: $ac_useropt"
1126 ac_useropt_orig
=$ac_useropt
1127 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1128 case $ac_user_opts in
1132 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1133 ac_unrecognized_sep
=', ';;
1135 eval with_
$ac_useropt=\
$ac_optarg ;;
1137 -without-* |
--without-*)
1138 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1139 # Reject names that are not valid shell variable names.
1140 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1141 as_fn_error $?
"invalid package name: $ac_useropt"
1142 ac_useropt_orig
=$ac_useropt
1143 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1144 case $ac_user_opts in
1148 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1149 ac_unrecognized_sep
=', ';;
1151 eval with_
$ac_useropt=no
;;
1154 # Obsolete; use --with-x.
1157 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1158 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1159 ac_prev
=x_includes
;;
1160 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1161 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1162 x_includes
=$ac_optarg ;;
1164 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1165 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1166 ac_prev
=x_libraries
;;
1167 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1168 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1169 x_libraries
=$ac_optarg ;;
1171 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1172 Try \`$0 --help' for more information"
1176 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1177 # Reject names that are not valid shell variable names.
1178 case $ac_envvar in #(
1179 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1180 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1182 eval $ac_envvar=\
$ac_optarg
1183 export $ac_envvar ;;
1186 # FIXME: should be removed in autoconf 3.0.
1187 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1188 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1189 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1190 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1196 if test -n "$ac_prev"; then
1197 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1198 as_fn_error $?
"missing argument to $ac_option"
1201 if test -n "$ac_unrecognized_opts"; then
1202 case $enable_option_checking in
1204 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1205 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1209 # Check all directory arguments for consistency.
1210 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1211 datadir sysconfdir sharedstatedir localstatedir includedir \
1212 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1213 libdir localedir mandir
1215 eval ac_val
=\$
$ac_var
1216 # Remove trailing slashes.
1219 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1220 eval $ac_var=\
$ac_val;;
1222 # Be sure to have absolute directory names.
1224 [\\/$
]* | ?
:[\\/]* ) continue;;
1225 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1227 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1230 # There might be people who depend on the old broken behavior: `$host'
1231 # used to hold the argument of --host etc.
1232 # FIXME: To remove some day.
1235 target
=$target_alias
1237 # FIXME: To remove some day.
1238 if test "x$host_alias" != x
; then
1239 if test "x$build_alias" = x
; then
1240 cross_compiling
=maybe
1241 elif test "x$build_alias" != "x$host_alias"; then
1247 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1249 test "$silent" = yes && exec 6>/dev
/null
1252 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1253 ac_ls_di
=`ls -di .` &&
1254 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1255 as_fn_error $?
"working directory cannot be determined"
1256 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1257 as_fn_error $?
"pwd does not report name of working directory"
1260 # Find the source files, if location was not specified.
1261 if test -z "$srcdir"; then
1262 ac_srcdir_defaulted
=yes
1263 # Try the directory containing this script, then the parent directory.
1264 ac_confdir
=`$as_dirname -- "$as_myself" ||
1265 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1266 X"$as_myself" : 'X\(//\)[^/]' \| \
1267 X"$as_myself" : 'X\(//\)$' \| \
1268 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1269 $as_echo X"$as_myself" |
1270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1288 if test ! -r "$srcdir/$ac_unique_file"; then
1292 ac_srcdir_defaulted
=no
1294 if test ! -r "$srcdir/$ac_unique_file"; then
1295 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1296 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1298 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1300 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1302 # When building in place, set srcdir=.
1303 if test "$ac_abs_confdir" = "$ac_pwd"; then
1306 # Remove unnecessary trailing slashes from srcdir.
1307 # Double slashes in file names in object file debugging info
1308 # mess up M-x gdb in Emacs.
1310 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1312 for ac_var
in $ac_precious_vars; do
1313 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1314 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1315 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1316 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1320 # Report the --help message.
1322 if test "$ac_init_help" = "long"; then
1323 # Omit some internal or obsolete options to make the list less imposing.
1324 # This message is too long to be a string in the A/UX 3.1 sh.
1326 \`configure' configures this package to adapt to many kinds of systems.
1328 Usage: $0 [OPTION]... [VAR=VALUE]...
1330 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1331 VAR=VALUE. See below for descriptions of some of the useful variables.
1333 Defaults for the options are specified in brackets.
1336 -h, --help display this help and exit
1337 --help=short display options specific to this package
1338 --help=recursive display the short help of all the included packages
1339 -V, --version display version information and exit
1340 -q, --quiet, --silent do not print \`checking ...' messages
1341 --cache-file=FILE cache test results in FILE [disabled]
1342 -C, --config-cache alias for \`--cache-file=config.cache'
1343 -n, --no-create do not create output files
1344 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1346 Installation directories:
1347 --prefix=PREFIX install architecture-independent files in PREFIX
1348 [$ac_default_prefix]
1349 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1352 By default, \`make install' will install all the files in
1353 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1354 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1355 for instance \`--prefix=\$HOME'.
1357 For better control, use the options below.
1359 Fine tuning of the installation directories:
1360 --bindir=DIR user executables [EPREFIX/bin]
1361 --sbindir=DIR system admin executables [EPREFIX/sbin]
1362 --libexecdir=DIR program executables [EPREFIX/libexec]
1363 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1364 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1365 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1366 --libdir=DIR object code libraries [EPREFIX/lib]
1367 --includedir=DIR C header files [PREFIX/include]
1368 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1369 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1370 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1371 --infodir=DIR info documentation [DATAROOTDIR/info]
1372 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1373 --mandir=DIR man documentation [DATAROOTDIR/man]
1374 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1375 --htmldir=DIR html documentation [DOCDIR]
1376 --dvidir=DIR dvi documentation [DOCDIR]
1377 --pdfdir=DIR pdf documentation [DOCDIR]
1378 --psdir=DIR ps documentation [DOCDIR]
1385 if test -n "$ac_init_help"; then
1390 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1391 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1392 --with-config-dir=VERSION
1393 Location of generated target config files
1395 Some influential environment variables
:
1396 CC C compiler
command
1397 CFLAGS C compiler flags
1398 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1399 nonstandard directory
<lib dir
>
1400 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1401 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1402 you have headers
in a nonstandard directory
<include dir
>
1404 Use these variables to override the choices made by
`configure' or to help
1405 it to find libraries and programs with nonstandard names/locations.
1407 Report bugs to the package provider.
1412 if test "$ac_init_help" = "recursive"; then
1413 # If there are subdirs, report their specific --help.
1414 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1415 test -d "$ac_dir" ||
1416 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1421 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1423 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1424 # A ".." for each directory in $ac_dir_suffix.
1425 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1426 case $ac_top_builddir_sub in
1427 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1428 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1431 ac_abs_top_builddir=$ac_pwd
1432 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1433 # for backward compatibility:
1434 ac_top_builddir=$ac_top_build_prefix
1437 .) # We are building in place.
1439 ac_top_srcdir=$ac_top_builddir_sub
1440 ac_abs_top_srcdir=$ac_pwd ;;
1441 [\\/]* | ?:[\\/]* ) # Absolute name.
1442 ac_srcdir=$srcdir$ac_dir_suffix;
1443 ac_top_srcdir=$srcdir
1444 ac_abs_top_srcdir=$srcdir ;;
1446 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1447 ac_top_srcdir=$ac_top_build_prefix$srcdir
1448 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1450 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1452 cd "$ac_dir" || { ac_status=$?; continue; }
1453 # Check for guested configure.
1454 if test -f "$ac_srcdir/configure.gnu"; then
1456 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1457 elif test -f "$ac_srcdir/configure"; then
1459 $SHELL "$ac_srcdir/configure" --help=recursive
1461 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1463 cd "$ac_pwd" || { ac_status=$?; break; }
1467 test -n "$ac_init_help" && exit $ac_status
1468 if $ac_init_version; then
1471 generated by GNU Autoconf 2.69
1473 Copyright (C) 2012 Free Software Foundation, Inc.
1474 This configure script is free software; the Free Software Foundation
1475 gives unlimited permission to copy, distribute and modify it.
1480 ## ------------------------ ##
1481 ## Autoconf initialization. ##
1482 ## ------------------------ ##
1484 # ac_fn_c_try_compile LINENO
1485 # --------------------------
1486 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1487 ac_fn_c_try_compile ()
1489 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1490 rm -f conftest.$ac_objext
1491 if { { ac_try="$ac_compile"
1493 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1494 *) ac_try_echo
=$ac_try;;
1496 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1497 $as_echo "$ac_try_echo"; } >&5
1498 (eval "$ac_compile") 2>conftest.err
1500 if test -s conftest.err
; then
1501 grep -v '^ *+' conftest.err
>conftest.er1
1502 cat conftest.er1
>&5
1503 mv -f conftest.er1 conftest.err
1505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1506 test $ac_status = 0; } && {
1507 test -z "$ac_c_werror_flag" ||
1508 test ! -s conftest.err
1509 } && test -s conftest.
$ac_objext; then :
1512 $as_echo "$as_me: failed program was:" >&5
1513 sed 's/^/| /' conftest.
$ac_ext >&5
1517 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1518 as_fn_set_status
$ac_retval
1520 } # ac_fn_c_try_compile
1521 cat >config.log
<<_ACEOF
1522 This file contains any messages produced by compilers while
1523 running configure, to aid debugging if configure makes a mistake.
1525 It was created by $as_me, which was
1526 generated by GNU Autoconf 2.69. Invocation command line was
1538 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1539 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1540 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1541 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1542 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1544 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1545 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1547 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1548 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1549 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1550 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1551 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1552 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1553 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1561 test -z "$as_dir" && as_dir
=.
1562 $as_echo "PATH: $as_dir"
1578 # Keep a trace of the command line.
1579 # Strip out --no-create and --no-recursion so they do not pile up.
1580 # Strip out --silent because we don't want to record it for future runs.
1581 # Also quote any args containing shell meta-characters.
1582 # Make two passes to allow for proper duplicate-argument suppression.
1586 ac_must_keep_next
=false
1592 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1593 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1594 |
-silent |
--silent |
--silen |
--sile |
--sil)
1597 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1600 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1602 as_fn_append ac_configure_args1
" '$ac_arg'"
1603 if test $ac_must_keep_next = true
; then
1604 ac_must_keep_next
=false
# Got value, back to normal.
1607 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1608 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1609 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1610 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1611 case "$ac_configure_args0 " in
1612 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1615 -* ) ac_must_keep_next
=true
;;
1618 as_fn_append ac_configure_args
" '$ac_arg'"
1623 { ac_configure_args0
=; unset ac_configure_args0
;}
1624 { ac_configure_args1
=; unset ac_configure_args1
;}
1626 # When interrupted or exit'd, cleanup temporary files, and complete
1627 # config.log. We remove comments because anyway the quotes in there
1628 # would cause problems or look ugly.
1629 # WARNING: Use '\'' to represent an apostrophe within the trap.
1630 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1631 trap 'exit_status=$?
1632 # Save into config.log some information that might help in debugging.
1636 $as_echo "## ---------------- ##
1637 ## Cache variables. ##
1638 ## ---------------- ##"
1640 # The following way of writing the cache mishandles newlines in values,
1642 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1643 eval ac_val=\$$ac_var
1647 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1648 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1651 _ | IFS | as_nl) ;; #(
1652 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1653 *) { eval $ac_var=; unset $ac_var;} ;;
1658 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1659 *${as_nl}ac_space=\ *)
1661 "s/'\''/'\''\\\\'\'''\''/g;
1662 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1665 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1672 $as_echo "## ----------------- ##
1673 ## Output variables. ##
1674 ## ----------------- ##"
1676 for ac_var in $ac_subst_vars
1678 eval ac_val=\$$ac_var
1680 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1682 $as_echo "$ac_var='\''$ac_val'\''"
1686 if test -n "$ac_subst_files"; then
1687 $as_echo "## ------------------- ##
1688 ## File substitutions. ##
1689 ## ------------------- ##"
1691 for ac_var
in $ac_subst_files
1693 eval ac_val
=\$
$ac_var
1695 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1697 $as_echo "$ac_var='\''$ac_val'\''"
1702 if test -s confdefs.h; then
1703 $as_echo "## ----------- ##
1710 test "$ac_signal" != 0 &&
1711 $as_echo "$as_me: caught signal $ac_signal"
1712 $as_echo "$as_me: exit $exit_status"
1714 rm -f core *.core core.conftest.* &&
1715 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1718 for ac_signal
in 1 2 13 15; do
1719 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1723 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1724 rm -f -r conftest
* confdefs.h
1726 $as_echo "/* confdefs.h */" > confdefs.h
1728 # Predefined preprocessor variables.
1730 cat >>confdefs.h
<<_ACEOF
1731 #define PACKAGE_NAME "$PACKAGE_NAME"
1734 cat >>confdefs.h
<<_ACEOF
1735 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1738 cat >>confdefs.h
<<_ACEOF
1739 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1742 cat >>confdefs.h
<<_ACEOF
1743 #define PACKAGE_STRING "$PACKAGE_STRING"
1746 cat >>confdefs.h
<<_ACEOF
1747 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1750 cat >>confdefs.h
<<_ACEOF
1751 #define PACKAGE_URL "$PACKAGE_URL"
1755 # Let the site file select an alternate cache file if it wants to.
1756 # Prefer an explicitly selected file to automatically selected ones.
1759 if test -n "$CONFIG_SITE"; then
1760 # We do not want a PATH search for config.site.
1761 case $CONFIG_SITE in #((
1762 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1763 */*) ac_site_file1
=$CONFIG_SITE;;
1764 *) ac_site_file1
=.
/$CONFIG_SITE;;
1766 elif test "x$prefix" != xNONE
; then
1767 ac_site_file1
=$prefix/share
/config.site
1768 ac_site_file2
=$prefix/etc
/config.site
1770 ac_site_file1
=$ac_default_prefix/share
/config.site
1771 ac_site_file2
=$ac_default_prefix/etc
/config.site
1773 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1775 test "x$ac_site_file" = xNONE
&& continue
1776 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1778 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1779 sed 's/^/| /' "$ac_site_file" >&5
1781 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1782 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1783 as_fn_error $?
"failed to load site script $ac_site_file
1784 See \`config.log' for more details" "$LINENO" 5; }
1788 if test -r "$cache_file"; then
1789 # Some versions of bash will fail to source /dev/null (special files
1790 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1791 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1793 $as_echo "$as_me: loading cache $cache_file" >&6;}
1795 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1796 *) .
"./$cache_file";;
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1801 $as_echo "$as_me: creating cache $cache_file" >&6;}
1805 # Check that the precious variables saved in the cache have kept the same
1807 ac_cache_corrupted
=false
1808 for ac_var
in $ac_precious_vars; do
1809 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1810 eval ac_new_set
=\
$ac_env_${ac_var}_set
1811 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1812 eval ac_new_val
=\
$ac_env_${ac_var}_value
1813 case $ac_old_set,$ac_new_set in
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1816 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1817 ac_cache_corrupted
=: ;;
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1820 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1821 ac_cache_corrupted
=: ;;
1824 if test "x$ac_old_val" != "x$ac_new_val"; then
1825 # differences in whitespace do not lead to failure.
1826 ac_old_val_w
=`echo x $ac_old_val`
1827 ac_new_val_w
=`echo x $ac_new_val`
1828 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1830 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1831 ac_cache_corrupted
=:
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1834 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1835 eval $ac_var=\
$ac_old_val
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1838 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1840 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1843 # Pass precious variables to config.status.
1844 if test "$ac_new_set" = set; then
1846 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1847 *) ac_arg
=$ac_var=$ac_new_val ;;
1849 case " $ac_configure_args " in
1850 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1851 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1855 if $ac_cache_corrupted; then
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1859 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1860 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1862 ## -------------------- ##
1863 ## Main body of script. ##
1864 ## -------------------- ##
1867 ac_cpp
='$CPP $CPPFLAGS'
1868 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1869 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1870 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1875 for ac_dir
in ..
/scripts
/autoconf
"$srcdir"/..
/scripts
/autoconf
; do
1876 if test -f "$ac_dir/install-sh"; then
1878 ac_install_sh
="$ac_aux_dir/install-sh -c"
1880 elif test -f "$ac_dir/install.sh"; then
1882 ac_install_sh
="$ac_aux_dir/install.sh -c"
1884 elif test -f "$ac_dir/shtool"; then
1886 ac_install_sh
="$ac_aux_dir/shtool install -c"
1890 if test -z "$ac_aux_dir"; then
1891 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
1894 # These three variables are undocumented and unsupported,
1895 # and are intended to be withdrawn in a future Autoconf release.
1896 # They can cause serious problems if a builder's source tree is in a directory
1897 # whose full name contains unusual characters.
1898 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1899 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1900 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1904 AROS_BUILDDIR
=`${PWDCMD-pwd}`
1905 AROS_BUILDDIR_UNIX
=${PWD}
1907 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1910 NOLINKFLAGS
="-nostdlib -nostartfiles"
1911 LDFLAGS
=$NOLINKFLAGS
1912 # The first step is to find the binaries.
1914 ac_cpp
='$CPP $CPPFLAGS'
1915 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1916 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1917 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1918 if test -n "$ac_tool_prefix"; then
1919 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1920 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1922 $as_echo_n "checking for $ac_word... " >&6; }
1923 if ${ac_cv_prog_CC+:} false
; then :
1924 $as_echo_n "(cached) " >&6
1926 if test -n "$CC"; then
1927 ac_cv_prog_CC
="$CC" # Let the user override the test.
1929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1933 test -z "$as_dir" && as_dir
=.
1934 for ac_exec_ext
in '' $ac_executable_extensions; do
1935 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1936 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1947 if test -n "$CC"; then
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1949 $as_echo "$CC" >&6; }
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1952 $as_echo "no" >&6; }
1957 if test -z "$ac_cv_prog_CC"; then
1959 # Extract the first word of "gcc", so it can be a program name with args.
1960 set dummy gcc
; ac_word
=$2
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1962 $as_echo_n "checking for $ac_word... " >&6; }
1963 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
1964 $as_echo_n "(cached) " >&6
1966 if test -n "$ac_ct_CC"; then
1967 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1973 test -z "$as_dir" && as_dir
=.
1974 for ac_exec_ext
in '' $ac_executable_extensions; do
1975 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1976 ac_cv_prog_ac_ct_CC
="gcc"
1977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1986 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1987 if test -n "$ac_ct_CC"; then
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1989 $as_echo "$ac_ct_CC" >&6; }
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1992 $as_echo "no" >&6; }
1995 if test "x$ac_ct_CC" = x
; then
1998 case $cross_compiling:$ac_tool_warned in
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2002 ac_tool_warned
=yes ;;
2010 if test -z "$CC"; then
2011 if test -n "$ac_tool_prefix"; then
2012 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2013 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2015 $as_echo_n "checking for $ac_word... " >&6; }
2016 if ${ac_cv_prog_CC+:} false
; then :
2017 $as_echo_n "(cached) " >&6
2019 if test -n "$CC"; then
2020 ac_cv_prog_CC
="$CC" # Let the user override the test.
2022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2026 test -z "$as_dir" && as_dir
=.
2027 for ac_exec_ext
in '' $ac_executable_extensions; do
2028 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2029 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2040 if test -n "$CC"; then
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2042 $as_echo "$CC" >&6; }
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2045 $as_echo "no" >&6; }
2051 if test -z "$CC"; then
2052 # Extract the first word of "cc", so it can be a program name with args.
2053 set dummy cc
; ac_word
=$2
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2055 $as_echo_n "checking for $ac_word... " >&6; }
2056 if ${ac_cv_prog_CC+:} false
; then :
2057 $as_echo_n "(cached) " >&6
2059 if test -n "$CC"; then
2060 ac_cv_prog_CC
="$CC" # Let the user override the test.
2063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2067 test -z "$as_dir" && as_dir
=.
2068 for ac_exec_ext
in '' $ac_executable_extensions; do
2069 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2070 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2071 ac_prog_rejected
=yes
2075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2082 if test $ac_prog_rejected = yes; then
2083 # We found a bogon in the path, so make sure we never use it.
2084 set dummy
$ac_cv_prog_CC
2086 if test $# != 0; then
2087 # We chose a different compiler from the bogus one.
2088 # However, it has the same basename, so the bogon will be chosen
2089 # first if we set CC to just the basename; use the full file name.
2091 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2097 if test -n "$CC"; then
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2099 $as_echo "$CC" >&6; }
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2102 $as_echo "no" >&6; }
2107 if test -z "$CC"; then
2108 if test -n "$ac_tool_prefix"; then
2109 for ac_prog
in cl.exe
2111 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2112 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2114 $as_echo_n "checking for $ac_word... " >&6; }
2115 if ${ac_cv_prog_CC+:} false
; then :
2116 $as_echo_n "(cached) " >&6
2118 if test -n "$CC"; then
2119 ac_cv_prog_CC
="$CC" # Let the user override the test.
2121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2125 test -z "$as_dir" && as_dir
=.
2126 for ac_exec_ext
in '' $ac_executable_extensions; do
2127 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2128 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2139 if test -n "$CC"; then
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2141 $as_echo "$CC" >&6; }
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2144 $as_echo "no" >&6; }
2148 test -n "$CC" && break
2151 if test -z "$CC"; then
2153 for ac_prog
in cl.exe
2155 # Extract the first word of "$ac_prog", so it can be a program name with args.
2156 set dummy
$ac_prog; ac_word
=$2
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2158 $as_echo_n "checking for $ac_word... " >&6; }
2159 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2160 $as_echo_n "(cached) " >&6
2162 if test -n "$ac_ct_CC"; then
2163 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2169 test -z "$as_dir" && as_dir
=.
2170 for ac_exec_ext
in '' $ac_executable_extensions; do
2171 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2172 ac_cv_prog_ac_ct_CC
="$ac_prog"
2173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2182 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2183 if test -n "$ac_ct_CC"; then
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2185 $as_echo "$ac_ct_CC" >&6; }
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2188 $as_echo "no" >&6; }
2192 test -n "$ac_ct_CC" && break
2195 if test "x$ac_ct_CC" = x
; then
2198 case $cross_compiling:$ac_tool_warned in
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2201 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2202 ac_tool_warned
=yes ;;
2211 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2213 as_fn_error $?
"no acceptable C compiler found in \$PATH
2214 See \`config.log' for more details" "$LINENO" 5; }
2216 # Provide some information about the compiler.
2217 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2220 for ac_option
in --version -v -V -qversion; do
2221 { { ac_try
="$ac_compiler $ac_option >&5"
2223 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2224 *) ac_try_echo=$ac_try;;
2226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2227 $as_echo "$ac_try_echo"; } >&5
2228 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2230 if test -s conftest.err; then
2232 ... rest of stderr output deleted ...
2233 10q' conftest.err >conftest.er1
2234 cat conftest.er1 >&5
2236 rm -f conftest.er1 conftest.err
2237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2238 test $ac_status = 0; }
2241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2242 /* end confdefs.h. */
2252 ac_clean_files_save=$ac_clean_files
2253 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2254 # Try to create an executable without -o first, disregard a.out.
2255 # It will help us diagnose broken compilers, and finding out an intuition
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2258 $as_echo_n "checking whether the C compiler works... " >&6; }
2259 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2261 # The possible output files:
2262 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2265 for ac_file in $ac_files
2268 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2269 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2274 if { { ac_try="$ac_link_default"
2276 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2277 *) ac_try_echo
=$ac_try;;
2279 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2280 $as_echo "$ac_try_echo"; } >&5
2281 (eval "$ac_link_default") 2>&5
2283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2284 test $ac_status = 0; }; then :
2285 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2286 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2287 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2288 # so that the user can short-circuit this test for compilers unknown to
2290 for ac_file
in $ac_files ''
2292 test -f "$ac_file" ||
continue
2294 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2297 # We found the default executable, but exeext='' is most
2301 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2303 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2305 # We set ac_cv_exeext here because the later test for it is not
2306 # safe: cross compilers may not add the suffix if given an `-o'
2307 # argument, so we may need to know it at that point already.
2308 # Even if this section looks crufty: it has the advantage of
2315 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2320 if test -z "$ac_file"; then :
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2322 $as_echo "no" >&6; }
2323 $as_echo "$as_me: failed program was:" >&5
2324 sed 's/^/| /' conftest.
$ac_ext >&5
2326 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2328 as_fn_error
77 "C compiler cannot create executables
2329 See \`config.log' for more details" "$LINENO" 5; }
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2332 $as_echo "yes" >&6; }
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2335 $as_echo_n "checking for C compiler default output file name... " >&6; }
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2337 $as_echo "$ac_file" >&6; }
2338 ac_exeext
=$ac_cv_exeext
2340 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2341 ac_clean_files
=$ac_clean_files_save
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2343 $as_echo_n "checking for suffix of executables... " >&6; }
2344 if { { ac_try
="$ac_link"
2346 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2347 *) ac_try_echo=$ac_try;;
2349 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2350 $as_echo "$ac_try_echo"; } >&5
2351 (eval "$ac_link") 2>&5
2353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2354 test $ac_status = 0; }; then :
2355 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2356 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2357 # work properly (i.e., refer to `conftest.exe'), while it won't with
2359 for ac_file
in conftest.exe conftest conftest.
*; do
2360 test -f "$ac_file" ||
continue
2362 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2363 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2369 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2371 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2372 See \`config.log' for more details" "$LINENO" 5; }
2374 rm -f conftest conftest
$ac_cv_exeext
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2376 $as_echo "$ac_cv_exeext" >&6; }
2378 rm -f conftest.
$ac_ext
2379 EXEEXT
=$ac_cv_exeext
2381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2382 /* end confdefs.h. */
2387 FILE *f = fopen ("conftest.out", "w");
2388 return ferror (f) || fclose (f) != 0;
2394 ac_clean_files
="$ac_clean_files conftest.out"
2395 # Check that the compiler produces executables we can run. If not, either
2396 # the compiler is broken, or we cross compile.
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2398 $as_echo_n "checking whether we are cross compiling... " >&6; }
2399 if test "$cross_compiling" != yes; then
2400 { { ac_try
="$ac_link"
2402 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2403 *) ac_try_echo=$ac_try;;
2405 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2406 $as_echo "$ac_try_echo"; } >&5
2407 (eval "$ac_link") 2>&5
2409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2410 test $ac_status = 0; }
2411 if { ac_try='./conftest$ac_cv_exeext'
2412 { { case "(($ac_try" in
2413 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2414 *) ac_try_echo
=$ac_try;;
2416 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2417 $as_echo "$ac_try_echo"; } >&5
2418 (eval "$ac_try") 2>&5
2420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2421 test $ac_status = 0; }; }; then
2424 if test "$cross_compiling" = maybe
; then
2427 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2429 as_fn_error $?
"cannot run C compiled programs.
2430 If you meant to cross compile, use \`--host'.
2431 See \`config.log' for more details" "$LINENO" 5; }
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2436 $as_echo "$cross_compiling" >&6; }
2438 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2439 ac_clean_files
=$ac_clean_files_save
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2441 $as_echo_n "checking for suffix of object files... " >&6; }
2442 if ${ac_cv_objext+:} false
; then :
2443 $as_echo_n "(cached) " >&6
2445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2446 /* end confdefs.h. */
2456 rm -f conftest.o conftest.obj
2457 if { { ac_try
="$ac_compile"
2459 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2460 *) ac_try_echo=$ac_try;;
2462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2463 $as_echo "$ac_try_echo"; } >&5
2464 (eval "$ac_compile") 2>&5
2466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2467 test $ac_status = 0; }; then :
2468 for ac_file in conftest.o conftest.obj conftest.*; do
2469 test -f "$ac_file" || continue;
2471 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2472 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2477 $as_echo "$as_me: failed program was:" >&5
2478 sed 's/^/| /' conftest.$ac_ext >&5
2480 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2482 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2483 See \
`config.log' for more details" "$LINENO" 5; }
2485 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2488 $as_echo "$ac_cv_objext" >&6; }
2489 OBJEXT=$ac_cv_objext
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2492 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2493 if ${ac_cv_c_compiler_gnu+:} false; then :
2494 $as_echo_n "(cached) " >&6
2496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2497 /* end confdefs.h. */
2510 if ac_fn_c_try_compile "$LINENO"; then :
2515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2516 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2520 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2521 if test $ac_compiler_gnu = yes; then
2526 ac_test_CFLAGS=${CFLAGS+set}
2527 ac_save_CFLAGS=$CFLAGS
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2529 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2530 if ${ac_cv_prog_cc_g+:} false; then :
2531 $as_echo_n "(cached) " >&6
2533 ac_save_c_werror_flag=$ac_c_werror_flag
2534 ac_c_werror_flag=yes
2537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2538 /* end confdefs.h. */
2548 if ac_fn_c_try_compile "$LINENO"; then :
2552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2553 /* end confdefs.h. */
2563 if ac_fn_c_try_compile "$LINENO"; then :
2566 ac_c_werror_flag=$ac_save_c_werror_flag
2568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2569 /* end confdefs.h. */
2579 if ac_fn_c_try_compile "$LINENO"; then :
2582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2587 ac_c_werror_flag=$ac_save_c_werror_flag
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2590 $as_echo "$ac_cv_prog_cc_g" >&6; }
2591 if test "$ac_test_CFLAGS" = set; then
2592 CFLAGS=$ac_save_CFLAGS
2593 elif test $ac_cv_prog_cc_g = yes; then
2594 if test "$GCC" = yes; then
2600 if test "$GCC" = yes; then
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2607 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2608 if ${ac_cv_prog_cc_c89+:} false; then :
2609 $as_echo_n "(cached) " >&6
2611 ac_cv_prog_cc_c89=no
2613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2614 /* end confdefs.h. */
2618 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2619 struct buf { int x; };
2620 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2621 static char *e (p, i)
2627 static char *f (char * (*g) (char **, int), char **p, ...)
2632 s = g (p, va_arg (v,int));
2637 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2638 function prototypes and stuff, but not '\xHH' hex character constants.
2639 These don't provoke an error unfortunately, instead are silently treated
2640 as 'x'. The following induces an error, until -std is added to get
2641 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2642 array size at least. It's necessary to write '\x00'==0 to get something
2643 that's true only with -std. */
2644 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2646 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2647 inside strings and character constants. */
2649 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2651 int test (int i, double x);
2652 struct s1 {int (*f) (int a);};
2653 struct s2 {int (*f) (double a);};
2654 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2660 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2665 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2666 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2668 CC="$ac_save_CC $ac_arg"
2669 if ac_fn_c_try_compile "$LINENO"; then :
2670 ac_cv_prog_cc_c89=$ac_arg
2672 rm -f core conftest.err conftest.$ac_objext
2673 test "x$ac_cv_prog_cc_c89" != "xno" && break
2675 rm -f conftest.$ac_ext
2680 case "x$ac_cv_prog_cc_c89" in
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2683 $as_echo "none needed" >&6; } ;;
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2686 $as_echo "unsupported" >&6; } ;;
2688 CC="$CC $ac_cv_prog_cc_c89"
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2690 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2692 if test "x$ac_cv_prog_cc_c89" != xno; then :
2697 ac_cpp='$CPP $CPPFLAGS'
2698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2704 $as_echo_n "checking target config location... " >&6; }
2706 # Check whether --with-config-dir was given.
2707 if test "${with_config_dir+set}" = set; then :
2708 withval=$with_config_dir; targetcfg_dir="$withval"
2713 if test "$targetcfg_dir" = ""; then
2714 as_fn_error $? "missing config directory!" "$LINENO" 5
2716 aros_targetcfg_dir="$targetcfg_dir"
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2719 $as_echo "$aros_targetcfg_dir" >&6; }
2721 #-----------------------------------------------------------------------------
2723 # Check if the target compiler supports some features:
2727 # -fno-builtin-floor
2731 # -floop-interchange
2735 # -finline-small-functions
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fexceptions" >&5
2739 $as_echo_n "checking whether ${CC} accepts -fexceptions... " >&6; }
2742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2743 /* end confdefs.h. */
2753 if ac_fn_c_try_compile "$LINENO"; then :
2754 aros_exceptions="yes"
2756 aros_exceptions="no"
2758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_exceptions" >&5
2760 $as_echo "$aros_exceptions" >&6; }
2761 if test "x-$aros_exceptions" = "x-yes" ; then
2762 aros_cflags_exceptions=-fexceptions
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpermissive" >&5
2766 $as_echo_n "checking whether ${CC} accepts -fpermissive... " >&6; }
2768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2769 /* end confdefs.h. */
2779 if ac_fn_c_try_compile "$LINENO"; then :
2780 aros_permissive="yes"
2782 aros_permissive="no"
2784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_permissive" >&5
2786 $as_echo "$aros_permissive" >&6; }
2787 if test "x-$aros_permissive" = "x-yes" ; then
2788 aros_cflags_permissive=-fpermissive
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2792 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2795 /* end confdefs.h. */
2805 if ac_fn_c_try_compile "$LINENO"; then :
2806 aros_fast_math="yes"
2810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2812 $as_echo "$aros_fast_math" >&6; }
2813 if test "x-$aros_fast_math" = "x-yes" ; then
2814 aros_cflags_fast_math=-ffast-math
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-floor" >&5
2818 $as_echo_n "checking whether ${CC} accepts -fno-builtin-floor... " >&6; }
2819 CFLAGS=-fno-builtin-floor
2820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2821 /* end confdefs.h. */
2831 if ac_fn_c_try_compile "$LINENO"; then :
2832 aros_no_builtin_floor="yes"
2834 aros_no_builtin_floor="no"
2836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_floor" >&5
2838 $as_echo "$aros_no_builtin_floor" >&6; }
2839 if test "x-$aros_no_builtin_floor" = "x-yes" ; then
2840 aros_cflags_no_builtin_floor=-fno-builtin-floor
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2844 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2847 /* end confdefs.h. */
2857 if ac_fn_c_try_compile "$LINENO"; then :
2862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2864 $as_echo "$aros_lto" >&6; }
2865 if test "x-$aros_lto" = "x-yes" ; then
2866 aros_cflags_lto=-flto
2867 aros_cflags_nolto=-fno-lto
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
2870 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
2871 CFLAGS=-fwhole-program
2872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2873 /* end confdefs.h. */
2883 if ac_fn_c_try_compile "$LINENO"; then :
2884 aros_whole_program="yes"
2886 aros_whole_program="no"
2888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
2890 $as_echo "$aros_whole_program" >&6; }
2891 if test "x-$aros_whole_program" = "x-yes" ; then
2892 aros_cflags_whole_program=-fwhole-program
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2896 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2899 /* end confdefs.h. */
2909 if ac_fn_c_try_compile "$LINENO"; then :
2910 aros_loop_block="yes"
2912 aros_loop_block="no"
2914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2916 $as_echo "$aros_loop_block" >&6; }
2917 if test "x-$aros_loop_block" = "x-yes" ; then
2918 aros_cflags_loop_block=-floop-block
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2922 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2923 CFLAGS=-floop-interchange
2924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2925 /* end confdefs.h. */
2935 if ac_fn_c_try_compile "$LINENO"; then :
2936 aros_loop_interchange="yes"
2938 aros_loop_interchange="no"
2940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
2942 $as_echo "$aros_loop_interchange" >&6; }
2943 if test "x-$aros_loop_interchange" = "x-yes" ; then
2944 aros_cflags_loop_interchange=-floop-interchange
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
2948 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
2949 CFLAGS=-floop-strip-mine
2950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2951 /* end confdefs.h. */
2961 if ac_fn_c_try_compile "$LINENO"; then :
2962 aros_loop_strip_mine="yes"
2964 aros_loop_strip_mine="no"
2966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
2968 $as_echo "$aros_loop_strip_mine" >&6; }
2969 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
2970 aros_cflags_loop_strip_mine=-floop-strip-mine
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
2975 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
2977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2978 /* end confdefs.h. */
2988 if ac_fn_c_try_compile "$LINENO"; then :
2989 aros_peel_loops="yes"
2991 aros_peel_loops="no"
2993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
2995 $as_echo "$aros_peel_loops" >&6; }
2996 if test "x-$aros_peel_loops" = "x-yes" ; then
2997 aros_cflags_peel_loops=-fpeel-loops
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -funroll-loops" >&5
3001 $as_echo_n "checking whether ${CC} accepts -funroll-loops... " >&6; }
3002 CFLAGS=-funroll-loops
3003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3004 /* end confdefs.h. */
3014 if ac_fn_c_try_compile "$LINENO"; then :
3015 aros_unroll_loops="yes"
3017 aros_unroll_loops="no"
3019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unroll_loops" >&5
3021 $as_echo "$aros_unroll_loops" >&6; }
3022 if test "x-$aros_unroll_loops" = "x-yes" ; then
3023 aros_cflags_unroll_loops=-funroll-loops
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
3027 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
3028 CFLAGS=-fstrict-aliasing
3029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3030 /* end confdefs.h. */
3040 if ac_fn_c_try_compile "$LINENO"; then :
3041 aros_strict_aliasing="yes"
3043 aros_strict_aliasing="no"
3045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3047 $as_echo "$aros_strict_aliasing" >&6; }
3048 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3049 aros_cflags_strictaliasing=-fstrict-aliasing
3050 aros_cflags_nostrictaliasing=-fno-strict-aliasing
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finline-small-functions" >&5
3054 $as_echo_n "checking whether ${CC} accepts -finline-small-functions... " >&6; }
3055 CFLAGS=-finline-small-functions
3056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3057 /* end confdefs.h. */
3067 if ac_fn_c_try_compile "$LINENO"; then :
3068 aros_inline_small_functions="yes"
3070 aros_inline_small_functions="no"
3072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_inline_small_functions" >&5
3074 $as_echo "$aros_inline_small_functions" >&6; }
3075 if test "x-$aros_inline_small_functions" = "x-yes" ; then
3076 aros_cflags_inlinesmallfunctions=-finline-small-functions
3077 aros_cflags_noinlinesmallfunctions=-fno-inline-small-functions
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
3081 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
3083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3084 /* end confdefs.h. */
3094 if ac_fn_c_try_compile "$LINENO"; then :
3099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
3101 $as_echo "$has_iquote" >&6; }
3102 if test "x-$has_iquote" = "x-yes" ; then
3103 aros_cflags_iquote=-iquote
3104 aros_cflags_iquote_end=
3106 aros_cflags_iquote=-I
3107 aros_cflags_iquote_end=-I-
3110 #-----------------------------------------------------------------------------
3112 # Check if the target compiler supports some options:
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mno-red-zone" >&5
3116 $as_echo_n "checking whether ${CC} accepts -mno-red-zone... " >&6; }
3117 CFLAGS=-mno-red-zone
3118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3119 /* end confdefs.h. */
3129 if ac_fn_c_try_compile "$LINENO"; then :
3130 aros_no_red_zone="yes"
3132 aros_no_red_zone="no"
3134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_red_zone" >&5
3136 $as_echo "$aros_no_red_zone" >&6; }
3137 if test "x-$aros_no_red_zone" = "x-yes" ; then
3138 aros_cflags_no_red_zone=-mno-red-zone
3141 #-----------------------------------------------------------------------------
3143 # Check if the target compiler supports some options used for de-linting:
3145 # -Wunused-command-line-argument
3146 # -Wunknown-warning-option
3147 # -Wunused-but-set-variable
3151 # -Wstrict-prototypes
3154 # -Wmisleading-indentation
3161 # -Wunused-parameter
3163 # -Wmaybe-uninitialized
3164 # -Wimplicit-function-declaration
3169 # -Wformat-contains-nul
3171 # -Waggressive-loop-optimizations
3174 # -Wdiscarded-qualifiers
3177 # -Wdiscarded-array-qualifiers
3179 # -Wint-to-pointer-cast
3180 # -Wpointer-to-int-cast
3181 # -Wunused-const-variable
3184 # -Wincompatible-pointer-types
3186 # -Wlogical-not-parentheses
3190 # -Wdeprecated-declarations
3194 # -Wunused-local-typedefs
3198 # -Wvolatile-register-var
3199 # -Wsizeof-pointer-memaccess
3201 # -Wformat-zero-length
3202 # -Wlto-type-mismatch
3203 # -Wtautological-compare
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Werror" >&5
3207 $as_echo_n "checking whether ${CC} accepts -Werror... " >&6; }
3209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3210 /* end confdefs.h. */
3220 if ac_fn_c_try_compile "$LINENO"; then :
3225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_error" >&5
3227 $as_echo "$aros_error" >&6; }
3228 if test "x-$aros_error" = "x-yes" ; then
3229 aros_warnflags_error=-Werror
3230 aros_nowarnflags_error=-Wno-error
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
3234 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
3235 CFLAGS=-Wunused-command-line-argument
3236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3237 /* end confdefs.h. */
3247 if ac_fn_c_try_compile "$LINENO"; then :
3248 aros_unused_command_line_argument="yes"
3250 aros_unused_command_line_argument="no"
3252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
3254 $as_echo "$aros_unused_command_line_argument" >&6; }
3255 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
3256 aros_warnflags_unused_command_line_argument=-Wunused-command-line-argument
3257 aros_nowarnflags_unused_command_line_argument=-Wno-unused-command-line-argument
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
3261 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
3262 CFLAGS=-Wunknown-warning-option
3263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3264 /* end confdefs.h. */
3274 if ac_fn_c_try_compile "$LINENO"; then :
3275 aros_unknown_warning_option="yes"
3277 aros_unknown_warning_option="no"
3279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
3281 $as_echo "$aros_unknown_warning_option" >&6; }
3282 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
3283 aros_warnflags_unknown_warning_option=-Wunknown-warning-option
3284 aros_nowarnflags_unknown_warning_option=-Wno-unknown-warning-option
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
3288 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
3289 CFLAGS=-Wunused-but-set-variable
3290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3291 /* end confdefs.h. */
3301 if ac_fn_c_try_compile "$LINENO"; then :
3302 aros_unused_but_set_variable="yes"
3304 aros_unused_but_set_variable="no"
3306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
3308 $as_echo "$aros_unused_but_set_variable" >&6; }
3309 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
3310 aros_warnflags_unused_but_set_variable=-Wunused-but-set-variable
3311 aros_nowarnflags_unused_but_set_variable=-Wno-unused-but-set-variable
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
3315 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
3316 CFLAGS=-Wstrict-aliasing
3317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3318 /* end confdefs.h. */
3328 if ac_fn_c_try_compile "$LINENO"; then :
3329 aros_strict_aliasing="yes"
3331 aros_strict_aliasing="no"
3333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3335 $as_echo "$aros_strict_aliasing" >&6; }
3336 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3337 aros_warnflags_strict_aliasing=-Wstrict-aliasing
3338 aros_nowarnflags_strict_aliasing=-Wno-strict-aliasing
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
3342 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
3343 CFLAGS=-Warray-bounds
3344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3345 /* end confdefs.h. */
3355 if ac_fn_c_try_compile "$LINENO"; then :
3356 aros_array_bounds="yes"
3358 aros_array_bounds="no"
3360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
3362 $as_echo "$aros_array_bounds" >&6; }
3363 if test "x-$aros_array_bounds" = "x-yes" ; then
3364 aros_warnflags_array_bounds=-Warray-bounds
3365 aros_nowarnflags_array_bounds=-Wno-array-bounds
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
3369 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
3370 CFLAGS=-Wenum-compare
3371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3372 /* end confdefs.h. */
3382 if ac_fn_c_try_compile "$LINENO"; then :
3383 aros_enum_compare="yes"
3385 aros_enum_compare="no"
3387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
3389 $as_echo "$aros_enum_compare" >&6; }
3390 if test "x-$aros_enum_compare" = "x-yes" ; then
3391 aros_warnflags_enum_compare=-Wenum-compare
3392 aros_nowarnflags_enum_compare=-Wno-enum-compare
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
3396 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
3397 CFLAGS=-Wstrict-prototypes
3398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3399 /* end confdefs.h. */
3409 if ac_fn_c_try_compile "$LINENO"; then :
3410 aros_strict_prototypes="yes"
3412 aros_strict_prototypes="no"
3414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3416 $as_echo "$aros_strict_prototypes" >&6; }
3417 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3418 aros_warnflags_strict_prototypes=-Wstrict-prototypes
3419 aros_nowarnflags_strict_prototypes=-Wno-strict-prototypes
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3423 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3424 CFLAGS=-Wstrict-overflow
3425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3426 /* end confdefs.h. */
3436 if ac_fn_c_try_compile "$LINENO"; then :
3437 aros_strict_overflow="yes"
3439 aros_strict_overflow="no"
3441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3443 $as_echo "$aros_strict_overflow" >&6; }
3444 if test "x-$aros_strict_overflow" = "x-yes" ; then
3445 aros_warnflags_strict_overflow=-Wstrict-overflow
3446 aros_nowarnflags_strict_overflow=-Wno-strict-overflow
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3450 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3451 CFLAGS=-Wformat-security
3452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3453 /* end confdefs.h. */
3463 if ac_fn_c_try_compile "$LINENO"; then :
3464 aros_format_security="yes"
3466 aros_format_security="no"
3468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3470 $as_echo "$aros_format_security" >&6; }
3471 if test "x-$aros_format_security" = "x-yes" ; then
3472 aros_warnflags_format_security=-Wformat-security
3473 aros_nowarnflags_format_security=-Wno-format-security
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3477 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3478 CFLAGS=-Wmisleading-indentation
3479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3480 /* end confdefs.h. */
3490 if ac_fn_c_try_compile "$LINENO"; then :
3491 aros_misleading_indentation="yes"
3493 aros_misleading_indentation="no"
3495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3497 $as_echo "$aros_misleading_indentation" >&6; }
3498 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3499 aros_warnflags_misleading_indentation=-Wmisleading-indentation
3500 aros_nowarnflags_misleading_indentation=-Wno-misleading-indentation
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3504 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3505 CFLAGS=-Wnonnull-compare
3506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3507 /* end confdefs.h. */
3517 if ac_fn_c_try_compile "$LINENO"; then :
3518 aros_nonnull_compare="yes"
3520 aros_nonnull_compare="no"
3522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3524 $as_echo "$aros_nonnull_compare" >&6; }
3525 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3526 aros_warnflags_nonnull_compare=-Wnonnull-compare
3527 aros_nowarnflags_nonnull_compare=-Wno-nonnull-compare
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3531 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3534 /* end confdefs.h. */
3544 if ac_fn_c_try_compile "$LINENO"; then :
3549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3551 $as_echo "$aros_unused" >&6; }
3552 if test "x-$aros_unused" = "x-yes" ; then
3553 aros_warnflags_unused=-Wunused
3554 aros_nowarnflags_unused=-Wno-unused
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-label" >&5
3558 $as_echo_n "checking whether ${CC} accepts -Wunused-label... " >&6; }
3559 CFLAGS=-Wunused-label
3560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3561 /* end confdefs.h. */
3571 if ac_fn_c_try_compile "$LINENO"; then :
3572 aros_unused_label="yes"
3574 aros_unused_label="no"
3576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_label" >&5
3578 $as_echo "$aros_unused_label" >&6; }
3579 if test "x-$aros_unused_label" = "x-yes" ; then
3580 aros_warnflags_unused_label=-Wunused-label
3581 aros_nowarnflags_unused_label=-Wno-unused-label
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3585 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3586 CFLAGS=-Wunused-value
3587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3588 /* end confdefs.h. */
3598 if ac_fn_c_try_compile "$LINENO"; then :
3599 aros_unused_value="yes"
3601 aros_unused_value="no"
3603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3605 $as_echo "$aros_unused_value" >&6; }
3606 if test "x-$aros_unused_value" = "x-yes" ; then
3607 aros_warnflags_unused_value=-Wunused-value
3608 aros_nowarnflags_unused_value=-Wno-unused-value
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3612 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3613 CFLAGS=-Wunused-variable
3614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3615 /* end confdefs.h. */
3625 if ac_fn_c_try_compile "$LINENO"; then :
3626 aros_unused_variable="yes"
3628 aros_unused_variable="no"
3630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3632 $as_echo "$aros_unused_variable" >&6; }
3633 if test "x-$aros_unused_variable" = "x-yes" ; then
3634 aros_warnflags_unused_variable=-Wunused-variable
3635 aros_nowarnflags_unused_variable=-Wno-unused-variable
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3639 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3640 CFLAGS=-Wunused-function
3641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3642 /* end confdefs.h. */
3652 if ac_fn_c_try_compile "$LINENO"; then :
3653 aros_unused_function="yes"
3655 aros_unused_function="no"
3657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3659 $as_echo "$aros_unused_function" >&6; }
3660 if test "x-$aros_unused_function" = "x-yes" ; then
3661 aros_warnflags_unused_function=-Wunused-function
3662 aros_nowarnflags_unused_function=-Wno-unused-function
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
3666 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
3667 CFLAGS=-Wunused-parameter
3668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3669 /* end confdefs.h. */
3679 if ac_fn_c_try_compile "$LINENO"; then :
3680 aros_unused_parameter="yes"
3682 aros_unused_parameter="no"
3684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
3686 $as_echo "$aros_unused_parameter" >&6; }
3687 if test "x-$aros_unused_parameter" = "x-yes" ; then
3688 aros_warnflags_unused_parameter=-Wunused-parameter
3689 aros_nowarnflags_unused_parameter=-Wno-unused-parameter
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3693 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3694 CFLAGS=-Wuninitialized
3695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3696 /* end confdefs.h. */
3706 if ac_fn_c_try_compile "$LINENO"; then :
3707 aros_uninitialized="yes"
3709 aros_uninitialized="no"
3711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3713 $as_echo "$aros_uninitialized" >&6; }
3714 if test "x-$aros_uninitialized" = "x-yes" ; then
3715 aros_warnflags_uninitialized=-Wuninitialized
3716 aros_nowarnflags_uninitialized=-Wno-uninitialized
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3720 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3721 CFLAGS=-Wmaybe-uninitialized
3722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3723 /* end confdefs.h. */
3733 if ac_fn_c_try_compile "$LINENO"; then :
3734 aros_maybe_uninitialized="yes"
3736 aros_maybe_uninitialized="no"
3738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3740 $as_echo "$aros_maybe_uninitialized" >&6; }
3741 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3742 aros_warnflags_maybe_uninitialized=-Wmaybe-uninitialized
3743 aros_nowarnflags_maybe_uninitialized=-Wno-maybe-uninitialized
3745 aros_warnflags_maybe_uninitialized=$aros_warnflags_uninitialized
3746 aros_nowarnflags_maybe_uninitialized=$aros_nowarnflags_uninitialized
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3750 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3751 CFLAGS=-Wimplicit-function-declaration
3752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3753 /* end confdefs.h. */
3763 if ac_fn_c_try_compile "$LINENO"; then :
3764 aros_implicit_function_declaration="yes"
3766 aros_implicit_function_declaration="no"
3768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3770 $as_echo "$aros_implicit_function_declaration" >&6; }
3771 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3772 aros_warnflags_implicit_function_declaration=-Wimplicit-function-declaration
3773 aros_nowarnflags_implicit_function_declaration=-Wno-implicit-function-declaration
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3777 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3780 /* end confdefs.h. */
3790 if ac_fn_c_try_compile "$LINENO"; then :
3795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3797 $as_echo "$aros_format" >&6; }
3798 if test "x-$aros_format" = "x-yes" ; then
3799 aros_warnflags_format=-Wformat
3800 aros_nowarnflags_format=-Wno-format
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3804 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3805 CFLAGS=-Wparentheses
3806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3807 /* end confdefs.h. */
3817 if ac_fn_c_try_compile "$LINENO"; then :
3818 aros_parentheses="yes"
3820 aros_parentheses="no"
3822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3824 $as_echo "$aros_parentheses" >&6; }
3825 if test "x-$aros_parentheses" = "x-yes" ; then
3826 aros_warnflags_parentheses=-Wparentheses
3827 aros_nowarnflags_parentheses=-Wno-parentheses
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3831 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3832 CFLAGS=-Wchar-subscripts
3833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3834 /* end confdefs.h. */
3844 if ac_fn_c_try_compile "$LINENO"; then :
3845 aros_char_subscripts="yes"
3847 aros_char_subscripts="no"
3849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3851 $as_echo "$aros_char_subscripts" >&6; }
3852 if test "x-$aros_char_subscripts" = "x-yes" ; then
3853 aros_warnflags_char_subscripts=-Wchar-subscripts
3854 aros_nowarnflags_char_subscripts=-Wno-char-subscripts
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3858 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3859 CFLAGS=-Wendif-labels
3860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3861 /* end confdefs.h. */
3871 if ac_fn_c_try_compile "$LINENO"; then :
3872 aros_endif_labels="yes"
3874 aros_endif_labels="no"
3876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3878 $as_echo "$aros_endif_labels" >&6; }
3879 if test "x-$aros_endif_labels" = "x-yes" ; then
3880 aros_warnflags_endif_labels=-Wendif-labels
3881 aros_nowarnflags_endif_labels=-Wno-endif-labels
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3885 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3886 CFLAGS=-Wformat-contains-nul
3887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3888 /* end confdefs.h. */
3898 if ac_fn_c_try_compile "$LINENO"; then :
3899 aros_format_contains_nul="yes"
3901 aros_format_contains_nul="no"
3903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3905 $as_echo "$aros_format_contains_nul" >&6; }
3906 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3907 aros_warnflags_format_contains_nul=-Wformat-contains-nul
3908 aros_nowarnflags_format_contains_nul=-Wno-format-contains-nul
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3912 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3913 CFLAGS=-Wimplicit-int
3914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h. */
3925 if ac_fn_c_try_compile "$LINENO"; then :
3926 aros_implicit_int="yes"
3928 aros_implicit_int="no"
3930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3932 $as_echo "$aros_implicit_int" >&6; }
3933 if test "x-$aros_implicit_int" = "x-yes" ; then
3934 aros_warnflags_implicit_int=-Wimplicit-int
3935 aros_nowarnflags_implicit_int=-Wno-implicit-int
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3939 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3940 CFLAGS=-Waggressive-loop-optimizations
3941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3942 /* end confdefs.h. */
3952 if ac_fn_c_try_compile "$LINENO"; then :
3953 aros_aggressive_loop_optimizations="yes"
3955 aros_aggressive_loop_optimizations="no"
3957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3959 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3960 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3961 aros_warnflags_aggressive_loop_optimizations=-Waggressive-loop-optimizations
3962 aros_nowarnflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3966 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3969 /* end confdefs.h. */
3979 if ac_fn_c_try_compile "$LINENO"; then :
3984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3986 $as_echo "$aros_cpp" >&6; }
3987 if test "x-$aros_cpp" = "x-yes" ; then
3988 aros_warnflags_cpp=-Wcpp
3989 aros_nowarnflags_cpp=-Wno-cpp
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3993 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3996 /* end confdefs.h. */
4006 if ac_fn_c_try_compile "$LINENO"; then :
4011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
4013 $as_echo "$aros_switch" >&6; }
4014 if test "x-$aros_switch" = "x-yes" ; then
4015 aros_warnflags_switch=-Wswitch
4016 aros_nowarnflags_switch=-Wno-switch
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
4020 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
4021 CFLAGS=-Wdiscarded-qualifiers
4022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4023 /* end confdefs.h. */
4033 if ac_fn_c_try_compile "$LINENO"; then :
4034 aros_discarded_qualifiers="yes"
4036 aros_discarded_qualifiers="no"
4038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
4040 $as_echo "$aros_discarded_qualifiers" >&6; }
4041 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
4042 aros_warnflags_discarded_qualifiers=-Wdiscarded-qualifiers
4043 aros_nowarnflags_discarded_qualifiers=-Wno-discarded-qualifiers
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
4047 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
4048 CFLAGS=-Wsequence-point
4049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4050 /* end confdefs.h. */
4060 if ac_fn_c_try_compile "$LINENO"; then :
4061 aros_sequence_point="yes"
4063 aros_sequence_point="no"
4065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
4067 $as_echo "$aros_sequence_point" >&6; }
4068 if test "x-$aros_sequence_point" = "x-yes" ; then
4069 aros_warnflags_sequence_point=-Wsequence-point
4070 aros_nowarnflags_sequence_point=-Wno-sequence-point
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
4074 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
4075 CFLAGS=-Wunknown-pragmas
4076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4077 /* end confdefs.h. */
4087 if ac_fn_c_try_compile "$LINENO"; then :
4088 aros_unknown_pragmas="yes"
4090 aros_unknown_pragmas="no"
4092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
4094 $as_echo "$aros_unknown_pragmas" >&6; }
4095 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
4096 aros_warnflags_unknown_pragmas=-Wunknown-pragmas
4097 aros_nowarnflags_unknown_pragmas=-Wno-unknown-pragmas
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
4101 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
4102 CFLAGS=-Wdiscarded-array-qualifiers
4103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4104 /* end confdefs.h. */
4114 if ac_fn_c_try_compile "$LINENO"; then :
4115 aros_discarded_array_qualifiers="yes"
4117 aros_discarded_array_qualifiers="no"
4119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
4121 $as_echo "$aros_discarded_array_qualifiers" >&6; }
4122 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
4123 aros_warnflags_discarded_array_qualifiers=-Wdiscarded-array-qualifiers
4124 aros_nowarnflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
4128 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
4129 CFLAGS=-Wint-conversion
4130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4131 /* end confdefs.h. */
4141 if ac_fn_c_try_compile "$LINENO"; then :
4142 aros_int_conversion="yes"
4144 aros_int_conversion="no"
4146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
4148 $as_echo "$aros_int_conversion" >&6; }
4149 if test "x-$aros_int_conversion" = "x-yes" ; then
4150 aros_warnflags_int_conversion=-Wint-conversion
4151 aros_nowarnflags_int_conversion=-Wno-int-conversion
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
4155 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
4156 CFLAGS=-Wint-to-pointer-cast
4157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4158 /* end confdefs.h. */
4168 if ac_fn_c_try_compile "$LINENO"; then :
4169 aros_int_to_pointer_cast="yes"
4171 aros_int_to_pointer_cast="no"
4173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
4175 $as_echo "$aros_int_to_pointer_cast" >&6; }
4176 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
4177 aros_warnflags_int_to_pointer_cast=-Wint-to-pointer-cast
4178 aros_nowarnflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
4182 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
4183 CFLAGS=-Wpointer-to-int-cast
4184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4185 /* end confdefs.h. */
4195 if ac_fn_c_try_compile "$LINENO"; then :
4196 aros_pointer_to_int_cast="yes"
4198 aros_pointer_to_int_cast="no"
4200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
4202 $as_echo "$aros_pointer_to_int_cast" >&6; }
4203 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
4204 aros_warnflags_pointer_to_int_cast=-Wpointer-to-int-cast
4205 aros_nowarnflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
4209 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
4210 CFLAGS=-Wunused-const-variable
4211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212 /* end confdefs.h. */
4222 if ac_fn_c_try_compile "$LINENO"; then :
4223 aros_unused_const_variable="yes"
4225 aros_unused_const_variable="no"
4227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
4229 $as_echo "$aros_unused_const_variable" >&6; }
4230 if test "x-$aros_unused_const_variable" = "x-yes" ; then
4231 aros_warnflags_unused_const_variable=-Wunused-const-variable
4232 aros_nowarnflags_unused_const_variable=-Wno-unused-const-variable
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
4236 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
4237 CFLAGS=-Wwrite-strings
4238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4239 /* end confdefs.h. */
4249 if ac_fn_c_try_compile "$LINENO"; then :
4250 aros_write_strings="yes"
4252 aros_write_strings="no"
4254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
4256 $as_echo "$aros_write_strings" >&6; }
4257 if test "x-$aros_write_strings" = "x-yes" ; then
4258 aros_warnflags_write_strings=-Wwrite-strings
4259 aros_nowarnflags_write_strings=-Wno-write-strings
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
4263 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
4265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4266 /* end confdefs.h. */
4276 if ac_fn_c_try_compile "$LINENO"; then :
4281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
4283 $as_echo "$aros_comment" >&6; }
4284 if test "x-$aros_comment" = "x-yes" ; then
4285 aros_warnflags_comment=-Wcomment
4286 aros_nowarnflags_comment=-Wno-comment
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
4290 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
4291 CFLAGS=-Wincompatible-pointer-types
4292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4293 /* end confdefs.h. */
4303 if ac_fn_c_try_compile "$LINENO"; then :
4304 aros_incompatible_pointer_types="yes"
4306 aros_incompatible_pointer_types="no"
4308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
4310 $as_echo "$aros_incompatible_pointer_types" >&6; }
4311 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
4312 aros_warnflags_incompatible_pointer_types=-Wincompatible-pointer-types
4313 aros_nowarnflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
4317 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
4318 CFLAGS=-Wbool-compare
4319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4320 /* end confdefs.h. */
4330 if ac_fn_c_try_compile "$LINENO"; then :
4331 aros_bool_compare="yes"
4333 aros_bool_compare="no"
4335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
4337 $as_echo "$aros_bool_compare" >&6; }
4338 if test "x-$aros_bool_compare" = "x-yes" ; then
4339 aros_warnflags_bool_compare=-Wbool-compare
4340 aros_nowarnflags_bool_compare=-Wno-bool-compare
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
4344 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
4345 CFLAGS=-Wlogical-not-parentheses
4346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4347 /* end confdefs.h. */
4357 if ac_fn_c_try_compile "$LINENO"; then :
4358 aros_logical_not_parentheses="yes"
4360 aros_logical_not_parentheses="no"
4362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
4364 $as_echo "$aros_logical_not_parentheses" >&6; }
4365 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
4366 aros_warnflags_logical_not_parentheses=-Wlogical-not-parentheses
4367 aros_nowarnflags_logical_not_parentheses=-Wno-logical-not-parentheses
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
4371 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
4372 CFLAGS=-Wpointer-sign
4373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4374 /* end confdefs.h. */
4384 if ac_fn_c_try_compile "$LINENO"; then :
4385 aros_pointer_sign="yes"
4387 aros_pointer_sign="no"
4389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
4391 $as_echo "$aros_pointer_sign" >&6; }
4392 if test "x-$aros_pointer_sign" = "x-yes" ; then
4393 aros_warnflags_pointer_sign=-Wpointer-sign
4394 aros_nowarnflags_pointer_sign=-Wno-pointer-sign
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
4398 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
4399 CFLAGS=-Wshift-overflow
4400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4401 /* end confdefs.h. */
4411 if ac_fn_c_try_compile "$LINENO"; then :
4412 aros_shift_overflow="yes"
4414 aros_shift_overflow="no"
4416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
4418 $as_echo "$aros_shift_overflow" >&6; }
4419 if test "x-$aros_shift_overflow" = "x-yes" ; then
4420 aros_warnflags_shift_overflow=-Wshift-overflow
4421 aros_nowarnflags_shift_overflow=-Wno-shift-overflow
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
4425 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
4426 CFLAGS=-Wframe-address
4427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4428 /* end confdefs.h. */
4438 if ac_fn_c_try_compile "$LINENO"; then :
4439 aros_frame_address="yes"
4441 aros_frame_address="no"
4443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
4445 $as_echo "$aros_frame_address" >&6; }
4446 if test "x-$aros_frame_address" = "x-yes" ; then
4447 aros_warnflags_frame_address=-Wframe-address
4448 aros_nowarnflags_frame_address=-Wno-frame-address
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
4452 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
4453 CFLAGS=-Wdeprecated-declarations
4454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4455 /* end confdefs.h. */
4465 if ac_fn_c_try_compile "$LINENO"; then :
4466 aros_deprecated_declarations="yes"
4468 aros_deprecated_declarations="no"
4470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4472 $as_echo "$aros_deprecated_declarations" >&6; }
4473 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4474 aros_warnflags_deprecated_declarations=-Wdeprecated-declarations
4475 aros_nowarnflags_deprecated_declarations=-Wno-deprecated-declarations
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4479 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4480 CFLAGS=-Wsign-compare
4481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4482 /* end confdefs.h. */
4492 if ac_fn_c_try_compile "$LINENO"; then :
4493 aros_sign_compare="yes"
4495 aros_sign_compare="no"
4497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4499 $as_echo "$aros_sign_compare" >&6; }
4500 if test "x-$aros_sign_compare" = "x-yes" ; then
4501 aros_warnflags_sign_compare=-Wsign-compare
4502 aros_nowarnflags_sign_compare=-Wno-sign-compare
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4506 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h. */
4519 if ac_fn_c_try_compile "$LINENO"; then :
4520 aros_attributes="yes"
4522 aros_attributes="no"
4524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4526 $as_echo "$aros_attributes" >&6; }
4527 if test "x-$aros_attributes" = "x-yes" ; then
4528 aros_warnflags_attributes=-Wattributes
4529 aros_nowarnflags_attributes=-Wno-attributes
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4533 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h. */
4546 if ac_fn_c_try_compile "$LINENO"; then :
4551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4553 $as_echo "$aros_overflow" >&6; }
4554 if test "x-$aros_overflow" = "x-yes" ; then
4555 aros_warnflags_overflow=-Woverflow
4556 aros_nowarnflags_overflow=-Wno-overflow
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4560 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4561 CFLAGS=-Wunused-local-typedefs
4562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4563 /* end confdefs.h. */
4573 if ac_fn_c_try_compile "$LINENO"; then :
4574 aros_unused_local_typedefs="yes"
4576 aros_unused_local_typedefs="no"
4578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4580 $as_echo "$aros_unused_local_typedefs" >&6; }
4581 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4582 aros_warnflags_unused_local_typedefs=-Wunused-local-typedefs
4583 aros_nowarnflags_unused_local_typedefs=-Wno-unused-local-typedefs
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4587 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4588 CFLAGS=-Wmissing-braces
4589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4590 /* end confdefs.h. */
4600 if ac_fn_c_try_compile "$LINENO"; then :
4601 aros_missing_braces="yes"
4603 aros_missing_braces="no"
4605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4607 $as_echo "$aros_missing_braces" >&6; }
4608 if test "x-$aros_missing_braces" = "x-yes" ; then
4609 aros_warnflags_missing_braces=-Wmissing-braces
4610 aros_nowarnflags_missing_braces=-Wno-missing-braces
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4614 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4615 CFLAGS=-Wconversion-null
4616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4617 /* end confdefs.h. */
4627 if ac_fn_c_try_compile "$LINENO"; then :
4628 aros_conversion_null="yes"
4630 aros_conversion_null="no"
4632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4634 $as_echo "$aros_conversion_null" >&6; }
4635 if test "x-$aros_conversion_null" = "x-yes" ; then
4636 aros_warnflags_conversion_null=-Wconversion-null
4637 aros_nowarnflags_conversion_null=-Wno-conversion-null
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4641 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4644 /* end confdefs.h. */
4654 if ac_fn_c_try_compile "$LINENO"; then :
4655 aros_narrowing="yes"
4659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4661 $as_echo "$aros_narrowing" >&6; }
4662 if test "x-$aros_narrowing" = "x-yes" ; then
4663 aros_warnflags_narrowing=-Wnarrowing
4664 aros_nowarnflags_narrowing=-Wno-narrowing
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4668 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4669 CFLAGS=-Wvolatile-register-var
4670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4671 /* end confdefs.h. */
4681 if ac_fn_c_try_compile "$LINENO"; then :
4682 aros_volatile_register_var="yes"
4684 aros_volatile_register_var="no"
4686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4688 $as_echo "$aros_volatile_register_var" >&6; }
4689 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4690 aros_warnflags_volatile_register_var=-Wvolatile-register-var
4691 aros_nowarnflags_volatile_register_var=-Wno-volatile-register-var
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
4695 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
4696 CFLAGS=-Wsizeof-pointer-memaccess
4697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4698 /* end confdefs.h. */
4708 if ac_fn_c_try_compile "$LINENO"; then :
4709 aros_sizeof_pointer_memaccess="yes"
4711 aros_sizeof_pointer_memaccess="no"
4713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
4715 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
4716 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
4717 aros_warnflags_sizeof_pointer_memaccess=-Wsizeof-pointer-memaccess
4718 aros_nowarnflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
4722 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
4723 CFLAGS=-Wreturn-type
4724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4725 /* end confdefs.h. */
4735 if ac_fn_c_try_compile "$LINENO"; then :
4736 aros_return_type="yes"
4738 aros_return_type="no"
4740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
4742 $as_echo "$aros_return_type" >&6; }
4743 if test "x-$aros_return_type" = "x-yes" ; then
4744 aros_warnflags_return_type=-Wreturn-type
4745 aros_nowarnflags_return_type=-Wno-return-type
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
4749 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
4750 CFLAGS=-Wformat-zero-length
4751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4752 /* end confdefs.h. */
4762 if ac_fn_c_try_compile "$LINENO"; then :
4763 aros_format_zero_length="yes"
4765 aros_format_zero_length="no"
4767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
4769 $as_echo "$aros_format_zero_length" >&6; }
4770 if test "x-$aros_format_zero_length" = "x-yes" ; then
4771 aros_warnflags_format_zero_length=-Wformat-zero-length
4772 aros_nowarnflags_format_zero_length=-Wno-format-zero-length
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
4776 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
4777 CFLAGS=-Wlto-type-mismatch
4778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4779 /* end confdefs.h. */
4789 if ac_fn_c_try_compile "$LINENO"; then :
4790 aros_lto_type_mismatch="yes"
4792 aros_lto_type_mismatch="no"
4794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
4796 $as_echo "$aros_lto_type_mismatch" >&6; }
4797 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
4798 aros_warnflags_lto_type_mismatch=-Wlto-type-mismatch
4799 aros_nowarnflags_lto_type_mismatch=-Wno-lto-type-mismatch
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wtautological-compare" >&5
4803 $as_echo_n "checking whether ${CC} accepts -Wtautological-compare... " >&6; }
4804 CFLAGS=-Wtautological-compare
4805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4806 /* end confdefs.h. */
4816 if ac_fn_c_try_compile "$LINENO"; then :
4817 aros_tautological_compare="yes"
4819 aros_tautological_compare="no"
4821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tautological_compare" >&5
4823 $as_echo "$aros_tautological_compare" >&6; }
4824 if test "x-$aros_tautological_compare" = "x-yes" ; then
4825 aros_warnflags_tautological_compare=-Wtautological-compare
4826 aros_nowarnflags_tautological_compare=-Wno-tautological-compare
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wempty-body" >&5
4830 $as_echo_n "checking whether ${CC} accepts -Wempty-body... " >&6; }
4832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4833 /* end confdefs.h. */
4843 if ac_fn_c_try_compile "$LINENO"; then :
4844 aros_empty_body="yes"
4846 aros_empty_body="no"
4848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_empty_body" >&5
4850 $as_echo "$aros_empty_body" >&6; }
4851 if test "x-$aros_empty_body" = "x-yes" ; then
4852 aros_warnflags_empty_body=-Wempty-body
4853 aros_nowarnflags_empty_body=-Wno-empty-body
4857 # export the feature flags...
4882 # export the feature options...
4887 # ...and warning flags...
5012 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
5015 cat >confcache <<\_ACEOF
5016 # This file is a shell script that caches the results of configure
5017 # tests run on this system so they can be shared between configure
5018 # scripts and configure runs, see configure's option --config-cache.
5019 # It is not useful on other systems. If it contains results you don't
5020 # want to keep, you may remove or edit it.
5022 # config.status only pays attention to the cache file if you give it
5023 # the --recheck option to rerun configure.
5025 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
5026 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5031 # The following way of writing the cache mishandles newlines in values,
5032 # but we know of no workaround that is simple, portable, and efficient.
5033 # So, we kill variables containing newlines.
5034 # Ultrix sh set writes to stderr and can't be redirected directly,
5035 # and sets the high bit in the cache file unless we assign to the vars.
5037 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5038 eval ac_val
=\$
$ac_var
5042 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5043 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5046 _ | IFS | as_nl
) ;; #(
5047 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5048 *) { eval $ac_var=; unset $ac_var;} ;;
5054 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5055 *${as_nl}ac_space
=\
*)
5056 # `set' does not quote correctly, so add quotes: double-quote
5057 # substitution turns \\\\ into \\, and sed turns \\ into \.
5060 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5063 # `set' quotes correctly as required by POSIX, so do not add quotes.
5064 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5073 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5075 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5077 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5078 if test -w "$cache_file"; then
5079 if test "x$cache_file" != "x/dev/null"; then
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5081 $as_echo "$as_me: updating cache $cache_file" >&6;}
5082 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5083 cat confcache
>"$cache_file"
5085 case $cache_file in #(
5087 mv -f confcache
"$cache_file"$$
&&
5088 mv -f "$cache_file"$$
"$cache_file" ;; #(
5090 mv -f confcache
"$cache_file" ;;
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5096 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5101 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5102 # Let make expand exec_prefix.
5103 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5105 # Transform confdefs.h into DEFS.
5106 # Protect against shell expansion while executing Makefile rules.
5107 # Protect against Makefile macro expansion.
5109 # If the first sed substitution is executed (which looks for macros that
5110 # take arguments), then branch to the quote section. Otherwise,
5111 # look for a macro that doesn't take arguments.
5121 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5123 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5127 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5140 DEFS
=`sed -n "$ac_script" confdefs.h`
5146 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5147 # 1. Remove the extension, and $U if already installed.
5148 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5149 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5150 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5151 # will be set to the directory where LIBOBJS objects are built.
5152 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5153 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5157 LTLIBOBJS
=$ac_ltlibobjs
5161 : "${CONFIG_STATUS=./config.status}"
5163 ac_clean_files_save
=$ac_clean_files
5164 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5166 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5168 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5170 # Generated by $as_me.
5171 # Run this file to recreate the current configuration.
5172 # Compiler output produced by configure, useful for debugging
5173 # configure, is in config.log if it exists.
5179 SHELL=\${CONFIG_SHELL-$SHELL}
5182 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5183 ## -------------------- ##
5184 ## M4sh Initialization. ##
5185 ## -------------------- ##
5187 # Be more Bourne compatible
5188 DUALCASE
=1; export DUALCASE
# for MKS sh
5189 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5192 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5193 # is contrary to our usage. Disable this feature.
5194 alias -g '${1+"$@"}'='"$@"'
5195 setopt NO_GLOB_SUBST
5197 case `(set -o) 2>/dev/null` in #(
5209 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5210 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5211 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5212 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5213 # Prefer a ksh shell builtin over an external printf program on Solaris,
5214 # but without wasting forks for bash or zsh.
5215 if test -z "$BASH_VERSION$ZSH_VERSION" \
5216 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5217 as_echo='print
-r --'
5218 as_echo_n='print
-rn --'
5219 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5220 as_echo='printf %s
\n'
5221 as_echo_n='printf %s
'
5223 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5224 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5225 as_echo_n='/usr
/ucb
/echo -n'
5227 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5228 as_echo_n_body='eval
5232 expr "X$arg" : "X\\(.*\\)$as_nl";
5233 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5235 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5237 export as_echo_n_body
5238 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5241 as_echo='sh
-c $as_echo_body as_echo
'
5244 # The user is always right.
5245 if test "${PATH_SEPARATOR+set}" != set; then
5247 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5248 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5255 # We need space, tab and new line, in precisely that order. Quoting is
5256 # there to prevent editors from complaining about space-tab.
5257 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5258 # splitting by setting IFS to empty value.)
5261 # Find who we are. Look in the path if we contain no directory separator.
5264 *[\\/]* ) as_myself=$0 ;;
5265 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5269 test -z "$as_dir" && as_dir=.
5270 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5276 # We did not find ourselves, most probably we were run as `sh COMMAND'
5277 # in which case we are not to be found in the path.
5278 if test "x$as_myself" = x
; then
5281 if test ! -f "$as_myself"; then
5282 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5286 # Unset variables that we do not need and which cause bugs (e.g. in
5287 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5288 # suppresses any "Segmentation fault" message there. '((' could
5289 # trigger a bug in pdksh 5.2.14.
5290 for as_var
in BASH_ENV ENV MAIL MAILPATH
5291 do eval test x\
${$as_var+set} = xset \
5292 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5305 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5308 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5309 # ----------------------------------------
5310 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5311 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5312 # script with STATUS, using 1 if that was 0.
5315 as_status
=$1; test $as_status -eq 0 && as_status
=1
5317 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5318 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5320 $as_echo "$as_me: error: $2" >&2
5321 as_fn_exit
$as_status
5325 # as_fn_set_status STATUS
5326 # -----------------------
5327 # Set $? to STATUS, without forking.
5331 } # as_fn_set_status
5335 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5345 # Portably unset VAR.
5348 { eval $1=; unset $1;}
5350 as_unset
=as_fn_unset
5351 # as_fn_append VAR VALUE
5352 # ----------------------
5353 # Append the text in VALUE to the end of the definition contained in VAR. Take
5354 # advantage of any shell optimizations that allow amortized linear growth over
5355 # repeated appends, instead of the typical quadratic growth present in naive
5357 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5358 eval 'as_fn_append ()
5369 # as_fn_arith ARG...
5370 # ------------------
5371 # Perform arithmetic evaluation on the ARGs, and store the result in the
5372 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5373 # must be portable across $(()) and expr.
5374 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5375 eval 'as_fn_arith ()
5382 as_val
=`expr "$@" || test $? -eq 1`
5387 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5388 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5394 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5395 as_basename
=basename
5400 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5406 as_me
=`$as_basename -- "$0" ||
5407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5408 X"$0" : 'X\(//\)$' \| \
5409 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5411 sed '/^.*\/\([^/][^/]*\)\/*$/{
5425 # Avoid depending upon Character Ranges.
5426 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5427 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5428 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5429 as_cr_digits
='0123456789'
5430 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5432 ECHO_C
= ECHO_N
= ECHO_T
=
5433 case `echo -n x` in #(((((
5435 case `echo 'xy\c'` in
5436 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5438 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5445 rm -f conf$$ conf$$.exe conf$$.
file
5446 if test -d conf$$.dir
; then
5447 rm -f conf$$.dir
/conf$$.
file
5450 mkdir conf$$.dir
2>/dev
/null
5452 if (echo >conf$$.
file) 2>/dev
/null
; then
5453 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5455 # ... but there are two gotchas:
5456 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5457 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5458 # In both cases, we have to default to `cp -pR'.
5459 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5461 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5469 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5470 rmdir conf$$.dir
2>/dev
/null
5475 # Create "$as_dir" as a directory, including parents if necessary.
5480 -*) as_dir
=.
/$as_dir;;
5482 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5486 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5487 *) as_qdir
=$as_dir;;
5489 as_dirs
="'$as_qdir' $as_dirs"
5490 as_dir
=`$as_dirname -- "$as_dir" ||
5491 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5492 X"$as_dir" : 'X\(//\)[^/]' \| \
5493 X"$as_dir" : 'X\(//\)$' \| \
5494 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5495 $as_echo X"$as_dir" |
5496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5513 test -d "$as_dir" && break
5515 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5516 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
5520 if mkdir
-p .
2>/dev
/null
; then
5521 as_mkdir_p
='mkdir -p "$as_dir"'
5523 test -d .
/-p && rmdir .
/-p
5528 # as_fn_executable_p FILE
5529 # -----------------------
5530 # Test if FILE is an executable regular file.
5531 as_fn_executable_p
()
5533 test -f "$1" && test -x "$1"
5534 } # as_fn_executable_p
5536 as_executable_p
=as_fn_executable_p
5538 # Sed expression to map a string onto a valid CPP name.
5539 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5541 # Sed expression to map a string onto a valid variable name.
5542 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5546 ## ----------------------------------- ##
5547 ## Main body of $CONFIG_STATUS script. ##
5548 ## ----------------------------------- ##
5550 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5553 # Save the log message, to keep $0 and so on meaningful, and to
5554 # report actual input values of CONFIG_FILES etc. instead of their
5555 # values after options handling.
5557 This file was extended by $as_me, which was
5558 generated by GNU Autoconf 2.69. Invocation command line was
5560 CONFIG_FILES = $CONFIG_FILES
5561 CONFIG_HEADERS = $CONFIG_HEADERS
5562 CONFIG_LINKS = $CONFIG_LINKS
5563 CONFIG_COMMANDS = $CONFIG_COMMANDS
5566 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5571 case $ac_config_files in *"
5572 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5577 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5578 # Files that config.status was made for.
5579 config_files="$ac_config_files"
5583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5585 \`$as_me' instantiates files and other configuration actions
5586 from templates according to the current configuration. Unless the files
5587 and actions are specified as TAGs, all are instantiated by default.
5589 Usage: $0 [OPTION]... [TAG]...
5591 -h, --help print this help, then exit
5592 -V, --version print version number and configuration settings, then exit
5593 --config print configuration, then exit
5594 -q, --quiet, --silent
5595 do not print progress messages
5596 -d, --debug don't remove temporary files
5597 --recheck update $as_me by reconfiguring in the same conditions
5598 --file=FILE[:TEMPLATE]
5599 instantiate the configuration file FILE
5601 Configuration files:
5604 Report bugs to the package provider."
5607 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5608 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5611 configured by $0, generated by GNU Autoconf 2.69,
5612 with options \\"\$ac_cs_config\\"
5614 Copyright (C) 2012 Free Software Foundation, Inc.
5615 This config.status script is free software; the Free Software Foundation
5616 gives unlimited permission to copy, distribute and modify it."
5620 test -n "\$AWK" || AWK=awk
5623 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5624 # The default lists apply if the user does not specify any file.
5630 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5631 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5635 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5647 # Handling of the options.
5648 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5650 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5651 $as_echo "$ac_cs_version"; exit ;;
5652 --config |
--confi |
--conf |
--con |
--co |
--c )
5653 $as_echo "$ac_cs_config"; exit ;;
5654 --debug |
--debu |
--deb |
--de |
--d |
-d )
5656 --file |
--fil |
--fi |
--f )
5659 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5660 '') as_fn_error $?
"missing file argument" ;;
5662 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5663 ac_need_defaults
=false
;;
5664 --he |
--h |
--help |
--hel |
-h )
5665 $as_echo "$ac_cs_usage"; exit ;;
5666 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5667 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5671 -*) as_fn_error $?
"unrecognized option: \`$1'
5672 Try \`$0 --help' for more information." ;;
5674 *) as_fn_append ac_config_targets
" $1"
5675 ac_need_defaults
=false
;;
5681 ac_configure_extra_args
=
5683 if $ac_cs_silent; then
5685 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5689 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5690 if \$ac_cs_recheck; then
5691 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5693 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5694 CONFIG_SHELL='$SHELL'
5700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5704 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5705 ## Running $as_me. ##
5711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5716 # Handling of arguments.
5717 for ac_config_target
in $ac_config_targets
5719 case $ac_config_target in
5720 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
5722 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5727 # If the user did not use the arguments to specify the items to instantiate,
5728 # then the envvar interface is used. Set only those that are not.
5729 # We use the long form for the default assignment because of an extremely
5730 # bizarre bug on SunOS 4.1.3.
5731 if $ac_need_defaults; then
5732 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5735 # Have a temporary directory for convenience. Make it in the build tree
5736 # simply because there is no reason against having it here, and in addition,
5737 # creating and moving files from /tmp can sometimes cause problems.
5738 # Hook for its removal unless debugging.
5739 # Note that there is a small window in which the directory will not be cleaned:
5740 # after its creation but before its name has been assigned to `$tmp'.
5744 trap 'exit_status=$?
5746 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5748 trap 'as_fn_exit 1' 1 2 13 15
5750 # Create a (secure) tmp directory for tmp files.
5753 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5757 tmp
=.
/conf$$
-$RANDOM
5758 (umask 077 && mkdir
"$tmp")
5759 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5762 # Set up the scripts for CONFIG_FILES section.
5763 # No need to generate them if there are no CONFIG_FILES.
5764 # This happens for instance with `./config.status config.h'.
5765 if test -n "$CONFIG_FILES"; then
5768 ac_cr
=`echo X | tr X '\015'`
5769 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5770 # But we know of no other shell where ac_cr would be empty at this
5771 # point, so we can use a bashism as a fallback.
5772 if test "x$ac_cr" = x
; then
5773 eval ac_cr
=\$
\'\\r
\'
5775 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5776 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5782 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5787 echo "cat >conf$$subs.awk <<_ACEOF" &&
5788 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5791 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5792 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5794 for ac_last_try in false false false false false :; do
5795 . ./conf$$subs.sh ||
5796 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5798 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5799 if test $ac_delim_n = $ac_delim_num; then
5801 elif $ac_last_try; then
5802 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5804 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5810 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
5814 s/^/S["/; s
/!.
*/"]=/
5824 s/\(.\{148\}\)..*/\1/
5826 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5831 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5838 s/\(.\{148\}\)..*/\1/
5840 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5844 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5849 ' <conf$$subs.awk | sed '
5854 ' >>$CONFIG_STATUS || ac_write_fail=1
5855 rm -f conf$$subs.awk
5856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5858 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5859 for (key in S) S_is_set[key] = 1
5865 nfields = split(line, field, "@
")
5867 len = length(field[1])
5868 for (i = 2; i < nfields; i++) {
5870 keylen = length(key)
5871 if (S_is_set[key]) {
5873 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5874 len += length(value) + length(field[++i])
5885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5886 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5887 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5890 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5891 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5894 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5895 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5896 # trailing colons and then remove the whole line if VPATH becomes empty
5897 # (actually we leave an empty line to preserve line numbers).
5898 if test "x
$srcdir" = x.; then
5899 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5918 fi # test -n "$CONFIG_FILES"
5921 eval set X " :F
$CONFIG_FILES "
5926 :[FHLC]) ac_mode=$ac_tag; continue;;
5928 case $ac_mode$ac_tag in
5930 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
5931 :[FH]-) ac_tag=-:-;;
5932 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5949 -) ac_f="$ac_tmp/stdin";;
5950 *) # Look for the file first in the build tree, then in the source tree
5951 # (if the path is not absolute). The absolute path cannot be DOS-style,
5952 # because $ac_f cannot contain `:'.
5956 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5958 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5960 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
5961 as_fn_append ac_file_inputs " '$ac_f'"
5964 # Let's still pretend it is `configure' which instantiates (i.e., don't
5965 # use $as_me), people would be surprised to read:
5966 # /* config.h. Generated by config.status. */
5967 configure_input='Generated from '`
5968 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5970 if test x"$ac_file" != x-; then
5971 configure_input="$ac_file.
$configure_input"
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
5973 $as_echo "$as_me: creating
$ac_file" >&6;}
5975 # Neutralize special characters interpreted by sed in replacement strings.
5976 case $configure_input in #(
5977 *\&* | *\|* | *\\* )
5978 ac_sed_conf_input=`$as_echo "$configure_input" |
5979 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5980 *) ac_sed_conf_input=$configure_input;;
5984 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
5985 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
5990 ac_dir=`$as_dirname -- "$ac_file" ||
5991 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5992 X"$ac_file" : 'X\(//\)[^/]' \| \
5993 X"$ac_file" : 'X\(//\)$' \| \
5994 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5995 $as_echo X"$ac_file" |
5996 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6013 as_dir="$ac_dir"; as_fn_mkdir_p
6017 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6019 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6020 # A "..
" for each directory in $ac_dir_suffix.
6021 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6022 case $ac_top_builddir_sub in
6023 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6024 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6027 ac_abs_top_builddir=$ac_pwd
6028 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6029 # for backward compatibility:
6030 ac_top_builddir=$ac_top_build_prefix
6033 .) # We are building in place.
6035 ac_top_srcdir=$ac_top_builddir_sub
6036 ac_abs_top_srcdir=$ac_pwd ;;
6037 [\\/]* | ?:[\\/]* ) # Absolute name.
6038 ac_srcdir=$srcdir$ac_dir_suffix;
6039 ac_top_srcdir=$srcdir
6040 ac_abs_top_srcdir=$srcdir ;;
6042 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6043 ac_top_srcdir=$ac_top_build_prefix$srcdir
6044 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6046 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6058 # If the template does not know about datarootdir, expand it.
6059 # FIXME: This hack should be removed a few years after 2.60.
6060 ac_datarootdir_hack=; ac_datarootdir_seen=
6071 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
6072 *datarootdir*) ac_datarootdir_seen=yes;;
6073 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
6075 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
6077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6078 ac_datarootdir_hack='
6079 s&@datadir@&$datadir&g
6080 s&@docdir@&$docdir&g
6081 s&@infodir@&$infodir&g
6082 s&@localedir@&$localedir&g
6083 s&@mandir@&$mandir&g
6084 s&\\\${datarootdir}&$datarootdir&g' ;;
6088 # Neutralize VPATH when `$srcdir' = `.'.
6089 # Shell code in configure.ac might set extrasub.
6090 # FIXME: do we really want to maintain this feature?
6091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6092 ac_sed_extra="$ac_vpsub
6095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6097 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6098 s|@configure_input@|
$ac_sed_conf_input|
;t t
6099 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6100 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6101 s
&@srcdir@
&$ac_srcdir&;t t
6102 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6103 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6104 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6105 s
&@builddir@
&$ac_builddir&;t t
6106 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6107 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6108 $ac_datarootdir_hack
6110 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6111 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6113 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6114 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6115 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6116 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6118 which seems to be undefined. Please make sure it is defined" >&5
6119 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6120 which seems to be undefined. Please make sure it is defined" >&2;}
6122 rm -f "$ac_tmp/stdin"
6124 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6125 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6127 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6139 ac_clean_files=$ac_clean_files_save
6141 test $ac_write_fail = 0 ||
6142 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6145 # configure is writing to config.log, and then calls config.status.
6146 # config.status does its own redirection, appending to config.log.
6147 # Unfortunately, on DOS this fails, as config.log is still kept open
6148 # by configure, so config.status won't be able to
write to it
; its
6149 # output is simply discarded. So we exec the FD to /dev/null,
6150 # effectively closing config.log, so it can be properly (re)opened and
6151 # appended to by config.status. When coming back to configure, we
6152 # need to make the FD available again.
6153 if test "$no_create" != yes; then
6155 ac_config_status_args
=
6156 test "$silent" = yes &&
6157 ac_config_status_args
="$ac_config_status_args --quiet"
6159 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6161 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6162 # would make configure fail if this is the last instruction.
6163 $ac_cs_success || as_fn_exit
1
6165 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6167 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}