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_tautological_compare
588 aros_warnflags_tautological_compare
589 aros_nowarnflags_lto_type_mismatch
590 aros_warnflags_lto_type_mismatch
591 aros_nowarnflags_format_zero_length
592 aros_warnflags_format_zero_length
593 aros_nowarnflags_return_type
594 aros_warnflags_return_type
595 aros_nowarnflags_sizeof_pointer_memaccess
596 aros_warnflags_sizeof_pointer_memaccess
597 aros_nowarnflags_volatile_register_var
598 aros_warnflags_volatile_register_var
599 aros_nowarnflags_narrowing
600 aros_warnflags_narrowing
601 aros_nowarnflags_conversion_null
602 aros_warnflags_conversion_null
603 aros_nowarnflags_missing_braces
604 aros_warnflags_missing_braces
605 aros_nowarnflags_unused_local_typedefs
606 aros_warnflags_unused_local_typedefs
607 aros_nowarnflags_overflow
608 aros_warnflags_overflow
609 aros_nowarnflags_attributes
610 aros_warnflags_attributes
611 aros_nowarnflags_sign_compare
612 aros_warnflags_sign_compare
613 aros_nowarnflags_deprecated_declarations
614 aros_warnflags_deprecated_declarations
615 aros_nowarnflags_frame_address
616 aros_warnflags_frame_address
617 aros_nowarnflags_shift_overflow
618 aros_warnflags_shift_overflow
619 aros_nowarnflags_pointer_sign
620 aros_warnflags_pointer_sign
621 aros_nowarnflags_logical_not_parentheses
622 aros_warnflags_logical_not_parentheses
623 aros_nowarnflags_bool_compare
624 aros_warnflags_bool_compare
625 aros_nowarnflags_incompatible_pointer_types
626 aros_warnflags_incompatible_pointer_types
627 aros_nowarnflags_comment
628 aros_warnflags_comment
629 aros_nowarnflags_write_strings
630 aros_warnflags_write_strings
631 aros_nowarnflags_unused_const_variable
632 aros_warnflags_unused_const_variable
633 aros_nowarnflags_pointer_to_int_cast
634 aros_warnflags_pointer_to_int_cast
635 aros_nowarnflags_int_to_pointer_cast
636 aros_warnflags_int_to_pointer_cast
637 aros_nowarnflags_int_conversion
638 aros_warnflags_int_conversion
639 aros_nowarnflags_discarded_array_qualifiers
640 aros_warnflags_discarded_array_qualifiers
641 aros_nowarnflags_unknown_pragmas
642 aros_warnflags_unknown_pragmas
643 aros_nowarnflags_sequence_point
644 aros_warnflags_sequence_point
645 aros_nowarnflags_discarded_qualifiers
646 aros_warnflags_discarded_qualifiers
647 aros_nowarnflags_switch
648 aros_warnflags_switch
651 aros_nowarnflags_aggressive_loop_optimizations
652 aros_warnflags_aggressive_loop_optimizations
653 aros_nowarnflags_implicit_int
654 aros_warnflags_implicit_int
655 aros_nowarnflags_format_contains_nul
656 aros_warnflags_format_contains_nul
657 aros_nowarnflags_endif_labels
658 aros_warnflags_endif_labels
659 aros_nowarnflags_char_subscripts
660 aros_warnflags_char_subscripts
661 aros_nowarnflags_parentheses
662 aros_warnflags_parentheses
663 aros_nowarnflags_format
664 aros_warnflags_format
665 aros_nowarnflags_implicit_function_declaration
666 aros_warnflags_implicit_function_declaration
667 aros_nowarnflags_maybe_uninitialized
668 aros_warnflags_maybe_uninitialized
669 aros_nowarnflags_uninitialized
670 aros_warnflags_uninitialized
671 aros_nowarnflags_unused_parameter
672 aros_warnflags_unused_parameter
673 aros_nowarnflags_unused_function
674 aros_warnflags_unused_function
675 aros_nowarnflags_unused_variable
676 aros_warnflags_unused_variable
677 aros_nowarnflags_unused_value
678 aros_warnflags_unused_value
679 aros_nowarnflags_unused_label
680 aros_warnflags_unused_label
681 aros_nowarnflags_unused
682 aros_warnflags_unused
683 aros_nowarnflags_nonnull_compare
684 aros_warnflags_nonnull_compare
685 aros_nowarnflags_misleading_indentation
686 aros_warnflags_misleading_indentation
687 aros_nowarnflags_format_security
688 aros_warnflags_format_security
689 aros_nowarnflags_strict_overflow
690 aros_warnflags_strict_overflow
691 aros_nowarnflags_strict_prototypes
692 aros_warnflags_strict_prototypes
693 aros_nowarnflags_enum_compare
694 aros_warnflags_enum_compare
695 aros_nowarnflags_array_bounds
696 aros_warnflags_array_bounds
697 aros_nowarnflags_strict_aliasing
698 aros_warnflags_strict_aliasing
699 aros_nowarnflags_unused_but_set_variable
700 aros_warnflags_unused_but_set_variable
701 aros_nowarnflags_unknown_warning_option
702 aros_warnflags_unknown_warning_option
703 aros_nowarnflags_unused_command_line_argument
704 aros_warnflags_unused_command_line_argument
705 aros_nowarnflags_error
707 aros_cflags_no_red_zone
708 aros_cflags_iquote_end
710 aros_cflags_nostrictaliasing
711 aros_cflags_strictaliasing
712 aros_cflags_unroll_loops
713 aros_cflags_peel_loops
714 aros_cflags_loop_strip_mine
715 aros_cflags_loop_interchange
716 aros_cflags_loop_block
717 aros_cflags_whole_program
720 aros_cflags_no_builtin_floor
721 aros_cflags_fast_math
722 aros_cflags_permissive
723 aros_cflags_exceptions
758 program_transform_name
771 enable_option_checking
774 ac_precious_vars
='build_alias
784 # Initialize some variables set by options.
786 ac_init_version
=false
787 ac_unrecognized_opts
=
789 # The variables have the same names as the options, with
790 # dashes changed to underlines.
798 program_transform_name
=s
,x
,x
,
806 # Installation directory options.
807 # These are left unexpanded so users can "make install exec_prefix=/foo"
808 # and all the variables that are supposed to be based on exec_prefix
809 # by default will actually change.
810 # Use braces instead of parens because sh, perl, etc. also accept them.
811 # (The list follows the same order as the GNU Coding Standards.)
812 bindir
='${exec_prefix}/bin'
813 sbindir
='${exec_prefix}/sbin'
814 libexecdir
='${exec_prefix}/libexec'
815 datarootdir
='${prefix}/share'
816 datadir
='${datarootdir}'
817 sysconfdir
='${prefix}/etc'
818 sharedstatedir
='${prefix}/com'
819 localstatedir
='${prefix}/var'
820 includedir
='${prefix}/include'
821 oldincludedir
='/usr/include'
822 docdir
='${datarootdir}/doc/${PACKAGE}'
823 infodir
='${datarootdir}/info'
828 libdir
='${exec_prefix}/lib'
829 localedir
='${datarootdir}/locale'
830 mandir
='${datarootdir}/man'
836 # If the previous option needs an argument, assign it.
837 if test -n "$ac_prev"; then
838 eval $ac_prev=\
$ac_option
844 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
849 # Accept the important Cygnus configure options, so we can diagnose typos.
851 case $ac_dashdash$ac_option in
855 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
857 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
860 -build |
--build |
--buil |
--bui |
--bu)
861 ac_prev
=build_alias
;;
862 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
863 build_alias
=$ac_optarg ;;
865 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
866 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
867 ac_prev
=cache_file
;;
868 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
869 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
870 cache_file
=$ac_optarg ;;
873 cache_file
=config.cache
;;
875 -datadir |
--datadir |
--datadi |
--datad)
877 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
878 datadir
=$ac_optarg ;;
880 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
881 |
--dataroo |
--dataro |
--datar)
882 ac_prev
=datarootdir
;;
883 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
884 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
885 datarootdir
=$ac_optarg ;;
887 -disable-* |
--disable-*)
888 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
889 # Reject names that are not valid shell variable names.
890 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
891 as_fn_error $?
"invalid feature name: $ac_useropt"
892 ac_useropt_orig
=$ac_useropt
893 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
894 case $ac_user_opts in
898 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
899 ac_unrecognized_sep
=', ';;
901 eval enable_
$ac_useropt=no
;;
903 -docdir |
--docdir |
--docdi |
--doc |
--do)
905 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
908 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
910 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
913 -enable-* |
--enable-*)
914 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
917 as_fn_error $?
"invalid feature name: $ac_useropt"
918 ac_useropt_orig
=$ac_useropt
919 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
920 case $ac_user_opts in
924 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
925 ac_unrecognized_sep
=', ';;
927 eval enable_
$ac_useropt=\
$ac_optarg ;;
929 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
930 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
931 |
--exec |
--exe |
--ex)
932 ac_prev
=exec_prefix
;;
933 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
934 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
935 |
--exec=* |
--exe=* |
--ex=*)
936 exec_prefix
=$ac_optarg ;;
938 -gas |
--gas |
--ga |
--g)
939 # Obsolete; use --with-gas.
942 -help |
--help |
--hel |
--he |
-h)
944 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
945 ac_init_help
=recursive
;;
946 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
947 ac_init_help
=short
;;
949 -host |
--host |
--hos |
--ho)
950 ac_prev
=host_alias
;;
951 -host=* |
--host=* |
--hos=* |
--ho=*)
952 host_alias
=$ac_optarg ;;
954 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
956 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
958 htmldir
=$ac_optarg ;;
960 -includedir |
--includedir |
--includedi |
--included |
--include \
961 |
--includ |
--inclu |
--incl |
--inc)
962 ac_prev
=includedir
;;
963 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
964 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
965 includedir
=$ac_optarg ;;
967 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
969 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
970 infodir
=$ac_optarg ;;
972 -libdir |
--libdir |
--libdi |
--libd)
974 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
977 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
978 |
--libexe |
--libex |
--libe)
979 ac_prev
=libexecdir
;;
980 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
981 |
--libexe=* |
--libex=* |
--libe=*)
982 libexecdir
=$ac_optarg ;;
984 -localedir |
--localedir |
--localedi |
--localed |
--locale)
986 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
987 localedir
=$ac_optarg ;;
989 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
990 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
991 ac_prev
=localstatedir
;;
992 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
993 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
994 localstatedir
=$ac_optarg ;;
996 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
998 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1001 -nfp |
--nfp |
--nf)
1002 # Obsolete; use --without-fp.
1005 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1006 |
--no-cr |
--no-c |
-n)
1009 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1010 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1013 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1014 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1015 |
--oldin |
--oldi |
--old |
--ol |
--o)
1016 ac_prev
=oldincludedir
;;
1017 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1018 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1019 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1020 oldincludedir
=$ac_optarg ;;
1022 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1024 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1025 prefix
=$ac_optarg ;;
1027 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1028 |
--program-pre |
--program-pr |
--program-p)
1029 ac_prev
=program_prefix
;;
1030 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1031 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1032 program_prefix
=$ac_optarg ;;
1034 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1035 |
--program-suf |
--program-su |
--program-s)
1036 ac_prev
=program_suffix
;;
1037 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1038 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1039 program_suffix
=$ac_optarg ;;
1041 -program-transform-name |
--program-transform-name \
1042 |
--program-transform-nam |
--program-transform-na \
1043 |
--program-transform-n |
--program-transform- \
1044 |
--program-transform |
--program-transfor \
1045 |
--program-transfo |
--program-transf \
1046 |
--program-trans |
--program-tran \
1047 |
--progr-tra |
--program-tr |
--program-t)
1048 ac_prev
=program_transform_name
;;
1049 -program-transform-name=* |
--program-transform-name=* \
1050 |
--program-transform-nam=* |
--program-transform-na=* \
1051 |
--program-transform-n=* |
--program-transform-=* \
1052 |
--program-transform=* |
--program-transfor=* \
1053 |
--program-transfo=* |
--program-transf=* \
1054 |
--program-trans=* |
--program-tran=* \
1055 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1056 program_transform_name
=$ac_optarg ;;
1058 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1060 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1061 pdfdir
=$ac_optarg ;;
1063 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1065 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1068 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1069 |
-silent |
--silent |
--silen |
--sile |
--sil)
1072 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1074 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1076 sbindir
=$ac_optarg ;;
1078 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1079 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1080 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1082 ac_prev
=sharedstatedir
;;
1083 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1084 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1085 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1087 sharedstatedir
=$ac_optarg ;;
1089 -site |
--site |
--sit)
1091 -site=* |
--site=* |
--sit=*)
1094 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1096 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1097 srcdir
=$ac_optarg ;;
1099 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1100 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1101 ac_prev
=sysconfdir
;;
1102 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1103 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1104 sysconfdir
=$ac_optarg ;;
1106 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1107 ac_prev
=target_alias
;;
1108 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1109 target_alias
=$ac_optarg ;;
1111 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1114 -version |
--version |
--versio |
--versi |
--vers |
-V)
1115 ac_init_version
=: ;;
1118 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1121 as_fn_error $?
"invalid package name: $ac_useropt"
1122 ac_useropt_orig
=$ac_useropt
1123 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1124 case $ac_user_opts in
1128 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1129 ac_unrecognized_sep
=', ';;
1131 eval with_
$ac_useropt=\
$ac_optarg ;;
1133 -without-* |
--without-*)
1134 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1135 # Reject names that are not valid shell variable names.
1136 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1137 as_fn_error $?
"invalid package name: $ac_useropt"
1138 ac_useropt_orig
=$ac_useropt
1139 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1140 case $ac_user_opts in
1144 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1145 ac_unrecognized_sep
=', ';;
1147 eval with_
$ac_useropt=no
;;
1150 # Obsolete; use --with-x.
1153 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1154 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1155 ac_prev
=x_includes
;;
1156 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1157 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1158 x_includes
=$ac_optarg ;;
1160 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1161 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1162 ac_prev
=x_libraries
;;
1163 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1164 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1165 x_libraries
=$ac_optarg ;;
1167 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1168 Try \`$0 --help' for more information"
1172 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1173 # Reject names that are not valid shell variable names.
1174 case $ac_envvar in #(
1175 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1176 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1178 eval $ac_envvar=\
$ac_optarg
1179 export $ac_envvar ;;
1182 # FIXME: should be removed in autoconf 3.0.
1183 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1184 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1185 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1186 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1192 if test -n "$ac_prev"; then
1193 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1194 as_fn_error $?
"missing argument to $ac_option"
1197 if test -n "$ac_unrecognized_opts"; then
1198 case $enable_option_checking in
1200 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1201 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1205 # Check all directory arguments for consistency.
1206 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1207 datadir sysconfdir sharedstatedir localstatedir includedir \
1208 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1209 libdir localedir mandir
1211 eval ac_val
=\$
$ac_var
1212 # Remove trailing slashes.
1215 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1216 eval $ac_var=\
$ac_val;;
1218 # Be sure to have absolute directory names.
1220 [\\/$
]* | ?
:[\\/]* ) continue;;
1221 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1223 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1226 # There might be people who depend on the old broken behavior: `$host'
1227 # used to hold the argument of --host etc.
1228 # FIXME: To remove some day.
1231 target
=$target_alias
1233 # FIXME: To remove some day.
1234 if test "x$host_alias" != x
; then
1235 if test "x$build_alias" = x
; then
1236 cross_compiling
=maybe
1237 elif test "x$build_alias" != "x$host_alias"; then
1243 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1245 test "$silent" = yes && exec 6>/dev
/null
1248 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1249 ac_ls_di
=`ls -di .` &&
1250 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1251 as_fn_error $?
"working directory cannot be determined"
1252 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1253 as_fn_error $?
"pwd does not report name of working directory"
1256 # Find the source files, if location was not specified.
1257 if test -z "$srcdir"; then
1258 ac_srcdir_defaulted
=yes
1259 # Try the directory containing this script, then the parent directory.
1260 ac_confdir
=`$as_dirname -- "$as_myself" ||
1261 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1262 X"$as_myself" : 'X\(//\)[^/]' \| \
1263 X"$as_myself" : 'X\(//\)$' \| \
1264 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1265 $as_echo X"$as_myself" |
1266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1284 if test ! -r "$srcdir/$ac_unique_file"; then
1288 ac_srcdir_defaulted
=no
1290 if test ! -r "$srcdir/$ac_unique_file"; then
1291 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1292 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1294 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1296 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1298 # When building in place, set srcdir=.
1299 if test "$ac_abs_confdir" = "$ac_pwd"; then
1302 # Remove unnecessary trailing slashes from srcdir.
1303 # Double slashes in file names in object file debugging info
1304 # mess up M-x gdb in Emacs.
1306 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1308 for ac_var
in $ac_precious_vars; do
1309 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1310 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1311 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1312 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1316 # Report the --help message.
1318 if test "$ac_init_help" = "long"; then
1319 # Omit some internal or obsolete options to make the list less imposing.
1320 # This message is too long to be a string in the A/UX 3.1 sh.
1322 \`configure' configures this package to adapt to many kinds of systems.
1324 Usage: $0 [OPTION]... [VAR=VALUE]...
1326 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1327 VAR=VALUE. See below for descriptions of some of the useful variables.
1329 Defaults for the options are specified in brackets.
1332 -h, --help display this help and exit
1333 --help=short display options specific to this package
1334 --help=recursive display the short help of all the included packages
1335 -V, --version display version information and exit
1336 -q, --quiet, --silent do not print \`checking ...' messages
1337 --cache-file=FILE cache test results in FILE [disabled]
1338 -C, --config-cache alias for \`--cache-file=config.cache'
1339 -n, --no-create do not create output files
1340 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1342 Installation directories:
1343 --prefix=PREFIX install architecture-independent files in PREFIX
1344 [$ac_default_prefix]
1345 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1348 By default, \`make install' will install all the files in
1349 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1350 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1351 for instance \`--prefix=\$HOME'.
1353 For better control, use the options below.
1355 Fine tuning of the installation directories:
1356 --bindir=DIR user executables [EPREFIX/bin]
1357 --sbindir=DIR system admin executables [EPREFIX/sbin]
1358 --libexecdir=DIR program executables [EPREFIX/libexec]
1359 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1360 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1361 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1362 --libdir=DIR object code libraries [EPREFIX/lib]
1363 --includedir=DIR C header files [PREFIX/include]
1364 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1365 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1366 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1367 --infodir=DIR info documentation [DATAROOTDIR/info]
1368 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1369 --mandir=DIR man documentation [DATAROOTDIR/man]
1370 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1371 --htmldir=DIR html documentation [DOCDIR]
1372 --dvidir=DIR dvi documentation [DOCDIR]
1373 --pdfdir=DIR pdf documentation [DOCDIR]
1374 --psdir=DIR ps documentation [DOCDIR]
1381 if test -n "$ac_init_help"; then
1386 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1387 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1388 --with-config-dir=VERSION
1389 Location of generated target config files
1391 Some influential environment variables
:
1392 CC C compiler
command
1393 CFLAGS C compiler flags
1394 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1395 nonstandard directory
<lib dir
>
1396 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1397 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1398 you have headers
in a nonstandard directory
<include dir
>
1400 Use these variables to override the choices made by
`configure' or to help
1401 it to find libraries and programs with nonstandard names/locations.
1403 Report bugs to the package provider.
1408 if test "$ac_init_help" = "recursive"; then
1409 # If there are subdirs, report their specific --help.
1410 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1411 test -d "$ac_dir" ||
1412 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1417 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1419 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1420 # A ".." for each directory in $ac_dir_suffix.
1421 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1422 case $ac_top_builddir_sub in
1423 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1424 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1427 ac_abs_top_builddir=$ac_pwd
1428 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1429 # for backward compatibility:
1430 ac_top_builddir=$ac_top_build_prefix
1433 .) # We are building in place.
1435 ac_top_srcdir=$ac_top_builddir_sub
1436 ac_abs_top_srcdir=$ac_pwd ;;
1437 [\\/]* | ?:[\\/]* ) # Absolute name.
1438 ac_srcdir=$srcdir$ac_dir_suffix;
1439 ac_top_srcdir=$srcdir
1440 ac_abs_top_srcdir=$srcdir ;;
1442 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1443 ac_top_srcdir=$ac_top_build_prefix$srcdir
1444 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1446 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1448 cd "$ac_dir" || { ac_status=$?; continue; }
1449 # Check for guested configure.
1450 if test -f "$ac_srcdir/configure.gnu"; then
1452 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1453 elif test -f "$ac_srcdir/configure"; then
1455 $SHELL "$ac_srcdir/configure" --help=recursive
1457 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1459 cd "$ac_pwd" || { ac_status=$?; break; }
1463 test -n "$ac_init_help" && exit $ac_status
1464 if $ac_init_version; then
1467 generated by GNU Autoconf 2.69
1469 Copyright (C) 2012 Free Software Foundation, Inc.
1470 This configure script is free software; the Free Software Foundation
1471 gives unlimited permission to copy, distribute and modify it.
1476 ## ------------------------ ##
1477 ## Autoconf initialization. ##
1478 ## ------------------------ ##
1480 # ac_fn_c_try_compile LINENO
1481 # --------------------------
1482 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1483 ac_fn_c_try_compile ()
1485 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1486 rm -f conftest.$ac_objext
1487 if { { ac_try="$ac_compile"
1489 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1490 *) ac_try_echo
=$ac_try;;
1492 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1493 $as_echo "$ac_try_echo"; } >&5
1494 (eval "$ac_compile") 2>conftest.err
1496 if test -s conftest.err
; then
1497 grep -v '^ *+' conftest.err
>conftest.er1
1498 cat conftest.er1
>&5
1499 mv -f conftest.er1 conftest.err
1501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1502 test $ac_status = 0; } && {
1503 test -z "$ac_c_werror_flag" ||
1504 test ! -s conftest.err
1505 } && test -s conftest.
$ac_objext; then :
1508 $as_echo "$as_me: failed program was:" >&5
1509 sed 's/^/| /' conftest.
$ac_ext >&5
1513 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1514 as_fn_set_status
$ac_retval
1516 } # ac_fn_c_try_compile
1517 cat >config.log
<<_ACEOF
1518 This file contains any messages produced by compilers while
1519 running configure, to aid debugging if configure makes a mistake.
1521 It was created by $as_me, which was
1522 generated by GNU Autoconf 2.69. Invocation command line was
1534 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1535 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1536 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1537 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1538 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1540 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1541 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1543 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1544 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1545 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1546 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1547 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1548 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1549 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1557 test -z "$as_dir" && as_dir
=.
1558 $as_echo "PATH: $as_dir"
1574 # Keep a trace of the command line.
1575 # Strip out --no-create and --no-recursion so they do not pile up.
1576 # Strip out --silent because we don't want to record it for future runs.
1577 # Also quote any args containing shell meta-characters.
1578 # Make two passes to allow for proper duplicate-argument suppression.
1582 ac_must_keep_next
=false
1588 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1589 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1590 |
-silent |
--silent |
--silen |
--sile |
--sil)
1593 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1596 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1598 as_fn_append ac_configure_args1
" '$ac_arg'"
1599 if test $ac_must_keep_next = true
; then
1600 ac_must_keep_next
=false
# Got value, back to normal.
1603 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1604 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1605 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1606 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1607 case "$ac_configure_args0 " in
1608 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1611 -* ) ac_must_keep_next
=true
;;
1614 as_fn_append ac_configure_args
" '$ac_arg'"
1619 { ac_configure_args0
=; unset ac_configure_args0
;}
1620 { ac_configure_args1
=; unset ac_configure_args1
;}
1622 # When interrupted or exit'd, cleanup temporary files, and complete
1623 # config.log. We remove comments because anyway the quotes in there
1624 # would cause problems or look ugly.
1625 # WARNING: Use '\'' to represent an apostrophe within the trap.
1626 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1627 trap 'exit_status=$?
1628 # Save into config.log some information that might help in debugging.
1632 $as_echo "## ---------------- ##
1633 ## Cache variables. ##
1634 ## ---------------- ##"
1636 # The following way of writing the cache mishandles newlines in values,
1638 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1639 eval ac_val=\$$ac_var
1643 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1644 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1647 _ | IFS | as_nl) ;; #(
1648 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1649 *) { eval $ac_var=; unset $ac_var;} ;;
1654 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1655 *${as_nl}ac_space=\ *)
1657 "s/'\''/'\''\\\\'\'''\''/g;
1658 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1661 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1668 $as_echo "## ----------------- ##
1669 ## Output variables. ##
1670 ## ----------------- ##"
1672 for ac_var in $ac_subst_vars
1674 eval ac_val=\$$ac_var
1676 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1678 $as_echo "$ac_var='\''$ac_val'\''"
1682 if test -n "$ac_subst_files"; then
1683 $as_echo "## ------------------- ##
1684 ## File substitutions. ##
1685 ## ------------------- ##"
1687 for ac_var
in $ac_subst_files
1689 eval ac_val
=\$
$ac_var
1691 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1693 $as_echo "$ac_var='\''$ac_val'\''"
1698 if test -s confdefs.h; then
1699 $as_echo "## ----------- ##
1706 test "$ac_signal" != 0 &&
1707 $as_echo "$as_me: caught signal $ac_signal"
1708 $as_echo "$as_me: exit $exit_status"
1710 rm -f core *.core core.conftest.* &&
1711 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1714 for ac_signal
in 1 2 13 15; do
1715 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1719 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1720 rm -f -r conftest
* confdefs.h
1722 $as_echo "/* confdefs.h */" > confdefs.h
1724 # Predefined preprocessor variables.
1726 cat >>confdefs.h
<<_ACEOF
1727 #define PACKAGE_NAME "$PACKAGE_NAME"
1730 cat >>confdefs.h
<<_ACEOF
1731 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1734 cat >>confdefs.h
<<_ACEOF
1735 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1738 cat >>confdefs.h
<<_ACEOF
1739 #define PACKAGE_STRING "$PACKAGE_STRING"
1742 cat >>confdefs.h
<<_ACEOF
1743 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1746 cat >>confdefs.h
<<_ACEOF
1747 #define PACKAGE_URL "$PACKAGE_URL"
1751 # Let the site file select an alternate cache file if it wants to.
1752 # Prefer an explicitly selected file to automatically selected ones.
1755 if test -n "$CONFIG_SITE"; then
1756 # We do not want a PATH search for config.site.
1757 case $CONFIG_SITE in #((
1758 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1759 */*) ac_site_file1
=$CONFIG_SITE;;
1760 *) ac_site_file1
=.
/$CONFIG_SITE;;
1762 elif test "x$prefix" != xNONE
; then
1763 ac_site_file1
=$prefix/share
/config.site
1764 ac_site_file2
=$prefix/etc
/config.site
1766 ac_site_file1
=$ac_default_prefix/share
/config.site
1767 ac_site_file2
=$ac_default_prefix/etc
/config.site
1769 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1771 test "x$ac_site_file" = xNONE
&& continue
1772 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1774 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1775 sed 's/^/| /' "$ac_site_file" >&5
1777 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1778 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1779 as_fn_error $?
"failed to load site script $ac_site_file
1780 See \`config.log' for more details" "$LINENO" 5; }
1784 if test -r "$cache_file"; then
1785 # Some versions of bash will fail to source /dev/null (special files
1786 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1787 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1789 $as_echo "$as_me: loading cache $cache_file" >&6;}
1791 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1792 *) .
"./$cache_file";;
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1797 $as_echo "$as_me: creating cache $cache_file" >&6;}
1801 # Check that the precious variables saved in the cache have kept the same
1803 ac_cache_corrupted
=false
1804 for ac_var
in $ac_precious_vars; do
1805 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1806 eval ac_new_set
=\
$ac_env_${ac_var}_set
1807 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1808 eval ac_new_val
=\
$ac_env_${ac_var}_value
1809 case $ac_old_set,$ac_new_set in
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1812 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1813 ac_cache_corrupted
=: ;;
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1816 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1817 ac_cache_corrupted
=: ;;
1820 if test "x$ac_old_val" != "x$ac_new_val"; then
1821 # differences in whitespace do not lead to failure.
1822 ac_old_val_w
=`echo x $ac_old_val`
1823 ac_new_val_w
=`echo x $ac_new_val`
1824 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1826 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1827 ac_cache_corrupted
=:
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1830 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1831 eval $ac_var=\
$ac_old_val
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1834 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1836 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1839 # Pass precious variables to config.status.
1840 if test "$ac_new_set" = set; then
1842 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1843 *) ac_arg
=$ac_var=$ac_new_val ;;
1845 case " $ac_configure_args " in
1846 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1847 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1851 if $ac_cache_corrupted; then
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1855 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1856 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1858 ## -------------------- ##
1859 ## Main body of script. ##
1860 ## -------------------- ##
1863 ac_cpp
='$CPP $CPPFLAGS'
1864 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1865 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1866 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1871 for ac_dir
in ..
/scripts
/autoconf
"$srcdir"/..
/scripts
/autoconf
; do
1872 if test -f "$ac_dir/install-sh"; then
1874 ac_install_sh
="$ac_aux_dir/install-sh -c"
1876 elif test -f "$ac_dir/install.sh"; then
1878 ac_install_sh
="$ac_aux_dir/install.sh -c"
1880 elif test -f "$ac_dir/shtool"; then
1882 ac_install_sh
="$ac_aux_dir/shtool install -c"
1886 if test -z "$ac_aux_dir"; then
1887 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
1890 # These three variables are undocumented and unsupported,
1891 # and are intended to be withdrawn in a future Autoconf release.
1892 # They can cause serious problems if a builder's source tree is in a directory
1893 # whose full name contains unusual characters.
1894 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1895 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1896 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1900 AROS_BUILDDIR
=`${PWDCMD-pwd}`
1901 AROS_BUILDDIR_UNIX
=${PWD}
1903 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1906 NOLINKFLAGS
="-nostdlib -nostartfiles"
1907 LDFLAGS
=$NOLINKFLAGS
1908 # The first step is to find the binaries.
1910 ac_cpp
='$CPP $CPPFLAGS'
1911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1914 if test -n "$ac_tool_prefix"; then
1915 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1916 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1918 $as_echo_n "checking for $ac_word... " >&6; }
1919 if ${ac_cv_prog_CC+:} false
; then :
1920 $as_echo_n "(cached) " >&6
1922 if test -n "$CC"; then
1923 ac_cv_prog_CC
="$CC" # Let the user override the test.
1925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1929 test -z "$as_dir" && as_dir
=.
1930 for ac_exec_ext
in '' $ac_executable_extensions; do
1931 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1932 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1943 if test -n "$CC"; then
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1945 $as_echo "$CC" >&6; }
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1948 $as_echo "no" >&6; }
1953 if test -z "$ac_cv_prog_CC"; then
1955 # Extract the first word of "gcc", so it can be a program name with args.
1956 set dummy gcc
; ac_word
=$2
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1958 $as_echo_n "checking for $ac_word... " >&6; }
1959 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
1960 $as_echo_n "(cached) " >&6
1962 if test -n "$ac_ct_CC"; then
1963 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1969 test -z "$as_dir" && as_dir
=.
1970 for ac_exec_ext
in '' $ac_executable_extensions; do
1971 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1972 ac_cv_prog_ac_ct_CC
="gcc"
1973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1982 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1983 if test -n "$ac_ct_CC"; then
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1985 $as_echo "$ac_ct_CC" >&6; }
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1988 $as_echo "no" >&6; }
1991 if test "x$ac_ct_CC" = x
; then
1994 case $cross_compiling:$ac_tool_warned in
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1998 ac_tool_warned
=yes ;;
2006 if test -z "$CC"; then
2007 if test -n "$ac_tool_prefix"; then
2008 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2009 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2011 $as_echo_n "checking for $ac_word... " >&6; }
2012 if ${ac_cv_prog_CC+:} false
; then :
2013 $as_echo_n "(cached) " >&6
2015 if test -n "$CC"; then
2016 ac_cv_prog_CC
="$CC" # Let the user override the test.
2018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2022 test -z "$as_dir" && as_dir
=.
2023 for ac_exec_ext
in '' $ac_executable_extensions; do
2024 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2025 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2036 if test -n "$CC"; then
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2038 $as_echo "$CC" >&6; }
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2041 $as_echo "no" >&6; }
2047 if test -z "$CC"; then
2048 # Extract the first word of "cc", so it can be a program name with args.
2049 set dummy cc
; ac_word
=$2
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2051 $as_echo_n "checking for $ac_word... " >&6; }
2052 if ${ac_cv_prog_CC+:} false
; then :
2053 $as_echo_n "(cached) " >&6
2055 if test -n "$CC"; then
2056 ac_cv_prog_CC
="$CC" # Let the user override the test.
2059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2063 test -z "$as_dir" && as_dir
=.
2064 for ac_exec_ext
in '' $ac_executable_extensions; do
2065 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2066 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2067 ac_prog_rejected
=yes
2071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2078 if test $ac_prog_rejected = yes; then
2079 # We found a bogon in the path, so make sure we never use it.
2080 set dummy
$ac_cv_prog_CC
2082 if test $# != 0; then
2083 # We chose a different compiler from the bogus one.
2084 # However, it has the same basename, so the bogon will be chosen
2085 # first if we set CC to just the basename; use the full file name.
2087 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2093 if test -n "$CC"; then
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2095 $as_echo "$CC" >&6; }
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2098 $as_echo "no" >&6; }
2103 if test -z "$CC"; then
2104 if test -n "$ac_tool_prefix"; then
2105 for ac_prog
in cl.exe
2107 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2108 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2110 $as_echo_n "checking for $ac_word... " >&6; }
2111 if ${ac_cv_prog_CC+:} false
; then :
2112 $as_echo_n "(cached) " >&6
2114 if test -n "$CC"; then
2115 ac_cv_prog_CC
="$CC" # Let the user override the test.
2117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2121 test -z "$as_dir" && as_dir
=.
2122 for ac_exec_ext
in '' $ac_executable_extensions; do
2123 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2124 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2135 if test -n "$CC"; then
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2137 $as_echo "$CC" >&6; }
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2140 $as_echo "no" >&6; }
2144 test -n "$CC" && break
2147 if test -z "$CC"; then
2149 for ac_prog
in cl.exe
2151 # Extract the first word of "$ac_prog", so it can be a program name with args.
2152 set dummy
$ac_prog; ac_word
=$2
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2154 $as_echo_n "checking for $ac_word... " >&6; }
2155 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2156 $as_echo_n "(cached) " >&6
2158 if test -n "$ac_ct_CC"; then
2159 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2165 test -z "$as_dir" && as_dir
=.
2166 for ac_exec_ext
in '' $ac_executable_extensions; do
2167 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2168 ac_cv_prog_ac_ct_CC
="$ac_prog"
2169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2178 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2179 if test -n "$ac_ct_CC"; then
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2181 $as_echo "$ac_ct_CC" >&6; }
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2184 $as_echo "no" >&6; }
2188 test -n "$ac_ct_CC" && break
2191 if test "x$ac_ct_CC" = x
; then
2194 case $cross_compiling:$ac_tool_warned in
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2197 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2198 ac_tool_warned
=yes ;;
2207 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2209 as_fn_error $?
"no acceptable C compiler found in \$PATH
2210 See \`config.log' for more details" "$LINENO" 5; }
2212 # Provide some information about the compiler.
2213 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2216 for ac_option
in --version -v -V -qversion; do
2217 { { ac_try
="$ac_compiler $ac_option >&5"
2219 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2220 *) ac_try_echo=$ac_try;;
2222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2223 $as_echo "$ac_try_echo"; } >&5
2224 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2226 if test -s conftest.err; then
2228 ... rest of stderr output deleted ...
2229 10q' conftest.err >conftest.er1
2230 cat conftest.er1 >&5
2232 rm -f conftest.er1 conftest.err
2233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2234 test $ac_status = 0; }
2237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2238 /* end confdefs.h. */
2248 ac_clean_files_save=$ac_clean_files
2249 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2250 # Try to create an executable without -o first, disregard a.out.
2251 # It will help us diagnose broken compilers, and finding out an intuition
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2254 $as_echo_n "checking whether the C compiler works... " >&6; }
2255 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2257 # The possible output files:
2258 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2261 for ac_file in $ac_files
2264 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2265 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2270 if { { ac_try="$ac_link_default"
2272 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2273 *) ac_try_echo
=$ac_try;;
2275 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2276 $as_echo "$ac_try_echo"; } >&5
2277 (eval "$ac_link_default") 2>&5
2279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2280 test $ac_status = 0; }; then :
2281 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2282 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2283 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2284 # so that the user can short-circuit this test for compilers unknown to
2286 for ac_file
in $ac_files ''
2288 test -f "$ac_file" ||
continue
2290 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2293 # We found the default executable, but exeext='' is most
2297 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2299 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2301 # We set ac_cv_exeext here because the later test for it is not
2302 # safe: cross compilers may not add the suffix if given an `-o'
2303 # argument, so we may need to know it at that point already.
2304 # Even if this section looks crufty: it has the advantage of
2311 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2316 if test -z "$ac_file"; then :
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2318 $as_echo "no" >&6; }
2319 $as_echo "$as_me: failed program was:" >&5
2320 sed 's/^/| /' conftest.
$ac_ext >&5
2322 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2324 as_fn_error
77 "C compiler cannot create executables
2325 See \`config.log' for more details" "$LINENO" 5; }
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2328 $as_echo "yes" >&6; }
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2331 $as_echo_n "checking for C compiler default output file name... " >&6; }
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2333 $as_echo "$ac_file" >&6; }
2334 ac_exeext
=$ac_cv_exeext
2336 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2337 ac_clean_files
=$ac_clean_files_save
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2339 $as_echo_n "checking for suffix of executables... " >&6; }
2340 if { { ac_try
="$ac_link"
2342 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2343 *) ac_try_echo=$ac_try;;
2345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2346 $as_echo "$ac_try_echo"; } >&5
2347 (eval "$ac_link") 2>&5
2349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2350 test $ac_status = 0; }; then :
2351 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2352 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2353 # work properly (i.e., refer to `conftest.exe'), while it won't with
2355 for ac_file
in conftest.exe conftest conftest.
*; do
2356 test -f "$ac_file" ||
continue
2358 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2359 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2365 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2367 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2368 See \`config.log' for more details" "$LINENO" 5; }
2370 rm -f conftest conftest
$ac_cv_exeext
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2372 $as_echo "$ac_cv_exeext" >&6; }
2374 rm -f conftest.
$ac_ext
2375 EXEEXT
=$ac_cv_exeext
2377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2378 /* end confdefs.h. */
2383 FILE *f = fopen ("conftest.out", "w");
2384 return ferror (f) || fclose (f) != 0;
2390 ac_clean_files
="$ac_clean_files conftest.out"
2391 # Check that the compiler produces executables we can run. If not, either
2392 # the compiler is broken, or we cross compile.
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2394 $as_echo_n "checking whether we are cross compiling... " >&6; }
2395 if test "$cross_compiling" != yes; then
2396 { { ac_try
="$ac_link"
2398 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2399 *) ac_try_echo=$ac_try;;
2401 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2402 $as_echo "$ac_try_echo"; } >&5
2403 (eval "$ac_link") 2>&5
2405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2406 test $ac_status = 0; }
2407 if { ac_try='./conftest$ac_cv_exeext'
2408 { { case "(($ac_try" in
2409 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2410 *) ac_try_echo
=$ac_try;;
2412 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2413 $as_echo "$ac_try_echo"; } >&5
2414 (eval "$ac_try") 2>&5
2416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2417 test $ac_status = 0; }; }; then
2420 if test "$cross_compiling" = maybe
; then
2423 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2425 as_fn_error $?
"cannot run C compiled programs.
2426 If you meant to cross compile, use \`--host'.
2427 See \`config.log' for more details" "$LINENO" 5; }
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2432 $as_echo "$cross_compiling" >&6; }
2434 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2435 ac_clean_files
=$ac_clean_files_save
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2437 $as_echo_n "checking for suffix of object files... " >&6; }
2438 if ${ac_cv_objext+:} false
; then :
2439 $as_echo_n "(cached) " >&6
2441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2442 /* end confdefs.h. */
2452 rm -f conftest.o conftest.obj
2453 if { { ac_try
="$ac_compile"
2455 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2456 *) ac_try_echo=$ac_try;;
2458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2459 $as_echo "$ac_try_echo"; } >&5
2460 (eval "$ac_compile") 2>&5
2462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2463 test $ac_status = 0; }; then :
2464 for ac_file in conftest.o conftest.obj conftest.*; do
2465 test -f "$ac_file" || continue;
2467 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2468 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2473 $as_echo "$as_me: failed program was:" >&5
2474 sed 's/^/| /' conftest.$ac_ext >&5
2476 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2478 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2479 See \
`config.log' for more details" "$LINENO" 5; }
2481 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2484 $as_echo "$ac_cv_objext" >&6; }
2485 OBJEXT=$ac_cv_objext
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2488 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2489 if ${ac_cv_c_compiler_gnu+:} false; then :
2490 $as_echo_n "(cached) " >&6
2492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2493 /* end confdefs.h. */
2506 if ac_fn_c_try_compile "$LINENO"; then :
2511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2512 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2516 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2517 if test $ac_compiler_gnu = yes; then
2522 ac_test_CFLAGS=${CFLAGS+set}
2523 ac_save_CFLAGS=$CFLAGS
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2525 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2526 if ${ac_cv_prog_cc_g+:} false; then :
2527 $as_echo_n "(cached) " >&6
2529 ac_save_c_werror_flag=$ac_c_werror_flag
2530 ac_c_werror_flag=yes
2533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2534 /* end confdefs.h. */
2544 if ac_fn_c_try_compile "$LINENO"; then :
2548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2549 /* end confdefs.h. */
2559 if ac_fn_c_try_compile "$LINENO"; then :
2562 ac_c_werror_flag=$ac_save_c_werror_flag
2564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2565 /* end confdefs.h. */
2575 if ac_fn_c_try_compile "$LINENO"; then :
2578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2583 ac_c_werror_flag=$ac_save_c_werror_flag
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2586 $as_echo "$ac_cv_prog_cc_g" >&6; }
2587 if test "$ac_test_CFLAGS" = set; then
2588 CFLAGS=$ac_save_CFLAGS
2589 elif test $ac_cv_prog_cc_g = yes; then
2590 if test "$GCC" = yes; then
2596 if test "$GCC" = yes; then
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2603 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2604 if ${ac_cv_prog_cc_c89+:} false; then :
2605 $as_echo_n "(cached) " >&6
2607 ac_cv_prog_cc_c89=no
2609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2610 /* end confdefs.h. */
2614 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2615 struct buf { int x; };
2616 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2617 static char *e (p, i)
2623 static char *f (char * (*g) (char **, int), char **p, ...)
2628 s = g (p, va_arg (v,int));
2633 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2634 function prototypes and stuff, but not '\xHH' hex character constants.
2635 These don't provoke an error unfortunately, instead are silently treated
2636 as 'x'. The following induces an error, until -std is added to get
2637 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2638 array size at least. It's necessary to write '\x00'==0 to get something
2639 that's true only with -std. */
2640 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2642 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2643 inside strings and character constants. */
2645 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2647 int test (int i, double x);
2648 struct s1 {int (*f) (int a);};
2649 struct s2 {int (*f) (double a);};
2650 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2656 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2661 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2662 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2664 CC="$ac_save_CC $ac_arg"
2665 if ac_fn_c_try_compile "$LINENO"; then :
2666 ac_cv_prog_cc_c89=$ac_arg
2668 rm -f core conftest.err conftest.$ac_objext
2669 test "x$ac_cv_prog_cc_c89" != "xno" && break
2671 rm -f conftest.$ac_ext
2676 case "x$ac_cv_prog_cc_c89" in
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2679 $as_echo "none needed" >&6; } ;;
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2682 $as_echo "unsupported" >&6; } ;;
2684 CC="$CC $ac_cv_prog_cc_c89"
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2686 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2688 if test "x$ac_cv_prog_cc_c89" != xno; then :
2693 ac_cpp='$CPP $CPPFLAGS'
2694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2700 $as_echo_n "checking target config location... " >&6; }
2702 # Check whether --with-config-dir was given.
2703 if test "${with_config_dir+set}" = set; then :
2704 withval=$with_config_dir; targetcfg_dir="$withval"
2709 if test "$targetcfg_dir" = ""; then
2710 as_fn_error $? "missing config directory!" "$LINENO" 5
2712 aros_targetcfg_dir="$targetcfg_dir"
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2715 $as_echo "$aros_targetcfg_dir" >&6; }
2717 #-----------------------------------------------------------------------------
2719 # Check if the target compiler supports some features:
2723 # -fno-builtin-floor
2727 # -floop-interchange
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fexceptions" >&5
2734 $as_echo_n "checking whether ${CC} accepts -fexceptions... " >&6; }
2737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2738 /* end confdefs.h. */
2748 if ac_fn_c_try_compile "$LINENO"; then :
2749 aros_exceptions="yes"
2751 aros_exceptions="no"
2753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_exceptions" >&5
2755 $as_echo "$aros_exceptions" >&6; }
2756 if test "x-$aros_exceptions" = "x-yes" ; then
2757 aros_cflags_exceptions=-fexceptions
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpermissive" >&5
2761 $as_echo_n "checking whether ${CC} accepts -fpermissive... " >&6; }
2763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2764 /* end confdefs.h. */
2774 if ac_fn_c_try_compile "$LINENO"; then :
2775 aros_permissive="yes"
2777 aros_permissive="no"
2779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_permissive" >&5
2781 $as_echo "$aros_permissive" >&6; }
2782 if test "x-$aros_permissive" = "x-yes" ; then
2783 aros_cflags_permissive=-fpermissive
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2787 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2790 /* end confdefs.h. */
2800 if ac_fn_c_try_compile "$LINENO"; then :
2801 aros_fast_math="yes"
2805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2807 $as_echo "$aros_fast_math" >&6; }
2808 if test "x-$aros_fast_math" = "x-yes" ; then
2809 aros_cflags_fast_math=-ffast-math
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-floor" >&5
2813 $as_echo_n "checking whether ${CC} accepts -fno-builtin-floor... " >&6; }
2814 CFLAGS=-fno-builtin-floor
2815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2816 /* end confdefs.h. */
2826 if ac_fn_c_try_compile "$LINENO"; then :
2827 aros_no_builtin_floor="yes"
2829 aros_no_builtin_floor="no"
2831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_floor" >&5
2833 $as_echo "$aros_no_builtin_floor" >&6; }
2834 if test "x-$aros_no_builtin_floor" = "x-yes" ; then
2835 aros_cflags_no_builtin_floor=-fno-builtin-floor
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2839 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2842 /* end confdefs.h. */
2852 if ac_fn_c_try_compile "$LINENO"; then :
2857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2859 $as_echo "$aros_lto" >&6; }
2860 if test "x-$aros_lto" = "x-yes" ; then
2861 aros_cflags_lto=-flto
2862 aros_cflags_nolto=-fno-lto
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
2865 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
2866 CFLAGS=-fwhole-program
2867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2868 /* end confdefs.h. */
2878 if ac_fn_c_try_compile "$LINENO"; then :
2879 aros_whole_program="yes"
2881 aros_whole_program="no"
2883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
2885 $as_echo "$aros_whole_program" >&6; }
2886 if test "x-$aros_whole_program" = "x-yes" ; then
2887 aros_cflags_whole_program=-fwhole-program
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2891 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2894 /* end confdefs.h. */
2904 if ac_fn_c_try_compile "$LINENO"; then :
2905 aros_loop_block="yes"
2907 aros_loop_block="no"
2909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2911 $as_echo "$aros_loop_block" >&6; }
2912 if test "x-$aros_loop_block" = "x-yes" ; then
2913 aros_cflags_loop_block=-floop-block
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2917 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2918 CFLAGS=-floop-interchange
2919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2920 /* end confdefs.h. */
2930 if ac_fn_c_try_compile "$LINENO"; then :
2931 aros_loop_interchange="yes"
2933 aros_loop_interchange="no"
2935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
2937 $as_echo "$aros_loop_interchange" >&6; }
2938 if test "x-$aros_loop_interchange" = "x-yes" ; then
2939 aros_cflags_loop_interchange=-floop-interchange
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
2943 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
2944 CFLAGS=-floop-strip-mine
2945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2946 /* end confdefs.h. */
2956 if ac_fn_c_try_compile "$LINENO"; then :
2957 aros_loop_strip_mine="yes"
2959 aros_loop_strip_mine="no"
2961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
2963 $as_echo "$aros_loop_strip_mine" >&6; }
2964 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
2965 aros_cflags_loop_strip_mine=-floop-strip-mine
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
2970 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
2972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2973 /* end confdefs.h. */
2983 if ac_fn_c_try_compile "$LINENO"; then :
2984 aros_peel_loops="yes"
2986 aros_peel_loops="no"
2988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
2990 $as_echo "$aros_peel_loops" >&6; }
2991 if test "x-$aros_peel_loops" = "x-yes" ; then
2992 aros_cflags_peel_loops=-fpeel-loops
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -funroll-loops" >&5
2996 $as_echo_n "checking whether ${CC} accepts -funroll-loops... " >&6; }
2997 CFLAGS=-funroll-loops
2998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2999 /* end confdefs.h. */
3009 if ac_fn_c_try_compile "$LINENO"; then :
3010 aros_unroll_loops="yes"
3012 aros_unroll_loops="no"
3014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unroll_loops" >&5
3016 $as_echo "$aros_unroll_loops" >&6; }
3017 if test "x-$aros_unroll_loops" = "x-yes" ; then
3018 aros_cflags_unroll_loops=-funroll-loops
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
3022 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
3023 CFLAGS=-fstrict-aliasing
3024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3025 /* end confdefs.h. */
3035 if ac_fn_c_try_compile "$LINENO"; then :
3036 aros_strict_aliasing="yes"
3038 aros_strict_aliasing="no"
3040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3042 $as_echo "$aros_strict_aliasing" >&6; }
3043 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3044 aros_cflags_strictaliasing=-fstrict-aliasing
3045 aros_cflags_nostrictaliasing=-fno-strict-aliasing
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
3049 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
3051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3052 /* end confdefs.h. */
3062 if ac_fn_c_try_compile "$LINENO"; then :
3067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
3069 $as_echo "$has_iquote" >&6; }
3070 if test "x-$has_iquote" = "x-yes" ; then
3071 aros_cflags_iquote=-iquote
3072 aros_cflags_iquote_end=
3074 aros_cflags_iquote=-I
3075 aros_cflags_iquote_end=-I-
3078 #-----------------------------------------------------------------------------
3080 # Check if the target compiler supports some options:
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mno-red-zone" >&5
3084 $as_echo_n "checking whether ${CC} accepts -mno-red-zone... " >&6; }
3085 CFLAGS=-mno-red-zone
3086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3087 /* end confdefs.h. */
3097 if ac_fn_c_try_compile "$LINENO"; then :
3098 aros_no_red_zone="yes"
3100 aros_no_red_zone="no"
3102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_red_zone" >&5
3104 $as_echo "$aros_no_red_zone" >&6; }
3105 if test "x-$aros_no_red_zone" = "x-yes" ; then
3106 aros_cflags_no_red_zone=-mno-red-zone
3109 #-----------------------------------------------------------------------------
3111 # Check if the target compiler supports some options used for de-linting:
3113 # -Wunused-command-line-argument
3114 # -Wunknown-warning-option
3115 # -Wunused-but-set-variable
3119 # -Wstrict-prototypes
3122 # -Wmisleading-indentation
3129 # -Wunused-parameter
3131 # -Wmaybe-uninitialized
3132 # -Wimplicit-function-declaration
3137 # -Wformat-contains-nul
3139 # -Waggressive-loop-optimizations
3142 # -Wdiscarded-qualifiers
3145 # -Wdiscarded-array-qualifiers
3147 # -Wint-to-pointer-cast
3148 # -Wpointer-to-int-cast
3149 # -Wunused-const-variable
3152 # -Wincompatible-pointer-types
3154 # -Wlogical-not-parentheses
3158 # -Wdeprecated-declarations
3162 # -Wunused-local-typedefs
3166 # -Wvolatile-register-var
3167 # -Wsizeof-pointer-memaccess
3169 # -Wformat-zero-length
3170 # -Wlto-type-mismatch
3171 # -Wtautological-compare
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Werror" >&5
3174 $as_echo_n "checking whether ${CC} accepts -Werror... " >&6; }
3176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3177 /* end confdefs.h. */
3187 if ac_fn_c_try_compile "$LINENO"; then :
3192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_error" >&5
3194 $as_echo "$aros_error" >&6; }
3195 if test "x-$aros_error" = "x-yes" ; then
3196 aros_warnflags_error=-Werror
3197 aros_nowarnflags_error=-Wno-error
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
3201 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
3202 CFLAGS=-Wunused-command-line-argument
3203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3204 /* end confdefs.h. */
3214 if ac_fn_c_try_compile "$LINENO"; then :
3215 aros_unused_command_line_argument="yes"
3217 aros_unused_command_line_argument="no"
3219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
3221 $as_echo "$aros_unused_command_line_argument" >&6; }
3222 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
3223 aros_warnflags_unused_command_line_argument=-Wunused-command-line-argument
3224 aros_nowarnflags_unused_command_line_argument=-Wno-unused-command-line-argument
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
3228 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
3229 CFLAGS=-Wunknown-warning-option
3230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3231 /* end confdefs.h. */
3241 if ac_fn_c_try_compile "$LINENO"; then :
3242 aros_unknown_warning_option="yes"
3244 aros_unknown_warning_option="no"
3246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
3248 $as_echo "$aros_unknown_warning_option" >&6; }
3249 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
3250 aros_warnflags_unknown_warning_option=-Wunknown-warning-option
3251 aros_nowarnflags_unknown_warning_option=-Wno-unknown-warning-option
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
3255 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
3256 CFLAGS=-Wunused-but-set-variable
3257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3258 /* end confdefs.h. */
3268 if ac_fn_c_try_compile "$LINENO"; then :
3269 aros_unused_but_set_variable="yes"
3271 aros_unused_but_set_variable="no"
3273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
3275 $as_echo "$aros_unused_but_set_variable" >&6; }
3276 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
3277 aros_warnflags_unused_but_set_variable=-Wunused-but-set-variable
3278 aros_nowarnflags_unused_but_set_variable=-Wno-unused-but-set-variable
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
3282 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
3283 CFLAGS=-Wstrict-aliasing
3284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3285 /* end confdefs.h. */
3295 if ac_fn_c_try_compile "$LINENO"; then :
3296 aros_strict_aliasing="yes"
3298 aros_strict_aliasing="no"
3300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3302 $as_echo "$aros_strict_aliasing" >&6; }
3303 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3304 aros_warnflags_strict_aliasing=-Wstrict-aliasing
3305 aros_nowarnflags_strict_aliasing=-Wno-strict-aliasing
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
3309 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
3310 CFLAGS=-Warray-bounds
3311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3312 /* end confdefs.h. */
3322 if ac_fn_c_try_compile "$LINENO"; then :
3323 aros_array_bounds="yes"
3325 aros_array_bounds="no"
3327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
3329 $as_echo "$aros_array_bounds" >&6; }
3330 if test "x-$aros_array_bounds" = "x-yes" ; then
3331 aros_warnflags_array_bounds=-Warray-bounds
3332 aros_nowarnflags_array_bounds=-Wno-array-bounds
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
3336 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
3337 CFLAGS=-Wenum-compare
3338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339 /* end confdefs.h. */
3349 if ac_fn_c_try_compile "$LINENO"; then :
3350 aros_enum_compare="yes"
3352 aros_enum_compare="no"
3354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
3356 $as_echo "$aros_enum_compare" >&6; }
3357 if test "x-$aros_enum_compare" = "x-yes" ; then
3358 aros_warnflags_enum_compare=-Wenum-compare
3359 aros_nowarnflags_enum_compare=-Wno-enum-compare
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
3363 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
3364 CFLAGS=-Wstrict-prototypes
3365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3366 /* end confdefs.h. */
3376 if ac_fn_c_try_compile "$LINENO"; then :
3377 aros_strict_prototypes="yes"
3379 aros_strict_prototypes="no"
3381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3383 $as_echo "$aros_strict_prototypes" >&6; }
3384 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3385 aros_warnflags_strict_prototypes=-Wstrict-prototypes
3386 aros_nowarnflags_strict_prototypes=-Wno-strict-prototypes
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3390 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3391 CFLAGS=-Wstrict-overflow
3392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3393 /* end confdefs.h. */
3403 if ac_fn_c_try_compile "$LINENO"; then :
3404 aros_strict_overflow="yes"
3406 aros_strict_overflow="no"
3408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3410 $as_echo "$aros_strict_overflow" >&6; }
3411 if test "x-$aros_strict_overflow" = "x-yes" ; then
3412 aros_warnflags_strict_overflow=-Wstrict-overflow
3413 aros_nowarnflags_strict_overflow=-Wno-strict-overflow
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3417 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3418 CFLAGS=-Wformat-security
3419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3420 /* end confdefs.h. */
3430 if ac_fn_c_try_compile "$LINENO"; then :
3431 aros_format_security="yes"
3433 aros_format_security="no"
3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3437 $as_echo "$aros_format_security" >&6; }
3438 if test "x-$aros_format_security" = "x-yes" ; then
3439 aros_warnflags_format_security=-Wformat-security
3440 aros_nowarnflags_format_security=-Wno-format-security
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3444 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3445 CFLAGS=-Wmisleading-indentation
3446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3447 /* end confdefs.h. */
3457 if ac_fn_c_try_compile "$LINENO"; then :
3458 aros_misleading_indentation="yes"
3460 aros_misleading_indentation="no"
3462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3464 $as_echo "$aros_misleading_indentation" >&6; }
3465 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3466 aros_warnflags_misleading_indentation=-Wmisleading-indentation
3467 aros_nowarnflags_misleading_indentation=-Wno-misleading-indentation
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3471 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3472 CFLAGS=-Wnonnull-compare
3473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3474 /* end confdefs.h. */
3484 if ac_fn_c_try_compile "$LINENO"; then :
3485 aros_nonnull_compare="yes"
3487 aros_nonnull_compare="no"
3489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3491 $as_echo "$aros_nonnull_compare" >&6; }
3492 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3493 aros_warnflags_nonnull_compare=-Wnonnull-compare
3494 aros_nowarnflags_nonnull_compare=-Wno-nonnull-compare
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3498 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3501 /* end confdefs.h. */
3511 if ac_fn_c_try_compile "$LINENO"; then :
3516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3518 $as_echo "$aros_unused" >&6; }
3519 if test "x-$aros_unused" = "x-yes" ; then
3520 aros_warnflags_unused=-Wunused
3521 aros_nowarnflags_unused=-Wno-unused
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-label" >&5
3525 $as_echo_n "checking whether ${CC} accepts -Wunused-label... " >&6; }
3526 CFLAGS=-Wunused-label
3527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3528 /* end confdefs.h. */
3538 if ac_fn_c_try_compile "$LINENO"; then :
3539 aros_unused_label="yes"
3541 aros_unused_label="no"
3543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_label" >&5
3545 $as_echo "$aros_unused_label" >&6; }
3546 if test "x-$aros_unused_label" = "x-yes" ; then
3547 aros_warnflags_unused_label=-Wunused-label
3548 aros_nowarnflags_unused_label=-Wno-unused-label
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3552 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3553 CFLAGS=-Wunused-value
3554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555 /* end confdefs.h. */
3565 if ac_fn_c_try_compile "$LINENO"; then :
3566 aros_unused_value="yes"
3568 aros_unused_value="no"
3570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3572 $as_echo "$aros_unused_value" >&6; }
3573 if test "x-$aros_unused_value" = "x-yes" ; then
3574 aros_warnflags_unused_value=-Wunused-value
3575 aros_nowarnflags_unused_value=-Wno-unused-value
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3579 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3580 CFLAGS=-Wunused-variable
3581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3582 /* end confdefs.h. */
3592 if ac_fn_c_try_compile "$LINENO"; then :
3593 aros_unused_variable="yes"
3595 aros_unused_variable="no"
3597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3599 $as_echo "$aros_unused_variable" >&6; }
3600 if test "x-$aros_unused_variable" = "x-yes" ; then
3601 aros_warnflags_unused_variable=-Wunused-variable
3602 aros_nowarnflags_unused_variable=-Wno-unused-variable
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3606 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3607 CFLAGS=-Wunused-function
3608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3609 /* end confdefs.h. */
3619 if ac_fn_c_try_compile "$LINENO"; then :
3620 aros_unused_function="yes"
3622 aros_unused_function="no"
3624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3626 $as_echo "$aros_unused_function" >&6; }
3627 if test "x-$aros_unused_function" = "x-yes" ; then
3628 aros_warnflags_unused_function=-Wunused-function
3629 aros_nowarnflags_unused_function=-Wno-unused-function
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
3633 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
3634 CFLAGS=-Wunused-parameter
3635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3636 /* end confdefs.h. */
3646 if ac_fn_c_try_compile "$LINENO"; then :
3647 aros_unused_parameter="yes"
3649 aros_unused_parameter="no"
3651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
3653 $as_echo "$aros_unused_parameter" >&6; }
3654 if test "x-$aros_unused_parameter" = "x-yes" ; then
3655 aros_warnflags_unused_parameter=-Wunused-parameter
3656 aros_nowarnflags_unused_parameter=-Wno-unused-parameter
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3660 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3661 CFLAGS=-Wuninitialized
3662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3663 /* end confdefs.h. */
3673 if ac_fn_c_try_compile "$LINENO"; then :
3674 aros_uninitialized="yes"
3676 aros_uninitialized="no"
3678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3680 $as_echo "$aros_uninitialized" >&6; }
3681 if test "x-$aros_uninitialized" = "x-yes" ; then
3682 aros_warnflags_uninitialized=-Wuninitialized
3683 aros_nowarnflags_uninitialized=-Wno-uninitialized
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3687 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3688 CFLAGS=-Wmaybe-uninitialized
3689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3690 /* end confdefs.h. */
3700 if ac_fn_c_try_compile "$LINENO"; then :
3701 aros_maybe_uninitialized="yes"
3703 aros_maybe_uninitialized="no"
3705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3707 $as_echo "$aros_maybe_uninitialized" >&6; }
3708 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3709 aros_warnflags_maybe_uninitialized=-Wmaybe-uninitialized
3710 aros_nowarnflags_maybe_uninitialized=-Wno-maybe-uninitialized
3712 aros_warnflags_maybe_uninitialized=$aros_warnflags_uninitialized
3713 aros_nowarnflags_maybe_uninitialized=$aros_nowarnflags_uninitialized
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3717 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3718 CFLAGS=-Wimplicit-function-declaration
3719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3720 /* end confdefs.h. */
3730 if ac_fn_c_try_compile "$LINENO"; then :
3731 aros_implicit_function_declaration="yes"
3733 aros_implicit_function_declaration="no"
3735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3737 $as_echo "$aros_implicit_function_declaration" >&6; }
3738 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3739 aros_warnflags_implicit_function_declaration=-Wimplicit-function-declaration
3740 aros_nowarnflags_implicit_function_declaration=-Wno-implicit-function-declaration
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3744 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3747 /* end confdefs.h. */
3757 if ac_fn_c_try_compile "$LINENO"; then :
3762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3764 $as_echo "$aros_format" >&6; }
3765 if test "x-$aros_format" = "x-yes" ; then
3766 aros_warnflags_format=-Wformat
3767 aros_nowarnflags_format=-Wno-format
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3771 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3772 CFLAGS=-Wparentheses
3773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3774 /* end confdefs.h. */
3784 if ac_fn_c_try_compile "$LINENO"; then :
3785 aros_parentheses="yes"
3787 aros_parentheses="no"
3789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3791 $as_echo "$aros_parentheses" >&6; }
3792 if test "x-$aros_parentheses" = "x-yes" ; then
3793 aros_warnflags_parentheses=-Wparentheses
3794 aros_nowarnflags_parentheses=-Wno-parentheses
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3798 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3799 CFLAGS=-Wchar-subscripts
3800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3801 /* end confdefs.h. */
3811 if ac_fn_c_try_compile "$LINENO"; then :
3812 aros_char_subscripts="yes"
3814 aros_char_subscripts="no"
3816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3818 $as_echo "$aros_char_subscripts" >&6; }
3819 if test "x-$aros_char_subscripts" = "x-yes" ; then
3820 aros_warnflags_char_subscripts=-Wchar-subscripts
3821 aros_nowarnflags_char_subscripts=-Wno-char-subscripts
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3825 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3826 CFLAGS=-Wendif-labels
3827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3828 /* end confdefs.h. */
3838 if ac_fn_c_try_compile "$LINENO"; then :
3839 aros_endif_labels="yes"
3841 aros_endif_labels="no"
3843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3845 $as_echo "$aros_endif_labels" >&6; }
3846 if test "x-$aros_endif_labels" = "x-yes" ; then
3847 aros_warnflags_endif_labels=-Wendif-labels
3848 aros_nowarnflags_endif_labels=-Wno-endif-labels
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3852 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3853 CFLAGS=-Wformat-contains-nul
3854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3855 /* end confdefs.h. */
3865 if ac_fn_c_try_compile "$LINENO"; then :
3866 aros_format_contains_nul="yes"
3868 aros_format_contains_nul="no"
3870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3872 $as_echo "$aros_format_contains_nul" >&6; }
3873 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3874 aros_warnflags_format_contains_nul=-Wformat-contains-nul
3875 aros_nowarnflags_format_contains_nul=-Wno-format-contains-nul
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3879 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3880 CFLAGS=-Wimplicit-int
3881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3882 /* end confdefs.h. */
3892 if ac_fn_c_try_compile "$LINENO"; then :
3893 aros_implicit_int="yes"
3895 aros_implicit_int="no"
3897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3899 $as_echo "$aros_implicit_int" >&6; }
3900 if test "x-$aros_implicit_int" = "x-yes" ; then
3901 aros_warnflags_implicit_int=-Wimplicit-int
3902 aros_nowarnflags_implicit_int=-Wno-implicit-int
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3906 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3907 CFLAGS=-Waggressive-loop-optimizations
3908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3909 /* end confdefs.h. */
3919 if ac_fn_c_try_compile "$LINENO"; then :
3920 aros_aggressive_loop_optimizations="yes"
3922 aros_aggressive_loop_optimizations="no"
3924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3926 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3927 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3928 aros_warnflags_aggressive_loop_optimizations=-Waggressive-loop-optimizations
3929 aros_nowarnflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3933 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3936 /* end confdefs.h. */
3946 if ac_fn_c_try_compile "$LINENO"; then :
3951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3953 $as_echo "$aros_cpp" >&6; }
3954 if test "x-$aros_cpp" = "x-yes" ; then
3955 aros_warnflags_cpp=-Wcpp
3956 aros_nowarnflags_cpp=-Wno-cpp
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3960 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3963 /* end confdefs.h. */
3973 if ac_fn_c_try_compile "$LINENO"; then :
3978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
3980 $as_echo "$aros_switch" >&6; }
3981 if test "x-$aros_switch" = "x-yes" ; then
3982 aros_warnflags_switch=-Wswitch
3983 aros_nowarnflags_switch=-Wno-switch
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
3987 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
3988 CFLAGS=-Wdiscarded-qualifiers
3989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3990 /* end confdefs.h. */
4000 if ac_fn_c_try_compile "$LINENO"; then :
4001 aros_discarded_qualifiers="yes"
4003 aros_discarded_qualifiers="no"
4005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
4007 $as_echo "$aros_discarded_qualifiers" >&6; }
4008 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
4009 aros_warnflags_discarded_qualifiers=-Wdiscarded-qualifiers
4010 aros_nowarnflags_discarded_qualifiers=-Wno-discarded-qualifiers
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
4014 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
4015 CFLAGS=-Wsequence-point
4016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4017 /* end confdefs.h. */
4027 if ac_fn_c_try_compile "$LINENO"; then :
4028 aros_sequence_point="yes"
4030 aros_sequence_point="no"
4032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
4034 $as_echo "$aros_sequence_point" >&6; }
4035 if test "x-$aros_sequence_point" = "x-yes" ; then
4036 aros_warnflags_sequence_point=-Wsequence-point
4037 aros_nowarnflags_sequence_point=-Wno-sequence-point
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
4041 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
4042 CFLAGS=-Wunknown-pragmas
4043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4044 /* end confdefs.h. */
4054 if ac_fn_c_try_compile "$LINENO"; then :
4055 aros_unknown_pragmas="yes"
4057 aros_unknown_pragmas="no"
4059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
4061 $as_echo "$aros_unknown_pragmas" >&6; }
4062 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
4063 aros_warnflags_unknown_pragmas=-Wunknown-pragmas
4064 aros_nowarnflags_unknown_pragmas=-Wno-unknown-pragmas
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
4068 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
4069 CFLAGS=-Wdiscarded-array-qualifiers
4070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4071 /* end confdefs.h. */
4081 if ac_fn_c_try_compile "$LINENO"; then :
4082 aros_discarded_array_qualifiers="yes"
4084 aros_discarded_array_qualifiers="no"
4086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
4088 $as_echo "$aros_discarded_array_qualifiers" >&6; }
4089 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
4090 aros_warnflags_discarded_array_qualifiers=-Wdiscarded-array-qualifiers
4091 aros_nowarnflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
4095 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
4096 CFLAGS=-Wint-conversion
4097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4098 /* end confdefs.h. */
4108 if ac_fn_c_try_compile "$LINENO"; then :
4109 aros_int_conversion="yes"
4111 aros_int_conversion="no"
4113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
4115 $as_echo "$aros_int_conversion" >&6; }
4116 if test "x-$aros_int_conversion" = "x-yes" ; then
4117 aros_warnflags_int_conversion=-Wint-conversion
4118 aros_nowarnflags_int_conversion=-Wno-int-conversion
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
4122 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
4123 CFLAGS=-Wint-to-pointer-cast
4124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4125 /* end confdefs.h. */
4135 if ac_fn_c_try_compile "$LINENO"; then :
4136 aros_int_to_pointer_cast="yes"
4138 aros_int_to_pointer_cast="no"
4140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
4142 $as_echo "$aros_int_to_pointer_cast" >&6; }
4143 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
4144 aros_warnflags_int_to_pointer_cast=-Wint-to-pointer-cast
4145 aros_nowarnflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
4149 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
4150 CFLAGS=-Wpointer-to-int-cast
4151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4152 /* end confdefs.h. */
4162 if ac_fn_c_try_compile "$LINENO"; then :
4163 aros_pointer_to_int_cast="yes"
4165 aros_pointer_to_int_cast="no"
4167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
4169 $as_echo "$aros_pointer_to_int_cast" >&6; }
4170 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
4171 aros_warnflags_pointer_to_int_cast=-Wpointer-to-int-cast
4172 aros_nowarnflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
4176 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
4177 CFLAGS=-Wunused-const-variable
4178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4179 /* end confdefs.h. */
4189 if ac_fn_c_try_compile "$LINENO"; then :
4190 aros_unused_const_variable="yes"
4192 aros_unused_const_variable="no"
4194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
4196 $as_echo "$aros_unused_const_variable" >&6; }
4197 if test "x-$aros_unused_const_variable" = "x-yes" ; then
4198 aros_warnflags_unused_const_variable=-Wunused-const-variable
4199 aros_nowarnflags_unused_const_variable=-Wno-unused-const-variable
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
4203 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
4204 CFLAGS=-Wwrite-strings
4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206 /* end confdefs.h. */
4216 if ac_fn_c_try_compile "$LINENO"; then :
4217 aros_write_strings="yes"
4219 aros_write_strings="no"
4221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
4223 $as_echo "$aros_write_strings" >&6; }
4224 if test "x-$aros_write_strings" = "x-yes" ; then
4225 aros_warnflags_write_strings=-Wwrite-strings
4226 aros_nowarnflags_write_strings=-Wno-write-strings
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
4230 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
4232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4233 /* end confdefs.h. */
4243 if ac_fn_c_try_compile "$LINENO"; then :
4248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
4250 $as_echo "$aros_comment" >&6; }
4251 if test "x-$aros_comment" = "x-yes" ; then
4252 aros_warnflags_comment=-Wcomment
4253 aros_nowarnflags_comment=-Wno-comment
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
4257 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
4258 CFLAGS=-Wincompatible-pointer-types
4259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4260 /* end confdefs.h. */
4270 if ac_fn_c_try_compile "$LINENO"; then :
4271 aros_incompatible_pointer_types="yes"
4273 aros_incompatible_pointer_types="no"
4275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
4277 $as_echo "$aros_incompatible_pointer_types" >&6; }
4278 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
4279 aros_warnflags_incompatible_pointer_types=-Wincompatible-pointer-types
4280 aros_nowarnflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
4284 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
4285 CFLAGS=-Wbool-compare
4286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4287 /* end confdefs.h. */
4297 if ac_fn_c_try_compile "$LINENO"; then :
4298 aros_bool_compare="yes"
4300 aros_bool_compare="no"
4302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
4304 $as_echo "$aros_bool_compare" >&6; }
4305 if test "x-$aros_bool_compare" = "x-yes" ; then
4306 aros_warnflags_bool_compare=-Wbool-compare
4307 aros_nowarnflags_bool_compare=-Wno-bool-compare
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
4311 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
4312 CFLAGS=-Wlogical-not-parentheses
4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4314 /* end confdefs.h. */
4324 if ac_fn_c_try_compile "$LINENO"; then :
4325 aros_logical_not_parentheses="yes"
4327 aros_logical_not_parentheses="no"
4329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
4331 $as_echo "$aros_logical_not_parentheses" >&6; }
4332 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
4333 aros_warnflags_logical_not_parentheses=-Wlogical-not-parentheses
4334 aros_nowarnflags_logical_not_parentheses=-Wno-logical-not-parentheses
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
4338 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
4339 CFLAGS=-Wpointer-sign
4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */
4351 if ac_fn_c_try_compile "$LINENO"; then :
4352 aros_pointer_sign="yes"
4354 aros_pointer_sign="no"
4356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
4358 $as_echo "$aros_pointer_sign" >&6; }
4359 if test "x-$aros_pointer_sign" = "x-yes" ; then
4360 aros_warnflags_pointer_sign=-Wpointer-sign
4361 aros_nowarnflags_pointer_sign=-Wno-pointer-sign
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
4365 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
4366 CFLAGS=-Wshift-overflow
4367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4368 /* end confdefs.h. */
4378 if ac_fn_c_try_compile "$LINENO"; then :
4379 aros_shift_overflow="yes"
4381 aros_shift_overflow="no"
4383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
4385 $as_echo "$aros_shift_overflow" >&6; }
4386 if test "x-$aros_shift_overflow" = "x-yes" ; then
4387 aros_warnflags_shift_overflow=-Wshift-overflow
4388 aros_nowarnflags_shift_overflow=-Wno-shift-overflow
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
4392 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
4393 CFLAGS=-Wframe-address
4394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4395 /* end confdefs.h. */
4405 if ac_fn_c_try_compile "$LINENO"; then :
4406 aros_frame_address="yes"
4408 aros_frame_address="no"
4410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
4412 $as_echo "$aros_frame_address" >&6; }
4413 if test "x-$aros_frame_address" = "x-yes" ; then
4414 aros_warnflags_frame_address=-Wframe-address
4415 aros_nowarnflags_frame_address=-Wno-frame-address
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
4419 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
4420 CFLAGS=-Wdeprecated-declarations
4421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4422 /* end confdefs.h. */
4432 if ac_fn_c_try_compile "$LINENO"; then :
4433 aros_deprecated_declarations="yes"
4435 aros_deprecated_declarations="no"
4437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4439 $as_echo "$aros_deprecated_declarations" >&6; }
4440 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4441 aros_warnflags_deprecated_declarations=-Wdeprecated-declarations
4442 aros_nowarnflags_deprecated_declarations=-Wno-deprecated-declarations
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4446 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4447 CFLAGS=-Wsign-compare
4448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4449 /* end confdefs.h. */
4459 if ac_fn_c_try_compile "$LINENO"; then :
4460 aros_sign_compare="yes"
4462 aros_sign_compare="no"
4464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4466 $as_echo "$aros_sign_compare" >&6; }
4467 if test "x-$aros_sign_compare" = "x-yes" ; then
4468 aros_warnflags_sign_compare=-Wsign-compare
4469 aros_nowarnflags_sign_compare=-Wno-sign-compare
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4473 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4476 /* end confdefs.h. */
4486 if ac_fn_c_try_compile "$LINENO"; then :
4487 aros_attributes="yes"
4489 aros_attributes="no"
4491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4493 $as_echo "$aros_attributes" >&6; }
4494 if test "x-$aros_attributes" = "x-yes" ; then
4495 aros_warnflags_attributes=-Wattributes
4496 aros_nowarnflags_attributes=-Wno-attributes
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4500 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4503 /* end confdefs.h. */
4513 if ac_fn_c_try_compile "$LINENO"; then :
4518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4520 $as_echo "$aros_overflow" >&6; }
4521 if test "x-$aros_overflow" = "x-yes" ; then
4522 aros_warnflags_overflow=-Woverflow
4523 aros_nowarnflags_overflow=-Wno-overflow
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4527 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4528 CFLAGS=-Wunused-local-typedefs
4529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4530 /* end confdefs.h. */
4540 if ac_fn_c_try_compile "$LINENO"; then :
4541 aros_unused_local_typedefs="yes"
4543 aros_unused_local_typedefs="no"
4545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4547 $as_echo "$aros_unused_local_typedefs" >&6; }
4548 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4549 aros_warnflags_unused_local_typedefs=-Wunused-local-typedefs
4550 aros_nowarnflags_unused_local_typedefs=-Wno-unused-local-typedefs
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4554 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4555 CFLAGS=-Wmissing-braces
4556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4557 /* end confdefs.h. */
4567 if ac_fn_c_try_compile "$LINENO"; then :
4568 aros_missing_braces="yes"
4570 aros_missing_braces="no"
4572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4574 $as_echo "$aros_missing_braces" >&6; }
4575 if test "x-$aros_missing_braces" = "x-yes" ; then
4576 aros_warnflags_missing_braces=-Wmissing-braces
4577 aros_nowarnflags_missing_braces=-Wno-missing-braces
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4581 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4582 CFLAGS=-Wconversion-null
4583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4584 /* end confdefs.h. */
4594 if ac_fn_c_try_compile "$LINENO"; then :
4595 aros_conversion_null="yes"
4597 aros_conversion_null="no"
4599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4601 $as_echo "$aros_conversion_null" >&6; }
4602 if test "x-$aros_conversion_null" = "x-yes" ; then
4603 aros_warnflags_conversion_null=-Wconversion-null
4604 aros_nowarnflags_conversion_null=-Wno-conversion-null
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4608 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4611 /* end confdefs.h. */
4621 if ac_fn_c_try_compile "$LINENO"; then :
4622 aros_narrowing="yes"
4626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4628 $as_echo "$aros_narrowing" >&6; }
4629 if test "x-$aros_narrowing" = "x-yes" ; then
4630 aros_warnflags_narrowing=-Wnarrowing
4631 aros_nowarnflags_narrowing=-Wno-narrowing
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4635 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4636 CFLAGS=-Wvolatile-register-var
4637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4638 /* end confdefs.h. */
4648 if ac_fn_c_try_compile "$LINENO"; then :
4649 aros_volatile_register_var="yes"
4651 aros_volatile_register_var="no"
4653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4655 $as_echo "$aros_volatile_register_var" >&6; }
4656 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4657 aros_warnflags_volatile_register_var=-Wvolatile-register-var
4658 aros_nowarnflags_volatile_register_var=-Wno-volatile-register-var
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
4662 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
4663 CFLAGS=-Wsizeof-pointer-memaccess
4664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4665 /* end confdefs.h. */
4675 if ac_fn_c_try_compile "$LINENO"; then :
4676 aros_sizeof_pointer_memaccess="yes"
4678 aros_sizeof_pointer_memaccess="no"
4680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
4682 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
4683 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
4684 aros_warnflags_sizeof_pointer_memaccess=-Wsizeof-pointer-memaccess
4685 aros_nowarnflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
4689 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
4690 CFLAGS=-Wreturn-type
4691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4692 /* end confdefs.h. */
4702 if ac_fn_c_try_compile "$LINENO"; then :
4703 aros_return_type="yes"
4705 aros_return_type="no"
4707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
4709 $as_echo "$aros_return_type" >&6; }
4710 if test "x-$aros_return_type" = "x-yes" ; then
4711 aros_warnflags_return_type=-Wreturn-type
4712 aros_nowarnflags_return_type=-Wno-return-type
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
4716 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
4717 CFLAGS=-Wformat-zero-length
4718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4719 /* end confdefs.h. */
4729 if ac_fn_c_try_compile "$LINENO"; then :
4730 aros_format_zero_length="yes"
4732 aros_format_zero_length="no"
4734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
4736 $as_echo "$aros_format_zero_length" >&6; }
4737 if test "x-$aros_format_zero_length" = "x-yes" ; then
4738 aros_warnflags_format_zero_length=-Wformat-zero-length
4739 aros_nowarnflags_format_zero_length=-Wno-format-zero-length
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
4743 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
4744 CFLAGS=-Wlto-type-mismatch
4745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4746 /* end confdefs.h. */
4756 if ac_fn_c_try_compile "$LINENO"; then :
4757 aros_lto_type_mismatch="yes"
4759 aros_lto_type_mismatch="no"
4761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
4763 $as_echo "$aros_lto_type_mismatch" >&6; }
4764 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
4765 aros_warnflags_lto_type_mismatch=-Wlto-type-mismatch
4766 aros_nowarnflags_lto_type_mismatch=-Wno-lto-type-mismatch
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wtautological-compare" >&5
4770 $as_echo_n "checking whether ${CC} accepts -Wtautological-compare... " >&6; }
4771 CFLAGS=-Wtautological-compare
4772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4773 /* end confdefs.h. */
4783 if ac_fn_c_try_compile "$LINENO"; then :
4784 aros_tautological_compare="yes"
4786 aros_tautological_compare="no"
4788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tautological_compare" >&5
4790 $as_echo "$aros_tautological_compare" >&6; }
4791 if test "x-$aros_tautological_compare" = "x-yes" ; then
4792 aros_warnflags_tautological_compare=-Wtautological-compare
4793 aros_nowarnflags_tautological_compare=-Wno-tautological-compare
4797 # export the feature flags...
4819 # export the feature options...
4824 # ...and warning flags...
4947 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
4950 cat >confcache <<\_ACEOF
4951 # This file is a shell script that caches the results of configure
4952 # tests run on this system so they can be shared between configure
4953 # scripts and configure runs, see configure's option --config-cache.
4954 # It is not useful on other systems. If it contains results you don't
4955 # want to keep, you may remove or edit it.
4957 # config.status only pays attention to the cache file if you give it
4958 # the --recheck option to rerun configure.
4960 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
4961 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4966 # The following way of writing the cache mishandles newlines in values,
4967 # but we know of no workaround that is simple, portable, and efficient.
4968 # So, we kill variables containing newlines.
4969 # Ultrix sh set writes to stderr and can't be redirected directly,
4970 # and sets the high bit in the cache file unless we assign to the vars.
4972 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4973 eval ac_val
=\$
$ac_var
4977 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4978 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4981 _ | IFS | as_nl
) ;; #(
4982 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4983 *) { eval $ac_var=; unset $ac_var;} ;;
4989 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4990 *${as_nl}ac_space
=\
*)
4991 # `set' does not quote correctly, so add quotes: double-quote
4992 # substitution turns \\\\ into \\, and sed turns \\ into \.
4995 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4998 # `set' quotes correctly as required by POSIX, so do not add quotes.
4999 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5008 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5010 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5012 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5013 if test -w "$cache_file"; then
5014 if test "x$cache_file" != "x/dev/null"; then
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5016 $as_echo "$as_me: updating cache $cache_file" >&6;}
5017 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5018 cat confcache
>"$cache_file"
5020 case $cache_file in #(
5022 mv -f confcache
"$cache_file"$$
&&
5023 mv -f "$cache_file"$$
"$cache_file" ;; #(
5025 mv -f confcache
"$cache_file" ;;
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5031 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5036 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5037 # Let make expand exec_prefix.
5038 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5040 # Transform confdefs.h into DEFS.
5041 # Protect against shell expansion while executing Makefile rules.
5042 # Protect against Makefile macro expansion.
5044 # If the first sed substitution is executed (which looks for macros that
5045 # take arguments), then branch to the quote section. Otherwise,
5046 # look for a macro that doesn't take arguments.
5056 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5058 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5062 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5075 DEFS
=`sed -n "$ac_script" confdefs.h`
5081 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5082 # 1. Remove the extension, and $U if already installed.
5083 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5084 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5085 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5086 # will be set to the directory where LIBOBJS objects are built.
5087 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5088 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5092 LTLIBOBJS
=$ac_ltlibobjs
5096 : "${CONFIG_STATUS=./config.status}"
5098 ac_clean_files_save
=$ac_clean_files
5099 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5101 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5103 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5105 # Generated by $as_me.
5106 # Run this file to recreate the current configuration.
5107 # Compiler output produced by configure, useful for debugging
5108 # configure, is in config.log if it exists.
5114 SHELL=\${CONFIG_SHELL-$SHELL}
5117 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5118 ## -------------------- ##
5119 ## M4sh Initialization. ##
5120 ## -------------------- ##
5122 # Be more Bourne compatible
5123 DUALCASE
=1; export DUALCASE
# for MKS sh
5124 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5127 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5128 # is contrary to our usage. Disable this feature.
5129 alias -g '${1+"$@"}'='"$@"'
5130 setopt NO_GLOB_SUBST
5132 case `(set -o) 2>/dev/null` in #(
5144 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5145 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5146 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5147 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5148 # Prefer a ksh shell builtin over an external printf program on Solaris,
5149 # but without wasting forks for bash or zsh.
5150 if test -z "$BASH_VERSION$ZSH_VERSION" \
5151 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5152 as_echo='print
-r --'
5153 as_echo_n='print
-rn --'
5154 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5155 as_echo='printf %s
\n'
5156 as_echo_n='printf %s
'
5158 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5159 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5160 as_echo_n='/usr
/ucb
/echo -n'
5162 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5163 as_echo_n_body='eval
5167 expr "X$arg" : "X\\(.*\\)$as_nl";
5168 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5170 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5172 export as_echo_n_body
5173 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5176 as_echo='sh
-c $as_echo_body as_echo
'
5179 # The user is always right.
5180 if test "${PATH_SEPARATOR+set}" != set; then
5182 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5183 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5190 # We need space, tab and new line, in precisely that order. Quoting is
5191 # there to prevent editors from complaining about space-tab.
5192 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5193 # splitting by setting IFS to empty value.)
5196 # Find who we are. Look in the path if we contain no directory separator.
5199 *[\\/]* ) as_myself=$0 ;;
5200 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5204 test -z "$as_dir" && as_dir=.
5205 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5211 # We did not find ourselves, most probably we were run as `sh COMMAND'
5212 # in which case we are not to be found in the path.
5213 if test "x$as_myself" = x
; then
5216 if test ! -f "$as_myself"; then
5217 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5221 # Unset variables that we do not need and which cause bugs (e.g. in
5222 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5223 # suppresses any "Segmentation fault" message there. '((' could
5224 # trigger a bug in pdksh 5.2.14.
5225 for as_var
in BASH_ENV ENV MAIL MAILPATH
5226 do eval test x\
${$as_var+set} = xset \
5227 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5240 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5243 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5244 # ----------------------------------------
5245 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5246 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5247 # script with STATUS, using 1 if that was 0.
5250 as_status
=$1; test $as_status -eq 0 && as_status
=1
5252 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5253 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5255 $as_echo "$as_me: error: $2" >&2
5256 as_fn_exit
$as_status
5260 # as_fn_set_status STATUS
5261 # -----------------------
5262 # Set $? to STATUS, without forking.
5266 } # as_fn_set_status
5270 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5280 # Portably unset VAR.
5283 { eval $1=; unset $1;}
5285 as_unset
=as_fn_unset
5286 # as_fn_append VAR VALUE
5287 # ----------------------
5288 # Append the text in VALUE to the end of the definition contained in VAR. Take
5289 # advantage of any shell optimizations that allow amortized linear growth over
5290 # repeated appends, instead of the typical quadratic growth present in naive
5292 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5293 eval 'as_fn_append ()
5304 # as_fn_arith ARG...
5305 # ------------------
5306 # Perform arithmetic evaluation on the ARGs, and store the result in the
5307 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5308 # must be portable across $(()) and expr.
5309 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5310 eval 'as_fn_arith ()
5317 as_val
=`expr "$@" || test $? -eq 1`
5322 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5323 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5329 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5330 as_basename
=basename
5335 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5341 as_me
=`$as_basename -- "$0" ||
5342 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5343 X"$0" : 'X\(//\)$' \| \
5344 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5346 sed '/^.*\/\([^/][^/]*\)\/*$/{
5360 # Avoid depending upon Character Ranges.
5361 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5362 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5363 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5364 as_cr_digits
='0123456789'
5365 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5367 ECHO_C
= ECHO_N
= ECHO_T
=
5368 case `echo -n x` in #(((((
5370 case `echo 'xy\c'` in
5371 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5373 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5380 rm -f conf$$ conf$$.exe conf$$.
file
5381 if test -d conf$$.dir
; then
5382 rm -f conf$$.dir
/conf$$.
file
5385 mkdir conf$$.dir
2>/dev
/null
5387 if (echo >conf$$.
file) 2>/dev
/null
; then
5388 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5390 # ... but there are two gotchas:
5391 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5392 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5393 # In both cases, we have to default to `cp -pR'.
5394 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5396 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5404 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5405 rmdir conf$$.dir
2>/dev
/null
5410 # Create "$as_dir" as a directory, including parents if necessary.
5415 -*) as_dir
=.
/$as_dir;;
5417 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5421 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5422 *) as_qdir
=$as_dir;;
5424 as_dirs
="'$as_qdir' $as_dirs"
5425 as_dir
=`$as_dirname -- "$as_dir" ||
5426 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5427 X"$as_dir" : 'X\(//\)[^/]' \| \
5428 X"$as_dir" : 'X\(//\)$' \| \
5429 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5430 $as_echo X"$as_dir" |
5431 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5448 test -d "$as_dir" && break
5450 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5451 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
5455 if mkdir
-p .
2>/dev
/null
; then
5456 as_mkdir_p
='mkdir -p "$as_dir"'
5458 test -d .
/-p && rmdir .
/-p
5463 # as_fn_executable_p FILE
5464 # -----------------------
5465 # Test if FILE is an executable regular file.
5466 as_fn_executable_p
()
5468 test -f "$1" && test -x "$1"
5469 } # as_fn_executable_p
5471 as_executable_p
=as_fn_executable_p
5473 # Sed expression to map a string onto a valid CPP name.
5474 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5476 # Sed expression to map a string onto a valid variable name.
5477 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5481 ## ----------------------------------- ##
5482 ## Main body of $CONFIG_STATUS script. ##
5483 ## ----------------------------------- ##
5485 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5488 # Save the log message, to keep $0 and so on meaningful, and to
5489 # report actual input values of CONFIG_FILES etc. instead of their
5490 # values after options handling.
5492 This file was extended by $as_me, which was
5493 generated by GNU Autoconf 2.69. Invocation command line was
5495 CONFIG_FILES = $CONFIG_FILES
5496 CONFIG_HEADERS = $CONFIG_HEADERS
5497 CONFIG_LINKS = $CONFIG_LINKS
5498 CONFIG_COMMANDS = $CONFIG_COMMANDS
5501 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5506 case $ac_config_files in *"
5507 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5512 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5513 # Files that config.status was made for.
5514 config_files="$ac_config_files"
5518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5520 \`$as_me' instantiates files and other configuration actions
5521 from templates according to the current configuration. Unless the files
5522 and actions are specified as TAGs, all are instantiated by default.
5524 Usage: $0 [OPTION]... [TAG]...
5526 -h, --help print this help, then exit
5527 -V, --version print version number and configuration settings, then exit
5528 --config print configuration, then exit
5529 -q, --quiet, --silent
5530 do not print progress messages
5531 -d, --debug don't remove temporary files
5532 --recheck update $as_me by reconfiguring in the same conditions
5533 --file=FILE[:TEMPLATE]
5534 instantiate the configuration file FILE
5536 Configuration files:
5539 Report bugs to the package provider."
5542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5543 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5546 configured by $0, generated by GNU Autoconf 2.69,
5547 with options \\"\$ac_cs_config\\"
5549 Copyright (C) 2012 Free Software Foundation, Inc.
5550 This config.status script is free software; the Free Software Foundation
5551 gives unlimited permission to copy, distribute and modify it."
5555 test -n "\$AWK" || AWK=awk
5558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5559 # The default lists apply if the user does not specify any file.
5565 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5566 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5570 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5582 # Handling of the options.
5583 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5585 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5586 $as_echo "$ac_cs_version"; exit ;;
5587 --config |
--confi |
--conf |
--con |
--co |
--c )
5588 $as_echo "$ac_cs_config"; exit ;;
5589 --debug |
--debu |
--deb |
--de |
--d |
-d )
5591 --file |
--fil |
--fi |
--f )
5594 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5595 '') as_fn_error $?
"missing file argument" ;;
5597 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5598 ac_need_defaults
=false
;;
5599 --he |
--h |
--help |
--hel |
-h )
5600 $as_echo "$ac_cs_usage"; exit ;;
5601 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5602 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5606 -*) as_fn_error $?
"unrecognized option: \`$1'
5607 Try \`$0 --help' for more information." ;;
5609 *) as_fn_append ac_config_targets
" $1"
5610 ac_need_defaults
=false
;;
5616 ac_configure_extra_args
=
5618 if $ac_cs_silent; then
5620 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5624 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5625 if \$ac_cs_recheck; then
5626 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5628 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5629 CONFIG_SHELL='$SHELL'
5635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5639 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5640 ## Running $as_me. ##
5646 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5651 # Handling of arguments.
5652 for ac_config_target
in $ac_config_targets
5654 case $ac_config_target in
5655 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
5657 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5662 # If the user did not use the arguments to specify the items to instantiate,
5663 # then the envvar interface is used. Set only those that are not.
5664 # We use the long form for the default assignment because of an extremely
5665 # bizarre bug on SunOS 4.1.3.
5666 if $ac_need_defaults; then
5667 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5670 # Have a temporary directory for convenience. Make it in the build tree
5671 # simply because there is no reason against having it here, and in addition,
5672 # creating and moving files from /tmp can sometimes cause problems.
5673 # Hook for its removal unless debugging.
5674 # Note that there is a small window in which the directory will not be cleaned:
5675 # after its creation but before its name has been assigned to `$tmp'.
5679 trap 'exit_status=$?
5681 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5683 trap 'as_fn_exit 1' 1 2 13 15
5685 # Create a (secure) tmp directory for tmp files.
5688 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5692 tmp
=.
/conf$$
-$RANDOM
5693 (umask 077 && mkdir
"$tmp")
5694 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5697 # Set up the scripts for CONFIG_FILES section.
5698 # No need to generate them if there are no CONFIG_FILES.
5699 # This happens for instance with `./config.status config.h'.
5700 if test -n "$CONFIG_FILES"; then
5703 ac_cr
=`echo X | tr X '\015'`
5704 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5705 # But we know of no other shell where ac_cr would be empty at this
5706 # point, so we can use a bashism as a fallback.
5707 if test "x$ac_cr" = x
; then
5708 eval ac_cr
=\$
\'\\r
\'
5710 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5711 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5717 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5722 echo "cat >conf$$subs.awk <<_ACEOF" &&
5723 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5726 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5727 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5729 for ac_last_try in false false false false false :; do
5730 . ./conf$$subs.sh ||
5731 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5733 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5734 if test $ac_delim_n = $ac_delim_num; then
5736 elif $ac_last_try; then
5737 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5739 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5745 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
5749 s/^/S["/; s
/!.
*/"]=/
5759 s/\(.\{148\}\)..*/\1/
5761 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5766 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5773 s/\(.\{148\}\)..*/\1/
5775 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5779 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5784 ' <conf$$subs.awk | sed '
5789 ' >>$CONFIG_STATUS || ac_write_fail=1
5790 rm -f conf$$subs.awk
5791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5793 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5794 for (key in S) S_is_set[key] = 1
5800 nfields = split(line, field, "@
")
5802 len = length(field[1])
5803 for (i = 2; i < nfields; i++) {
5805 keylen = length(key)
5806 if (S_is_set[key]) {
5808 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5809 len += length(value) + length(field[++i])
5820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5821 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5822 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5825 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5826 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5829 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5830 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5831 # trailing colons and then remove the whole line if VPATH becomes empty
5832 # (actually we leave an empty line to preserve line numbers).
5833 if test "x
$srcdir" = x.; then
5834 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5853 fi # test -n "$CONFIG_FILES"
5856 eval set X " :F
$CONFIG_FILES "
5861 :[FHLC]) ac_mode=$ac_tag; continue;;
5863 case $ac_mode$ac_tag in
5865 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
5866 :[FH]-) ac_tag=-:-;;
5867 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5884 -) ac_f="$ac_tmp/stdin";;
5885 *) # Look for the file first in the build tree, then in the source tree
5886 # (if the path is not absolute). The absolute path cannot be DOS-style,
5887 # because $ac_f cannot contain `:'.
5891 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5893 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5895 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
5896 as_fn_append ac_file_inputs " '$ac_f'"
5899 # Let's still pretend it is `configure' which instantiates (i.e., don't
5900 # use $as_me), people would be surprised to read:
5901 # /* config.h. Generated by config.status. */
5902 configure_input='Generated from '`
5903 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5905 if test x"$ac_file" != x-; then
5906 configure_input="$ac_file.
$configure_input"
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
5908 $as_echo "$as_me: creating
$ac_file" >&6;}
5910 # Neutralize special characters interpreted by sed in replacement strings.
5911 case $configure_input in #(
5912 *\&* | *\|* | *\\* )
5913 ac_sed_conf_input=`$as_echo "$configure_input" |
5914 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5915 *) ac_sed_conf_input=$configure_input;;
5919 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
5920 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
5925 ac_dir=`$as_dirname -- "$ac_file" ||
5926 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5927 X"$ac_file" : 'X\(//\)[^/]' \| \
5928 X"$ac_file" : 'X\(//\)$' \| \
5929 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5930 $as_echo X"$ac_file" |
5931 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5948 as_dir="$ac_dir"; as_fn_mkdir_p
5952 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5954 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5955 # A "..
" for each directory in $ac_dir_suffix.
5956 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5957 case $ac_top_builddir_sub in
5958 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5959 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5962 ac_abs_top_builddir=$ac_pwd
5963 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5964 # for backward compatibility:
5965 ac_top_builddir=$ac_top_build_prefix
5968 .) # We are building in place.
5970 ac_top_srcdir=$ac_top_builddir_sub
5971 ac_abs_top_srcdir=$ac_pwd ;;
5972 [\\/]* | ?:[\\/]* ) # Absolute name.
5973 ac_srcdir=$srcdir$ac_dir_suffix;
5974 ac_top_srcdir=$srcdir
5975 ac_abs_top_srcdir=$srcdir ;;
5977 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5978 ac_top_srcdir=$ac_top_build_prefix$srcdir
5979 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5981 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5993 # If the template does not know about datarootdir, expand it.
5994 # FIXME: This hack should be removed a few years after 2.60.
5995 ac_datarootdir_hack=; ac_datarootdir_seen=
6006 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
6007 *datarootdir*) ac_datarootdir_seen=yes;;
6008 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
6010 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
6012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6013 ac_datarootdir_hack='
6014 s&@datadir@&$datadir&g
6015 s&@docdir@&$docdir&g
6016 s&@infodir@&$infodir&g
6017 s&@localedir@&$localedir&g
6018 s&@mandir@&$mandir&g
6019 s&\\\${datarootdir}&$datarootdir&g' ;;
6023 # Neutralize VPATH when `$srcdir' = `.'.
6024 # Shell code in configure.ac might set extrasub.
6025 # FIXME: do we really want to maintain this feature?
6026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6027 ac_sed_extra="$ac_vpsub
6030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6032 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6033 s|@configure_input@|
$ac_sed_conf_input|
;t t
6034 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6035 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6036 s
&@srcdir@
&$ac_srcdir&;t t
6037 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6038 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6039 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6040 s
&@builddir@
&$ac_builddir&;t t
6041 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6042 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6043 $ac_datarootdir_hack
6045 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6046 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6048 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6049 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6050 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6051 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6053 which seems to be undefined. Please make sure it is defined" >&5
6054 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6055 which seems to be undefined. Please make sure it is defined" >&2;}
6057 rm -f "$ac_tmp/stdin"
6059 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6060 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6062 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6074 ac_clean_files=$ac_clean_files_save
6076 test $ac_write_fail = 0 ||
6077 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6080 # configure is writing to config.log, and then calls config.status.
6081 # config.status does its own redirection, appending to config.log.
6082 # Unfortunately, on DOS this fails, as config.log is still kept open
6083 # by configure, so config.status won't be able to
write to it
; its
6084 # output is simply discarded. So we exec the FD to /dev/null,
6085 # effectively closing config.log, so it can be properly (re)opened and
6086 # appended to by config.status. When coming back to configure, we
6087 # need to make the FD available again.
6088 if test "$no_create" != yes; then
6090 ac_config_status_args
=
6091 test "$silent" = yes &&
6092 ac_config_status_args
="$ac_config_status_args --quiet"
6094 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6096 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6097 # would make configure fail if this is the last instruction.
6098 $ac_cs_success || as_fn_exit
1
6100 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6102 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}