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_cflags_return_type
588 aros_cflags_sizeof_pointer_memaccess
589 aros_cflags_volatile_register_var
590 aros_cflags_narrowing
591 aros_cflags_conversion_null
592 aros_cflags_missing_braces
593 aros_cflags_unused_local_typedefs
595 aros_cflags_attributes
596 aros_cflags_sign_compare
597 aros_cflags_deprecated_declarations
598 aros_cflags_frame_address
599 aros_cflags_shift_overflow
600 aros_cflags_pointer_sign
601 aros_cflags_logical_not_parentheses
602 aros_cflags_bool_compare
603 aros_cflags_incompatible_pointer_types
605 aros_cflags_write_strings
606 aros_cflags_unused_const_variable
607 aros_cflags_pointer_to_int_cast
608 aros_cflags_int_to_pointer_cast
609 aros_cflags_int_conversion
610 aros_cflags_discarded_array_qualifiers
611 aros_cflags_unknown_pragmas
612 aros_cflags_sequence_point
613 aros_cflags_discarded_qualifiers
616 aros_cflags_aggressive_loop_optimizations
617 aros_cflags_implicit_int
618 aros_cflags_format_contains_nul
619 aros_cflags_endif_labels
620 aros_cflags_char_subscripts
621 aros_cflags_parentheses
623 aros_cflags_implicit_function_declaration
624 aros_cflags_maybe_uninitialized
625 aros_cflags_uninitialized
626 aros_cflags_unused_parameter
627 aros_cflags_unused_function
628 aros_cflags_unused_variable
629 aros_cflags_unused_value
631 aros_cflags_nonnull_compare
632 aros_cflags_misleading_indentation
633 aros_cflags_format_security
634 aros_cflags_strict_overflow
635 aros_cflags_strict_prototypes
636 aros_cflags_enum_compare
637 aros_cflags_array_bounds
638 aros_cflags_strict_aliasing
639 aros_cflags_unused_but_set_variable
640 aros_cflags_unknown_warning_option
641 aros_cflags_unused_command_line_argument
642 aros_cflags_iquote_end
644 aros_cflags_loop_strip_mine
645 aros_cflags_loop_interchange
646 aros_cflags_loop_block
682 program_transform_name
695 enable_option_checking
698 ac_precious_vars
='build_alias
708 # Initialize some variables set by options.
710 ac_init_version
=false
711 ac_unrecognized_opts
=
713 # The variables have the same names as the options, with
714 # dashes changed to underlines.
722 program_transform_name
=s
,x
,x
,
730 # Installation directory options.
731 # These are left unexpanded so users can "make install exec_prefix=/foo"
732 # and all the variables that are supposed to be based on exec_prefix
733 # by default will actually change.
734 # Use braces instead of parens because sh, perl, etc. also accept them.
735 # (The list follows the same order as the GNU Coding Standards.)
736 bindir
='${exec_prefix}/bin'
737 sbindir
='${exec_prefix}/sbin'
738 libexecdir
='${exec_prefix}/libexec'
739 datarootdir
='${prefix}/share'
740 datadir
='${datarootdir}'
741 sysconfdir
='${prefix}/etc'
742 sharedstatedir
='${prefix}/com'
743 localstatedir
='${prefix}/var'
744 includedir
='${prefix}/include'
745 oldincludedir
='/usr/include'
746 docdir
='${datarootdir}/doc/${PACKAGE}'
747 infodir
='${datarootdir}/info'
752 libdir
='${exec_prefix}/lib'
753 localedir
='${datarootdir}/locale'
754 mandir
='${datarootdir}/man'
760 # If the previous option needs an argument, assign it.
761 if test -n "$ac_prev"; then
762 eval $ac_prev=\
$ac_option
768 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
773 # Accept the important Cygnus configure options, so we can diagnose typos.
775 case $ac_dashdash$ac_option in
779 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
781 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
784 -build |
--build |
--buil |
--bui |
--bu)
785 ac_prev
=build_alias
;;
786 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
787 build_alias
=$ac_optarg ;;
789 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
790 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
791 ac_prev
=cache_file
;;
792 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
793 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
794 cache_file
=$ac_optarg ;;
797 cache_file
=config.cache
;;
799 -datadir |
--datadir |
--datadi |
--datad)
801 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
802 datadir
=$ac_optarg ;;
804 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
805 |
--dataroo |
--dataro |
--datar)
806 ac_prev
=datarootdir
;;
807 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
808 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
809 datarootdir
=$ac_optarg ;;
811 -disable-* |
--disable-*)
812 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
813 # Reject names that are not valid shell variable names.
814 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
815 as_fn_error $?
"invalid feature name: $ac_useropt"
816 ac_useropt_orig
=$ac_useropt
817 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
818 case $ac_user_opts in
822 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
823 ac_unrecognized_sep
=', ';;
825 eval enable_
$ac_useropt=no
;;
827 -docdir |
--docdir |
--docdi |
--doc |
--do)
829 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
832 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
834 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
837 -enable-* |
--enable-*)
838 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
839 # Reject names that are not valid shell variable names.
840 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
841 as_fn_error $?
"invalid feature name: $ac_useropt"
842 ac_useropt_orig
=$ac_useropt
843 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
844 case $ac_user_opts in
848 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
849 ac_unrecognized_sep
=', ';;
851 eval enable_
$ac_useropt=\
$ac_optarg ;;
853 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
854 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
855 |
--exec |
--exe |
--ex)
856 ac_prev
=exec_prefix
;;
857 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
858 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
859 |
--exec=* |
--exe=* |
--ex=*)
860 exec_prefix
=$ac_optarg ;;
862 -gas |
--gas |
--ga |
--g)
863 # Obsolete; use --with-gas.
866 -help |
--help |
--hel |
--he |
-h)
868 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
869 ac_init_help
=recursive
;;
870 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
871 ac_init_help
=short
;;
873 -host |
--host |
--hos |
--ho)
874 ac_prev
=host_alias
;;
875 -host=* |
--host=* |
--hos=* |
--ho=*)
876 host_alias
=$ac_optarg ;;
878 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
880 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
882 htmldir
=$ac_optarg ;;
884 -includedir |
--includedir |
--includedi |
--included |
--include \
885 |
--includ |
--inclu |
--incl |
--inc)
886 ac_prev
=includedir
;;
887 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
888 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
889 includedir
=$ac_optarg ;;
891 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
893 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
894 infodir
=$ac_optarg ;;
896 -libdir |
--libdir |
--libdi |
--libd)
898 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
901 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
902 |
--libexe |
--libex |
--libe)
903 ac_prev
=libexecdir
;;
904 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
905 |
--libexe=* |
--libex=* |
--libe=*)
906 libexecdir
=$ac_optarg ;;
908 -localedir |
--localedir |
--localedi |
--localed |
--locale)
910 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
911 localedir
=$ac_optarg ;;
913 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
914 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
915 ac_prev
=localstatedir
;;
916 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
917 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
918 localstatedir
=$ac_optarg ;;
920 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
922 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
926 # Obsolete; use --without-fp.
929 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
930 |
--no-cr |
--no-c |
-n)
933 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
934 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
937 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
938 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
939 |
--oldin |
--oldi |
--old |
--ol |
--o)
940 ac_prev
=oldincludedir
;;
941 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
942 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
943 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
944 oldincludedir
=$ac_optarg ;;
946 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
948 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
951 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
952 |
--program-pre |
--program-pr |
--program-p)
953 ac_prev
=program_prefix
;;
954 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
955 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
956 program_prefix
=$ac_optarg ;;
958 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
959 |
--program-suf |
--program-su |
--program-s)
960 ac_prev
=program_suffix
;;
961 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
962 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
963 program_suffix
=$ac_optarg ;;
965 -program-transform-name |
--program-transform-name \
966 |
--program-transform-nam |
--program-transform-na \
967 |
--program-transform-n |
--program-transform- \
968 |
--program-transform |
--program-transfor \
969 |
--program-transfo |
--program-transf \
970 |
--program-trans |
--program-tran \
971 |
--progr-tra |
--program-tr |
--program-t)
972 ac_prev
=program_transform_name
;;
973 -program-transform-name=* |
--program-transform-name=* \
974 |
--program-transform-nam=* |
--program-transform-na=* \
975 |
--program-transform-n=* |
--program-transform-=* \
976 |
--program-transform=* |
--program-transfor=* \
977 |
--program-transfo=* |
--program-transf=* \
978 |
--program-trans=* |
--program-tran=* \
979 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
980 program_transform_name
=$ac_optarg ;;
982 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
984 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
987 -psdir |
--psdir |
--psdi |
--psd |
--ps)
989 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
992 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
993 |
-silent |
--silent |
--silen |
--sile |
--sil)
996 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
998 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1000 sbindir
=$ac_optarg ;;
1002 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1003 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1004 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1006 ac_prev
=sharedstatedir
;;
1007 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1008 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1009 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1011 sharedstatedir
=$ac_optarg ;;
1013 -site |
--site |
--sit)
1015 -site=* |
--site=* |
--sit=*)
1018 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1020 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1021 srcdir
=$ac_optarg ;;
1023 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1024 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1025 ac_prev
=sysconfdir
;;
1026 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1027 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1028 sysconfdir
=$ac_optarg ;;
1030 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1031 ac_prev
=target_alias
;;
1032 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1033 target_alias
=$ac_optarg ;;
1035 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1038 -version |
--version |
--versio |
--versi |
--vers |
-V)
1039 ac_init_version
=: ;;
1042 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1043 # Reject names that are not valid shell variable names.
1044 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1045 as_fn_error $?
"invalid package name: $ac_useropt"
1046 ac_useropt_orig
=$ac_useropt
1047 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1048 case $ac_user_opts in
1052 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1053 ac_unrecognized_sep
=', ';;
1055 eval with_
$ac_useropt=\
$ac_optarg ;;
1057 -without-* |
--without-*)
1058 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1059 # Reject names that are not valid shell variable names.
1060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1061 as_fn_error $?
"invalid package name: $ac_useropt"
1062 ac_useropt_orig
=$ac_useropt
1063 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1064 case $ac_user_opts in
1068 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1069 ac_unrecognized_sep
=', ';;
1071 eval with_
$ac_useropt=no
;;
1074 # Obsolete; use --with-x.
1077 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1078 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1079 ac_prev
=x_includes
;;
1080 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1081 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1082 x_includes
=$ac_optarg ;;
1084 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1085 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1086 ac_prev
=x_libraries
;;
1087 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1088 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1089 x_libraries
=$ac_optarg ;;
1091 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1092 Try \`$0 --help' for more information"
1096 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1097 # Reject names that are not valid shell variable names.
1098 case $ac_envvar in #(
1099 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1100 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1102 eval $ac_envvar=\
$ac_optarg
1103 export $ac_envvar ;;
1106 # FIXME: should be removed in autoconf 3.0.
1107 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1108 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1109 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1110 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1116 if test -n "$ac_prev"; then
1117 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1118 as_fn_error $?
"missing argument to $ac_option"
1121 if test -n "$ac_unrecognized_opts"; then
1122 case $enable_option_checking in
1124 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1125 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1129 # Check all directory arguments for consistency.
1130 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1131 datadir sysconfdir sharedstatedir localstatedir includedir \
1132 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1133 libdir localedir mandir
1135 eval ac_val
=\$
$ac_var
1136 # Remove trailing slashes.
1139 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1140 eval $ac_var=\
$ac_val;;
1142 # Be sure to have absolute directory names.
1144 [\\/$
]* | ?
:[\\/]* ) continue;;
1145 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1147 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1150 # There might be people who depend on the old broken behavior: `$host'
1151 # used to hold the argument of --host etc.
1152 # FIXME: To remove some day.
1155 target
=$target_alias
1157 # FIXME: To remove some day.
1158 if test "x$host_alias" != x
; then
1159 if test "x$build_alias" = x
; then
1160 cross_compiling
=maybe
1161 elif test "x$build_alias" != "x$host_alias"; then
1167 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1169 test "$silent" = yes && exec 6>/dev
/null
1172 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1173 ac_ls_di
=`ls -di .` &&
1174 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1175 as_fn_error $?
"working directory cannot be determined"
1176 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1177 as_fn_error $?
"pwd does not report name of working directory"
1180 # Find the source files, if location was not specified.
1181 if test -z "$srcdir"; then
1182 ac_srcdir_defaulted
=yes
1183 # Try the directory containing this script, then the parent directory.
1184 ac_confdir
=`$as_dirname -- "$as_myself" ||
1185 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1186 X"$as_myself" : 'X\(//\)[^/]' \| \
1187 X"$as_myself" : 'X\(//\)$' \| \
1188 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1189 $as_echo X"$as_myself" |
1190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1208 if test ! -r "$srcdir/$ac_unique_file"; then
1212 ac_srcdir_defaulted
=no
1214 if test ! -r "$srcdir/$ac_unique_file"; then
1215 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1216 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1218 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1220 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1222 # When building in place, set srcdir=.
1223 if test "$ac_abs_confdir" = "$ac_pwd"; then
1226 # Remove unnecessary trailing slashes from srcdir.
1227 # Double slashes in file names in object file debugging info
1228 # mess up M-x gdb in Emacs.
1230 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1232 for ac_var
in $ac_precious_vars; do
1233 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1234 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1235 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1236 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1240 # Report the --help message.
1242 if test "$ac_init_help" = "long"; then
1243 # Omit some internal or obsolete options to make the list less imposing.
1244 # This message is too long to be a string in the A/UX 3.1 sh.
1246 \`configure' configures this package to adapt to many kinds of systems.
1248 Usage: $0 [OPTION]... [VAR=VALUE]...
1250 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1251 VAR=VALUE. See below for descriptions of some of the useful variables.
1253 Defaults for the options are specified in brackets.
1256 -h, --help display this help and exit
1257 --help=short display options specific to this package
1258 --help=recursive display the short help of all the included packages
1259 -V, --version display version information and exit
1260 -q, --quiet, --silent do not print \`checking ...' messages
1261 --cache-file=FILE cache test results in FILE [disabled]
1262 -C, --config-cache alias for \`--cache-file=config.cache'
1263 -n, --no-create do not create output files
1264 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1266 Installation directories:
1267 --prefix=PREFIX install architecture-independent files in PREFIX
1268 [$ac_default_prefix]
1269 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1272 By default, \`make install' will install all the files in
1273 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1274 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1275 for instance \`--prefix=\$HOME'.
1277 For better control, use the options below.
1279 Fine tuning of the installation directories:
1280 --bindir=DIR user executables [EPREFIX/bin]
1281 --sbindir=DIR system admin executables [EPREFIX/sbin]
1282 --libexecdir=DIR program executables [EPREFIX/libexec]
1283 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1284 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1285 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1286 --libdir=DIR object code libraries [EPREFIX/lib]
1287 --includedir=DIR C header files [PREFIX/include]
1288 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1289 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1290 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1291 --infodir=DIR info documentation [DATAROOTDIR/info]
1292 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1293 --mandir=DIR man documentation [DATAROOTDIR/man]
1294 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1295 --htmldir=DIR html documentation [DOCDIR]
1296 --dvidir=DIR dvi documentation [DOCDIR]
1297 --pdfdir=DIR pdf documentation [DOCDIR]
1298 --psdir=DIR ps documentation [DOCDIR]
1305 if test -n "$ac_init_help"; then
1310 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1311 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1312 --with-config-dir=VERSION
1313 Location of generated target config files
1315 Some influential environment variables
:
1316 CC C compiler
command
1317 CFLAGS C compiler flags
1318 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1319 nonstandard directory
<lib dir
>
1320 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1321 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1322 you have headers
in a nonstandard directory
<include dir
>
1324 Use these variables to override the choices made by
`configure' or to help
1325 it to find libraries and programs with nonstandard names/locations.
1327 Report bugs to the package provider.
1332 if test "$ac_init_help" = "recursive"; then
1333 # If there are subdirs, report their specific --help.
1334 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1335 test -d "$ac_dir" ||
1336 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1341 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1343 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1344 # A ".." for each directory in $ac_dir_suffix.
1345 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1346 case $ac_top_builddir_sub in
1347 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1348 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1351 ac_abs_top_builddir=$ac_pwd
1352 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1353 # for backward compatibility:
1354 ac_top_builddir=$ac_top_build_prefix
1357 .) # We are building in place.
1359 ac_top_srcdir=$ac_top_builddir_sub
1360 ac_abs_top_srcdir=$ac_pwd ;;
1361 [\\/]* | ?:[\\/]* ) # Absolute name.
1362 ac_srcdir=$srcdir$ac_dir_suffix;
1363 ac_top_srcdir=$srcdir
1364 ac_abs_top_srcdir=$srcdir ;;
1366 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1367 ac_top_srcdir=$ac_top_build_prefix$srcdir
1368 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1370 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1372 cd "$ac_dir" || { ac_status=$?; continue; }
1373 # Check for guested configure.
1374 if test -f "$ac_srcdir/configure.gnu"; then
1376 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1377 elif test -f "$ac_srcdir/configure"; then
1379 $SHELL "$ac_srcdir/configure" --help=recursive
1381 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1383 cd "$ac_pwd" || { ac_status=$?; break; }
1387 test -n "$ac_init_help" && exit $ac_status
1388 if $ac_init_version; then
1391 generated by GNU Autoconf 2.69
1393 Copyright (C) 2012 Free Software Foundation, Inc.
1394 This configure script is free software; the Free Software Foundation
1395 gives unlimited permission to copy, distribute and modify it.
1400 ## ------------------------ ##
1401 ## Autoconf initialization. ##
1402 ## ------------------------ ##
1404 # ac_fn_c_try_compile LINENO
1405 # --------------------------
1406 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1407 ac_fn_c_try_compile ()
1409 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1410 rm -f conftest.$ac_objext
1411 if { { ac_try="$ac_compile"
1413 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1414 *) ac_try_echo
=$ac_try;;
1416 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1417 $as_echo "$ac_try_echo"; } >&5
1418 (eval "$ac_compile") 2>conftest.err
1420 if test -s conftest.err
; then
1421 grep -v '^ *+' conftest.err
>conftest.er1
1422 cat conftest.er1
>&5
1423 mv -f conftest.er1 conftest.err
1425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1426 test $ac_status = 0; } && {
1427 test -z "$ac_c_werror_flag" ||
1428 test ! -s conftest.err
1429 } && test -s conftest.
$ac_objext; then :
1432 $as_echo "$as_me: failed program was:" >&5
1433 sed 's/^/| /' conftest.
$ac_ext >&5
1437 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1438 as_fn_set_status
$ac_retval
1440 } # ac_fn_c_try_compile
1441 cat >config.log
<<_ACEOF
1442 This file contains any messages produced by compilers while
1443 running configure, to aid debugging if configure makes a mistake.
1445 It was created by $as_me, which was
1446 generated by GNU Autoconf 2.69. Invocation command line was
1458 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1459 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1460 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1461 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1462 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1464 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1465 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1467 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1468 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1469 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1470 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1471 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1472 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1473 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1481 test -z "$as_dir" && as_dir
=.
1482 $as_echo "PATH: $as_dir"
1498 # Keep a trace of the command line.
1499 # Strip out --no-create and --no-recursion so they do not pile up.
1500 # Strip out --silent because we don't want to record it for future runs.
1501 # Also quote any args containing shell meta-characters.
1502 # Make two passes to allow for proper duplicate-argument suppression.
1506 ac_must_keep_next
=false
1512 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1513 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1514 |
-silent |
--silent |
--silen |
--sile |
--sil)
1517 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1520 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1522 as_fn_append ac_configure_args1
" '$ac_arg'"
1523 if test $ac_must_keep_next = true
; then
1524 ac_must_keep_next
=false
# Got value, back to normal.
1527 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1528 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1529 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1530 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1531 case "$ac_configure_args0 " in
1532 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1535 -* ) ac_must_keep_next
=true
;;
1538 as_fn_append ac_configure_args
" '$ac_arg'"
1543 { ac_configure_args0
=; unset ac_configure_args0
;}
1544 { ac_configure_args1
=; unset ac_configure_args1
;}
1546 # When interrupted or exit'd, cleanup temporary files, and complete
1547 # config.log. We remove comments because anyway the quotes in there
1548 # would cause problems or look ugly.
1549 # WARNING: Use '\'' to represent an apostrophe within the trap.
1550 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1551 trap 'exit_status=$?
1552 # Save into config.log some information that might help in debugging.
1556 $as_echo "## ---------------- ##
1557 ## Cache variables. ##
1558 ## ---------------- ##"
1560 # The following way of writing the cache mishandles newlines in values,
1562 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1563 eval ac_val=\$$ac_var
1567 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1568 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1571 _ | IFS | as_nl) ;; #(
1572 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1573 *) { eval $ac_var=; unset $ac_var;} ;;
1578 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1579 *${as_nl}ac_space=\ *)
1581 "s/'\''/'\''\\\\'\'''\''/g;
1582 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1585 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1592 $as_echo "## ----------------- ##
1593 ## Output variables. ##
1594 ## ----------------- ##"
1596 for ac_var in $ac_subst_vars
1598 eval ac_val=\$$ac_var
1600 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1602 $as_echo "$ac_var='\''$ac_val'\''"
1606 if test -n "$ac_subst_files"; then
1607 $as_echo "## ------------------- ##
1608 ## File substitutions. ##
1609 ## ------------------- ##"
1611 for ac_var
in $ac_subst_files
1613 eval ac_val
=\$
$ac_var
1615 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1617 $as_echo "$ac_var='\''$ac_val'\''"
1622 if test -s confdefs.h; then
1623 $as_echo "## ----------- ##
1630 test "$ac_signal" != 0 &&
1631 $as_echo "$as_me: caught signal $ac_signal"
1632 $as_echo "$as_me: exit $exit_status"
1634 rm -f core *.core core.conftest.* &&
1635 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1638 for ac_signal
in 1 2 13 15; do
1639 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1643 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1644 rm -f -r conftest
* confdefs.h
1646 $as_echo "/* confdefs.h */" > confdefs.h
1648 # Predefined preprocessor variables.
1650 cat >>confdefs.h
<<_ACEOF
1651 #define PACKAGE_NAME "$PACKAGE_NAME"
1654 cat >>confdefs.h
<<_ACEOF
1655 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1658 cat >>confdefs.h
<<_ACEOF
1659 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1662 cat >>confdefs.h
<<_ACEOF
1663 #define PACKAGE_STRING "$PACKAGE_STRING"
1666 cat >>confdefs.h
<<_ACEOF
1667 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1670 cat >>confdefs.h
<<_ACEOF
1671 #define PACKAGE_URL "$PACKAGE_URL"
1675 # Let the site file select an alternate cache file if it wants to.
1676 # Prefer an explicitly selected file to automatically selected ones.
1679 if test -n "$CONFIG_SITE"; then
1680 # We do not want a PATH search for config.site.
1681 case $CONFIG_SITE in #((
1682 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1683 */*) ac_site_file1
=$CONFIG_SITE;;
1684 *) ac_site_file1
=.
/$CONFIG_SITE;;
1686 elif test "x$prefix" != xNONE
; then
1687 ac_site_file1
=$prefix/share
/config.site
1688 ac_site_file2
=$prefix/etc
/config.site
1690 ac_site_file1
=$ac_default_prefix/share
/config.site
1691 ac_site_file2
=$ac_default_prefix/etc
/config.site
1693 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1695 test "x$ac_site_file" = xNONE
&& continue
1696 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1698 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1699 sed 's/^/| /' "$ac_site_file" >&5
1701 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1702 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1703 as_fn_error $?
"failed to load site script $ac_site_file
1704 See \`config.log' for more details" "$LINENO" 5; }
1708 if test -r "$cache_file"; then
1709 # Some versions of bash will fail to source /dev/null (special files
1710 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1711 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1713 $as_echo "$as_me: loading cache $cache_file" >&6;}
1715 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1716 *) .
"./$cache_file";;
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1721 $as_echo "$as_me: creating cache $cache_file" >&6;}
1725 # Check that the precious variables saved in the cache have kept the same
1727 ac_cache_corrupted
=false
1728 for ac_var
in $ac_precious_vars; do
1729 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1730 eval ac_new_set
=\
$ac_env_${ac_var}_set
1731 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1732 eval ac_new_val
=\
$ac_env_${ac_var}_value
1733 case $ac_old_set,$ac_new_set in
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1736 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1737 ac_cache_corrupted
=: ;;
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1740 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1741 ac_cache_corrupted
=: ;;
1744 if test "x$ac_old_val" != "x$ac_new_val"; then
1745 # differences in whitespace do not lead to failure.
1746 ac_old_val_w
=`echo x $ac_old_val`
1747 ac_new_val_w
=`echo x $ac_new_val`
1748 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1750 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1751 ac_cache_corrupted
=:
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1754 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1755 eval $ac_var=\
$ac_old_val
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1758 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1760 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1763 # Pass precious variables to config.status.
1764 if test "$ac_new_set" = set; then
1766 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1767 *) ac_arg
=$ac_var=$ac_new_val ;;
1769 case " $ac_configure_args " in
1770 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1771 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1775 if $ac_cache_corrupted; then
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1777 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1779 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1780 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1782 ## -------------------- ##
1783 ## Main body of script. ##
1784 ## -------------------- ##
1787 ac_cpp
='$CPP $CPPFLAGS'
1788 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1789 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1790 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1795 for ac_dir
in ..
/scripts
/autoconf
"$srcdir"/..
/scripts
/autoconf
; do
1796 if test -f "$ac_dir/install-sh"; then
1798 ac_install_sh
="$ac_aux_dir/install-sh -c"
1800 elif test -f "$ac_dir/install.sh"; then
1802 ac_install_sh
="$ac_aux_dir/install.sh -c"
1804 elif test -f "$ac_dir/shtool"; then
1806 ac_install_sh
="$ac_aux_dir/shtool install -c"
1810 if test -z "$ac_aux_dir"; then
1811 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
1814 # These three variables are undocumented and unsupported,
1815 # and are intended to be withdrawn in a future Autoconf release.
1816 # They can cause serious problems if a builder's source tree is in a directory
1817 # whose full name contains unusual characters.
1818 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1819 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1820 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1824 AROS_BUILDDIR
=`${PWDCMD-pwd}`
1825 AROS_BUILDDIR_UNIX
=${PWD}
1827 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1830 NOLINKFLAGS
="-nostdlib -nostartfiles"
1831 LDFLAGS
=$NOLINKFLAGS
1832 # The first step is to find the binaries.
1834 ac_cpp
='$CPP $CPPFLAGS'
1835 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1836 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1837 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1838 if test -n "$ac_tool_prefix"; then
1839 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1840 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1842 $as_echo_n "checking for $ac_word... " >&6; }
1843 if ${ac_cv_prog_CC+:} false
; then :
1844 $as_echo_n "(cached) " >&6
1846 if test -n "$CC"; then
1847 ac_cv_prog_CC
="$CC" # Let the user override the test.
1849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1853 test -z "$as_dir" && as_dir
=.
1854 for ac_exec_ext
in '' $ac_executable_extensions; do
1855 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1856 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1867 if test -n "$CC"; then
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1869 $as_echo "$CC" >&6; }
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1872 $as_echo "no" >&6; }
1877 if test -z "$ac_cv_prog_CC"; then
1879 # Extract the first word of "gcc", so it can be a program name with args.
1880 set dummy gcc
; ac_word
=$2
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1882 $as_echo_n "checking for $ac_word... " >&6; }
1883 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
1884 $as_echo_n "(cached) " >&6
1886 if test -n "$ac_ct_CC"; then
1887 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1893 test -z "$as_dir" && as_dir
=.
1894 for ac_exec_ext
in '' $ac_executable_extensions; do
1895 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1896 ac_cv_prog_ac_ct_CC
="gcc"
1897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1906 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1907 if test -n "$ac_ct_CC"; then
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1909 $as_echo "$ac_ct_CC" >&6; }
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1912 $as_echo "no" >&6; }
1915 if test "x$ac_ct_CC" = x
; then
1918 case $cross_compiling:$ac_tool_warned in
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1922 ac_tool_warned
=yes ;;
1930 if test -z "$CC"; then
1931 if test -n "$ac_tool_prefix"; then
1932 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1933 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1935 $as_echo_n "checking for $ac_word... " >&6; }
1936 if ${ac_cv_prog_CC+:} false
; then :
1937 $as_echo_n "(cached) " >&6
1939 if test -n "$CC"; then
1940 ac_cv_prog_CC
="$CC" # Let the user override the test.
1942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1946 test -z "$as_dir" && as_dir
=.
1947 for ac_exec_ext
in '' $ac_executable_extensions; do
1948 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1949 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1960 if test -n "$CC"; then
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1962 $as_echo "$CC" >&6; }
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1965 $as_echo "no" >&6; }
1971 if test -z "$CC"; then
1972 # Extract the first word of "cc", so it can be a program name with args.
1973 set dummy cc
; ac_word
=$2
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1975 $as_echo_n "checking for $ac_word... " >&6; }
1976 if ${ac_cv_prog_CC+:} false
; then :
1977 $as_echo_n "(cached) " >&6
1979 if test -n "$CC"; then
1980 ac_cv_prog_CC
="$CC" # Let the user override the test.
1983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1987 test -z "$as_dir" && as_dir
=.
1988 for ac_exec_ext
in '' $ac_executable_extensions; do
1989 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1990 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1991 ac_prog_rejected
=yes
1995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2002 if test $ac_prog_rejected = yes; then
2003 # We found a bogon in the path, so make sure we never use it.
2004 set dummy
$ac_cv_prog_CC
2006 if test $# != 0; then
2007 # We chose a different compiler from the bogus one.
2008 # However, it has the same basename, so the bogon will be chosen
2009 # first if we set CC to just the basename; use the full file name.
2011 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2017 if test -n "$CC"; then
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2019 $as_echo "$CC" >&6; }
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2022 $as_echo "no" >&6; }
2027 if test -z "$CC"; then
2028 if test -n "$ac_tool_prefix"; then
2029 for ac_prog
in cl.exe
2031 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2032 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2034 $as_echo_n "checking for $ac_word... " >&6; }
2035 if ${ac_cv_prog_CC+:} false
; then :
2036 $as_echo_n "(cached) " >&6
2038 if test -n "$CC"; then
2039 ac_cv_prog_CC
="$CC" # Let the user override the test.
2041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2045 test -z "$as_dir" && as_dir
=.
2046 for ac_exec_ext
in '' $ac_executable_extensions; do
2047 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2048 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2059 if test -n "$CC"; then
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2061 $as_echo "$CC" >&6; }
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2064 $as_echo "no" >&6; }
2068 test -n "$CC" && break
2071 if test -z "$CC"; then
2073 for ac_prog
in cl.exe
2075 # Extract the first word of "$ac_prog", so it can be a program name with args.
2076 set dummy
$ac_prog; ac_word
=$2
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2078 $as_echo_n "checking for $ac_word... " >&6; }
2079 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2080 $as_echo_n "(cached) " >&6
2082 if test -n "$ac_ct_CC"; then
2083 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2089 test -z "$as_dir" && as_dir
=.
2090 for ac_exec_ext
in '' $ac_executable_extensions; do
2091 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2092 ac_cv_prog_ac_ct_CC
="$ac_prog"
2093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2102 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2103 if test -n "$ac_ct_CC"; then
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2105 $as_echo "$ac_ct_CC" >&6; }
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2108 $as_echo "no" >&6; }
2112 test -n "$ac_ct_CC" && break
2115 if test "x$ac_ct_CC" = x
; then
2118 case $cross_compiling:$ac_tool_warned in
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2122 ac_tool_warned
=yes ;;
2131 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2133 as_fn_error $?
"no acceptable C compiler found in \$PATH
2134 See \`config.log' for more details" "$LINENO" 5; }
2136 # Provide some information about the compiler.
2137 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2140 for ac_option
in --version -v -V -qversion; do
2141 { { ac_try
="$ac_compiler $ac_option >&5"
2143 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2144 *) ac_try_echo=$ac_try;;
2146 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2147 $as_echo "$ac_try_echo"; } >&5
2148 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2150 if test -s conftest.err; then
2152 ... rest of stderr output deleted ...
2153 10q' conftest.err >conftest.er1
2154 cat conftest.er1 >&5
2156 rm -f conftest.er1 conftest.err
2157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2158 test $ac_status = 0; }
2161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2162 /* end confdefs.h. */
2172 ac_clean_files_save=$ac_clean_files
2173 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2174 # Try to create an executable without -o first, disregard a.out.
2175 # It will help us diagnose broken compilers, and finding out an intuition
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2178 $as_echo_n "checking whether the C compiler works... " >&6; }
2179 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2181 # The possible output files:
2182 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2185 for ac_file in $ac_files
2188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2189 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2194 if { { ac_try="$ac_link_default"
2196 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2197 *) ac_try_echo
=$ac_try;;
2199 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2200 $as_echo "$ac_try_echo"; } >&5
2201 (eval "$ac_link_default") 2>&5
2203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2204 test $ac_status = 0; }; then :
2205 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2206 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2207 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2208 # so that the user can short-circuit this test for compilers unknown to
2210 for ac_file
in $ac_files ''
2212 test -f "$ac_file" ||
continue
2214 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2217 # We found the default executable, but exeext='' is most
2221 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2223 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2225 # We set ac_cv_exeext here because the later test for it is not
2226 # safe: cross compilers may not add the suffix if given an `-o'
2227 # argument, so we may need to know it at that point already.
2228 # Even if this section looks crufty: it has the advantage of
2235 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2240 if test -z "$ac_file"; then :
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2242 $as_echo "no" >&6; }
2243 $as_echo "$as_me: failed program was:" >&5
2244 sed 's/^/| /' conftest.
$ac_ext >&5
2246 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2248 as_fn_error
77 "C compiler cannot create executables
2249 See \`config.log' for more details" "$LINENO" 5; }
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2252 $as_echo "yes" >&6; }
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2255 $as_echo_n "checking for C compiler default output file name... " >&6; }
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2257 $as_echo "$ac_file" >&6; }
2258 ac_exeext
=$ac_cv_exeext
2260 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2261 ac_clean_files
=$ac_clean_files_save
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2263 $as_echo_n "checking for suffix of executables... " >&6; }
2264 if { { ac_try
="$ac_link"
2266 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2267 *) ac_try_echo=$ac_try;;
2269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2270 $as_echo "$ac_try_echo"; } >&5
2271 (eval "$ac_link") 2>&5
2273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2274 test $ac_status = 0; }; then :
2275 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2276 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2277 # work properly (i.e., refer to `conftest.exe'), while it won't with
2279 for ac_file
in conftest.exe conftest conftest.
*; do
2280 test -f "$ac_file" ||
continue
2282 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2283 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2289 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2291 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2292 See \`config.log' for more details" "$LINENO" 5; }
2294 rm -f conftest conftest
$ac_cv_exeext
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2296 $as_echo "$ac_cv_exeext" >&6; }
2298 rm -f conftest.
$ac_ext
2299 EXEEXT
=$ac_cv_exeext
2301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2302 /* end confdefs.h. */
2307 FILE *f = fopen ("conftest.out", "w");
2308 return ferror (f) || fclose (f) != 0;
2314 ac_clean_files
="$ac_clean_files conftest.out"
2315 # Check that the compiler produces executables we can run. If not, either
2316 # the compiler is broken, or we cross compile.
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2318 $as_echo_n "checking whether we are cross compiling... " >&6; }
2319 if test "$cross_compiling" != yes; then
2320 { { ac_try
="$ac_link"
2322 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2323 *) ac_try_echo=$ac_try;;
2325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2326 $as_echo "$ac_try_echo"; } >&5
2327 (eval "$ac_link") 2>&5
2329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2330 test $ac_status = 0; }
2331 if { ac_try='./conftest$ac_cv_exeext'
2332 { { case "(($ac_try" in
2333 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2334 *) ac_try_echo
=$ac_try;;
2336 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2337 $as_echo "$ac_try_echo"; } >&5
2338 (eval "$ac_try") 2>&5
2340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2341 test $ac_status = 0; }; }; then
2344 if test "$cross_compiling" = maybe
; then
2347 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2349 as_fn_error $?
"cannot run C compiled programs.
2350 If you meant to cross compile, use \`--host'.
2351 See \`config.log' for more details" "$LINENO" 5; }
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2356 $as_echo "$cross_compiling" >&6; }
2358 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2359 ac_clean_files
=$ac_clean_files_save
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2361 $as_echo_n "checking for suffix of object files... " >&6; }
2362 if ${ac_cv_objext+:} false
; then :
2363 $as_echo_n "(cached) " >&6
2365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2366 /* end confdefs.h. */
2376 rm -f conftest.o conftest.obj
2377 if { { ac_try
="$ac_compile"
2379 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2380 *) ac_try_echo=$ac_try;;
2382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2383 $as_echo "$ac_try_echo"; } >&5
2384 (eval "$ac_compile") 2>&5
2386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2387 test $ac_status = 0; }; then :
2388 for ac_file in conftest.o conftest.obj conftest.*; do
2389 test -f "$ac_file" || continue;
2391 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2392 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2397 $as_echo "$as_me: failed program was:" >&5
2398 sed 's/^/| /' conftest.$ac_ext >&5
2400 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2402 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2403 See \
`config.log' for more details" "$LINENO" 5; }
2405 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2408 $as_echo "$ac_cv_objext" >&6; }
2409 OBJEXT=$ac_cv_objext
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2412 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2413 if ${ac_cv_c_compiler_gnu+:} false; then :
2414 $as_echo_n "(cached) " >&6
2416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2417 /* end confdefs.h. */
2430 if ac_fn_c_try_compile "$LINENO"; then :
2435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2436 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2440 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2441 if test $ac_compiler_gnu = yes; then
2446 ac_test_CFLAGS=${CFLAGS+set}
2447 ac_save_CFLAGS=$CFLAGS
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2449 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2450 if ${ac_cv_prog_cc_g+:} false; then :
2451 $as_echo_n "(cached) " >&6
2453 ac_save_c_werror_flag=$ac_c_werror_flag
2454 ac_c_werror_flag=yes
2457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2458 /* end confdefs.h. */
2468 if ac_fn_c_try_compile "$LINENO"; then :
2472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2473 /* end confdefs.h. */
2483 if ac_fn_c_try_compile "$LINENO"; then :
2486 ac_c_werror_flag=$ac_save_c_werror_flag
2488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2489 /* end confdefs.h. */
2499 if ac_fn_c_try_compile "$LINENO"; then :
2502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2507 ac_c_werror_flag=$ac_save_c_werror_flag
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2510 $as_echo "$ac_cv_prog_cc_g" >&6; }
2511 if test "$ac_test_CFLAGS" = set; then
2512 CFLAGS=$ac_save_CFLAGS
2513 elif test $ac_cv_prog_cc_g = yes; then
2514 if test "$GCC" = yes; then
2520 if test "$GCC" = yes; then
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2527 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2528 if ${ac_cv_prog_cc_c89+:} false; then :
2529 $as_echo_n "(cached) " >&6
2531 ac_cv_prog_cc_c89=no
2533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2534 /* end confdefs.h. */
2538 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2539 struct buf { int x; };
2540 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2541 static char *e (p, i)
2547 static char *f (char * (*g) (char **, int), char **p, ...)
2552 s = g (p, va_arg (v,int));
2557 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2558 function prototypes and stuff, but not '\xHH' hex character constants.
2559 These don't provoke an error unfortunately, instead are silently treated
2560 as 'x'. The following induces an error, until -std is added to get
2561 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2562 array size at least. It's necessary to write '\x00'==0 to get something
2563 that's true only with -std. */
2564 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2566 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2567 inside strings and character constants. */
2569 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2571 int test (int i, double x);
2572 struct s1 {int (*f) (int a);};
2573 struct s2 {int (*f) (double a);};
2574 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2580 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2585 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2586 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2588 CC="$ac_save_CC $ac_arg"
2589 if ac_fn_c_try_compile "$LINENO"; then :
2590 ac_cv_prog_cc_c89=$ac_arg
2592 rm -f core conftest.err conftest.$ac_objext
2593 test "x$ac_cv_prog_cc_c89" != "xno" && break
2595 rm -f conftest.$ac_ext
2600 case "x$ac_cv_prog_cc_c89" in
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2603 $as_echo "none needed" >&6; } ;;
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2606 $as_echo "unsupported" >&6; } ;;
2608 CC="$CC $ac_cv_prog_cc_c89"
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2610 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2612 if test "x$ac_cv_prog_cc_c89" != xno; then :
2617 ac_cpp='$CPP $CPPFLAGS'
2618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2624 $as_echo_n "checking target config location... " >&6; }
2626 # Check whether --with-config-dir was given.
2627 if test "${with_config_dir+set}" = set; then :
2628 withval=$with_config_dir; targetcfg_dir="$withval"
2633 if test "$targetcfg_dir" = ""; then
2634 as_fn_error $? "missing config directory!" "$LINENO" 5
2636 aros_targetcfg_dir="$targetcfg_dir"
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2639 $as_echo "$aros_targetcfg_dir" >&6; }
2641 #-----------------------------------------------------------------------------
2643 # Check if the target compiler supports some features:
2646 # -floop-interchange
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2650 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2654 /* end confdefs.h. */
2664 if ac_fn_c_try_compile "$LINENO"; then :
2669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2671 $as_echo "$aros_lto" >&6; }
2672 if test "x-$aros_lto" = "x-yes" ; then
2673 aros_cflags_lto=-flto
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2677 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2680 /* end confdefs.h. */
2690 if ac_fn_c_try_compile "$LINENO"; then :
2691 aros_loop_block="yes"
2693 aros_loop_block="no"
2695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2697 $as_echo "$aros_loop_block" >&6; }
2698 if test "x-$aros_loop_block" = "x-yes" ; then
2699 aros_cflags_loop_block=-floop-block
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2703 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2704 CFLAGS=-floop-interchange
2705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2706 /* end confdefs.h. */
2716 if ac_fn_c_try_compile "$LINENO"; then :
2717 aros_loop_interchange="yes"
2719 aros_loop_interchange="no"
2721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
2723 $as_echo "$aros_loop_interchange" >&6; }
2724 if test "x-$aros_loop_interchange" = "x-yes" ; then
2725 aros_cflags_loop_interchange=-floop-interchange
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
2729 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
2730 CFLAGS=-floop-strip-mine
2731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2732 /* end confdefs.h. */
2742 if ac_fn_c_try_compile "$LINENO"; then :
2743 aros_loop_strip_mine="yes"
2745 aros_loop_strip_mine="no"
2747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
2749 $as_echo "$aros_loop_strip_mine" >&6; }
2750 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
2751 aros_cflags_loop_strip_mine=-floop-strip-mine
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
2755 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
2757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2758 /* end confdefs.h. */
2768 if ac_fn_c_try_compile "$LINENO"; then :
2773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
2775 $as_echo "$has_iquote" >&6; }
2776 if test "x-$has_iquote" = "x-yes" ; then
2777 aros_cflags_iquote=-iquote
2778 aros_cflags_iquote_end=
2780 aros_cflags_iquote=-I
2781 aros_cflags_iquote_end=-I-
2784 #-----------------------------------------------------------------------------
2786 # Check if the target compiler supports some options used for de-linting:
2787 # -Wunused-command-line-argument
2788 # -Wunknown-warning-option
2789 # -Wunused-but-set-variable
2793 # -Wstrict-prototypes
2796 # -Wmisleading-indentation
2802 # -Wunused-parameter
2804 # -Wmaybe-uninitialized
2805 # -Wimplicit-function-declaration
2810 # -Wformat-contains-nul
2812 # -Waggressive-loop-optimizations
2815 # -Wdiscarded-qualifiers
2818 # -Wdiscarded-array-qualifiers
2820 # -Wint-to-pointer-cast
2821 # -Wpointer-to-int-cast
2822 # -Wunused-const-variable
2825 # -Wincompatible-pointer-types
2827 # -Wlogical-not-parentheses
2831 # -Wdeprecated-declarations
2835 # -Wunused-local-typedefs
2839 # -Wvolatile-register-var
2840 # -Wsizeof-pointer-memaccess
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
2844 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
2845 CFLAGS=-Wunused-command-line-argument
2846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2847 /* end confdefs.h. */
2857 if ac_fn_c_try_compile "$LINENO"; then :
2858 aros_unused_command_line_argument="yes"
2860 aros_unused_command_line_argument="no"
2862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
2864 $as_echo "$aros_unused_command_line_argument" >&6; }
2865 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
2866 aros_cflags_unused_command_line_argument=-Wno-unused-command-line-argument
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
2870 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
2871 CFLAGS=-Wunknown-warning-option
2872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2873 /* end confdefs.h. */
2883 if ac_fn_c_try_compile "$LINENO"; then :
2884 aros_unknown_warning_option="yes"
2886 aros_unknown_warning_option="no"
2888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
2890 $as_echo "$aros_unknown_warning_option" >&6; }
2891 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
2892 aros_cflags_unknown_warning_option=-Wno-unknown-warning-option
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
2896 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
2897 CFLAGS=-Wunused-but-set-variable
2898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2899 /* end confdefs.h. */
2909 if ac_fn_c_try_compile "$LINENO"; then :
2910 aros_unused_but_set_variable="yes"
2912 aros_unused_but_set_variable="no"
2914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
2916 $as_echo "$aros_unused_but_set_variable" >&6; }
2917 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
2918 aros_cflags_unused_but_set_variable=-Wno-unused-but-set-variable
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
2922 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
2923 CFLAGS=-Wstrict-aliasing
2924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2925 /* end confdefs.h. */
2935 if ac_fn_c_try_compile "$LINENO"; then :
2936 aros_strict_aliasing="yes"
2938 aros_strict_aliasing="no"
2940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
2942 $as_echo "$aros_strict_aliasing" >&6; }
2943 if test "x-$aros_strict_aliasing" = "x-yes" ; then
2944 aros_cflags_strict_aliasing=-Wno-strict-aliasing
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
2948 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
2949 CFLAGS=-Warray-bounds
2950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2951 /* end confdefs.h. */
2961 if ac_fn_c_try_compile "$LINENO"; then :
2962 aros_array_bounds="yes"
2964 aros_array_bounds="no"
2966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
2968 $as_echo "$aros_array_bounds" >&6; }
2969 if test "x-$aros_array_bounds" = "x-yes" ; then
2970 aros_cflags_array_bounds=-Wno-array-bounds
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
2974 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
2975 CFLAGS=-Wenum-compare
2976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2977 /* end confdefs.h. */
2987 if ac_fn_c_try_compile "$LINENO"; then :
2988 aros_enum_compare="yes"
2990 aros_enum_compare="no"
2992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
2994 $as_echo "$aros_enum_compare" >&6; }
2995 if test "x-$aros_enum_compare" = "x-yes" ; then
2996 aros_cflags_enum_compare=-Wno-enum-compare
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
3000 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
3001 CFLAGS=-Wstrict-prototypes
3002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3003 /* end confdefs.h. */
3013 if ac_fn_c_try_compile "$LINENO"; then :
3014 aros_strict_prototypes="yes"
3016 aros_strict_prototypes="no"
3018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3020 $as_echo "$aros_strict_prototypes" >&6; }
3021 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3022 aros_cflags_strict_prototypes=-Wno-strict-prototypes
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3026 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3027 CFLAGS=-Wstrict-overflow
3028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3029 /* end confdefs.h. */
3039 if ac_fn_c_try_compile "$LINENO"; then :
3040 aros_strict_overflow="yes"
3042 aros_strict_overflow="no"
3044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3046 $as_echo "$aros_strict_overflow" >&6; }
3047 if test "x-$aros_strict_overflow" = "x-yes" ; then
3048 aros_cflags_strict_overflow=-Wno-strict-overflow
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3052 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3053 CFLAGS=-Wformat-security
3054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3055 /* end confdefs.h. */
3065 if ac_fn_c_try_compile "$LINENO"; then :
3066 aros_format_security="yes"
3068 aros_format_security="no"
3070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3072 $as_echo "$aros_format_security" >&6; }
3073 if test "x-$aros_format_security" = "x-yes" ; then
3074 aros_cflags_format_security=-Wno-format-security
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3078 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3079 CFLAGS=-Wmisleading-indentation
3080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3081 /* end confdefs.h. */
3091 if ac_fn_c_try_compile "$LINENO"; then :
3092 aros_misleading_indentation="yes"
3094 aros_misleading_indentation="no"
3096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3098 $as_echo "$aros_misleading_indentation" >&6; }
3099 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3100 aros_cflags_misleading_indentation=-Wno-misleading-indentation
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3104 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3105 CFLAGS=-Wnonnull-compare
3106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3107 /* end confdefs.h. */
3117 if ac_fn_c_try_compile "$LINENO"; then :
3118 aros_nonnull_compare="yes"
3120 aros_nonnull_compare="no"
3122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3124 $as_echo "$aros_nonnull_compare" >&6; }
3125 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3126 aros_cflags_nonnull_compare=-Wno-nonnull-compare
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3130 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3133 /* end confdefs.h. */
3143 if ac_fn_c_try_compile "$LINENO"; then :
3148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3150 $as_echo "$aros_unused" >&6; }
3151 if test "x-$aros_unused" = "x-yes" ; then
3152 aros_cflags_unused=-Wno-unused
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3156 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3157 CFLAGS=-Wunused-value
3158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3159 /* end confdefs.h. */
3169 if ac_fn_c_try_compile "$LINENO"; then :
3170 aros_unused_value="yes"
3172 aros_unused_value="no"
3174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3176 $as_echo "$aros_unused_value" >&6; }
3177 if test "x-$aros_unused_value" = "x-yes" ; then
3178 aros_cflags_unused_value=-Wno-unused-value
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3182 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3183 CFLAGS=-Wunused-variable
3184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3185 /* end confdefs.h. */
3195 if ac_fn_c_try_compile "$LINENO"; then :
3196 aros_unused_variable="yes"
3198 aros_unused_variable="no"
3200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3202 $as_echo "$aros_unused_variable" >&6; }
3203 if test "x-$aros_unused_variable" = "x-yes" ; then
3204 aros_cflags_unused_variable=-Wno-unused-variable
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3208 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3209 CFLAGS=-Wunused-function
3210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3211 /* end confdefs.h. */
3221 if ac_fn_c_try_compile "$LINENO"; then :
3222 aros_unused_function="yes"
3224 aros_unused_function="no"
3226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3228 $as_echo "$aros_unused_function" >&6; }
3229 if test "x-$aros_unused_function" = "x-yes" ; then
3230 aros_cflags_unused_function=-Wno-unused-function
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
3234 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
3235 CFLAGS=-Wunused-parameter
3236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3237 /* end confdefs.h. */
3247 if ac_fn_c_try_compile "$LINENO"; then :
3248 aros_unused_parameter="yes"
3250 aros_unused_parameter="no"
3252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
3254 $as_echo "$aros_unused_parameter" >&6; }
3255 if test "x-$aros_unused_parameter" = "x-yes" ; then
3256 aros_cflags_unused_parameter=-Wno-unused-parameter
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3260 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3261 CFLAGS=-Wuninitialized
3262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3263 /* end confdefs.h. */
3273 if ac_fn_c_try_compile "$LINENO"; then :
3274 aros_uninitialized="yes"
3276 aros_uninitialized="no"
3278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3280 $as_echo "$aros_uninitialized" >&6; }
3281 if test "x-$aros_uninitialized" = "x-yes" ; then
3282 aros_cflags_uninitialized=-Wno-uninitialized
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3286 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3287 CFLAGS=-Wmaybe-uninitialized
3288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3289 /* end confdefs.h. */
3299 if ac_fn_c_try_compile "$LINENO"; then :
3300 aros_maybe_uninitialized="yes"
3302 aros_maybe_uninitialized="no"
3304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3306 $as_echo "$aros_maybe_uninitialized" >&6; }
3307 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3308 aros_cflags_maybe_uninitialized=-Wno-maybe-uninitialized
3310 aros_cflags_maybe_uninitialized=$aros_cflags_uninitialized
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3314 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3315 CFLAGS=-Wimplicit-function-declaration
3316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3317 /* end confdefs.h. */
3327 if ac_fn_c_try_compile "$LINENO"; then :
3328 aros_implicit_function_declaration="yes"
3330 aros_implicit_function_declaration="no"
3332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3334 $as_echo "$aros_implicit_function_declaration" >&6; }
3335 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3336 aros_cflags_implicit_function_declaration=-Wno-implicit-function-declaration
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3340 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3343 /* end confdefs.h. */
3353 if ac_fn_c_try_compile "$LINENO"; then :
3358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3360 $as_echo "$aros_format" >&6; }
3361 if test "x-$aros_format" = "x-yes" ; then
3362 aros_cflags_format=-Wno-format
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3366 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3367 CFLAGS=-Wparentheses
3368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3369 /* end confdefs.h. */
3379 if ac_fn_c_try_compile "$LINENO"; then :
3380 aros_parentheses="yes"
3382 aros_parentheses="no"
3384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3386 $as_echo "$aros_parentheses" >&6; }
3387 if test "x-$aros_parentheses" = "x-yes" ; then
3388 aros_cflags_parentheses=-Wno-parentheses
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3392 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3393 CFLAGS=-Wchar-subscripts
3394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3395 /* end confdefs.h. */
3405 if ac_fn_c_try_compile "$LINENO"; then :
3406 aros_char_subscripts="yes"
3408 aros_char_subscripts="no"
3410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3412 $as_echo "$aros_char_subscripts" >&6; }
3413 if test "x-$aros_char_subscripts" = "x-yes" ; then
3414 aros_cflags_char_subscripts=-Wno-char-subscripts
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3418 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3419 CFLAGS=-Wendif-labels
3420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3421 /* end confdefs.h. */
3431 if ac_fn_c_try_compile "$LINENO"; then :
3432 aros_endif_labels="yes"
3434 aros_endif_labels="no"
3436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3438 $as_echo "$aros_endif_labels" >&6; }
3439 if test "x-$aros_endif_labels" = "x-yes" ; then
3440 aros_cflags_endif_labels=-Wno-endif-labels
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3444 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3445 CFLAGS=-Wformat-contains-nul
3446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3447 /* end confdefs.h. */
3457 if ac_fn_c_try_compile "$LINENO"; then :
3458 aros_format_contains_nul="yes"
3460 aros_format_contains_nul="no"
3462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3464 $as_echo "$aros_format_contains_nul" >&6; }
3465 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3466 aros_cflags_format_contains_nul=-Wno-format-contains-nul
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3470 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3471 CFLAGS=-Wimplicit-int
3472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3473 /* end confdefs.h. */
3483 if ac_fn_c_try_compile "$LINENO"; then :
3484 aros_implicit_int="yes"
3486 aros_implicit_int="no"
3488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3490 $as_echo "$aros_implicit_int" >&6; }
3491 if test "x-$aros_implicit_int" = "x-yes" ; then
3492 aros_cflags_implicit_int=-Wno-implicit-int
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3496 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3497 CFLAGS=-Waggressive-loop-optimizations
3498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3499 /* end confdefs.h. */
3509 if ac_fn_c_try_compile "$LINENO"; then :
3510 aros_aggressive_loop_optimizations="yes"
3512 aros_aggressive_loop_optimizations="no"
3514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3516 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3517 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3518 aros_cflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3522 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3525 /* end confdefs.h. */
3535 if ac_fn_c_try_compile "$LINENO"; then :
3540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3542 $as_echo "$aros_cpp" >&6; }
3543 if test "x-$aros_cpp" = "x-yes" ; then
3544 aros_cflags_cpp=-Wno-cpp
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3548 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3551 /* end confdefs.h. */
3561 if ac_fn_c_try_compile "$LINENO"; then :
3566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
3568 $as_echo "$aros_switch" >&6; }
3569 if test "x-$aros_switch" = "x-yes" ; then
3570 aros_cflags_switch=-Wno-switch
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
3574 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
3575 CFLAGS=-Wdiscarded-qualifiers
3576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3577 /* end confdefs.h. */
3587 if ac_fn_c_try_compile "$LINENO"; then :
3588 aros_discarded_qualifiers="yes"
3590 aros_discarded_qualifiers="no"
3592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
3594 $as_echo "$aros_discarded_qualifiers" >&6; }
3595 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
3596 aros_cflags_discarded_qualifiers=-Wno-discarded-qualifiers
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
3600 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
3601 CFLAGS=-Wsequence-point
3602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3603 /* end confdefs.h. */
3613 if ac_fn_c_try_compile "$LINENO"; then :
3614 aros_sequence_point="yes"
3616 aros_sequence_point="no"
3618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
3620 $as_echo "$aros_sequence_point" >&6; }
3621 if test "x-$aros_sequence_point" = "x-yes" ; then
3622 aros_cflags_sequence_point=-Wno-sequence-point
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
3626 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
3627 CFLAGS=-Wunknown-pragmas
3628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3629 /* end confdefs.h. */
3639 if ac_fn_c_try_compile "$LINENO"; then :
3640 aros_unknown_pragmas="yes"
3642 aros_unknown_pragmas="no"
3644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
3646 $as_echo "$aros_unknown_pragmas" >&6; }
3647 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
3648 aros_cflags_unknown_pragmas=-Wno-unknown-pragmas
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
3652 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
3653 CFLAGS=-Wdiscarded-array-qualifiers
3654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3655 /* end confdefs.h. */
3665 if ac_fn_c_try_compile "$LINENO"; then :
3666 aros_discarded_array_qualifiers="yes"
3668 aros_discarded_array_qualifiers="no"
3670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
3672 $as_echo "$aros_discarded_array_qualifiers" >&6; }
3673 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
3674 aros_cflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
3678 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
3679 CFLAGS=-Wint-conversion
3680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3681 /* end confdefs.h. */
3691 if ac_fn_c_try_compile "$LINENO"; then :
3692 aros_int_conversion="yes"
3694 aros_int_conversion="no"
3696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
3698 $as_echo "$aros_int_conversion" >&6; }
3699 if test "x-$aros_int_conversion" = "x-yes" ; then
3700 aros_cflags_int_conversion=-Wno-int-conversion
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
3704 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
3705 CFLAGS=-Wint-to-pointer-cast
3706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3707 /* end confdefs.h. */
3717 if ac_fn_c_try_compile "$LINENO"; then :
3718 aros_int_to_pointer_cast="yes"
3720 aros_int_to_pointer_cast="no"
3722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
3724 $as_echo "$aros_int_to_pointer_cast" >&6; }
3725 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
3726 aros_cflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
3730 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
3731 CFLAGS=-Wpointer-to-int-cast
3732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3733 /* end confdefs.h. */
3743 if ac_fn_c_try_compile "$LINENO"; then :
3744 aros_pointer_to_int_cast="yes"
3746 aros_pointer_to_int_cast="no"
3748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
3750 $as_echo "$aros_pointer_to_int_cast" >&6; }
3751 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
3752 aros_cflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
3756 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
3757 CFLAGS=-Wunused-const-variable
3758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3759 /* end confdefs.h. */
3769 if ac_fn_c_try_compile "$LINENO"; then :
3770 aros_unused_const_variable="yes"
3772 aros_unused_const_variable="no"
3774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
3776 $as_echo "$aros_unused_const_variable" >&6; }
3777 if test "x-$aros_unused_const_variable" = "x-yes" ; then
3778 aros_cflags_unused_const_variable=-Wno-unused-const-variable
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
3782 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
3783 CFLAGS=-Wwrite-strings
3784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3785 /* end confdefs.h. */
3795 if ac_fn_c_try_compile "$LINENO"; then :
3796 aros_write_strings="yes"
3798 aros_write_strings="no"
3800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
3802 $as_echo "$aros_write_strings" >&6; }
3803 if test "x-$aros_write_strings" = "x-yes" ; then
3804 aros_cflags_write_strings=-Wno-write-strings
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
3808 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
3810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3811 /* end confdefs.h. */
3821 if ac_fn_c_try_compile "$LINENO"; then :
3826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
3828 $as_echo "$aros_comment" >&6; }
3829 if test "x-$aros_comment" = "x-yes" ; then
3830 aros_cflags_comment=-Wno-comment
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
3834 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
3835 CFLAGS=-Wincompatible-pointer-types
3836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3837 /* end confdefs.h. */
3847 if ac_fn_c_try_compile "$LINENO"; then :
3848 aros_incompatible_pointer_types="yes"
3850 aros_incompatible_pointer_types="no"
3852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
3854 $as_echo "$aros_incompatible_pointer_types" >&6; }
3855 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
3856 aros_cflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
3860 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
3861 CFLAGS=-Wbool-compare
3862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3863 /* end confdefs.h. */
3873 if ac_fn_c_try_compile "$LINENO"; then :
3874 aros_bool_compare="yes"
3876 aros_bool_compare="no"
3878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
3880 $as_echo "$aros_bool_compare" >&6; }
3881 if test "x-$aros_bool_compare" = "x-yes" ; then
3882 aros_cflags_bool_compare=-Wno-bool-compare
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
3886 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
3887 CFLAGS=-Wlogical-not-parentheses
3888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3889 /* end confdefs.h. */
3899 if ac_fn_c_try_compile "$LINENO"; then :
3900 aros_logical_not_parentheses="yes"
3902 aros_logical_not_parentheses="no"
3904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
3906 $as_echo "$aros_logical_not_parentheses" >&6; }
3907 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
3908 aros_cflags_logical_not_parentheses=-Wno-logical-not-parentheses
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
3912 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
3913 CFLAGS=-Wpointer-sign
3914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h. */
3925 if ac_fn_c_try_compile "$LINENO"; then :
3926 aros_pointer_sign="yes"
3928 aros_pointer_sign="no"
3930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
3932 $as_echo "$aros_pointer_sign" >&6; }
3933 if test "x-$aros_pointer_sign" = "x-yes" ; then
3934 aros_cflags_pointer_sign=-Wno-pointer-sign
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
3938 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
3939 CFLAGS=-Wshift-overflow
3940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3941 /* end confdefs.h. */
3951 if ac_fn_c_try_compile "$LINENO"; then :
3952 aros_shift_overflow="yes"
3954 aros_shift_overflow="no"
3956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
3958 $as_echo "$aros_shift_overflow" >&6; }
3959 if test "x-$aros_shift_overflow" = "x-yes" ; then
3960 aros_cflags_shift_overflow=-Wno-shift-overflow
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
3964 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
3965 CFLAGS=-Wframe-address
3966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3967 /* end confdefs.h. */
3977 if ac_fn_c_try_compile "$LINENO"; then :
3978 aros_frame_address="yes"
3980 aros_frame_address="no"
3982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
3984 $as_echo "$aros_frame_address" >&6; }
3985 if test "x-$aros_frame_address" = "x-yes" ; then
3986 aros_cflags_frame_address=-Wno-frame-address
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
3990 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
3991 CFLAGS=-Wdeprecated-declarations
3992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3993 /* end confdefs.h. */
4003 if ac_fn_c_try_compile "$LINENO"; then :
4004 aros_deprecated_declarations="yes"
4006 aros_deprecated_declarations="no"
4008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4010 $as_echo "$aros_deprecated_declarations" >&6; }
4011 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4012 aros_cflags_deprecated_declarations=-Wno-deprecated-declarations
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4016 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4017 CFLAGS=-Wsign-compare
4018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4019 /* end confdefs.h. */
4029 if ac_fn_c_try_compile "$LINENO"; then :
4030 aros_sign_compare="yes"
4032 aros_sign_compare="no"
4034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4036 $as_echo "$aros_sign_compare" >&6; }
4037 if test "x-$aros_sign_compare" = "x-yes" ; then
4038 aros_cflags_sign_compare=-Wno-sign-compare
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4042 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4045 /* end confdefs.h. */
4055 if ac_fn_c_try_compile "$LINENO"; then :
4056 aros_attributes="yes"
4058 aros_attributes="no"
4060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4062 $as_echo "$aros_attributes" >&6; }
4063 if test "x-$aros_attributes" = "x-yes" ; then
4064 aros_cflags_attributes=-Wno-attributes
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4068 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4071 /* end confdefs.h. */
4081 if ac_fn_c_try_compile "$LINENO"; then :
4086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4088 $as_echo "$aros_overflow" >&6; }
4089 if test "x-$aros_overflow" = "x-yes" ; then
4090 aros_cflags_overflow=-Wno-overflow
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4094 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4095 CFLAGS=-Wunused-local-typedefs
4096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4097 /* end confdefs.h. */
4107 if ac_fn_c_try_compile "$LINENO"; then :
4108 aros_unused_local_typedefs="yes"
4110 aros_unused_local_typedefs="no"
4112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4114 $as_echo "$aros_unused_local_typedefs" >&6; }
4115 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4116 aros_cflags_unused_local_typedefs=-Wno-unused-local-typedefs
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4120 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4121 CFLAGS=-Wmissing-braces
4122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4123 /* end confdefs.h. */
4133 if ac_fn_c_try_compile "$LINENO"; then :
4134 aros_missing_braces="yes"
4136 aros_missing_braces="no"
4138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4140 $as_echo "$aros_missing_braces" >&6; }
4141 if test "x-$aros_missing_braces" = "x-yes" ; then
4142 aros_cflags_missing_braces=-Wno-missing-braces
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4146 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4147 CFLAGS=-Wconversion-null
4148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4149 /* end confdefs.h. */
4159 if ac_fn_c_try_compile "$LINENO"; then :
4160 aros_conversion_null="yes"
4162 aros_conversion_null="no"
4164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4166 $as_echo "$aros_conversion_null" >&6; }
4167 if test "x-$aros_conversion_null" = "x-yes" ; then
4168 aros_cflags_conversion_null=-Wno-conversion-null
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4172 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4175 /* end confdefs.h. */
4185 if ac_fn_c_try_compile "$LINENO"; then :
4186 aros_narrowing="yes"
4190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4192 $as_echo "$aros_narrowing" >&6; }
4193 if test "x-$aros_narrowing" = "x-yes" ; then
4194 aros_cflags_narrowing=-Wno-narrowing
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4198 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4199 CFLAGS=-Wvolatile-register-var
4200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4201 /* end confdefs.h. */
4211 if ac_fn_c_try_compile "$LINENO"; then :
4212 aros_volatile_register_var="yes"
4214 aros_volatile_register_var="no"
4216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4218 $as_echo "$aros_volatile_register_var" >&6; }
4219 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4220 aros_cflags_volatile_register_var=-Wno-volatile-register-var
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
4224 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
4225 CFLAGS=-Wsizeof-pointer-memaccess
4226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4237 if ac_fn_c_try_compile "$LINENO"; then :
4238 aros_sizeof_pointer_memaccess="yes"
4240 aros_sizeof_pointer_memaccess="no"
4242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
4244 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
4245 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
4246 aros_cflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
4250 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
4251 CFLAGS=-Wreturn-type
4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h. */
4263 if ac_fn_c_try_compile "$LINENO"; then :
4264 aros_return_type="yes"
4266 aros_return_type="no"
4268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
4270 $as_echo "$aros_return_type" >&6; }
4271 if test "x-$aros_return_type" = "x-yes" ; then
4272 aros_cflags_return_type=-Wno-return-type
4339 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
4342 cat >confcache <<\_ACEOF
4343 # This file is a shell script that caches the results of configure
4344 # tests run on this system so they can be shared between configure
4345 # scripts and configure runs, see configure's option --config-cache.
4346 # It is not useful on other systems. If it contains results you don't
4347 # want to keep, you may remove or edit it.
4349 # config.status only pays attention to the cache file if you give it
4350 # the --recheck option to rerun configure.
4352 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
4353 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4358 # The following way of writing the cache mishandles newlines in values,
4359 # but we know of no workaround that is simple, portable, and efficient.
4360 # So, we kill variables containing newlines.
4361 # Ultrix sh set writes to stderr and can't be redirected directly,
4362 # and sets the high bit in the cache file unless we assign to the vars.
4364 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4365 eval ac_val
=\$
$ac_var
4369 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4370 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4373 _ | IFS | as_nl
) ;; #(
4374 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4375 *) { eval $ac_var=; unset $ac_var;} ;;
4381 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4382 *${as_nl}ac_space
=\
*)
4383 # `set' does not quote correctly, so add quotes: double-quote
4384 # substitution turns \\\\ into \\, and sed turns \\ into \.
4387 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4390 # `set' quotes correctly as required by POSIX, so do not add quotes.
4391 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4400 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4402 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4404 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4405 if test -w "$cache_file"; then
4406 if test "x$cache_file" != "x/dev/null"; then
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4408 $as_echo "$as_me: updating cache $cache_file" >&6;}
4409 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4410 cat confcache
>"$cache_file"
4412 case $cache_file in #(
4414 mv -f confcache
"$cache_file"$$
&&
4415 mv -f "$cache_file"$$
"$cache_file" ;; #(
4417 mv -f confcache
"$cache_file" ;;
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4423 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4428 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4429 # Let make expand exec_prefix.
4430 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4432 # Transform confdefs.h into DEFS.
4433 # Protect against shell expansion while executing Makefile rules.
4434 # Protect against Makefile macro expansion.
4436 # If the first sed substitution is executed (which looks for macros that
4437 # take arguments), then branch to the quote section. Otherwise,
4438 # look for a macro that doesn't take arguments.
4448 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4450 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4454 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4467 DEFS
=`sed -n "$ac_script" confdefs.h`
4473 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4474 # 1. Remove the extension, and $U if already installed.
4475 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4476 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4477 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4478 # will be set to the directory where LIBOBJS objects are built.
4479 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4480 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4484 LTLIBOBJS
=$ac_ltlibobjs
4488 : "${CONFIG_STATUS=./config.status}"
4490 ac_clean_files_save
=$ac_clean_files
4491 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4493 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4495 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4497 # Generated by $as_me.
4498 # Run this file to recreate the current configuration.
4499 # Compiler output produced by configure, useful for debugging
4500 # configure, is in config.log if it exists.
4506 SHELL=\${CONFIG_SHELL-$SHELL}
4509 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4510 ## -------------------- ##
4511 ## M4sh Initialization. ##
4512 ## -------------------- ##
4514 # Be more Bourne compatible
4515 DUALCASE
=1; export DUALCASE
# for MKS sh
4516 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4519 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4520 # is contrary to our usage. Disable this feature.
4521 alias -g '${1+"$@"}'='"$@"'
4522 setopt NO_GLOB_SUBST
4524 case `(set -o) 2>/dev/null` in #(
4536 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4537 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4538 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4539 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4540 # Prefer a ksh shell builtin over an external printf program on Solaris,
4541 # but without wasting forks for bash or zsh.
4542 if test -z "$BASH_VERSION$ZSH_VERSION" \
4543 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4544 as_echo='print
-r --'
4545 as_echo_n='print
-rn --'
4546 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4547 as_echo='printf %s
\n'
4548 as_echo_n='printf %s
'
4550 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4551 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4552 as_echo_n='/usr
/ucb
/echo -n'
4554 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4555 as_echo_n_body='eval
4559 expr "X$arg" : "X\\(.*\\)$as_nl";
4560 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4562 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4564 export as_echo_n_body
4565 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4568 as_echo='sh
-c $as_echo_body as_echo
'
4571 # The user is always right.
4572 if test "${PATH_SEPARATOR+set}" != set; then
4574 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4575 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4582 # We need space, tab and new line, in precisely that order. Quoting is
4583 # there to prevent editors from complaining about space-tab.
4584 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4585 # splitting by setting IFS to empty value.)
4588 # Find who we are. Look in the path if we contain no directory separator.
4591 *[\\/]* ) as_myself=$0 ;;
4592 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4596 test -z "$as_dir" && as_dir=.
4597 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4603 # We did not find ourselves, most probably we were run as `sh COMMAND'
4604 # in which case we are not to be found in the path.
4605 if test "x$as_myself" = x
; then
4608 if test ! -f "$as_myself"; then
4609 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4613 # Unset variables that we do not need and which cause bugs (e.g. in
4614 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4615 # suppresses any "Segmentation fault" message there. '((' could
4616 # trigger a bug in pdksh 5.2.14.
4617 for as_var
in BASH_ENV ENV MAIL MAILPATH
4618 do eval test x\
${$as_var+set} = xset \
4619 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4632 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4635 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4636 # ----------------------------------------
4637 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4638 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4639 # script with STATUS, using 1 if that was 0.
4642 as_status
=$1; test $as_status -eq 0 && as_status
=1
4644 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4645 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4647 $as_echo "$as_me: error: $2" >&2
4648 as_fn_exit
$as_status
4652 # as_fn_set_status STATUS
4653 # -----------------------
4654 # Set $? to STATUS, without forking.
4658 } # as_fn_set_status
4662 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4672 # Portably unset VAR.
4675 { eval $1=; unset $1;}
4677 as_unset
=as_fn_unset
4678 # as_fn_append VAR VALUE
4679 # ----------------------
4680 # Append the text in VALUE to the end of the definition contained in VAR. Take
4681 # advantage of any shell optimizations that allow amortized linear growth over
4682 # repeated appends, instead of the typical quadratic growth present in naive
4684 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4685 eval 'as_fn_append ()
4696 # as_fn_arith ARG...
4697 # ------------------
4698 # Perform arithmetic evaluation on the ARGs, and store the result in the
4699 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4700 # must be portable across $(()) and expr.
4701 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4702 eval 'as_fn_arith ()
4709 as_val
=`expr "$@" || test $? -eq 1`
4714 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4715 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4721 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4722 as_basename
=basename
4727 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4733 as_me
=`$as_basename -- "$0" ||
4734 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4735 X"$0" : 'X\(//\)$' \| \
4736 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4738 sed '/^.*\/\([^/][^/]*\)\/*$/{
4752 # Avoid depending upon Character Ranges.
4753 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4754 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4755 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4756 as_cr_digits
='0123456789'
4757 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4759 ECHO_C
= ECHO_N
= ECHO_T
=
4760 case `echo -n x` in #(((((
4762 case `echo 'xy\c'` in
4763 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4765 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4772 rm -f conf$$ conf$$.exe conf$$.
file
4773 if test -d conf$$.dir
; then
4774 rm -f conf$$.dir
/conf$$.
file
4777 mkdir conf$$.dir
2>/dev
/null
4779 if (echo >conf$$.
file) 2>/dev
/null
; then
4780 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4782 # ... but there are two gotchas:
4783 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4784 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4785 # In both cases, we have to default to `cp -pR'.
4786 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4788 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4796 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4797 rmdir conf$$.dir
2>/dev
/null
4802 # Create "$as_dir" as a directory, including parents if necessary.
4807 -*) as_dir
=.
/$as_dir;;
4809 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4813 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4814 *) as_qdir
=$as_dir;;
4816 as_dirs
="'$as_qdir' $as_dirs"
4817 as_dir
=`$as_dirname -- "$as_dir" ||
4818 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4819 X"$as_dir" : 'X\(//\)[^/]' \| \
4820 X"$as_dir" : 'X\(//\)$' \| \
4821 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4822 $as_echo X"$as_dir" |
4823 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4840 test -d "$as_dir" && break
4842 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4843 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4847 if mkdir
-p .
2>/dev
/null
; then
4848 as_mkdir_p
='mkdir -p "$as_dir"'
4850 test -d .
/-p && rmdir .
/-p
4855 # as_fn_executable_p FILE
4856 # -----------------------
4857 # Test if FILE is an executable regular file.
4858 as_fn_executable_p
()
4860 test -f "$1" && test -x "$1"
4861 } # as_fn_executable_p
4863 as_executable_p
=as_fn_executable_p
4865 # Sed expression to map a string onto a valid CPP name.
4866 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4868 # Sed expression to map a string onto a valid variable name.
4869 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4873 ## ----------------------------------- ##
4874 ## Main body of $CONFIG_STATUS script. ##
4875 ## ----------------------------------- ##
4877 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4879 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4880 # Save the log message, to keep $0 and so on meaningful, and to
4881 # report actual input values of CONFIG_FILES etc. instead of their
4882 # values after options handling.
4884 This file was extended by $as_me, which was
4885 generated by GNU Autoconf 2.69. Invocation command line was
4887 CONFIG_FILES = $CONFIG_FILES
4888 CONFIG_HEADERS = $CONFIG_HEADERS
4889 CONFIG_LINKS = $CONFIG_LINKS
4890 CONFIG_COMMANDS = $CONFIG_COMMANDS
4893 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4898 case $ac_config_files in *"
4899 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4904 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4905 # Files that config.status was made for.
4906 config_files="$ac_config_files"
4910 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4912 \`$as_me' instantiates files and other configuration actions
4913 from templates according to the current configuration. Unless the files
4914 and actions are specified as TAGs, all are instantiated by default.
4916 Usage: $0 [OPTION]... [TAG]...
4918 -h, --help print this help, then exit
4919 -V, --version print version number and configuration settings, then exit
4920 --config print configuration, then exit
4921 -q, --quiet, --silent
4922 do not print progress messages
4923 -d, --debug don't remove temporary files
4924 --recheck update $as_me by reconfiguring in the same conditions
4925 --file=FILE[:TEMPLATE]
4926 instantiate the configuration file FILE
4928 Configuration files:
4931 Report bugs to the package provider."
4934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4935 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4938 configured by $0, generated by GNU Autoconf 2.69,
4939 with options \\"\$ac_cs_config\\"
4941 Copyright (C) 2012 Free Software Foundation, Inc.
4942 This config.status script is free software; the Free Software Foundation
4943 gives unlimited permission to copy, distribute and modify it."
4947 test -n "\$AWK" || AWK=awk
4950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4951 # The default lists apply if the user does not specify any file.
4957 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4958 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4962 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4974 # Handling of the options.
4975 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4977 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4978 $as_echo "$ac_cs_version"; exit ;;
4979 --config |
--confi |
--conf |
--con |
--co |
--c )
4980 $as_echo "$ac_cs_config"; exit ;;
4981 --debug |
--debu |
--deb |
--de |
--d |
-d )
4983 --file |
--fil |
--fi |
--f )
4986 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4987 '') as_fn_error $?
"missing file argument" ;;
4989 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4990 ac_need_defaults
=false
;;
4991 --he |
--h |
--help |
--hel |
-h )
4992 $as_echo "$ac_cs_usage"; exit ;;
4993 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4994 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4998 -*) as_fn_error $?
"unrecognized option: \`$1'
4999 Try \`$0 --help' for more information." ;;
5001 *) as_fn_append ac_config_targets
" $1"
5002 ac_need_defaults
=false
;;
5008 ac_configure_extra_args
=
5010 if $ac_cs_silent; then
5012 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5017 if \$ac_cs_recheck; then
5018 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5020 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5021 CONFIG_SHELL='$SHELL'
5027 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5031 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5032 ## Running $as_me. ##
5038 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5041 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5043 # Handling of arguments.
5044 for ac_config_target
in $ac_config_targets
5046 case $ac_config_target in
5047 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
5049 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5054 # If the user did not use the arguments to specify the items to instantiate,
5055 # then the envvar interface is used. Set only those that are not.
5056 # We use the long form for the default assignment because of an extremely
5057 # bizarre bug on SunOS 4.1.3.
5058 if $ac_need_defaults; then
5059 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5062 # Have a temporary directory for convenience. Make it in the build tree
5063 # simply because there is no reason against having it here, and in addition,
5064 # creating and moving files from /tmp can sometimes cause problems.
5065 # Hook for its removal unless debugging.
5066 # Note that there is a small window in which the directory will not be cleaned:
5067 # after its creation but before its name has been assigned to `$tmp'.
5071 trap 'exit_status=$?
5073 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5075 trap 'as_fn_exit 1' 1 2 13 15
5077 # Create a (secure) tmp directory for tmp files.
5080 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5084 tmp
=.
/conf$$
-$RANDOM
5085 (umask 077 && mkdir
"$tmp")
5086 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5089 # Set up the scripts for CONFIG_FILES section.
5090 # No need to generate them if there are no CONFIG_FILES.
5091 # This happens for instance with `./config.status config.h'.
5092 if test -n "$CONFIG_FILES"; then
5095 ac_cr
=`echo X | tr X '\015'`
5096 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5097 # But we know of no other shell where ac_cr would be empty at this
5098 # point, so we can use a bashism as a fallback.
5099 if test "x$ac_cr" = x
; then
5100 eval ac_cr
=\$
\'\\r
\'
5102 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5103 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5109 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5114 echo "cat >conf$$subs.awk <<_ACEOF" &&
5115 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5118 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5119 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5121 for ac_last_try in false false false false false :; do
5122 . ./conf$$subs.sh ||
5123 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5125 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5126 if test $ac_delim_n = $ac_delim_num; then
5128 elif $ac_last_try; then
5129 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5131 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5136 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5137 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
5141 s/^/S["/; s
/!.
*/"]=/
5151 s/\(.\{148\}\)..*/\1/
5153 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5158 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5165 s/\(.\{148\}\)..*/\1/
5167 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5171 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5176 ' <conf$$subs.awk | sed '
5181 ' >>$CONFIG_STATUS || ac_write_fail=1
5182 rm -f conf$$subs.awk
5183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5185 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5186 for (key in S) S_is_set[key] = 1
5192 nfields = split(line, field, "@
")
5194 len = length(field[1])
5195 for (i = 2; i < nfields; i++) {
5197 keylen = length(key)
5198 if (S_is_set[key]) {
5200 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5201 len += length(value) + length(field[++i])
5212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5213 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5214 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5217 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5218 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5221 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5222 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5223 # trailing colons and then remove the whole line if VPATH becomes empty
5224 # (actually we leave an empty line to preserve line numbers).
5225 if test "x
$srcdir" = x.; then
5226 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5245 fi # test -n "$CONFIG_FILES"
5248 eval set X " :F
$CONFIG_FILES "
5253 :[FHLC]) ac_mode=$ac_tag; continue;;
5255 case $ac_mode$ac_tag in
5257 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
5258 :[FH]-) ac_tag=-:-;;
5259 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5276 -) ac_f="$ac_tmp/stdin";;
5277 *) # Look for the file first in the build tree, then in the source tree
5278 # (if the path is not absolute). The absolute path cannot be DOS-style,
5279 # because $ac_f cannot contain `:'.
5283 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5285 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5287 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
5288 as_fn_append ac_file_inputs " '$ac_f'"
5291 # Let's still pretend it is `configure' which instantiates (i.e., don't
5292 # use $as_me), people would be surprised to read:
5293 # /* config.h. Generated by config.status. */
5294 configure_input='Generated from '`
5295 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5297 if test x"$ac_file" != x-; then
5298 configure_input="$ac_file.
$configure_input"
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
5300 $as_echo "$as_me: creating
$ac_file" >&6;}
5302 # Neutralize special characters interpreted by sed in replacement strings.
5303 case $configure_input in #(
5304 *\&* | *\|* | *\\* )
5305 ac_sed_conf_input=`$as_echo "$configure_input" |
5306 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5307 *) ac_sed_conf_input=$configure_input;;
5311 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
5312 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
5317 ac_dir=`$as_dirname -- "$ac_file" ||
5318 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5319 X"$ac_file" : 'X\(//\)[^/]' \| \
5320 X"$ac_file" : 'X\(//\)$' \| \
5321 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5322 $as_echo X"$ac_file" |
5323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5340 as_dir="$ac_dir"; as_fn_mkdir_p
5344 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5346 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5347 # A "..
" for each directory in $ac_dir_suffix.
5348 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5349 case $ac_top_builddir_sub in
5350 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5351 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5354 ac_abs_top_builddir=$ac_pwd
5355 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5356 # for backward compatibility:
5357 ac_top_builddir=$ac_top_build_prefix
5360 .) # We are building in place.
5362 ac_top_srcdir=$ac_top_builddir_sub
5363 ac_abs_top_srcdir=$ac_pwd ;;
5364 [\\/]* | ?:[\\/]* ) # Absolute name.
5365 ac_srcdir=$srcdir$ac_dir_suffix;
5366 ac_top_srcdir=$srcdir
5367 ac_abs_top_srcdir=$srcdir ;;
5369 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5370 ac_top_srcdir=$ac_top_build_prefix$srcdir
5371 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5373 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5385 # If the template does not know about datarootdir, expand it.
5386 # FIXME: This hack should be removed a few years after 2.60.
5387 ac_datarootdir_hack=; ac_datarootdir_seen=
5398 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
5399 *datarootdir*) ac_datarootdir_seen=yes;;
5400 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
5402 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
5404 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5405 ac_datarootdir_hack='
5406 s&@datadir@&$datadir&g
5407 s&@docdir@&$docdir&g
5408 s&@infodir@&$infodir&g
5409 s&@localedir@&$localedir&g
5410 s&@mandir@&$mandir&g
5411 s&\\\${datarootdir}&$datarootdir&g' ;;
5415 # Neutralize VPATH when `$srcdir' = `.'.
5416 # Shell code in configure.ac might set extrasub.
5417 # FIXME: do we really want to maintain this feature?
5418 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5419 ac_sed_extra="$ac_vpsub
5422 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5424 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5425 s|@configure_input@|
$ac_sed_conf_input|
;t t
5426 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5427 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5428 s
&@srcdir@
&$ac_srcdir&;t t
5429 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5430 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5431 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5432 s
&@builddir@
&$ac_builddir&;t t
5433 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5434 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5435 $ac_datarootdir_hack
5437 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5438 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5440 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5441 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5442 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5443 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5445 which seems to be undefined. Please make sure it is defined" >&5
5446 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5447 which seems to be undefined. Please make sure it is defined" >&2;}
5449 rm -f "$ac_tmp/stdin"
5451 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5452 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5454 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5466 ac_clean_files=$ac_clean_files_save
5468 test $ac_write_fail = 0 ||
5469 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5472 # configure is writing to config.log, and then calls config.status.
5473 # config.status does its own redirection, appending to config.log.
5474 # Unfortunately, on DOS this fails, as config.log is still kept open
5475 # by configure, so config.status won't be able to
write to it
; its
5476 # output is simply discarded. So we exec the FD to /dev/null,
5477 # effectively closing config.log, so it can be properly (re)opened and
5478 # appended to by config.status. When coming back to configure, we
5479 # need to make the FD available again.
5480 if test "$no_create" != yes; then
5482 ac_config_status_args
=
5483 test "$silent" = yes &&
5484 ac_config_status_args
="$ac_config_status_args --quiet"
5486 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5488 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5489 # would make configure fail if this is the last instruction.
5490 $ac_cs_success || as_fn_exit
1
5492 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5494 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}