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_missing_field_initializers
588 aros_warnflags_missing_field_initializers
589 aros_nowarnflags_shift_negative_value
590 aros_warnflags_shift_negative_value
591 aros_nowarnflags_format_truncation
592 aros_warnflags_format_truncation
593 aros_nowarnflags_stringop_overflow
594 aros_warnflags_stringop_overflow
595 aros_nowarnflags_empty_body
596 aros_warnflags_empty_body
597 aros_nowarnflags_tautological_compare
598 aros_warnflags_tautological_compare
599 aros_nowarnflags_lto_type_mismatch
600 aros_warnflags_lto_type_mismatch
601 aros_nowarnflags_format_zero_length
602 aros_warnflags_format_zero_length
603 aros_nowarnflags_return_type
604 aros_warnflags_return_type
605 aros_nowarnflags_sizeof_pointer_memaccess
606 aros_warnflags_sizeof_pointer_memaccess
607 aros_nowarnflags_volatile_register_var
608 aros_warnflags_volatile_register_var
609 aros_nowarnflags_narrowing
610 aros_warnflags_narrowing
611 aros_nowarnflags_conversion_null
612 aros_warnflags_conversion_null
613 aros_nowarnflags_missing_braces
614 aros_warnflags_missing_braces
615 aros_nowarnflags_unused_local_typedefs
616 aros_warnflags_unused_local_typedefs
617 aros_nowarnflags_overflow
618 aros_warnflags_overflow
619 aros_nowarnflags_attributes
620 aros_warnflags_attributes
621 aros_nowarnflags_sign_compare
622 aros_warnflags_sign_compare
623 aros_nowarnflags_deprecated_declarations
624 aros_warnflags_deprecated_declarations
625 aros_nowarnflags_frame_address
626 aros_warnflags_frame_address
627 aros_nowarnflags_shift_overflow
628 aros_warnflags_shift_overflow
629 aros_nowarnflags_pointer_sign
630 aros_warnflags_pointer_sign
631 aros_nowarnflags_logical_not_parentheses
632 aros_warnflags_logical_not_parentheses
633 aros_nowarnflags_bool_compare
634 aros_warnflags_bool_compare
635 aros_nowarnflags_incompatible_pointer_types
636 aros_warnflags_incompatible_pointer_types
637 aros_nowarnflags_comment
638 aros_warnflags_comment
639 aros_nowarnflags_write_strings
640 aros_warnflags_write_strings
641 aros_nowarnflags_unused_const_variable
642 aros_warnflags_unused_const_variable
643 aros_nowarnflags_pointer_to_int_cast
644 aros_warnflags_pointer_to_int_cast
645 aros_nowarnflags_int_to_pointer_cast
646 aros_warnflags_int_to_pointer_cast
647 aros_nowarnflags_int_conversion
648 aros_warnflags_int_conversion
649 aros_nowarnflags_discarded_array_qualifiers
650 aros_warnflags_discarded_array_qualifiers
651 aros_nowarnflags_unknown_pragmas
652 aros_warnflags_unknown_pragmas
653 aros_nowarnflags_sequence_point
654 aros_warnflags_sequence_point
655 aros_nowarnflags_discarded_qualifiers
656 aros_warnflags_discarded_qualifiers
657 aros_nowarnflags_switch
658 aros_warnflags_switch
661 aros_nowarnflags_aggressive_loop_optimizations
662 aros_warnflags_aggressive_loop_optimizations
663 aros_nowarnflags_implicit_int
664 aros_warnflags_implicit_int
665 aros_nowarnflags_format_contains_nul
666 aros_warnflags_format_contains_nul
667 aros_nowarnflags_endif_labels
668 aros_warnflags_endif_labels
669 aros_nowarnflags_char_subscripts
670 aros_warnflags_char_subscripts
671 aros_nowarnflags_parentheses
672 aros_warnflags_parentheses
673 aros_nowarnflags_format
674 aros_warnflags_format
675 aros_nowarnflags_implicit_function_declaration
676 aros_warnflags_implicit_function_declaration
677 aros_nowarnflags_maybe_uninitialized
678 aros_warnflags_maybe_uninitialized
679 aros_nowarnflags_uninitialized
680 aros_warnflags_uninitialized
681 aros_nowarnflags_unused_parameter
682 aros_warnflags_unused_parameter
683 aros_nowarnflags_unused_function
684 aros_warnflags_unused_function
685 aros_nowarnflags_unused_variable
686 aros_warnflags_unused_variable
687 aros_nowarnflags_unused_value
688 aros_warnflags_unused_value
689 aros_nowarnflags_unused_label
690 aros_warnflags_unused_label
691 aros_nowarnflags_unused
692 aros_warnflags_unused
693 aros_nowarnflags_nonnull_compare
694 aros_warnflags_nonnull_compare
695 aros_nowarnflags_misleading_indentation
696 aros_warnflags_misleading_indentation
697 aros_nowarnflags_format_security
698 aros_warnflags_format_security
699 aros_nowarnflags_strict_overflow
700 aros_warnflags_strict_overflow
701 aros_nowarnflags_strict_prototypes
702 aros_warnflags_strict_prototypes
703 aros_nowarnflags_enum_compare
704 aros_warnflags_enum_compare
705 aros_nowarnflags_array_bounds
706 aros_warnflags_array_bounds
707 aros_nowarnflags_strict_aliasing
708 aros_warnflags_strict_aliasing
709 aros_nowarnflags_unused_but_set_variable
710 aros_warnflags_unused_but_set_variable
711 aros_nowarnflags_unknown_warning_option
712 aros_warnflags_unknown_warning_option
713 aros_nowarnflags_unused_command_line_argument
714 aros_warnflags_unused_command_line_argument
715 aros_nowarnflags_error
717 aros_cflags_no_red_zone
718 aros_cflags_iquote_end
722 aros_cflags_noinlinesmallfunctions
723 aros_cflags_inlinesmallfunctions
724 aros_cflags_nostrictaliasing
725 aros_cflags_strictaliasing
726 aros_cflags_unroll_loops
727 aros_cflags_peel_loops
728 aros_cflags_loop_strip_mine
729 aros_cflags_loop_interchange
730 aros_cflags_loop_block
731 aros_cflags_whole_program
734 aros_cflags_no_builtin_floor
735 aros_cflags_fast_math
736 aros_cflags_permissive
737 aros_cflags_exceptions
772 program_transform_name
785 enable_option_checking
788 ac_precious_vars
='build_alias
798 # Initialize some variables set by options.
800 ac_init_version
=false
801 ac_unrecognized_opts
=
803 # The variables have the same names as the options, with
804 # dashes changed to underlines.
812 program_transform_name
=s
,x
,x
,
820 # Installation directory options.
821 # These are left unexpanded so users can "make install exec_prefix=/foo"
822 # and all the variables that are supposed to be based on exec_prefix
823 # by default will actually change.
824 # Use braces instead of parens because sh, perl, etc. also accept them.
825 # (The list follows the same order as the GNU Coding Standards.)
826 bindir
='${exec_prefix}/bin'
827 sbindir
='${exec_prefix}/sbin'
828 libexecdir
='${exec_prefix}/libexec'
829 datarootdir
='${prefix}/share'
830 datadir
='${datarootdir}'
831 sysconfdir
='${prefix}/etc'
832 sharedstatedir
='${prefix}/com'
833 localstatedir
='${prefix}/var'
834 includedir
='${prefix}/include'
835 oldincludedir
='/usr/include'
836 docdir
='${datarootdir}/doc/${PACKAGE}'
837 infodir
='${datarootdir}/info'
842 libdir
='${exec_prefix}/lib'
843 localedir
='${datarootdir}/locale'
844 mandir
='${datarootdir}/man'
850 # If the previous option needs an argument, assign it.
851 if test -n "$ac_prev"; then
852 eval $ac_prev=\
$ac_option
858 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
863 # Accept the important Cygnus configure options, so we can diagnose typos.
865 case $ac_dashdash$ac_option in
869 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
871 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
874 -build |
--build |
--buil |
--bui |
--bu)
875 ac_prev
=build_alias
;;
876 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
877 build_alias
=$ac_optarg ;;
879 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
880 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
881 ac_prev
=cache_file
;;
882 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
883 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
884 cache_file
=$ac_optarg ;;
887 cache_file
=config.cache
;;
889 -datadir |
--datadir |
--datadi |
--datad)
891 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
892 datadir
=$ac_optarg ;;
894 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
895 |
--dataroo |
--dataro |
--datar)
896 ac_prev
=datarootdir
;;
897 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
898 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
899 datarootdir
=$ac_optarg ;;
901 -disable-* |
--disable-*)
902 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
903 # Reject names that are not valid shell variable names.
904 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
905 as_fn_error $?
"invalid feature name: $ac_useropt"
906 ac_useropt_orig
=$ac_useropt
907 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
908 case $ac_user_opts in
912 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
913 ac_unrecognized_sep
=', ';;
915 eval enable_
$ac_useropt=no
;;
917 -docdir |
--docdir |
--docdi |
--doc |
--do)
919 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
922 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
924 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
927 -enable-* |
--enable-*)
928 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
929 # Reject names that are not valid shell variable names.
930 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
931 as_fn_error $?
"invalid feature name: $ac_useropt"
932 ac_useropt_orig
=$ac_useropt
933 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
934 case $ac_user_opts in
938 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
939 ac_unrecognized_sep
=', ';;
941 eval enable_
$ac_useropt=\
$ac_optarg ;;
943 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
944 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
945 |
--exec |
--exe |
--ex)
946 ac_prev
=exec_prefix
;;
947 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
948 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
949 |
--exec=* |
--exe=* |
--ex=*)
950 exec_prefix
=$ac_optarg ;;
952 -gas |
--gas |
--ga |
--g)
953 # Obsolete; use --with-gas.
956 -help |
--help |
--hel |
--he |
-h)
958 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
959 ac_init_help
=recursive
;;
960 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
961 ac_init_help
=short
;;
963 -host |
--host |
--hos |
--ho)
964 ac_prev
=host_alias
;;
965 -host=* |
--host=* |
--hos=* |
--ho=*)
966 host_alias
=$ac_optarg ;;
968 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
970 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
972 htmldir
=$ac_optarg ;;
974 -includedir |
--includedir |
--includedi |
--included |
--include \
975 |
--includ |
--inclu |
--incl |
--inc)
976 ac_prev
=includedir
;;
977 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
978 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
979 includedir
=$ac_optarg ;;
981 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
983 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
984 infodir
=$ac_optarg ;;
986 -libdir |
--libdir |
--libdi |
--libd)
988 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
991 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
992 |
--libexe |
--libex |
--libe)
993 ac_prev
=libexecdir
;;
994 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
995 |
--libexe=* |
--libex=* |
--libe=*)
996 libexecdir
=$ac_optarg ;;
998 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1000 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1001 localedir
=$ac_optarg ;;
1003 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1004 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1005 ac_prev
=localstatedir
;;
1006 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1007 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1008 localstatedir
=$ac_optarg ;;
1010 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1012 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1013 mandir
=$ac_optarg ;;
1015 -nfp |
--nfp |
--nf)
1016 # Obsolete; use --without-fp.
1019 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1020 |
--no-cr |
--no-c |
-n)
1023 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1024 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1027 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1028 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1029 |
--oldin |
--oldi |
--old |
--ol |
--o)
1030 ac_prev
=oldincludedir
;;
1031 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1032 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1033 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1034 oldincludedir
=$ac_optarg ;;
1036 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1038 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1039 prefix
=$ac_optarg ;;
1041 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1042 |
--program-pre |
--program-pr |
--program-p)
1043 ac_prev
=program_prefix
;;
1044 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1045 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1046 program_prefix
=$ac_optarg ;;
1048 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1049 |
--program-suf |
--program-su |
--program-s)
1050 ac_prev
=program_suffix
;;
1051 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1052 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1053 program_suffix
=$ac_optarg ;;
1055 -program-transform-name |
--program-transform-name \
1056 |
--program-transform-nam |
--program-transform-na \
1057 |
--program-transform-n |
--program-transform- \
1058 |
--program-transform |
--program-transfor \
1059 |
--program-transfo |
--program-transf \
1060 |
--program-trans |
--program-tran \
1061 |
--progr-tra |
--program-tr |
--program-t)
1062 ac_prev
=program_transform_name
;;
1063 -program-transform-name=* |
--program-transform-name=* \
1064 |
--program-transform-nam=* |
--program-transform-na=* \
1065 |
--program-transform-n=* |
--program-transform-=* \
1066 |
--program-transform=* |
--program-transfor=* \
1067 |
--program-transfo=* |
--program-transf=* \
1068 |
--program-trans=* |
--program-tran=* \
1069 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1070 program_transform_name
=$ac_optarg ;;
1072 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1074 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1075 pdfdir
=$ac_optarg ;;
1077 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1079 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1082 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1083 |
-silent |
--silent |
--silen |
--sile |
--sil)
1086 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1088 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1090 sbindir
=$ac_optarg ;;
1092 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1093 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1094 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1096 ac_prev
=sharedstatedir
;;
1097 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1098 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1099 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1101 sharedstatedir
=$ac_optarg ;;
1103 -site |
--site |
--sit)
1105 -site=* |
--site=* |
--sit=*)
1108 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1110 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1111 srcdir
=$ac_optarg ;;
1113 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1114 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1115 ac_prev
=sysconfdir
;;
1116 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1117 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1118 sysconfdir
=$ac_optarg ;;
1120 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1121 ac_prev
=target_alias
;;
1122 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1123 target_alias
=$ac_optarg ;;
1125 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1128 -version |
--version |
--versio |
--versi |
--vers |
-V)
1129 ac_init_version
=: ;;
1132 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1133 # Reject names that are not valid shell variable names.
1134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1135 as_fn_error $?
"invalid package name: $ac_useropt"
1136 ac_useropt_orig
=$ac_useropt
1137 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1138 case $ac_user_opts in
1142 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1143 ac_unrecognized_sep
=', ';;
1145 eval with_
$ac_useropt=\
$ac_optarg ;;
1147 -without-* |
--without-*)
1148 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1149 # Reject names that are not valid shell variable names.
1150 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1151 as_fn_error $?
"invalid package name: $ac_useropt"
1152 ac_useropt_orig
=$ac_useropt
1153 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1154 case $ac_user_opts in
1158 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1159 ac_unrecognized_sep
=', ';;
1161 eval with_
$ac_useropt=no
;;
1164 # Obsolete; use --with-x.
1167 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1168 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1169 ac_prev
=x_includes
;;
1170 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1171 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1172 x_includes
=$ac_optarg ;;
1174 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1175 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1176 ac_prev
=x_libraries
;;
1177 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1178 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1179 x_libraries
=$ac_optarg ;;
1181 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1182 Try \`$0 --help' for more information"
1186 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1187 # Reject names that are not valid shell variable names.
1188 case $ac_envvar in #(
1189 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1190 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1192 eval $ac_envvar=\
$ac_optarg
1193 export $ac_envvar ;;
1196 # FIXME: should be removed in autoconf 3.0.
1197 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1198 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1199 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1200 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1206 if test -n "$ac_prev"; then
1207 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1208 as_fn_error $?
"missing argument to $ac_option"
1211 if test -n "$ac_unrecognized_opts"; then
1212 case $enable_option_checking in
1214 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1215 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1219 # Check all directory arguments for consistency.
1220 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1221 datadir sysconfdir sharedstatedir localstatedir includedir \
1222 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1223 libdir localedir mandir
1225 eval ac_val
=\$
$ac_var
1226 # Remove trailing slashes.
1229 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1230 eval $ac_var=\
$ac_val;;
1232 # Be sure to have absolute directory names.
1234 [\\/$
]* | ?
:[\\/]* ) continue;;
1235 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1237 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1240 # There might be people who depend on the old broken behavior: `$host'
1241 # used to hold the argument of --host etc.
1242 # FIXME: To remove some day.
1245 target
=$target_alias
1247 # FIXME: To remove some day.
1248 if test "x$host_alias" != x
; then
1249 if test "x$build_alias" = x
; then
1250 cross_compiling
=maybe
1251 elif test "x$build_alias" != "x$host_alias"; then
1257 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1259 test "$silent" = yes && exec 6>/dev
/null
1262 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1263 ac_ls_di
=`ls -di .` &&
1264 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1265 as_fn_error $?
"working directory cannot be determined"
1266 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1267 as_fn_error $?
"pwd does not report name of working directory"
1270 # Find the source files, if location was not specified.
1271 if test -z "$srcdir"; then
1272 ac_srcdir_defaulted
=yes
1273 # Try the directory containing this script, then the parent directory.
1274 ac_confdir
=`$as_dirname -- "$as_myself" ||
1275 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1276 X"$as_myself" : 'X\(//\)[^/]' \| \
1277 X"$as_myself" : 'X\(//\)$' \| \
1278 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1279 $as_echo X"$as_myself" |
1280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1298 if test ! -r "$srcdir/$ac_unique_file"; then
1302 ac_srcdir_defaulted
=no
1304 if test ! -r "$srcdir/$ac_unique_file"; then
1305 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1306 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1308 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1310 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1312 # When building in place, set srcdir=.
1313 if test "$ac_abs_confdir" = "$ac_pwd"; then
1316 # Remove unnecessary trailing slashes from srcdir.
1317 # Double slashes in file names in object file debugging info
1318 # mess up M-x gdb in Emacs.
1320 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1322 for ac_var
in $ac_precious_vars; do
1323 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1324 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1325 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1326 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1330 # Report the --help message.
1332 if test "$ac_init_help" = "long"; then
1333 # Omit some internal or obsolete options to make the list less imposing.
1334 # This message is too long to be a string in the A/UX 3.1 sh.
1336 \`configure' configures this package to adapt to many kinds of systems.
1338 Usage: $0 [OPTION]... [VAR=VALUE]...
1340 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1341 VAR=VALUE. See below for descriptions of some of the useful variables.
1343 Defaults for the options are specified in brackets.
1346 -h, --help display this help and exit
1347 --help=short display options specific to this package
1348 --help=recursive display the short help of all the included packages
1349 -V, --version display version information and exit
1350 -q, --quiet, --silent do not print \`checking ...' messages
1351 --cache-file=FILE cache test results in FILE [disabled]
1352 -C, --config-cache alias for \`--cache-file=config.cache'
1353 -n, --no-create do not create output files
1354 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1356 Installation directories:
1357 --prefix=PREFIX install architecture-independent files in PREFIX
1358 [$ac_default_prefix]
1359 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1362 By default, \`make install' will install all the files in
1363 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1364 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1365 for instance \`--prefix=\$HOME'.
1367 For better control, use the options below.
1369 Fine tuning of the installation directories:
1370 --bindir=DIR user executables [EPREFIX/bin]
1371 --sbindir=DIR system admin executables [EPREFIX/sbin]
1372 --libexecdir=DIR program executables [EPREFIX/libexec]
1373 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1374 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1375 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1376 --libdir=DIR object code libraries [EPREFIX/lib]
1377 --includedir=DIR C header files [PREFIX/include]
1378 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1379 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1380 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1381 --infodir=DIR info documentation [DATAROOTDIR/info]
1382 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1383 --mandir=DIR man documentation [DATAROOTDIR/man]
1384 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1385 --htmldir=DIR html documentation [DOCDIR]
1386 --dvidir=DIR dvi documentation [DOCDIR]
1387 --pdfdir=DIR pdf documentation [DOCDIR]
1388 --psdir=DIR ps documentation [DOCDIR]
1395 if test -n "$ac_init_help"; then
1400 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1401 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1402 --with-config-dir=VERSION
1403 Location of generated target config files
1405 Some influential environment variables
:
1406 CC C compiler
command
1407 CFLAGS C compiler flags
1408 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1409 nonstandard directory
<lib dir
>
1410 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1411 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1412 you have headers
in a nonstandard directory
<include dir
>
1414 Use these variables to override the choices made by
`configure' or to help
1415 it to find libraries and programs with nonstandard names/locations.
1417 Report bugs to the package provider.
1422 if test "$ac_init_help" = "recursive"; then
1423 # If there are subdirs, report their specific --help.
1424 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1425 test -d "$ac_dir" ||
1426 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1431 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1433 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1434 # A ".." for each directory in $ac_dir_suffix.
1435 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1436 case $ac_top_builddir_sub in
1437 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1438 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1441 ac_abs_top_builddir=$ac_pwd
1442 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1443 # for backward compatibility:
1444 ac_top_builddir=$ac_top_build_prefix
1447 .) # We are building in place.
1449 ac_top_srcdir=$ac_top_builddir_sub
1450 ac_abs_top_srcdir=$ac_pwd ;;
1451 [\\/]* | ?:[\\/]* ) # Absolute name.
1452 ac_srcdir=$srcdir$ac_dir_suffix;
1453 ac_top_srcdir=$srcdir
1454 ac_abs_top_srcdir=$srcdir ;;
1456 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1457 ac_top_srcdir=$ac_top_build_prefix$srcdir
1458 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1460 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1462 cd "$ac_dir" || { ac_status=$?; continue; }
1463 # Check for guested configure.
1464 if test -f "$ac_srcdir/configure.gnu"; then
1466 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1467 elif test -f "$ac_srcdir/configure"; then
1469 $SHELL "$ac_srcdir/configure" --help=recursive
1471 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1473 cd "$ac_pwd" || { ac_status=$?; break; }
1477 test -n "$ac_init_help" && exit $ac_status
1478 if $ac_init_version; then
1481 generated by GNU Autoconf 2.69
1483 Copyright (C) 2012 Free Software Foundation, Inc.
1484 This configure script is free software; the Free Software Foundation
1485 gives unlimited permission to copy, distribute and modify it.
1490 ## ------------------------ ##
1491 ## Autoconf initialization. ##
1492 ## ------------------------ ##
1494 # ac_fn_c_try_compile LINENO
1495 # --------------------------
1496 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1497 ac_fn_c_try_compile ()
1499 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1500 rm -f conftest.$ac_objext
1501 if { { ac_try="$ac_compile"
1503 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1504 *) ac_try_echo
=$ac_try;;
1506 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1507 $as_echo "$ac_try_echo"; } >&5
1508 (eval "$ac_compile") 2>conftest.err
1510 if test -s conftest.err
; then
1511 grep -v '^ *+' conftest.err
>conftest.er1
1512 cat conftest.er1
>&5
1513 mv -f conftest.er1 conftest.err
1515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1516 test $ac_status = 0; } && {
1517 test -z "$ac_c_werror_flag" ||
1518 test ! -s conftest.err
1519 } && test -s conftest.
$ac_objext; then :
1522 $as_echo "$as_me: failed program was:" >&5
1523 sed 's/^/| /' conftest.
$ac_ext >&5
1527 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1528 as_fn_set_status
$ac_retval
1530 } # ac_fn_c_try_compile
1531 cat >config.log
<<_ACEOF
1532 This file contains any messages produced by compilers while
1533 running configure, to aid debugging if configure makes a mistake.
1535 It was created by $as_me, which was
1536 generated by GNU Autoconf 2.69. Invocation command line was
1548 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1549 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1550 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1551 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1552 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1554 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1555 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1557 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1558 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1559 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1560 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1561 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1562 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1563 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1571 test -z "$as_dir" && as_dir
=.
1572 $as_echo "PATH: $as_dir"
1588 # Keep a trace of the command line.
1589 # Strip out --no-create and --no-recursion so they do not pile up.
1590 # Strip out --silent because we don't want to record it for future runs.
1591 # Also quote any args containing shell meta-characters.
1592 # Make two passes to allow for proper duplicate-argument suppression.
1596 ac_must_keep_next
=false
1602 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1603 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1604 |
-silent |
--silent |
--silen |
--sile |
--sil)
1607 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1610 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1612 as_fn_append ac_configure_args1
" '$ac_arg'"
1613 if test $ac_must_keep_next = true
; then
1614 ac_must_keep_next
=false
# Got value, back to normal.
1617 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1618 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1619 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1620 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1621 case "$ac_configure_args0 " in
1622 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1625 -* ) ac_must_keep_next
=true
;;
1628 as_fn_append ac_configure_args
" '$ac_arg'"
1633 { ac_configure_args0
=; unset ac_configure_args0
;}
1634 { ac_configure_args1
=; unset ac_configure_args1
;}
1636 # When interrupted or exit'd, cleanup temporary files, and complete
1637 # config.log. We remove comments because anyway the quotes in there
1638 # would cause problems or look ugly.
1639 # WARNING: Use '\'' to represent an apostrophe within the trap.
1640 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1641 trap 'exit_status=$?
1642 # Save into config.log some information that might help in debugging.
1646 $as_echo "## ---------------- ##
1647 ## Cache variables. ##
1648 ## ---------------- ##"
1650 # The following way of writing the cache mishandles newlines in values,
1652 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1653 eval ac_val=\$$ac_var
1657 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1658 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1661 _ | IFS | as_nl) ;; #(
1662 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1663 *) { eval $ac_var=; unset $ac_var;} ;;
1668 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1669 *${as_nl}ac_space=\ *)
1671 "s/'\''/'\''\\\\'\'''\''/g;
1672 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1675 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1682 $as_echo "## ----------------- ##
1683 ## Output variables. ##
1684 ## ----------------- ##"
1686 for ac_var in $ac_subst_vars
1688 eval ac_val=\$$ac_var
1690 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1692 $as_echo "$ac_var='\''$ac_val'\''"
1696 if test -n "$ac_subst_files"; then
1697 $as_echo "## ------------------- ##
1698 ## File substitutions. ##
1699 ## ------------------- ##"
1701 for ac_var
in $ac_subst_files
1703 eval ac_val
=\$
$ac_var
1705 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1707 $as_echo "$ac_var='\''$ac_val'\''"
1712 if test -s confdefs.h; then
1713 $as_echo "## ----------- ##
1720 test "$ac_signal" != 0 &&
1721 $as_echo "$as_me: caught signal $ac_signal"
1722 $as_echo "$as_me: exit $exit_status"
1724 rm -f core *.core core.conftest.* &&
1725 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1728 for ac_signal
in 1 2 13 15; do
1729 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1733 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1734 rm -f -r conftest
* confdefs.h
1736 $as_echo "/* confdefs.h */" > confdefs.h
1738 # Predefined preprocessor variables.
1740 cat >>confdefs.h
<<_ACEOF
1741 #define PACKAGE_NAME "$PACKAGE_NAME"
1744 cat >>confdefs.h
<<_ACEOF
1745 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1748 cat >>confdefs.h
<<_ACEOF
1749 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1752 cat >>confdefs.h
<<_ACEOF
1753 #define PACKAGE_STRING "$PACKAGE_STRING"
1756 cat >>confdefs.h
<<_ACEOF
1757 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1760 cat >>confdefs.h
<<_ACEOF
1761 #define PACKAGE_URL "$PACKAGE_URL"
1765 # Let the site file select an alternate cache file if it wants to.
1766 # Prefer an explicitly selected file to automatically selected ones.
1769 if test -n "$CONFIG_SITE"; then
1770 # We do not want a PATH search for config.site.
1771 case $CONFIG_SITE in #((
1772 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1773 */*) ac_site_file1
=$CONFIG_SITE;;
1774 *) ac_site_file1
=.
/$CONFIG_SITE;;
1776 elif test "x$prefix" != xNONE
; then
1777 ac_site_file1
=$prefix/share
/config.site
1778 ac_site_file2
=$prefix/etc
/config.site
1780 ac_site_file1
=$ac_default_prefix/share
/config.site
1781 ac_site_file2
=$ac_default_prefix/etc
/config.site
1783 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1785 test "x$ac_site_file" = xNONE
&& continue
1786 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1788 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1789 sed 's/^/| /' "$ac_site_file" >&5
1791 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1792 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1793 as_fn_error $?
"failed to load site script $ac_site_file
1794 See \`config.log' for more details" "$LINENO" 5; }
1798 if test -r "$cache_file"; then
1799 # Some versions of bash will fail to source /dev/null (special files
1800 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1801 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1803 $as_echo "$as_me: loading cache $cache_file" >&6;}
1805 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1806 *) .
"./$cache_file";;
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1811 $as_echo "$as_me: creating cache $cache_file" >&6;}
1815 # Check that the precious variables saved in the cache have kept the same
1817 ac_cache_corrupted
=false
1818 for ac_var
in $ac_precious_vars; do
1819 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1820 eval ac_new_set
=\
$ac_env_${ac_var}_set
1821 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1822 eval ac_new_val
=\
$ac_env_${ac_var}_value
1823 case $ac_old_set,$ac_new_set in
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1826 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1827 ac_cache_corrupted
=: ;;
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1830 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1831 ac_cache_corrupted
=: ;;
1834 if test "x$ac_old_val" != "x$ac_new_val"; then
1835 # differences in whitespace do not lead to failure.
1836 ac_old_val_w
=`echo x $ac_old_val`
1837 ac_new_val_w
=`echo x $ac_new_val`
1838 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1840 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1841 ac_cache_corrupted
=:
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1844 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1845 eval $ac_var=\
$ac_old_val
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1848 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1850 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1853 # Pass precious variables to config.status.
1854 if test "$ac_new_set" = set; then
1856 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1857 *) ac_arg
=$ac_var=$ac_new_val ;;
1859 case " $ac_configure_args " in
1860 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1861 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1865 if $ac_cache_corrupted; then
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1869 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1870 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1872 ## -------------------- ##
1873 ## Main body of script. ##
1874 ## -------------------- ##
1877 ac_cpp
='$CPP $CPPFLAGS'
1878 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1879 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1880 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1885 for ac_dir
in ..
/scripts
/autoconf
"$srcdir"/..
/scripts
/autoconf
; do
1886 if test -f "$ac_dir/install-sh"; then
1888 ac_install_sh
="$ac_aux_dir/install-sh -c"
1890 elif test -f "$ac_dir/install.sh"; then
1892 ac_install_sh
="$ac_aux_dir/install.sh -c"
1894 elif test -f "$ac_dir/shtool"; then
1896 ac_install_sh
="$ac_aux_dir/shtool install -c"
1900 if test -z "$ac_aux_dir"; then
1901 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
1904 # These three variables are undocumented and unsupported,
1905 # and are intended to be withdrawn in a future Autoconf release.
1906 # They can cause serious problems if a builder's source tree is in a directory
1907 # whose full name contains unusual characters.
1908 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1909 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1910 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1914 AROS_BUILDDIR
=`${PWDCMD-pwd}`
1915 AROS_BUILDDIR_UNIX
=${PWD}
1917 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1920 NOLINKFLAGS
="-nostdlib -nostartfiles"
1921 LDFLAGS
=$NOLINKFLAGS
1922 # The first step is to find the binaries.
1924 ac_cpp
='$CPP $CPPFLAGS'
1925 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1926 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1927 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1928 if test -n "$ac_tool_prefix"; then
1929 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1930 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1932 $as_echo_n "checking for $ac_word... " >&6; }
1933 if ${ac_cv_prog_CC+:} false
; then :
1934 $as_echo_n "(cached) " >&6
1936 if test -n "$CC"; then
1937 ac_cv_prog_CC
="$CC" # Let the user override the test.
1939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1943 test -z "$as_dir" && as_dir
=.
1944 for ac_exec_ext
in '' $ac_executable_extensions; do
1945 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1946 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1957 if test -n "$CC"; then
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1959 $as_echo "$CC" >&6; }
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1962 $as_echo "no" >&6; }
1967 if test -z "$ac_cv_prog_CC"; then
1969 # Extract the first word of "gcc", so it can be a program name with args.
1970 set dummy gcc
; ac_word
=$2
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1972 $as_echo_n "checking for $ac_word... " >&6; }
1973 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
1974 $as_echo_n "(cached) " >&6
1976 if test -n "$ac_ct_CC"; then
1977 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1983 test -z "$as_dir" && as_dir
=.
1984 for ac_exec_ext
in '' $ac_executable_extensions; do
1985 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1986 ac_cv_prog_ac_ct_CC
="gcc"
1987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1996 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1997 if test -n "$ac_ct_CC"; then
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1999 $as_echo "$ac_ct_CC" >&6; }
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2002 $as_echo "no" >&6; }
2005 if test "x$ac_ct_CC" = x
; then
2008 case $cross_compiling:$ac_tool_warned in
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2012 ac_tool_warned
=yes ;;
2020 if test -z "$CC"; then
2021 if test -n "$ac_tool_prefix"; then
2022 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2023 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2025 $as_echo_n "checking for $ac_word... " >&6; }
2026 if ${ac_cv_prog_CC+:} false
; then :
2027 $as_echo_n "(cached) " >&6
2029 if test -n "$CC"; then
2030 ac_cv_prog_CC
="$CC" # Let the user override the test.
2032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2036 test -z "$as_dir" && as_dir
=.
2037 for ac_exec_ext
in '' $ac_executable_extensions; do
2038 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2039 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2050 if test -n "$CC"; then
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2052 $as_echo "$CC" >&6; }
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2055 $as_echo "no" >&6; }
2061 if test -z "$CC"; then
2062 # Extract the first word of "cc", so it can be a program name with args.
2063 set dummy cc
; ac_word
=$2
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2065 $as_echo_n "checking for $ac_word... " >&6; }
2066 if ${ac_cv_prog_CC+:} false
; then :
2067 $as_echo_n "(cached) " >&6
2069 if test -n "$CC"; then
2070 ac_cv_prog_CC
="$CC" # Let the user override the test.
2073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2077 test -z "$as_dir" && as_dir
=.
2078 for ac_exec_ext
in '' $ac_executable_extensions; do
2079 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2080 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2081 ac_prog_rejected
=yes
2085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2092 if test $ac_prog_rejected = yes; then
2093 # We found a bogon in the path, so make sure we never use it.
2094 set dummy
$ac_cv_prog_CC
2096 if test $# != 0; then
2097 # We chose a different compiler from the bogus one.
2098 # However, it has the same basename, so the bogon will be chosen
2099 # first if we set CC to just the basename; use the full file name.
2101 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2107 if test -n "$CC"; then
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2109 $as_echo "$CC" >&6; }
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2112 $as_echo "no" >&6; }
2117 if test -z "$CC"; then
2118 if test -n "$ac_tool_prefix"; then
2119 for ac_prog
in cl.exe
2121 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2122 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2124 $as_echo_n "checking for $ac_word... " >&6; }
2125 if ${ac_cv_prog_CC+:} false
; then :
2126 $as_echo_n "(cached) " >&6
2128 if test -n "$CC"; then
2129 ac_cv_prog_CC
="$CC" # Let the user override the test.
2131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2135 test -z "$as_dir" && as_dir
=.
2136 for ac_exec_ext
in '' $ac_executable_extensions; do
2137 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2138 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2149 if test -n "$CC"; then
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2151 $as_echo "$CC" >&6; }
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2154 $as_echo "no" >&6; }
2158 test -n "$CC" && break
2161 if test -z "$CC"; then
2163 for ac_prog
in cl.exe
2165 # Extract the first word of "$ac_prog", so it can be a program name with args.
2166 set dummy
$ac_prog; ac_word
=$2
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2168 $as_echo_n "checking for $ac_word... " >&6; }
2169 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2170 $as_echo_n "(cached) " >&6
2172 if test -n "$ac_ct_CC"; then
2173 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2179 test -z "$as_dir" && as_dir
=.
2180 for ac_exec_ext
in '' $ac_executable_extensions; do
2181 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2182 ac_cv_prog_ac_ct_CC
="$ac_prog"
2183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2192 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2193 if test -n "$ac_ct_CC"; then
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2195 $as_echo "$ac_ct_CC" >&6; }
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2198 $as_echo "no" >&6; }
2202 test -n "$ac_ct_CC" && break
2205 if test "x$ac_ct_CC" = x
; then
2208 case $cross_compiling:$ac_tool_warned in
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2212 ac_tool_warned
=yes ;;
2221 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2223 as_fn_error $?
"no acceptable C compiler found in \$PATH
2224 See \`config.log' for more details" "$LINENO" 5; }
2226 # Provide some information about the compiler.
2227 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2230 for ac_option
in --version -v -V -qversion; do
2231 { { ac_try
="$ac_compiler $ac_option >&5"
2233 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2234 *) ac_try_echo=$ac_try;;
2236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2237 $as_echo "$ac_try_echo"; } >&5
2238 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2240 if test -s conftest.err; then
2242 ... rest of stderr output deleted ...
2243 10q' conftest.err >conftest.er1
2244 cat conftest.er1 >&5
2246 rm -f conftest.er1 conftest.err
2247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2248 test $ac_status = 0; }
2251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2252 /* end confdefs.h. */
2262 ac_clean_files_save=$ac_clean_files
2263 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2264 # Try to create an executable without -o first, disregard a.out.
2265 # It will help us diagnose broken compilers, and finding out an intuition
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2268 $as_echo_n "checking whether the C compiler works... " >&6; }
2269 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2271 # The possible output files:
2272 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2275 for ac_file in $ac_files
2278 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2279 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2284 if { { ac_try="$ac_link_default"
2286 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2287 *) ac_try_echo
=$ac_try;;
2289 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2290 $as_echo "$ac_try_echo"; } >&5
2291 (eval "$ac_link_default") 2>&5
2293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2294 test $ac_status = 0; }; then :
2295 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2296 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2297 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2298 # so that the user can short-circuit this test for compilers unknown to
2300 for ac_file
in $ac_files ''
2302 test -f "$ac_file" ||
continue
2304 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2307 # We found the default executable, but exeext='' is most
2311 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2313 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2315 # We set ac_cv_exeext here because the later test for it is not
2316 # safe: cross compilers may not add the suffix if given an `-o'
2317 # argument, so we may need to know it at that point already.
2318 # Even if this section looks crufty: it has the advantage of
2325 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2330 if test -z "$ac_file"; then :
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2332 $as_echo "no" >&6; }
2333 $as_echo "$as_me: failed program was:" >&5
2334 sed 's/^/| /' conftest.
$ac_ext >&5
2336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2338 as_fn_error
77 "C compiler cannot create executables
2339 See \`config.log' for more details" "$LINENO" 5; }
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2342 $as_echo "yes" >&6; }
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2345 $as_echo_n "checking for C compiler default output file name... " >&6; }
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2347 $as_echo "$ac_file" >&6; }
2348 ac_exeext
=$ac_cv_exeext
2350 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2351 ac_clean_files
=$ac_clean_files_save
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2353 $as_echo_n "checking for suffix of executables... " >&6; }
2354 if { { ac_try
="$ac_link"
2356 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2357 *) ac_try_echo=$ac_try;;
2359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2360 $as_echo "$ac_try_echo"; } >&5
2361 (eval "$ac_link") 2>&5
2363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2364 test $ac_status = 0; }; then :
2365 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2366 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2367 # work properly (i.e., refer to `conftest.exe'), while it won't with
2369 for ac_file
in conftest.exe conftest conftest.
*; do
2370 test -f "$ac_file" ||
continue
2372 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2373 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2379 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2380 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2381 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2382 See \`config.log' for more details" "$LINENO" 5; }
2384 rm -f conftest conftest
$ac_cv_exeext
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2386 $as_echo "$ac_cv_exeext" >&6; }
2388 rm -f conftest.
$ac_ext
2389 EXEEXT
=$ac_cv_exeext
2391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2392 /* end confdefs.h. */
2397 FILE *f = fopen ("conftest.out", "w");
2398 return ferror (f) || fclose (f) != 0;
2404 ac_clean_files
="$ac_clean_files conftest.out"
2405 # Check that the compiler produces executables we can run. If not, either
2406 # the compiler is broken, or we cross compile.
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2408 $as_echo_n "checking whether we are cross compiling... " >&6; }
2409 if test "$cross_compiling" != yes; then
2410 { { ac_try
="$ac_link"
2412 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2413 *) ac_try_echo=$ac_try;;
2415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2416 $as_echo "$ac_try_echo"; } >&5
2417 (eval "$ac_link") 2>&5
2419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2420 test $ac_status = 0; }
2421 if { ac_try='./conftest$ac_cv_exeext'
2422 { { case "(($ac_try" in
2423 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2424 *) ac_try_echo
=$ac_try;;
2426 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2427 $as_echo "$ac_try_echo"; } >&5
2428 (eval "$ac_try") 2>&5
2430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2431 test $ac_status = 0; }; }; then
2434 if test "$cross_compiling" = maybe
; then
2437 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2439 as_fn_error $?
"cannot run C compiled programs.
2440 If you meant to cross compile, use \`--host'.
2441 See \`config.log' for more details" "$LINENO" 5; }
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2446 $as_echo "$cross_compiling" >&6; }
2448 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2449 ac_clean_files
=$ac_clean_files_save
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2451 $as_echo_n "checking for suffix of object files... " >&6; }
2452 if ${ac_cv_objext+:} false
; then :
2453 $as_echo_n "(cached) " >&6
2455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2456 /* end confdefs.h. */
2466 rm -f conftest.o conftest.obj
2467 if { { ac_try
="$ac_compile"
2469 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2470 *) ac_try_echo=$ac_try;;
2472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2473 $as_echo "$ac_try_echo"; } >&5
2474 (eval "$ac_compile") 2>&5
2476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2477 test $ac_status = 0; }; then :
2478 for ac_file in conftest.o conftest.obj conftest.*; do
2479 test -f "$ac_file" || continue;
2481 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2482 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2487 $as_echo "$as_me: failed program was:" >&5
2488 sed 's/^/| /' conftest.$ac_ext >&5
2490 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2492 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2493 See \
`config.log' for more details" "$LINENO" 5; }
2495 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2498 $as_echo "$ac_cv_objext" >&6; }
2499 OBJEXT=$ac_cv_objext
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2502 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2503 if ${ac_cv_c_compiler_gnu+:} false; then :
2504 $as_echo_n "(cached) " >&6
2506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2507 /* end confdefs.h. */
2520 if ac_fn_c_try_compile "$LINENO"; then :
2525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2526 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2530 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2531 if test $ac_compiler_gnu = yes; then
2536 ac_test_CFLAGS=${CFLAGS+set}
2537 ac_save_CFLAGS=$CFLAGS
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2539 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2540 if ${ac_cv_prog_cc_g+:} false; then :
2541 $as_echo_n "(cached) " >&6
2543 ac_save_c_werror_flag=$ac_c_werror_flag
2544 ac_c_werror_flag=yes
2547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2548 /* end confdefs.h. */
2558 if ac_fn_c_try_compile "$LINENO"; then :
2562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2563 /* end confdefs.h. */
2573 if ac_fn_c_try_compile "$LINENO"; then :
2576 ac_c_werror_flag=$ac_save_c_werror_flag
2578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2579 /* end confdefs.h. */
2589 if ac_fn_c_try_compile "$LINENO"; then :
2592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2597 ac_c_werror_flag=$ac_save_c_werror_flag
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2600 $as_echo "$ac_cv_prog_cc_g" >&6; }
2601 if test "$ac_test_CFLAGS" = set; then
2602 CFLAGS=$ac_save_CFLAGS
2603 elif test $ac_cv_prog_cc_g = yes; then
2604 if test "$GCC" = yes; then
2610 if test "$GCC" = yes; then
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2617 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2618 if ${ac_cv_prog_cc_c89+:} false; then :
2619 $as_echo_n "(cached) " >&6
2621 ac_cv_prog_cc_c89=no
2623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2624 /* end confdefs.h. */
2628 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2629 struct buf { int x; };
2630 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2631 static char *e (p, i)
2637 static char *f (char * (*g) (char **, int), char **p, ...)
2642 s = g (p, va_arg (v,int));
2647 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2648 function prototypes and stuff, but not '\xHH' hex character constants.
2649 These don't provoke an error unfortunately, instead are silently treated
2650 as 'x'. The following induces an error, until -std is added to get
2651 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2652 array size at least. It's necessary to write '\x00'==0 to get something
2653 that's true only with -std. */
2654 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2656 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2657 inside strings and character constants. */
2659 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2661 int test (int i, double x);
2662 struct s1 {int (*f) (int a);};
2663 struct s2 {int (*f) (double a);};
2664 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2670 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2675 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2676 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2678 CC="$ac_save_CC $ac_arg"
2679 if ac_fn_c_try_compile "$LINENO"; then :
2680 ac_cv_prog_cc_c89=$ac_arg
2682 rm -f core conftest.err conftest.$ac_objext
2683 test "x$ac_cv_prog_cc_c89" != "xno" && break
2685 rm -f conftest.$ac_ext
2690 case "x$ac_cv_prog_cc_c89" in
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2693 $as_echo "none needed" >&6; } ;;
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2696 $as_echo "unsupported" >&6; } ;;
2698 CC="$CC $ac_cv_prog_cc_c89"
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2700 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2702 if test "x$ac_cv_prog_cc_c89" != xno; then :
2707 ac_cpp='$CPP $CPPFLAGS'
2708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2714 $as_echo_n "checking target config location... " >&6; }
2716 # Check whether --with-config-dir was given.
2717 if test "${with_config_dir+set}" = set; then :
2718 withval=$with_config_dir; targetcfg_dir="$withval"
2723 if test "$targetcfg_dir" = ""; then
2724 as_fn_error $? "missing config directory!" "$LINENO" 5
2726 aros_targetcfg_dir="$targetcfg_dir"
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2729 $as_echo "$aros_targetcfg_dir" >&6; }
2731 #-----------------------------------------------------------------------------
2733 # Check if the target compiler supports some features:
2737 # -fno-builtin-floor
2741 # -floop-interchange
2745 # -finline-small-functions
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fexceptions" >&5
2750 $as_echo_n "checking whether ${CC} accepts -fexceptions... " >&6; }
2753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2754 /* end confdefs.h. */
2764 if ac_fn_c_try_compile "$LINENO"; then :
2765 aros_exceptions="yes"
2767 aros_exceptions="no"
2769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_exceptions" >&5
2771 $as_echo "$aros_exceptions" >&6; }
2772 if test "x-$aros_exceptions" = "x-yes" ; then
2773 aros_cflags_exceptions=-fexceptions
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpermissive" >&5
2777 $as_echo_n "checking whether ${CC} accepts -fpermissive... " >&6; }
2779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2780 /* end confdefs.h. */
2790 if ac_fn_c_try_compile "$LINENO"; then :
2791 aros_permissive="yes"
2793 aros_permissive="no"
2795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_permissive" >&5
2797 $as_echo "$aros_permissive" >&6; }
2798 if test "x-$aros_permissive" = "x-yes" ; then
2799 aros_cflags_permissive=-fpermissive
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2803 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2806 /* end confdefs.h. */
2816 if ac_fn_c_try_compile "$LINENO"; then :
2817 aros_fast_math="yes"
2821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2823 $as_echo "$aros_fast_math" >&6; }
2824 if test "x-$aros_fast_math" = "x-yes" ; then
2825 aros_cflags_fast_math=-ffast-math
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-floor" >&5
2829 $as_echo_n "checking whether ${CC} accepts -fno-builtin-floor... " >&6; }
2830 CFLAGS=-fno-builtin-floor
2831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2832 /* end confdefs.h. */
2842 if ac_fn_c_try_compile "$LINENO"; then :
2843 aros_no_builtin_floor="yes"
2845 aros_no_builtin_floor="no"
2847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_floor" >&5
2849 $as_echo "$aros_no_builtin_floor" >&6; }
2850 if test "x-$aros_no_builtin_floor" = "x-yes" ; then
2851 aros_cflags_no_builtin_floor=-fno-builtin-floor
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2855 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2858 /* end confdefs.h. */
2868 if ac_fn_c_try_compile "$LINENO"; then :
2873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2875 $as_echo "$aros_lto" >&6; }
2876 if test "x-$aros_lto" = "x-yes" ; then
2877 aros_cflags_lto=-flto
2878 aros_cflags_nolto=-fno-lto
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
2881 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
2882 CFLAGS=-fwhole-program
2883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2884 /* end confdefs.h. */
2894 if ac_fn_c_try_compile "$LINENO"; then :
2895 aros_whole_program="yes"
2897 aros_whole_program="no"
2899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
2901 $as_echo "$aros_whole_program" >&6; }
2902 if test "x-$aros_whole_program" = "x-yes" ; then
2903 aros_cflags_whole_program=-fwhole-program
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2907 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2910 /* end confdefs.h. */
2920 if ac_fn_c_try_compile "$LINENO"; then :
2921 aros_loop_block="yes"
2923 aros_loop_block="no"
2925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2927 $as_echo "$aros_loop_block" >&6; }
2928 if test "x-$aros_loop_block" = "x-yes" ; then
2929 aros_cflags_loop_block=-floop-block
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2933 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2934 CFLAGS=-floop-interchange
2935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2936 /* end confdefs.h. */
2946 if ac_fn_c_try_compile "$LINENO"; then :
2947 aros_loop_interchange="yes"
2949 aros_loop_interchange="no"
2951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
2953 $as_echo "$aros_loop_interchange" >&6; }
2954 if test "x-$aros_loop_interchange" = "x-yes" ; then
2955 aros_cflags_loop_interchange=-floop-interchange
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
2959 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
2960 CFLAGS=-floop-strip-mine
2961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2962 /* end confdefs.h. */
2972 if ac_fn_c_try_compile "$LINENO"; then :
2973 aros_loop_strip_mine="yes"
2975 aros_loop_strip_mine="no"
2977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
2979 $as_echo "$aros_loop_strip_mine" >&6; }
2980 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
2981 aros_cflags_loop_strip_mine=-floop-strip-mine
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
2986 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
2988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2989 /* end confdefs.h. */
2999 if ac_fn_c_try_compile "$LINENO"; then :
3000 aros_peel_loops="yes"
3002 aros_peel_loops="no"
3004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
3006 $as_echo "$aros_peel_loops" >&6; }
3007 if test "x-$aros_peel_loops" = "x-yes" ; then
3008 aros_cflags_peel_loops=-fpeel-loops
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -funroll-loops" >&5
3012 $as_echo_n "checking whether ${CC} accepts -funroll-loops... " >&6; }
3013 CFLAGS=-funroll-loops
3014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3015 /* end confdefs.h. */
3025 if ac_fn_c_try_compile "$LINENO"; then :
3026 aros_unroll_loops="yes"
3028 aros_unroll_loops="no"
3030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unroll_loops" >&5
3032 $as_echo "$aros_unroll_loops" >&6; }
3033 if test "x-$aros_unroll_loops" = "x-yes" ; then
3034 aros_cflags_unroll_loops=-funroll-loops
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
3038 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
3039 CFLAGS=-fstrict-aliasing
3040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3041 /* end confdefs.h. */
3051 if ac_fn_c_try_compile "$LINENO"; then :
3052 aros_strict_aliasing="yes"
3054 aros_strict_aliasing="no"
3056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3058 $as_echo "$aros_strict_aliasing" >&6; }
3059 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3060 aros_cflags_strictaliasing=-fstrict-aliasing
3061 aros_cflags_nostrictaliasing=-fno-strict-aliasing
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finline-small-functions" >&5
3065 $as_echo_n "checking whether ${CC} accepts -finline-small-functions... " >&6; }
3066 CFLAGS=-finline-small-functions
3067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3068 /* end confdefs.h. */
3078 if ac_fn_c_try_compile "$LINENO"; then :
3079 aros_inline_small_functions="yes"
3081 aros_inline_small_functions="no"
3083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_inline_small_functions" >&5
3085 $as_echo "$aros_inline_small_functions" >&6; }
3086 if test "x-$aros_inline_small_functions" = "x-yes" ; then
3087 aros_cflags_inlinesmallfunctions=-finline-small-functions
3088 aros_cflags_noinlinesmallfunctions=-fno-inline-small-functions
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fipa-cp" >&5
3092 $as_echo_n "checking whether ${CC} accepts -fipa-cp... " >&6; }
3094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3095 /* end confdefs.h. */
3105 if ac_fn_c_try_compile "$LINENO"; then :
3110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ipa_cp" >&5
3112 $as_echo "$aros_ipa_cp" >&6; }
3113 if test "x-$aros_ipa_cp" = "x-yes" ; then
3114 aros_cflags_ipacp=-fipa-cp
3115 aros_cflags_noipacp=-fno-ipa-cp
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
3119 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
3121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3122 /* end confdefs.h. */
3132 if ac_fn_c_try_compile "$LINENO"; then :
3137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
3139 $as_echo "$has_iquote" >&6; }
3140 if test "x-$has_iquote" = "x-yes" ; then
3141 aros_cflags_iquote=-iquote
3142 aros_cflags_iquote_end=
3144 aros_cflags_iquote=-I
3145 aros_cflags_iquote_end=-I-
3148 #-----------------------------------------------------------------------------
3150 # Check if the target compiler supports some options:
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mno-red-zone" >&5
3154 $as_echo_n "checking whether ${CC} accepts -mno-red-zone... " >&6; }
3155 CFLAGS=-mno-red-zone
3156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3157 /* end confdefs.h. */
3167 if ac_fn_c_try_compile "$LINENO"; then :
3168 aros_no_red_zone="yes"
3170 aros_no_red_zone="no"
3172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_red_zone" >&5
3174 $as_echo "$aros_no_red_zone" >&6; }
3175 if test "x-$aros_no_red_zone" = "x-yes" ; then
3176 aros_cflags_no_red_zone=-mno-red-zone
3179 #-----------------------------------------------------------------------------
3181 # Check if the target compiler supports some options used for de-linting:
3183 # -Wunused-command-line-argument
3184 # -Wunknown-warning-option
3185 # -Wunused-but-set-variable
3189 # -Wstrict-prototypes
3192 # -Wmisleading-indentation
3199 # -Wunused-parameter
3201 # -Wmaybe-uninitialized
3202 # -Wimplicit-function-declaration
3207 # -Wformat-contains-nul
3209 # -Waggressive-loop-optimizations
3212 # -Wdiscarded-qualifiers
3215 # -Wdiscarded-array-qualifiers
3217 # -Wint-to-pointer-cast
3218 # -Wpointer-to-int-cast
3219 # -Wunused-const-variable
3222 # -Wincompatible-pointer-types
3224 # -Wlogical-not-parentheses
3228 # -Wdeprecated-declarations
3232 # -Wunused-local-typedefs
3236 # -Wvolatile-register-var
3237 # -Wsizeof-pointer-memaccess
3239 # -Wformat-zero-length
3240 # -Wlto-type-mismatch
3241 # -Wtautological-compare
3243 # -Wstringop-overflow
3244 # -Wformat-truncation
3245 # -Wshift-negative-value
3246 # -Wmissing-field-initializers
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Werror" >&5
3249 $as_echo_n "checking whether ${CC} accepts -Werror... " >&6; }
3251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3252 /* end confdefs.h. */
3262 if ac_fn_c_try_compile "$LINENO"; then :
3267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_error" >&5
3269 $as_echo "$aros_error" >&6; }
3270 if test "x-$aros_error" = "x-yes" ; then
3271 aros_warnflags_error=-Werror
3272 aros_nowarnflags_error=-Wno-error
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
3276 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
3277 CFLAGS=-Wunused-command-line-argument
3278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3279 /* end confdefs.h. */
3289 if ac_fn_c_try_compile "$LINENO"; then :
3290 aros_unused_command_line_argument="yes"
3292 aros_unused_command_line_argument="no"
3294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
3296 $as_echo "$aros_unused_command_line_argument" >&6; }
3297 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
3298 aros_warnflags_unused_command_line_argument=-Wunused-command-line-argument
3299 aros_nowarnflags_unused_command_line_argument=-Wno-unused-command-line-argument
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
3303 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
3304 CFLAGS=-Wunknown-warning-option
3305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3306 /* end confdefs.h. */
3316 if ac_fn_c_try_compile "$LINENO"; then :
3317 aros_unknown_warning_option="yes"
3319 aros_unknown_warning_option="no"
3321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
3323 $as_echo "$aros_unknown_warning_option" >&6; }
3324 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
3325 aros_warnflags_unknown_warning_option=-Wunknown-warning-option
3326 aros_nowarnflags_unknown_warning_option=-Wno-unknown-warning-option
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
3330 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
3331 CFLAGS=-Wunused-but-set-variable
3332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3333 /* end confdefs.h. */
3343 if ac_fn_c_try_compile "$LINENO"; then :
3344 aros_unused_but_set_variable="yes"
3346 aros_unused_but_set_variable="no"
3348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
3350 $as_echo "$aros_unused_but_set_variable" >&6; }
3351 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
3352 aros_warnflags_unused_but_set_variable=-Wunused-but-set-variable
3353 aros_nowarnflags_unused_but_set_variable=-Wno-unused-but-set-variable
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
3357 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
3358 CFLAGS=-Wstrict-aliasing
3359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3360 /* end confdefs.h. */
3370 if ac_fn_c_try_compile "$LINENO"; then :
3371 aros_strict_aliasing="yes"
3373 aros_strict_aliasing="no"
3375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3377 $as_echo "$aros_strict_aliasing" >&6; }
3378 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3379 aros_warnflags_strict_aliasing=-Wstrict-aliasing
3380 aros_nowarnflags_strict_aliasing=-Wno-strict-aliasing
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
3384 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
3385 CFLAGS=-Warray-bounds
3386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3387 /* end confdefs.h. */
3397 if ac_fn_c_try_compile "$LINENO"; then :
3398 aros_array_bounds="yes"
3400 aros_array_bounds="no"
3402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
3404 $as_echo "$aros_array_bounds" >&6; }
3405 if test "x-$aros_array_bounds" = "x-yes" ; then
3406 aros_warnflags_array_bounds=-Warray-bounds
3407 aros_nowarnflags_array_bounds=-Wno-array-bounds
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
3411 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
3412 CFLAGS=-Wenum-compare
3413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414 /* end confdefs.h. */
3424 if ac_fn_c_try_compile "$LINENO"; then :
3425 aros_enum_compare="yes"
3427 aros_enum_compare="no"
3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
3431 $as_echo "$aros_enum_compare" >&6; }
3432 if test "x-$aros_enum_compare" = "x-yes" ; then
3433 aros_warnflags_enum_compare=-Wenum-compare
3434 aros_nowarnflags_enum_compare=-Wno-enum-compare
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
3438 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
3439 CFLAGS=-Wstrict-prototypes
3440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3441 /* end confdefs.h. */
3451 if ac_fn_c_try_compile "$LINENO"; then :
3452 aros_strict_prototypes="yes"
3454 aros_strict_prototypes="no"
3456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3458 $as_echo "$aros_strict_prototypes" >&6; }
3459 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3460 aros_warnflags_strict_prototypes=-Wstrict-prototypes
3461 aros_nowarnflags_strict_prototypes=-Wno-strict-prototypes
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3465 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3466 CFLAGS=-Wstrict-overflow
3467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3468 /* end confdefs.h. */
3478 if ac_fn_c_try_compile "$LINENO"; then :
3479 aros_strict_overflow="yes"
3481 aros_strict_overflow="no"
3483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3485 $as_echo "$aros_strict_overflow" >&6; }
3486 if test "x-$aros_strict_overflow" = "x-yes" ; then
3487 aros_warnflags_strict_overflow=-Wstrict-overflow
3488 aros_nowarnflags_strict_overflow=-Wno-strict-overflow
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3492 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3493 CFLAGS=-Wformat-security
3494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3495 /* end confdefs.h. */
3505 if ac_fn_c_try_compile "$LINENO"; then :
3506 aros_format_security="yes"
3508 aros_format_security="no"
3510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3512 $as_echo "$aros_format_security" >&6; }
3513 if test "x-$aros_format_security" = "x-yes" ; then
3514 aros_warnflags_format_security=-Wformat-security
3515 aros_nowarnflags_format_security=-Wno-format-security
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3519 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3520 CFLAGS=-Wmisleading-indentation
3521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3522 /* end confdefs.h. */
3532 if ac_fn_c_try_compile "$LINENO"; then :
3533 aros_misleading_indentation="yes"
3535 aros_misleading_indentation="no"
3537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3539 $as_echo "$aros_misleading_indentation" >&6; }
3540 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3541 aros_warnflags_misleading_indentation=-Wmisleading-indentation
3542 aros_nowarnflags_misleading_indentation=-Wno-misleading-indentation
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3546 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3547 CFLAGS=-Wnonnull-compare
3548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3549 /* end confdefs.h. */
3559 if ac_fn_c_try_compile "$LINENO"; then :
3560 aros_nonnull_compare="yes"
3562 aros_nonnull_compare="no"
3564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3566 $as_echo "$aros_nonnull_compare" >&6; }
3567 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3568 aros_warnflags_nonnull_compare=-Wnonnull-compare
3569 aros_nowarnflags_nonnull_compare=-Wno-nonnull-compare
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3573 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3576 /* end confdefs.h. */
3586 if ac_fn_c_try_compile "$LINENO"; then :
3591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3593 $as_echo "$aros_unused" >&6; }
3594 if test "x-$aros_unused" = "x-yes" ; then
3595 aros_warnflags_unused=-Wunused
3596 aros_nowarnflags_unused=-Wno-unused
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-label" >&5
3600 $as_echo_n "checking whether ${CC} accepts -Wunused-label... " >&6; }
3601 CFLAGS=-Wunused-label
3602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3603 /* end confdefs.h. */
3613 if ac_fn_c_try_compile "$LINENO"; then :
3614 aros_unused_label="yes"
3616 aros_unused_label="no"
3618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_label" >&5
3620 $as_echo "$aros_unused_label" >&6; }
3621 if test "x-$aros_unused_label" = "x-yes" ; then
3622 aros_warnflags_unused_label=-Wunused-label
3623 aros_nowarnflags_unused_label=-Wno-unused-label
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3627 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3628 CFLAGS=-Wunused-value
3629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3630 /* end confdefs.h. */
3640 if ac_fn_c_try_compile "$LINENO"; then :
3641 aros_unused_value="yes"
3643 aros_unused_value="no"
3645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3647 $as_echo "$aros_unused_value" >&6; }
3648 if test "x-$aros_unused_value" = "x-yes" ; then
3649 aros_warnflags_unused_value=-Wunused-value
3650 aros_nowarnflags_unused_value=-Wno-unused-value
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3654 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3655 CFLAGS=-Wunused-variable
3656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3657 /* end confdefs.h. */
3667 if ac_fn_c_try_compile "$LINENO"; then :
3668 aros_unused_variable="yes"
3670 aros_unused_variable="no"
3672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3674 $as_echo "$aros_unused_variable" >&6; }
3675 if test "x-$aros_unused_variable" = "x-yes" ; then
3676 aros_warnflags_unused_variable=-Wunused-variable
3677 aros_nowarnflags_unused_variable=-Wno-unused-variable
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3681 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3682 CFLAGS=-Wunused-function
3683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3684 /* end confdefs.h. */
3694 if ac_fn_c_try_compile "$LINENO"; then :
3695 aros_unused_function="yes"
3697 aros_unused_function="no"
3699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3701 $as_echo "$aros_unused_function" >&6; }
3702 if test "x-$aros_unused_function" = "x-yes" ; then
3703 aros_warnflags_unused_function=-Wunused-function
3704 aros_nowarnflags_unused_function=-Wno-unused-function
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
3708 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
3709 CFLAGS=-Wunused-parameter
3710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3711 /* end confdefs.h. */
3721 if ac_fn_c_try_compile "$LINENO"; then :
3722 aros_unused_parameter="yes"
3724 aros_unused_parameter="no"
3726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
3728 $as_echo "$aros_unused_parameter" >&6; }
3729 if test "x-$aros_unused_parameter" = "x-yes" ; then
3730 aros_warnflags_unused_parameter=-Wunused-parameter
3731 aros_nowarnflags_unused_parameter=-Wno-unused-parameter
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3735 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3736 CFLAGS=-Wuninitialized
3737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3738 /* end confdefs.h. */
3748 if ac_fn_c_try_compile "$LINENO"; then :
3749 aros_uninitialized="yes"
3751 aros_uninitialized="no"
3753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3755 $as_echo "$aros_uninitialized" >&6; }
3756 if test "x-$aros_uninitialized" = "x-yes" ; then
3757 aros_warnflags_uninitialized=-Wuninitialized
3758 aros_nowarnflags_uninitialized=-Wno-uninitialized
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3762 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3763 CFLAGS=-Wmaybe-uninitialized
3764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3765 /* end confdefs.h. */
3775 if ac_fn_c_try_compile "$LINENO"; then :
3776 aros_maybe_uninitialized="yes"
3778 aros_maybe_uninitialized="no"
3780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3782 $as_echo "$aros_maybe_uninitialized" >&6; }
3783 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3784 aros_warnflags_maybe_uninitialized=-Wmaybe-uninitialized
3785 aros_nowarnflags_maybe_uninitialized=-Wno-maybe-uninitialized
3787 aros_warnflags_maybe_uninitialized=$aros_warnflags_uninitialized
3788 aros_nowarnflags_maybe_uninitialized=$aros_nowarnflags_uninitialized
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3792 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3793 CFLAGS=-Wimplicit-function-declaration
3794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3795 /* end confdefs.h. */
3805 if ac_fn_c_try_compile "$LINENO"; then :
3806 aros_implicit_function_declaration="yes"
3808 aros_implicit_function_declaration="no"
3810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3812 $as_echo "$aros_implicit_function_declaration" >&6; }
3813 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3814 aros_warnflags_implicit_function_declaration=-Wimplicit-function-declaration
3815 aros_nowarnflags_implicit_function_declaration=-Wno-implicit-function-declaration
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3819 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3822 /* end confdefs.h. */
3832 if ac_fn_c_try_compile "$LINENO"; then :
3837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3839 $as_echo "$aros_format" >&6; }
3840 if test "x-$aros_format" = "x-yes" ; then
3841 aros_warnflags_format=-Wformat
3842 aros_nowarnflags_format=-Wno-format
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3846 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3847 CFLAGS=-Wparentheses
3848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3849 /* end confdefs.h. */
3859 if ac_fn_c_try_compile "$LINENO"; then :
3860 aros_parentheses="yes"
3862 aros_parentheses="no"
3864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3866 $as_echo "$aros_parentheses" >&6; }
3867 if test "x-$aros_parentheses" = "x-yes" ; then
3868 aros_warnflags_parentheses=-Wparentheses
3869 aros_nowarnflags_parentheses=-Wno-parentheses
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3873 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3874 CFLAGS=-Wchar-subscripts
3875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3876 /* end confdefs.h. */
3886 if ac_fn_c_try_compile "$LINENO"; then :
3887 aros_char_subscripts="yes"
3889 aros_char_subscripts="no"
3891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3893 $as_echo "$aros_char_subscripts" >&6; }
3894 if test "x-$aros_char_subscripts" = "x-yes" ; then
3895 aros_warnflags_char_subscripts=-Wchar-subscripts
3896 aros_nowarnflags_char_subscripts=-Wno-char-subscripts
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3900 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3901 CFLAGS=-Wendif-labels
3902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3903 /* end confdefs.h. */
3913 if ac_fn_c_try_compile "$LINENO"; then :
3914 aros_endif_labels="yes"
3916 aros_endif_labels="no"
3918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3920 $as_echo "$aros_endif_labels" >&6; }
3921 if test "x-$aros_endif_labels" = "x-yes" ; then
3922 aros_warnflags_endif_labels=-Wendif-labels
3923 aros_nowarnflags_endif_labels=-Wno-endif-labels
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3927 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3928 CFLAGS=-Wformat-contains-nul
3929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3930 /* end confdefs.h. */
3940 if ac_fn_c_try_compile "$LINENO"; then :
3941 aros_format_contains_nul="yes"
3943 aros_format_contains_nul="no"
3945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3947 $as_echo "$aros_format_contains_nul" >&6; }
3948 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3949 aros_warnflags_format_contains_nul=-Wformat-contains-nul
3950 aros_nowarnflags_format_contains_nul=-Wno-format-contains-nul
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3954 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3955 CFLAGS=-Wimplicit-int
3956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3957 /* end confdefs.h. */
3967 if ac_fn_c_try_compile "$LINENO"; then :
3968 aros_implicit_int="yes"
3970 aros_implicit_int="no"
3972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3974 $as_echo "$aros_implicit_int" >&6; }
3975 if test "x-$aros_implicit_int" = "x-yes" ; then
3976 aros_warnflags_implicit_int=-Wimplicit-int
3977 aros_nowarnflags_implicit_int=-Wno-implicit-int
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3981 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3982 CFLAGS=-Waggressive-loop-optimizations
3983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3984 /* end confdefs.h. */
3994 if ac_fn_c_try_compile "$LINENO"; then :
3995 aros_aggressive_loop_optimizations="yes"
3997 aros_aggressive_loop_optimizations="no"
3999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
4001 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
4002 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
4003 aros_warnflags_aggressive_loop_optimizations=-Waggressive-loop-optimizations
4004 aros_nowarnflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
4008 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
4010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4011 /* end confdefs.h. */
4021 if ac_fn_c_try_compile "$LINENO"; then :
4026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
4028 $as_echo "$aros_cpp" >&6; }
4029 if test "x-$aros_cpp" = "x-yes" ; then
4030 aros_warnflags_cpp=-Wcpp
4031 aros_nowarnflags_cpp=-Wno-cpp
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
4035 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
4037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4038 /* end confdefs.h. */
4048 if ac_fn_c_try_compile "$LINENO"; then :
4053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
4055 $as_echo "$aros_switch" >&6; }
4056 if test "x-$aros_switch" = "x-yes" ; then
4057 aros_warnflags_switch=-Wswitch
4058 aros_nowarnflags_switch=-Wno-switch
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
4062 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
4063 CFLAGS=-Wdiscarded-qualifiers
4064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4065 /* end confdefs.h. */
4075 if ac_fn_c_try_compile "$LINENO"; then :
4076 aros_discarded_qualifiers="yes"
4078 aros_discarded_qualifiers="no"
4080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
4082 $as_echo "$aros_discarded_qualifiers" >&6; }
4083 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
4084 aros_warnflags_discarded_qualifiers=-Wdiscarded-qualifiers
4085 aros_nowarnflags_discarded_qualifiers=-Wno-discarded-qualifiers
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
4089 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
4090 CFLAGS=-Wsequence-point
4091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4092 /* end confdefs.h. */
4102 if ac_fn_c_try_compile "$LINENO"; then :
4103 aros_sequence_point="yes"
4105 aros_sequence_point="no"
4107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
4109 $as_echo "$aros_sequence_point" >&6; }
4110 if test "x-$aros_sequence_point" = "x-yes" ; then
4111 aros_warnflags_sequence_point=-Wsequence-point
4112 aros_nowarnflags_sequence_point=-Wno-sequence-point
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
4116 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
4117 CFLAGS=-Wunknown-pragmas
4118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4119 /* end confdefs.h. */
4129 if ac_fn_c_try_compile "$LINENO"; then :
4130 aros_unknown_pragmas="yes"
4132 aros_unknown_pragmas="no"
4134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
4136 $as_echo "$aros_unknown_pragmas" >&6; }
4137 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
4138 aros_warnflags_unknown_pragmas=-Wunknown-pragmas
4139 aros_nowarnflags_unknown_pragmas=-Wno-unknown-pragmas
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
4143 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
4144 CFLAGS=-Wdiscarded-array-qualifiers
4145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4146 /* end confdefs.h. */
4156 if ac_fn_c_try_compile "$LINENO"; then :
4157 aros_discarded_array_qualifiers="yes"
4159 aros_discarded_array_qualifiers="no"
4161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
4163 $as_echo "$aros_discarded_array_qualifiers" >&6; }
4164 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
4165 aros_warnflags_discarded_array_qualifiers=-Wdiscarded-array-qualifiers
4166 aros_nowarnflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
4170 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
4171 CFLAGS=-Wint-conversion
4172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4173 /* end confdefs.h. */
4183 if ac_fn_c_try_compile "$LINENO"; then :
4184 aros_int_conversion="yes"
4186 aros_int_conversion="no"
4188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
4190 $as_echo "$aros_int_conversion" >&6; }
4191 if test "x-$aros_int_conversion" = "x-yes" ; then
4192 aros_warnflags_int_conversion=-Wint-conversion
4193 aros_nowarnflags_int_conversion=-Wno-int-conversion
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
4197 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
4198 CFLAGS=-Wint-to-pointer-cast
4199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h. */
4210 if ac_fn_c_try_compile "$LINENO"; then :
4211 aros_int_to_pointer_cast="yes"
4213 aros_int_to_pointer_cast="no"
4215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
4217 $as_echo "$aros_int_to_pointer_cast" >&6; }
4218 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
4219 aros_warnflags_int_to_pointer_cast=-Wint-to-pointer-cast
4220 aros_nowarnflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
4224 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
4225 CFLAGS=-Wpointer-to-int-cast
4226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4237 if ac_fn_c_try_compile "$LINENO"; then :
4238 aros_pointer_to_int_cast="yes"
4240 aros_pointer_to_int_cast="no"
4242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
4244 $as_echo "$aros_pointer_to_int_cast" >&6; }
4245 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
4246 aros_warnflags_pointer_to_int_cast=-Wpointer-to-int-cast
4247 aros_nowarnflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
4251 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
4252 CFLAGS=-Wunused-const-variable
4253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h. */
4264 if ac_fn_c_try_compile "$LINENO"; then :
4265 aros_unused_const_variable="yes"
4267 aros_unused_const_variable="no"
4269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
4271 $as_echo "$aros_unused_const_variable" >&6; }
4272 if test "x-$aros_unused_const_variable" = "x-yes" ; then
4273 aros_warnflags_unused_const_variable=-Wunused-const-variable
4274 aros_nowarnflags_unused_const_variable=-Wno-unused-const-variable
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
4278 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
4279 CFLAGS=-Wwrite-strings
4280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4281 /* end confdefs.h. */
4291 if ac_fn_c_try_compile "$LINENO"; then :
4292 aros_write_strings="yes"
4294 aros_write_strings="no"
4296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
4298 $as_echo "$aros_write_strings" >&6; }
4299 if test "x-$aros_write_strings" = "x-yes" ; then
4300 aros_warnflags_write_strings=-Wwrite-strings
4301 aros_nowarnflags_write_strings=-Wno-write-strings
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
4305 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
4307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4308 /* end confdefs.h. */
4318 if ac_fn_c_try_compile "$LINENO"; then :
4323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
4325 $as_echo "$aros_comment" >&6; }
4326 if test "x-$aros_comment" = "x-yes" ; then
4327 aros_warnflags_comment=-Wcomment
4328 aros_nowarnflags_comment=-Wno-comment
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
4332 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
4333 CFLAGS=-Wincompatible-pointer-types
4334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4335 /* end confdefs.h. */
4345 if ac_fn_c_try_compile "$LINENO"; then :
4346 aros_incompatible_pointer_types="yes"
4348 aros_incompatible_pointer_types="no"
4350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
4352 $as_echo "$aros_incompatible_pointer_types" >&6; }
4353 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
4354 aros_warnflags_incompatible_pointer_types=-Wincompatible-pointer-types
4355 aros_nowarnflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
4359 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
4360 CFLAGS=-Wbool-compare
4361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4362 /* end confdefs.h. */
4372 if ac_fn_c_try_compile "$LINENO"; then :
4373 aros_bool_compare="yes"
4375 aros_bool_compare="no"
4377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
4379 $as_echo "$aros_bool_compare" >&6; }
4380 if test "x-$aros_bool_compare" = "x-yes" ; then
4381 aros_warnflags_bool_compare=-Wbool-compare
4382 aros_nowarnflags_bool_compare=-Wno-bool-compare
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
4386 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
4387 CFLAGS=-Wlogical-not-parentheses
4388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4389 /* end confdefs.h. */
4399 if ac_fn_c_try_compile "$LINENO"; then :
4400 aros_logical_not_parentheses="yes"
4402 aros_logical_not_parentheses="no"
4404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
4406 $as_echo "$aros_logical_not_parentheses" >&6; }
4407 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
4408 aros_warnflags_logical_not_parentheses=-Wlogical-not-parentheses
4409 aros_nowarnflags_logical_not_parentheses=-Wno-logical-not-parentheses
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
4413 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
4414 CFLAGS=-Wpointer-sign
4415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4416 /* end confdefs.h. */
4426 if ac_fn_c_try_compile "$LINENO"; then :
4427 aros_pointer_sign="yes"
4429 aros_pointer_sign="no"
4431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
4433 $as_echo "$aros_pointer_sign" >&6; }
4434 if test "x-$aros_pointer_sign" = "x-yes" ; then
4435 aros_warnflags_pointer_sign=-Wpointer-sign
4436 aros_nowarnflags_pointer_sign=-Wno-pointer-sign
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
4440 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
4441 CFLAGS=-Wshift-overflow
4442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4443 /* end confdefs.h. */
4453 if ac_fn_c_try_compile "$LINENO"; then :
4454 aros_shift_overflow="yes"
4456 aros_shift_overflow="no"
4458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
4460 $as_echo "$aros_shift_overflow" >&6; }
4461 if test "x-$aros_shift_overflow" = "x-yes" ; then
4462 aros_warnflags_shift_overflow=-Wshift-overflow
4463 aros_nowarnflags_shift_overflow=-Wno-shift-overflow
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
4467 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
4468 CFLAGS=-Wframe-address
4469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4470 /* end confdefs.h. */
4480 if ac_fn_c_try_compile "$LINENO"; then :
4481 aros_frame_address="yes"
4483 aros_frame_address="no"
4485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
4487 $as_echo "$aros_frame_address" >&6; }
4488 if test "x-$aros_frame_address" = "x-yes" ; then
4489 aros_warnflags_frame_address=-Wframe-address
4490 aros_nowarnflags_frame_address=-Wno-frame-address
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
4494 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
4495 CFLAGS=-Wdeprecated-declarations
4496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4497 /* end confdefs.h. */
4507 if ac_fn_c_try_compile "$LINENO"; then :
4508 aros_deprecated_declarations="yes"
4510 aros_deprecated_declarations="no"
4512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4514 $as_echo "$aros_deprecated_declarations" >&6; }
4515 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4516 aros_warnflags_deprecated_declarations=-Wdeprecated-declarations
4517 aros_nowarnflags_deprecated_declarations=-Wno-deprecated-declarations
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4521 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4522 CFLAGS=-Wsign-compare
4523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4524 /* end confdefs.h. */
4534 if ac_fn_c_try_compile "$LINENO"; then :
4535 aros_sign_compare="yes"
4537 aros_sign_compare="no"
4539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4541 $as_echo "$aros_sign_compare" >&6; }
4542 if test "x-$aros_sign_compare" = "x-yes" ; then
4543 aros_warnflags_sign_compare=-Wsign-compare
4544 aros_nowarnflags_sign_compare=-Wno-sign-compare
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4548 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4551 /* end confdefs.h. */
4561 if ac_fn_c_try_compile "$LINENO"; then :
4562 aros_attributes="yes"
4564 aros_attributes="no"
4566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4568 $as_echo "$aros_attributes" >&6; }
4569 if test "x-$aros_attributes" = "x-yes" ; then
4570 aros_warnflags_attributes=-Wattributes
4571 aros_nowarnflags_attributes=-Wno-attributes
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4575 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4578 /* end confdefs.h. */
4588 if ac_fn_c_try_compile "$LINENO"; then :
4593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4595 $as_echo "$aros_overflow" >&6; }
4596 if test "x-$aros_overflow" = "x-yes" ; then
4597 aros_warnflags_overflow=-Woverflow
4598 aros_nowarnflags_overflow=-Wno-overflow
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4602 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4603 CFLAGS=-Wunused-local-typedefs
4604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4605 /* end confdefs.h. */
4615 if ac_fn_c_try_compile "$LINENO"; then :
4616 aros_unused_local_typedefs="yes"
4618 aros_unused_local_typedefs="no"
4620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4622 $as_echo "$aros_unused_local_typedefs" >&6; }
4623 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4624 aros_warnflags_unused_local_typedefs=-Wunused-local-typedefs
4625 aros_nowarnflags_unused_local_typedefs=-Wno-unused-local-typedefs
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4629 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4630 CFLAGS=-Wmissing-braces
4631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4632 /* end confdefs.h. */
4642 if ac_fn_c_try_compile "$LINENO"; then :
4643 aros_missing_braces="yes"
4645 aros_missing_braces="no"
4647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4649 $as_echo "$aros_missing_braces" >&6; }
4650 if test "x-$aros_missing_braces" = "x-yes" ; then
4651 aros_warnflags_missing_braces=-Wmissing-braces
4652 aros_nowarnflags_missing_braces=-Wno-missing-braces
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4656 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4657 CFLAGS=-Wconversion-null
4658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h. */
4669 if ac_fn_c_try_compile "$LINENO"; then :
4670 aros_conversion_null="yes"
4672 aros_conversion_null="no"
4674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4676 $as_echo "$aros_conversion_null" >&6; }
4677 if test "x-$aros_conversion_null" = "x-yes" ; then
4678 aros_warnflags_conversion_null=-Wconversion-null
4679 aros_nowarnflags_conversion_null=-Wno-conversion-null
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4683 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4686 /* end confdefs.h. */
4696 if ac_fn_c_try_compile "$LINENO"; then :
4697 aros_narrowing="yes"
4701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4703 $as_echo "$aros_narrowing" >&6; }
4704 if test "x-$aros_narrowing" = "x-yes" ; then
4705 aros_warnflags_narrowing=-Wnarrowing
4706 aros_nowarnflags_narrowing=-Wno-narrowing
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4710 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4711 CFLAGS=-Wvolatile-register-var
4712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4723 if ac_fn_c_try_compile "$LINENO"; then :
4724 aros_volatile_register_var="yes"
4726 aros_volatile_register_var="no"
4728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4730 $as_echo "$aros_volatile_register_var" >&6; }
4731 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4732 aros_warnflags_volatile_register_var=-Wvolatile-register-var
4733 aros_nowarnflags_volatile_register_var=-Wno-volatile-register-var
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
4737 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
4738 CFLAGS=-Wsizeof-pointer-memaccess
4739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4740 /* end confdefs.h. */
4750 if ac_fn_c_try_compile "$LINENO"; then :
4751 aros_sizeof_pointer_memaccess="yes"
4753 aros_sizeof_pointer_memaccess="no"
4755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
4757 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
4758 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
4759 aros_warnflags_sizeof_pointer_memaccess=-Wsizeof-pointer-memaccess
4760 aros_nowarnflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
4764 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
4765 CFLAGS=-Wreturn-type
4766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4767 /* end confdefs.h. */
4777 if ac_fn_c_try_compile "$LINENO"; then :
4778 aros_return_type="yes"
4780 aros_return_type="no"
4782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
4784 $as_echo "$aros_return_type" >&6; }
4785 if test "x-$aros_return_type" = "x-yes" ; then
4786 aros_warnflags_return_type=-Wreturn-type
4787 aros_nowarnflags_return_type=-Wno-return-type
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
4791 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
4792 CFLAGS=-Wformat-zero-length
4793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4794 /* end confdefs.h. */
4804 if ac_fn_c_try_compile "$LINENO"; then :
4805 aros_format_zero_length="yes"
4807 aros_format_zero_length="no"
4809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
4811 $as_echo "$aros_format_zero_length" >&6; }
4812 if test "x-$aros_format_zero_length" = "x-yes" ; then
4813 aros_warnflags_format_zero_length=-Wformat-zero-length
4814 aros_nowarnflags_format_zero_length=-Wno-format-zero-length
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
4818 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
4819 CFLAGS=-Wlto-type-mismatch
4820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4821 /* end confdefs.h. */
4831 if ac_fn_c_try_compile "$LINENO"; then :
4832 aros_lto_type_mismatch="yes"
4834 aros_lto_type_mismatch="no"
4836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
4838 $as_echo "$aros_lto_type_mismatch" >&6; }
4839 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
4840 aros_warnflags_lto_type_mismatch=-Wlto-type-mismatch
4841 aros_nowarnflags_lto_type_mismatch=-Wno-lto-type-mismatch
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wtautological-compare" >&5
4845 $as_echo_n "checking whether ${CC} accepts -Wtautological-compare... " >&6; }
4846 CFLAGS=-Wtautological-compare
4847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4848 /* end confdefs.h. */
4858 if ac_fn_c_try_compile "$LINENO"; then :
4859 aros_tautological_compare="yes"
4861 aros_tautological_compare="no"
4863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tautological_compare" >&5
4865 $as_echo "$aros_tautological_compare" >&6; }
4866 if test "x-$aros_tautological_compare" = "x-yes" ; then
4867 aros_warnflags_tautological_compare=-Wtautological-compare
4868 aros_nowarnflags_tautological_compare=-Wno-tautological-compare
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wempty-body" >&5
4872 $as_echo_n "checking whether ${CC} accepts -Wempty-body... " >&6; }
4874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4875 /* end confdefs.h. */
4885 if ac_fn_c_try_compile "$LINENO"; then :
4886 aros_empty_body="yes"
4888 aros_empty_body="no"
4890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_empty_body" >&5
4892 $as_echo "$aros_empty_body" >&6; }
4893 if test "x-$aros_empty_body" = "x-yes" ; then
4894 aros_warnflags_empty_body=-Wempty-body
4895 aros_nowarnflags_empty_body=-Wno-empty-body
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-overflow" >&5
4899 $as_echo_n "checking whether ${CC} accepts -Wstringop-overflow... " >&6; }
4900 CFLAGS=-Wstringop-overflow
4901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4902 /* end confdefs.h. */
4912 if ac_fn_c_try_compile "$LINENO"; then :
4913 aros_stringop_overflow="yes"
4915 aros_stringop_overflow="no"
4917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_overflow" >&5
4919 $as_echo "$aros_stringop_overflow" >&6; }
4920 if test "x-$aros_stringop_overflow" = "x-yes" ; then
4921 aros_warnflags_stringop_overflow=-Wstringop-overflow
4922 aros_nowarnflags_stringop_overflow=-Wno-stringop-overflow
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-truncation" >&5
4926 $as_echo_n "checking whether ${CC} accepts -Wformat-truncation... " >&6; }
4927 CFLAGS=-Wformat-truncation
4928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4929 /* end confdefs.h. */
4939 if ac_fn_c_try_compile "$LINENO"; then :
4940 aros_format_truncation="yes"
4942 aros_format_truncation="no"
4944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_truncation" >&5
4946 $as_echo "$aros_format_truncation" >&6; }
4947 if test "x-$aros_format_truncation" = "x-yes" ; then
4948 aros_warnflags_format_truncation=-Wformat-truncation
4949 aros_nowarnflags_format_truncation=-Wno-format-truncation
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-negative-value" >&5
4953 $as_echo_n "checking whether ${CC} accepts -Wshift-negative-value... " >&6; }
4954 CFLAGS=-Wshift-negative-value
4955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4956 /* end confdefs.h. */
4966 if ac_fn_c_try_compile "$LINENO"; then :
4967 aros_shift_negative_value="yes"
4969 aros_shift_negative_value="no"
4971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_negative_value" >&5
4973 $as_echo "$aros_shift_negative_value" >&6; }
4974 if test "x-$aros_shift_negative_value" = "x-yes" ; then
4975 aros_warnflags_shift_negative_value=-Wshift-negative-value
4976 aros_nowarnflags_shift_negative_value=-Wno-shift-negative-value
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-field-initializers" >&5
4980 $as_echo_n "checking whether ${CC} accepts -Wmissing-field-initializers... " >&6; }
4981 CFLAGS=-Wmissing-field-initializers
4982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4983 /* end confdefs.h. */
4993 if ac_fn_c_try_compile "$LINENO"; then :
4994 aros_missing_field_initializers="yes"
4996 aros_missing_field_initializers="no"
4998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_field_initializers" >&5
5000 $as_echo "$aros_missing_field_initializers" >&6; }
5001 if test "x-$aros_missing_field_initializers" = "x-yes" ; then
5002 aros_warnflags_missing_field_initializers=-Wmissing-field-initializers
5003 aros_nowarnflags_smissing_field_initializers=-Wno-missing-field-initializers
5007 # export the feature flags...
5035 # export the feature options...
5040 # ...and warning flags...
5173 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
5176 cat >confcache <<\_ACEOF
5177 # This file is a shell script that caches the results of configure
5178 # tests run on this system so they can be shared between configure
5179 # scripts and configure runs, see configure's option --config-cache.
5180 # It is not useful on other systems. If it contains results you don't
5181 # want to keep, you may remove or edit it.
5183 # config.status only pays attention to the cache file if you give it
5184 # the --recheck option to rerun configure.
5186 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
5187 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5192 # The following way of writing the cache mishandles newlines in values,
5193 # but we know of no workaround that is simple, portable, and efficient.
5194 # So, we kill variables containing newlines.
5195 # Ultrix sh set writes to stderr and can't be redirected directly,
5196 # and sets the high bit in the cache file unless we assign to the vars.
5198 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5199 eval ac_val
=\$
$ac_var
5203 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5204 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5207 _ | IFS | as_nl
) ;; #(
5208 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5209 *) { eval $ac_var=; unset $ac_var;} ;;
5215 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5216 *${as_nl}ac_space
=\
*)
5217 # `set' does not quote correctly, so add quotes: double-quote
5218 # substitution turns \\\\ into \\, and sed turns \\ into \.
5221 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5224 # `set' quotes correctly as required by POSIX, so do not add quotes.
5225 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5234 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5236 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5238 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5239 if test -w "$cache_file"; then
5240 if test "x$cache_file" != "x/dev/null"; then
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5242 $as_echo "$as_me: updating cache $cache_file" >&6;}
5243 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5244 cat confcache
>"$cache_file"
5246 case $cache_file in #(
5248 mv -f confcache
"$cache_file"$$
&&
5249 mv -f "$cache_file"$$
"$cache_file" ;; #(
5251 mv -f confcache
"$cache_file" ;;
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5257 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5262 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5263 # Let make expand exec_prefix.
5264 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5266 # Transform confdefs.h into DEFS.
5267 # Protect against shell expansion while executing Makefile rules.
5268 # Protect against Makefile macro expansion.
5270 # If the first sed substitution is executed (which looks for macros that
5271 # take arguments), then branch to the quote section. Otherwise,
5272 # look for a macro that doesn't take arguments.
5282 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5284 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5288 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5301 DEFS
=`sed -n "$ac_script" confdefs.h`
5307 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5308 # 1. Remove the extension, and $U if already installed.
5309 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5310 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5311 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5312 # will be set to the directory where LIBOBJS objects are built.
5313 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5314 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5318 LTLIBOBJS
=$ac_ltlibobjs
5322 : "${CONFIG_STATUS=./config.status}"
5324 ac_clean_files_save
=$ac_clean_files
5325 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5327 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5329 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5331 # Generated by $as_me.
5332 # Run this file to recreate the current configuration.
5333 # Compiler output produced by configure, useful for debugging
5334 # configure, is in config.log if it exists.
5340 SHELL=\${CONFIG_SHELL-$SHELL}
5343 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5344 ## -------------------- ##
5345 ## M4sh Initialization. ##
5346 ## -------------------- ##
5348 # Be more Bourne compatible
5349 DUALCASE
=1; export DUALCASE
# for MKS sh
5350 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5353 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5354 # is contrary to our usage. Disable this feature.
5355 alias -g '${1+"$@"}'='"$@"'
5356 setopt NO_GLOB_SUBST
5358 case `(set -o) 2>/dev/null` in #(
5370 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5371 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5372 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5373 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5374 # Prefer a ksh shell builtin over an external printf program on Solaris,
5375 # but without wasting forks for bash or zsh.
5376 if test -z "$BASH_VERSION$ZSH_VERSION" \
5377 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5378 as_echo='print
-r --'
5379 as_echo_n='print
-rn --'
5380 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5381 as_echo='printf %s
\n'
5382 as_echo_n='printf %s
'
5384 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5385 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5386 as_echo_n='/usr
/ucb
/echo -n'
5388 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5389 as_echo_n_body='eval
5393 expr "X$arg" : "X\\(.*\\)$as_nl";
5394 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5396 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5398 export as_echo_n_body
5399 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5402 as_echo='sh
-c $as_echo_body as_echo
'
5405 # The user is always right.
5406 if test "${PATH_SEPARATOR+set}" != set; then
5408 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5409 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5416 # We need space, tab and new line, in precisely that order. Quoting is
5417 # there to prevent editors from complaining about space-tab.
5418 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5419 # splitting by setting IFS to empty value.)
5422 # Find who we are. Look in the path if we contain no directory separator.
5425 *[\\/]* ) as_myself=$0 ;;
5426 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5430 test -z "$as_dir" && as_dir=.
5431 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5437 # We did not find ourselves, most probably we were run as `sh COMMAND'
5438 # in which case we are not to be found in the path.
5439 if test "x$as_myself" = x
; then
5442 if test ! -f "$as_myself"; then
5443 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5447 # Unset variables that we do not need and which cause bugs (e.g. in
5448 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5449 # suppresses any "Segmentation fault" message there. '((' could
5450 # trigger a bug in pdksh 5.2.14.
5451 for as_var
in BASH_ENV ENV MAIL MAILPATH
5452 do eval test x\
${$as_var+set} = xset \
5453 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5466 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5469 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5470 # ----------------------------------------
5471 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5472 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5473 # script with STATUS, using 1 if that was 0.
5476 as_status
=$1; test $as_status -eq 0 && as_status
=1
5478 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5479 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5481 $as_echo "$as_me: error: $2" >&2
5482 as_fn_exit
$as_status
5486 # as_fn_set_status STATUS
5487 # -----------------------
5488 # Set $? to STATUS, without forking.
5492 } # as_fn_set_status
5496 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5506 # Portably unset VAR.
5509 { eval $1=; unset $1;}
5511 as_unset
=as_fn_unset
5512 # as_fn_append VAR VALUE
5513 # ----------------------
5514 # Append the text in VALUE to the end of the definition contained in VAR. Take
5515 # advantage of any shell optimizations that allow amortized linear growth over
5516 # repeated appends, instead of the typical quadratic growth present in naive
5518 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5519 eval 'as_fn_append ()
5530 # as_fn_arith ARG...
5531 # ------------------
5532 # Perform arithmetic evaluation on the ARGs, and store the result in the
5533 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5534 # must be portable across $(()) and expr.
5535 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5536 eval 'as_fn_arith ()
5543 as_val
=`expr "$@" || test $? -eq 1`
5548 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5549 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5555 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5556 as_basename
=basename
5561 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5567 as_me
=`$as_basename -- "$0" ||
5568 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5569 X"$0" : 'X\(//\)$' \| \
5570 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5572 sed '/^.*\/\([^/][^/]*\)\/*$/{
5586 # Avoid depending upon Character Ranges.
5587 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5588 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5589 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5590 as_cr_digits
='0123456789'
5591 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5593 ECHO_C
= ECHO_N
= ECHO_T
=
5594 case `echo -n x` in #(((((
5596 case `echo 'xy\c'` in
5597 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5599 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5606 rm -f conf$$ conf$$.exe conf$$.
file
5607 if test -d conf$$.dir
; then
5608 rm -f conf$$.dir
/conf$$.
file
5611 mkdir conf$$.dir
2>/dev
/null
5613 if (echo >conf$$.
file) 2>/dev
/null
; then
5614 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5616 # ... but there are two gotchas:
5617 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5618 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5619 # In both cases, we have to default to `cp -pR'.
5620 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5622 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5630 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5631 rmdir conf$$.dir
2>/dev
/null
5636 # Create "$as_dir" as a directory, including parents if necessary.
5641 -*) as_dir
=.
/$as_dir;;
5643 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5647 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5648 *) as_qdir
=$as_dir;;
5650 as_dirs
="'$as_qdir' $as_dirs"
5651 as_dir
=`$as_dirname -- "$as_dir" ||
5652 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5653 X"$as_dir" : 'X\(//\)[^/]' \| \
5654 X"$as_dir" : 'X\(//\)$' \| \
5655 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5656 $as_echo X"$as_dir" |
5657 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5674 test -d "$as_dir" && break
5676 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5677 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
5681 if mkdir
-p .
2>/dev
/null
; then
5682 as_mkdir_p
='mkdir -p "$as_dir"'
5684 test -d .
/-p && rmdir .
/-p
5689 # as_fn_executable_p FILE
5690 # -----------------------
5691 # Test if FILE is an executable regular file.
5692 as_fn_executable_p
()
5694 test -f "$1" && test -x "$1"
5695 } # as_fn_executable_p
5697 as_executable_p
=as_fn_executable_p
5699 # Sed expression to map a string onto a valid CPP name.
5700 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5702 # Sed expression to map a string onto a valid variable name.
5703 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5707 ## ----------------------------------- ##
5708 ## Main body of $CONFIG_STATUS script. ##
5709 ## ----------------------------------- ##
5711 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5713 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5714 # Save the log message, to keep $0 and so on meaningful, and to
5715 # report actual input values of CONFIG_FILES etc. instead of their
5716 # values after options handling.
5718 This file was extended by $as_me, which was
5719 generated by GNU Autoconf 2.69. Invocation command line was
5721 CONFIG_FILES = $CONFIG_FILES
5722 CONFIG_HEADERS = $CONFIG_HEADERS
5723 CONFIG_LINKS = $CONFIG_LINKS
5724 CONFIG_COMMANDS = $CONFIG_COMMANDS
5727 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5732 case $ac_config_files in *"
5733 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5739 # Files that config.status was made for.
5740 config_files="$ac_config_files"
5744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5746 \`$as_me' instantiates files and other configuration actions
5747 from templates according to the current configuration. Unless the files
5748 and actions are specified as TAGs, all are instantiated by default.
5750 Usage: $0 [OPTION]... [TAG]...
5752 -h, --help print this help, then exit
5753 -V, --version print version number and configuration settings, then exit
5754 --config print configuration, then exit
5755 -q, --quiet, --silent
5756 do not print progress messages
5757 -d, --debug don't remove temporary files
5758 --recheck update $as_me by reconfiguring in the same conditions
5759 --file=FILE[:TEMPLATE]
5760 instantiate the configuration file FILE
5762 Configuration files:
5765 Report bugs to the package provider."
5768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5769 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5772 configured by $0, generated by GNU Autoconf 2.69,
5773 with options \\"\$ac_cs_config\\"
5775 Copyright (C) 2012 Free Software Foundation, Inc.
5776 This config.status script is free software; the Free Software Foundation
5777 gives unlimited permission to copy, distribute and modify it."
5781 test -n "\$AWK" || AWK=awk
5784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5785 # The default lists apply if the user does not specify any file.
5791 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5792 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5796 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5808 # Handling of the options.
5809 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5811 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5812 $as_echo "$ac_cs_version"; exit ;;
5813 --config |
--confi |
--conf |
--con |
--co |
--c )
5814 $as_echo "$ac_cs_config"; exit ;;
5815 --debug |
--debu |
--deb |
--de |
--d |
-d )
5817 --file |
--fil |
--fi |
--f )
5820 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5821 '') as_fn_error $?
"missing file argument" ;;
5823 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5824 ac_need_defaults
=false
;;
5825 --he |
--h |
--help |
--hel |
-h )
5826 $as_echo "$ac_cs_usage"; exit ;;
5827 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5828 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5832 -*) as_fn_error $?
"unrecognized option: \`$1'
5833 Try \`$0 --help' for more information." ;;
5835 *) as_fn_append ac_config_targets
" $1"
5836 ac_need_defaults
=false
;;
5842 ac_configure_extra_args
=
5844 if $ac_cs_silent; then
5846 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5851 if \$ac_cs_recheck; then
5852 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5854 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5855 CONFIG_SHELL='$SHELL'
5861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5865 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5866 ## Running $as_me. ##
5872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5875 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5877 # Handling of arguments.
5878 for ac_config_target
in $ac_config_targets
5880 case $ac_config_target in
5881 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
5883 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5888 # If the user did not use the arguments to specify the items to instantiate,
5889 # then the envvar interface is used. Set only those that are not.
5890 # We use the long form for the default assignment because of an extremely
5891 # bizarre bug on SunOS 4.1.3.
5892 if $ac_need_defaults; then
5893 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5896 # Have a temporary directory for convenience. Make it in the build tree
5897 # simply because there is no reason against having it here, and in addition,
5898 # creating and moving files from /tmp can sometimes cause problems.
5899 # Hook for its removal unless debugging.
5900 # Note that there is a small window in which the directory will not be cleaned:
5901 # after its creation but before its name has been assigned to `$tmp'.
5905 trap 'exit_status=$?
5907 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5909 trap 'as_fn_exit 1' 1 2 13 15
5911 # Create a (secure) tmp directory for tmp files.
5914 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5918 tmp
=.
/conf$$
-$RANDOM
5919 (umask 077 && mkdir
"$tmp")
5920 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5923 # Set up the scripts for CONFIG_FILES section.
5924 # No need to generate them if there are no CONFIG_FILES.
5925 # This happens for instance with `./config.status config.h'.
5926 if test -n "$CONFIG_FILES"; then
5929 ac_cr
=`echo X | tr X '\015'`
5930 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5931 # But we know of no other shell where ac_cr would be empty at this
5932 # point, so we can use a bashism as a fallback.
5933 if test "x$ac_cr" = x
; then
5934 eval ac_cr
=\$
\'\\r
\'
5936 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5937 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5943 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5948 echo "cat >conf$$subs.awk <<_ACEOF" &&
5949 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5952 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5953 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5955 for ac_last_try in false false false false false :; do
5956 . ./conf$$subs.sh ||
5957 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5959 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5960 if test $ac_delim_n = $ac_delim_num; then
5962 elif $ac_last_try; then
5963 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5965 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5971 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
5975 s/^/S["/; s
/!.
*/"]=/
5985 s/\(.\{148\}\)..*/\1/
5987 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5992 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5999 s/\(.\{148\}\)..*/\1/
6001 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6005 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6010 ' <conf$$subs.awk | sed '
6015 ' >>$CONFIG_STATUS || ac_write_fail=1
6016 rm -f conf$$subs.awk
6017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6019 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6020 for (key in S) S_is_set[key] = 1
6026 nfields = split(line, field, "@
")
6028 len = length(field[1])
6029 for (i = 2; i < nfields; i++) {
6031 keylen = length(key)
6032 if (S_is_set[key]) {
6034 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6035 len += length(value) + length(field[++i])
6046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6047 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6048 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6051 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6052 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6055 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6056 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6057 # trailing colons and then remove the whole line if VPATH becomes empty
6058 # (actually we leave an empty line to preserve line numbers).
6059 if test "x
$srcdir" = x.; then
6060 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6079 fi # test -n "$CONFIG_FILES"
6082 eval set X " :F
$CONFIG_FILES "
6087 :[FHLC]) ac_mode=$ac_tag; continue;;
6089 case $ac_mode$ac_tag in
6091 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
6092 :[FH]-) ac_tag=-:-;;
6093 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6110 -) ac_f="$ac_tmp/stdin";;
6111 *) # Look for the file first in the build tree, then in the source tree
6112 # (if the path is not absolute). The absolute path cannot be DOS-style,
6113 # because $ac_f cannot contain `:'.
6117 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6119 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6121 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
6122 as_fn_append ac_file_inputs " '$ac_f'"
6125 # Let's still pretend it is `configure' which instantiates (i.e., don't
6126 # use $as_me), people would be surprised to read:
6127 # /* config.h. Generated by config.status. */
6128 configure_input='Generated from '`
6129 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6131 if test x"$ac_file" != x-; then
6132 configure_input="$ac_file.
$configure_input"
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
6134 $as_echo "$as_me: creating
$ac_file" >&6;}
6136 # Neutralize special characters interpreted by sed in replacement strings.
6137 case $configure_input in #(
6138 *\&* | *\|* | *\\* )
6139 ac_sed_conf_input=`$as_echo "$configure_input" |
6140 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6141 *) ac_sed_conf_input=$configure_input;;
6145 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
6146 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
6151 ac_dir=`$as_dirname -- "$ac_file" ||
6152 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6153 X"$ac_file" : 'X\(//\)[^/]' \| \
6154 X"$ac_file" : 'X\(//\)$' \| \
6155 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6156 $as_echo X"$ac_file" |
6157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6174 as_dir="$ac_dir"; as_fn_mkdir_p
6178 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6180 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6181 # A "..
" for each directory in $ac_dir_suffix.
6182 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6183 case $ac_top_builddir_sub in
6184 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6185 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6188 ac_abs_top_builddir=$ac_pwd
6189 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6190 # for backward compatibility:
6191 ac_top_builddir=$ac_top_build_prefix
6194 .) # We are building in place.
6196 ac_top_srcdir=$ac_top_builddir_sub
6197 ac_abs_top_srcdir=$ac_pwd ;;
6198 [\\/]* | ?:[\\/]* ) # Absolute name.
6199 ac_srcdir=$srcdir$ac_dir_suffix;
6200 ac_top_srcdir=$srcdir
6201 ac_abs_top_srcdir=$srcdir ;;
6203 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6204 ac_top_srcdir=$ac_top_build_prefix$srcdir
6205 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6207 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6219 # If the template does not know about datarootdir, expand it.
6220 # FIXME: This hack should be removed a few years after 2.60.
6221 ac_datarootdir_hack=; ac_datarootdir_seen=
6232 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
6233 *datarootdir*) ac_datarootdir_seen=yes;;
6234 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
6236 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
6238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6239 ac_datarootdir_hack='
6240 s&@datadir@&$datadir&g
6241 s&@docdir@&$docdir&g
6242 s&@infodir@&$infodir&g
6243 s&@localedir@&$localedir&g
6244 s&@mandir@&$mandir&g
6245 s&\\\${datarootdir}&$datarootdir&g' ;;
6249 # Neutralize VPATH when `$srcdir' = `.'.
6250 # Shell code in configure.ac might set extrasub.
6251 # FIXME: do we really want to maintain this feature?
6252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6253 ac_sed_extra="$ac_vpsub
6256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6258 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6259 s|@configure_input@|
$ac_sed_conf_input|
;t t
6260 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6261 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6262 s
&@srcdir@
&$ac_srcdir&;t t
6263 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6264 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6265 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6266 s
&@builddir@
&$ac_builddir&;t t
6267 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6268 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6269 $ac_datarootdir_hack
6271 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6272 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6274 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6275 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6276 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6277 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6279 which seems to be undefined. Please make sure it is defined" >&5
6280 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6281 which seems to be undefined. Please make sure it is defined" >&2;}
6283 rm -f "$ac_tmp/stdin"
6285 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6286 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6288 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6300 ac_clean_files=$ac_clean_files_save
6302 test $ac_write_fail = 0 ||
6303 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6306 # configure is writing to config.log, and then calls config.status.
6307 # config.status does its own redirection, appending to config.log.
6308 # Unfortunately, on DOS this fails, as config.log is still kept open
6309 # by configure, so config.status won't be able to
write to it
; its
6310 # output is simply discarded. So we exec the FD to /dev/null,
6311 # effectively closing config.log, so it can be properly (re)opened and
6312 # appended to by config.status. When coming back to configure, we
6313 # need to make the FD available again.
6314 if test "$no_create" != yes; then
6316 ac_config_status_args
=
6317 test "$silent" = yes &&
6318 ac_config_status_args
="$ac_config_status_args --quiet"
6320 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6322 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6323 # would make configure fail if this is the last instruction.
6324 $ac_cs_success || as_fn_exit
1
6326 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6328 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}