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_volatile_register_var
588 aros_cflags_narrowing
589 aros_cflags_conversion_null
590 aros_cflags_missing_braces
591 aros_cflags_unused_local_typedefs
593 aros_cflags_attributes
594 aros_cflags_sign_compare
595 aros_cflags_deprecated_declarations
596 aros_cflags_frame_address
597 aros_cflags_shift_overflow
598 aros_cflags_pointer_sign
599 aros_cflags_logical_not_parentheses
600 aros_cflags_bool_compare
601 aros_cflags_incompatible_pointer_types
603 aros_cflags_write_strings
604 aros_cflags_unused_const_variable
605 aros_cflags_pointer_to_int_cast
606 aros_cflags_int_to_pointer_cast
607 aros_cflags_int_conversion
608 aros_cflags_discarded_array_qualifiers
609 aros_cflags_unknown_pragmas
610 aros_cflags_sequence_point
611 aros_cflags_discarded_qualifiers
614 aros_cflags_aggressive_loop_optimizations
615 aros_cflags_implicit_int
616 aros_cflags_format_contains_nul
617 aros_cflags_endif_labels
618 aros_cflags_char_subscripts
619 aros_cflags_parentheses
621 aros_cflags_implicit_function_declaration
622 aros_cflags_maybe_uninitialized
623 aros_cflags_uninitialized
624 aros_cflags_unused_parameter
625 aros_cflags_unused_function
626 aros_cflags_unused_variable
627 aros_cflags_unused_value
629 aros_cflags_nonnull_compare
630 aros_cflags_misleading_indentation
631 aros_cflags_format_security
632 aros_cflags_strict_overflow
633 aros_cflags_strict_prototypes
634 aros_cflags_enum_compare
635 aros_cflags_array_bounds
636 aros_cflags_strict_aliasing
637 aros_cflags_unused_but_set_variable
638 aros_cflags_unknown_warning_option
639 aros_cflags_unused_command_line_argument
640 aros_cflags_iquote_end
642 aros_cflags_loop_strip_mine
643 aros_cflags_loop_interchange
644 aros_cflags_loop_block
680 program_transform_name
693 enable_option_checking
696 ac_precious_vars
='build_alias
706 # Initialize some variables set by options.
708 ac_init_version
=false
709 ac_unrecognized_opts
=
711 # The variables have the same names as the options, with
712 # dashes changed to underlines.
720 program_transform_name
=s
,x
,x
,
728 # Installation directory options.
729 # These are left unexpanded so users can "make install exec_prefix=/foo"
730 # and all the variables that are supposed to be based on exec_prefix
731 # by default will actually change.
732 # Use braces instead of parens because sh, perl, etc. also accept them.
733 # (The list follows the same order as the GNU Coding Standards.)
734 bindir
='${exec_prefix}/bin'
735 sbindir
='${exec_prefix}/sbin'
736 libexecdir
='${exec_prefix}/libexec'
737 datarootdir
='${prefix}/share'
738 datadir
='${datarootdir}'
739 sysconfdir
='${prefix}/etc'
740 sharedstatedir
='${prefix}/com'
741 localstatedir
='${prefix}/var'
742 includedir
='${prefix}/include'
743 oldincludedir
='/usr/include'
744 docdir
='${datarootdir}/doc/${PACKAGE}'
745 infodir
='${datarootdir}/info'
750 libdir
='${exec_prefix}/lib'
751 localedir
='${datarootdir}/locale'
752 mandir
='${datarootdir}/man'
758 # If the previous option needs an argument, assign it.
759 if test -n "$ac_prev"; then
760 eval $ac_prev=\
$ac_option
766 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
771 # Accept the important Cygnus configure options, so we can diagnose typos.
773 case $ac_dashdash$ac_option in
777 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
779 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
782 -build |
--build |
--buil |
--bui |
--bu)
783 ac_prev
=build_alias
;;
784 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
785 build_alias
=$ac_optarg ;;
787 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
788 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
789 ac_prev
=cache_file
;;
790 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
791 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
792 cache_file
=$ac_optarg ;;
795 cache_file
=config.cache
;;
797 -datadir |
--datadir |
--datadi |
--datad)
799 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
800 datadir
=$ac_optarg ;;
802 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
803 |
--dataroo |
--dataro |
--datar)
804 ac_prev
=datarootdir
;;
805 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
806 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
807 datarootdir
=$ac_optarg ;;
809 -disable-* |
--disable-*)
810 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
811 # Reject names that are not valid shell variable names.
812 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
813 as_fn_error $?
"invalid feature name: $ac_useropt"
814 ac_useropt_orig
=$ac_useropt
815 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
816 case $ac_user_opts in
820 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
821 ac_unrecognized_sep
=', ';;
823 eval enable_
$ac_useropt=no
;;
825 -docdir |
--docdir |
--docdi |
--doc |
--do)
827 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
830 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
832 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
835 -enable-* |
--enable-*)
836 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
837 # Reject names that are not valid shell variable names.
838 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
839 as_fn_error $?
"invalid feature name: $ac_useropt"
840 ac_useropt_orig
=$ac_useropt
841 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
842 case $ac_user_opts in
846 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
847 ac_unrecognized_sep
=', ';;
849 eval enable_
$ac_useropt=\
$ac_optarg ;;
851 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
852 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
853 |
--exec |
--exe |
--ex)
854 ac_prev
=exec_prefix
;;
855 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
856 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
857 |
--exec=* |
--exe=* |
--ex=*)
858 exec_prefix
=$ac_optarg ;;
860 -gas |
--gas |
--ga |
--g)
861 # Obsolete; use --with-gas.
864 -help |
--help |
--hel |
--he |
-h)
866 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
867 ac_init_help
=recursive
;;
868 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
869 ac_init_help
=short
;;
871 -host |
--host |
--hos |
--ho)
872 ac_prev
=host_alias
;;
873 -host=* |
--host=* |
--hos=* |
--ho=*)
874 host_alias
=$ac_optarg ;;
876 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
878 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
880 htmldir
=$ac_optarg ;;
882 -includedir |
--includedir |
--includedi |
--included |
--include \
883 |
--includ |
--inclu |
--incl |
--inc)
884 ac_prev
=includedir
;;
885 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
886 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
887 includedir
=$ac_optarg ;;
889 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
891 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
892 infodir
=$ac_optarg ;;
894 -libdir |
--libdir |
--libdi |
--libd)
896 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
899 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
900 |
--libexe |
--libex |
--libe)
901 ac_prev
=libexecdir
;;
902 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
903 |
--libexe=* |
--libex=* |
--libe=*)
904 libexecdir
=$ac_optarg ;;
906 -localedir |
--localedir |
--localedi |
--localed |
--locale)
908 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
909 localedir
=$ac_optarg ;;
911 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
912 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
913 ac_prev
=localstatedir
;;
914 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
915 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
916 localstatedir
=$ac_optarg ;;
918 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
920 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
924 # Obsolete; use --without-fp.
927 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
928 |
--no-cr |
--no-c |
-n)
931 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
932 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
935 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
936 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
937 |
--oldin |
--oldi |
--old |
--ol |
--o)
938 ac_prev
=oldincludedir
;;
939 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
940 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
941 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
942 oldincludedir
=$ac_optarg ;;
944 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
946 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
949 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
950 |
--program-pre |
--program-pr |
--program-p)
951 ac_prev
=program_prefix
;;
952 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
953 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
954 program_prefix
=$ac_optarg ;;
956 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
957 |
--program-suf |
--program-su |
--program-s)
958 ac_prev
=program_suffix
;;
959 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
960 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
961 program_suffix
=$ac_optarg ;;
963 -program-transform-name |
--program-transform-name \
964 |
--program-transform-nam |
--program-transform-na \
965 |
--program-transform-n |
--program-transform- \
966 |
--program-transform |
--program-transfor \
967 |
--program-transfo |
--program-transf \
968 |
--program-trans |
--program-tran \
969 |
--progr-tra |
--program-tr |
--program-t)
970 ac_prev
=program_transform_name
;;
971 -program-transform-name=* |
--program-transform-name=* \
972 |
--program-transform-nam=* |
--program-transform-na=* \
973 |
--program-transform-n=* |
--program-transform-=* \
974 |
--program-transform=* |
--program-transfor=* \
975 |
--program-transfo=* |
--program-transf=* \
976 |
--program-trans=* |
--program-tran=* \
977 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
978 program_transform_name
=$ac_optarg ;;
980 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
982 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
985 -psdir |
--psdir |
--psdi |
--psd |
--ps)
987 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
990 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
991 |
-silent |
--silent |
--silen |
--sile |
--sil)
994 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
996 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
998 sbindir
=$ac_optarg ;;
1000 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1001 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1002 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1004 ac_prev
=sharedstatedir
;;
1005 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1006 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1007 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1009 sharedstatedir
=$ac_optarg ;;
1011 -site |
--site |
--sit)
1013 -site=* |
--site=* |
--sit=*)
1016 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1018 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1019 srcdir
=$ac_optarg ;;
1021 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1022 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1023 ac_prev
=sysconfdir
;;
1024 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1025 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1026 sysconfdir
=$ac_optarg ;;
1028 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1029 ac_prev
=target_alias
;;
1030 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1031 target_alias
=$ac_optarg ;;
1033 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1036 -version |
--version |
--versio |
--versi |
--vers |
-V)
1037 ac_init_version
=: ;;
1040 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1041 # Reject names that are not valid shell variable names.
1042 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1043 as_fn_error $?
"invalid package name: $ac_useropt"
1044 ac_useropt_orig
=$ac_useropt
1045 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1046 case $ac_user_opts in
1050 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1051 ac_unrecognized_sep
=', ';;
1053 eval with_
$ac_useropt=\
$ac_optarg ;;
1055 -without-* |
--without-*)
1056 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1057 # Reject names that are not valid shell variable names.
1058 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1059 as_fn_error $?
"invalid package name: $ac_useropt"
1060 ac_useropt_orig
=$ac_useropt
1061 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1062 case $ac_user_opts in
1066 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1067 ac_unrecognized_sep
=', ';;
1069 eval with_
$ac_useropt=no
;;
1072 # Obsolete; use --with-x.
1075 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1076 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1077 ac_prev
=x_includes
;;
1078 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1079 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1080 x_includes
=$ac_optarg ;;
1082 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1083 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1084 ac_prev
=x_libraries
;;
1085 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1086 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1087 x_libraries
=$ac_optarg ;;
1089 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1090 Try \`$0 --help' for more information"
1094 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1095 # Reject names that are not valid shell variable names.
1096 case $ac_envvar in #(
1097 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1098 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1100 eval $ac_envvar=\
$ac_optarg
1101 export $ac_envvar ;;
1104 # FIXME: should be removed in autoconf 3.0.
1105 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1106 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1107 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1108 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1114 if test -n "$ac_prev"; then
1115 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1116 as_fn_error $?
"missing argument to $ac_option"
1119 if test -n "$ac_unrecognized_opts"; then
1120 case $enable_option_checking in
1122 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1123 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1127 # Check all directory arguments for consistency.
1128 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1129 datadir sysconfdir sharedstatedir localstatedir includedir \
1130 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1131 libdir localedir mandir
1133 eval ac_val
=\$
$ac_var
1134 # Remove trailing slashes.
1137 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1138 eval $ac_var=\
$ac_val;;
1140 # Be sure to have absolute directory names.
1142 [\\/$
]* | ?
:[\\/]* ) continue;;
1143 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1145 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1148 # There might be people who depend on the old broken behavior: `$host'
1149 # used to hold the argument of --host etc.
1150 # FIXME: To remove some day.
1153 target
=$target_alias
1155 # FIXME: To remove some day.
1156 if test "x$host_alias" != x
; then
1157 if test "x$build_alias" = x
; then
1158 cross_compiling
=maybe
1159 elif test "x$build_alias" != "x$host_alias"; then
1165 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1167 test "$silent" = yes && exec 6>/dev
/null
1170 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1171 ac_ls_di
=`ls -di .` &&
1172 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1173 as_fn_error $?
"working directory cannot be determined"
1174 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1175 as_fn_error $?
"pwd does not report name of working directory"
1178 # Find the source files, if location was not specified.
1179 if test -z "$srcdir"; then
1180 ac_srcdir_defaulted
=yes
1181 # Try the directory containing this script, then the parent directory.
1182 ac_confdir
=`$as_dirname -- "$as_myself" ||
1183 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1184 X"$as_myself" : 'X\(//\)[^/]' \| \
1185 X"$as_myself" : 'X\(//\)$' \| \
1186 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1187 $as_echo X"$as_myself" |
1188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1206 if test ! -r "$srcdir/$ac_unique_file"; then
1210 ac_srcdir_defaulted
=no
1212 if test ! -r "$srcdir/$ac_unique_file"; then
1213 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1214 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1216 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1218 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1220 # When building in place, set srcdir=.
1221 if test "$ac_abs_confdir" = "$ac_pwd"; then
1224 # Remove unnecessary trailing slashes from srcdir.
1225 # Double slashes in file names in object file debugging info
1226 # mess up M-x gdb in Emacs.
1228 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1230 for ac_var
in $ac_precious_vars; do
1231 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1232 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1233 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1234 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1238 # Report the --help message.
1240 if test "$ac_init_help" = "long"; then
1241 # Omit some internal or obsolete options to make the list less imposing.
1242 # This message is too long to be a string in the A/UX 3.1 sh.
1244 \`configure' configures this package to adapt to many kinds of systems.
1246 Usage: $0 [OPTION]... [VAR=VALUE]...
1248 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1249 VAR=VALUE. See below for descriptions of some of the useful variables.
1251 Defaults for the options are specified in brackets.
1254 -h, --help display this help and exit
1255 --help=short display options specific to this package
1256 --help=recursive display the short help of all the included packages
1257 -V, --version display version information and exit
1258 -q, --quiet, --silent do not print \`checking ...' messages
1259 --cache-file=FILE cache test results in FILE [disabled]
1260 -C, --config-cache alias for \`--cache-file=config.cache'
1261 -n, --no-create do not create output files
1262 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1264 Installation directories:
1265 --prefix=PREFIX install architecture-independent files in PREFIX
1266 [$ac_default_prefix]
1267 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1270 By default, \`make install' will install all the files in
1271 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1272 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1273 for instance \`--prefix=\$HOME'.
1275 For better control, use the options below.
1277 Fine tuning of the installation directories:
1278 --bindir=DIR user executables [EPREFIX/bin]
1279 --sbindir=DIR system admin executables [EPREFIX/sbin]
1280 --libexecdir=DIR program executables [EPREFIX/libexec]
1281 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1282 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1283 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1284 --libdir=DIR object code libraries [EPREFIX/lib]
1285 --includedir=DIR C header files [PREFIX/include]
1286 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1287 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1288 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1289 --infodir=DIR info documentation [DATAROOTDIR/info]
1290 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1291 --mandir=DIR man documentation [DATAROOTDIR/man]
1292 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1293 --htmldir=DIR html documentation [DOCDIR]
1294 --dvidir=DIR dvi documentation [DOCDIR]
1295 --pdfdir=DIR pdf documentation [DOCDIR]
1296 --psdir=DIR ps documentation [DOCDIR]
1303 if test -n "$ac_init_help"; then
1308 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1309 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1310 --with-config-dir=VERSION
1311 Location of generated target config files
1313 Some influential environment variables
:
1314 CC C compiler
command
1315 CFLAGS C compiler flags
1316 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1317 nonstandard directory
<lib dir
>
1318 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1319 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1320 you have headers
in a nonstandard directory
<include dir
>
1322 Use these variables to override the choices made by
`configure' or to help
1323 it to find libraries and programs with nonstandard names/locations.
1325 Report bugs to the package provider.
1330 if test "$ac_init_help" = "recursive"; then
1331 # If there are subdirs, report their specific --help.
1332 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1333 test -d "$ac_dir" ||
1334 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1339 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1341 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1342 # A ".." for each directory in $ac_dir_suffix.
1343 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1344 case $ac_top_builddir_sub in
1345 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1346 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1349 ac_abs_top_builddir=$ac_pwd
1350 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1351 # for backward compatibility:
1352 ac_top_builddir=$ac_top_build_prefix
1355 .) # We are building in place.
1357 ac_top_srcdir=$ac_top_builddir_sub
1358 ac_abs_top_srcdir=$ac_pwd ;;
1359 [\\/]* | ?:[\\/]* ) # Absolute name.
1360 ac_srcdir=$srcdir$ac_dir_suffix;
1361 ac_top_srcdir=$srcdir
1362 ac_abs_top_srcdir=$srcdir ;;
1364 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1365 ac_top_srcdir=$ac_top_build_prefix$srcdir
1366 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1368 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1370 cd "$ac_dir" || { ac_status=$?; continue; }
1371 # Check for guested configure.
1372 if test -f "$ac_srcdir/configure.gnu"; then
1374 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1375 elif test -f "$ac_srcdir/configure"; then
1377 $SHELL "$ac_srcdir/configure" --help=recursive
1379 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1381 cd "$ac_pwd" || { ac_status=$?; break; }
1385 test -n "$ac_init_help" && exit $ac_status
1386 if $ac_init_version; then
1389 generated by GNU Autoconf 2.69
1391 Copyright (C) 2012 Free Software Foundation, Inc.
1392 This configure script is free software; the Free Software Foundation
1393 gives unlimited permission to copy, distribute and modify it.
1398 ## ------------------------ ##
1399 ## Autoconf initialization. ##
1400 ## ------------------------ ##
1402 # ac_fn_c_try_compile LINENO
1403 # --------------------------
1404 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1405 ac_fn_c_try_compile ()
1407 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1408 rm -f conftest.$ac_objext
1409 if { { ac_try="$ac_compile"
1411 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1412 *) ac_try_echo
=$ac_try;;
1414 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1415 $as_echo "$ac_try_echo"; } >&5
1416 (eval "$ac_compile") 2>conftest.err
1418 if test -s conftest.err
; then
1419 grep -v '^ *+' conftest.err
>conftest.er1
1420 cat conftest.er1
>&5
1421 mv -f conftest.er1 conftest.err
1423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1424 test $ac_status = 0; } && {
1425 test -z "$ac_c_werror_flag" ||
1426 test ! -s conftest.err
1427 } && test -s conftest.
$ac_objext; then :
1430 $as_echo "$as_me: failed program was:" >&5
1431 sed 's/^/| /' conftest.
$ac_ext >&5
1435 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1436 as_fn_set_status
$ac_retval
1438 } # ac_fn_c_try_compile
1439 cat >config.log
<<_ACEOF
1440 This file contains any messages produced by compilers while
1441 running configure, to aid debugging if configure makes a mistake.
1443 It was created by $as_me, which was
1444 generated by GNU Autoconf 2.69. Invocation command line was
1456 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1457 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1458 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1459 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1460 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1462 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1463 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1465 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1466 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1467 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1468 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1469 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1470 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1471 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1479 test -z "$as_dir" && as_dir
=.
1480 $as_echo "PATH: $as_dir"
1496 # Keep a trace of the command line.
1497 # Strip out --no-create and --no-recursion so they do not pile up.
1498 # Strip out --silent because we don't want to record it for future runs.
1499 # Also quote any args containing shell meta-characters.
1500 # Make two passes to allow for proper duplicate-argument suppression.
1504 ac_must_keep_next
=false
1510 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1511 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1512 |
-silent |
--silent |
--silen |
--sile |
--sil)
1515 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1518 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1520 as_fn_append ac_configure_args1
" '$ac_arg'"
1521 if test $ac_must_keep_next = true
; then
1522 ac_must_keep_next
=false
# Got value, back to normal.
1525 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1526 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1527 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1528 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1529 case "$ac_configure_args0 " in
1530 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1533 -* ) ac_must_keep_next
=true
;;
1536 as_fn_append ac_configure_args
" '$ac_arg'"
1541 { ac_configure_args0
=; unset ac_configure_args0
;}
1542 { ac_configure_args1
=; unset ac_configure_args1
;}
1544 # When interrupted or exit'd, cleanup temporary files, and complete
1545 # config.log. We remove comments because anyway the quotes in there
1546 # would cause problems or look ugly.
1547 # WARNING: Use '\'' to represent an apostrophe within the trap.
1548 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1549 trap 'exit_status=$?
1550 # Save into config.log some information that might help in debugging.
1554 $as_echo "## ---------------- ##
1555 ## Cache variables. ##
1556 ## ---------------- ##"
1558 # The following way of writing the cache mishandles newlines in values,
1560 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1561 eval ac_val=\$$ac_var
1565 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1566 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1569 _ | IFS | as_nl) ;; #(
1570 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1571 *) { eval $ac_var=; unset $ac_var;} ;;
1576 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1577 *${as_nl}ac_space=\ *)
1579 "s/'\''/'\''\\\\'\'''\''/g;
1580 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1583 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1590 $as_echo "## ----------------- ##
1591 ## Output variables. ##
1592 ## ----------------- ##"
1594 for ac_var in $ac_subst_vars
1596 eval ac_val=\$$ac_var
1598 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1600 $as_echo "$ac_var='\''$ac_val'\''"
1604 if test -n "$ac_subst_files"; then
1605 $as_echo "## ------------------- ##
1606 ## File substitutions. ##
1607 ## ------------------- ##"
1609 for ac_var
in $ac_subst_files
1611 eval ac_val
=\$
$ac_var
1613 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1615 $as_echo "$ac_var='\''$ac_val'\''"
1620 if test -s confdefs.h; then
1621 $as_echo "## ----------- ##
1628 test "$ac_signal" != 0 &&
1629 $as_echo "$as_me: caught signal $ac_signal"
1630 $as_echo "$as_me: exit $exit_status"
1632 rm -f core *.core core.conftest.* &&
1633 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1636 for ac_signal
in 1 2 13 15; do
1637 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1641 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1642 rm -f -r conftest
* confdefs.h
1644 $as_echo "/* confdefs.h */" > confdefs.h
1646 # Predefined preprocessor variables.
1648 cat >>confdefs.h
<<_ACEOF
1649 #define PACKAGE_NAME "$PACKAGE_NAME"
1652 cat >>confdefs.h
<<_ACEOF
1653 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1656 cat >>confdefs.h
<<_ACEOF
1657 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1660 cat >>confdefs.h
<<_ACEOF
1661 #define PACKAGE_STRING "$PACKAGE_STRING"
1664 cat >>confdefs.h
<<_ACEOF
1665 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1668 cat >>confdefs.h
<<_ACEOF
1669 #define PACKAGE_URL "$PACKAGE_URL"
1673 # Let the site file select an alternate cache file if it wants to.
1674 # Prefer an explicitly selected file to automatically selected ones.
1677 if test -n "$CONFIG_SITE"; then
1678 # We do not want a PATH search for config.site.
1679 case $CONFIG_SITE in #((
1680 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1681 */*) ac_site_file1
=$CONFIG_SITE;;
1682 *) ac_site_file1
=.
/$CONFIG_SITE;;
1684 elif test "x$prefix" != xNONE
; then
1685 ac_site_file1
=$prefix/share
/config.site
1686 ac_site_file2
=$prefix/etc
/config.site
1688 ac_site_file1
=$ac_default_prefix/share
/config.site
1689 ac_site_file2
=$ac_default_prefix/etc
/config.site
1691 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1693 test "x$ac_site_file" = xNONE
&& continue
1694 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1696 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1697 sed 's/^/| /' "$ac_site_file" >&5
1699 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1701 as_fn_error $?
"failed to load site script $ac_site_file
1702 See \`config.log' for more details" "$LINENO" 5; }
1706 if test -r "$cache_file"; then
1707 # Some versions of bash will fail to source /dev/null (special files
1708 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1709 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1711 $as_echo "$as_me: loading cache $cache_file" >&6;}
1713 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1714 *) .
"./$cache_file";;
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1719 $as_echo "$as_me: creating cache $cache_file" >&6;}
1723 # Check that the precious variables saved in the cache have kept the same
1725 ac_cache_corrupted
=false
1726 for ac_var
in $ac_precious_vars; do
1727 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1728 eval ac_new_set
=\
$ac_env_${ac_var}_set
1729 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1730 eval ac_new_val
=\
$ac_env_${ac_var}_value
1731 case $ac_old_set,$ac_new_set in
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1734 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1735 ac_cache_corrupted
=: ;;
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1738 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1739 ac_cache_corrupted
=: ;;
1742 if test "x$ac_old_val" != "x$ac_new_val"; then
1743 # differences in whitespace do not lead to failure.
1744 ac_old_val_w
=`echo x $ac_old_val`
1745 ac_new_val_w
=`echo x $ac_new_val`
1746 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1748 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1749 ac_cache_corrupted
=:
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1752 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1753 eval $ac_var=\
$ac_old_val
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1756 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1758 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1761 # Pass precious variables to config.status.
1762 if test "$ac_new_set" = set; then
1764 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1765 *) ac_arg
=$ac_var=$ac_new_val ;;
1767 case " $ac_configure_args " in
1768 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1769 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1773 if $ac_cache_corrupted; then
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1775 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1777 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1778 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1780 ## -------------------- ##
1781 ## Main body of script. ##
1782 ## -------------------- ##
1785 ac_cpp
='$CPP $CPPFLAGS'
1786 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1787 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1788 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1793 for ac_dir
in ..
/scripts
/autoconf
"$srcdir"/..
/scripts
/autoconf
; do
1794 if test -f "$ac_dir/install-sh"; then
1796 ac_install_sh
="$ac_aux_dir/install-sh -c"
1798 elif test -f "$ac_dir/install.sh"; then
1800 ac_install_sh
="$ac_aux_dir/install.sh -c"
1802 elif test -f "$ac_dir/shtool"; then
1804 ac_install_sh
="$ac_aux_dir/shtool install -c"
1808 if test -z "$ac_aux_dir"; then
1809 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
1812 # These three variables are undocumented and unsupported,
1813 # and are intended to be withdrawn in a future Autoconf release.
1814 # They can cause serious problems if a builder's source tree is in a directory
1815 # whose full name contains unusual characters.
1816 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1817 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1818 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1822 AROS_BUILDDIR
=`${PWDCMD-pwd}`
1823 AROS_BUILDDIR_UNIX
=${PWD}
1825 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1828 NOLINKFLAGS
="-nostdlib -nostartfiles"
1829 LDFLAGS
=$NOLINKFLAGS
1830 # The first step is to find the binaries.
1832 ac_cpp
='$CPP $CPPFLAGS'
1833 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1834 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1835 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1836 if test -n "$ac_tool_prefix"; then
1837 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1838 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1840 $as_echo_n "checking for $ac_word... " >&6; }
1841 if ${ac_cv_prog_CC+:} false
; then :
1842 $as_echo_n "(cached) " >&6
1844 if test -n "$CC"; then
1845 ac_cv_prog_CC
="$CC" # Let the user override the test.
1847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1851 test -z "$as_dir" && as_dir
=.
1852 for ac_exec_ext
in '' $ac_executable_extensions; do
1853 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1854 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1865 if test -n "$CC"; then
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1867 $as_echo "$CC" >&6; }
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1870 $as_echo "no" >&6; }
1875 if test -z "$ac_cv_prog_CC"; then
1877 # Extract the first word of "gcc", so it can be a program name with args.
1878 set dummy gcc
; ac_word
=$2
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1880 $as_echo_n "checking for $ac_word... " >&6; }
1881 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
1882 $as_echo_n "(cached) " >&6
1884 if test -n "$ac_ct_CC"; then
1885 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1891 test -z "$as_dir" && as_dir
=.
1892 for ac_exec_ext
in '' $ac_executable_extensions; do
1893 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1894 ac_cv_prog_ac_ct_CC
="gcc"
1895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1904 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1905 if test -n "$ac_ct_CC"; then
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1907 $as_echo "$ac_ct_CC" >&6; }
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1910 $as_echo "no" >&6; }
1913 if test "x$ac_ct_CC" = x
; then
1916 case $cross_compiling:$ac_tool_warned in
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1920 ac_tool_warned
=yes ;;
1928 if test -z "$CC"; then
1929 if test -n "$ac_tool_prefix"; then
1930 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1931 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1933 $as_echo_n "checking for $ac_word... " >&6; }
1934 if ${ac_cv_prog_CC+:} false
; then :
1935 $as_echo_n "(cached) " >&6
1937 if test -n "$CC"; then
1938 ac_cv_prog_CC
="$CC" # Let the user override the test.
1940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1944 test -z "$as_dir" && as_dir
=.
1945 for ac_exec_ext
in '' $ac_executable_extensions; do
1946 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1947 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1958 if test -n "$CC"; then
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1960 $as_echo "$CC" >&6; }
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1963 $as_echo "no" >&6; }
1969 if test -z "$CC"; then
1970 # Extract the first word of "cc", so it can be a program name with args.
1971 set dummy cc
; ac_word
=$2
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1973 $as_echo_n "checking for $ac_word... " >&6; }
1974 if ${ac_cv_prog_CC+:} false
; then :
1975 $as_echo_n "(cached) " >&6
1977 if test -n "$CC"; then
1978 ac_cv_prog_CC
="$CC" # Let the user override the test.
1981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1985 test -z "$as_dir" && as_dir
=.
1986 for ac_exec_ext
in '' $ac_executable_extensions; do
1987 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1988 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1989 ac_prog_rejected
=yes
1993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2000 if test $ac_prog_rejected = yes; then
2001 # We found a bogon in the path, so make sure we never use it.
2002 set dummy
$ac_cv_prog_CC
2004 if test $# != 0; then
2005 # We chose a different compiler from the bogus one.
2006 # However, it has the same basename, so the bogon will be chosen
2007 # first if we set CC to just the basename; use the full file name.
2009 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2015 if test -n "$CC"; then
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2017 $as_echo "$CC" >&6; }
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2020 $as_echo "no" >&6; }
2025 if test -z "$CC"; then
2026 if test -n "$ac_tool_prefix"; then
2027 for ac_prog
in cl.exe
2029 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2030 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2032 $as_echo_n "checking for $ac_word... " >&6; }
2033 if ${ac_cv_prog_CC+:} false
; then :
2034 $as_echo_n "(cached) " >&6
2036 if test -n "$CC"; then
2037 ac_cv_prog_CC
="$CC" # Let the user override the test.
2039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2043 test -z "$as_dir" && as_dir
=.
2044 for ac_exec_ext
in '' $ac_executable_extensions; do
2045 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2046 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2057 if test -n "$CC"; then
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2059 $as_echo "$CC" >&6; }
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2062 $as_echo "no" >&6; }
2066 test -n "$CC" && break
2069 if test -z "$CC"; then
2071 for ac_prog
in cl.exe
2073 # Extract the first word of "$ac_prog", so it can be a program name with args.
2074 set dummy
$ac_prog; ac_word
=$2
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2076 $as_echo_n "checking for $ac_word... " >&6; }
2077 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2078 $as_echo_n "(cached) " >&6
2080 if test -n "$ac_ct_CC"; then
2081 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2087 test -z "$as_dir" && as_dir
=.
2088 for ac_exec_ext
in '' $ac_executable_extensions; do
2089 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2090 ac_cv_prog_ac_ct_CC
="$ac_prog"
2091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2100 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2101 if test -n "$ac_ct_CC"; then
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2103 $as_echo "$ac_ct_CC" >&6; }
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2106 $as_echo "no" >&6; }
2110 test -n "$ac_ct_CC" && break
2113 if test "x$ac_ct_CC" = x
; then
2116 case $cross_compiling:$ac_tool_warned in
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2120 ac_tool_warned
=yes ;;
2129 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2131 as_fn_error $?
"no acceptable C compiler found in \$PATH
2132 See \`config.log' for more details" "$LINENO" 5; }
2134 # Provide some information about the compiler.
2135 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2138 for ac_option
in --version -v -V -qversion; do
2139 { { ac_try
="$ac_compiler $ac_option >&5"
2141 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2142 *) ac_try_echo=$ac_try;;
2144 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2145 $as_echo "$ac_try_echo"; } >&5
2146 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2148 if test -s conftest.err; then
2150 ... rest of stderr output deleted ...
2151 10q' conftest.err >conftest.er1
2152 cat conftest.er1 >&5
2154 rm -f conftest.er1 conftest.err
2155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2156 test $ac_status = 0; }
2159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2160 /* end confdefs.h. */
2170 ac_clean_files_save=$ac_clean_files
2171 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2172 # Try to create an executable without -o first, disregard a.out.
2173 # It will help us diagnose broken compilers, and finding out an intuition
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2176 $as_echo_n "checking whether the C compiler works... " >&6; }
2177 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2179 # The possible output files:
2180 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2183 for ac_file in $ac_files
2186 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2187 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2192 if { { ac_try="$ac_link_default"
2194 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2195 *) ac_try_echo
=$ac_try;;
2197 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2198 $as_echo "$ac_try_echo"; } >&5
2199 (eval "$ac_link_default") 2>&5
2201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2202 test $ac_status = 0; }; then :
2203 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2204 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2205 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2206 # so that the user can short-circuit this test for compilers unknown to
2208 for ac_file
in $ac_files ''
2210 test -f "$ac_file" ||
continue
2212 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2215 # We found the default executable, but exeext='' is most
2219 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2221 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2223 # We set ac_cv_exeext here because the later test for it is not
2224 # safe: cross compilers may not add the suffix if given an `-o'
2225 # argument, so we may need to know it at that point already.
2226 # Even if this section looks crufty: it has the advantage of
2233 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2238 if test -z "$ac_file"; then :
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2240 $as_echo "no" >&6; }
2241 $as_echo "$as_me: failed program was:" >&5
2242 sed 's/^/| /' conftest.
$ac_ext >&5
2244 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2245 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2246 as_fn_error
77 "C compiler cannot create executables
2247 See \`config.log' for more details" "$LINENO" 5; }
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2250 $as_echo "yes" >&6; }
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2253 $as_echo_n "checking for C compiler default output file name... " >&6; }
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2255 $as_echo "$ac_file" >&6; }
2256 ac_exeext
=$ac_cv_exeext
2258 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2259 ac_clean_files
=$ac_clean_files_save
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2261 $as_echo_n "checking for suffix of executables... " >&6; }
2262 if { { ac_try
="$ac_link"
2264 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2265 *) ac_try_echo=$ac_try;;
2267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2268 $as_echo "$ac_try_echo"; } >&5
2269 (eval "$ac_link") 2>&5
2271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2272 test $ac_status = 0; }; then :
2273 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2274 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2275 # work properly (i.e., refer to `conftest.exe'), while it won't with
2277 for ac_file
in conftest.exe conftest conftest.
*; do
2278 test -f "$ac_file" ||
continue
2280 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2281 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2287 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2288 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2289 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2290 See \`config.log' for more details" "$LINENO" 5; }
2292 rm -f conftest conftest
$ac_cv_exeext
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2294 $as_echo "$ac_cv_exeext" >&6; }
2296 rm -f conftest.
$ac_ext
2297 EXEEXT
=$ac_cv_exeext
2299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2300 /* end confdefs.h. */
2305 FILE *f = fopen ("conftest.out", "w");
2306 return ferror (f) || fclose (f) != 0;
2312 ac_clean_files
="$ac_clean_files conftest.out"
2313 # Check that the compiler produces executables we can run. If not, either
2314 # the compiler is broken, or we cross compile.
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2316 $as_echo_n "checking whether we are cross compiling... " >&6; }
2317 if test "$cross_compiling" != yes; then
2318 { { ac_try
="$ac_link"
2320 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2321 *) ac_try_echo=$ac_try;;
2323 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2324 $as_echo "$ac_try_echo"; } >&5
2325 (eval "$ac_link") 2>&5
2327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2328 test $ac_status = 0; }
2329 if { ac_try='./conftest$ac_cv_exeext'
2330 { { case "(($ac_try" in
2331 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2332 *) ac_try_echo
=$ac_try;;
2334 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2335 $as_echo "$ac_try_echo"; } >&5
2336 (eval "$ac_try") 2>&5
2338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2339 test $ac_status = 0; }; }; then
2342 if test "$cross_compiling" = maybe
; then
2345 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2346 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2347 as_fn_error $?
"cannot run C compiled programs.
2348 If you meant to cross compile, use \`--host'.
2349 See \`config.log' for more details" "$LINENO" 5; }
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2354 $as_echo "$cross_compiling" >&6; }
2356 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2357 ac_clean_files
=$ac_clean_files_save
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2359 $as_echo_n "checking for suffix of object files... " >&6; }
2360 if ${ac_cv_objext+:} false
; then :
2361 $as_echo_n "(cached) " >&6
2363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2364 /* end confdefs.h. */
2374 rm -f conftest.o conftest.obj
2375 if { { ac_try
="$ac_compile"
2377 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2378 *) ac_try_echo=$ac_try;;
2380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2381 $as_echo "$ac_try_echo"; } >&5
2382 (eval "$ac_compile") 2>&5
2384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2385 test $ac_status = 0; }; then :
2386 for ac_file in conftest.o conftest.obj conftest.*; do
2387 test -f "$ac_file" || continue;
2389 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2390 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2395 $as_echo "$as_me: failed program was:" >&5
2396 sed 's/^/| /' conftest.$ac_ext >&5
2398 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2400 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2401 See \
`config.log' for more details" "$LINENO" 5; }
2403 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2406 $as_echo "$ac_cv_objext" >&6; }
2407 OBJEXT=$ac_cv_objext
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2410 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2411 if ${ac_cv_c_compiler_gnu+:} false; then :
2412 $as_echo_n "(cached) " >&6
2414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2415 /* end confdefs.h. */
2428 if ac_fn_c_try_compile "$LINENO"; then :
2433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2434 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2438 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2439 if test $ac_compiler_gnu = yes; then
2444 ac_test_CFLAGS=${CFLAGS+set}
2445 ac_save_CFLAGS=$CFLAGS
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2447 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2448 if ${ac_cv_prog_cc_g+:} false; then :
2449 $as_echo_n "(cached) " >&6
2451 ac_save_c_werror_flag=$ac_c_werror_flag
2452 ac_c_werror_flag=yes
2455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2456 /* end confdefs.h. */
2466 if ac_fn_c_try_compile "$LINENO"; then :
2470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2471 /* end confdefs.h. */
2481 if ac_fn_c_try_compile "$LINENO"; then :
2484 ac_c_werror_flag=$ac_save_c_werror_flag
2486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2487 /* end confdefs.h. */
2497 if ac_fn_c_try_compile "$LINENO"; then :
2500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2505 ac_c_werror_flag=$ac_save_c_werror_flag
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2508 $as_echo "$ac_cv_prog_cc_g" >&6; }
2509 if test "$ac_test_CFLAGS" = set; then
2510 CFLAGS=$ac_save_CFLAGS
2511 elif test $ac_cv_prog_cc_g = yes; then
2512 if test "$GCC" = yes; then
2518 if test "$GCC" = yes; then
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2525 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2526 if ${ac_cv_prog_cc_c89+:} false; then :
2527 $as_echo_n "(cached) " >&6
2529 ac_cv_prog_cc_c89=no
2531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2532 /* end confdefs.h. */
2536 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2537 struct buf { int x; };
2538 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2539 static char *e (p, i)
2545 static char *f (char * (*g) (char **, int), char **p, ...)
2550 s = g (p, va_arg (v,int));
2555 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2556 function prototypes and stuff, but not '\xHH' hex character constants.
2557 These don't provoke an error unfortunately, instead are silently treated
2558 as 'x'. The following induces an error, until -std is added to get
2559 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2560 array size at least. It's necessary to write '\x00'==0 to get something
2561 that's true only with -std. */
2562 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2564 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2565 inside strings and character constants. */
2567 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2569 int test (int i, double x);
2570 struct s1 {int (*f) (int a);};
2571 struct s2 {int (*f) (double a);};
2572 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2578 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2583 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2584 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2586 CC="$ac_save_CC $ac_arg"
2587 if ac_fn_c_try_compile "$LINENO"; then :
2588 ac_cv_prog_cc_c89=$ac_arg
2590 rm -f core conftest.err conftest.$ac_objext
2591 test "x$ac_cv_prog_cc_c89" != "xno" && break
2593 rm -f conftest.$ac_ext
2598 case "x$ac_cv_prog_cc_c89" in
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2601 $as_echo "none needed" >&6; } ;;
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2604 $as_echo "unsupported" >&6; } ;;
2606 CC="$CC $ac_cv_prog_cc_c89"
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2608 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2610 if test "x$ac_cv_prog_cc_c89" != xno; then :
2615 ac_cpp='$CPP $CPPFLAGS'
2616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2622 $as_echo_n "checking target config location... " >&6; }
2624 # Check whether --with-config-dir was given.
2625 if test "${with_config_dir+set}" = set; then :
2626 withval=$with_config_dir; targetcfg_dir="$withval"
2631 if test "$targetcfg_dir" = ""; then
2632 as_fn_error $? "missing config directory!" "$LINENO" 5
2634 aros_targetcfg_dir="$targetcfg_dir"
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2637 $as_echo "$aros_targetcfg_dir" >&6; }
2639 #-----------------------------------------------------------------------------
2641 # Check if the target compiler supports some features:
2644 # -floop-interchange
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2648 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2652 /* end confdefs.h. */
2662 if ac_fn_c_try_compile "$LINENO"; then :
2667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2669 $as_echo "$aros_lto" >&6; }
2670 if test "x-$aros_lto" = "x-yes" ; then
2671 aros_cflags_lto=-flto
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2675 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2678 /* end confdefs.h. */
2688 if ac_fn_c_try_compile "$LINENO"; then :
2689 aros_loop_block="yes"
2691 aros_loop_block="no"
2693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2695 $as_echo "$aros_loop_block" >&6; }
2696 if test "x-$aros_loop_block" = "x-yes" ; then
2697 aros_cflags_loop_block=-floop-block
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2701 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2702 CFLAGS=-floop-interchange
2703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2704 /* end confdefs.h. */
2714 if ac_fn_c_try_compile "$LINENO"; then :
2715 aros_loop_interchange="yes"
2717 aros_loop_interchange="no"
2719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
2721 $as_echo "$aros_loop_interchange" >&6; }
2722 if test "x-$aros_loop_interchange" = "x-yes" ; then
2723 aros_cflags_loop_interchange=-floop-interchange
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
2727 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
2728 CFLAGS=-floop-strip-mine
2729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2730 /* end confdefs.h. */
2740 if ac_fn_c_try_compile "$LINENO"; then :
2741 aros_loop_strip_mine="yes"
2743 aros_loop_strip_mine="no"
2745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
2747 $as_echo "$aros_loop_strip_mine" >&6; }
2748 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
2749 aros_cflags_loop_strip_mine=-floop-strip-mine
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
2753 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
2755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2756 /* end confdefs.h. */
2766 if ac_fn_c_try_compile "$LINENO"; then :
2771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
2773 $as_echo "$has_iquote" >&6; }
2774 if test "x-$has_iquote" = "x-yes" ; then
2775 aros_cflags_iquote=-iquote
2776 aros_cflags_iquote_end=
2778 aros_cflags_iquote=-I
2779 aros_cflags_iquote_end=-I-
2782 #-----------------------------------------------------------------------------
2784 # Check if the target compiler supports some options used for de-linting:
2785 # -Wunused-command-line-argument
2786 # -Wunknown-warning-option
2787 # -Wunused-but-set-variable
2791 # -Wstrict-prototypes
2794 # -Wmisleading-indentation
2800 # -Wunused-parameter
2802 # -Wmaybe-uninitialized
2803 # -Wimplicit-function-declaration
2808 # -Wformat-contains-nul
2810 # -Waggressive-loop-optimizations
2813 # -Wdiscarded-qualifiers
2816 # -Wdiscarded-array-qualifiers
2818 # -Wint-to-pointer-cast
2819 # -Wpointer-to-int-cast
2820 # -Wunused-const-variable
2823 # -Wincompatible-pointer-types
2825 # -Wlogical-not-parentheses
2829 # -Wdeprecated-declarations
2833 # -Wunused-local-typedefs
2837 # -Wvolatile-register-var
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
2840 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
2841 CFLAGS=-Wunused-command-line-argument
2842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2843 /* end confdefs.h. */
2853 if ac_fn_c_try_compile "$LINENO"; then :
2854 aros_unused_command_line_argument="yes"
2856 aros_unused_command_line_argument="no"
2858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
2860 $as_echo "$aros_unused_command_line_argument" >&6; }
2861 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
2862 aros_cflags_unused_command_line_argument=-Wno-unused-command-line-argument
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
2866 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
2867 CFLAGS=-Wunknown-warning-option
2868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2869 /* end confdefs.h. */
2879 if ac_fn_c_try_compile "$LINENO"; then :
2880 aros_unknown_warning_option="yes"
2882 aros_unknown_warning_option="no"
2884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
2886 $as_echo "$aros_unknown_warning_option" >&6; }
2887 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
2888 aros_cflags_unknown_warning_option=-Wno-unknown-warning-option
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
2892 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
2893 CFLAGS=-Wunused-but-set-variable
2894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2895 /* end confdefs.h. */
2905 if ac_fn_c_try_compile "$LINENO"; then :
2906 aros_unused_but_set_variable="yes"
2908 aros_unused_but_set_variable="no"
2910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
2912 $as_echo "$aros_unused_but_set_variable" >&6; }
2913 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
2914 aros_cflags_unused_but_set_variable=-Wno-unused-but-set-variable
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
2918 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
2919 CFLAGS=-Wstrict-aliasing
2920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2921 /* end confdefs.h. */
2931 if ac_fn_c_try_compile "$LINENO"; then :
2932 aros_strict_aliasing="yes"
2934 aros_strict_aliasing="no"
2936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
2938 $as_echo "$aros_strict_aliasing" >&6; }
2939 if test "x-$aros_strict_aliasing" = "x-yes" ; then
2940 aros_cflags_strict_aliasing=-Wno-strict-aliasing
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
2944 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
2945 CFLAGS=-Warray-bounds
2946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2947 /* end confdefs.h. */
2957 if ac_fn_c_try_compile "$LINENO"; then :
2958 aros_array_bounds="yes"
2960 aros_array_bounds="no"
2962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
2964 $as_echo "$aros_array_bounds" >&6; }
2965 if test "x-$aros_array_bounds" = "x-yes" ; then
2966 aros_cflags_array_bounds=-Wno-array-bounds
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
2970 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
2971 CFLAGS=-Wenum-compare
2972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2973 /* end confdefs.h. */
2983 if ac_fn_c_try_compile "$LINENO"; then :
2984 aros_enum_compare="yes"
2986 aros_enum_compare="no"
2988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
2990 $as_echo "$aros_enum_compare" >&6; }
2991 if test "x-$aros_enum_compare" = "x-yes" ; then
2992 aros_cflags_enum_compare=-Wno-enum-compare
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
2996 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
2997 CFLAGS=-Wstrict-prototypes
2998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2999 /* end confdefs.h. */
3009 if ac_fn_c_try_compile "$LINENO"; then :
3010 aros_strict_prototypes="yes"
3012 aros_strict_prototypes="no"
3014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3016 $as_echo "$aros_strict_prototypes" >&6; }
3017 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3018 aros_cflags_strict_prototypes=-Wno-strict-prototypes
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3022 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3023 CFLAGS=-Wstrict-overflow
3024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3025 /* end confdefs.h. */
3035 if ac_fn_c_try_compile "$LINENO"; then :
3036 aros_strict_overflow="yes"
3038 aros_strict_overflow="no"
3040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3042 $as_echo "$aros_strict_overflow" >&6; }
3043 if test "x-$aros_strict_overflow" = "x-yes" ; then
3044 aros_cflags_strict_overflow=-Wno-strict-overflow
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3048 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3049 CFLAGS=-Wformat-security
3050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3051 /* end confdefs.h. */
3061 if ac_fn_c_try_compile "$LINENO"; then :
3062 aros_format_security="yes"
3064 aros_format_security="no"
3066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3068 $as_echo "$aros_format_security" >&6; }
3069 if test "x-$aros_format_security" = "x-yes" ; then
3070 aros_cflags_format_security=-Wno-format-security
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3074 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3075 CFLAGS=-Wmisleading-indentation
3076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3077 /* end confdefs.h. */
3087 if ac_fn_c_try_compile "$LINENO"; then :
3088 aros_misleading_indentation="yes"
3090 aros_misleading_indentation="no"
3092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3094 $as_echo "$aros_misleading_indentation" >&6; }
3095 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3096 aros_cflags_misleading_indentation=-Wno-misleading-indentation
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3100 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3101 CFLAGS=-Wnonnull-compare
3102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3103 /* end confdefs.h. */
3113 if ac_fn_c_try_compile "$LINENO"; then :
3114 aros_nonnull_compare="yes"
3116 aros_nonnull_compare="no"
3118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3120 $as_echo "$aros_nonnull_compare" >&6; }
3121 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3122 aros_cflags_nonnull_compare=-Wno-nonnull-compare
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3126 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3129 /* end confdefs.h. */
3139 if ac_fn_c_try_compile "$LINENO"; then :
3144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3146 $as_echo "$aros_unused" >&6; }
3147 if test "x-$aros_unused" = "x-yes" ; then
3148 aros_cflags_unused=-Wno-unused
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3152 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3153 CFLAGS=-Wunused-value
3154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3155 /* end confdefs.h. */
3165 if ac_fn_c_try_compile "$LINENO"; then :
3166 aros_unused_value="yes"
3168 aros_unused_value="no"
3170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3172 $as_echo "$aros_unused_value" >&6; }
3173 if test "x-$aros_unused_value" = "x-yes" ; then
3174 aros_cflags_unused_value=-Wno-unused-value
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3178 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3179 CFLAGS=-Wunused-variable
3180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3181 /* end confdefs.h. */
3191 if ac_fn_c_try_compile "$LINENO"; then :
3192 aros_unused_variable="yes"
3194 aros_unused_variable="no"
3196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3198 $as_echo "$aros_unused_variable" >&6; }
3199 if test "x-$aros_unused_variable" = "x-yes" ; then
3200 aros_cflags_unused_variable=-Wno-unused-variable
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3204 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3205 CFLAGS=-Wunused-function
3206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3207 /* end confdefs.h. */
3217 if ac_fn_c_try_compile "$LINENO"; then :
3218 aros_unused_function="yes"
3220 aros_unused_function="no"
3222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3224 $as_echo "$aros_unused_function" >&6; }
3225 if test "x-$aros_unused_function" = "x-yes" ; then
3226 aros_cflags_unused_function=-Wno-unused-function
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
3230 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
3231 CFLAGS=-Wunused-parameter
3232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3233 /* end confdefs.h. */
3243 if ac_fn_c_try_compile "$LINENO"; then :
3244 aros_unused_parameter="yes"
3246 aros_unused_parameter="no"
3248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
3250 $as_echo "$aros_unused_parameter" >&6; }
3251 if test "x-$aros_unused_parameter" = "x-yes" ; then
3252 aros_cflags_unused_parameter=-Wno-unused-parameter
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3256 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3257 CFLAGS=-Wuninitialized
3258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3259 /* end confdefs.h. */
3269 if ac_fn_c_try_compile "$LINENO"; then :
3270 aros_uninitialized="yes"
3272 aros_uninitialized="no"
3274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3276 $as_echo "$aros_uninitialized" >&6; }
3277 if test "x-$aros_uninitialized" = "x-yes" ; then
3278 aros_cflags_uninitialized=-Wno-uninitialized
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3282 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3283 CFLAGS=-Wmaybe-uninitialized
3284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3285 /* end confdefs.h. */
3295 if ac_fn_c_try_compile "$LINENO"; then :
3296 aros_maybe_uninitialized="yes"
3298 aros_maybe_uninitialized="no"
3300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3302 $as_echo "$aros_maybe_uninitialized" >&6; }
3303 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3304 aros_cflags_maybe_uninitialized=-Wno-maybe-uninitialized
3306 aros_cflags_maybe_uninitialized=$aros_cflags_uninitialized
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3310 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3311 CFLAGS=-Wimplicit-function-declaration
3312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3313 /* end confdefs.h. */
3323 if ac_fn_c_try_compile "$LINENO"; then :
3324 aros_implicit_function_declaration="yes"
3326 aros_implicit_function_declaration="no"
3328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3330 $as_echo "$aros_implicit_function_declaration" >&6; }
3331 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3332 aros_cflags_implicit_function_declaration=-Wno-implicit-function-declaration
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3336 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339 /* end confdefs.h. */
3349 if ac_fn_c_try_compile "$LINENO"; then :
3354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3356 $as_echo "$aros_format" >&6; }
3357 if test "x-$aros_format" = "x-yes" ; then
3358 aros_cflags_format=-Wno-format
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3362 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3363 CFLAGS=-Wparentheses
3364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3365 /* end confdefs.h. */
3375 if ac_fn_c_try_compile "$LINENO"; then :
3376 aros_parentheses="yes"
3378 aros_parentheses="no"
3380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3382 $as_echo "$aros_parentheses" >&6; }
3383 if test "x-$aros_parentheses" = "x-yes" ; then
3384 aros_cflags_parentheses=-Wno-parentheses
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3388 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3389 CFLAGS=-Wchar-subscripts
3390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3391 /* end confdefs.h. */
3401 if ac_fn_c_try_compile "$LINENO"; then :
3402 aros_char_subscripts="yes"
3404 aros_char_subscripts="no"
3406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3408 $as_echo "$aros_char_subscripts" >&6; }
3409 if test "x-$aros_char_subscripts" = "x-yes" ; then
3410 aros_cflags_char_subscripts=-Wno-char-subscripts
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3414 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3415 CFLAGS=-Wendif-labels
3416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3417 /* end confdefs.h. */
3427 if ac_fn_c_try_compile "$LINENO"; then :
3428 aros_endif_labels="yes"
3430 aros_endif_labels="no"
3432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3434 $as_echo "$aros_endif_labels" >&6; }
3435 if test "x-$aros_endif_labels" = "x-yes" ; then
3436 aros_cflags_endif_labels=-Wno-endif-labels
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3440 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3441 CFLAGS=-Wformat-contains-nul
3442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3443 /* end confdefs.h. */
3453 if ac_fn_c_try_compile "$LINENO"; then :
3454 aros_format_contains_nul="yes"
3456 aros_format_contains_nul="no"
3458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3460 $as_echo "$aros_format_contains_nul" >&6; }
3461 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3462 aros_cflags_format_contains_nul=-Wno-format-contains-nul
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3466 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3467 CFLAGS=-Wimplicit-int
3468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3469 /* end confdefs.h. */
3479 if ac_fn_c_try_compile "$LINENO"; then :
3480 aros_implicit_int="yes"
3482 aros_implicit_int="no"
3484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3486 $as_echo "$aros_implicit_int" >&6; }
3487 if test "x-$aros_implicit_int" = "x-yes" ; then
3488 aros_cflags_implicit_int=-Wno-implicit-int
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3492 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3493 CFLAGS=-Waggressive-loop-optimizations
3494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3495 /* end confdefs.h. */
3505 if ac_fn_c_try_compile "$LINENO"; then :
3506 aros_aggressive_loop_optimizations="yes"
3508 aros_aggressive_loop_optimizations="no"
3510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3512 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3513 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3514 aros_cflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3518 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3521 /* end confdefs.h. */
3531 if ac_fn_c_try_compile "$LINENO"; then :
3536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3538 $as_echo "$aros_cpp" >&6; }
3539 if test "x-$aros_cpp" = "x-yes" ; then
3540 aros_cflags_cpp=-Wno-cpp
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3544 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3547 /* end confdefs.h. */
3557 if ac_fn_c_try_compile "$LINENO"; then :
3562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
3564 $as_echo "$aros_switch" >&6; }
3565 if test "x-$aros_switch" = "x-yes" ; then
3566 aros_cflags_switch=-Wno-switch
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
3570 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
3571 CFLAGS=-Wdiscarded-qualifiers
3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3573 /* end confdefs.h. */
3583 if ac_fn_c_try_compile "$LINENO"; then :
3584 aros_discarded_qualifiers="yes"
3586 aros_discarded_qualifiers="no"
3588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
3590 $as_echo "$aros_discarded_qualifiers" >&6; }
3591 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
3592 aros_cflags_discarded_qualifiers=-Wno-discarded-qualifiers
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
3596 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
3597 CFLAGS=-Wsequence-point
3598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3599 /* end confdefs.h. */
3609 if ac_fn_c_try_compile "$LINENO"; then :
3610 aros_sequence_point="yes"
3612 aros_sequence_point="no"
3614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
3616 $as_echo "$aros_sequence_point" >&6; }
3617 if test "x-$aros_sequence_point" = "x-yes" ; then
3618 aros_cflags_sequence_point=-Wno-sequence-point
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
3622 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
3623 CFLAGS=-Wunknown-pragmas
3624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3625 /* end confdefs.h. */
3635 if ac_fn_c_try_compile "$LINENO"; then :
3636 aros_unknown_pragmas="yes"
3638 aros_unknown_pragmas="no"
3640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
3642 $as_echo "$aros_unknown_pragmas" >&6; }
3643 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
3644 aros_cflags_unknown_pragmas=-Wno-unknown-pragmas
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
3648 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
3649 CFLAGS=-Wdiscarded-array-qualifiers
3650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3651 /* end confdefs.h. */
3661 if ac_fn_c_try_compile "$LINENO"; then :
3662 aros_discarded_array_qualifiers="yes"
3664 aros_discarded_array_qualifiers="no"
3666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
3668 $as_echo "$aros_discarded_array_qualifiers" >&6; }
3669 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
3670 aros_cflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
3674 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
3675 CFLAGS=-Wint-conversion
3676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3677 /* end confdefs.h. */
3687 if ac_fn_c_try_compile "$LINENO"; then :
3688 aros_int_conversion="yes"
3690 aros_int_conversion="no"
3692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
3694 $as_echo "$aros_int_conversion" >&6; }
3695 if test "x-$aros_int_conversion" = "x-yes" ; then
3696 aros_cflags_int_conversion=-Wno-int-conversion
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
3700 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
3701 CFLAGS=-Wint-to-pointer-cast
3702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3703 /* end confdefs.h. */
3713 if ac_fn_c_try_compile "$LINENO"; then :
3714 aros_int_to_pointer_cast="yes"
3716 aros_int_to_pointer_cast="no"
3718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
3720 $as_echo "$aros_int_to_pointer_cast" >&6; }
3721 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
3722 aros_cflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
3726 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
3727 CFLAGS=-Wpointer-to-int-cast
3728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3729 /* end confdefs.h. */
3739 if ac_fn_c_try_compile "$LINENO"; then :
3740 aros_pointer_to_int_cast="yes"
3742 aros_pointer_to_int_cast="no"
3744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
3746 $as_echo "$aros_pointer_to_int_cast" >&6; }
3747 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
3748 aros_cflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
3752 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
3753 CFLAGS=-Wunused-const-variable
3754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3755 /* end confdefs.h. */
3765 if ac_fn_c_try_compile "$LINENO"; then :
3766 aros_unused_const_variable="yes"
3768 aros_unused_const_variable="no"
3770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
3772 $as_echo "$aros_unused_const_variable" >&6; }
3773 if test "x-$aros_unused_const_variable" = "x-yes" ; then
3774 aros_cflags_unused_const_variable=-Wno-unused-const-variable
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
3778 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
3779 CFLAGS=-Wwrite-strings
3780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3781 /* end confdefs.h. */
3791 if ac_fn_c_try_compile "$LINENO"; then :
3792 aros_write_strings="yes"
3794 aros_write_strings="no"
3796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
3798 $as_echo "$aros_write_strings" >&6; }
3799 if test "x-$aros_write_strings" = "x-yes" ; then
3800 aros_cflags_write_strings=-Wno-write-strings
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
3804 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
3806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3807 /* end confdefs.h. */
3817 if ac_fn_c_try_compile "$LINENO"; then :
3822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
3824 $as_echo "$aros_comment" >&6; }
3825 if test "x-$aros_comment" = "x-yes" ; then
3826 aros_cflags_comment=-Wno-comment
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
3830 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
3831 CFLAGS=-Wincompatible-pointer-types
3832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3833 /* end confdefs.h. */
3843 if ac_fn_c_try_compile "$LINENO"; then :
3844 aros_incompatible_pointer_types="yes"
3846 aros_incompatible_pointer_types="no"
3848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
3850 $as_echo "$aros_incompatible_pointer_types" >&6; }
3851 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
3852 aros_cflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
3856 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
3857 CFLAGS=-Wbool-compare
3858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3859 /* end confdefs.h. */
3869 if ac_fn_c_try_compile "$LINENO"; then :
3870 aros_bool_compare="yes"
3872 aros_bool_compare="no"
3874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
3876 $as_echo "$aros_bool_compare" >&6; }
3877 if test "x-$aros_bool_compare" = "x-yes" ; then
3878 aros_cflags_bool_compare=-Wno-bool-compare
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
3882 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
3883 CFLAGS=-Wlogical-not-parentheses
3884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3885 /* end confdefs.h. */
3895 if ac_fn_c_try_compile "$LINENO"; then :
3896 aros_logical_not_parentheses="yes"
3898 aros_logical_not_parentheses="no"
3900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
3902 $as_echo "$aros_logical_not_parentheses" >&6; }
3903 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
3904 aros_cflags_logical_not_parentheses=-Wno-logical-not-parentheses
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
3908 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
3909 CFLAGS=-Wpointer-sign
3910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3911 /* end confdefs.h. */
3921 if ac_fn_c_try_compile "$LINENO"; then :
3922 aros_pointer_sign="yes"
3924 aros_pointer_sign="no"
3926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
3928 $as_echo "$aros_pointer_sign" >&6; }
3929 if test "x-$aros_pointer_sign" = "x-yes" ; then
3930 aros_cflags_pointer_sign=-Wno-pointer-sign
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
3934 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
3935 CFLAGS=-Wshift-overflow
3936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3937 /* end confdefs.h. */
3947 if ac_fn_c_try_compile "$LINENO"; then :
3948 aros_shift_overflow="yes"
3950 aros_shift_overflow="no"
3952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
3954 $as_echo "$aros_shift_overflow" >&6; }
3955 if test "x-$aros_shift_overflow" = "x-yes" ; then
3956 aros_cflags_shift_overflow=-Wno-shift-overflow
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
3960 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
3961 CFLAGS=-Wframe-address
3962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3963 /* end confdefs.h. */
3973 if ac_fn_c_try_compile "$LINENO"; then :
3974 aros_frame_address="yes"
3976 aros_frame_address="no"
3978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
3980 $as_echo "$aros_frame_address" >&6; }
3981 if test "x-$aros_frame_address" = "x-yes" ; then
3982 aros_cflags_frame_address=-Wno-frame-address
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
3986 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
3987 CFLAGS=-Wdeprecated-declarations
3988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3989 /* end confdefs.h. */
3999 if ac_fn_c_try_compile "$LINENO"; then :
4000 aros_deprecated_declarations="yes"
4002 aros_deprecated_declarations="no"
4004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4006 $as_echo "$aros_deprecated_declarations" >&6; }
4007 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4008 aros_cflags_deprecated_declarations=-Wno-deprecated-declarations
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4012 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4013 CFLAGS=-Wsign-compare
4014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4015 /* end confdefs.h. */
4025 if ac_fn_c_try_compile "$LINENO"; then :
4026 aros_sign_compare="yes"
4028 aros_sign_compare="no"
4030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4032 $as_echo "$aros_sign_compare" >&6; }
4033 if test "x-$aros_sign_compare" = "x-yes" ; then
4034 aros_cflags_sign_compare=-Wno-sign-compare
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4038 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4041 /* end confdefs.h. */
4051 if ac_fn_c_try_compile "$LINENO"; then :
4052 aros_attributes="yes"
4054 aros_attributes="no"
4056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4058 $as_echo "$aros_attributes" >&6; }
4059 if test "x-$aros_attributes" = "x-yes" ; then
4060 aros_cflags_attributes=-Wno-attributes
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4064 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4067 /* end confdefs.h. */
4077 if ac_fn_c_try_compile "$LINENO"; then :
4082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4084 $as_echo "$aros_overflow" >&6; }
4085 if test "x-$aros_overflow" = "x-yes" ; then
4086 aros_cflags_overflow=-Wno-overflow
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4090 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4091 CFLAGS=-Wunused-local-typedefs
4092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4093 /* end confdefs.h. */
4103 if ac_fn_c_try_compile "$LINENO"; then :
4104 aros_unused_local_typedefs="yes"
4106 aros_unused_local_typedefs="no"
4108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4110 $as_echo "$aros_unused_local_typedefs" >&6; }
4111 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4112 aros_cflags_unused_local_typedefs=-Wno-unused-local-typedefs
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4116 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4117 CFLAGS=-Wmissing-braces
4118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4119 /* end confdefs.h. */
4129 if ac_fn_c_try_compile "$LINENO"; then :
4130 aros_missing_braces="yes"
4132 aros_missing_braces="no"
4134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4136 $as_echo "$aros_missing_braces" >&6; }
4137 if test "x-$aros_missing_braces" = "x-yes" ; then
4138 aros_cflags_missing_braces=-Wno-missing-braces
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4142 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4143 CFLAGS=-Wconversion-null
4144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4145 /* end confdefs.h. */
4155 if ac_fn_c_try_compile "$LINENO"; then :
4156 aros_conversion_null="yes"
4158 aros_conversion_null="no"
4160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4162 $as_echo "$aros_conversion_null" >&6; }
4163 if test "x-$aros_conversion_null" = "x-yes" ; then
4164 aros_cflags_conversion_null=-Wno-conversion-null
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4168 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171 /* end confdefs.h. */
4181 if ac_fn_c_try_compile "$LINENO"; then :
4182 aros_narrowing="yes"
4186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4188 $as_echo "$aros_narrowing" >&6; }
4189 if test "x-$aros_narrowing" = "x-yes" ; then
4190 aros_cflags_narrowing=-Wno-narrowing
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4194 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4195 CFLAGS=-Wvolatile-register-var
4196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h. */
4207 if ac_fn_c_try_compile "$LINENO"; then :
4208 aros_volatile_register_var="yes"
4210 aros_volatile_register_var="no"
4212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4214 $as_echo "$aros_volatile_register_var" >&6; }
4215 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4216 aros_cflags_volatile_register_var=-Wno-volatile-register-var
4281 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
4284 cat >confcache <<\_ACEOF
4285 # This file is a shell script that caches the results of configure
4286 # tests run on this system so they can be shared between configure
4287 # scripts and configure runs, see configure's option --config-cache.
4288 # It is not useful on other systems. If it contains results you don't
4289 # want to keep, you may remove or edit it.
4291 # config.status only pays attention to the cache file if you give it
4292 # the --recheck option to rerun configure.
4294 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
4295 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4300 # The following way of writing the cache mishandles newlines in values,
4301 # but we know of no workaround that is simple, portable, and efficient.
4302 # So, we kill variables containing newlines.
4303 # Ultrix sh set writes to stderr and can't be redirected directly,
4304 # and sets the high bit in the cache file unless we assign to the vars.
4306 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4307 eval ac_val
=\$
$ac_var
4311 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4312 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4315 _ | IFS | as_nl
) ;; #(
4316 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4317 *) { eval $ac_var=; unset $ac_var;} ;;
4323 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4324 *${as_nl}ac_space
=\
*)
4325 # `set' does not quote correctly, so add quotes: double-quote
4326 # substitution turns \\\\ into \\, and sed turns \\ into \.
4329 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4332 # `set' quotes correctly as required by POSIX, so do not add quotes.
4333 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4342 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4344 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4346 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4347 if test -w "$cache_file"; then
4348 if test "x$cache_file" != "x/dev/null"; then
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4350 $as_echo "$as_me: updating cache $cache_file" >&6;}
4351 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4352 cat confcache
>"$cache_file"
4354 case $cache_file in #(
4356 mv -f confcache
"$cache_file"$$
&&
4357 mv -f "$cache_file"$$
"$cache_file" ;; #(
4359 mv -f confcache
"$cache_file" ;;
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4365 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4370 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4371 # Let make expand exec_prefix.
4372 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4374 # Transform confdefs.h into DEFS.
4375 # Protect against shell expansion while executing Makefile rules.
4376 # Protect against Makefile macro expansion.
4378 # If the first sed substitution is executed (which looks for macros that
4379 # take arguments), then branch to the quote section. Otherwise,
4380 # look for a macro that doesn't take arguments.
4390 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4392 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4396 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4409 DEFS
=`sed -n "$ac_script" confdefs.h`
4415 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4416 # 1. Remove the extension, and $U if already installed.
4417 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4418 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4419 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4420 # will be set to the directory where LIBOBJS objects are built.
4421 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4422 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4426 LTLIBOBJS
=$ac_ltlibobjs
4430 : "${CONFIG_STATUS=./config.status}"
4432 ac_clean_files_save
=$ac_clean_files
4433 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4435 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4437 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4439 # Generated by $as_me.
4440 # Run this file to recreate the current configuration.
4441 # Compiler output produced by configure, useful for debugging
4442 # configure, is in config.log if it exists.
4448 SHELL=\${CONFIG_SHELL-$SHELL}
4451 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4452 ## -------------------- ##
4453 ## M4sh Initialization. ##
4454 ## -------------------- ##
4456 # Be more Bourne compatible
4457 DUALCASE
=1; export DUALCASE
# for MKS sh
4458 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4461 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4462 # is contrary to our usage. Disable this feature.
4463 alias -g '${1+"$@"}'='"$@"'
4464 setopt NO_GLOB_SUBST
4466 case `(set -o) 2>/dev/null` in #(
4478 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4479 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4480 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4481 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4482 # Prefer a ksh shell builtin over an external printf program on Solaris,
4483 # but without wasting forks for bash or zsh.
4484 if test -z "$BASH_VERSION$ZSH_VERSION" \
4485 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4486 as_echo='print
-r --'
4487 as_echo_n='print
-rn --'
4488 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4489 as_echo='printf %s
\n'
4490 as_echo_n='printf %s
'
4492 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4493 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4494 as_echo_n='/usr
/ucb
/echo -n'
4496 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4497 as_echo_n_body='eval
4501 expr "X$arg" : "X\\(.*\\)$as_nl";
4502 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4504 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4506 export as_echo_n_body
4507 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4510 as_echo='sh
-c $as_echo_body as_echo
'
4513 # The user is always right.
4514 if test "${PATH_SEPARATOR+set}" != set; then
4516 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4517 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4524 # We need space, tab and new line, in precisely that order. Quoting is
4525 # there to prevent editors from complaining about space-tab.
4526 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4527 # splitting by setting IFS to empty value.)
4530 # Find who we are. Look in the path if we contain no directory separator.
4533 *[\\/]* ) as_myself=$0 ;;
4534 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4538 test -z "$as_dir" && as_dir=.
4539 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4545 # We did not find ourselves, most probably we were run as `sh COMMAND'
4546 # in which case we are not to be found in the path.
4547 if test "x$as_myself" = x
; then
4550 if test ! -f "$as_myself"; then
4551 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4555 # Unset variables that we do not need and which cause bugs (e.g. in
4556 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4557 # suppresses any "Segmentation fault" message there. '((' could
4558 # trigger a bug in pdksh 5.2.14.
4559 for as_var
in BASH_ENV ENV MAIL MAILPATH
4560 do eval test x\
${$as_var+set} = xset \
4561 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4574 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4577 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4578 # ----------------------------------------
4579 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4580 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4581 # script with STATUS, using 1 if that was 0.
4584 as_status
=$1; test $as_status -eq 0 && as_status
=1
4586 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4587 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4589 $as_echo "$as_me: error: $2" >&2
4590 as_fn_exit
$as_status
4594 # as_fn_set_status STATUS
4595 # -----------------------
4596 # Set $? to STATUS, without forking.
4600 } # as_fn_set_status
4604 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4614 # Portably unset VAR.
4617 { eval $1=; unset $1;}
4619 as_unset
=as_fn_unset
4620 # as_fn_append VAR VALUE
4621 # ----------------------
4622 # Append the text in VALUE to the end of the definition contained in VAR. Take
4623 # advantage of any shell optimizations that allow amortized linear growth over
4624 # repeated appends, instead of the typical quadratic growth present in naive
4626 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4627 eval 'as_fn_append ()
4638 # as_fn_arith ARG...
4639 # ------------------
4640 # Perform arithmetic evaluation on the ARGs, and store the result in the
4641 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4642 # must be portable across $(()) and expr.
4643 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4644 eval 'as_fn_arith ()
4651 as_val
=`expr "$@" || test $? -eq 1`
4656 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4657 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4663 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4664 as_basename
=basename
4669 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4675 as_me
=`$as_basename -- "$0" ||
4676 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4677 X"$0" : 'X\(//\)$' \| \
4678 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4680 sed '/^.*\/\([^/][^/]*\)\/*$/{
4694 # Avoid depending upon Character Ranges.
4695 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4696 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4697 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4698 as_cr_digits
='0123456789'
4699 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4701 ECHO_C
= ECHO_N
= ECHO_T
=
4702 case `echo -n x` in #(((((
4704 case `echo 'xy\c'` in
4705 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4707 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4714 rm -f conf$$ conf$$.exe conf$$.
file
4715 if test -d conf$$.dir
; then
4716 rm -f conf$$.dir
/conf$$.
file
4719 mkdir conf$$.dir
2>/dev
/null
4721 if (echo >conf$$.
file) 2>/dev
/null
; then
4722 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4724 # ... but there are two gotchas:
4725 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4726 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4727 # In both cases, we have to default to `cp -pR'.
4728 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4730 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4738 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4739 rmdir conf$$.dir
2>/dev
/null
4744 # Create "$as_dir" as a directory, including parents if necessary.
4749 -*) as_dir
=.
/$as_dir;;
4751 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4755 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4756 *) as_qdir
=$as_dir;;
4758 as_dirs
="'$as_qdir' $as_dirs"
4759 as_dir
=`$as_dirname -- "$as_dir" ||
4760 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4761 X"$as_dir" : 'X\(//\)[^/]' \| \
4762 X"$as_dir" : 'X\(//\)$' \| \
4763 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4764 $as_echo X"$as_dir" |
4765 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4782 test -d "$as_dir" && break
4784 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4785 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4789 if mkdir
-p .
2>/dev
/null
; then
4790 as_mkdir_p
='mkdir -p "$as_dir"'
4792 test -d .
/-p && rmdir .
/-p
4797 # as_fn_executable_p FILE
4798 # -----------------------
4799 # Test if FILE is an executable regular file.
4800 as_fn_executable_p
()
4802 test -f "$1" && test -x "$1"
4803 } # as_fn_executable_p
4805 as_executable_p
=as_fn_executable_p
4807 # Sed expression to map a string onto a valid CPP name.
4808 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4810 # Sed expression to map a string onto a valid variable name.
4811 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4815 ## ----------------------------------- ##
4816 ## Main body of $CONFIG_STATUS script. ##
4817 ## ----------------------------------- ##
4819 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4822 # Save the log message, to keep $0 and so on meaningful, and to
4823 # report actual input values of CONFIG_FILES etc. instead of their
4824 # values after options handling.
4826 This file was extended by $as_me, which was
4827 generated by GNU Autoconf 2.69. Invocation command line was
4829 CONFIG_FILES = $CONFIG_FILES
4830 CONFIG_HEADERS = $CONFIG_HEADERS
4831 CONFIG_LINKS = $CONFIG_LINKS
4832 CONFIG_COMMANDS = $CONFIG_COMMANDS
4835 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4840 case $ac_config_files in *"
4841 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4847 # Files that config.status was made for.
4848 config_files="$ac_config_files"
4852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4854 \`$as_me' instantiates files and other configuration actions
4855 from templates according to the current configuration. Unless the files
4856 and actions are specified as TAGs, all are instantiated by default.
4858 Usage: $0 [OPTION]... [TAG]...
4860 -h, --help print this help, then exit
4861 -V, --version print version number and configuration settings, then exit
4862 --config print configuration, then exit
4863 -q, --quiet, --silent
4864 do not print progress messages
4865 -d, --debug don't remove temporary files
4866 --recheck update $as_me by reconfiguring in the same conditions
4867 --file=FILE[:TEMPLATE]
4868 instantiate the configuration file FILE
4870 Configuration files:
4873 Report bugs to the package provider."
4876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4877 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4880 configured by $0, generated by GNU Autoconf 2.69,
4881 with options \\"\$ac_cs_config\\"
4883 Copyright (C) 2012 Free Software Foundation, Inc.
4884 This config.status script is free software; the Free Software Foundation
4885 gives unlimited permission to copy, distribute and modify it."
4889 test -n "\$AWK" || AWK=awk
4892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4893 # The default lists apply if the user does not specify any file.
4899 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4900 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4904 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4916 # Handling of the options.
4917 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4919 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4920 $as_echo "$ac_cs_version"; exit ;;
4921 --config |
--confi |
--conf |
--con |
--co |
--c )
4922 $as_echo "$ac_cs_config"; exit ;;
4923 --debug |
--debu |
--deb |
--de |
--d |
-d )
4925 --file |
--fil |
--fi |
--f )
4928 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4929 '') as_fn_error $?
"missing file argument" ;;
4931 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4932 ac_need_defaults
=false
;;
4933 --he |
--h |
--help |
--hel |
-h )
4934 $as_echo "$ac_cs_usage"; exit ;;
4935 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4936 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4940 -*) as_fn_error $?
"unrecognized option: \`$1'
4941 Try \`$0 --help' for more information." ;;
4943 *) as_fn_append ac_config_targets
" $1"
4944 ac_need_defaults
=false
;;
4950 ac_configure_extra_args
=
4952 if $ac_cs_silent; then
4954 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4959 if \$ac_cs_recheck; then
4960 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4962 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4963 CONFIG_SHELL='$SHELL'
4969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4973 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4974 ## Running $as_me. ##
4980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4985 # Handling of arguments.
4986 for ac_config_target
in $ac_config_targets
4988 case $ac_config_target in
4989 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
4991 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4996 # If the user did not use the arguments to specify the items to instantiate,
4997 # then the envvar interface is used. Set only those that are not.
4998 # We use the long form for the default assignment because of an extremely
4999 # bizarre bug on SunOS 4.1.3.
5000 if $ac_need_defaults; then
5001 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5004 # Have a temporary directory for convenience. Make it in the build tree
5005 # simply because there is no reason against having it here, and in addition,
5006 # creating and moving files from /tmp can sometimes cause problems.
5007 # Hook for its removal unless debugging.
5008 # Note that there is a small window in which the directory will not be cleaned:
5009 # after its creation but before its name has been assigned to `$tmp'.
5013 trap 'exit_status=$?
5015 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5017 trap 'as_fn_exit 1' 1 2 13 15
5019 # Create a (secure) tmp directory for tmp files.
5022 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5026 tmp
=.
/conf$$
-$RANDOM
5027 (umask 077 && mkdir
"$tmp")
5028 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5031 # Set up the scripts for CONFIG_FILES section.
5032 # No need to generate them if there are no CONFIG_FILES.
5033 # This happens for instance with `./config.status config.h'.
5034 if test -n "$CONFIG_FILES"; then
5037 ac_cr
=`echo X | tr X '\015'`
5038 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5039 # But we know of no other shell where ac_cr would be empty at this
5040 # point, so we can use a bashism as a fallback.
5041 if test "x$ac_cr" = x
; then
5042 eval ac_cr
=\$
\'\\r
\'
5044 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5045 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5051 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5056 echo "cat >conf$$subs.awk <<_ACEOF" &&
5057 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5060 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5061 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5063 for ac_last_try in false false false false false :; do
5064 . ./conf$$subs.sh ||
5065 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5067 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5068 if test $ac_delim_n = $ac_delim_num; then
5070 elif $ac_last_try; then
5071 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5073 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5078 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5079 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
5083 s/^/S["/; s
/!.
*/"]=/
5093 s/\(.\{148\}\)..*/\1/
5095 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5100 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5107 s/\(.\{148\}\)..*/\1/
5109 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5113 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5118 ' <conf$$subs.awk | sed '
5123 ' >>$CONFIG_STATUS || ac_write_fail=1
5124 rm -f conf$$subs.awk
5125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5127 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5128 for (key in S) S_is_set[key] = 1
5134 nfields = split(line, field, "@
")
5136 len = length(field[1])
5137 for (i = 2; i < nfields; i++) {
5139 keylen = length(key)
5140 if (S_is_set[key]) {
5142 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5143 len += length(value) + length(field[++i])
5154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5155 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5156 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5159 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5160 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5163 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5164 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5165 # trailing colons and then remove the whole line if VPATH becomes empty
5166 # (actually we leave an empty line to preserve line numbers).
5167 if test "x
$srcdir" = x.; then
5168 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5187 fi # test -n "$CONFIG_FILES"
5190 eval set X " :F
$CONFIG_FILES "
5195 :[FHLC]) ac_mode=$ac_tag; continue;;
5197 case $ac_mode$ac_tag in
5199 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
5200 :[FH]-) ac_tag=-:-;;
5201 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5218 -) ac_f="$ac_tmp/stdin";;
5219 *) # Look for the file first in the build tree, then in the source tree
5220 # (if the path is not absolute). The absolute path cannot be DOS-style,
5221 # because $ac_f cannot contain `:'.
5225 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5227 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5229 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
5230 as_fn_append ac_file_inputs " '$ac_f'"
5233 # Let's still pretend it is `configure' which instantiates (i.e., don't
5234 # use $as_me), people would be surprised to read:
5235 # /* config.h. Generated by config.status. */
5236 configure_input='Generated from '`
5237 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5239 if test x"$ac_file" != x-; then
5240 configure_input="$ac_file.
$configure_input"
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
5242 $as_echo "$as_me: creating
$ac_file" >&6;}
5244 # Neutralize special characters interpreted by sed in replacement strings.
5245 case $configure_input in #(
5246 *\&* | *\|* | *\\* )
5247 ac_sed_conf_input=`$as_echo "$configure_input" |
5248 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5249 *) ac_sed_conf_input=$configure_input;;
5253 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
5254 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
5259 ac_dir=`$as_dirname -- "$ac_file" ||
5260 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5261 X"$ac_file" : 'X\(//\)[^/]' \| \
5262 X"$ac_file" : 'X\(//\)$' \| \
5263 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5264 $as_echo X"$ac_file" |
5265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5282 as_dir="$ac_dir"; as_fn_mkdir_p
5286 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5288 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5289 # A "..
" for each directory in $ac_dir_suffix.
5290 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5291 case $ac_top_builddir_sub in
5292 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5293 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5296 ac_abs_top_builddir=$ac_pwd
5297 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5298 # for backward compatibility:
5299 ac_top_builddir=$ac_top_build_prefix
5302 .) # We are building in place.
5304 ac_top_srcdir=$ac_top_builddir_sub
5305 ac_abs_top_srcdir=$ac_pwd ;;
5306 [\\/]* | ?:[\\/]* ) # Absolute name.
5307 ac_srcdir=$srcdir$ac_dir_suffix;
5308 ac_top_srcdir=$srcdir
5309 ac_abs_top_srcdir=$srcdir ;;
5311 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5312 ac_top_srcdir=$ac_top_build_prefix$srcdir
5313 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5315 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5327 # If the template does not know about datarootdir, expand it.
5328 # FIXME: This hack should be removed a few years after 2.60.
5329 ac_datarootdir_hack=; ac_datarootdir_seen=
5340 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
5341 *datarootdir*) ac_datarootdir_seen=yes;;
5342 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
5344 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
5346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5347 ac_datarootdir_hack='
5348 s&@datadir@&$datadir&g
5349 s&@docdir@&$docdir&g
5350 s&@infodir@&$infodir&g
5351 s&@localedir@&$localedir&g
5352 s&@mandir@&$mandir&g
5353 s&\\\${datarootdir}&$datarootdir&g' ;;
5357 # Neutralize VPATH when `$srcdir' = `.'.
5358 # Shell code in configure.ac might set extrasub.
5359 # FIXME: do we really want to maintain this feature?
5360 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5361 ac_sed_extra="$ac_vpsub
5364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5366 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5367 s|@configure_input@|
$ac_sed_conf_input|
;t t
5368 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5369 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5370 s
&@srcdir@
&$ac_srcdir&;t t
5371 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5372 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5373 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5374 s
&@builddir@
&$ac_builddir&;t t
5375 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5376 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5377 $ac_datarootdir_hack
5379 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5380 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5382 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5383 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5384 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5385 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5387 which seems to be undefined. Please make sure it is defined" >&5
5388 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5389 which seems to be undefined. Please make sure it is defined" >&2;}
5391 rm -f "$ac_tmp/stdin"
5393 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5394 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5396 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5408 ac_clean_files=$ac_clean_files_save
5410 test $ac_write_fail = 0 ||
5411 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5414 # configure is writing to config.log, and then calls config.status.
5415 # config.status does its own redirection, appending to config.log.
5416 # Unfortunately, on DOS this fails, as config.log is still kept open
5417 # by configure, so config.status won't be able to
write to it
; its
5418 # output is simply discarded. So we exec the FD to /dev/null,
5419 # effectively closing config.log, so it can be properly (re)opened and
5420 # appended to by config.status. When coming back to configure, we
5421 # need to make the FD available again.
5422 if test "$no_create" != yes; then
5424 ac_config_status_args
=
5425 test "$silent" = yes &&
5426 ac_config_status_args
="$ac_config_status_args --quiet"
5428 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5430 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5431 # would make configure fail if this is the last instruction.
5432 $ac_cs_success || as_fn_exit
1
5434 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5436 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}