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_sizeof_pointer_memaccess
588 aros_cflags_volatile_register_var
589 aros_cflags_narrowing
590 aros_cflags_conversion_null
591 aros_cflags_missing_braces
592 aros_cflags_unused_local_typedefs
594 aros_cflags_attributes
595 aros_cflags_sign_compare
596 aros_cflags_deprecated_declarations
597 aros_cflags_frame_address
598 aros_cflags_shift_overflow
599 aros_cflags_pointer_sign
600 aros_cflags_logical_not_parentheses
601 aros_cflags_bool_compare
602 aros_cflags_incompatible_pointer_types
604 aros_cflags_write_strings
605 aros_cflags_unused_const_variable
606 aros_cflags_pointer_to_int_cast
607 aros_cflags_int_to_pointer_cast
608 aros_cflags_int_conversion
609 aros_cflags_discarded_array_qualifiers
610 aros_cflags_unknown_pragmas
611 aros_cflags_sequence_point
612 aros_cflags_discarded_qualifiers
615 aros_cflags_aggressive_loop_optimizations
616 aros_cflags_implicit_int
617 aros_cflags_format_contains_nul
618 aros_cflags_endif_labels
619 aros_cflags_char_subscripts
620 aros_cflags_parentheses
622 aros_cflags_implicit_function_declaration
623 aros_cflags_maybe_uninitialized
624 aros_cflags_uninitialized
625 aros_cflags_unused_parameter
626 aros_cflags_unused_function
627 aros_cflags_unused_variable
628 aros_cflags_unused_value
630 aros_cflags_nonnull_compare
631 aros_cflags_misleading_indentation
632 aros_cflags_format_security
633 aros_cflags_strict_overflow
634 aros_cflags_strict_prototypes
635 aros_cflags_enum_compare
636 aros_cflags_array_bounds
637 aros_cflags_strict_aliasing
638 aros_cflags_unused_but_set_variable
639 aros_cflags_unknown_warning_option
640 aros_cflags_unused_command_line_argument
641 aros_cflags_iquote_end
643 aros_cflags_loop_strip_mine
644 aros_cflags_loop_interchange
645 aros_cflags_loop_block
681 program_transform_name
694 enable_option_checking
697 ac_precious_vars
='build_alias
707 # Initialize some variables set by options.
709 ac_init_version
=false
710 ac_unrecognized_opts
=
712 # The variables have the same names as the options, with
713 # dashes changed to underlines.
721 program_transform_name
=s
,x
,x
,
729 # Installation directory options.
730 # These are left unexpanded so users can "make install exec_prefix=/foo"
731 # and all the variables that are supposed to be based on exec_prefix
732 # by default will actually change.
733 # Use braces instead of parens because sh, perl, etc. also accept them.
734 # (The list follows the same order as the GNU Coding Standards.)
735 bindir
='${exec_prefix}/bin'
736 sbindir
='${exec_prefix}/sbin'
737 libexecdir
='${exec_prefix}/libexec'
738 datarootdir
='${prefix}/share'
739 datadir
='${datarootdir}'
740 sysconfdir
='${prefix}/etc'
741 sharedstatedir
='${prefix}/com'
742 localstatedir
='${prefix}/var'
743 includedir
='${prefix}/include'
744 oldincludedir
='/usr/include'
745 docdir
='${datarootdir}/doc/${PACKAGE}'
746 infodir
='${datarootdir}/info'
751 libdir
='${exec_prefix}/lib'
752 localedir
='${datarootdir}/locale'
753 mandir
='${datarootdir}/man'
759 # If the previous option needs an argument, assign it.
760 if test -n "$ac_prev"; then
761 eval $ac_prev=\
$ac_option
767 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
772 # Accept the important Cygnus configure options, so we can diagnose typos.
774 case $ac_dashdash$ac_option in
778 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
780 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
783 -build |
--build |
--buil |
--bui |
--bu)
784 ac_prev
=build_alias
;;
785 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
786 build_alias
=$ac_optarg ;;
788 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
789 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
790 ac_prev
=cache_file
;;
791 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
792 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
793 cache_file
=$ac_optarg ;;
796 cache_file
=config.cache
;;
798 -datadir |
--datadir |
--datadi |
--datad)
800 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
801 datadir
=$ac_optarg ;;
803 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
804 |
--dataroo |
--dataro |
--datar)
805 ac_prev
=datarootdir
;;
806 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
807 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
808 datarootdir
=$ac_optarg ;;
810 -disable-* |
--disable-*)
811 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
812 # Reject names that are not valid shell variable names.
813 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
814 as_fn_error $?
"invalid feature name: $ac_useropt"
815 ac_useropt_orig
=$ac_useropt
816 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
817 case $ac_user_opts in
821 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
822 ac_unrecognized_sep
=', ';;
824 eval enable_
$ac_useropt=no
;;
826 -docdir |
--docdir |
--docdi |
--doc |
--do)
828 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
831 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
833 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
836 -enable-* |
--enable-*)
837 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
838 # Reject names that are not valid shell variable names.
839 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
840 as_fn_error $?
"invalid feature name: $ac_useropt"
841 ac_useropt_orig
=$ac_useropt
842 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
843 case $ac_user_opts in
847 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
848 ac_unrecognized_sep
=', ';;
850 eval enable_
$ac_useropt=\
$ac_optarg ;;
852 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
853 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
854 |
--exec |
--exe |
--ex)
855 ac_prev
=exec_prefix
;;
856 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
857 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
858 |
--exec=* |
--exe=* |
--ex=*)
859 exec_prefix
=$ac_optarg ;;
861 -gas |
--gas |
--ga |
--g)
862 # Obsolete; use --with-gas.
865 -help |
--help |
--hel |
--he |
-h)
867 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
868 ac_init_help
=recursive
;;
869 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
870 ac_init_help
=short
;;
872 -host |
--host |
--hos |
--ho)
873 ac_prev
=host_alias
;;
874 -host=* |
--host=* |
--hos=* |
--ho=*)
875 host_alias
=$ac_optarg ;;
877 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
879 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
881 htmldir
=$ac_optarg ;;
883 -includedir |
--includedir |
--includedi |
--included |
--include \
884 |
--includ |
--inclu |
--incl |
--inc)
885 ac_prev
=includedir
;;
886 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
887 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
888 includedir
=$ac_optarg ;;
890 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
892 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
893 infodir
=$ac_optarg ;;
895 -libdir |
--libdir |
--libdi |
--libd)
897 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
900 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
901 |
--libexe |
--libex |
--libe)
902 ac_prev
=libexecdir
;;
903 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
904 |
--libexe=* |
--libex=* |
--libe=*)
905 libexecdir
=$ac_optarg ;;
907 -localedir |
--localedir |
--localedi |
--localed |
--locale)
909 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
910 localedir
=$ac_optarg ;;
912 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
913 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
914 ac_prev
=localstatedir
;;
915 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
916 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
917 localstatedir
=$ac_optarg ;;
919 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
921 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
925 # Obsolete; use --without-fp.
928 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
929 |
--no-cr |
--no-c |
-n)
932 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
933 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
936 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
937 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
938 |
--oldin |
--oldi |
--old |
--ol |
--o)
939 ac_prev
=oldincludedir
;;
940 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
941 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
942 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
943 oldincludedir
=$ac_optarg ;;
945 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
947 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
950 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
951 |
--program-pre |
--program-pr |
--program-p)
952 ac_prev
=program_prefix
;;
953 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
954 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
955 program_prefix
=$ac_optarg ;;
957 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
958 |
--program-suf |
--program-su |
--program-s)
959 ac_prev
=program_suffix
;;
960 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
961 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
962 program_suffix
=$ac_optarg ;;
964 -program-transform-name |
--program-transform-name \
965 |
--program-transform-nam |
--program-transform-na \
966 |
--program-transform-n |
--program-transform- \
967 |
--program-transform |
--program-transfor \
968 |
--program-transfo |
--program-transf \
969 |
--program-trans |
--program-tran \
970 |
--progr-tra |
--program-tr |
--program-t)
971 ac_prev
=program_transform_name
;;
972 -program-transform-name=* |
--program-transform-name=* \
973 |
--program-transform-nam=* |
--program-transform-na=* \
974 |
--program-transform-n=* |
--program-transform-=* \
975 |
--program-transform=* |
--program-transfor=* \
976 |
--program-transfo=* |
--program-transf=* \
977 |
--program-trans=* |
--program-tran=* \
978 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
979 program_transform_name
=$ac_optarg ;;
981 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
983 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
986 -psdir |
--psdir |
--psdi |
--psd |
--ps)
988 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
991 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
992 |
-silent |
--silent |
--silen |
--sile |
--sil)
995 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
997 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
999 sbindir
=$ac_optarg ;;
1001 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1002 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1003 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1005 ac_prev
=sharedstatedir
;;
1006 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1007 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1008 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1010 sharedstatedir
=$ac_optarg ;;
1012 -site |
--site |
--sit)
1014 -site=* |
--site=* |
--sit=*)
1017 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1019 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1020 srcdir
=$ac_optarg ;;
1022 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1023 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1024 ac_prev
=sysconfdir
;;
1025 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1026 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1027 sysconfdir
=$ac_optarg ;;
1029 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1030 ac_prev
=target_alias
;;
1031 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1032 target_alias
=$ac_optarg ;;
1034 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1037 -version |
--version |
--versio |
--versi |
--vers |
-V)
1038 ac_init_version
=: ;;
1041 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1042 # Reject names that are not valid shell variable names.
1043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1044 as_fn_error $?
"invalid package name: $ac_useropt"
1045 ac_useropt_orig
=$ac_useropt
1046 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1047 case $ac_user_opts in
1051 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1052 ac_unrecognized_sep
=', ';;
1054 eval with_
$ac_useropt=\
$ac_optarg ;;
1056 -without-* |
--without-*)
1057 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1058 # Reject names that are not valid shell variable names.
1059 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1060 as_fn_error $?
"invalid package name: $ac_useropt"
1061 ac_useropt_orig
=$ac_useropt
1062 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1063 case $ac_user_opts in
1067 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1068 ac_unrecognized_sep
=', ';;
1070 eval with_
$ac_useropt=no
;;
1073 # Obsolete; use --with-x.
1076 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1077 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1078 ac_prev
=x_includes
;;
1079 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1080 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1081 x_includes
=$ac_optarg ;;
1083 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1084 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1085 ac_prev
=x_libraries
;;
1086 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1087 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1088 x_libraries
=$ac_optarg ;;
1090 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1091 Try \`$0 --help' for more information"
1095 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1096 # Reject names that are not valid shell variable names.
1097 case $ac_envvar in #(
1098 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1099 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1101 eval $ac_envvar=\
$ac_optarg
1102 export $ac_envvar ;;
1105 # FIXME: should be removed in autoconf 3.0.
1106 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1107 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1108 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1109 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1115 if test -n "$ac_prev"; then
1116 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1117 as_fn_error $?
"missing argument to $ac_option"
1120 if test -n "$ac_unrecognized_opts"; then
1121 case $enable_option_checking in
1123 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1124 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1128 # Check all directory arguments for consistency.
1129 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1130 datadir sysconfdir sharedstatedir localstatedir includedir \
1131 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1132 libdir localedir mandir
1134 eval ac_val
=\$
$ac_var
1135 # Remove trailing slashes.
1138 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1139 eval $ac_var=\
$ac_val;;
1141 # Be sure to have absolute directory names.
1143 [\\/$
]* | ?
:[\\/]* ) continue;;
1144 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1146 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1149 # There might be people who depend on the old broken behavior: `$host'
1150 # used to hold the argument of --host etc.
1151 # FIXME: To remove some day.
1154 target
=$target_alias
1156 # FIXME: To remove some day.
1157 if test "x$host_alias" != x
; then
1158 if test "x$build_alias" = x
; then
1159 cross_compiling
=maybe
1160 elif test "x$build_alias" != "x$host_alias"; then
1166 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1168 test "$silent" = yes && exec 6>/dev
/null
1171 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1172 ac_ls_di
=`ls -di .` &&
1173 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1174 as_fn_error $?
"working directory cannot be determined"
1175 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1176 as_fn_error $?
"pwd does not report name of working directory"
1179 # Find the source files, if location was not specified.
1180 if test -z "$srcdir"; then
1181 ac_srcdir_defaulted
=yes
1182 # Try the directory containing this script, then the parent directory.
1183 ac_confdir
=`$as_dirname -- "$as_myself" ||
1184 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1185 X"$as_myself" : 'X\(//\)[^/]' \| \
1186 X"$as_myself" : 'X\(//\)$' \| \
1187 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1188 $as_echo X"$as_myself" |
1189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1207 if test ! -r "$srcdir/$ac_unique_file"; then
1211 ac_srcdir_defaulted
=no
1213 if test ! -r "$srcdir/$ac_unique_file"; then
1214 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1215 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1217 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1219 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1221 # When building in place, set srcdir=.
1222 if test "$ac_abs_confdir" = "$ac_pwd"; then
1225 # Remove unnecessary trailing slashes from srcdir.
1226 # Double slashes in file names in object file debugging info
1227 # mess up M-x gdb in Emacs.
1229 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1231 for ac_var
in $ac_precious_vars; do
1232 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1233 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1234 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1235 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1239 # Report the --help message.
1241 if test "$ac_init_help" = "long"; then
1242 # Omit some internal or obsolete options to make the list less imposing.
1243 # This message is too long to be a string in the A/UX 3.1 sh.
1245 \`configure' configures this package to adapt to many kinds of systems.
1247 Usage: $0 [OPTION]... [VAR=VALUE]...
1249 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1250 VAR=VALUE. See below for descriptions of some of the useful variables.
1252 Defaults for the options are specified in brackets.
1255 -h, --help display this help and exit
1256 --help=short display options specific to this package
1257 --help=recursive display the short help of all the included packages
1258 -V, --version display version information and exit
1259 -q, --quiet, --silent do not print \`checking ...' messages
1260 --cache-file=FILE cache test results in FILE [disabled]
1261 -C, --config-cache alias for \`--cache-file=config.cache'
1262 -n, --no-create do not create output files
1263 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1265 Installation directories:
1266 --prefix=PREFIX install architecture-independent files in PREFIX
1267 [$ac_default_prefix]
1268 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1271 By default, \`make install' will install all the files in
1272 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1273 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1274 for instance \`--prefix=\$HOME'.
1276 For better control, use the options below.
1278 Fine tuning of the installation directories:
1279 --bindir=DIR user executables [EPREFIX/bin]
1280 --sbindir=DIR system admin executables [EPREFIX/sbin]
1281 --libexecdir=DIR program executables [EPREFIX/libexec]
1282 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1283 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1284 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1285 --libdir=DIR object code libraries [EPREFIX/lib]
1286 --includedir=DIR C header files [PREFIX/include]
1287 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1288 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1289 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1290 --infodir=DIR info documentation [DATAROOTDIR/info]
1291 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1292 --mandir=DIR man documentation [DATAROOTDIR/man]
1293 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1294 --htmldir=DIR html documentation [DOCDIR]
1295 --dvidir=DIR dvi documentation [DOCDIR]
1296 --pdfdir=DIR pdf documentation [DOCDIR]
1297 --psdir=DIR ps documentation [DOCDIR]
1304 if test -n "$ac_init_help"; then
1309 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1310 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1311 --with-config-dir=VERSION
1312 Location of generated target config files
1314 Some influential environment variables
:
1315 CC C compiler
command
1316 CFLAGS C compiler flags
1317 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1318 nonstandard directory
<lib dir
>
1319 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1320 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1321 you have headers
in a nonstandard directory
<include dir
>
1323 Use these variables to override the choices made by
`configure' or to help
1324 it to find libraries and programs with nonstandard names/locations.
1326 Report bugs to the package provider.
1331 if test "$ac_init_help" = "recursive"; then
1332 # If there are subdirs, report their specific --help.
1333 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1334 test -d "$ac_dir" ||
1335 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1340 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1342 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1343 # A ".." for each directory in $ac_dir_suffix.
1344 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1345 case $ac_top_builddir_sub in
1346 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1347 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1350 ac_abs_top_builddir=$ac_pwd
1351 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1352 # for backward compatibility:
1353 ac_top_builddir=$ac_top_build_prefix
1356 .) # We are building in place.
1358 ac_top_srcdir=$ac_top_builddir_sub
1359 ac_abs_top_srcdir=$ac_pwd ;;
1360 [\\/]* | ?:[\\/]* ) # Absolute name.
1361 ac_srcdir=$srcdir$ac_dir_suffix;
1362 ac_top_srcdir=$srcdir
1363 ac_abs_top_srcdir=$srcdir ;;
1365 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1366 ac_top_srcdir=$ac_top_build_prefix$srcdir
1367 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1369 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1371 cd "$ac_dir" || { ac_status=$?; continue; }
1372 # Check for guested configure.
1373 if test -f "$ac_srcdir/configure.gnu"; then
1375 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1376 elif test -f "$ac_srcdir/configure"; then
1378 $SHELL "$ac_srcdir/configure" --help=recursive
1380 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1382 cd "$ac_pwd" || { ac_status=$?; break; }
1386 test -n "$ac_init_help" && exit $ac_status
1387 if $ac_init_version; then
1390 generated by GNU Autoconf 2.69
1392 Copyright (C) 2012 Free Software Foundation, Inc.
1393 This configure script is free software; the Free Software Foundation
1394 gives unlimited permission to copy, distribute and modify it.
1399 ## ------------------------ ##
1400 ## Autoconf initialization. ##
1401 ## ------------------------ ##
1403 # ac_fn_c_try_compile LINENO
1404 # --------------------------
1405 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1406 ac_fn_c_try_compile ()
1408 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1409 rm -f conftest.$ac_objext
1410 if { { ac_try="$ac_compile"
1412 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1413 *) ac_try_echo
=$ac_try;;
1415 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1416 $as_echo "$ac_try_echo"; } >&5
1417 (eval "$ac_compile") 2>conftest.err
1419 if test -s conftest.err
; then
1420 grep -v '^ *+' conftest.err
>conftest.er1
1421 cat conftest.er1
>&5
1422 mv -f conftest.er1 conftest.err
1424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1425 test $ac_status = 0; } && {
1426 test -z "$ac_c_werror_flag" ||
1427 test ! -s conftest.err
1428 } && test -s conftest.
$ac_objext; then :
1431 $as_echo "$as_me: failed program was:" >&5
1432 sed 's/^/| /' conftest.
$ac_ext >&5
1436 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1437 as_fn_set_status
$ac_retval
1439 } # ac_fn_c_try_compile
1440 cat >config.log
<<_ACEOF
1441 This file contains any messages produced by compilers while
1442 running configure, to aid debugging if configure makes a mistake.
1444 It was created by $as_me, which was
1445 generated by GNU Autoconf 2.69. Invocation command line was
1457 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1458 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1459 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1460 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1461 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1463 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1464 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1466 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1467 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1468 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1469 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1470 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1471 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1472 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1480 test -z "$as_dir" && as_dir
=.
1481 $as_echo "PATH: $as_dir"
1497 # Keep a trace of the command line.
1498 # Strip out --no-create and --no-recursion so they do not pile up.
1499 # Strip out --silent because we don't want to record it for future runs.
1500 # Also quote any args containing shell meta-characters.
1501 # Make two passes to allow for proper duplicate-argument suppression.
1505 ac_must_keep_next
=false
1511 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1512 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1513 |
-silent |
--silent |
--silen |
--sile |
--sil)
1516 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1519 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1521 as_fn_append ac_configure_args1
" '$ac_arg'"
1522 if test $ac_must_keep_next = true
; then
1523 ac_must_keep_next
=false
# Got value, back to normal.
1526 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1527 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1528 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1529 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1530 case "$ac_configure_args0 " in
1531 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1534 -* ) ac_must_keep_next
=true
;;
1537 as_fn_append ac_configure_args
" '$ac_arg'"
1542 { ac_configure_args0
=; unset ac_configure_args0
;}
1543 { ac_configure_args1
=; unset ac_configure_args1
;}
1545 # When interrupted or exit'd, cleanup temporary files, and complete
1546 # config.log. We remove comments because anyway the quotes in there
1547 # would cause problems or look ugly.
1548 # WARNING: Use '\'' to represent an apostrophe within the trap.
1549 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1550 trap 'exit_status=$?
1551 # Save into config.log some information that might help in debugging.
1555 $as_echo "## ---------------- ##
1556 ## Cache variables. ##
1557 ## ---------------- ##"
1559 # The following way of writing the cache mishandles newlines in values,
1561 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1562 eval ac_val=\$$ac_var
1566 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1567 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1570 _ | IFS | as_nl) ;; #(
1571 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1572 *) { eval $ac_var=; unset $ac_var;} ;;
1577 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1578 *${as_nl}ac_space=\ *)
1580 "s/'\''/'\''\\\\'\'''\''/g;
1581 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1584 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1591 $as_echo "## ----------------- ##
1592 ## Output variables. ##
1593 ## ----------------- ##"
1595 for ac_var in $ac_subst_vars
1597 eval ac_val=\$$ac_var
1599 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1601 $as_echo "$ac_var='\''$ac_val'\''"
1605 if test -n "$ac_subst_files"; then
1606 $as_echo "## ------------------- ##
1607 ## File substitutions. ##
1608 ## ------------------- ##"
1610 for ac_var
in $ac_subst_files
1612 eval ac_val
=\$
$ac_var
1614 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1616 $as_echo "$ac_var='\''$ac_val'\''"
1621 if test -s confdefs.h; then
1622 $as_echo "## ----------- ##
1629 test "$ac_signal" != 0 &&
1630 $as_echo "$as_me: caught signal $ac_signal"
1631 $as_echo "$as_me: exit $exit_status"
1633 rm -f core *.core core.conftest.* &&
1634 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1637 for ac_signal
in 1 2 13 15; do
1638 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1642 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1643 rm -f -r conftest
* confdefs.h
1645 $as_echo "/* confdefs.h */" > confdefs.h
1647 # Predefined preprocessor variables.
1649 cat >>confdefs.h
<<_ACEOF
1650 #define PACKAGE_NAME "$PACKAGE_NAME"
1653 cat >>confdefs.h
<<_ACEOF
1654 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1657 cat >>confdefs.h
<<_ACEOF
1658 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1661 cat >>confdefs.h
<<_ACEOF
1662 #define PACKAGE_STRING "$PACKAGE_STRING"
1665 cat >>confdefs.h
<<_ACEOF
1666 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1669 cat >>confdefs.h
<<_ACEOF
1670 #define PACKAGE_URL "$PACKAGE_URL"
1674 # Let the site file select an alternate cache file if it wants to.
1675 # Prefer an explicitly selected file to automatically selected ones.
1678 if test -n "$CONFIG_SITE"; then
1679 # We do not want a PATH search for config.site.
1680 case $CONFIG_SITE in #((
1681 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1682 */*) ac_site_file1
=$CONFIG_SITE;;
1683 *) ac_site_file1
=.
/$CONFIG_SITE;;
1685 elif test "x$prefix" != xNONE
; then
1686 ac_site_file1
=$prefix/share
/config.site
1687 ac_site_file2
=$prefix/etc
/config.site
1689 ac_site_file1
=$ac_default_prefix/share
/config.site
1690 ac_site_file2
=$ac_default_prefix/etc
/config.site
1692 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1694 test "x$ac_site_file" = xNONE
&& continue
1695 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1697 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1698 sed 's/^/| /' "$ac_site_file" >&5
1700 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1702 as_fn_error $?
"failed to load site script $ac_site_file
1703 See \`config.log' for more details" "$LINENO" 5; }
1707 if test -r "$cache_file"; then
1708 # Some versions of bash will fail to source /dev/null (special files
1709 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1710 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1712 $as_echo "$as_me: loading cache $cache_file" >&6;}
1714 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1715 *) .
"./$cache_file";;
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1720 $as_echo "$as_me: creating cache $cache_file" >&6;}
1724 # Check that the precious variables saved in the cache have kept the same
1726 ac_cache_corrupted
=false
1727 for ac_var
in $ac_precious_vars; do
1728 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1729 eval ac_new_set
=\
$ac_env_${ac_var}_set
1730 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1731 eval ac_new_val
=\
$ac_env_${ac_var}_value
1732 case $ac_old_set,$ac_new_set in
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1735 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1736 ac_cache_corrupted
=: ;;
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1739 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1740 ac_cache_corrupted
=: ;;
1743 if test "x$ac_old_val" != "x$ac_new_val"; then
1744 # differences in whitespace do not lead to failure.
1745 ac_old_val_w
=`echo x $ac_old_val`
1746 ac_new_val_w
=`echo x $ac_new_val`
1747 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1749 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1750 ac_cache_corrupted
=:
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1753 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1754 eval $ac_var=\
$ac_old_val
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1757 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1759 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1762 # Pass precious variables to config.status.
1763 if test "$ac_new_set" = set; then
1765 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1766 *) ac_arg
=$ac_var=$ac_new_val ;;
1768 case " $ac_configure_args " in
1769 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1770 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1774 if $ac_cache_corrupted; then
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1776 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1778 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1779 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1781 ## -------------------- ##
1782 ## Main body of script. ##
1783 ## -------------------- ##
1786 ac_cpp
='$CPP $CPPFLAGS'
1787 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1788 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1789 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1794 for ac_dir
in ..
/scripts
/autoconf
"$srcdir"/..
/scripts
/autoconf
; do
1795 if test -f "$ac_dir/install-sh"; then
1797 ac_install_sh
="$ac_aux_dir/install-sh -c"
1799 elif test -f "$ac_dir/install.sh"; then
1801 ac_install_sh
="$ac_aux_dir/install.sh -c"
1803 elif test -f "$ac_dir/shtool"; then
1805 ac_install_sh
="$ac_aux_dir/shtool install -c"
1809 if test -z "$ac_aux_dir"; then
1810 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
1813 # These three variables are undocumented and unsupported,
1814 # and are intended to be withdrawn in a future Autoconf release.
1815 # They can cause serious problems if a builder's source tree is in a directory
1816 # whose full name contains unusual characters.
1817 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1818 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1819 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1823 AROS_BUILDDIR
=`${PWDCMD-pwd}`
1824 AROS_BUILDDIR_UNIX
=${PWD}
1826 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1829 NOLINKFLAGS
="-nostdlib -nostartfiles"
1830 LDFLAGS
=$NOLINKFLAGS
1831 # The first step is to find the binaries.
1833 ac_cpp
='$CPP $CPPFLAGS'
1834 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1835 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1836 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1837 if test -n "$ac_tool_prefix"; then
1838 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1839 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1841 $as_echo_n "checking for $ac_word... " >&6; }
1842 if ${ac_cv_prog_CC+:} false
; then :
1843 $as_echo_n "(cached) " >&6
1845 if test -n "$CC"; then
1846 ac_cv_prog_CC
="$CC" # Let the user override the test.
1848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1852 test -z "$as_dir" && as_dir
=.
1853 for ac_exec_ext
in '' $ac_executable_extensions; do
1854 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1855 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1866 if test -n "$CC"; then
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1868 $as_echo "$CC" >&6; }
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1871 $as_echo "no" >&6; }
1876 if test -z "$ac_cv_prog_CC"; then
1878 # Extract the first word of "gcc", so it can be a program name with args.
1879 set dummy gcc
; ac_word
=$2
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1881 $as_echo_n "checking for $ac_word... " >&6; }
1882 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
1883 $as_echo_n "(cached) " >&6
1885 if test -n "$ac_ct_CC"; then
1886 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1892 test -z "$as_dir" && as_dir
=.
1893 for ac_exec_ext
in '' $ac_executable_extensions; do
1894 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1895 ac_cv_prog_ac_ct_CC
="gcc"
1896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1905 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1906 if test -n "$ac_ct_CC"; then
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1908 $as_echo "$ac_ct_CC" >&6; }
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1911 $as_echo "no" >&6; }
1914 if test "x$ac_ct_CC" = x
; then
1917 case $cross_compiling:$ac_tool_warned in
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1920 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1921 ac_tool_warned
=yes ;;
1929 if test -z "$CC"; then
1930 if test -n "$ac_tool_prefix"; then
1931 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1932 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1934 $as_echo_n "checking for $ac_word... " >&6; }
1935 if ${ac_cv_prog_CC+:} false
; then :
1936 $as_echo_n "(cached) " >&6
1938 if test -n "$CC"; then
1939 ac_cv_prog_CC
="$CC" # Let the user override the test.
1941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1945 test -z "$as_dir" && as_dir
=.
1946 for ac_exec_ext
in '' $ac_executable_extensions; do
1947 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1948 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1959 if test -n "$CC"; then
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1961 $as_echo "$CC" >&6; }
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1964 $as_echo "no" >&6; }
1970 if test -z "$CC"; then
1971 # Extract the first word of "cc", so it can be a program name with args.
1972 set dummy cc
; ac_word
=$2
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1974 $as_echo_n "checking for $ac_word... " >&6; }
1975 if ${ac_cv_prog_CC+:} false
; then :
1976 $as_echo_n "(cached) " >&6
1978 if test -n "$CC"; then
1979 ac_cv_prog_CC
="$CC" # Let the user override the test.
1982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1986 test -z "$as_dir" && as_dir
=.
1987 for ac_exec_ext
in '' $ac_executable_extensions; do
1988 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1989 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1990 ac_prog_rejected
=yes
1994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2001 if test $ac_prog_rejected = yes; then
2002 # We found a bogon in the path, so make sure we never use it.
2003 set dummy
$ac_cv_prog_CC
2005 if test $# != 0; then
2006 # We chose a different compiler from the bogus one.
2007 # However, it has the same basename, so the bogon will be chosen
2008 # first if we set CC to just the basename; use the full file name.
2010 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2016 if test -n "$CC"; then
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2018 $as_echo "$CC" >&6; }
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2021 $as_echo "no" >&6; }
2026 if test -z "$CC"; then
2027 if test -n "$ac_tool_prefix"; then
2028 for ac_prog
in cl.exe
2030 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2031 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2033 $as_echo_n "checking for $ac_word... " >&6; }
2034 if ${ac_cv_prog_CC+:} false
; then :
2035 $as_echo_n "(cached) " >&6
2037 if test -n "$CC"; then
2038 ac_cv_prog_CC
="$CC" # Let the user override the test.
2040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2044 test -z "$as_dir" && as_dir
=.
2045 for ac_exec_ext
in '' $ac_executable_extensions; do
2046 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2047 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2058 if test -n "$CC"; then
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2060 $as_echo "$CC" >&6; }
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2063 $as_echo "no" >&6; }
2067 test -n "$CC" && break
2070 if test -z "$CC"; then
2072 for ac_prog
in cl.exe
2074 # Extract the first word of "$ac_prog", so it can be a program name with args.
2075 set dummy
$ac_prog; ac_word
=$2
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2077 $as_echo_n "checking for $ac_word... " >&6; }
2078 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2079 $as_echo_n "(cached) " >&6
2081 if test -n "$ac_ct_CC"; then
2082 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2088 test -z "$as_dir" && as_dir
=.
2089 for ac_exec_ext
in '' $ac_executable_extensions; do
2090 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2091 ac_cv_prog_ac_ct_CC
="$ac_prog"
2092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2101 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2102 if test -n "$ac_ct_CC"; then
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2104 $as_echo "$ac_ct_CC" >&6; }
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2107 $as_echo "no" >&6; }
2111 test -n "$ac_ct_CC" && break
2114 if test "x$ac_ct_CC" = x
; then
2117 case $cross_compiling:$ac_tool_warned in
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2121 ac_tool_warned
=yes ;;
2130 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2132 as_fn_error $?
"no acceptable C compiler found in \$PATH
2133 See \`config.log' for more details" "$LINENO" 5; }
2135 # Provide some information about the compiler.
2136 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2139 for ac_option
in --version -v -V -qversion; do
2140 { { ac_try
="$ac_compiler $ac_option >&5"
2142 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2143 *) ac_try_echo=$ac_try;;
2145 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2146 $as_echo "$ac_try_echo"; } >&5
2147 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2149 if test -s conftest.err; then
2151 ... rest of stderr output deleted ...
2152 10q' conftest.err >conftest.er1
2153 cat conftest.er1 >&5
2155 rm -f conftest.er1 conftest.err
2156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2157 test $ac_status = 0; }
2160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2161 /* end confdefs.h. */
2171 ac_clean_files_save=$ac_clean_files
2172 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2173 # Try to create an executable without -o first, disregard a.out.
2174 # It will help us diagnose broken compilers, and finding out an intuition
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2177 $as_echo_n "checking whether the C compiler works... " >&6; }
2178 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2180 # The possible output files:
2181 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2184 for ac_file in $ac_files
2187 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2188 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2193 if { { ac_try="$ac_link_default"
2195 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2196 *) ac_try_echo
=$ac_try;;
2198 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2199 $as_echo "$ac_try_echo"; } >&5
2200 (eval "$ac_link_default") 2>&5
2202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2203 test $ac_status = 0; }; then :
2204 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2205 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2206 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2207 # so that the user can short-circuit this test for compilers unknown to
2209 for ac_file
in $ac_files ''
2211 test -f "$ac_file" ||
continue
2213 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2216 # We found the default executable, but exeext='' is most
2220 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2222 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2224 # We set ac_cv_exeext here because the later test for it is not
2225 # safe: cross compilers may not add the suffix if given an `-o'
2226 # argument, so we may need to know it at that point already.
2227 # Even if this section looks crufty: it has the advantage of
2234 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2239 if test -z "$ac_file"; then :
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2241 $as_echo "no" >&6; }
2242 $as_echo "$as_me: failed program was:" >&5
2243 sed 's/^/| /' conftest.
$ac_ext >&5
2245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2247 as_fn_error
77 "C compiler cannot create executables
2248 See \`config.log' for more details" "$LINENO" 5; }
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2251 $as_echo "yes" >&6; }
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2254 $as_echo_n "checking for C compiler default output file name... " >&6; }
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2256 $as_echo "$ac_file" >&6; }
2257 ac_exeext
=$ac_cv_exeext
2259 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2260 ac_clean_files
=$ac_clean_files_save
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2262 $as_echo_n "checking for suffix of executables... " >&6; }
2263 if { { ac_try
="$ac_link"
2265 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2266 *) ac_try_echo=$ac_try;;
2268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2269 $as_echo "$ac_try_echo"; } >&5
2270 (eval "$ac_link") 2>&5
2272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2273 test $ac_status = 0; }; then :
2274 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2275 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2276 # work properly (i.e., refer to `conftest.exe'), while it won't with
2278 for ac_file
in conftest.exe conftest conftest.
*; do
2279 test -f "$ac_file" ||
continue
2281 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2282 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2288 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2290 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2291 See \`config.log' for more details" "$LINENO" 5; }
2293 rm -f conftest conftest
$ac_cv_exeext
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2295 $as_echo "$ac_cv_exeext" >&6; }
2297 rm -f conftest.
$ac_ext
2298 EXEEXT
=$ac_cv_exeext
2300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2301 /* end confdefs.h. */
2306 FILE *f = fopen ("conftest.out", "w");
2307 return ferror (f) || fclose (f) != 0;
2313 ac_clean_files
="$ac_clean_files conftest.out"
2314 # Check that the compiler produces executables we can run. If not, either
2315 # the compiler is broken, or we cross compile.
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2317 $as_echo_n "checking whether we are cross compiling... " >&6; }
2318 if test "$cross_compiling" != yes; then
2319 { { ac_try
="$ac_link"
2321 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2322 *) ac_try_echo=$ac_try;;
2324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2325 $as_echo "$ac_try_echo"; } >&5
2326 (eval "$ac_link") 2>&5
2328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2329 test $ac_status = 0; }
2330 if { ac_try='./conftest$ac_cv_exeext'
2331 { { case "(($ac_try" in
2332 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2333 *) ac_try_echo
=$ac_try;;
2335 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2336 $as_echo "$ac_try_echo"; } >&5
2337 (eval "$ac_try") 2>&5
2339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2340 test $ac_status = 0; }; }; then
2343 if test "$cross_compiling" = maybe
; then
2346 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2348 as_fn_error $?
"cannot run C compiled programs.
2349 If you meant to cross compile, use \`--host'.
2350 See \`config.log' for more details" "$LINENO" 5; }
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2355 $as_echo "$cross_compiling" >&6; }
2357 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2358 ac_clean_files
=$ac_clean_files_save
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2360 $as_echo_n "checking for suffix of object files... " >&6; }
2361 if ${ac_cv_objext+:} false
; then :
2362 $as_echo_n "(cached) " >&6
2364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2365 /* end confdefs.h. */
2375 rm -f conftest.o conftest.obj
2376 if { { ac_try
="$ac_compile"
2378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2379 *) ac_try_echo=$ac_try;;
2381 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2382 $as_echo "$ac_try_echo"; } >&5
2383 (eval "$ac_compile") 2>&5
2385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2386 test $ac_status = 0; }; then :
2387 for ac_file in conftest.o conftest.obj conftest.*; do
2388 test -f "$ac_file" || continue;
2390 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2391 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2396 $as_echo "$as_me: failed program was:" >&5
2397 sed 's/^/| /' conftest.$ac_ext >&5
2399 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2401 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2402 See \
`config.log' for more details" "$LINENO" 5; }
2404 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2407 $as_echo "$ac_cv_objext" >&6; }
2408 OBJEXT=$ac_cv_objext
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2411 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2412 if ${ac_cv_c_compiler_gnu+:} false; then :
2413 $as_echo_n "(cached) " >&6
2415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2416 /* end confdefs.h. */
2429 if ac_fn_c_try_compile "$LINENO"; then :
2434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2435 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2439 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2440 if test $ac_compiler_gnu = yes; then
2445 ac_test_CFLAGS=${CFLAGS+set}
2446 ac_save_CFLAGS=$CFLAGS
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2448 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2449 if ${ac_cv_prog_cc_g+:} false; then :
2450 $as_echo_n "(cached) " >&6
2452 ac_save_c_werror_flag=$ac_c_werror_flag
2453 ac_c_werror_flag=yes
2456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2457 /* end confdefs.h. */
2467 if ac_fn_c_try_compile "$LINENO"; then :
2471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2472 /* end confdefs.h. */
2482 if ac_fn_c_try_compile "$LINENO"; then :
2485 ac_c_werror_flag=$ac_save_c_werror_flag
2487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2488 /* end confdefs.h. */
2498 if ac_fn_c_try_compile "$LINENO"; then :
2501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2506 ac_c_werror_flag=$ac_save_c_werror_flag
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2509 $as_echo "$ac_cv_prog_cc_g" >&6; }
2510 if test "$ac_test_CFLAGS" = set; then
2511 CFLAGS=$ac_save_CFLAGS
2512 elif test $ac_cv_prog_cc_g = yes; then
2513 if test "$GCC" = yes; then
2519 if test "$GCC" = yes; then
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2526 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2527 if ${ac_cv_prog_cc_c89+:} false; then :
2528 $as_echo_n "(cached) " >&6
2530 ac_cv_prog_cc_c89=no
2532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2533 /* end confdefs.h. */
2537 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2538 struct buf { int x; };
2539 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2540 static char *e (p, i)
2546 static char *f (char * (*g) (char **, int), char **p, ...)
2551 s = g (p, va_arg (v,int));
2556 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2557 function prototypes and stuff, but not '\xHH' hex character constants.
2558 These don't provoke an error unfortunately, instead are silently treated
2559 as 'x'. The following induces an error, until -std is added to get
2560 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2561 array size at least. It's necessary to write '\x00'==0 to get something
2562 that's true only with -std. */
2563 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2565 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2566 inside strings and character constants. */
2568 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2570 int test (int i, double x);
2571 struct s1 {int (*f) (int a);};
2572 struct s2 {int (*f) (double a);};
2573 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2579 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2584 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2585 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2587 CC="$ac_save_CC $ac_arg"
2588 if ac_fn_c_try_compile "$LINENO"; then :
2589 ac_cv_prog_cc_c89=$ac_arg
2591 rm -f core conftest.err conftest.$ac_objext
2592 test "x$ac_cv_prog_cc_c89" != "xno" && break
2594 rm -f conftest.$ac_ext
2599 case "x$ac_cv_prog_cc_c89" in
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2602 $as_echo "none needed" >&6; } ;;
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2605 $as_echo "unsupported" >&6; } ;;
2607 CC="$CC $ac_cv_prog_cc_c89"
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2609 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2611 if test "x$ac_cv_prog_cc_c89" != xno; then :
2616 ac_cpp='$CPP $CPPFLAGS'
2617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2623 $as_echo_n "checking target config location... " >&6; }
2625 # Check whether --with-config-dir was given.
2626 if test "${with_config_dir+set}" = set; then :
2627 withval=$with_config_dir; targetcfg_dir="$withval"
2632 if test "$targetcfg_dir" = ""; then
2633 as_fn_error $? "missing config directory!" "$LINENO" 5
2635 aros_targetcfg_dir="$targetcfg_dir"
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2638 $as_echo "$aros_targetcfg_dir" >&6; }
2640 #-----------------------------------------------------------------------------
2642 # Check if the target compiler supports some features:
2645 # -floop-interchange
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2649 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2653 /* end confdefs.h. */
2663 if ac_fn_c_try_compile "$LINENO"; then :
2668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2670 $as_echo "$aros_lto" >&6; }
2671 if test "x-$aros_lto" = "x-yes" ; then
2672 aros_cflags_lto=-flto
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2676 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2679 /* end confdefs.h. */
2689 if ac_fn_c_try_compile "$LINENO"; then :
2690 aros_loop_block="yes"
2692 aros_loop_block="no"
2694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2696 $as_echo "$aros_loop_block" >&6; }
2697 if test "x-$aros_loop_block" = "x-yes" ; then
2698 aros_cflags_loop_block=-floop-block
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2702 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2703 CFLAGS=-floop-interchange
2704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2705 /* end confdefs.h. */
2715 if ac_fn_c_try_compile "$LINENO"; then :
2716 aros_loop_interchange="yes"
2718 aros_loop_interchange="no"
2720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
2722 $as_echo "$aros_loop_interchange" >&6; }
2723 if test "x-$aros_loop_interchange" = "x-yes" ; then
2724 aros_cflags_loop_interchange=-floop-interchange
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
2728 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
2729 CFLAGS=-floop-strip-mine
2730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2731 /* end confdefs.h. */
2741 if ac_fn_c_try_compile "$LINENO"; then :
2742 aros_loop_strip_mine="yes"
2744 aros_loop_strip_mine="no"
2746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
2748 $as_echo "$aros_loop_strip_mine" >&6; }
2749 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
2750 aros_cflags_loop_strip_mine=-floop-strip-mine
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
2754 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
2756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2757 /* end confdefs.h. */
2767 if ac_fn_c_try_compile "$LINENO"; then :
2772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
2774 $as_echo "$has_iquote" >&6; }
2775 if test "x-$has_iquote" = "x-yes" ; then
2776 aros_cflags_iquote=-iquote
2777 aros_cflags_iquote_end=
2779 aros_cflags_iquote=-I
2780 aros_cflags_iquote_end=-I-
2783 #-----------------------------------------------------------------------------
2785 # Check if the target compiler supports some options used for de-linting:
2786 # -Wunused-command-line-argument
2787 # -Wunknown-warning-option
2788 # -Wunused-but-set-variable
2792 # -Wstrict-prototypes
2795 # -Wmisleading-indentation
2801 # -Wunused-parameter
2803 # -Wmaybe-uninitialized
2804 # -Wimplicit-function-declaration
2809 # -Wformat-contains-nul
2811 # -Waggressive-loop-optimizations
2814 # -Wdiscarded-qualifiers
2817 # -Wdiscarded-array-qualifiers
2819 # -Wint-to-pointer-cast
2820 # -Wpointer-to-int-cast
2821 # -Wunused-const-variable
2824 # -Wincompatible-pointer-types
2826 # -Wlogical-not-parentheses
2830 # -Wdeprecated-declarations
2834 # -Wunused-local-typedefs
2838 # -Wvolatile-register-var
2839 # -Wsizeof-pointer-memaccess
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
2842 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
2843 CFLAGS=-Wunused-command-line-argument
2844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2845 /* end confdefs.h. */
2855 if ac_fn_c_try_compile "$LINENO"; then :
2856 aros_unused_command_line_argument="yes"
2858 aros_unused_command_line_argument="no"
2860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
2862 $as_echo "$aros_unused_command_line_argument" >&6; }
2863 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
2864 aros_cflags_unused_command_line_argument=-Wno-unused-command-line-argument
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
2868 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
2869 CFLAGS=-Wunknown-warning-option
2870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2871 /* end confdefs.h. */
2881 if ac_fn_c_try_compile "$LINENO"; then :
2882 aros_unknown_warning_option="yes"
2884 aros_unknown_warning_option="no"
2886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
2888 $as_echo "$aros_unknown_warning_option" >&6; }
2889 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
2890 aros_cflags_unknown_warning_option=-Wno-unknown-warning-option
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
2894 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
2895 CFLAGS=-Wunused-but-set-variable
2896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2897 /* end confdefs.h. */
2907 if ac_fn_c_try_compile "$LINENO"; then :
2908 aros_unused_but_set_variable="yes"
2910 aros_unused_but_set_variable="no"
2912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
2914 $as_echo "$aros_unused_but_set_variable" >&6; }
2915 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
2916 aros_cflags_unused_but_set_variable=-Wno-unused-but-set-variable
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
2920 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
2921 CFLAGS=-Wstrict-aliasing
2922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2923 /* end confdefs.h. */
2933 if ac_fn_c_try_compile "$LINENO"; then :
2934 aros_strict_aliasing="yes"
2936 aros_strict_aliasing="no"
2938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
2940 $as_echo "$aros_strict_aliasing" >&6; }
2941 if test "x-$aros_strict_aliasing" = "x-yes" ; then
2942 aros_cflags_strict_aliasing=-Wno-strict-aliasing
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
2946 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
2947 CFLAGS=-Warray-bounds
2948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2949 /* end confdefs.h. */
2959 if ac_fn_c_try_compile "$LINENO"; then :
2960 aros_array_bounds="yes"
2962 aros_array_bounds="no"
2964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
2966 $as_echo "$aros_array_bounds" >&6; }
2967 if test "x-$aros_array_bounds" = "x-yes" ; then
2968 aros_cflags_array_bounds=-Wno-array-bounds
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
2972 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
2973 CFLAGS=-Wenum-compare
2974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2975 /* end confdefs.h. */
2985 if ac_fn_c_try_compile "$LINENO"; then :
2986 aros_enum_compare="yes"
2988 aros_enum_compare="no"
2990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
2992 $as_echo "$aros_enum_compare" >&6; }
2993 if test "x-$aros_enum_compare" = "x-yes" ; then
2994 aros_cflags_enum_compare=-Wno-enum-compare
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
2998 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
2999 CFLAGS=-Wstrict-prototypes
3000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3001 /* end confdefs.h. */
3011 if ac_fn_c_try_compile "$LINENO"; then :
3012 aros_strict_prototypes="yes"
3014 aros_strict_prototypes="no"
3016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3018 $as_echo "$aros_strict_prototypes" >&6; }
3019 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3020 aros_cflags_strict_prototypes=-Wno-strict-prototypes
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3024 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3025 CFLAGS=-Wstrict-overflow
3026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3027 /* end confdefs.h. */
3037 if ac_fn_c_try_compile "$LINENO"; then :
3038 aros_strict_overflow="yes"
3040 aros_strict_overflow="no"
3042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3044 $as_echo "$aros_strict_overflow" >&6; }
3045 if test "x-$aros_strict_overflow" = "x-yes" ; then
3046 aros_cflags_strict_overflow=-Wno-strict-overflow
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3050 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3051 CFLAGS=-Wformat-security
3052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3053 /* end confdefs.h. */
3063 if ac_fn_c_try_compile "$LINENO"; then :
3064 aros_format_security="yes"
3066 aros_format_security="no"
3068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3070 $as_echo "$aros_format_security" >&6; }
3071 if test "x-$aros_format_security" = "x-yes" ; then
3072 aros_cflags_format_security=-Wno-format-security
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3076 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3077 CFLAGS=-Wmisleading-indentation
3078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3079 /* end confdefs.h. */
3089 if ac_fn_c_try_compile "$LINENO"; then :
3090 aros_misleading_indentation="yes"
3092 aros_misleading_indentation="no"
3094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3096 $as_echo "$aros_misleading_indentation" >&6; }
3097 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3098 aros_cflags_misleading_indentation=-Wno-misleading-indentation
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3102 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3103 CFLAGS=-Wnonnull-compare
3104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3105 /* end confdefs.h. */
3115 if ac_fn_c_try_compile "$LINENO"; then :
3116 aros_nonnull_compare="yes"
3118 aros_nonnull_compare="no"
3120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3122 $as_echo "$aros_nonnull_compare" >&6; }
3123 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3124 aros_cflags_nonnull_compare=-Wno-nonnull-compare
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3128 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3131 /* end confdefs.h. */
3141 if ac_fn_c_try_compile "$LINENO"; then :
3146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3148 $as_echo "$aros_unused" >&6; }
3149 if test "x-$aros_unused" = "x-yes" ; then
3150 aros_cflags_unused=-Wno-unused
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3154 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3155 CFLAGS=-Wunused-value
3156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3157 /* end confdefs.h. */
3167 if ac_fn_c_try_compile "$LINENO"; then :
3168 aros_unused_value="yes"
3170 aros_unused_value="no"
3172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3174 $as_echo "$aros_unused_value" >&6; }
3175 if test "x-$aros_unused_value" = "x-yes" ; then
3176 aros_cflags_unused_value=-Wno-unused-value
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3180 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3181 CFLAGS=-Wunused-variable
3182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3183 /* end confdefs.h. */
3193 if ac_fn_c_try_compile "$LINENO"; then :
3194 aros_unused_variable="yes"
3196 aros_unused_variable="no"
3198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3200 $as_echo "$aros_unused_variable" >&6; }
3201 if test "x-$aros_unused_variable" = "x-yes" ; then
3202 aros_cflags_unused_variable=-Wno-unused-variable
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3206 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3207 CFLAGS=-Wunused-function
3208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3209 /* end confdefs.h. */
3219 if ac_fn_c_try_compile "$LINENO"; then :
3220 aros_unused_function="yes"
3222 aros_unused_function="no"
3224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3226 $as_echo "$aros_unused_function" >&6; }
3227 if test "x-$aros_unused_function" = "x-yes" ; then
3228 aros_cflags_unused_function=-Wno-unused-function
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
3232 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
3233 CFLAGS=-Wunused-parameter
3234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3235 /* end confdefs.h. */
3245 if ac_fn_c_try_compile "$LINENO"; then :
3246 aros_unused_parameter="yes"
3248 aros_unused_parameter="no"
3250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
3252 $as_echo "$aros_unused_parameter" >&6; }
3253 if test "x-$aros_unused_parameter" = "x-yes" ; then
3254 aros_cflags_unused_parameter=-Wno-unused-parameter
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3258 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3259 CFLAGS=-Wuninitialized
3260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3261 /* end confdefs.h. */
3271 if ac_fn_c_try_compile "$LINENO"; then :
3272 aros_uninitialized="yes"
3274 aros_uninitialized="no"
3276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3278 $as_echo "$aros_uninitialized" >&6; }
3279 if test "x-$aros_uninitialized" = "x-yes" ; then
3280 aros_cflags_uninitialized=-Wno-uninitialized
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3284 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3285 CFLAGS=-Wmaybe-uninitialized
3286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3287 /* end confdefs.h. */
3297 if ac_fn_c_try_compile "$LINENO"; then :
3298 aros_maybe_uninitialized="yes"
3300 aros_maybe_uninitialized="no"
3302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3304 $as_echo "$aros_maybe_uninitialized" >&6; }
3305 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3306 aros_cflags_maybe_uninitialized=-Wno-maybe-uninitialized
3308 aros_cflags_maybe_uninitialized=$aros_cflags_uninitialized
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3312 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3313 CFLAGS=-Wimplicit-function-declaration
3314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3315 /* end confdefs.h. */
3325 if ac_fn_c_try_compile "$LINENO"; then :
3326 aros_implicit_function_declaration="yes"
3328 aros_implicit_function_declaration="no"
3330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3332 $as_echo "$aros_implicit_function_declaration" >&6; }
3333 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3334 aros_cflags_implicit_function_declaration=-Wno-implicit-function-declaration
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3338 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3341 /* end confdefs.h. */
3351 if ac_fn_c_try_compile "$LINENO"; then :
3356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3358 $as_echo "$aros_format" >&6; }
3359 if test "x-$aros_format" = "x-yes" ; then
3360 aros_cflags_format=-Wno-format
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3364 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3365 CFLAGS=-Wparentheses
3366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3367 /* end confdefs.h. */
3377 if ac_fn_c_try_compile "$LINENO"; then :
3378 aros_parentheses="yes"
3380 aros_parentheses="no"
3382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3384 $as_echo "$aros_parentheses" >&6; }
3385 if test "x-$aros_parentheses" = "x-yes" ; then
3386 aros_cflags_parentheses=-Wno-parentheses
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3390 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3391 CFLAGS=-Wchar-subscripts
3392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3393 /* end confdefs.h. */
3403 if ac_fn_c_try_compile "$LINENO"; then :
3404 aros_char_subscripts="yes"
3406 aros_char_subscripts="no"
3408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3410 $as_echo "$aros_char_subscripts" >&6; }
3411 if test "x-$aros_char_subscripts" = "x-yes" ; then
3412 aros_cflags_char_subscripts=-Wno-char-subscripts
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3416 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3417 CFLAGS=-Wendif-labels
3418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3419 /* end confdefs.h. */
3429 if ac_fn_c_try_compile "$LINENO"; then :
3430 aros_endif_labels="yes"
3432 aros_endif_labels="no"
3434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3436 $as_echo "$aros_endif_labels" >&6; }
3437 if test "x-$aros_endif_labels" = "x-yes" ; then
3438 aros_cflags_endif_labels=-Wno-endif-labels
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3442 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3443 CFLAGS=-Wformat-contains-nul
3444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3445 /* end confdefs.h. */
3455 if ac_fn_c_try_compile "$LINENO"; then :
3456 aros_format_contains_nul="yes"
3458 aros_format_contains_nul="no"
3460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3462 $as_echo "$aros_format_contains_nul" >&6; }
3463 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3464 aros_cflags_format_contains_nul=-Wno-format-contains-nul
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3468 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3469 CFLAGS=-Wimplicit-int
3470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3471 /* end confdefs.h. */
3481 if ac_fn_c_try_compile "$LINENO"; then :
3482 aros_implicit_int="yes"
3484 aros_implicit_int="no"
3486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3488 $as_echo "$aros_implicit_int" >&6; }
3489 if test "x-$aros_implicit_int" = "x-yes" ; then
3490 aros_cflags_implicit_int=-Wno-implicit-int
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3494 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3495 CFLAGS=-Waggressive-loop-optimizations
3496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3497 /* end confdefs.h. */
3507 if ac_fn_c_try_compile "$LINENO"; then :
3508 aros_aggressive_loop_optimizations="yes"
3510 aros_aggressive_loop_optimizations="no"
3512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3514 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3515 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3516 aros_cflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3520 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3523 /* end confdefs.h. */
3533 if ac_fn_c_try_compile "$LINENO"; then :
3538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3540 $as_echo "$aros_cpp" >&6; }
3541 if test "x-$aros_cpp" = "x-yes" ; then
3542 aros_cflags_cpp=-Wno-cpp
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3546 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3549 /* end confdefs.h. */
3559 if ac_fn_c_try_compile "$LINENO"; then :
3564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
3566 $as_echo "$aros_switch" >&6; }
3567 if test "x-$aros_switch" = "x-yes" ; then
3568 aros_cflags_switch=-Wno-switch
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
3572 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
3573 CFLAGS=-Wdiscarded-qualifiers
3574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3575 /* end confdefs.h. */
3585 if ac_fn_c_try_compile "$LINENO"; then :
3586 aros_discarded_qualifiers="yes"
3588 aros_discarded_qualifiers="no"
3590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
3592 $as_echo "$aros_discarded_qualifiers" >&6; }
3593 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
3594 aros_cflags_discarded_qualifiers=-Wno-discarded-qualifiers
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
3598 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
3599 CFLAGS=-Wsequence-point
3600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3601 /* end confdefs.h. */
3611 if ac_fn_c_try_compile "$LINENO"; then :
3612 aros_sequence_point="yes"
3614 aros_sequence_point="no"
3616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
3618 $as_echo "$aros_sequence_point" >&6; }
3619 if test "x-$aros_sequence_point" = "x-yes" ; then
3620 aros_cflags_sequence_point=-Wno-sequence-point
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
3624 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
3625 CFLAGS=-Wunknown-pragmas
3626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627 /* end confdefs.h. */
3637 if ac_fn_c_try_compile "$LINENO"; then :
3638 aros_unknown_pragmas="yes"
3640 aros_unknown_pragmas="no"
3642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
3644 $as_echo "$aros_unknown_pragmas" >&6; }
3645 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
3646 aros_cflags_unknown_pragmas=-Wno-unknown-pragmas
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
3650 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
3651 CFLAGS=-Wdiscarded-array-qualifiers
3652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3653 /* end confdefs.h. */
3663 if ac_fn_c_try_compile "$LINENO"; then :
3664 aros_discarded_array_qualifiers="yes"
3666 aros_discarded_array_qualifiers="no"
3668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
3670 $as_echo "$aros_discarded_array_qualifiers" >&6; }
3671 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
3672 aros_cflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
3676 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
3677 CFLAGS=-Wint-conversion
3678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3679 /* end confdefs.h. */
3689 if ac_fn_c_try_compile "$LINENO"; then :
3690 aros_int_conversion="yes"
3692 aros_int_conversion="no"
3694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
3696 $as_echo "$aros_int_conversion" >&6; }
3697 if test "x-$aros_int_conversion" = "x-yes" ; then
3698 aros_cflags_int_conversion=-Wno-int-conversion
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
3702 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
3703 CFLAGS=-Wint-to-pointer-cast
3704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3705 /* end confdefs.h. */
3715 if ac_fn_c_try_compile "$LINENO"; then :
3716 aros_int_to_pointer_cast="yes"
3718 aros_int_to_pointer_cast="no"
3720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
3722 $as_echo "$aros_int_to_pointer_cast" >&6; }
3723 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
3724 aros_cflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
3728 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
3729 CFLAGS=-Wpointer-to-int-cast
3730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3731 /* end confdefs.h. */
3741 if ac_fn_c_try_compile "$LINENO"; then :
3742 aros_pointer_to_int_cast="yes"
3744 aros_pointer_to_int_cast="no"
3746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
3748 $as_echo "$aros_pointer_to_int_cast" >&6; }
3749 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
3750 aros_cflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
3754 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
3755 CFLAGS=-Wunused-const-variable
3756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3757 /* end confdefs.h. */
3767 if ac_fn_c_try_compile "$LINENO"; then :
3768 aros_unused_const_variable="yes"
3770 aros_unused_const_variable="no"
3772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
3774 $as_echo "$aros_unused_const_variable" >&6; }
3775 if test "x-$aros_unused_const_variable" = "x-yes" ; then
3776 aros_cflags_unused_const_variable=-Wno-unused-const-variable
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
3780 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
3781 CFLAGS=-Wwrite-strings
3782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3783 /* end confdefs.h. */
3793 if ac_fn_c_try_compile "$LINENO"; then :
3794 aros_write_strings="yes"
3796 aros_write_strings="no"
3798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
3800 $as_echo "$aros_write_strings" >&6; }
3801 if test "x-$aros_write_strings" = "x-yes" ; then
3802 aros_cflags_write_strings=-Wno-write-strings
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
3806 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
3808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3809 /* end confdefs.h. */
3819 if ac_fn_c_try_compile "$LINENO"; then :
3824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
3826 $as_echo "$aros_comment" >&6; }
3827 if test "x-$aros_comment" = "x-yes" ; then
3828 aros_cflags_comment=-Wno-comment
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
3832 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
3833 CFLAGS=-Wincompatible-pointer-types
3834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3835 /* end confdefs.h. */
3845 if ac_fn_c_try_compile "$LINENO"; then :
3846 aros_incompatible_pointer_types="yes"
3848 aros_incompatible_pointer_types="no"
3850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
3852 $as_echo "$aros_incompatible_pointer_types" >&6; }
3853 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
3854 aros_cflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
3858 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
3859 CFLAGS=-Wbool-compare
3860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3861 /* end confdefs.h. */
3871 if ac_fn_c_try_compile "$LINENO"; then :
3872 aros_bool_compare="yes"
3874 aros_bool_compare="no"
3876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
3878 $as_echo "$aros_bool_compare" >&6; }
3879 if test "x-$aros_bool_compare" = "x-yes" ; then
3880 aros_cflags_bool_compare=-Wno-bool-compare
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
3884 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
3885 CFLAGS=-Wlogical-not-parentheses
3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3897 if ac_fn_c_try_compile "$LINENO"; then :
3898 aros_logical_not_parentheses="yes"
3900 aros_logical_not_parentheses="no"
3902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
3904 $as_echo "$aros_logical_not_parentheses" >&6; }
3905 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
3906 aros_cflags_logical_not_parentheses=-Wno-logical-not-parentheses
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
3910 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
3911 CFLAGS=-Wpointer-sign
3912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3913 /* end confdefs.h. */
3923 if ac_fn_c_try_compile "$LINENO"; then :
3924 aros_pointer_sign="yes"
3926 aros_pointer_sign="no"
3928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
3930 $as_echo "$aros_pointer_sign" >&6; }
3931 if test "x-$aros_pointer_sign" = "x-yes" ; then
3932 aros_cflags_pointer_sign=-Wno-pointer-sign
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
3936 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
3937 CFLAGS=-Wshift-overflow
3938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3939 /* end confdefs.h. */
3949 if ac_fn_c_try_compile "$LINENO"; then :
3950 aros_shift_overflow="yes"
3952 aros_shift_overflow="no"
3954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
3956 $as_echo "$aros_shift_overflow" >&6; }
3957 if test "x-$aros_shift_overflow" = "x-yes" ; then
3958 aros_cflags_shift_overflow=-Wno-shift-overflow
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
3962 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
3963 CFLAGS=-Wframe-address
3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3965 /* end confdefs.h. */
3975 if ac_fn_c_try_compile "$LINENO"; then :
3976 aros_frame_address="yes"
3978 aros_frame_address="no"
3980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
3982 $as_echo "$aros_frame_address" >&6; }
3983 if test "x-$aros_frame_address" = "x-yes" ; then
3984 aros_cflags_frame_address=-Wno-frame-address
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
3988 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
3989 CFLAGS=-Wdeprecated-declarations
3990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3991 /* end confdefs.h. */
4001 if ac_fn_c_try_compile "$LINENO"; then :
4002 aros_deprecated_declarations="yes"
4004 aros_deprecated_declarations="no"
4006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4008 $as_echo "$aros_deprecated_declarations" >&6; }
4009 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4010 aros_cflags_deprecated_declarations=-Wno-deprecated-declarations
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4014 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4015 CFLAGS=-Wsign-compare
4016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4017 /* end confdefs.h. */
4027 if ac_fn_c_try_compile "$LINENO"; then :
4028 aros_sign_compare="yes"
4030 aros_sign_compare="no"
4032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4034 $as_echo "$aros_sign_compare" >&6; }
4035 if test "x-$aros_sign_compare" = "x-yes" ; then
4036 aros_cflags_sign_compare=-Wno-sign-compare
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4040 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4043 /* end confdefs.h. */
4053 if ac_fn_c_try_compile "$LINENO"; then :
4054 aros_attributes="yes"
4056 aros_attributes="no"
4058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4060 $as_echo "$aros_attributes" >&6; }
4061 if test "x-$aros_attributes" = "x-yes" ; then
4062 aros_cflags_attributes=-Wno-attributes
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4066 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4069 /* end confdefs.h. */
4079 if ac_fn_c_try_compile "$LINENO"; then :
4084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4086 $as_echo "$aros_overflow" >&6; }
4087 if test "x-$aros_overflow" = "x-yes" ; then
4088 aros_cflags_overflow=-Wno-overflow
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4092 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4093 CFLAGS=-Wunused-local-typedefs
4094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h. */
4105 if ac_fn_c_try_compile "$LINENO"; then :
4106 aros_unused_local_typedefs="yes"
4108 aros_unused_local_typedefs="no"
4110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4112 $as_echo "$aros_unused_local_typedefs" >&6; }
4113 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4114 aros_cflags_unused_local_typedefs=-Wno-unused-local-typedefs
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4118 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4119 CFLAGS=-Wmissing-braces
4120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4121 /* end confdefs.h. */
4131 if ac_fn_c_try_compile "$LINENO"; then :
4132 aros_missing_braces="yes"
4134 aros_missing_braces="no"
4136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4138 $as_echo "$aros_missing_braces" >&6; }
4139 if test "x-$aros_missing_braces" = "x-yes" ; then
4140 aros_cflags_missing_braces=-Wno-missing-braces
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4144 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4145 CFLAGS=-Wconversion-null
4146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4147 /* end confdefs.h. */
4157 if ac_fn_c_try_compile "$LINENO"; then :
4158 aros_conversion_null="yes"
4160 aros_conversion_null="no"
4162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4164 $as_echo "$aros_conversion_null" >&6; }
4165 if test "x-$aros_conversion_null" = "x-yes" ; then
4166 aros_cflags_conversion_null=-Wno-conversion-null
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4170 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4173 /* end confdefs.h. */
4183 if ac_fn_c_try_compile "$LINENO"; then :
4184 aros_narrowing="yes"
4188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4190 $as_echo "$aros_narrowing" >&6; }
4191 if test "x-$aros_narrowing" = "x-yes" ; then
4192 aros_cflags_narrowing=-Wno-narrowing
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4196 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4197 CFLAGS=-Wvolatile-register-var
4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4209 if ac_fn_c_try_compile "$LINENO"; then :
4210 aros_volatile_register_var="yes"
4212 aros_volatile_register_var="no"
4214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4216 $as_echo "$aros_volatile_register_var" >&6; }
4217 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4218 aros_cflags_volatile_register_var=-Wno-volatile-register-var
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
4222 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
4223 CFLAGS=-Wsizeof-pointer-memaccess
4224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4225 /* end confdefs.h. */
4235 if ac_fn_c_try_compile "$LINENO"; then :
4236 aros_sizeof_pointer_memaccess="yes"
4238 aros_sizeof_pointer_memaccess="no"
4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
4242 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
4243 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
4244 aros_cflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
4310 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
4313 cat >confcache <<\_ACEOF
4314 # This file is a shell script that caches the results of configure
4315 # tests run on this system so they can be shared between configure
4316 # scripts and configure runs, see configure's option --config-cache.
4317 # It is not useful on other systems. If it contains results you don't
4318 # want to keep, you may remove or edit it.
4320 # config.status only pays attention to the cache file if you give it
4321 # the --recheck option to rerun configure.
4323 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
4324 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4329 # The following way of writing the cache mishandles newlines in values,
4330 # but we know of no workaround that is simple, portable, and efficient.
4331 # So, we kill variables containing newlines.
4332 # Ultrix sh set writes to stderr and can't be redirected directly,
4333 # and sets the high bit in the cache file unless we assign to the vars.
4335 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4336 eval ac_val
=\$
$ac_var
4340 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4341 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4344 _ | IFS | as_nl
) ;; #(
4345 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4346 *) { eval $ac_var=; unset $ac_var;} ;;
4352 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4353 *${as_nl}ac_space
=\
*)
4354 # `set' does not quote correctly, so add quotes: double-quote
4355 # substitution turns \\\\ into \\, and sed turns \\ into \.
4358 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4361 # `set' quotes correctly as required by POSIX, so do not add quotes.
4362 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4371 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4373 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4375 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4376 if test -w "$cache_file"; then
4377 if test "x$cache_file" != "x/dev/null"; then
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4379 $as_echo "$as_me: updating cache $cache_file" >&6;}
4380 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4381 cat confcache
>"$cache_file"
4383 case $cache_file in #(
4385 mv -f confcache
"$cache_file"$$
&&
4386 mv -f "$cache_file"$$
"$cache_file" ;; #(
4388 mv -f confcache
"$cache_file" ;;
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4394 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4399 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4400 # Let make expand exec_prefix.
4401 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4403 # Transform confdefs.h into DEFS.
4404 # Protect against shell expansion while executing Makefile rules.
4405 # Protect against Makefile macro expansion.
4407 # If the first sed substitution is executed (which looks for macros that
4408 # take arguments), then branch to the quote section. Otherwise,
4409 # look for a macro that doesn't take arguments.
4419 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4421 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4425 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4438 DEFS
=`sed -n "$ac_script" confdefs.h`
4444 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4445 # 1. Remove the extension, and $U if already installed.
4446 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4447 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4448 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4449 # will be set to the directory where LIBOBJS objects are built.
4450 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4451 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4455 LTLIBOBJS
=$ac_ltlibobjs
4459 : "${CONFIG_STATUS=./config.status}"
4461 ac_clean_files_save
=$ac_clean_files
4462 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4464 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4466 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4468 # Generated by $as_me.
4469 # Run this file to recreate the current configuration.
4470 # Compiler output produced by configure, useful for debugging
4471 # configure, is in config.log if it exists.
4477 SHELL=\${CONFIG_SHELL-$SHELL}
4480 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4481 ## -------------------- ##
4482 ## M4sh Initialization. ##
4483 ## -------------------- ##
4485 # Be more Bourne compatible
4486 DUALCASE
=1; export DUALCASE
# for MKS sh
4487 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4490 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4491 # is contrary to our usage. Disable this feature.
4492 alias -g '${1+"$@"}'='"$@"'
4493 setopt NO_GLOB_SUBST
4495 case `(set -o) 2>/dev/null` in #(
4507 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4508 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4509 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4510 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4511 # Prefer a ksh shell builtin over an external printf program on Solaris,
4512 # but without wasting forks for bash or zsh.
4513 if test -z "$BASH_VERSION$ZSH_VERSION" \
4514 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4515 as_echo='print
-r --'
4516 as_echo_n='print
-rn --'
4517 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4518 as_echo='printf %s
\n'
4519 as_echo_n='printf %s
'
4521 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4522 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4523 as_echo_n='/usr
/ucb
/echo -n'
4525 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4526 as_echo_n_body='eval
4530 expr "X$arg" : "X\\(.*\\)$as_nl";
4531 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4533 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4535 export as_echo_n_body
4536 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4539 as_echo='sh
-c $as_echo_body as_echo
'
4542 # The user is always right.
4543 if test "${PATH_SEPARATOR+set}" != set; then
4545 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4546 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4553 # We need space, tab and new line, in precisely that order. Quoting is
4554 # there to prevent editors from complaining about space-tab.
4555 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4556 # splitting by setting IFS to empty value.)
4559 # Find who we are. Look in the path if we contain no directory separator.
4562 *[\\/]* ) as_myself=$0 ;;
4563 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4567 test -z "$as_dir" && as_dir=.
4568 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4574 # We did not find ourselves, most probably we were run as `sh COMMAND'
4575 # in which case we are not to be found in the path.
4576 if test "x$as_myself" = x
; then
4579 if test ! -f "$as_myself"; then
4580 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4584 # Unset variables that we do not need and which cause bugs (e.g. in
4585 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4586 # suppresses any "Segmentation fault" message there. '((' could
4587 # trigger a bug in pdksh 5.2.14.
4588 for as_var
in BASH_ENV ENV MAIL MAILPATH
4589 do eval test x\
${$as_var+set} = xset \
4590 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4603 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4606 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4607 # ----------------------------------------
4608 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4609 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4610 # script with STATUS, using 1 if that was 0.
4613 as_status
=$1; test $as_status -eq 0 && as_status
=1
4615 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4616 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4618 $as_echo "$as_me: error: $2" >&2
4619 as_fn_exit
$as_status
4623 # as_fn_set_status STATUS
4624 # -----------------------
4625 # Set $? to STATUS, without forking.
4629 } # as_fn_set_status
4633 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4643 # Portably unset VAR.
4646 { eval $1=; unset $1;}
4648 as_unset
=as_fn_unset
4649 # as_fn_append VAR VALUE
4650 # ----------------------
4651 # Append the text in VALUE to the end of the definition contained in VAR. Take
4652 # advantage of any shell optimizations that allow amortized linear growth over
4653 # repeated appends, instead of the typical quadratic growth present in naive
4655 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4656 eval 'as_fn_append ()
4667 # as_fn_arith ARG...
4668 # ------------------
4669 # Perform arithmetic evaluation on the ARGs, and store the result in the
4670 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4671 # must be portable across $(()) and expr.
4672 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4673 eval 'as_fn_arith ()
4680 as_val
=`expr "$@" || test $? -eq 1`
4685 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4686 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4692 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4693 as_basename
=basename
4698 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4704 as_me
=`$as_basename -- "$0" ||
4705 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4706 X"$0" : 'X\(//\)$' \| \
4707 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4709 sed '/^.*\/\([^/][^/]*\)\/*$/{
4723 # Avoid depending upon Character Ranges.
4724 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4725 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4726 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4727 as_cr_digits
='0123456789'
4728 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4730 ECHO_C
= ECHO_N
= ECHO_T
=
4731 case `echo -n x` in #(((((
4733 case `echo 'xy\c'` in
4734 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4736 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4743 rm -f conf$$ conf$$.exe conf$$.
file
4744 if test -d conf$$.dir
; then
4745 rm -f conf$$.dir
/conf$$.
file
4748 mkdir conf$$.dir
2>/dev
/null
4750 if (echo >conf$$.
file) 2>/dev
/null
; then
4751 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4753 # ... but there are two gotchas:
4754 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4755 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4756 # In both cases, we have to default to `cp -pR'.
4757 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4759 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4767 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4768 rmdir conf$$.dir
2>/dev
/null
4773 # Create "$as_dir" as a directory, including parents if necessary.
4778 -*) as_dir
=.
/$as_dir;;
4780 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4784 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4785 *) as_qdir
=$as_dir;;
4787 as_dirs
="'$as_qdir' $as_dirs"
4788 as_dir
=`$as_dirname -- "$as_dir" ||
4789 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4790 X"$as_dir" : 'X\(//\)[^/]' \| \
4791 X"$as_dir" : 'X\(//\)$' \| \
4792 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4793 $as_echo X"$as_dir" |
4794 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4811 test -d "$as_dir" && break
4813 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4814 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4818 if mkdir
-p .
2>/dev
/null
; then
4819 as_mkdir_p
='mkdir -p "$as_dir"'
4821 test -d .
/-p && rmdir .
/-p
4826 # as_fn_executable_p FILE
4827 # -----------------------
4828 # Test if FILE is an executable regular file.
4829 as_fn_executable_p
()
4831 test -f "$1" && test -x "$1"
4832 } # as_fn_executable_p
4834 as_executable_p
=as_fn_executable_p
4836 # Sed expression to map a string onto a valid CPP name.
4837 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4839 # Sed expression to map a string onto a valid variable name.
4840 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4844 ## ----------------------------------- ##
4845 ## Main body of $CONFIG_STATUS script. ##
4846 ## ----------------------------------- ##
4848 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4850 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4851 # Save the log message, to keep $0 and so on meaningful, and to
4852 # report actual input values of CONFIG_FILES etc. instead of their
4853 # values after options handling.
4855 This file was extended by $as_me, which was
4856 generated by GNU Autoconf 2.69. Invocation command line was
4858 CONFIG_FILES = $CONFIG_FILES
4859 CONFIG_HEADERS = $CONFIG_HEADERS
4860 CONFIG_LINKS = $CONFIG_LINKS
4861 CONFIG_COMMANDS = $CONFIG_COMMANDS
4864 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4869 case $ac_config_files in *"
4870 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4876 # Files that config.status was made for.
4877 config_files="$ac_config_files"
4881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4883 \`$as_me' instantiates files and other configuration actions
4884 from templates according to the current configuration. Unless the files
4885 and actions are specified as TAGs, all are instantiated by default.
4887 Usage: $0 [OPTION]... [TAG]...
4889 -h, --help print this help, then exit
4890 -V, --version print version number and configuration settings, then exit
4891 --config print configuration, then exit
4892 -q, --quiet, --silent
4893 do not print progress messages
4894 -d, --debug don't remove temporary files
4895 --recheck update $as_me by reconfiguring in the same conditions
4896 --file=FILE[:TEMPLATE]
4897 instantiate the configuration file FILE
4899 Configuration files:
4902 Report bugs to the package provider."
4905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4906 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4909 configured by $0, generated by GNU Autoconf 2.69,
4910 with options \\"\$ac_cs_config\\"
4912 Copyright (C) 2012 Free Software Foundation, Inc.
4913 This config.status script is free software; the Free Software Foundation
4914 gives unlimited permission to copy, distribute and modify it."
4918 test -n "\$AWK" || AWK=awk
4921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4922 # The default lists apply if the user does not specify any file.
4928 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4929 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4933 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4945 # Handling of the options.
4946 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4948 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4949 $as_echo "$ac_cs_version"; exit ;;
4950 --config |
--confi |
--conf |
--con |
--co |
--c )
4951 $as_echo "$ac_cs_config"; exit ;;
4952 --debug |
--debu |
--deb |
--de |
--d |
-d )
4954 --file |
--fil |
--fi |
--f )
4957 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4958 '') as_fn_error $?
"missing file argument" ;;
4960 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4961 ac_need_defaults
=false
;;
4962 --he |
--h |
--help |
--hel |
-h )
4963 $as_echo "$ac_cs_usage"; exit ;;
4964 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4965 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4969 -*) as_fn_error $?
"unrecognized option: \`$1'
4970 Try \`$0 --help' for more information." ;;
4972 *) as_fn_append ac_config_targets
" $1"
4973 ac_need_defaults
=false
;;
4979 ac_configure_extra_args
=
4981 if $ac_cs_silent; then
4983 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4988 if \$ac_cs_recheck; then
4989 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4991 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4992 CONFIG_SHELL='$SHELL'
4998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5002 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5003 ## Running $as_me. ##
5009 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5014 # Handling of arguments.
5015 for ac_config_target
in $ac_config_targets
5017 case $ac_config_target in
5018 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
5020 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5025 # If the user did not use the arguments to specify the items to instantiate,
5026 # then the envvar interface is used. Set only those that are not.
5027 # We use the long form for the default assignment because of an extremely
5028 # bizarre bug on SunOS 4.1.3.
5029 if $ac_need_defaults; then
5030 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5033 # Have a temporary directory for convenience. Make it in the build tree
5034 # simply because there is no reason against having it here, and in addition,
5035 # creating and moving files from /tmp can sometimes cause problems.
5036 # Hook for its removal unless debugging.
5037 # Note that there is a small window in which the directory will not be cleaned:
5038 # after its creation but before its name has been assigned to `$tmp'.
5042 trap 'exit_status=$?
5044 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5046 trap 'as_fn_exit 1' 1 2 13 15
5048 # Create a (secure) tmp directory for tmp files.
5051 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5055 tmp
=.
/conf$$
-$RANDOM
5056 (umask 077 && mkdir
"$tmp")
5057 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5060 # Set up the scripts for CONFIG_FILES section.
5061 # No need to generate them if there are no CONFIG_FILES.
5062 # This happens for instance with `./config.status config.h'.
5063 if test -n "$CONFIG_FILES"; then
5066 ac_cr
=`echo X | tr X '\015'`
5067 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5068 # But we know of no other shell where ac_cr would be empty at this
5069 # point, so we can use a bashism as a fallback.
5070 if test "x$ac_cr" = x
; then
5071 eval ac_cr
=\$
\'\\r
\'
5073 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5074 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5080 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5085 echo "cat >conf$$subs.awk <<_ACEOF" &&
5086 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5089 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5090 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5092 for ac_last_try in false false false false false :; do
5093 . ./conf$$subs.sh ||
5094 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5096 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5097 if test $ac_delim_n = $ac_delim_num; then
5099 elif $ac_last_try; then
5100 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5102 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5108 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
5112 s/^/S["/; s
/!.
*/"]=/
5122 s/\(.\{148\}\)..*/\1/
5124 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5129 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5136 s/\(.\{148\}\)..*/\1/
5138 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5142 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5147 ' <conf$$subs.awk | sed '
5152 ' >>$CONFIG_STATUS || ac_write_fail=1
5153 rm -f conf$$subs.awk
5154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5156 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5157 for (key in S) S_is_set[key] = 1
5163 nfields = split(line, field, "@
")
5165 len = length(field[1])
5166 for (i = 2; i < nfields; i++) {
5168 keylen = length(key)
5169 if (S_is_set[key]) {
5171 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5172 len += length(value) + length(field[++i])
5183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5184 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5185 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5188 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5189 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5192 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5193 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5194 # trailing colons and then remove the whole line if VPATH becomes empty
5195 # (actually we leave an empty line to preserve line numbers).
5196 if test "x
$srcdir" = x.; then
5197 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5216 fi # test -n "$CONFIG_FILES"
5219 eval set X " :F
$CONFIG_FILES "
5224 :[FHLC]) ac_mode=$ac_tag; continue;;
5226 case $ac_mode$ac_tag in
5228 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
5229 :[FH]-) ac_tag=-:-;;
5230 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5247 -) ac_f="$ac_tmp/stdin";;
5248 *) # Look for the file first in the build tree, then in the source tree
5249 # (if the path is not absolute). The absolute path cannot be DOS-style,
5250 # because $ac_f cannot contain `:'.
5254 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5256 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5258 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
5259 as_fn_append ac_file_inputs " '$ac_f'"
5262 # Let's still pretend it is `configure' which instantiates (i.e., don't
5263 # use $as_me), people would be surprised to read:
5264 # /* config.h. Generated by config.status. */
5265 configure_input='Generated from '`
5266 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5268 if test x"$ac_file" != x-; then
5269 configure_input="$ac_file.
$configure_input"
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
5271 $as_echo "$as_me: creating
$ac_file" >&6;}
5273 # Neutralize special characters interpreted by sed in replacement strings.
5274 case $configure_input in #(
5275 *\&* | *\|* | *\\* )
5276 ac_sed_conf_input=`$as_echo "$configure_input" |
5277 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5278 *) ac_sed_conf_input=$configure_input;;
5282 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
5283 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
5288 ac_dir=`$as_dirname -- "$ac_file" ||
5289 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5290 X"$ac_file" : 'X\(//\)[^/]' \| \
5291 X"$ac_file" : 'X\(//\)$' \| \
5292 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5293 $as_echo X"$ac_file" |
5294 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5311 as_dir="$ac_dir"; as_fn_mkdir_p
5315 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5317 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5318 # A "..
" for each directory in $ac_dir_suffix.
5319 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5320 case $ac_top_builddir_sub in
5321 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5322 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5325 ac_abs_top_builddir=$ac_pwd
5326 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5327 # for backward compatibility:
5328 ac_top_builddir=$ac_top_build_prefix
5331 .) # We are building in place.
5333 ac_top_srcdir=$ac_top_builddir_sub
5334 ac_abs_top_srcdir=$ac_pwd ;;
5335 [\\/]* | ?:[\\/]* ) # Absolute name.
5336 ac_srcdir=$srcdir$ac_dir_suffix;
5337 ac_top_srcdir=$srcdir
5338 ac_abs_top_srcdir=$srcdir ;;
5340 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5341 ac_top_srcdir=$ac_top_build_prefix$srcdir
5342 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5344 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5356 # If the template does not know about datarootdir, expand it.
5357 # FIXME: This hack should be removed a few years after 2.60.
5358 ac_datarootdir_hack=; ac_datarootdir_seen=
5369 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
5370 *datarootdir*) ac_datarootdir_seen=yes;;
5371 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
5373 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
5375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5376 ac_datarootdir_hack='
5377 s&@datadir@&$datadir&g
5378 s&@docdir@&$docdir&g
5379 s&@infodir@&$infodir&g
5380 s&@localedir@&$localedir&g
5381 s&@mandir@&$mandir&g
5382 s&\\\${datarootdir}&$datarootdir&g' ;;
5386 # Neutralize VPATH when `$srcdir' = `.'.
5387 # Shell code in configure.ac might set extrasub.
5388 # FIXME: do we really want to maintain this feature?
5389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5390 ac_sed_extra="$ac_vpsub
5393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5395 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5396 s|@configure_input@|
$ac_sed_conf_input|
;t t
5397 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5398 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5399 s
&@srcdir@
&$ac_srcdir&;t t
5400 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5401 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5402 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5403 s
&@builddir@
&$ac_builddir&;t t
5404 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5405 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5406 $ac_datarootdir_hack
5408 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5409 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5411 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5412 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5413 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5414 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5416 which seems to be undefined. Please make sure it is defined" >&5
5417 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5418 which seems to be undefined. Please make sure it is defined" >&2;}
5420 rm -f "$ac_tmp/stdin"
5422 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5423 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5425 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5437 ac_clean_files=$ac_clean_files_save
5439 test $ac_write_fail = 0 ||
5440 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5443 # configure is writing to config.log, and then calls config.status.
5444 # config.status does its own redirection, appending to config.log.
5445 # Unfortunately, on DOS this fails, as config.log is still kept open
5446 # by configure, so config.status won't be able to
write to it
; its
5447 # output is simply discarded. So we exec the FD to /dev/null,
5448 # effectively closing config.log, so it can be properly (re)opened and
5449 # appended to by config.status. When coming back to configure, we
5450 # need to make the FD available again.
5451 if test "$no_create" != yes; then
5453 ac_config_status_args
=
5454 test "$silent" = yes &&
5455 ac_config_status_args
="$ac_config_status_args --quiet"
5457 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5459 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5460 # would make configure fail if this is the last instruction.
5461 $ac_cs_success || as_fn_exit
1
5463 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5465 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}