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_format_truncation
588 aros_warnflags_format_truncation
589 aros_nowarnflags_stringop_overflow
590 aros_warnflags_stringop_overflow
591 aros_nowarnflags_empty_body
592 aros_warnflags_empty_body
593 aros_nowarnflags_tautological_compare
594 aros_warnflags_tautological_compare
595 aros_nowarnflags_lto_type_mismatch
596 aros_warnflags_lto_type_mismatch
597 aros_nowarnflags_format_zero_length
598 aros_warnflags_format_zero_length
599 aros_nowarnflags_return_type
600 aros_warnflags_return_type
601 aros_nowarnflags_sizeof_pointer_memaccess
602 aros_warnflags_sizeof_pointer_memaccess
603 aros_nowarnflags_volatile_register_var
604 aros_warnflags_volatile_register_var
605 aros_nowarnflags_narrowing
606 aros_warnflags_narrowing
607 aros_nowarnflags_conversion_null
608 aros_warnflags_conversion_null
609 aros_nowarnflags_missing_braces
610 aros_warnflags_missing_braces
611 aros_nowarnflags_unused_local_typedefs
612 aros_warnflags_unused_local_typedefs
613 aros_nowarnflags_overflow
614 aros_warnflags_overflow
615 aros_nowarnflags_attributes
616 aros_warnflags_attributes
617 aros_nowarnflags_sign_compare
618 aros_warnflags_sign_compare
619 aros_nowarnflags_deprecated_declarations
620 aros_warnflags_deprecated_declarations
621 aros_nowarnflags_frame_address
622 aros_warnflags_frame_address
623 aros_nowarnflags_shift_overflow
624 aros_warnflags_shift_overflow
625 aros_nowarnflags_pointer_sign
626 aros_warnflags_pointer_sign
627 aros_nowarnflags_logical_not_parentheses
628 aros_warnflags_logical_not_parentheses
629 aros_nowarnflags_bool_compare
630 aros_warnflags_bool_compare
631 aros_nowarnflags_incompatible_pointer_types
632 aros_warnflags_incompatible_pointer_types
633 aros_nowarnflags_comment
634 aros_warnflags_comment
635 aros_nowarnflags_write_strings
636 aros_warnflags_write_strings
637 aros_nowarnflags_unused_const_variable
638 aros_warnflags_unused_const_variable
639 aros_nowarnflags_pointer_to_int_cast
640 aros_warnflags_pointer_to_int_cast
641 aros_nowarnflags_int_to_pointer_cast
642 aros_warnflags_int_to_pointer_cast
643 aros_nowarnflags_int_conversion
644 aros_warnflags_int_conversion
645 aros_nowarnflags_discarded_array_qualifiers
646 aros_warnflags_discarded_array_qualifiers
647 aros_nowarnflags_unknown_pragmas
648 aros_warnflags_unknown_pragmas
649 aros_nowarnflags_sequence_point
650 aros_warnflags_sequence_point
651 aros_nowarnflags_discarded_qualifiers
652 aros_warnflags_discarded_qualifiers
653 aros_nowarnflags_switch
654 aros_warnflags_switch
657 aros_nowarnflags_aggressive_loop_optimizations
658 aros_warnflags_aggressive_loop_optimizations
659 aros_nowarnflags_implicit_int
660 aros_warnflags_implicit_int
661 aros_nowarnflags_format_contains_nul
662 aros_warnflags_format_contains_nul
663 aros_nowarnflags_endif_labels
664 aros_warnflags_endif_labels
665 aros_nowarnflags_char_subscripts
666 aros_warnflags_char_subscripts
667 aros_nowarnflags_parentheses
668 aros_warnflags_parentheses
669 aros_nowarnflags_format
670 aros_warnflags_format
671 aros_nowarnflags_implicit_function_declaration
672 aros_warnflags_implicit_function_declaration
673 aros_nowarnflags_maybe_uninitialized
674 aros_warnflags_maybe_uninitialized
675 aros_nowarnflags_uninitialized
676 aros_warnflags_uninitialized
677 aros_nowarnflags_unused_parameter
678 aros_warnflags_unused_parameter
679 aros_nowarnflags_unused_function
680 aros_warnflags_unused_function
681 aros_nowarnflags_unused_variable
682 aros_warnflags_unused_variable
683 aros_nowarnflags_unused_value
684 aros_warnflags_unused_value
685 aros_nowarnflags_unused_label
686 aros_warnflags_unused_label
687 aros_nowarnflags_unused
688 aros_warnflags_unused
689 aros_nowarnflags_nonnull_compare
690 aros_warnflags_nonnull_compare
691 aros_nowarnflags_misleading_indentation
692 aros_warnflags_misleading_indentation
693 aros_nowarnflags_format_security
694 aros_warnflags_format_security
695 aros_nowarnflags_strict_overflow
696 aros_warnflags_strict_overflow
697 aros_nowarnflags_strict_prototypes
698 aros_warnflags_strict_prototypes
699 aros_nowarnflags_enum_compare
700 aros_warnflags_enum_compare
701 aros_nowarnflags_array_bounds
702 aros_warnflags_array_bounds
703 aros_nowarnflags_strict_aliasing
704 aros_warnflags_strict_aliasing
705 aros_nowarnflags_unused_but_set_variable
706 aros_warnflags_unused_but_set_variable
707 aros_nowarnflags_unknown_warning_option
708 aros_warnflags_unknown_warning_option
709 aros_nowarnflags_unused_command_line_argument
710 aros_warnflags_unused_command_line_argument
711 aros_nowarnflags_error
713 aros_cflags_no_red_zone
714 aros_cflags_iquote_end
718 aros_cflags_noinlinesmallfunctions
719 aros_cflags_inlinesmallfunctions
720 aros_cflags_nostrictaliasing
721 aros_cflags_strictaliasing
722 aros_cflags_unroll_loops
723 aros_cflags_peel_loops
724 aros_cflags_loop_strip_mine
725 aros_cflags_loop_interchange
726 aros_cflags_loop_block
727 aros_cflags_whole_program
730 aros_cflags_no_builtin_floor
731 aros_cflags_fast_math
732 aros_cflags_permissive
733 aros_cflags_exceptions
768 program_transform_name
781 enable_option_checking
784 ac_precious_vars
='build_alias
794 # Initialize some variables set by options.
796 ac_init_version
=false
797 ac_unrecognized_opts
=
799 # The variables have the same names as the options, with
800 # dashes changed to underlines.
808 program_transform_name
=s
,x
,x
,
816 # Installation directory options.
817 # These are left unexpanded so users can "make install exec_prefix=/foo"
818 # and all the variables that are supposed to be based on exec_prefix
819 # by default will actually change.
820 # Use braces instead of parens because sh, perl, etc. also accept them.
821 # (The list follows the same order as the GNU Coding Standards.)
822 bindir
='${exec_prefix}/bin'
823 sbindir
='${exec_prefix}/sbin'
824 libexecdir
='${exec_prefix}/libexec'
825 datarootdir
='${prefix}/share'
826 datadir
='${datarootdir}'
827 sysconfdir
='${prefix}/etc'
828 sharedstatedir
='${prefix}/com'
829 localstatedir
='${prefix}/var'
830 includedir
='${prefix}/include'
831 oldincludedir
='/usr/include'
832 docdir
='${datarootdir}/doc/${PACKAGE}'
833 infodir
='${datarootdir}/info'
838 libdir
='${exec_prefix}/lib'
839 localedir
='${datarootdir}/locale'
840 mandir
='${datarootdir}/man'
846 # If the previous option needs an argument, assign it.
847 if test -n "$ac_prev"; then
848 eval $ac_prev=\
$ac_option
854 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
859 # Accept the important Cygnus configure options, so we can diagnose typos.
861 case $ac_dashdash$ac_option in
865 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
867 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
870 -build |
--build |
--buil |
--bui |
--bu)
871 ac_prev
=build_alias
;;
872 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
873 build_alias
=$ac_optarg ;;
875 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
876 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
877 ac_prev
=cache_file
;;
878 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
879 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
880 cache_file
=$ac_optarg ;;
883 cache_file
=config.cache
;;
885 -datadir |
--datadir |
--datadi |
--datad)
887 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
888 datadir
=$ac_optarg ;;
890 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
891 |
--dataroo |
--dataro |
--datar)
892 ac_prev
=datarootdir
;;
893 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
894 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
895 datarootdir
=$ac_optarg ;;
897 -disable-* |
--disable-*)
898 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
899 # Reject names that are not valid shell variable names.
900 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
901 as_fn_error $?
"invalid feature name: $ac_useropt"
902 ac_useropt_orig
=$ac_useropt
903 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
904 case $ac_user_opts in
908 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
909 ac_unrecognized_sep
=', ';;
911 eval enable_
$ac_useropt=no
;;
913 -docdir |
--docdir |
--docdi |
--doc |
--do)
915 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
918 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
920 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
923 -enable-* |
--enable-*)
924 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
925 # Reject names that are not valid shell variable names.
926 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
927 as_fn_error $?
"invalid feature name: $ac_useropt"
928 ac_useropt_orig
=$ac_useropt
929 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
930 case $ac_user_opts in
934 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
935 ac_unrecognized_sep
=', ';;
937 eval enable_
$ac_useropt=\
$ac_optarg ;;
939 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
940 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
941 |
--exec |
--exe |
--ex)
942 ac_prev
=exec_prefix
;;
943 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
944 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
945 |
--exec=* |
--exe=* |
--ex=*)
946 exec_prefix
=$ac_optarg ;;
948 -gas |
--gas |
--ga |
--g)
949 # Obsolete; use --with-gas.
952 -help |
--help |
--hel |
--he |
-h)
954 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
955 ac_init_help
=recursive
;;
956 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
957 ac_init_help
=short
;;
959 -host |
--host |
--hos |
--ho)
960 ac_prev
=host_alias
;;
961 -host=* |
--host=* |
--hos=* |
--ho=*)
962 host_alias
=$ac_optarg ;;
964 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
966 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
968 htmldir
=$ac_optarg ;;
970 -includedir |
--includedir |
--includedi |
--included |
--include \
971 |
--includ |
--inclu |
--incl |
--inc)
972 ac_prev
=includedir
;;
973 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
974 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
975 includedir
=$ac_optarg ;;
977 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
979 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
980 infodir
=$ac_optarg ;;
982 -libdir |
--libdir |
--libdi |
--libd)
984 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
987 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
988 |
--libexe |
--libex |
--libe)
989 ac_prev
=libexecdir
;;
990 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
991 |
--libexe=* |
--libex=* |
--libe=*)
992 libexecdir
=$ac_optarg ;;
994 -localedir |
--localedir |
--localedi |
--localed |
--locale)
996 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
997 localedir
=$ac_optarg ;;
999 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1000 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1001 ac_prev
=localstatedir
;;
1002 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1003 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1004 localstatedir
=$ac_optarg ;;
1006 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1008 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1009 mandir
=$ac_optarg ;;
1011 -nfp |
--nfp |
--nf)
1012 # Obsolete; use --without-fp.
1015 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1016 |
--no-cr |
--no-c |
-n)
1019 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1020 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1023 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1024 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1025 |
--oldin |
--oldi |
--old |
--ol |
--o)
1026 ac_prev
=oldincludedir
;;
1027 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1028 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1029 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1030 oldincludedir
=$ac_optarg ;;
1032 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1034 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1035 prefix
=$ac_optarg ;;
1037 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1038 |
--program-pre |
--program-pr |
--program-p)
1039 ac_prev
=program_prefix
;;
1040 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1041 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1042 program_prefix
=$ac_optarg ;;
1044 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1045 |
--program-suf |
--program-su |
--program-s)
1046 ac_prev
=program_suffix
;;
1047 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1048 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1049 program_suffix
=$ac_optarg ;;
1051 -program-transform-name |
--program-transform-name \
1052 |
--program-transform-nam |
--program-transform-na \
1053 |
--program-transform-n |
--program-transform- \
1054 |
--program-transform |
--program-transfor \
1055 |
--program-transfo |
--program-transf \
1056 |
--program-trans |
--program-tran \
1057 |
--progr-tra |
--program-tr |
--program-t)
1058 ac_prev
=program_transform_name
;;
1059 -program-transform-name=* |
--program-transform-name=* \
1060 |
--program-transform-nam=* |
--program-transform-na=* \
1061 |
--program-transform-n=* |
--program-transform-=* \
1062 |
--program-transform=* |
--program-transfor=* \
1063 |
--program-transfo=* |
--program-transf=* \
1064 |
--program-trans=* |
--program-tran=* \
1065 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1066 program_transform_name
=$ac_optarg ;;
1068 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1070 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1071 pdfdir
=$ac_optarg ;;
1073 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1075 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1078 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1079 |
-silent |
--silent |
--silen |
--sile |
--sil)
1082 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1084 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1086 sbindir
=$ac_optarg ;;
1088 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1089 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1090 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1092 ac_prev
=sharedstatedir
;;
1093 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1094 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1095 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1097 sharedstatedir
=$ac_optarg ;;
1099 -site |
--site |
--sit)
1101 -site=* |
--site=* |
--sit=*)
1104 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1106 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1107 srcdir
=$ac_optarg ;;
1109 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1110 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1111 ac_prev
=sysconfdir
;;
1112 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1113 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1114 sysconfdir
=$ac_optarg ;;
1116 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1117 ac_prev
=target_alias
;;
1118 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1119 target_alias
=$ac_optarg ;;
1121 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1124 -version |
--version |
--versio |
--versi |
--vers |
-V)
1125 ac_init_version
=: ;;
1128 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1129 # Reject names that are not valid shell variable names.
1130 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1131 as_fn_error $?
"invalid package name: $ac_useropt"
1132 ac_useropt_orig
=$ac_useropt
1133 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1134 case $ac_user_opts in
1138 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1139 ac_unrecognized_sep
=', ';;
1141 eval with_
$ac_useropt=\
$ac_optarg ;;
1143 -without-* |
--without-*)
1144 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1145 # Reject names that are not valid shell variable names.
1146 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1147 as_fn_error $?
"invalid package name: $ac_useropt"
1148 ac_useropt_orig
=$ac_useropt
1149 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1150 case $ac_user_opts in
1154 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1155 ac_unrecognized_sep
=', ';;
1157 eval with_
$ac_useropt=no
;;
1160 # Obsolete; use --with-x.
1163 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1164 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1165 ac_prev
=x_includes
;;
1166 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1167 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1168 x_includes
=$ac_optarg ;;
1170 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1171 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1172 ac_prev
=x_libraries
;;
1173 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1174 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1175 x_libraries
=$ac_optarg ;;
1177 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1178 Try \`$0 --help' for more information"
1182 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1183 # Reject names that are not valid shell variable names.
1184 case $ac_envvar in #(
1185 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1186 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1188 eval $ac_envvar=\
$ac_optarg
1189 export $ac_envvar ;;
1192 # FIXME: should be removed in autoconf 3.0.
1193 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1194 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1195 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1196 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1202 if test -n "$ac_prev"; then
1203 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1204 as_fn_error $?
"missing argument to $ac_option"
1207 if test -n "$ac_unrecognized_opts"; then
1208 case $enable_option_checking in
1210 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1211 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1215 # Check all directory arguments for consistency.
1216 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1217 datadir sysconfdir sharedstatedir localstatedir includedir \
1218 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1219 libdir localedir mandir
1221 eval ac_val
=\$
$ac_var
1222 # Remove trailing slashes.
1225 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1226 eval $ac_var=\
$ac_val;;
1228 # Be sure to have absolute directory names.
1230 [\\/$
]* | ?
:[\\/]* ) continue;;
1231 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1233 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1236 # There might be people who depend on the old broken behavior: `$host'
1237 # used to hold the argument of --host etc.
1238 # FIXME: To remove some day.
1241 target
=$target_alias
1243 # FIXME: To remove some day.
1244 if test "x$host_alias" != x
; then
1245 if test "x$build_alias" = x
; then
1246 cross_compiling
=maybe
1247 elif test "x$build_alias" != "x$host_alias"; then
1253 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1255 test "$silent" = yes && exec 6>/dev
/null
1258 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1259 ac_ls_di
=`ls -di .` &&
1260 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1261 as_fn_error $?
"working directory cannot be determined"
1262 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1263 as_fn_error $?
"pwd does not report name of working directory"
1266 # Find the source files, if location was not specified.
1267 if test -z "$srcdir"; then
1268 ac_srcdir_defaulted
=yes
1269 # Try the directory containing this script, then the parent directory.
1270 ac_confdir
=`$as_dirname -- "$as_myself" ||
1271 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1272 X"$as_myself" : 'X\(//\)[^/]' \| \
1273 X"$as_myself" : 'X\(//\)$' \| \
1274 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1275 $as_echo X"$as_myself" |
1276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1294 if test ! -r "$srcdir/$ac_unique_file"; then
1298 ac_srcdir_defaulted
=no
1300 if test ! -r "$srcdir/$ac_unique_file"; then
1301 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1302 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1304 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1306 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1308 # When building in place, set srcdir=.
1309 if test "$ac_abs_confdir" = "$ac_pwd"; then
1312 # Remove unnecessary trailing slashes from srcdir.
1313 # Double slashes in file names in object file debugging info
1314 # mess up M-x gdb in Emacs.
1316 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1318 for ac_var
in $ac_precious_vars; do
1319 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1320 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1321 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1322 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1326 # Report the --help message.
1328 if test "$ac_init_help" = "long"; then
1329 # Omit some internal or obsolete options to make the list less imposing.
1330 # This message is too long to be a string in the A/UX 3.1 sh.
1332 \`configure' configures this package to adapt to many kinds of systems.
1334 Usage: $0 [OPTION]... [VAR=VALUE]...
1336 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1337 VAR=VALUE. See below for descriptions of some of the useful variables.
1339 Defaults for the options are specified in brackets.
1342 -h, --help display this help and exit
1343 --help=short display options specific to this package
1344 --help=recursive display the short help of all the included packages
1345 -V, --version display version information and exit
1346 -q, --quiet, --silent do not print \`checking ...' messages
1347 --cache-file=FILE cache test results in FILE [disabled]
1348 -C, --config-cache alias for \`--cache-file=config.cache'
1349 -n, --no-create do not create output files
1350 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1352 Installation directories:
1353 --prefix=PREFIX install architecture-independent files in PREFIX
1354 [$ac_default_prefix]
1355 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1358 By default, \`make install' will install all the files in
1359 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1360 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1361 for instance \`--prefix=\$HOME'.
1363 For better control, use the options below.
1365 Fine tuning of the installation directories:
1366 --bindir=DIR user executables [EPREFIX/bin]
1367 --sbindir=DIR system admin executables [EPREFIX/sbin]
1368 --libexecdir=DIR program executables [EPREFIX/libexec]
1369 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1370 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1371 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1372 --libdir=DIR object code libraries [EPREFIX/lib]
1373 --includedir=DIR C header files [PREFIX/include]
1374 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1375 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1376 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1377 --infodir=DIR info documentation [DATAROOTDIR/info]
1378 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1379 --mandir=DIR man documentation [DATAROOTDIR/man]
1380 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1381 --htmldir=DIR html documentation [DOCDIR]
1382 --dvidir=DIR dvi documentation [DOCDIR]
1383 --pdfdir=DIR pdf documentation [DOCDIR]
1384 --psdir=DIR ps documentation [DOCDIR]
1391 if test -n "$ac_init_help"; then
1396 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1397 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1398 --with-config-dir=VERSION
1399 Location of generated target config files
1401 Some influential environment variables
:
1402 CC C compiler
command
1403 CFLAGS C compiler flags
1404 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1405 nonstandard directory
<lib dir
>
1406 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1407 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1408 you have headers
in a nonstandard directory
<include dir
>
1410 Use these variables to override the choices made by
`configure' or to help
1411 it to find libraries and programs with nonstandard names/locations.
1413 Report bugs to the package provider.
1418 if test "$ac_init_help" = "recursive"; then
1419 # If there are subdirs, report their specific --help.
1420 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1421 test -d "$ac_dir" ||
1422 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1427 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1429 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1430 # A ".." for each directory in $ac_dir_suffix.
1431 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1432 case $ac_top_builddir_sub in
1433 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1434 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1437 ac_abs_top_builddir=$ac_pwd
1438 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1439 # for backward compatibility:
1440 ac_top_builddir=$ac_top_build_prefix
1443 .) # We are building in place.
1445 ac_top_srcdir=$ac_top_builddir_sub
1446 ac_abs_top_srcdir=$ac_pwd ;;
1447 [\\/]* | ?:[\\/]* ) # Absolute name.
1448 ac_srcdir=$srcdir$ac_dir_suffix;
1449 ac_top_srcdir=$srcdir
1450 ac_abs_top_srcdir=$srcdir ;;
1452 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1453 ac_top_srcdir=$ac_top_build_prefix$srcdir
1454 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1456 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1458 cd "$ac_dir" || { ac_status=$?; continue; }
1459 # Check for guested configure.
1460 if test -f "$ac_srcdir/configure.gnu"; then
1462 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1463 elif test -f "$ac_srcdir/configure"; then
1465 $SHELL "$ac_srcdir/configure" --help=recursive
1467 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1469 cd "$ac_pwd" || { ac_status=$?; break; }
1473 test -n "$ac_init_help" && exit $ac_status
1474 if $ac_init_version; then
1477 generated by GNU Autoconf 2.69
1479 Copyright (C) 2012 Free Software Foundation, Inc.
1480 This configure script is free software; the Free Software Foundation
1481 gives unlimited permission to copy, distribute and modify it.
1486 ## ------------------------ ##
1487 ## Autoconf initialization. ##
1488 ## ------------------------ ##
1490 # ac_fn_c_try_compile LINENO
1491 # --------------------------
1492 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1493 ac_fn_c_try_compile ()
1495 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1496 rm -f conftest.$ac_objext
1497 if { { ac_try="$ac_compile"
1499 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1500 *) ac_try_echo
=$ac_try;;
1502 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1503 $as_echo "$ac_try_echo"; } >&5
1504 (eval "$ac_compile") 2>conftest.err
1506 if test -s conftest.err
; then
1507 grep -v '^ *+' conftest.err
>conftest.er1
1508 cat conftest.er1
>&5
1509 mv -f conftest.er1 conftest.err
1511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1512 test $ac_status = 0; } && {
1513 test -z "$ac_c_werror_flag" ||
1514 test ! -s conftest.err
1515 } && test -s conftest.
$ac_objext; then :
1518 $as_echo "$as_me: failed program was:" >&5
1519 sed 's/^/| /' conftest.
$ac_ext >&5
1523 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1524 as_fn_set_status
$ac_retval
1526 } # ac_fn_c_try_compile
1527 cat >config.log
<<_ACEOF
1528 This file contains any messages produced by compilers while
1529 running configure, to aid debugging if configure makes a mistake.
1531 It was created by $as_me, which was
1532 generated by GNU Autoconf 2.69. Invocation command line was
1544 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1545 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1546 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1547 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1548 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1550 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1551 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1553 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1554 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1555 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1556 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1557 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1558 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1559 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1567 test -z "$as_dir" && as_dir
=.
1568 $as_echo "PATH: $as_dir"
1584 # Keep a trace of the command line.
1585 # Strip out --no-create and --no-recursion so they do not pile up.
1586 # Strip out --silent because we don't want to record it for future runs.
1587 # Also quote any args containing shell meta-characters.
1588 # Make two passes to allow for proper duplicate-argument suppression.
1592 ac_must_keep_next
=false
1598 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1599 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1600 |
-silent |
--silent |
--silen |
--sile |
--sil)
1603 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1606 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1608 as_fn_append ac_configure_args1
" '$ac_arg'"
1609 if test $ac_must_keep_next = true
; then
1610 ac_must_keep_next
=false
# Got value, back to normal.
1613 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1614 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1615 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1616 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1617 case "$ac_configure_args0 " in
1618 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1621 -* ) ac_must_keep_next
=true
;;
1624 as_fn_append ac_configure_args
" '$ac_arg'"
1629 { ac_configure_args0
=; unset ac_configure_args0
;}
1630 { ac_configure_args1
=; unset ac_configure_args1
;}
1632 # When interrupted or exit'd, cleanup temporary files, and complete
1633 # config.log. We remove comments because anyway the quotes in there
1634 # would cause problems or look ugly.
1635 # WARNING: Use '\'' to represent an apostrophe within the trap.
1636 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1637 trap 'exit_status=$?
1638 # Save into config.log some information that might help in debugging.
1642 $as_echo "## ---------------- ##
1643 ## Cache variables. ##
1644 ## ---------------- ##"
1646 # The following way of writing the cache mishandles newlines in values,
1648 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1649 eval ac_val=\$$ac_var
1653 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1654 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1657 _ | IFS | as_nl) ;; #(
1658 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1659 *) { eval $ac_var=; unset $ac_var;} ;;
1664 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1665 *${as_nl}ac_space=\ *)
1667 "s/'\''/'\''\\\\'\'''\''/g;
1668 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1671 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1678 $as_echo "## ----------------- ##
1679 ## Output variables. ##
1680 ## ----------------- ##"
1682 for ac_var in $ac_subst_vars
1684 eval ac_val=\$$ac_var
1686 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1688 $as_echo "$ac_var='\''$ac_val'\''"
1692 if test -n "$ac_subst_files"; then
1693 $as_echo "## ------------------- ##
1694 ## File substitutions. ##
1695 ## ------------------- ##"
1697 for ac_var
in $ac_subst_files
1699 eval ac_val
=\$
$ac_var
1701 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1703 $as_echo "$ac_var='\''$ac_val'\''"
1708 if test -s confdefs.h; then
1709 $as_echo "## ----------- ##
1716 test "$ac_signal" != 0 &&
1717 $as_echo "$as_me: caught signal $ac_signal"
1718 $as_echo "$as_me: exit $exit_status"
1720 rm -f core *.core core.conftest.* &&
1721 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1724 for ac_signal
in 1 2 13 15; do
1725 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1729 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1730 rm -f -r conftest
* confdefs.h
1732 $as_echo "/* confdefs.h */" > confdefs.h
1734 # Predefined preprocessor variables.
1736 cat >>confdefs.h
<<_ACEOF
1737 #define PACKAGE_NAME "$PACKAGE_NAME"
1740 cat >>confdefs.h
<<_ACEOF
1741 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1744 cat >>confdefs.h
<<_ACEOF
1745 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1748 cat >>confdefs.h
<<_ACEOF
1749 #define PACKAGE_STRING "$PACKAGE_STRING"
1752 cat >>confdefs.h
<<_ACEOF
1753 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1756 cat >>confdefs.h
<<_ACEOF
1757 #define PACKAGE_URL "$PACKAGE_URL"
1761 # Let the site file select an alternate cache file if it wants to.
1762 # Prefer an explicitly selected file to automatically selected ones.
1765 if test -n "$CONFIG_SITE"; then
1766 # We do not want a PATH search for config.site.
1767 case $CONFIG_SITE in #((
1768 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1769 */*) ac_site_file1
=$CONFIG_SITE;;
1770 *) ac_site_file1
=.
/$CONFIG_SITE;;
1772 elif test "x$prefix" != xNONE
; then
1773 ac_site_file1
=$prefix/share
/config.site
1774 ac_site_file2
=$prefix/etc
/config.site
1776 ac_site_file1
=$ac_default_prefix/share
/config.site
1777 ac_site_file2
=$ac_default_prefix/etc
/config.site
1779 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1781 test "x$ac_site_file" = xNONE
&& continue
1782 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1784 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1785 sed 's/^/| /' "$ac_site_file" >&5
1787 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1789 as_fn_error $?
"failed to load site script $ac_site_file
1790 See \`config.log' for more details" "$LINENO" 5; }
1794 if test -r "$cache_file"; then
1795 # Some versions of bash will fail to source /dev/null (special files
1796 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1797 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1799 $as_echo "$as_me: loading cache $cache_file" >&6;}
1801 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1802 *) .
"./$cache_file";;
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1807 $as_echo "$as_me: creating cache $cache_file" >&6;}
1811 # Check that the precious variables saved in the cache have kept the same
1813 ac_cache_corrupted
=false
1814 for ac_var
in $ac_precious_vars; do
1815 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1816 eval ac_new_set
=\
$ac_env_${ac_var}_set
1817 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1818 eval ac_new_val
=\
$ac_env_${ac_var}_value
1819 case $ac_old_set,$ac_new_set in
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1822 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1823 ac_cache_corrupted
=: ;;
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1826 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1827 ac_cache_corrupted
=: ;;
1830 if test "x$ac_old_val" != "x$ac_new_val"; then
1831 # differences in whitespace do not lead to failure.
1832 ac_old_val_w
=`echo x $ac_old_val`
1833 ac_new_val_w
=`echo x $ac_new_val`
1834 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1836 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1837 ac_cache_corrupted
=:
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1840 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1841 eval $ac_var=\
$ac_old_val
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1844 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1846 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1849 # Pass precious variables to config.status.
1850 if test "$ac_new_set" = set; then
1852 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1853 *) ac_arg
=$ac_var=$ac_new_val ;;
1855 case " $ac_configure_args " in
1856 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1857 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1861 if $ac_cache_corrupted; then
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1863 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1865 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1866 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1868 ## -------------------- ##
1869 ## Main body of script. ##
1870 ## -------------------- ##
1873 ac_cpp
='$CPP $CPPFLAGS'
1874 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1875 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1876 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1881 for ac_dir
in ..
/scripts
/autoconf
"$srcdir"/..
/scripts
/autoconf
; do
1882 if test -f "$ac_dir/install-sh"; then
1884 ac_install_sh
="$ac_aux_dir/install-sh -c"
1886 elif test -f "$ac_dir/install.sh"; then
1888 ac_install_sh
="$ac_aux_dir/install.sh -c"
1890 elif test -f "$ac_dir/shtool"; then
1892 ac_install_sh
="$ac_aux_dir/shtool install -c"
1896 if test -z "$ac_aux_dir"; then
1897 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
1900 # These three variables are undocumented and unsupported,
1901 # and are intended to be withdrawn in a future Autoconf release.
1902 # They can cause serious problems if a builder's source tree is in a directory
1903 # whose full name contains unusual characters.
1904 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1905 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1906 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1910 AROS_BUILDDIR
=`${PWDCMD-pwd}`
1911 AROS_BUILDDIR_UNIX
=${PWD}
1913 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1916 NOLINKFLAGS
="-nostdlib -nostartfiles"
1917 LDFLAGS
=$NOLINKFLAGS
1918 # The first step is to find the binaries.
1920 ac_cpp
='$CPP $CPPFLAGS'
1921 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1922 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1923 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1924 if test -n "$ac_tool_prefix"; then
1925 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1926 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1928 $as_echo_n "checking for $ac_word... " >&6; }
1929 if ${ac_cv_prog_CC+:} false
; then :
1930 $as_echo_n "(cached) " >&6
1932 if test -n "$CC"; then
1933 ac_cv_prog_CC
="$CC" # Let the user override the test.
1935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1939 test -z "$as_dir" && as_dir
=.
1940 for ac_exec_ext
in '' $ac_executable_extensions; do
1941 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1942 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1953 if test -n "$CC"; then
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1955 $as_echo "$CC" >&6; }
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1958 $as_echo "no" >&6; }
1963 if test -z "$ac_cv_prog_CC"; then
1965 # Extract the first word of "gcc", so it can be a program name with args.
1966 set dummy gcc
; ac_word
=$2
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1968 $as_echo_n "checking for $ac_word... " >&6; }
1969 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
1970 $as_echo_n "(cached) " >&6
1972 if test -n "$ac_ct_CC"; then
1973 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1979 test -z "$as_dir" && as_dir
=.
1980 for ac_exec_ext
in '' $ac_executable_extensions; do
1981 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1982 ac_cv_prog_ac_ct_CC
="gcc"
1983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1992 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1993 if test -n "$ac_ct_CC"; then
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1995 $as_echo "$ac_ct_CC" >&6; }
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1998 $as_echo "no" >&6; }
2001 if test "x$ac_ct_CC" = x
; then
2004 case $cross_compiling:$ac_tool_warned in
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2008 ac_tool_warned
=yes ;;
2016 if test -z "$CC"; then
2017 if test -n "$ac_tool_prefix"; then
2018 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2019 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2021 $as_echo_n "checking for $ac_word... " >&6; }
2022 if ${ac_cv_prog_CC+:} false
; then :
2023 $as_echo_n "(cached) " >&6
2025 if test -n "$CC"; then
2026 ac_cv_prog_CC
="$CC" # Let the user override the test.
2028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2032 test -z "$as_dir" && as_dir
=.
2033 for ac_exec_ext
in '' $ac_executable_extensions; do
2034 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2035 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2046 if test -n "$CC"; then
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2048 $as_echo "$CC" >&6; }
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2051 $as_echo "no" >&6; }
2057 if test -z "$CC"; then
2058 # Extract the first word of "cc", so it can be a program name with args.
2059 set dummy cc
; ac_word
=$2
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2061 $as_echo_n "checking for $ac_word... " >&6; }
2062 if ${ac_cv_prog_CC+:} false
; then :
2063 $as_echo_n "(cached) " >&6
2065 if test -n "$CC"; then
2066 ac_cv_prog_CC
="$CC" # Let the user override the test.
2069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2073 test -z "$as_dir" && as_dir
=.
2074 for ac_exec_ext
in '' $ac_executable_extensions; do
2075 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2076 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2077 ac_prog_rejected
=yes
2081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2088 if test $ac_prog_rejected = yes; then
2089 # We found a bogon in the path, so make sure we never use it.
2090 set dummy
$ac_cv_prog_CC
2092 if test $# != 0; then
2093 # We chose a different compiler from the bogus one.
2094 # However, it has the same basename, so the bogon will be chosen
2095 # first if we set CC to just the basename; use the full file name.
2097 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2103 if test -n "$CC"; then
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2105 $as_echo "$CC" >&6; }
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2108 $as_echo "no" >&6; }
2113 if test -z "$CC"; then
2114 if test -n "$ac_tool_prefix"; then
2115 for ac_prog
in cl.exe
2117 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2118 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2120 $as_echo_n "checking for $ac_word... " >&6; }
2121 if ${ac_cv_prog_CC+:} false
; then :
2122 $as_echo_n "(cached) " >&6
2124 if test -n "$CC"; then
2125 ac_cv_prog_CC
="$CC" # Let the user override the test.
2127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2131 test -z "$as_dir" && as_dir
=.
2132 for ac_exec_ext
in '' $ac_executable_extensions; do
2133 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2134 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2145 if test -n "$CC"; then
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2147 $as_echo "$CC" >&6; }
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2150 $as_echo "no" >&6; }
2154 test -n "$CC" && break
2157 if test -z "$CC"; then
2159 for ac_prog
in cl.exe
2161 # Extract the first word of "$ac_prog", so it can be a program name with args.
2162 set dummy
$ac_prog; ac_word
=$2
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2164 $as_echo_n "checking for $ac_word... " >&6; }
2165 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2166 $as_echo_n "(cached) " >&6
2168 if test -n "$ac_ct_CC"; then
2169 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2175 test -z "$as_dir" && as_dir
=.
2176 for ac_exec_ext
in '' $ac_executable_extensions; do
2177 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2178 ac_cv_prog_ac_ct_CC
="$ac_prog"
2179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2188 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2189 if test -n "$ac_ct_CC"; then
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2191 $as_echo "$ac_ct_CC" >&6; }
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2194 $as_echo "no" >&6; }
2198 test -n "$ac_ct_CC" && break
2201 if test "x$ac_ct_CC" = x
; then
2204 case $cross_compiling:$ac_tool_warned in
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2208 ac_tool_warned
=yes ;;
2217 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2219 as_fn_error $?
"no acceptable C compiler found in \$PATH
2220 See \`config.log' for more details" "$LINENO" 5; }
2222 # Provide some information about the compiler.
2223 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2226 for ac_option
in --version -v -V -qversion; do
2227 { { ac_try
="$ac_compiler $ac_option >&5"
2229 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2230 *) ac_try_echo=$ac_try;;
2232 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2233 $as_echo "$ac_try_echo"; } >&5
2234 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2236 if test -s conftest.err; then
2238 ... rest of stderr output deleted ...
2239 10q' conftest.err >conftest.er1
2240 cat conftest.er1 >&5
2242 rm -f conftest.er1 conftest.err
2243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2244 test $ac_status = 0; }
2247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2248 /* end confdefs.h. */
2258 ac_clean_files_save=$ac_clean_files
2259 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2260 # Try to create an executable without -o first, disregard a.out.
2261 # It will help us diagnose broken compilers, and finding out an intuition
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2264 $as_echo_n "checking whether the C compiler works... " >&6; }
2265 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2267 # The possible output files:
2268 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2271 for ac_file in $ac_files
2274 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2275 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2280 if { { ac_try="$ac_link_default"
2282 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2283 *) ac_try_echo
=$ac_try;;
2285 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2286 $as_echo "$ac_try_echo"; } >&5
2287 (eval "$ac_link_default") 2>&5
2289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2290 test $ac_status = 0; }; then :
2291 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2292 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2293 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2294 # so that the user can short-circuit this test for compilers unknown to
2296 for ac_file
in $ac_files ''
2298 test -f "$ac_file" ||
continue
2300 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2303 # We found the default executable, but exeext='' is most
2307 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2309 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2311 # We set ac_cv_exeext here because the later test for it is not
2312 # safe: cross compilers may not add the suffix if given an `-o'
2313 # argument, so we may need to know it at that point already.
2314 # Even if this section looks crufty: it has the advantage of
2321 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2326 if test -z "$ac_file"; then :
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2328 $as_echo "no" >&6; }
2329 $as_echo "$as_me: failed program was:" >&5
2330 sed 's/^/| /' conftest.
$ac_ext >&5
2332 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2334 as_fn_error
77 "C compiler cannot create executables
2335 See \`config.log' for more details" "$LINENO" 5; }
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2338 $as_echo "yes" >&6; }
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2341 $as_echo_n "checking for C compiler default output file name... " >&6; }
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2343 $as_echo "$ac_file" >&6; }
2344 ac_exeext
=$ac_cv_exeext
2346 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2347 ac_clean_files
=$ac_clean_files_save
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2349 $as_echo_n "checking for suffix of executables... " >&6; }
2350 if { { ac_try
="$ac_link"
2352 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2353 *) ac_try_echo=$ac_try;;
2355 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2356 $as_echo "$ac_try_echo"; } >&5
2357 (eval "$ac_link") 2>&5
2359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2360 test $ac_status = 0; }; then :
2361 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2362 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2363 # work properly (i.e., refer to `conftest.exe'), while it won't with
2365 for ac_file
in conftest.exe conftest conftest.
*; do
2366 test -f "$ac_file" ||
continue
2368 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2369 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2375 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2377 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2378 See \`config.log' for more details" "$LINENO" 5; }
2380 rm -f conftest conftest
$ac_cv_exeext
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2382 $as_echo "$ac_cv_exeext" >&6; }
2384 rm -f conftest.
$ac_ext
2385 EXEEXT
=$ac_cv_exeext
2387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2388 /* end confdefs.h. */
2393 FILE *f = fopen ("conftest.out", "w");
2394 return ferror (f) || fclose (f) != 0;
2400 ac_clean_files
="$ac_clean_files conftest.out"
2401 # Check that the compiler produces executables we can run. If not, either
2402 # the compiler is broken, or we cross compile.
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2404 $as_echo_n "checking whether we are cross compiling... " >&6; }
2405 if test "$cross_compiling" != yes; then
2406 { { ac_try
="$ac_link"
2408 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2409 *) ac_try_echo=$ac_try;;
2411 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2412 $as_echo "$ac_try_echo"; } >&5
2413 (eval "$ac_link") 2>&5
2415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2416 test $ac_status = 0; }
2417 if { ac_try='./conftest$ac_cv_exeext'
2418 { { case "(($ac_try" in
2419 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2420 *) ac_try_echo
=$ac_try;;
2422 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2423 $as_echo "$ac_try_echo"; } >&5
2424 (eval "$ac_try") 2>&5
2426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2427 test $ac_status = 0; }; }; then
2430 if test "$cross_compiling" = maybe
; then
2433 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2435 as_fn_error $?
"cannot run C compiled programs.
2436 If you meant to cross compile, use \`--host'.
2437 See \`config.log' for more details" "$LINENO" 5; }
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2442 $as_echo "$cross_compiling" >&6; }
2444 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2445 ac_clean_files
=$ac_clean_files_save
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2447 $as_echo_n "checking for suffix of object files... " >&6; }
2448 if ${ac_cv_objext+:} false
; then :
2449 $as_echo_n "(cached) " >&6
2451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2452 /* end confdefs.h. */
2462 rm -f conftest.o conftest.obj
2463 if { { ac_try
="$ac_compile"
2465 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2466 *) ac_try_echo=$ac_try;;
2468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2469 $as_echo "$ac_try_echo"; } >&5
2470 (eval "$ac_compile") 2>&5
2472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2473 test $ac_status = 0; }; then :
2474 for ac_file in conftest.o conftest.obj conftest.*; do
2475 test -f "$ac_file" || continue;
2477 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2478 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2483 $as_echo "$as_me: failed program was:" >&5
2484 sed 's/^/| /' conftest.$ac_ext >&5
2486 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2488 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2489 See \
`config.log' for more details" "$LINENO" 5; }
2491 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2494 $as_echo "$ac_cv_objext" >&6; }
2495 OBJEXT=$ac_cv_objext
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2498 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2499 if ${ac_cv_c_compiler_gnu+:} false; then :
2500 $as_echo_n "(cached) " >&6
2502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2503 /* end confdefs.h. */
2516 if ac_fn_c_try_compile "$LINENO"; then :
2521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2522 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2526 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2527 if test $ac_compiler_gnu = yes; then
2532 ac_test_CFLAGS=${CFLAGS+set}
2533 ac_save_CFLAGS=$CFLAGS
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2535 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2536 if ${ac_cv_prog_cc_g+:} false; then :
2537 $as_echo_n "(cached) " >&6
2539 ac_save_c_werror_flag=$ac_c_werror_flag
2540 ac_c_werror_flag=yes
2543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2544 /* end confdefs.h. */
2554 if ac_fn_c_try_compile "$LINENO"; then :
2558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2559 /* end confdefs.h. */
2569 if ac_fn_c_try_compile "$LINENO"; then :
2572 ac_c_werror_flag=$ac_save_c_werror_flag
2574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2575 /* end confdefs.h. */
2585 if ac_fn_c_try_compile "$LINENO"; then :
2588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2593 ac_c_werror_flag=$ac_save_c_werror_flag
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2596 $as_echo "$ac_cv_prog_cc_g" >&6; }
2597 if test "$ac_test_CFLAGS" = set; then
2598 CFLAGS=$ac_save_CFLAGS
2599 elif test $ac_cv_prog_cc_g = yes; then
2600 if test "$GCC" = yes; then
2606 if test "$GCC" = yes; then
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2613 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2614 if ${ac_cv_prog_cc_c89+:} false; then :
2615 $as_echo_n "(cached) " >&6
2617 ac_cv_prog_cc_c89=no
2619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2620 /* end confdefs.h. */
2624 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2625 struct buf { int x; };
2626 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2627 static char *e (p, i)
2633 static char *f (char * (*g) (char **, int), char **p, ...)
2638 s = g (p, va_arg (v,int));
2643 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2644 function prototypes and stuff, but not '\xHH' hex character constants.
2645 These don't provoke an error unfortunately, instead are silently treated
2646 as 'x'. The following induces an error, until -std is added to get
2647 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2648 array size at least. It's necessary to write '\x00'==0 to get something
2649 that's true only with -std. */
2650 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2652 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2653 inside strings and character constants. */
2655 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2657 int test (int i, double x);
2658 struct s1 {int (*f) (int a);};
2659 struct s2 {int (*f) (double a);};
2660 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2666 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2671 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2672 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2674 CC="$ac_save_CC $ac_arg"
2675 if ac_fn_c_try_compile "$LINENO"; then :
2676 ac_cv_prog_cc_c89=$ac_arg
2678 rm -f core conftest.err conftest.$ac_objext
2679 test "x$ac_cv_prog_cc_c89" != "xno" && break
2681 rm -f conftest.$ac_ext
2686 case "x$ac_cv_prog_cc_c89" in
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2689 $as_echo "none needed" >&6; } ;;
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2692 $as_echo "unsupported" >&6; } ;;
2694 CC="$CC $ac_cv_prog_cc_c89"
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2696 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2698 if test "x$ac_cv_prog_cc_c89" != xno; then :
2703 ac_cpp='$CPP $CPPFLAGS'
2704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2710 $as_echo_n "checking target config location... " >&6; }
2712 # Check whether --with-config-dir was given.
2713 if test "${with_config_dir+set}" = set; then :
2714 withval=$with_config_dir; targetcfg_dir="$withval"
2719 if test "$targetcfg_dir" = ""; then
2720 as_fn_error $? "missing config directory!" "$LINENO" 5
2722 aros_targetcfg_dir="$targetcfg_dir"
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2725 $as_echo "$aros_targetcfg_dir" >&6; }
2727 #-----------------------------------------------------------------------------
2729 # Check if the target compiler supports some features:
2733 # -fno-builtin-floor
2737 # -floop-interchange
2741 # -finline-small-functions
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fexceptions" >&5
2746 $as_echo_n "checking whether ${CC} accepts -fexceptions... " >&6; }
2749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2750 /* end confdefs.h. */
2760 if ac_fn_c_try_compile "$LINENO"; then :
2761 aros_exceptions="yes"
2763 aros_exceptions="no"
2765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_exceptions" >&5
2767 $as_echo "$aros_exceptions" >&6; }
2768 if test "x-$aros_exceptions" = "x-yes" ; then
2769 aros_cflags_exceptions=-fexceptions
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpermissive" >&5
2773 $as_echo_n "checking whether ${CC} accepts -fpermissive... " >&6; }
2775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2776 /* end confdefs.h. */
2786 if ac_fn_c_try_compile "$LINENO"; then :
2787 aros_permissive="yes"
2789 aros_permissive="no"
2791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_permissive" >&5
2793 $as_echo "$aros_permissive" >&6; }
2794 if test "x-$aros_permissive" = "x-yes" ; then
2795 aros_cflags_permissive=-fpermissive
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2799 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2802 /* end confdefs.h. */
2812 if ac_fn_c_try_compile "$LINENO"; then :
2813 aros_fast_math="yes"
2817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2819 $as_echo "$aros_fast_math" >&6; }
2820 if test "x-$aros_fast_math" = "x-yes" ; then
2821 aros_cflags_fast_math=-ffast-math
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-floor" >&5
2825 $as_echo_n "checking whether ${CC} accepts -fno-builtin-floor... " >&6; }
2826 CFLAGS=-fno-builtin-floor
2827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2828 /* end confdefs.h. */
2838 if ac_fn_c_try_compile "$LINENO"; then :
2839 aros_no_builtin_floor="yes"
2841 aros_no_builtin_floor="no"
2843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_floor" >&5
2845 $as_echo "$aros_no_builtin_floor" >&6; }
2846 if test "x-$aros_no_builtin_floor" = "x-yes" ; then
2847 aros_cflags_no_builtin_floor=-fno-builtin-floor
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2851 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2854 /* end confdefs.h. */
2864 if ac_fn_c_try_compile "$LINENO"; then :
2869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2871 $as_echo "$aros_lto" >&6; }
2872 if test "x-$aros_lto" = "x-yes" ; then
2873 aros_cflags_lto=-flto
2874 aros_cflags_nolto=-fno-lto
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
2877 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
2878 CFLAGS=-fwhole-program
2879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2880 /* end confdefs.h. */
2890 if ac_fn_c_try_compile "$LINENO"; then :
2891 aros_whole_program="yes"
2893 aros_whole_program="no"
2895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
2897 $as_echo "$aros_whole_program" >&6; }
2898 if test "x-$aros_whole_program" = "x-yes" ; then
2899 aros_cflags_whole_program=-fwhole-program
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2903 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2906 /* end confdefs.h. */
2916 if ac_fn_c_try_compile "$LINENO"; then :
2917 aros_loop_block="yes"
2919 aros_loop_block="no"
2921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2923 $as_echo "$aros_loop_block" >&6; }
2924 if test "x-$aros_loop_block" = "x-yes" ; then
2925 aros_cflags_loop_block=-floop-block
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2929 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2930 CFLAGS=-floop-interchange
2931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2932 /* end confdefs.h. */
2942 if ac_fn_c_try_compile "$LINENO"; then :
2943 aros_loop_interchange="yes"
2945 aros_loop_interchange="no"
2947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
2949 $as_echo "$aros_loop_interchange" >&6; }
2950 if test "x-$aros_loop_interchange" = "x-yes" ; then
2951 aros_cflags_loop_interchange=-floop-interchange
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
2955 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
2956 CFLAGS=-floop-strip-mine
2957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2958 /* end confdefs.h. */
2968 if ac_fn_c_try_compile "$LINENO"; then :
2969 aros_loop_strip_mine="yes"
2971 aros_loop_strip_mine="no"
2973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
2975 $as_echo "$aros_loop_strip_mine" >&6; }
2976 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
2977 aros_cflags_loop_strip_mine=-floop-strip-mine
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
2982 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
2984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2985 /* end confdefs.h. */
2995 if ac_fn_c_try_compile "$LINENO"; then :
2996 aros_peel_loops="yes"
2998 aros_peel_loops="no"
3000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
3002 $as_echo "$aros_peel_loops" >&6; }
3003 if test "x-$aros_peel_loops" = "x-yes" ; then
3004 aros_cflags_peel_loops=-fpeel-loops
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -funroll-loops" >&5
3008 $as_echo_n "checking whether ${CC} accepts -funroll-loops... " >&6; }
3009 CFLAGS=-funroll-loops
3010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3011 /* end confdefs.h. */
3021 if ac_fn_c_try_compile "$LINENO"; then :
3022 aros_unroll_loops="yes"
3024 aros_unroll_loops="no"
3026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unroll_loops" >&5
3028 $as_echo "$aros_unroll_loops" >&6; }
3029 if test "x-$aros_unroll_loops" = "x-yes" ; then
3030 aros_cflags_unroll_loops=-funroll-loops
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
3034 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
3035 CFLAGS=-fstrict-aliasing
3036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3037 /* end confdefs.h. */
3047 if ac_fn_c_try_compile "$LINENO"; then :
3048 aros_strict_aliasing="yes"
3050 aros_strict_aliasing="no"
3052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3054 $as_echo "$aros_strict_aliasing" >&6; }
3055 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3056 aros_cflags_strictaliasing=-fstrict-aliasing
3057 aros_cflags_nostrictaliasing=-fno-strict-aliasing
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finline-small-functions" >&5
3061 $as_echo_n "checking whether ${CC} accepts -finline-small-functions... " >&6; }
3062 CFLAGS=-finline-small-functions
3063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3064 /* end confdefs.h. */
3074 if ac_fn_c_try_compile "$LINENO"; then :
3075 aros_inline_small_functions="yes"
3077 aros_inline_small_functions="no"
3079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_inline_small_functions" >&5
3081 $as_echo "$aros_inline_small_functions" >&6; }
3082 if test "x-$aros_inline_small_functions" = "x-yes" ; then
3083 aros_cflags_inlinesmallfunctions=-finline-small-functions
3084 aros_cflags_noinlinesmallfunctions=-fno-inline-small-functions
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fipa-cp" >&5
3088 $as_echo_n "checking whether ${CC} accepts -fipa-cp... " >&6; }
3090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3091 /* end confdefs.h. */
3101 if ac_fn_c_try_compile "$LINENO"; then :
3106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ipa_cp" >&5
3108 $as_echo "$aros_ipa_cp" >&6; }
3109 if test "x-$aros_ipa_cp" = "x-yes" ; then
3110 aros_cflags_ipacp=-fipa-cp
3111 aros_cflags_noipacp=-fno-ipa-cp
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
3115 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
3117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3118 /* end confdefs.h. */
3128 if ac_fn_c_try_compile "$LINENO"; then :
3133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
3135 $as_echo "$has_iquote" >&6; }
3136 if test "x-$has_iquote" = "x-yes" ; then
3137 aros_cflags_iquote=-iquote
3138 aros_cflags_iquote_end=
3140 aros_cflags_iquote=-I
3141 aros_cflags_iquote_end=-I-
3144 #-----------------------------------------------------------------------------
3146 # Check if the target compiler supports some options:
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mno-red-zone" >&5
3150 $as_echo_n "checking whether ${CC} accepts -mno-red-zone... " >&6; }
3151 CFLAGS=-mno-red-zone
3152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3153 /* end confdefs.h. */
3163 if ac_fn_c_try_compile "$LINENO"; then :
3164 aros_no_red_zone="yes"
3166 aros_no_red_zone="no"
3168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_red_zone" >&5
3170 $as_echo "$aros_no_red_zone" >&6; }
3171 if test "x-$aros_no_red_zone" = "x-yes" ; then
3172 aros_cflags_no_red_zone=-mno-red-zone
3175 #-----------------------------------------------------------------------------
3177 # Check if the target compiler supports some options used for de-linting:
3179 # -Wunused-command-line-argument
3180 # -Wunknown-warning-option
3181 # -Wunused-but-set-variable
3185 # -Wstrict-prototypes
3188 # -Wmisleading-indentation
3195 # -Wunused-parameter
3197 # -Wmaybe-uninitialized
3198 # -Wimplicit-function-declaration
3203 # -Wformat-contains-nul
3205 # -Waggressive-loop-optimizations
3208 # -Wdiscarded-qualifiers
3211 # -Wdiscarded-array-qualifiers
3213 # -Wint-to-pointer-cast
3214 # -Wpointer-to-int-cast
3215 # -Wunused-const-variable
3218 # -Wincompatible-pointer-types
3220 # -Wlogical-not-parentheses
3224 # -Wdeprecated-declarations
3228 # -Wunused-local-typedefs
3232 # -Wvolatile-register-var
3233 # -Wsizeof-pointer-memaccess
3235 # -Wformat-zero-length
3236 # -Wlto-type-mismatch
3237 # -Wtautological-compare
3239 # -Wstringop-overflow
3240 # -Wformat-truncation
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Werror" >&5
3243 $as_echo_n "checking whether ${CC} accepts -Werror... " >&6; }
3245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3246 /* end confdefs.h. */
3256 if ac_fn_c_try_compile "$LINENO"; then :
3261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_error" >&5
3263 $as_echo "$aros_error" >&6; }
3264 if test "x-$aros_error" = "x-yes" ; then
3265 aros_warnflags_error=-Werror
3266 aros_nowarnflags_error=-Wno-error
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
3270 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
3271 CFLAGS=-Wunused-command-line-argument
3272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3273 /* end confdefs.h. */
3283 if ac_fn_c_try_compile "$LINENO"; then :
3284 aros_unused_command_line_argument="yes"
3286 aros_unused_command_line_argument="no"
3288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
3290 $as_echo "$aros_unused_command_line_argument" >&6; }
3291 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
3292 aros_warnflags_unused_command_line_argument=-Wunused-command-line-argument
3293 aros_nowarnflags_unused_command_line_argument=-Wno-unused-command-line-argument
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
3297 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
3298 CFLAGS=-Wunknown-warning-option
3299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3300 /* end confdefs.h. */
3310 if ac_fn_c_try_compile "$LINENO"; then :
3311 aros_unknown_warning_option="yes"
3313 aros_unknown_warning_option="no"
3315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
3317 $as_echo "$aros_unknown_warning_option" >&6; }
3318 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
3319 aros_warnflags_unknown_warning_option=-Wunknown-warning-option
3320 aros_nowarnflags_unknown_warning_option=-Wno-unknown-warning-option
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
3324 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
3325 CFLAGS=-Wunused-but-set-variable
3326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3327 /* end confdefs.h. */
3337 if ac_fn_c_try_compile "$LINENO"; then :
3338 aros_unused_but_set_variable="yes"
3340 aros_unused_but_set_variable="no"
3342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
3344 $as_echo "$aros_unused_but_set_variable" >&6; }
3345 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
3346 aros_warnflags_unused_but_set_variable=-Wunused-but-set-variable
3347 aros_nowarnflags_unused_but_set_variable=-Wno-unused-but-set-variable
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
3351 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
3352 CFLAGS=-Wstrict-aliasing
3353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3354 /* end confdefs.h. */
3364 if ac_fn_c_try_compile "$LINENO"; then :
3365 aros_strict_aliasing="yes"
3367 aros_strict_aliasing="no"
3369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3371 $as_echo "$aros_strict_aliasing" >&6; }
3372 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3373 aros_warnflags_strict_aliasing=-Wstrict-aliasing
3374 aros_nowarnflags_strict_aliasing=-Wno-strict-aliasing
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
3378 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
3379 CFLAGS=-Warray-bounds
3380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3381 /* end confdefs.h. */
3391 if ac_fn_c_try_compile "$LINENO"; then :
3392 aros_array_bounds="yes"
3394 aros_array_bounds="no"
3396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
3398 $as_echo "$aros_array_bounds" >&6; }
3399 if test "x-$aros_array_bounds" = "x-yes" ; then
3400 aros_warnflags_array_bounds=-Warray-bounds
3401 aros_nowarnflags_array_bounds=-Wno-array-bounds
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
3405 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
3406 CFLAGS=-Wenum-compare
3407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3408 /* end confdefs.h. */
3418 if ac_fn_c_try_compile "$LINENO"; then :
3419 aros_enum_compare="yes"
3421 aros_enum_compare="no"
3423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
3425 $as_echo "$aros_enum_compare" >&6; }
3426 if test "x-$aros_enum_compare" = "x-yes" ; then
3427 aros_warnflags_enum_compare=-Wenum-compare
3428 aros_nowarnflags_enum_compare=-Wno-enum-compare
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
3432 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
3433 CFLAGS=-Wstrict-prototypes
3434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3435 /* end confdefs.h. */
3445 if ac_fn_c_try_compile "$LINENO"; then :
3446 aros_strict_prototypes="yes"
3448 aros_strict_prototypes="no"
3450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3452 $as_echo "$aros_strict_prototypes" >&6; }
3453 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3454 aros_warnflags_strict_prototypes=-Wstrict-prototypes
3455 aros_nowarnflags_strict_prototypes=-Wno-strict-prototypes
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3459 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3460 CFLAGS=-Wstrict-overflow
3461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3462 /* end confdefs.h. */
3472 if ac_fn_c_try_compile "$LINENO"; then :
3473 aros_strict_overflow="yes"
3475 aros_strict_overflow="no"
3477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3479 $as_echo "$aros_strict_overflow" >&6; }
3480 if test "x-$aros_strict_overflow" = "x-yes" ; then
3481 aros_warnflags_strict_overflow=-Wstrict-overflow
3482 aros_nowarnflags_strict_overflow=-Wno-strict-overflow
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3486 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3487 CFLAGS=-Wformat-security
3488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3489 /* end confdefs.h. */
3499 if ac_fn_c_try_compile "$LINENO"; then :
3500 aros_format_security="yes"
3502 aros_format_security="no"
3504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3506 $as_echo "$aros_format_security" >&6; }
3507 if test "x-$aros_format_security" = "x-yes" ; then
3508 aros_warnflags_format_security=-Wformat-security
3509 aros_nowarnflags_format_security=-Wno-format-security
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3513 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3514 CFLAGS=-Wmisleading-indentation
3515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3516 /* end confdefs.h. */
3526 if ac_fn_c_try_compile "$LINENO"; then :
3527 aros_misleading_indentation="yes"
3529 aros_misleading_indentation="no"
3531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3533 $as_echo "$aros_misleading_indentation" >&6; }
3534 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3535 aros_warnflags_misleading_indentation=-Wmisleading-indentation
3536 aros_nowarnflags_misleading_indentation=-Wno-misleading-indentation
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3540 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3541 CFLAGS=-Wnonnull-compare
3542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3543 /* end confdefs.h. */
3553 if ac_fn_c_try_compile "$LINENO"; then :
3554 aros_nonnull_compare="yes"
3556 aros_nonnull_compare="no"
3558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3560 $as_echo "$aros_nonnull_compare" >&6; }
3561 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3562 aros_warnflags_nonnull_compare=-Wnonnull-compare
3563 aros_nowarnflags_nonnull_compare=-Wno-nonnull-compare
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3567 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3570 /* end confdefs.h. */
3580 if ac_fn_c_try_compile "$LINENO"; then :
3585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3587 $as_echo "$aros_unused" >&6; }
3588 if test "x-$aros_unused" = "x-yes" ; then
3589 aros_warnflags_unused=-Wunused
3590 aros_nowarnflags_unused=-Wno-unused
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-label" >&5
3594 $as_echo_n "checking whether ${CC} accepts -Wunused-label... " >&6; }
3595 CFLAGS=-Wunused-label
3596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3597 /* end confdefs.h. */
3607 if ac_fn_c_try_compile "$LINENO"; then :
3608 aros_unused_label="yes"
3610 aros_unused_label="no"
3612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_label" >&5
3614 $as_echo "$aros_unused_label" >&6; }
3615 if test "x-$aros_unused_label" = "x-yes" ; then
3616 aros_warnflags_unused_label=-Wunused-label
3617 aros_nowarnflags_unused_label=-Wno-unused-label
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3621 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3622 CFLAGS=-Wunused-value
3623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3624 /* end confdefs.h. */
3634 if ac_fn_c_try_compile "$LINENO"; then :
3635 aros_unused_value="yes"
3637 aros_unused_value="no"
3639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3641 $as_echo "$aros_unused_value" >&6; }
3642 if test "x-$aros_unused_value" = "x-yes" ; then
3643 aros_warnflags_unused_value=-Wunused-value
3644 aros_nowarnflags_unused_value=-Wno-unused-value
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3648 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3649 CFLAGS=-Wunused-variable
3650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3651 /* end confdefs.h. */
3661 if ac_fn_c_try_compile "$LINENO"; then :
3662 aros_unused_variable="yes"
3664 aros_unused_variable="no"
3666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3668 $as_echo "$aros_unused_variable" >&6; }
3669 if test "x-$aros_unused_variable" = "x-yes" ; then
3670 aros_warnflags_unused_variable=-Wunused-variable
3671 aros_nowarnflags_unused_variable=-Wno-unused-variable
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3675 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3676 CFLAGS=-Wunused-function
3677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3678 /* end confdefs.h. */
3688 if ac_fn_c_try_compile "$LINENO"; then :
3689 aros_unused_function="yes"
3691 aros_unused_function="no"
3693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3695 $as_echo "$aros_unused_function" >&6; }
3696 if test "x-$aros_unused_function" = "x-yes" ; then
3697 aros_warnflags_unused_function=-Wunused-function
3698 aros_nowarnflags_unused_function=-Wno-unused-function
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
3702 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
3703 CFLAGS=-Wunused-parameter
3704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3705 /* end confdefs.h. */
3715 if ac_fn_c_try_compile "$LINENO"; then :
3716 aros_unused_parameter="yes"
3718 aros_unused_parameter="no"
3720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
3722 $as_echo "$aros_unused_parameter" >&6; }
3723 if test "x-$aros_unused_parameter" = "x-yes" ; then
3724 aros_warnflags_unused_parameter=-Wunused-parameter
3725 aros_nowarnflags_unused_parameter=-Wno-unused-parameter
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3729 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3730 CFLAGS=-Wuninitialized
3731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3732 /* end confdefs.h. */
3742 if ac_fn_c_try_compile "$LINENO"; then :
3743 aros_uninitialized="yes"
3745 aros_uninitialized="no"
3747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3749 $as_echo "$aros_uninitialized" >&6; }
3750 if test "x-$aros_uninitialized" = "x-yes" ; then
3751 aros_warnflags_uninitialized=-Wuninitialized
3752 aros_nowarnflags_uninitialized=-Wno-uninitialized
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3756 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3757 CFLAGS=-Wmaybe-uninitialized
3758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3759 /* end confdefs.h. */
3769 if ac_fn_c_try_compile "$LINENO"; then :
3770 aros_maybe_uninitialized="yes"
3772 aros_maybe_uninitialized="no"
3774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3776 $as_echo "$aros_maybe_uninitialized" >&6; }
3777 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3778 aros_warnflags_maybe_uninitialized=-Wmaybe-uninitialized
3779 aros_nowarnflags_maybe_uninitialized=-Wno-maybe-uninitialized
3781 aros_warnflags_maybe_uninitialized=$aros_warnflags_uninitialized
3782 aros_nowarnflags_maybe_uninitialized=$aros_nowarnflags_uninitialized
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3786 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3787 CFLAGS=-Wimplicit-function-declaration
3788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3789 /* end confdefs.h. */
3799 if ac_fn_c_try_compile "$LINENO"; then :
3800 aros_implicit_function_declaration="yes"
3802 aros_implicit_function_declaration="no"
3804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3806 $as_echo "$aros_implicit_function_declaration" >&6; }
3807 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3808 aros_warnflags_implicit_function_declaration=-Wimplicit-function-declaration
3809 aros_nowarnflags_implicit_function_declaration=-Wno-implicit-function-declaration
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3813 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3816 /* end confdefs.h. */
3826 if ac_fn_c_try_compile "$LINENO"; then :
3831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3833 $as_echo "$aros_format" >&6; }
3834 if test "x-$aros_format" = "x-yes" ; then
3835 aros_warnflags_format=-Wformat
3836 aros_nowarnflags_format=-Wno-format
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3840 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3841 CFLAGS=-Wparentheses
3842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3843 /* end confdefs.h. */
3853 if ac_fn_c_try_compile "$LINENO"; then :
3854 aros_parentheses="yes"
3856 aros_parentheses="no"
3858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3860 $as_echo "$aros_parentheses" >&6; }
3861 if test "x-$aros_parentheses" = "x-yes" ; then
3862 aros_warnflags_parentheses=-Wparentheses
3863 aros_nowarnflags_parentheses=-Wno-parentheses
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3867 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3868 CFLAGS=-Wchar-subscripts
3869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870 /* end confdefs.h. */
3880 if ac_fn_c_try_compile "$LINENO"; then :
3881 aros_char_subscripts="yes"
3883 aros_char_subscripts="no"
3885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3887 $as_echo "$aros_char_subscripts" >&6; }
3888 if test "x-$aros_char_subscripts" = "x-yes" ; then
3889 aros_warnflags_char_subscripts=-Wchar-subscripts
3890 aros_nowarnflags_char_subscripts=-Wno-char-subscripts
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3894 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3895 CFLAGS=-Wendif-labels
3896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3897 /* end confdefs.h. */
3907 if ac_fn_c_try_compile "$LINENO"; then :
3908 aros_endif_labels="yes"
3910 aros_endif_labels="no"
3912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3914 $as_echo "$aros_endif_labels" >&6; }
3915 if test "x-$aros_endif_labels" = "x-yes" ; then
3916 aros_warnflags_endif_labels=-Wendif-labels
3917 aros_nowarnflags_endif_labels=-Wno-endif-labels
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3921 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3922 CFLAGS=-Wformat-contains-nul
3923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3924 /* end confdefs.h. */
3934 if ac_fn_c_try_compile "$LINENO"; then :
3935 aros_format_contains_nul="yes"
3937 aros_format_contains_nul="no"
3939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3941 $as_echo "$aros_format_contains_nul" >&6; }
3942 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3943 aros_warnflags_format_contains_nul=-Wformat-contains-nul
3944 aros_nowarnflags_format_contains_nul=-Wno-format-contains-nul
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3948 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3949 CFLAGS=-Wimplicit-int
3950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951 /* end confdefs.h. */
3961 if ac_fn_c_try_compile "$LINENO"; then :
3962 aros_implicit_int="yes"
3964 aros_implicit_int="no"
3966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3968 $as_echo "$aros_implicit_int" >&6; }
3969 if test "x-$aros_implicit_int" = "x-yes" ; then
3970 aros_warnflags_implicit_int=-Wimplicit-int
3971 aros_nowarnflags_implicit_int=-Wno-implicit-int
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3975 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3976 CFLAGS=-Waggressive-loop-optimizations
3977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3978 /* end confdefs.h. */
3988 if ac_fn_c_try_compile "$LINENO"; then :
3989 aros_aggressive_loop_optimizations="yes"
3991 aros_aggressive_loop_optimizations="no"
3993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3995 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3996 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3997 aros_warnflags_aggressive_loop_optimizations=-Waggressive-loop-optimizations
3998 aros_nowarnflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
4002 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
4004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4005 /* end confdefs.h. */
4015 if ac_fn_c_try_compile "$LINENO"; then :
4020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
4022 $as_echo "$aros_cpp" >&6; }
4023 if test "x-$aros_cpp" = "x-yes" ; then
4024 aros_warnflags_cpp=-Wcpp
4025 aros_nowarnflags_cpp=-Wno-cpp
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
4029 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
4031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4032 /* end confdefs.h. */
4042 if ac_fn_c_try_compile "$LINENO"; then :
4047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
4049 $as_echo "$aros_switch" >&6; }
4050 if test "x-$aros_switch" = "x-yes" ; then
4051 aros_warnflags_switch=-Wswitch
4052 aros_nowarnflags_switch=-Wno-switch
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
4056 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
4057 CFLAGS=-Wdiscarded-qualifiers
4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059 /* end confdefs.h. */
4069 if ac_fn_c_try_compile "$LINENO"; then :
4070 aros_discarded_qualifiers="yes"
4072 aros_discarded_qualifiers="no"
4074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
4076 $as_echo "$aros_discarded_qualifiers" >&6; }
4077 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
4078 aros_warnflags_discarded_qualifiers=-Wdiscarded-qualifiers
4079 aros_nowarnflags_discarded_qualifiers=-Wno-discarded-qualifiers
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
4083 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
4084 CFLAGS=-Wsequence-point
4085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4086 /* end confdefs.h. */
4096 if ac_fn_c_try_compile "$LINENO"; then :
4097 aros_sequence_point="yes"
4099 aros_sequence_point="no"
4101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
4103 $as_echo "$aros_sequence_point" >&6; }
4104 if test "x-$aros_sequence_point" = "x-yes" ; then
4105 aros_warnflags_sequence_point=-Wsequence-point
4106 aros_nowarnflags_sequence_point=-Wno-sequence-point
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
4110 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
4111 CFLAGS=-Wunknown-pragmas
4112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4113 /* end confdefs.h. */
4123 if ac_fn_c_try_compile "$LINENO"; then :
4124 aros_unknown_pragmas="yes"
4126 aros_unknown_pragmas="no"
4128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
4130 $as_echo "$aros_unknown_pragmas" >&6; }
4131 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
4132 aros_warnflags_unknown_pragmas=-Wunknown-pragmas
4133 aros_nowarnflags_unknown_pragmas=-Wno-unknown-pragmas
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
4137 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
4138 CFLAGS=-Wdiscarded-array-qualifiers
4139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4140 /* end confdefs.h. */
4150 if ac_fn_c_try_compile "$LINENO"; then :
4151 aros_discarded_array_qualifiers="yes"
4153 aros_discarded_array_qualifiers="no"
4155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
4157 $as_echo "$aros_discarded_array_qualifiers" >&6; }
4158 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
4159 aros_warnflags_discarded_array_qualifiers=-Wdiscarded-array-qualifiers
4160 aros_nowarnflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
4164 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
4165 CFLAGS=-Wint-conversion
4166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4167 /* end confdefs.h. */
4177 if ac_fn_c_try_compile "$LINENO"; then :
4178 aros_int_conversion="yes"
4180 aros_int_conversion="no"
4182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
4184 $as_echo "$aros_int_conversion" >&6; }
4185 if test "x-$aros_int_conversion" = "x-yes" ; then
4186 aros_warnflags_int_conversion=-Wint-conversion
4187 aros_nowarnflags_int_conversion=-Wno-int-conversion
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
4191 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
4192 CFLAGS=-Wint-to-pointer-cast
4193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4204 if ac_fn_c_try_compile "$LINENO"; then :
4205 aros_int_to_pointer_cast="yes"
4207 aros_int_to_pointer_cast="no"
4209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
4211 $as_echo "$aros_int_to_pointer_cast" >&6; }
4212 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
4213 aros_warnflags_int_to_pointer_cast=-Wint-to-pointer-cast
4214 aros_nowarnflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
4218 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
4219 CFLAGS=-Wpointer-to-int-cast
4220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4221 /* end confdefs.h. */
4231 if ac_fn_c_try_compile "$LINENO"; then :
4232 aros_pointer_to_int_cast="yes"
4234 aros_pointer_to_int_cast="no"
4236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
4238 $as_echo "$aros_pointer_to_int_cast" >&6; }
4239 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
4240 aros_warnflags_pointer_to_int_cast=-Wpointer-to-int-cast
4241 aros_nowarnflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
4245 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
4246 CFLAGS=-Wunused-const-variable
4247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4248 /* end confdefs.h. */
4258 if ac_fn_c_try_compile "$LINENO"; then :
4259 aros_unused_const_variable="yes"
4261 aros_unused_const_variable="no"
4263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
4265 $as_echo "$aros_unused_const_variable" >&6; }
4266 if test "x-$aros_unused_const_variable" = "x-yes" ; then
4267 aros_warnflags_unused_const_variable=-Wunused-const-variable
4268 aros_nowarnflags_unused_const_variable=-Wno-unused-const-variable
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
4272 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
4273 CFLAGS=-Wwrite-strings
4274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4275 /* end confdefs.h. */
4285 if ac_fn_c_try_compile "$LINENO"; then :
4286 aros_write_strings="yes"
4288 aros_write_strings="no"
4290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
4292 $as_echo "$aros_write_strings" >&6; }
4293 if test "x-$aros_write_strings" = "x-yes" ; then
4294 aros_warnflags_write_strings=-Wwrite-strings
4295 aros_nowarnflags_write_strings=-Wno-write-strings
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
4299 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
4301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4302 /* end confdefs.h. */
4312 if ac_fn_c_try_compile "$LINENO"; then :
4317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
4319 $as_echo "$aros_comment" >&6; }
4320 if test "x-$aros_comment" = "x-yes" ; then
4321 aros_warnflags_comment=-Wcomment
4322 aros_nowarnflags_comment=-Wno-comment
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
4326 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
4327 CFLAGS=-Wincompatible-pointer-types
4328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4329 /* end confdefs.h. */
4339 if ac_fn_c_try_compile "$LINENO"; then :
4340 aros_incompatible_pointer_types="yes"
4342 aros_incompatible_pointer_types="no"
4344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
4346 $as_echo "$aros_incompatible_pointer_types" >&6; }
4347 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
4348 aros_warnflags_incompatible_pointer_types=-Wincompatible-pointer-types
4349 aros_nowarnflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
4353 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
4354 CFLAGS=-Wbool-compare
4355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4356 /* end confdefs.h. */
4366 if ac_fn_c_try_compile "$LINENO"; then :
4367 aros_bool_compare="yes"
4369 aros_bool_compare="no"
4371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
4373 $as_echo "$aros_bool_compare" >&6; }
4374 if test "x-$aros_bool_compare" = "x-yes" ; then
4375 aros_warnflags_bool_compare=-Wbool-compare
4376 aros_nowarnflags_bool_compare=-Wno-bool-compare
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
4380 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
4381 CFLAGS=-Wlogical-not-parentheses
4382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4383 /* end confdefs.h. */
4393 if ac_fn_c_try_compile "$LINENO"; then :
4394 aros_logical_not_parentheses="yes"
4396 aros_logical_not_parentheses="no"
4398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
4400 $as_echo "$aros_logical_not_parentheses" >&6; }
4401 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
4402 aros_warnflags_logical_not_parentheses=-Wlogical-not-parentheses
4403 aros_nowarnflags_logical_not_parentheses=-Wno-logical-not-parentheses
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
4407 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
4408 CFLAGS=-Wpointer-sign
4409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h. */
4420 if ac_fn_c_try_compile "$LINENO"; then :
4421 aros_pointer_sign="yes"
4423 aros_pointer_sign="no"
4425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
4427 $as_echo "$aros_pointer_sign" >&6; }
4428 if test "x-$aros_pointer_sign" = "x-yes" ; then
4429 aros_warnflags_pointer_sign=-Wpointer-sign
4430 aros_nowarnflags_pointer_sign=-Wno-pointer-sign
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
4434 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
4435 CFLAGS=-Wshift-overflow
4436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4437 /* end confdefs.h. */
4447 if ac_fn_c_try_compile "$LINENO"; then :
4448 aros_shift_overflow="yes"
4450 aros_shift_overflow="no"
4452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
4454 $as_echo "$aros_shift_overflow" >&6; }
4455 if test "x-$aros_shift_overflow" = "x-yes" ; then
4456 aros_warnflags_shift_overflow=-Wshift-overflow
4457 aros_nowarnflags_shift_overflow=-Wno-shift-overflow
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
4461 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
4462 CFLAGS=-Wframe-address
4463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4464 /* end confdefs.h. */
4474 if ac_fn_c_try_compile "$LINENO"; then :
4475 aros_frame_address="yes"
4477 aros_frame_address="no"
4479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
4481 $as_echo "$aros_frame_address" >&6; }
4482 if test "x-$aros_frame_address" = "x-yes" ; then
4483 aros_warnflags_frame_address=-Wframe-address
4484 aros_nowarnflags_frame_address=-Wno-frame-address
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
4488 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
4489 CFLAGS=-Wdeprecated-declarations
4490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4491 /* end confdefs.h. */
4501 if ac_fn_c_try_compile "$LINENO"; then :
4502 aros_deprecated_declarations="yes"
4504 aros_deprecated_declarations="no"
4506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4508 $as_echo "$aros_deprecated_declarations" >&6; }
4509 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4510 aros_warnflags_deprecated_declarations=-Wdeprecated-declarations
4511 aros_nowarnflags_deprecated_declarations=-Wno-deprecated-declarations
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4515 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4516 CFLAGS=-Wsign-compare
4517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4518 /* end confdefs.h. */
4528 if ac_fn_c_try_compile "$LINENO"; then :
4529 aros_sign_compare="yes"
4531 aros_sign_compare="no"
4533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4535 $as_echo "$aros_sign_compare" >&6; }
4536 if test "x-$aros_sign_compare" = "x-yes" ; then
4537 aros_warnflags_sign_compare=-Wsign-compare
4538 aros_nowarnflags_sign_compare=-Wno-sign-compare
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4542 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4545 /* end confdefs.h. */
4555 if ac_fn_c_try_compile "$LINENO"; then :
4556 aros_attributes="yes"
4558 aros_attributes="no"
4560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4562 $as_echo "$aros_attributes" >&6; }
4563 if test "x-$aros_attributes" = "x-yes" ; then
4564 aros_warnflags_attributes=-Wattributes
4565 aros_nowarnflags_attributes=-Wno-attributes
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4569 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4572 /* end confdefs.h. */
4582 if ac_fn_c_try_compile "$LINENO"; then :
4587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4589 $as_echo "$aros_overflow" >&6; }
4590 if test "x-$aros_overflow" = "x-yes" ; then
4591 aros_warnflags_overflow=-Woverflow
4592 aros_nowarnflags_overflow=-Wno-overflow
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4596 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4597 CFLAGS=-Wunused-local-typedefs
4598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4599 /* end confdefs.h. */
4609 if ac_fn_c_try_compile "$LINENO"; then :
4610 aros_unused_local_typedefs="yes"
4612 aros_unused_local_typedefs="no"
4614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4616 $as_echo "$aros_unused_local_typedefs" >&6; }
4617 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4618 aros_warnflags_unused_local_typedefs=-Wunused-local-typedefs
4619 aros_nowarnflags_unused_local_typedefs=-Wno-unused-local-typedefs
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4623 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4624 CFLAGS=-Wmissing-braces
4625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4626 /* end confdefs.h. */
4636 if ac_fn_c_try_compile "$LINENO"; then :
4637 aros_missing_braces="yes"
4639 aros_missing_braces="no"
4641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4643 $as_echo "$aros_missing_braces" >&6; }
4644 if test "x-$aros_missing_braces" = "x-yes" ; then
4645 aros_warnflags_missing_braces=-Wmissing-braces
4646 aros_nowarnflags_missing_braces=-Wno-missing-braces
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4650 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4651 CFLAGS=-Wconversion-null
4652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4653 /* end confdefs.h. */
4663 if ac_fn_c_try_compile "$LINENO"; then :
4664 aros_conversion_null="yes"
4666 aros_conversion_null="no"
4668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4670 $as_echo "$aros_conversion_null" >&6; }
4671 if test "x-$aros_conversion_null" = "x-yes" ; then
4672 aros_warnflags_conversion_null=-Wconversion-null
4673 aros_nowarnflags_conversion_null=-Wno-conversion-null
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4677 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4680 /* end confdefs.h. */
4690 if ac_fn_c_try_compile "$LINENO"; then :
4691 aros_narrowing="yes"
4695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4697 $as_echo "$aros_narrowing" >&6; }
4698 if test "x-$aros_narrowing" = "x-yes" ; then
4699 aros_warnflags_narrowing=-Wnarrowing
4700 aros_nowarnflags_narrowing=-Wno-narrowing
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4704 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4705 CFLAGS=-Wvolatile-register-var
4706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4707 /* end confdefs.h. */
4717 if ac_fn_c_try_compile "$LINENO"; then :
4718 aros_volatile_register_var="yes"
4720 aros_volatile_register_var="no"
4722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4724 $as_echo "$aros_volatile_register_var" >&6; }
4725 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4726 aros_warnflags_volatile_register_var=-Wvolatile-register-var
4727 aros_nowarnflags_volatile_register_var=-Wno-volatile-register-var
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
4731 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
4732 CFLAGS=-Wsizeof-pointer-memaccess
4733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4734 /* end confdefs.h. */
4744 if ac_fn_c_try_compile "$LINENO"; then :
4745 aros_sizeof_pointer_memaccess="yes"
4747 aros_sizeof_pointer_memaccess="no"
4749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
4751 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
4752 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
4753 aros_warnflags_sizeof_pointer_memaccess=-Wsizeof-pointer-memaccess
4754 aros_nowarnflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
4758 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
4759 CFLAGS=-Wreturn-type
4760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h. */
4771 if ac_fn_c_try_compile "$LINENO"; then :
4772 aros_return_type="yes"
4774 aros_return_type="no"
4776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
4778 $as_echo "$aros_return_type" >&6; }
4779 if test "x-$aros_return_type" = "x-yes" ; then
4780 aros_warnflags_return_type=-Wreturn-type
4781 aros_nowarnflags_return_type=-Wno-return-type
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
4785 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
4786 CFLAGS=-Wformat-zero-length
4787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4788 /* end confdefs.h. */
4798 if ac_fn_c_try_compile "$LINENO"; then :
4799 aros_format_zero_length="yes"
4801 aros_format_zero_length="no"
4803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
4805 $as_echo "$aros_format_zero_length" >&6; }
4806 if test "x-$aros_format_zero_length" = "x-yes" ; then
4807 aros_warnflags_format_zero_length=-Wformat-zero-length
4808 aros_nowarnflags_format_zero_length=-Wno-format-zero-length
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
4812 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
4813 CFLAGS=-Wlto-type-mismatch
4814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4815 /* end confdefs.h. */
4825 if ac_fn_c_try_compile "$LINENO"; then :
4826 aros_lto_type_mismatch="yes"
4828 aros_lto_type_mismatch="no"
4830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
4832 $as_echo "$aros_lto_type_mismatch" >&6; }
4833 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
4834 aros_warnflags_lto_type_mismatch=-Wlto-type-mismatch
4835 aros_nowarnflags_lto_type_mismatch=-Wno-lto-type-mismatch
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wtautological-compare" >&5
4839 $as_echo_n "checking whether ${CC} accepts -Wtautological-compare... " >&6; }
4840 CFLAGS=-Wtautological-compare
4841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4842 /* end confdefs.h. */
4852 if ac_fn_c_try_compile "$LINENO"; then :
4853 aros_tautological_compare="yes"
4855 aros_tautological_compare="no"
4857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tautological_compare" >&5
4859 $as_echo "$aros_tautological_compare" >&6; }
4860 if test "x-$aros_tautological_compare" = "x-yes" ; then
4861 aros_warnflags_tautological_compare=-Wtautological-compare
4862 aros_nowarnflags_tautological_compare=-Wno-tautological-compare
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wempty-body" >&5
4866 $as_echo_n "checking whether ${CC} accepts -Wempty-body... " >&6; }
4868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4869 /* end confdefs.h. */
4879 if ac_fn_c_try_compile "$LINENO"; then :
4880 aros_empty_body="yes"
4882 aros_empty_body="no"
4884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_empty_body" >&5
4886 $as_echo "$aros_empty_body" >&6; }
4887 if test "x-$aros_empty_body" = "x-yes" ; then
4888 aros_warnflags_empty_body=-Wempty-body
4889 aros_nowarnflags_empty_body=-Wno-empty-body
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-overflow" >&5
4893 $as_echo_n "checking whether ${CC} accepts -Wstringop-overflow... " >&6; }
4894 CFLAGS=-Wstringop-overflow
4895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4896 /* end confdefs.h. */
4906 if ac_fn_c_try_compile "$LINENO"; then :
4907 aros_stringop_overflow="yes"
4909 aros_stringop_overflow="no"
4911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_overflow" >&5
4913 $as_echo "$aros_stringop_overflow" >&6; }
4914 if test "x-$aros_stringop_overflow" = "x-yes" ; then
4915 aros_warnflags_stringop_overflow=-Wstringop-overflow
4916 aros_nowarnflags_stringop_overflow=-Wno-stringop-overflow
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-truncation" >&5
4920 $as_echo_n "checking whether ${CC} accepts -Wformat-truncation... " >&6; }
4921 CFLAGS=-Wformat-truncation
4922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4923 /* end confdefs.h. */
4933 if ac_fn_c_try_compile "$LINENO"; then :
4934 aros_format_truncation="yes"
4936 aros_format_truncation="no"
4938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_truncation" >&5
4940 $as_echo "$aros_format_truncation" >&6; }
4941 if test "x-$aros_format_truncation" = "x-yes" ; then
4942 aros_warnflags_format_truncation=-Wformat-truncation
4943 aros_nowarnflags_format_truncation=-Wno-format-truncation
4947 # export the feature flags...
4975 # export the feature options...
4980 # ...and warning flags...
5109 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
5112 cat >confcache <<\_ACEOF
5113 # This file is a shell script that caches the results of configure
5114 # tests run on this system so they can be shared between configure
5115 # scripts and configure runs, see configure's option --config-cache.
5116 # It is not useful on other systems. If it contains results you don't
5117 # want to keep, you may remove or edit it.
5119 # config.status only pays attention to the cache file if you give it
5120 # the --recheck option to rerun configure.
5122 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
5123 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5128 # The following way of writing the cache mishandles newlines in values,
5129 # but we know of no workaround that is simple, portable, and efficient.
5130 # So, we kill variables containing newlines.
5131 # Ultrix sh set writes to stderr and can't be redirected directly,
5132 # and sets the high bit in the cache file unless we assign to the vars.
5134 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5135 eval ac_val
=\$
$ac_var
5139 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5140 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5143 _ | IFS | as_nl
) ;; #(
5144 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5145 *) { eval $ac_var=; unset $ac_var;} ;;
5151 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5152 *${as_nl}ac_space
=\
*)
5153 # `set' does not quote correctly, so add quotes: double-quote
5154 # substitution turns \\\\ into \\, and sed turns \\ into \.
5157 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5160 # `set' quotes correctly as required by POSIX, so do not add quotes.
5161 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5170 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5172 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5174 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5175 if test -w "$cache_file"; then
5176 if test "x$cache_file" != "x/dev/null"; then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5178 $as_echo "$as_me: updating cache $cache_file" >&6;}
5179 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5180 cat confcache
>"$cache_file"
5182 case $cache_file in #(
5184 mv -f confcache
"$cache_file"$$
&&
5185 mv -f "$cache_file"$$
"$cache_file" ;; #(
5187 mv -f confcache
"$cache_file" ;;
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5193 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5198 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5199 # Let make expand exec_prefix.
5200 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5202 # Transform confdefs.h into DEFS.
5203 # Protect against shell expansion while executing Makefile rules.
5204 # Protect against Makefile macro expansion.
5206 # If the first sed substitution is executed (which looks for macros that
5207 # take arguments), then branch to the quote section. Otherwise,
5208 # look for a macro that doesn't take arguments.
5218 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5220 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5224 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5237 DEFS
=`sed -n "$ac_script" confdefs.h`
5243 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5244 # 1. Remove the extension, and $U if already installed.
5245 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5246 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5247 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5248 # will be set to the directory where LIBOBJS objects are built.
5249 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5250 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5254 LTLIBOBJS
=$ac_ltlibobjs
5258 : "${CONFIG_STATUS=./config.status}"
5260 ac_clean_files_save
=$ac_clean_files
5261 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5263 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5265 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5267 # Generated by $as_me.
5268 # Run this file to recreate the current configuration.
5269 # Compiler output produced by configure, useful for debugging
5270 # configure, is in config.log if it exists.
5276 SHELL=\${CONFIG_SHELL-$SHELL}
5279 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5280 ## -------------------- ##
5281 ## M4sh Initialization. ##
5282 ## -------------------- ##
5284 # Be more Bourne compatible
5285 DUALCASE
=1; export DUALCASE
# for MKS sh
5286 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5289 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5290 # is contrary to our usage. Disable this feature.
5291 alias -g '${1+"$@"}'='"$@"'
5292 setopt NO_GLOB_SUBST
5294 case `(set -o) 2>/dev/null` in #(
5306 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5307 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5308 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5309 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5310 # Prefer a ksh shell builtin over an external printf program on Solaris,
5311 # but without wasting forks for bash or zsh.
5312 if test -z "$BASH_VERSION$ZSH_VERSION" \
5313 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5314 as_echo='print
-r --'
5315 as_echo_n='print
-rn --'
5316 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5317 as_echo='printf %s
\n'
5318 as_echo_n='printf %s
'
5320 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5321 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5322 as_echo_n='/usr
/ucb
/echo -n'
5324 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5325 as_echo_n_body='eval
5329 expr "X$arg" : "X\\(.*\\)$as_nl";
5330 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5332 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5334 export as_echo_n_body
5335 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5338 as_echo='sh
-c $as_echo_body as_echo
'
5341 # The user is always right.
5342 if test "${PATH_SEPARATOR+set}" != set; then
5344 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5345 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5352 # We need space, tab and new line, in precisely that order. Quoting is
5353 # there to prevent editors from complaining about space-tab.
5354 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5355 # splitting by setting IFS to empty value.)
5358 # Find who we are. Look in the path if we contain no directory separator.
5361 *[\\/]* ) as_myself=$0 ;;
5362 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5366 test -z "$as_dir" && as_dir=.
5367 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5373 # We did not find ourselves, most probably we were run as `sh COMMAND'
5374 # in which case we are not to be found in the path.
5375 if test "x$as_myself" = x
; then
5378 if test ! -f "$as_myself"; then
5379 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5383 # Unset variables that we do not need and which cause bugs (e.g. in
5384 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5385 # suppresses any "Segmentation fault" message there. '((' could
5386 # trigger a bug in pdksh 5.2.14.
5387 for as_var
in BASH_ENV ENV MAIL MAILPATH
5388 do eval test x\
${$as_var+set} = xset \
5389 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5402 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5406 # ----------------------------------------
5407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5409 # script with STATUS, using 1 if that was 0.
5412 as_status
=$1; test $as_status -eq 0 && as_status
=1
5414 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5417 $as_echo "$as_me: error: $2" >&2
5418 as_fn_exit
$as_status
5422 # as_fn_set_status STATUS
5423 # -----------------------
5424 # Set $? to STATUS, without forking.
5428 } # as_fn_set_status
5432 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5442 # Portably unset VAR.
5445 { eval $1=; unset $1;}
5447 as_unset
=as_fn_unset
5448 # as_fn_append VAR VALUE
5449 # ----------------------
5450 # Append the text in VALUE to the end of the definition contained in VAR. Take
5451 # advantage of any shell optimizations that allow amortized linear growth over
5452 # repeated appends, instead of the typical quadratic growth present in naive
5454 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5455 eval 'as_fn_append ()
5466 # as_fn_arith ARG...
5467 # ------------------
5468 # Perform arithmetic evaluation on the ARGs, and store the result in the
5469 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5470 # must be portable across $(()) and expr.
5471 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5472 eval 'as_fn_arith ()
5479 as_val
=`expr "$@" || test $? -eq 1`
5484 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5485 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5491 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5492 as_basename
=basename
5497 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5503 as_me
=`$as_basename -- "$0" ||
5504 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5505 X"$0" : 'X\(//\)$' \| \
5506 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5508 sed '/^.*\/\([^/][^/]*\)\/*$/{
5522 # Avoid depending upon Character Ranges.
5523 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5524 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5525 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5526 as_cr_digits
='0123456789'
5527 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5529 ECHO_C
= ECHO_N
= ECHO_T
=
5530 case `echo -n x` in #(((((
5532 case `echo 'xy\c'` in
5533 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5535 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5542 rm -f conf$$ conf$$.exe conf$$.
file
5543 if test -d conf$$.dir
; then
5544 rm -f conf$$.dir
/conf$$.
file
5547 mkdir conf$$.dir
2>/dev
/null
5549 if (echo >conf$$.
file) 2>/dev
/null
; then
5550 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5552 # ... but there are two gotchas:
5553 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5554 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5555 # In both cases, we have to default to `cp -pR'.
5556 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5558 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5566 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5567 rmdir conf$$.dir
2>/dev
/null
5572 # Create "$as_dir" as a directory, including parents if necessary.
5577 -*) as_dir
=.
/$as_dir;;
5579 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5583 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5584 *) as_qdir
=$as_dir;;
5586 as_dirs
="'$as_qdir' $as_dirs"
5587 as_dir
=`$as_dirname -- "$as_dir" ||
5588 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5589 X"$as_dir" : 'X\(//\)[^/]' \| \
5590 X"$as_dir" : 'X\(//\)$' \| \
5591 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5592 $as_echo X"$as_dir" |
5593 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5610 test -d "$as_dir" && break
5612 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5613 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
5617 if mkdir
-p .
2>/dev
/null
; then
5618 as_mkdir_p
='mkdir -p "$as_dir"'
5620 test -d .
/-p && rmdir .
/-p
5625 # as_fn_executable_p FILE
5626 # -----------------------
5627 # Test if FILE is an executable regular file.
5628 as_fn_executable_p
()
5630 test -f "$1" && test -x "$1"
5631 } # as_fn_executable_p
5633 as_executable_p
=as_fn_executable_p
5635 # Sed expression to map a string onto a valid CPP name.
5636 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5638 # Sed expression to map a string onto a valid variable name.
5639 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5643 ## ----------------------------------- ##
5644 ## Main body of $CONFIG_STATUS script. ##
5645 ## ----------------------------------- ##
5647 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5650 # Save the log message, to keep $0 and so on meaningful, and to
5651 # report actual input values of CONFIG_FILES etc. instead of their
5652 # values after options handling.
5654 This file was extended by $as_me, which was
5655 generated by GNU Autoconf 2.69. Invocation command line was
5657 CONFIG_FILES = $CONFIG_FILES
5658 CONFIG_HEADERS = $CONFIG_HEADERS
5659 CONFIG_LINKS = $CONFIG_LINKS
5660 CONFIG_COMMANDS = $CONFIG_COMMANDS
5663 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5668 case $ac_config_files in *"
5669 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5675 # Files that config.status was made for.
5676 config_files="$ac_config_files"
5680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5682 \`$as_me' instantiates files and other configuration actions
5683 from templates according to the current configuration. Unless the files
5684 and actions are specified as TAGs, all are instantiated by default.
5686 Usage: $0 [OPTION]... [TAG]...
5688 -h, --help print this help, then exit
5689 -V, --version print version number and configuration settings, then exit
5690 --config print configuration, then exit
5691 -q, --quiet, --silent
5692 do not print progress messages
5693 -d, --debug don't remove temporary files
5694 --recheck update $as_me by reconfiguring in the same conditions
5695 --file=FILE[:TEMPLATE]
5696 instantiate the configuration file FILE
5698 Configuration files:
5701 Report bugs to the package provider."
5704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5705 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5708 configured by $0, generated by GNU Autoconf 2.69,
5709 with options \\"\$ac_cs_config\\"
5711 Copyright (C) 2012 Free Software Foundation, Inc.
5712 This config.status script is free software; the Free Software Foundation
5713 gives unlimited permission to copy, distribute and modify it."
5717 test -n "\$AWK" || AWK=awk
5720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5721 # The default lists apply if the user does not specify any file.
5727 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5728 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5732 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5744 # Handling of the options.
5745 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5747 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5748 $as_echo "$ac_cs_version"; exit ;;
5749 --config |
--confi |
--conf |
--con |
--co |
--c )
5750 $as_echo "$ac_cs_config"; exit ;;
5751 --debug |
--debu |
--deb |
--de |
--d |
-d )
5753 --file |
--fil |
--fi |
--f )
5756 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5757 '') as_fn_error $?
"missing file argument" ;;
5759 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5760 ac_need_defaults
=false
;;
5761 --he |
--h |
--help |
--hel |
-h )
5762 $as_echo "$ac_cs_usage"; exit ;;
5763 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5764 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5768 -*) as_fn_error $?
"unrecognized option: \`$1'
5769 Try \`$0 --help' for more information." ;;
5771 *) as_fn_append ac_config_targets
" $1"
5772 ac_need_defaults
=false
;;
5778 ac_configure_extra_args
=
5780 if $ac_cs_silent; then
5782 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5786 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5787 if \$ac_cs_recheck; then
5788 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5790 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5791 CONFIG_SHELL='$SHELL'
5797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5801 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5802 ## Running $as_me. ##
5808 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5813 # Handling of arguments.
5814 for ac_config_target
in $ac_config_targets
5816 case $ac_config_target in
5817 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
5819 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5824 # If the user did not use the arguments to specify the items to instantiate,
5825 # then the envvar interface is used. Set only those that are not.
5826 # We use the long form for the default assignment because of an extremely
5827 # bizarre bug on SunOS 4.1.3.
5828 if $ac_need_defaults; then
5829 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5832 # Have a temporary directory for convenience. Make it in the build tree
5833 # simply because there is no reason against having it here, and in addition,
5834 # creating and moving files from /tmp can sometimes cause problems.
5835 # Hook for its removal unless debugging.
5836 # Note that there is a small window in which the directory will not be cleaned:
5837 # after its creation but before its name has been assigned to `$tmp'.
5841 trap 'exit_status=$?
5843 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5845 trap 'as_fn_exit 1' 1 2 13 15
5847 # Create a (secure) tmp directory for tmp files.
5850 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5854 tmp
=.
/conf$$
-$RANDOM
5855 (umask 077 && mkdir
"$tmp")
5856 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5859 # Set up the scripts for CONFIG_FILES section.
5860 # No need to generate them if there are no CONFIG_FILES.
5861 # This happens for instance with `./config.status config.h'.
5862 if test -n "$CONFIG_FILES"; then
5865 ac_cr
=`echo X | tr X '\015'`
5866 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5867 # But we know of no other shell where ac_cr would be empty at this
5868 # point, so we can use a bashism as a fallback.
5869 if test "x$ac_cr" = x
; then
5870 eval ac_cr
=\$
\'\\r
\'
5872 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5873 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5879 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5884 echo "cat >conf$$subs.awk <<_ACEOF" &&
5885 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5888 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5889 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5891 for ac_last_try in false false false false false :; do
5892 . ./conf$$subs.sh ||
5893 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5895 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5896 if test $ac_delim_n = $ac_delim_num; then
5898 elif $ac_last_try; then
5899 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5901 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5906 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5907 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
5911 s/^/S["/; s
/!.
*/"]=/
5921 s/\(.\{148\}\)..*/\1/
5923 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5928 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5935 s/\(.\{148\}\)..*/\1/
5937 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5941 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5946 ' <conf$$subs.awk | sed '
5951 ' >>$CONFIG_STATUS || ac_write_fail=1
5952 rm -f conf$$subs.awk
5953 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5955 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5956 for (key in S) S_is_set[key] = 1
5962 nfields = split(line, field, "@
")
5964 len = length(field[1])
5965 for (i = 2; i < nfields; i++) {
5967 keylen = length(key)
5968 if (S_is_set[key]) {
5970 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5971 len += length(value) + length(field[++i])
5982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5983 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5984 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5987 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5988 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5991 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5992 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5993 # trailing colons and then remove the whole line if VPATH becomes empty
5994 # (actually we leave an empty line to preserve line numbers).
5995 if test "x
$srcdir" = x.; then
5996 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6015 fi # test -n "$CONFIG_FILES"
6018 eval set X " :F
$CONFIG_FILES "
6023 :[FHLC]) ac_mode=$ac_tag; continue;;
6025 case $ac_mode$ac_tag in
6027 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
6028 :[FH]-) ac_tag=-:-;;
6029 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6046 -) ac_f="$ac_tmp/stdin";;
6047 *) # Look for the file first in the build tree, then in the source tree
6048 # (if the path is not absolute). The absolute path cannot be DOS-style,
6049 # because $ac_f cannot contain `:'.
6053 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6055 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6057 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
6058 as_fn_append ac_file_inputs " '$ac_f'"
6061 # Let's still pretend it is `configure' which instantiates (i.e., don't
6062 # use $as_me), people would be surprised to read:
6063 # /* config.h. Generated by config.status. */
6064 configure_input='Generated from '`
6065 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6067 if test x"$ac_file" != x-; then
6068 configure_input="$ac_file.
$configure_input"
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
6070 $as_echo "$as_me: creating
$ac_file" >&6;}
6072 # Neutralize special characters interpreted by sed in replacement strings.
6073 case $configure_input in #(
6074 *\&* | *\|* | *\\* )
6075 ac_sed_conf_input=`$as_echo "$configure_input" |
6076 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6077 *) ac_sed_conf_input=$configure_input;;
6081 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
6082 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
6087 ac_dir=`$as_dirname -- "$ac_file" ||
6088 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6089 X"$ac_file" : 'X\(//\)[^/]' \| \
6090 X"$ac_file" : 'X\(//\)$' \| \
6091 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6092 $as_echo X"$ac_file" |
6093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6110 as_dir="$ac_dir"; as_fn_mkdir_p
6114 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6116 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6117 # A "..
" for each directory in $ac_dir_suffix.
6118 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6119 case $ac_top_builddir_sub in
6120 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6121 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6124 ac_abs_top_builddir=$ac_pwd
6125 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6126 # for backward compatibility:
6127 ac_top_builddir=$ac_top_build_prefix
6130 .) # We are building in place.
6132 ac_top_srcdir=$ac_top_builddir_sub
6133 ac_abs_top_srcdir=$ac_pwd ;;
6134 [\\/]* | ?:[\\/]* ) # Absolute name.
6135 ac_srcdir=$srcdir$ac_dir_suffix;
6136 ac_top_srcdir=$srcdir
6137 ac_abs_top_srcdir=$srcdir ;;
6139 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6140 ac_top_srcdir=$ac_top_build_prefix$srcdir
6141 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6143 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6155 # If the template does not know about datarootdir, expand it.
6156 # FIXME: This hack should be removed a few years after 2.60.
6157 ac_datarootdir_hack=; ac_datarootdir_seen=
6168 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
6169 *datarootdir*) ac_datarootdir_seen=yes;;
6170 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
6172 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
6174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6175 ac_datarootdir_hack='
6176 s&@datadir@&$datadir&g
6177 s&@docdir@&$docdir&g
6178 s&@infodir@&$infodir&g
6179 s&@localedir@&$localedir&g
6180 s&@mandir@&$mandir&g
6181 s&\\\${datarootdir}&$datarootdir&g' ;;
6185 # Neutralize VPATH when `$srcdir' = `.'.
6186 # Shell code in configure.ac might set extrasub.
6187 # FIXME: do we really want to maintain this feature?
6188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6189 ac_sed_extra="$ac_vpsub
6192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6194 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6195 s|@configure_input@|
$ac_sed_conf_input|
;t t
6196 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6197 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6198 s
&@srcdir@
&$ac_srcdir&;t t
6199 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6200 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6201 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6202 s
&@builddir@
&$ac_builddir&;t t
6203 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6204 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6205 $ac_datarootdir_hack
6207 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6208 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6210 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6211 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6212 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6213 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6215 which seems to be undefined. Please make sure it is defined" >&5
6216 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6217 which seems to be undefined. Please make sure it is defined" >&2;}
6219 rm -f "$ac_tmp/stdin"
6221 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6222 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6224 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6236 ac_clean_files=$ac_clean_files_save
6238 test $ac_write_fail = 0 ||
6239 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6242 # configure is writing to config.log, and then calls config.status.
6243 # config.status does its own redirection, appending to config.log.
6244 # Unfortunately, on DOS this fails, as config.log is still kept open
6245 # by configure, so config.status won't be able to
write to it
; its
6246 # output is simply discarded. So we exec the FD to /dev/null,
6247 # effectively closing config.log, so it can be properly (re)opened and
6248 # appended to by config.status. When coming back to configure, we
6249 # need to make the FD available again.
6250 if test "$no_create" != yes; then
6252 ac_config_status_args
=
6253 test "$silent" = yes &&
6254 ac_config_status_args
="$ac_config_status_args --quiet"
6256 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6258 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6259 # would make configure fail if this is the last instruction.
6260 $ac_cs_success || as_fn_exit
1
6262 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6264 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}