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 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="mmakefile"
586 # Factoring default headers for most tests.
587 ac_includes_default
="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
623 ac_subst_vars
='LTLIBOBJS
627 aros_host_x11_ldflags
639 target_binutils_version
641 ignore_undefined_symbols
653 gcc_default_float_abi
657 aros_nesting_supervisor
668 crosstools_cxx_target
672 aros_kernel_isa_flags
673 aros_optimization_cflags
676 aros_target_strip_flags
684 aros_kernel_objcflags
710 aros_target_cc_includes
726 aros_target_bootloader
756 host_stat_h__unused_used
757 aros_amigaos_compliance
765 aros_target_toolchain
774 kernel_cflags_iquote_end
776 host_cflags_iquote_end
779 aros_target_nostdlib_ldflags
780 aros_target_detach_ldflags
781 aros_target_nix_ldflags
782 aros_target_nostartup_ldflags
783 aros_target_nostdinc_cflags
822 arosconfig_use_libpngconfig
908 program_transform_name
921 enable_option_checking
932 with_kernel_gcc_version
935 enable_target_variant
942 enable_amigaos_compliance
943 with_kernel_toolchain_prefix
944 with_elf_toolchain_prefix
947 with_aros_toolchain_install
948 with_binutils_version
962 enable_palm_debug_hack
964 enable_nesting_supervisor
976 ac_precious_vars
='build_alias
992 # Initialize some variables set by options.
994 ac_init_version
=false
995 ac_unrecognized_opts
=
997 # The variables have the same names as the options, with
998 # dashes changed to underlines.
1006 program_transform_name
=s
,x
,x
,
1014 # Installation directory options.
1015 # These are left unexpanded so users can "make install exec_prefix=/foo"
1016 # and all the variables that are supposed to be based on exec_prefix
1017 # by default will actually change.
1018 # Use braces instead of parens because sh, perl, etc. also accept them.
1019 # (The list follows the same order as the GNU Coding Standards.)
1020 bindir
='${exec_prefix}/bin'
1021 sbindir
='${exec_prefix}/sbin'
1022 libexecdir
='${exec_prefix}/libexec'
1023 datarootdir
='${prefix}/share'
1024 datadir
='${datarootdir}'
1025 sysconfdir
='${prefix}/etc'
1026 sharedstatedir
='${prefix}/com'
1027 localstatedir
='${prefix}/var'
1028 runstatedir
='${localstatedir}/run'
1029 includedir
='${prefix}/include'
1030 oldincludedir
='/usr/include'
1031 docdir
='${datarootdir}/doc/${PACKAGE}'
1032 infodir
='${datarootdir}/info'
1037 libdir
='${exec_prefix}/lib'
1038 localedir
='${datarootdir}/locale'
1039 mandir
='${datarootdir}/man'
1045 # If the previous option needs an argument, assign it.
1046 if test -n "$ac_prev"; then
1047 eval $ac_prev=\
$ac_option
1053 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1058 # Accept the important Cygnus configure options, so we can diagnose typos.
1060 case $ac_dashdash$ac_option in
1064 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1066 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1067 bindir
=$ac_optarg ;;
1069 -build |
--build |
--buil |
--bui |
--bu)
1070 ac_prev
=build_alias
;;
1071 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1072 build_alias
=$ac_optarg ;;
1074 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1075 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1076 ac_prev
=cache_file
;;
1077 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1078 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1079 cache_file
=$ac_optarg ;;
1081 --config-cache |
-C)
1082 cache_file
=config.cache
;;
1084 -datadir |
--datadir |
--datadi |
--datad)
1086 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1087 datadir
=$ac_optarg ;;
1089 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1090 |
--dataroo |
--dataro |
--datar)
1091 ac_prev
=datarootdir
;;
1092 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1093 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1094 datarootdir
=$ac_optarg ;;
1096 -disable-* |
--disable-*)
1097 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1100 as_fn_error $?
"invalid feature name: $ac_useropt"
1101 ac_useropt_orig
=$ac_useropt
1102 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1103 case $ac_user_opts in
1105 "enable_
$ac_useropt"
1107 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1108 ac_unrecognized_sep
=', ';;
1110 eval enable_
$ac_useropt=no
;;
1112 -docdir |
--docdir |
--docdi |
--doc |
--do)
1114 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1115 docdir
=$ac_optarg ;;
1117 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1119 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1120 dvidir
=$ac_optarg ;;
1122 -enable-* |
--enable-*)
1123 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1124 # Reject names that are not valid shell variable names.
1125 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1126 as_fn_error $?
"invalid feature name: $ac_useropt"
1127 ac_useropt_orig
=$ac_useropt
1128 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1129 case $ac_user_opts in
1131 "enable_
$ac_useropt"
1133 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1134 ac_unrecognized_sep
=', ';;
1136 eval enable_
$ac_useropt=\
$ac_optarg ;;
1138 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1139 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1140 |
--exec |
--exe |
--ex)
1141 ac_prev
=exec_prefix
;;
1142 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1143 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1144 |
--exec=* |
--exe=* |
--ex=*)
1145 exec_prefix
=$ac_optarg ;;
1147 -gas |
--gas |
--ga |
--g)
1148 # Obsolete; use --with-gas.
1151 -help |
--help |
--hel |
--he |
-h)
1152 ac_init_help
=long
;;
1153 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1154 ac_init_help
=recursive
;;
1155 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1156 ac_init_help
=short
;;
1158 -host |
--host |
--hos |
--ho)
1159 ac_prev
=host_alias
;;
1160 -host=* |
--host=* |
--hos=* |
--ho=*)
1161 host_alias
=$ac_optarg ;;
1163 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1165 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1167 htmldir
=$ac_optarg ;;
1169 -includedir |
--includedir |
--includedi |
--included |
--include \
1170 |
--includ |
--inclu |
--incl |
--inc)
1171 ac_prev
=includedir
;;
1172 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1173 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1174 includedir
=$ac_optarg ;;
1176 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1178 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1179 infodir
=$ac_optarg ;;
1181 -libdir |
--libdir |
--libdi |
--libd)
1183 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1184 libdir
=$ac_optarg ;;
1186 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1187 |
--libexe |
--libex |
--libe)
1188 ac_prev
=libexecdir
;;
1189 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1190 |
--libexe=* |
--libex=* |
--libe=*)
1191 libexecdir
=$ac_optarg ;;
1193 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1194 ac_prev
=localedir
;;
1195 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1196 localedir
=$ac_optarg ;;
1198 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1199 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1200 ac_prev
=localstatedir
;;
1201 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1202 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1203 localstatedir
=$ac_optarg ;;
1205 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1207 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1208 mandir
=$ac_optarg ;;
1210 -nfp |
--nfp |
--nf)
1211 # Obsolete; use --without-fp.
1214 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1215 |
--no-cr |
--no-c |
-n)
1218 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1219 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1222 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1223 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1224 |
--oldin |
--oldi |
--old |
--ol |
--o)
1225 ac_prev
=oldincludedir
;;
1226 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1227 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1228 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1229 oldincludedir
=$ac_optarg ;;
1231 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1233 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1234 prefix
=$ac_optarg ;;
1236 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1237 |
--program-pre |
--program-pr |
--program-p)
1238 ac_prev
=program_prefix
;;
1239 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1240 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1241 program_prefix
=$ac_optarg ;;
1243 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1244 |
--program-suf |
--program-su |
--program-s)
1245 ac_prev
=program_suffix
;;
1246 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1247 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1248 program_suffix
=$ac_optarg ;;
1250 -program-transform-name |
--program-transform-name \
1251 |
--program-transform-nam |
--program-transform-na \
1252 |
--program-transform-n |
--program-transform- \
1253 |
--program-transform |
--program-transfor \
1254 |
--program-transfo |
--program-transf \
1255 |
--program-trans |
--program-tran \
1256 |
--progr-tra |
--program-tr |
--program-t)
1257 ac_prev
=program_transform_name
;;
1258 -program-transform-name=* |
--program-transform-name=* \
1259 |
--program-transform-nam=* |
--program-transform-na=* \
1260 |
--program-transform-n=* |
--program-transform-=* \
1261 |
--program-transform=* |
--program-transfor=* \
1262 |
--program-transfo=* |
--program-transf=* \
1263 |
--program-trans=* |
--program-tran=* \
1264 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1265 program_transform_name
=$ac_optarg ;;
1267 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1269 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1270 pdfdir
=$ac_optarg ;;
1272 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1274 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1277 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1278 |
-silent |
--silent |
--silen |
--sile |
--sil)
1281 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1282 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1283 |
--run |
--ru |
--r)
1284 ac_prev
=runstatedir
;;
1285 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1286 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1287 |
--run=* |
--ru=* |
--r=*)
1288 runstatedir
=$ac_optarg ;;
1290 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1292 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1294 sbindir
=$ac_optarg ;;
1296 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1297 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1298 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1300 ac_prev
=sharedstatedir
;;
1301 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1302 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1303 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1305 sharedstatedir
=$ac_optarg ;;
1307 -site |
--site |
--sit)
1309 -site=* |
--site=* |
--sit=*)
1312 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1314 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1315 srcdir
=$ac_optarg ;;
1317 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1318 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1319 ac_prev
=sysconfdir
;;
1320 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1321 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1322 sysconfdir
=$ac_optarg ;;
1324 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1325 ac_prev
=target_alias
;;
1326 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1327 target_alias
=$ac_optarg ;;
1329 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1332 -version |
--version |
--versio |
--versi |
--vers |
-V)
1333 ac_init_version
=: ;;
1336 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1337 # Reject names that are not valid shell variable names.
1338 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1339 as_fn_error $?
"invalid package name: $ac_useropt"
1340 ac_useropt_orig
=$ac_useropt
1341 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1342 case $ac_user_opts in
1346 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1347 ac_unrecognized_sep
=', ';;
1349 eval with_
$ac_useropt=\
$ac_optarg ;;
1351 -without-* |
--without-*)
1352 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1353 # Reject names that are not valid shell variable names.
1354 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1355 as_fn_error $?
"invalid package name: $ac_useropt"
1356 ac_useropt_orig
=$ac_useropt
1357 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1358 case $ac_user_opts in
1362 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1363 ac_unrecognized_sep
=', ';;
1365 eval with_
$ac_useropt=no
;;
1368 # Obsolete; use --with-x.
1371 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1372 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1373 ac_prev
=x_includes
;;
1374 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1375 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1376 x_includes
=$ac_optarg ;;
1378 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1379 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1380 ac_prev
=x_libraries
;;
1381 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1382 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1383 x_libraries
=$ac_optarg ;;
1385 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1386 Try \`$0 --help' for more information"
1390 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1391 # Reject names that are not valid shell variable names.
1392 case $ac_envvar in #(
1393 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1394 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1396 eval $ac_envvar=\
$ac_optarg
1397 export $ac_envvar ;;
1400 # FIXME: should be removed in autoconf 3.0.
1401 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1402 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1403 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1404 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1410 if test -n "$ac_prev"; then
1411 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1412 as_fn_error $?
"missing argument to $ac_option"
1415 if test -n "$ac_unrecognized_opts"; then
1416 case $enable_option_checking in
1418 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1419 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1423 # Check all directory arguments for consistency.
1424 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1425 datadir sysconfdir sharedstatedir localstatedir includedir \
1426 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1427 libdir localedir mandir runstatedir
1429 eval ac_val
=\$
$ac_var
1430 # Remove trailing slashes.
1433 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1434 eval $ac_var=\
$ac_val;;
1436 # Be sure to have absolute directory names.
1438 [\\/$
]* | ?
:[\\/]* ) continue;;
1439 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1441 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1444 # There might be people who depend on the old broken behavior: `$host'
1445 # used to hold the argument of --host etc.
1446 # FIXME: To remove some day.
1449 target
=$target_alias
1451 # FIXME: To remove some day.
1452 if test "x$host_alias" != x
; then
1453 if test "x$build_alias" = x
; then
1454 cross_compiling
=maybe
1455 elif test "x$build_alias" != "x$host_alias"; then
1461 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1463 test "$silent" = yes && exec 6>/dev
/null
1466 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1467 ac_ls_di
=`ls -di .` &&
1468 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1469 as_fn_error $?
"working directory cannot be determined"
1470 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1471 as_fn_error $?
"pwd does not report name of working directory"
1474 # Find the source files, if location was not specified.
1475 if test -z "$srcdir"; then
1476 ac_srcdir_defaulted
=yes
1477 # Try the directory containing this script, then the parent directory.
1478 ac_confdir
=`$as_dirname -- "$as_myself" ||
1479 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1480 X"$as_myself" : 'X\(//\)[^/]' \| \
1481 X"$as_myself" : 'X\(//\)$' \| \
1482 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1483 $as_echo X"$as_myself" |
1484 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1502 if test ! -r "$srcdir/$ac_unique_file"; then
1506 ac_srcdir_defaulted
=no
1508 if test ! -r "$srcdir/$ac_unique_file"; then
1509 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1510 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1512 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1514 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1516 # When building in place, set srcdir=.
1517 if test "$ac_abs_confdir" = "$ac_pwd"; then
1520 # Remove unnecessary trailing slashes from srcdir.
1521 # Double slashes in file names in object file debugging info
1522 # mess up M-x gdb in Emacs.
1524 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1526 for ac_var
in $ac_precious_vars; do
1527 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1528 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1529 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1530 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1534 # Report the --help message.
1536 if test "$ac_init_help" = "long"; then
1537 # Omit some internal or obsolete options to make the list less imposing.
1538 # This message is too long to be a string in the A/UX 3.1 sh.
1540 \`configure' configures this package to adapt to many kinds of systems.
1542 Usage: $0 [OPTION]... [VAR=VALUE]...
1544 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1545 VAR=VALUE. See below for descriptions of some of the useful variables.
1547 Defaults for the options are specified in brackets.
1550 -h, --help display this help and exit
1551 --help=short display options specific to this package
1552 --help=recursive display the short help of all the included packages
1553 -V, --version display version information and exit
1554 -q, --quiet, --silent do not print \`checking ...' messages
1555 --cache-file=FILE cache test results in FILE [disabled]
1556 -C, --config-cache alias for \`--cache-file=config.cache'
1557 -n, --no-create do not create output files
1558 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1560 Installation directories:
1561 --prefix=PREFIX install architecture-independent files in PREFIX
1562 [$ac_default_prefix]
1563 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1566 By default, \`make install' will install all the files in
1567 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1568 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1569 for instance \`--prefix=\$HOME'.
1571 For better control, use the options below.
1573 Fine tuning of the installation directories:
1574 --bindir=DIR user executables [EPREFIX/bin]
1575 --sbindir=DIR system admin executables [EPREFIX/sbin]
1576 --libexecdir=DIR program executables [EPREFIX/libexec]
1577 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1578 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1579 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1580 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1581 --libdir=DIR object code libraries [EPREFIX/lib]
1582 --includedir=DIR C header files [PREFIX/include]
1583 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1584 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1585 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1586 --infodir=DIR info documentation [DATAROOTDIR/info]
1587 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1588 --mandir=DIR man documentation [DATAROOTDIR/man]
1589 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1590 --htmldir=DIR html documentation [DOCDIR]
1591 --dvidir=DIR dvi documentation [DOCDIR]
1592 --pdfdir=DIR pdf documentation [DOCDIR]
1593 --psdir=DIR ps documentation [DOCDIR]
1599 --x-includes=DIR X include files are
in DIR
1600 --x-libraries=DIR X library files are
in DIR
1603 --build=BUILD configure
for building on BUILD
[guessed
]
1604 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1608 if test -n "$ac_init_help"; then
1613 --disable-option-checking ignore unrecognized
--enable/--with options
1614 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1615 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1616 --disable-libpng-config disable libpng-config
test and configuration
1617 --enable-lto=yes|no Enable link
time optimizations
if the target
1618 compiler supports them
(default
=no
)
1619 --enable-coverage=yes|no
1620 Enable coverage instrumentation
if the target
1621 compiler supports it
(default
=no
)
1622 --enable-build-type=TYPE
1623 Select the build
type. Available types are
:
1624 personal
, nightly
, snapshot
, milestone
, release. Do
1625 NOT use this option unless you know what you are
1626 doing
! (default
=personal
)
1627 --enable-debug=list Enable different types of debug. Commas or
1628 whitespaces can be used to separate the items
in the
1629 list. Available types of debug are
: all
, none
,
1630 messages
, stack
, mungwall
, modules
, symbols. If no
1631 list is provided
then "all" is assumed.
1633 --enable-distcc Use distcc as a front end to the compiler
1635 --enable-ccache Use ccache as a front end to the compiler
1637 --enable-target-variant=NAME
1638 Enable a specific target variant
(default
=none
)
1639 --enable-amigaos-compliance=VERSION
1640 Enforce userspace AmigaOS compliance to a specific
1641 KickStart version
(default
=none
).
1642 --disable-crosstools Do not build cross-compiler toolchain
1643 --enable-objc Enable Objectve-C support
(default
=no
)
1644 --enable-java Enable Java support
(default
=no
)
1645 --enable-includes=dir Alternative system include directory
1646 --enable-palm-debug-hack
1647 Enable palm debug output hack
in palm native
1649 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1650 --enable-nesting-supervisor
1651 Enable nesting supervisor support
in unix
1653 --disable-mmu Disable MMU support
(default
=enabled
)
1654 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1655 --enable-x11-shm use X11 shared memory
(default
=auto
)
1656 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1657 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1658 --disable-sdltest Do not try to compile and run a
test SDL program
1659 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1662 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1663 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1664 --with-c-compiler=VERSION
1665 Use specified c compiler
for building AROS
1666 --with-cxx-compiler=VERSION
1667 Use specified c
++ compiler building AROS
1668 --with-toolchain=family Which toolchain family to crosscompile with
1670 --with-kernel-gcc-version=VERSION
1671 Use gcc-VERSION
for building bootstrap
1672 --with-optimization=FLAGS
1673 Use optimization flags FLAGS
(e.g
1674 --with-optimization=-O2).
1675 --with-paranoia=(yes|no|FLAGS
)
1676 Specific compiler warning FLAGS to
enable for
1677 paranoia builds
(default
=-Wall -Werror)
1678 --with-xcode=PATH Specify XCode path
for iOS targets
1679 (default
=/Developer
).
1680 --with-sdk-version=VERSION
1681 Use iOS SDK version VERSION
(default
=4.1).
1682 --with-sdk=PATH Specify Android SDK path
1683 (default
=$default_android_sdk).
1684 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1685 --with-sdk-version=LEVEL
1686 Use Android SDK
for API LEVEL
(default
=12).
1687 --with-ndk-version=LEVEL
1688 Use Android NDK
for API LEVEL
(default
=9).
1689 --with-apk-version=(release|debug
)
1690 Which version of AROSBootstrap.apk to compile.
1691 Release version needs key
for signing
, debug version
1692 will only run
in emulator.
(default
=release
)
1693 --with-kernel-toolchain-prefix=...
1694 Specify crosscompile toolchain prefix
for kernel
1696 --with-elf-toolchain-prefix=...
1697 Specify crosscompile toolchain prefix to wrap
for
1699 --with-aros-toolchain=PREFIX
1700 Specify prebuilt AROS toolchain. Use
yes for default
1702 --with-aros-toolchain-install=DIR
1703 Where to
install or search
for cross tools binaries
1704 --with-binutils-version=VERSION
1705 Use binutils-VERSION
for building AROS
1706 --with-gcc-version=VERSION
1707 Compile gcc-VERSION
for AROS
1708 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1709 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1710 --with-float=<spec
> Specify floating point ABI
1711 (default
=$gcc_default_float_abi).
1712 --with-portssources=DIR Where to download sourcecode
for external ports
1713 --with-bootloader=NAME Use a specific bootloader
1714 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1715 --with-theme=NAME Use a specific GUI Theme
1716 --with-resolution=XRESxYRESxDEPTH
1717 Default resolution of the initial WorkbenchScreen
1718 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1719 --with-x use the X Window System
1720 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1721 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1723 Some influential environment variables
:
1724 CXX C
++ compiler
command
1725 CXXFLAGS C
++ compiler flags
1726 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1727 nonstandard directory
<lib dir
>
1728 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1729 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1730 you have headers
in a nonstandard directory
<include dir
>
1731 CC C compiler
command
1732 CFLAGS C compiler flags
1734 PYTHON the Python interpreter
1735 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1737 Use these variables to override the choices made by
`configure' or to help
1738 it to find libraries and programs with nonstandard names/locations.
1740 Report bugs to the package provider.
1745 if test "$ac_init_help" = "recursive"; then
1746 # If there are subdirs, report their specific --help.
1747 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1748 test -d "$ac_dir" ||
1749 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1754 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1756 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1757 # A ".." for each directory in $ac_dir_suffix.
1758 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1759 case $ac_top_builddir_sub in
1760 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1761 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1764 ac_abs_top_builddir=$ac_pwd
1765 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1766 # for backward compatibility:
1767 ac_top_builddir=$ac_top_build_prefix
1770 .) # We are building in place.
1772 ac_top_srcdir=$ac_top_builddir_sub
1773 ac_abs_top_srcdir=$ac_pwd ;;
1774 [\\/]* | ?:[\\/]* ) # Absolute name.
1775 ac_srcdir=$srcdir$ac_dir_suffix;
1776 ac_top_srcdir=$srcdir
1777 ac_abs_top_srcdir=$srcdir ;;
1779 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1780 ac_top_srcdir=$ac_top_build_prefix$srcdir
1781 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1783 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1785 cd "$ac_dir" || { ac_status=$?; continue; }
1786 # Check for guested configure.
1787 if test -f "$ac_srcdir/configure.gnu"; then
1789 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1790 elif test -f "$ac_srcdir/configure"; then
1792 $SHELL "$ac_srcdir/configure" --help=recursive
1794 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1796 cd "$ac_pwd" || { ac_status=$?; break; }
1800 test -n "$ac_init_help" && exit $ac_status
1801 if $ac_init_version; then
1804 generated by GNU Autoconf 2.69
1806 Copyright (C) 2012 Free Software Foundation, Inc.
1807 This configure script is free software; the Free Software Foundation
1808 gives unlimited permission to copy, distribute and modify it.
1813 ## ------------------------ ##
1814 ## Autoconf initialization. ##
1815 ## ------------------------ ##
1817 # ac_fn_cxx_try_compile LINENO
1818 # ----------------------------
1819 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1820 ac_fn_cxx_try_compile ()
1822 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1823 rm -f conftest.$ac_objext
1824 if { { ac_try="$ac_compile"
1826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1827 *) ac_try_echo
=$ac_try;;
1829 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1830 $as_echo "$ac_try_echo"; } >&5
1831 (eval "$ac_compile") 2>conftest.err
1833 if test -s conftest.err
; then
1834 grep -v '^ *+' conftest.err
>conftest.er1
1835 cat conftest.er1
>&5
1836 mv -f conftest.er1 conftest.err
1838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1839 test $ac_status = 0; } && {
1840 test -z "$ac_cxx_werror_flag" ||
1841 test ! -s conftest.err
1842 } && test -s conftest.
$ac_objext; then :
1845 $as_echo "$as_me: failed program was:" >&5
1846 sed 's/^/| /' conftest.
$ac_ext >&5
1850 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1851 as_fn_set_status
$ac_retval
1853 } # ac_fn_cxx_try_compile
1855 # ac_fn_c_try_compile LINENO
1856 # --------------------------
1857 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1858 ac_fn_c_try_compile
()
1860 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1861 rm -f conftest.
$ac_objext
1862 if { { ac_try
="$ac_compile"
1864 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1865 *) ac_try_echo=$ac_try;;
1867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1868 $as_echo "$ac_try_echo"; } >&5
1869 (eval "$ac_compile") 2>conftest.err
1871 if test -s conftest.err; then
1872 grep -v '^ *+' conftest.err >conftest.er1
1873 cat conftest.er1 >&5
1874 mv -f conftest.er1 conftest.err
1876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1877 test $ac_status = 0; } && {
1878 test -z "$ac_c_werror_flag" ||
1879 test ! -s conftest.err
1880 } && test -s conftest.$ac_objext; then :
1883 $as_echo "$as_me: failed program was:" >&5
1884 sed 's/^/| /' conftest.$ac_ext >&5
1888 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1889 as_fn_set_status $ac_retval
1891 } # ac_fn_c_try_compile
1893 # ac_fn_c_try_cpp LINENO
1894 # ----------------------
1895 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1898 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1899 if { { ac_try="$ac_cpp conftest.$ac_ext"
1901 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1902 *) ac_try_echo
=$ac_try;;
1904 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1905 $as_echo "$ac_try_echo"; } >&5
1906 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1908 if test -s conftest.err
; then
1909 grep -v '^ *+' conftest.err
>conftest.er1
1910 cat conftest.er1
>&5
1911 mv -f conftest.er1 conftest.err
1913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1914 test $ac_status = 0; } > conftest.i
&& {
1915 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1916 test ! -s conftest.err
1920 $as_echo "$as_me: failed program was:" >&5
1921 sed 's/^/| /' conftest.
$ac_ext >&5
1925 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1926 as_fn_set_status
$ac_retval
1930 # ac_fn_c_try_link LINENO
1931 # -----------------------
1932 # Try to link conftest.$ac_ext, and return whether this succeeded.
1935 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1936 rm -f conftest.
$ac_objext conftest
$ac_exeext
1937 if { { ac_try
="$ac_link"
1939 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1940 *) ac_try_echo=$ac_try;;
1942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1943 $as_echo "$ac_try_echo"; } >&5
1944 (eval "$ac_link") 2>conftest.err
1946 if test -s conftest.err; then
1947 grep -v '^ *+' conftest.err >conftest.er1
1948 cat conftest.er1 >&5
1949 mv -f conftest.er1 conftest.err
1951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1952 test $ac_status = 0; } && {
1953 test -z "$ac_c_werror_flag" ||
1954 test ! -s conftest.err
1955 } && test -s conftest$ac_exeext && {
1956 test "$cross_compiling" = yes ||
1957 test -x conftest$ac_exeext
1961 $as_echo "$as_me: failed program was:" >&5
1962 sed 's/^/| /' conftest.$ac_ext >&5
1966 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1967 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1968 # interfere with the next link command; also delete a directory that is
1969 # left behind by Apple's compiler. We do this before executing the actions.
1970 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972 as_fn_set_status $ac_retval
1974 } # ac_fn_c_try_link
1976 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1977 # -------------------------------------------------------
1978 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1979 # the include files in INCLUDES and setting the cache variable VAR
1981 ac_fn_c_check_header_mongrel ()
1983 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1984 if eval \${$3+:} false; then :
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1986 $as_echo_n "checking for $2... " >&6; }
1987 if eval \${$3+:} false; then :
1988 $as_echo_n "(cached) " >&6
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1992 $as_echo "$ac_res" >&6; }
1994 # Is the header compilable?
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1996 $as_echo_n "checking $2 usability... " >&6; }
1997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1998 /* end confdefs.h. */
2002 if ac_fn_c_try_compile "$LINENO"; then :
2003 ac_header_compiler=yes
2005 ac_header_compiler=no
2007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2009 $as_echo "$ac_header_compiler" >&6; }
2011 # Is the header present?
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2013 $as_echo_n "checking $2 presence... " >&6; }
2014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2015 /* end confdefs.h. */
2018 if ac_fn_c_try_cpp "$LINENO"; then :
2019 ac_header_preproc=yes
2021 ac_header_preproc=no
2023 rm -f conftest.err conftest.i conftest.$ac_ext
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2025 $as_echo "$ac_header_preproc" >&6; }
2027 # So? What about this header?
2028 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2031 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2033 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2037 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2039 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2041 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2043 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2045 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2049 $as_echo_n "checking for $2... " >&6; }
2050 if eval \${$3+:} false; then :
2051 $as_echo_n "(cached) " >&6
2053 eval "$3=\$ac_header_compiler"
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2057 $as_echo "$ac_res" >&6; }
2059 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2061 } # ac_fn_c_check_header_mongrel
2063 # ac_fn_c_try_run LINENO
2064 # ----------------------
2065 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2066 # that executables *can* be run.
2069 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2070 if { { ac_try="$ac_link"
2072 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2073 *) ac_try_echo
=$ac_try;;
2075 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2076 $as_echo "$ac_try_echo"; } >&5
2077 (eval "$ac_link") 2>&5
2079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2080 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2081 { { case "(($ac_try" in
2082 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2083 *) ac_try_echo=$ac_try;;
2085 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2086 $as_echo "$ac_try_echo"; } >&5
2087 (eval "$ac_try") 2>&5
2089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2090 test $ac_status = 0; }; }; then :
2093 $as_echo "$as_me: program exited with status $ac_status" >&5
2094 $as_echo "$as_me: failed program was:" >&5
2095 sed 's/^/| /' conftest.$ac_ext >&5
2097 ac_retval=$ac_status
2099 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2100 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2101 as_fn_set_status $ac_retval
2105 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2106 # -------------------------------------------------------
2107 # Tests whether HEADER exists and can be compiled using the include files in
2108 # INCLUDES, setting the cache variable VAR accordingly.
2109 ac_fn_c_check_header_compile ()
2111 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2113 $as_echo_n "checking for $2... " >&6; }
2114 if eval \${$3+:} false; then :
2115 $as_echo_n "(cached) " >&6
2117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2118 /* end confdefs.h. */
2122 if ac_fn_c_try_compile "$LINENO"; then :
2127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2131 $as_echo "$ac_res" >&6; }
2132 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2134 } # ac_fn_c_check_header_compile
2136 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2137 # ----------------------------------------------------
2138 # Tries to find if the field MEMBER exists in type AGGR, after including
2139 # INCLUDES, setting cache variable VAR accordingly.
2140 ac_fn_c_check_member ()
2142 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2144 $as_echo_n "checking for $2.$3... " >&6; }
2145 if eval \${$4+:} false; then :
2146 $as_echo_n "(cached) " >&6
2148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2149 /* end confdefs.h. */
2161 if ac_fn_c_try_compile "$LINENO"; then :
2164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2165 /* end confdefs.h. */
2171 if (sizeof ac_aggr.$3)
2177 if ac_fn_c_try_compile "$LINENO"; then :
2182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2188 $as_echo "$ac_res" >&6; }
2189 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2191 } # ac_fn_c_check_member
2193 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2194 # ---------------------------------------------
2195 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2197 ac_fn_c_check_decl ()
2199 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2200 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2201 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2203 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2204 if eval \${$3+:} false; then :
2205 $as_echo_n "(cached) " >&6
2207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2208 /* end confdefs.h. */
2213 #ifndef $as_decl_name
2215 (void) $as_decl_use;
2217 (void) $as_decl_name;
2225 if ac_fn_c_try_compile "$LINENO"; then :
2230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2234 $as_echo "$ac_res" >&6; }
2235 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2237 } # ac_fn_c_check_decl
2239 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2240 # -------------------------------------------
2241 # Tests whether TYPE exists after having included INCLUDES, setting cache
2242 # variable VAR accordingly.
2243 ac_fn_c_check_type ()
2245 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2247 $as_echo_n "checking for $2... " >&6; }
2248 if eval \${$3+:} false; then :
2249 $as_echo_n "(cached) " >&6
2252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2253 /* end confdefs.h. */
2264 if ac_fn_c_try_compile "$LINENO"; then :
2265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2266 /* end confdefs.h. */
2277 if ac_fn_c_try_compile "$LINENO"; then :
2282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2288 $as_echo "$ac_res" >&6; }
2289 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2291 } # ac_fn_c_check_type
2293 # ac_fn_c_check_func LINENO FUNC VAR
2294 # ----------------------------------
2295 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2296 ac_fn_c_check_func ()
2298 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2300 $as_echo_n "checking for $2... " >&6; }
2301 if eval \${$3+:} false; then :
2302 $as_echo_n "(cached) " >&6
2304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2305 /* end confdefs.h. */
2306 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2308 #define $2 innocuous_$2
2310 /* System header to define __stub macros and hopefully few prototypes,
2311 which can conflict with char $2 (); below.
2312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2313 <limits.h> exists even on freestanding compilers. */
2316 # include <limits.h>
2318 # include <assert.h>
2323 /* Override any GCC internal prototype to avoid an error.
2324 Use char because int might match the return type of a GCC
2325 builtin and then its argument prototype would still apply. */
2330 /* The GNU C library defines this for functions which it implements
2331 to always fail with ENOSYS. Some functions are actually named
2332 something starting with __ and the normal name is an alias. */
2333 #if defined __stub_$2 || defined __stub___$2
2345 if ac_fn_c_try_link "$LINENO"; then :
2350 rm -f core conftest.err conftest.$ac_objext \
2351 conftest$ac_exeext conftest.$ac_ext
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2355 $as_echo "$ac_res" >&6; }
2356 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2358 } # ac_fn_c_check_func
2359 cat >config.log <<_ACEOF
2360 This file contains any messages produced by compilers while
2361 running configure, to aid debugging if configure makes a mistake.
2363 It was created by $as_me, which was
2364 generated by GNU Autoconf 2.69. Invocation command line was
2376 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2377 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2378 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2379 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2380 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2382 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2383 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2385 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2386 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2387 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2388 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2389 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2390 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2391 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2399 test -z "$as_dir" && as_dir=.
2400 $as_echo "PATH: $as_dir"
2416 # Keep a trace of the command line.
2417 # Strip out --no-create and --no-recursion so they do not pile up.
2418 # Strip out --silent because we don't want to record it for future runs.
2419 # Also quote any args containing shell meta-characters.
2420 # Make two passes to allow for proper duplicate-argument suppression.
2424 ac_must_keep_next=false
2430 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2431 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2432 | -silent | --silent | --silen | --sile | --sil)
2435 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2438 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2440 as_fn_append ac_configure_args1 " '$ac_arg'"
2441 if test $ac_must_keep_next = true; then
2442 ac_must_keep_next=false # Got value, back to normal.
2445 *=* | --config-cache | -C | -disable-* | --disable-* \
2446 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2447 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2448 | -with-* | --with-* | -without-* | --without-* | --x)
2449 case "$ac_configure_args0 " in
2450 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2453 -* ) ac_must_keep_next=true ;;
2456 as_fn_append ac_configure_args " '$ac_arg'"
2461 { ac_configure_args0=; unset ac_configure_args0;}
2462 { ac_configure_args1=; unset ac_configure_args1;}
2464 # When interrupted or exit'd, cleanup temporary files, and complete
2465 # config.log. We remove comments because anyway the quotes in there
2466 # would cause problems or look ugly.
2467 # WARNING: Use '\'' to represent an apostrophe within the trap.
2468 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2469 trap 'exit_status=$?
2470 # Save into config.log some information that might help in debugging.
2474 $as_echo "## ---------------- ##
2475 ## Cache variables. ##
2476 ## ---------------- ##"
2478 # The following way of writing the cache mishandles newlines in values,
2480 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2481 eval ac_val=\$$ac_var
2485 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2486 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2489 _ | IFS | as_nl) ;; #(
2490 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2491 *) { eval $ac_var=; unset $ac_var;} ;;
2496 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2497 *${as_nl}ac_space=\ *)
2499 "s/'\''/'\''\\\\'\'''\''/g;
2500 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2503 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2510 $as_echo "## ----------------- ##
2511 ## Output variables. ##
2512 ## ----------------- ##"
2514 for ac_var in $ac_subst_vars
2516 eval ac_val=\$$ac_var
2518 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2520 $as_echo "$ac_var='\''$ac_val'\''"
2524 if test -n "$ac_subst_files"; then
2525 $as_echo "## ------------------- ##
2526 ## File substitutions. ##
2527 ## ------------------- ##"
2529 for ac_var in $ac_subst_files
2531 eval ac_val=\$$ac_var
2533 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2535 $as_echo "$ac_var='\''$ac_val'\''"
2540 if test -s confdefs.h; then
2541 $as_echo "## ----------- ##
2548 test "$ac_signal" != 0 &&
2549 $as_echo "$as_me: caught signal $ac_signal"
2550 $as_echo "$as_me: exit $exit_status"
2552 rm -f core *.core core.conftest.* &&
2553 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2556 for ac_signal in 1 2 13 15; do
2557 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2561 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2562 rm -f -r conftest* confdefs.h
2564 $as_echo "/* confdefs.h */" > confdefs.h
2566 # Predefined preprocessor variables.
2568 cat >>confdefs.h <<_ACEOF
2569 #define PACKAGE_NAME "$PACKAGE_NAME"
2572 cat >>confdefs.h <<_ACEOF
2573 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2576 cat >>confdefs.h <<_ACEOF
2577 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2580 cat >>confdefs.h <<_ACEOF
2581 #define PACKAGE_STRING "$PACKAGE_STRING"
2584 cat >>confdefs.h <<_ACEOF
2585 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2588 cat >>confdefs.h <<_ACEOF
2589 #define PACKAGE_URL "$PACKAGE_URL"
2593 # Let the site file select an alternate cache file if it wants to.
2594 # Prefer an explicitly selected file to automatically selected ones.
2597 if test -n "$CONFIG_SITE"; then
2598 # We do not want a PATH search for config.site.
2599 case $CONFIG_SITE in #((
2600 -*) ac_site_file1=./$CONFIG_SITE;;
2601 */*) ac_site_file1=$CONFIG_SITE;;
2602 *) ac_site_file1=./$CONFIG_SITE;;
2604 elif test "x$prefix" != xNONE; then
2605 ac_site_file1=$prefix/share/config.site
2606 ac_site_file2=$prefix/etc/config.site
2608 ac_site_file1=$ac_default_prefix/share/config.site
2609 ac_site_file2=$ac_default_prefix/etc/config.site
2611 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2613 test "x$ac_site_file" = xNONE && continue
2614 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2616 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2617 sed 's/^/| /' "$ac_site_file" >&5
2619 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2621 as_fn_error $? "failed to load site
script $ac_site_file
2622 See \
`config.log' for more details" "$LINENO" 5; }
2626 if test -r "$cache_file"; then
2627 # Some versions of bash will fail to source /dev/null (special files
2628 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2629 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2631 $as_echo "$as_me: loading cache $cache_file" >&6;}
2633 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2634 *) . "./$cache_file";;
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2639 $as_echo "$as_me: creating cache $cache_file" >&6;}
2643 as_fn_append ac_header_list " stdlib.h"
2644 as_fn_append ac_header_list " unistd.h"
2645 as_fn_append ac_header_list " sys/param.h"
2646 # Check that the precious variables saved in the cache have kept the same
2648 ac_cache_corrupted=false
2649 for ac_var in $ac_precious_vars; do
2650 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2651 eval ac_new_set=\$ac_env_${ac_var}_set
2652 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2653 eval ac_new_val=\$ac_env_${ac_var}_value
2654 case $ac_old_set,$ac_new_set in
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2657 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2658 ac_cache_corrupted=: ;;
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2661 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2662 ac_cache_corrupted=: ;;
2665 if test "x$ac_old_val" != "x$ac_new_val"; then
2666 # differences in whitespace do not lead to failure.
2667 ac_old_val_w=`echo x
$ac_old_val`
2668 ac_new_val_w=`echo x
$ac_new_val`
2669 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2671 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2672 ac_cache_corrupted=:
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2675 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2676 eval $ac_var=\$ac_old_val
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2679 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2681 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2684 # Pass precious variables to config.status.
2685 if test "$ac_new_set" = set; then
2687 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2688 *) ac_arg=$ac_var=$ac_new_val ;;
2690 case " $ac_configure_args " in
2691 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2692 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2696 if $ac_cache_corrupted; then
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2700 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2701 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2703 ## -------------------- ##
2704 ## Main body of script. ##
2705 ## -------------------- ##
2708 ac_cpp='$CPP $CPPFLAGS'
2709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2716 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2717 if test -f "$ac_dir/install-sh"; then
2719 ac_install_sh="$ac_aux_dir/install-sh -c"
2721 elif test -f "$ac_dir/install.sh"; then
2723 ac_install_sh="$ac_aux_dir/install.sh -c"
2725 elif test -f "$ac_dir/shtool"; then
2727 ac_install_sh="$ac_aux_dir/shtool install -c"
2731 if test -z "$ac_aux_dir"; then
2732 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2735 # These three variables are undocumented and unsupported,
2736 # and are intended to be withdrawn in a future Autoconf release.
2737 # They can cause serious problems if a builder's source tree is in a directory
2738 # whose full name contains unusual characters.
2739 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2740 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2741 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2745 # Check what host we are running on.
2746 # If a target is not suggested, we use this one.
2747 # Note that what we call a target, Autoconf calls a host.
2748 # Make sure we can run config.sub.
2749 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2750 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2753 $as_echo_n "checking build system type... " >&6; }
2754 if ${ac_cv_build+:} false; then :
2755 $as_echo_n "(cached) " >&6
2757 ac_build_alias=$build_alias
2758 test "x$ac_build_alias" = x &&
2759 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2760 test "x$ac_build_alias" = x &&
2761 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2762 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2763 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2767 $as_echo "$ac_cv_build" >&6; }
2768 case $ac_cv_build in
2770 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2773 ac_save_IFS=$IFS; IFS='-'
2779 # Remember, the first character of IFS is used to create $*,
2780 # except with old shells:
2783 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2787 $as_echo_n "checking host system type... " >&6; }
2788 if ${ac_cv_host+:} false; then :
2789 $as_echo_n "(cached) " >&6
2791 if test "x$host_alias" = x; then
2792 ac_cv_host=$ac_cv_build
2794 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2795 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2800 $as_echo "$ac_cv_host" >&6; }
2803 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2806 ac_save_IFS=$IFS; IFS='-'
2812 # Remember, the first character of IFS is used to create $*,
2813 # except with old shells:
2816 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2820 # Default versions for the gnu tools we build
2821 default_toolchain_family=`cat ${srcdir}/config
/toolchain_def
`
2822 default_gcc_version=`cat ${srcdir}/config
/gcc_def
`
2823 exp_gcc_version=`cat ${srcdir}/config
/gcc_exp
`
2824 default_binutils_version=`cat ${srcdir}/config
/binutils_def
`
2825 exp_binutils_version=`cat ${srcdir}/config
/binutils_exp
`
2826 default_grub2_version="2.02"
2827 target_grub2_version=$default_grub2_version
2829 # The AROS target is slightly different to the normal GNU style
2830 # format. We don't have the middle part, and we reverse the order
2831 # of the $(CPU) and $(OS) bits.
2833 # Don't strip the version of the target yet, it might be
2834 # useful on some systems.
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2837 $as_echo_n "checking for AROS style target... " >&6; }
2839 if test "$target" = "NONE" ; then
2840 target=$host_os-$host_cpu
2842 if test "$target" = "" ; then
2843 target=$host_os-$host_cpu
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2847 $as_echo "$target" >&6; }
2849 if test "$host_os" = "mingw32" ; then
2853 # Don't know where else to put this...
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2855 $as_echo_n "checking building AROS in... " >&6; }
2856 AROS_BUILDDIR=`${PWDCMD-pwd}`
2857 AROS_BUILDDIR_UNIX=${PWD}
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2859 $as_echo "$AROS_BUILDDIR" >&6; }
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2862 $as_echo_n "checking AROS source in... " >&6; }
2863 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2866 $as_echo "$SRCDIR" >&6; }
2868 # Parse the target field into something useful.
2870 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2871 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2874 # Some debug output, to be removed again.
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2876 $as_echo_n "checking for target system (debug output)... " >&6; }
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2878 $as_echo "$target_os" >&6; }
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2880 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2882 $as_echo "$target_cpu" >&6; }
2884 aros_nominal_width=800
2885 aros_nominal_height=600
2886 aros_nominal_depth=4
2895 default_c_compilers="gcc clang cc"
2897 # Check whether --with-c-compiler was given.
2898 if test "${with_c_compiler+set}" = set; then :
2899 withval=$with_c_compiler; use_c_compiler="$withval"
2904 if test "$use_c_compiler" = ""; then
2905 host_c_compilers="$default_c_compilers"
2907 host_c_compilers="$use_c_compiler"
2911 default_cxx_compilers="g++ clang++ c++"
2913 # Check whether --with-cxx-compiler was given.
2914 if test "${with_cxx_compiler+set}" = set; then :
2915 withval=$with_cxx_compiler; use_cxx_compiler="$withval"
2920 if test "$use_cxx_compiler" = ""; then
2921 host_cxx_compilers="$default_cxx_compilers"
2923 host_cxx_compilers="$use_cxx_compiler"
2924 CXX=$use_cxx_compiler
2928 # The first step is to find the host binaries.
2929 # Check for a compiler.
2930 # Due to a bug in autoconf check for c++ compiler first.
2931 # For mor info see, http://osdir.com/ml/bug-autoconf-gnu/2010-05/msg00001.html.
2933 ac_cpp='$CXXCPP $CPPFLAGS'
2934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2937 if test -z "$CXX"; then
2938 if test -n "$CCC"; then
2941 if test -n "$ac_tool_prefix"; then
2942 for ac_prog in ${host_cxx_compilers}
2944 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2945 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2947 $as_echo_n "checking for $ac_word... " >&6; }
2948 if ${ac_cv_prog_CXX+:} false; then :
2949 $as_echo_n "(cached) " >&6
2951 if test -n "$CXX"; then
2952 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2958 test -z "$as_dir" && as_dir=.
2959 for ac_exec_ext in '' $ac_executable_extensions; do
2960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2961 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2972 if test -n "$CXX"; then
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2974 $as_echo "$CXX" >&6; }
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2977 $as_echo "no" >&6; }
2981 test -n "$CXX" && break
2984 if test -z "$CXX"; then
2986 for ac_prog in ${host_cxx_compilers}
2988 # Extract the first word of "$ac_prog", so it can be a program name with args.
2989 set dummy $ac_prog; ac_word=$2
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2991 $as_echo_n "checking for $ac_word... " >&6; }
2992 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2993 $as_echo_n "(cached) " >&6
2995 if test -n "$ac_ct_CXX"; then
2996 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3002 test -z "$as_dir" && as_dir=.
3003 for ac_exec_ext in '' $ac_executable_extensions; do
3004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3005 ac_cv_prog_ac_ct_CXX="$ac_prog"
3006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3015 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3016 if test -n "$ac_ct_CXX"; then
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3018 $as_echo "$ac_ct_CXX" >&6; }
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3021 $as_echo "no" >&6; }
3025 test -n "$ac_ct_CXX" && break
3028 if test "x$ac_ct_CXX" = x; then
3031 case $cross_compiling:$ac_tool_warned in
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3034 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3035 ac_tool_warned=yes ;;
3043 # Provide some information about the compiler.
3044 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3047 for ac_option in --version -v -V -qversion; do
3048 { { ac_try="$ac_compiler $ac_option >&5"
3050 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3051 *) ac_try_echo
=$ac_try;;
3053 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3054 $as_echo "$ac_try_echo"; } >&5
3055 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3057 if test -s conftest.err
; then
3059 ... rest of stderr output deleted ...
3060 10q' conftest.err
>conftest.er1
3061 cat conftest.er1
>&5
3063 rm -f conftest.er1 conftest.err
3064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3065 test $ac_status = 0; }
3068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3069 /* end confdefs.h. */
3079 ac_clean_files_save
=$ac_clean_files
3080 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3081 # Try to create an executable without -o first, disregard a.out.
3082 # It will help us diagnose broken compilers, and finding out an intuition
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3085 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3086 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3088 # The possible output files:
3089 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3092 for ac_file
in $ac_files
3095 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3096 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3101 if { { ac_try
="$ac_link_default"
3103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3104 *) ac_try_echo=$ac_try;;
3106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3107 $as_echo "$ac_try_echo"; } >&5
3108 (eval "$ac_link_default") 2>&5
3110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3111 test $ac_status = 0; }; then :
3112 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3113 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3114 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3115 # so that the user can short-circuit this test for compilers unknown to
3117 for ac_file in $ac_files ''
3119 test -f "$ac_file" || continue
3121 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3124 # We found the default executable, but exeext='' is most
3128 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3130 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3132 # We set ac_cv_exeext here because the later test for it is not
3133 # safe: cross compilers may not add the suffix if given an `-o'
3134 # argument, so we may need to know it at that point already.
3135 # Even if this section looks crufty: it has the advantage of
3142 test "$ac_cv_exeext" = no && ac_cv_exeext=
3147 if test -z "$ac_file"; then :
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3149 $as_echo "no" >&6; }
3150 $as_echo "$as_me: failed program was:" >&5
3151 sed 's
/^
/|
/' conftest.$ac_ext >&5
3153 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3154 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3155 as_fn_error 77 "C++ compiler cannot create executables
3156 See \`config.log
' for more details" "$LINENO" 5; }
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3159 $as_echo "yes" >&6; }
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3162 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3164 $as_echo "$ac_file" >&6; }
3165 ac_exeext=$ac_cv_exeext
3167 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3168 ac_clean_files=$ac_clean_files_save
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3170 $as_echo_n "checking for suffix of executables... " >&6; }
3171 if { { ac_try="$ac_link"
3173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3174 *) ac_try_echo=$ac_try;;
3176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3177 $as_echo "$ac_try_echo"; } >&5
3178 (eval "$ac_link") 2>&5
3180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3181 test $ac_status = 0; }; then :
3182 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3183 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3184 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3186 for ac_file
in conftest.exe conftest conftest.
*; do
3187 test -f "$ac_file" ||
continue
3189 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3190 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3196 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3198 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3199 See \`config.log' for more details" "$LINENO" 5; }
3201 rm -f conftest conftest
$ac_cv_exeext
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3203 $as_echo "$ac_cv_exeext" >&6; }
3205 rm -f conftest.
$ac_ext
3206 EXEEXT
=$ac_cv_exeext
3208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3209 /* end confdefs.h. */
3214 FILE *f = fopen ("conftest.out", "w");
3215 return ferror (f) || fclose (f) != 0;
3221 ac_clean_files
="$ac_clean_files conftest.out"
3222 # Check that the compiler produces executables we can run. If not, either
3223 # the compiler is broken, or we cross compile.
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3225 $as_echo_n "checking whether we are cross compiling... " >&6; }
3226 if test "$cross_compiling" != yes; then
3227 { { ac_try
="$ac_link"
3229 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3230 *) ac_try_echo=$ac_try;;
3232 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3233 $as_echo "$ac_try_echo"; } >&5
3234 (eval "$ac_link") 2>&5
3236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3237 test $ac_status = 0; }
3238 if { ac_try='./conftest$ac_cv_exeext'
3239 { { case "(($ac_try" in
3240 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3241 *) ac_try_echo
=$ac_try;;
3243 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3244 $as_echo "$ac_try_echo"; } >&5
3245 (eval "$ac_try") 2>&5
3247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3248 test $ac_status = 0; }; }; then
3251 if test "$cross_compiling" = maybe
; then
3254 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3256 as_fn_error $?
"cannot run C++ compiled programs.
3257 If you meant to cross compile, use \`--host'.
3258 See \`config.log' for more details" "$LINENO" 5; }
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3263 $as_echo "$cross_compiling" >&6; }
3265 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3266 ac_clean_files
=$ac_clean_files_save
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3268 $as_echo_n "checking for suffix of object files... " >&6; }
3269 if ${ac_cv_objext+:} false
; then :
3270 $as_echo_n "(cached) " >&6
3272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3273 /* end confdefs.h. */
3283 rm -f conftest.o conftest.obj
3284 if { { ac_try
="$ac_compile"
3286 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3287 *) ac_try_echo=$ac_try;;
3289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3290 $as_echo "$ac_try_echo"; } >&5
3291 (eval "$ac_compile") 2>&5
3293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3294 test $ac_status = 0; }; then :
3295 for ac_file in conftest.o conftest.obj conftest.*; do
3296 test -f "$ac_file" || continue;
3298 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3299 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3304 $as_echo "$as_me: failed program was:" >&5
3305 sed 's/^/| /' conftest.$ac_ext >&5
3307 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3309 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3310 See \
`config.log' for more details" "$LINENO" 5; }
3312 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3315 $as_echo "$ac_cv_objext" >&6; }
3316 OBJEXT=$ac_cv_objext
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3319 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3320 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3321 $as_echo_n "(cached) " >&6
3323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3324 /* end confdefs.h. */
3337 if ac_fn_cxx_try_compile "$LINENO"; then :
3342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3343 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3347 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3348 if test $ac_compiler_gnu = yes; then
3353 ac_test_CXXFLAGS=${CXXFLAGS+set}
3354 ac_save_CXXFLAGS=$CXXFLAGS
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3356 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3357 if ${ac_cv_prog_cxx_g+:} false; then :
3358 $as_echo_n "(cached) " >&6
3360 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3361 ac_cxx_werror_flag=yes
3364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3365 /* end confdefs.h. */
3375 if ac_fn_cxx_try_compile "$LINENO"; then :
3376 ac_cv_prog_cxx_g=yes
3379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3380 /* end confdefs.h. */
3390 if ac_fn_cxx_try_compile "$LINENO"; then :
3393 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3396 /* end confdefs.h. */
3406 if ac_fn_cxx_try_compile "$LINENO"; then :
3407 ac_cv_prog_cxx_g=yes
3409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3414 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3417 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3418 if test "$ac_test_CXXFLAGS" = set; then
3419 CXXFLAGS=$ac_save_CXXFLAGS
3420 elif test $ac_cv_prog_cxx_g = yes; then
3421 if test "$GXX" = yes; then
3427 if test "$GXX" = yes; then
3434 ac_cpp='$CPP $CPPFLAGS'
3435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3440 # Extract the first word of "$CXX", so it can be a program name with args.
3441 set dummy $CXX; ac_word=$2
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3443 $as_echo_n "checking for $ac_word... " >&6; }
3444 if ${ac_cv_path_CXX+:} false; then :
3445 $as_echo_n "(cached) " >&6
3449 ac_cv_path_CXX="$CXX" # Let the user override the test with a path.
3452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3456 test -z "$as_dir" && as_dir=.
3457 for ac_exec_ext in '' $ac_executable_extensions; do
3458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3459 ac_cv_path_CXX="$as_dir/$ac_word$ac_exec_ext"
3460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3471 if test -n "$CXX"; then
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3473 $as_echo "$CXX" >&6; }
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3476 $as_echo "no" >&6; }
3481 ac_cpp='$CPP $CPPFLAGS'
3482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3485 if test -n "$ac_tool_prefix"; then
3486 for ac_prog in ${host_c_compilers}
3488 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3489 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3491 $as_echo_n "checking for $ac_word... " >&6; }
3492 if ${ac_cv_prog_CC+:} false; then :
3493 $as_echo_n "(cached) " >&6
3495 if test -n "$CC"; then
3496 ac_cv_prog_CC="$CC" # Let the user override the test.
3498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3502 test -z "$as_dir" && as_dir=.
3503 for ac_exec_ext in '' $ac_executable_extensions; do
3504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3505 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3516 if test -n "$CC"; then
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3518 $as_echo "$CC" >&6; }
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3521 $as_echo "no" >&6; }
3525 test -n "$CC" && break
3528 if test -z "$CC"; then
3530 for ac_prog in ${host_c_compilers}
3532 # Extract the first word of "$ac_prog", so it can be a program name with args.
3533 set dummy $ac_prog; ac_word=$2
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3535 $as_echo_n "checking for $ac_word... " >&6; }
3536 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3537 $as_echo_n "(cached) " >&6
3539 if test -n "$ac_ct_CC"; then
3540 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3546 test -z "$as_dir" && as_dir=.
3547 for ac_exec_ext in '' $ac_executable_extensions; do
3548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3549 ac_cv_prog_ac_ct_CC="$ac_prog"
3550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3559 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3560 if test -n "$ac_ct_CC"; then
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3562 $as_echo "$ac_ct_CC" >&6; }
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3565 $as_echo "no" >&6; }
3569 test -n "$ac_ct_CC" && break
3572 if test "x$ac_ct_CC" = x; then
3575 case $cross_compiling:$ac_tool_warned in
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3578 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3579 ac_tool_warned=yes ;;
3586 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3587 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3588 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3589 See \
`config.log' for more details" "$LINENO" 5; }
3591 # Provide some information about the compiler.
3592 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3595 for ac_option in --version -v -V -qversion; do
3596 { { ac_try="$ac_compiler $ac_option >&5"
3598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3599 *) ac_try_echo
=$ac_try;;
3601 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3602 $as_echo "$ac_try_echo"; } >&5
3603 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3605 if test -s conftest.err
; then
3607 ... rest of stderr output deleted ...
3608 10q' conftest.err
>conftest.er1
3609 cat conftest.er1
>&5
3611 rm -f conftest.er1 conftest.err
3612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3613 test $ac_status = 0; }
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3617 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3618 if ${ac_cv_c_compiler_gnu+:} false
; then :
3619 $as_echo_n "(cached) " >&6
3621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3622 /* end confdefs.h. */
3635 if ac_fn_c_try_compile
"$LINENO"; then :
3640 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3641 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3645 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3646 if test $ac_compiler_gnu = yes; then
3651 ac_test_CFLAGS
=${CFLAGS+set}
3652 ac_save_CFLAGS
=$CFLAGS
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3654 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3655 if ${ac_cv_prog_cc_g+:} false
; then :
3656 $as_echo_n "(cached) " >&6
3658 ac_save_c_werror_flag
=$ac_c_werror_flag
3659 ac_c_werror_flag
=yes
3662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3663 /* end confdefs.h. */
3673 if ac_fn_c_try_compile
"$LINENO"; then :
3677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3678 /* end confdefs.h. */
3688 if ac_fn_c_try_compile
"$LINENO"; then :
3691 ac_c_werror_flag
=$ac_save_c_werror_flag
3693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3694 /* end confdefs.h. */
3704 if ac_fn_c_try_compile
"$LINENO"; then :
3707 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3712 ac_c_werror_flag
=$ac_save_c_werror_flag
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3715 $as_echo "$ac_cv_prog_cc_g" >&6; }
3716 if test "$ac_test_CFLAGS" = set; then
3717 CFLAGS
=$ac_save_CFLAGS
3718 elif test $ac_cv_prog_cc_g = yes; then
3719 if test "$GCC" = yes; then
3725 if test "$GCC" = yes; then
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3732 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3733 if ${ac_cv_prog_cc_c89+:} false
; then :
3734 $as_echo_n "(cached) " >&6
3736 ac_cv_prog_cc_c89
=no
3738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3739 /* end confdefs.h. */
3743 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3744 struct buf { int x; };
3745 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3746 static char *e (p, i)
3752 static char *f (char * (*g) (char **, int), char **p, ...)
3757 s = g (p, va_arg (v,int));
3762 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3763 function prototypes and stuff, but not '\xHH' hex character constants.
3764 These don't provoke an error unfortunately, instead are silently treated
3765 as 'x'. The following induces an error, until -std is added to get
3766 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3767 array size at least. It's necessary to write '\x00'==0 to get something
3768 that's true only with -std. */
3769 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3771 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3772 inside strings and character constants. */
3774 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3776 int test (int i, double x);
3777 struct s1 {int (*f) (int a);};
3778 struct s2 {int (*f) (double a);};
3779 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3785 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3790 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3791 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3793 CC
="$ac_save_CC $ac_arg"
3794 if ac_fn_c_try_compile
"$LINENO"; then :
3795 ac_cv_prog_cc_c89
=$ac_arg
3797 rm -f core conftest.err conftest.
$ac_objext
3798 test "x$ac_cv_prog_cc_c89" != "xno" && break
3800 rm -f conftest.
$ac_ext
3805 case "x$ac_cv_prog_cc_c89" in
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3808 $as_echo "none needed" >&6; } ;;
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3811 $as_echo "unsupported" >&6; } ;;
3813 CC
="$CC $ac_cv_prog_cc_c89"
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3815 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3817 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3822 ac_cpp
='$CPP $CPPFLAGS'
3823 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3824 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3825 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3828 # Extract the first word of "$CC", so it can be a program name with args.
3829 set dummy
$CC; ac_word
=$2
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3831 $as_echo_n "checking for $ac_word... " >&6; }
3832 if ${ac_cv_path_CC+:} false
; then :
3833 $as_echo_n "(cached) " >&6
3837 ac_cv_path_CC
="$CC" # Let the user override the test with a path.
3840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3844 test -z "$as_dir" && as_dir
=.
3845 for ac_exec_ext
in '' $ac_executable_extensions; do
3846 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3847 ac_cv_path_CC
="$as_dir/$ac_word$ac_exec_ext"
3848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3859 if test -n "$CC"; then
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3861 $as_echo "$CC" >&6; }
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3864 $as_echo "no" >&6; }
3868 aros_host_def_cc
="$CC"
3869 case $ac_cv_prog_cc_stdc in #(
3871 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3874 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3875 if ${ac_cv_prog_cc_c99+:} false
; then :
3876 $as_echo_n "(cached) " >&6
3878 ac_cv_prog_cc_c99
=no
3880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3881 /* end confdefs.h. */
3883 #include <stdbool.h>
3888 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3889 #define debug(...) fprintf (stderr, __VA_ARGS__)
3890 #define showlist(...) puts (#__VA_ARGS__)
3891 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3893 test_varargs_macros (void)
3898 debug ("X = %d\n", x);
3899 showlist (The first, second, and third items.);
3900 report (x>y, "x is %d but y is %d", x, y);
3903 // Check long long types.
3904 #define BIG64 18446744073709551615ull
3905 #define BIG32 4294967295ul
3906 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3908 your preprocessor is broken;
3912 your preprocessor is broken;
3914 static long long int bignum = -9223372036854775807LL;
3915 static unsigned long long int ubignum = BIG64;
3917 struct incomplete_array
3925 const wchar_t *name;
3929 typedef const char *ccp;
3932 test_restrict (ccp restrict text)
3934 // See if C++-style comments work.
3935 // Iterate through items via the restricted pointer.
3936 // Also check for declarations in for loops.
3937 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3942 // Check varargs and va_copy.
3944 test_varargs (const char *format, ...)
3947 va_start (args, format);
3949 va_copy (args_copy, args);
3960 str = va_arg (args_copy, const char *);
3963 number = va_arg (args_copy, int);
3966 fnumber = va_arg (args_copy, double);
3981 _Bool success = false;
3984 if (test_restrict ("String literal") == 0)
3986 char *restrict newvar = "Another string";
3989 test_varargs ("s, d' f .", "string", 65, 34.234);
3990 test_varargs_macros ();
3992 // Check flexible array members.
3993 struct incomplete_array *ia =
3994 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3996 for (int i = 0; i < ia->datasize; ++i)
3997 ia->data[i] = i * 1.234;
3999 // Check named initializers.
4000 struct named_init ni = {
4002 .name = L"Test wide string",
4003 .average = 543.34343,
4008 int dynamic_array[ni.number];
4009 dynamic_array[ni.number - 1] = 543;
4011 // work around unused variable warnings
4012 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4013 || dynamic_array[ni.number - 1] != 543);
4019 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4021 CC
="$ac_save_CC $ac_arg"
4022 if ac_fn_c_try_compile
"$LINENO"; then :
4023 ac_cv_prog_cc_c99
=$ac_arg
4025 rm -f core conftest.err conftest.
$ac_objext
4026 test "x$ac_cv_prog_cc_c99" != "xno" && break
4028 rm -f conftest.
$ac_ext
4033 case "x$ac_cv_prog_cc_c99" in
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4036 $as_echo "none needed" >&6; } ;;
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4039 $as_echo "unsupported" >&6; } ;;
4041 CC
="$CC $ac_cv_prog_cc_c99"
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4043 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4045 if test "x$ac_cv_prog_cc_c99" != xno
; then :
4046 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4049 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4050 if ${ac_cv_prog_cc_c89+:} false
; then :
4051 $as_echo_n "(cached) " >&6
4053 ac_cv_prog_cc_c89
=no
4055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4056 /* end confdefs.h. */
4060 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4061 struct buf { int x; };
4062 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4063 static char *e (p, i)
4069 static char *f (char * (*g) (char **, int), char **p, ...)
4074 s = g (p, va_arg (v,int));
4079 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4080 function prototypes and stuff, but not '\xHH' hex character constants.
4081 These don't provoke an error unfortunately, instead are silently treated
4082 as 'x'. The following induces an error, until -std is added to get
4083 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4084 array size at least. It's necessary to write '\x00'==0 to get something
4085 that's true only with -std. */
4086 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4088 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4089 inside strings and character constants. */
4091 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4093 int test (int i, double x);
4094 struct s1 {int (*f) (int a);};
4095 struct s2 {int (*f) (double a);};
4096 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4102 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4107 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4108 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4110 CC
="$ac_save_CC $ac_arg"
4111 if ac_fn_c_try_compile
"$LINENO"; then :
4112 ac_cv_prog_cc_c89
=$ac_arg
4114 rm -f core conftest.err conftest.
$ac_objext
4115 test "x$ac_cv_prog_cc_c89" != "xno" && break
4117 rm -f conftest.
$ac_ext
4122 case "x$ac_cv_prog_cc_c89" in
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4125 $as_echo "none needed" >&6; } ;;
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4128 $as_echo "unsupported" >&6; } ;;
4130 CC
="$CC $ac_cv_prog_cc_c89"
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4132 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4134 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4135 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4137 ac_cv_prog_cc_stdc
=no
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4144 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4145 if ${ac_cv_prog_cc_stdc+:} false
; then :
4146 $as_echo_n "(cached) " >&6
4149 case $ac_cv_prog_cc_stdc in #(
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4152 $as_echo "unsupported" >&6; } ;; #(
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4155 $as_echo "none needed" >&6; } ;; #(
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4158 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4162 ac_cpp
='$CPP $CPPFLAGS'
4163 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4164 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4165 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4167 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4168 # On Suns, sometimes $CPP names a directory.
4169 if test -n "$CPP" && test -d "$CPP"; then
4172 if test -z "$CPP"; then
4173 if ${ac_cv_prog_CPP+:} false
; then :
4174 $as_echo_n "(cached) " >&6
4176 # Double quotes because CPP needs to be expanded
4177 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4180 for ac_c_preproc_warn_flag
in '' yes
4182 # Use a header file that comes with gcc, so configuring glibc
4183 # with a fresh cross-compiler works.
4184 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4185 # <limits.h> exists even on freestanding compilers.
4186 # On the NeXT, cc -E runs the code through the compiler's parser,
4187 # not just through cpp. "Syntax error" is here to catch this case.
4188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4189 /* end confdefs.h. */
4191 # include <limits.h>
4193 # include <assert.h>
4197 if ac_fn_c_try_cpp
"$LINENO"; then :
4200 # Broken: fails on valid input.
4203 rm -f conftest.err conftest.i conftest.
$ac_ext
4205 # OK, works on sane cases. Now check whether nonexistent headers
4206 # can be detected and how.
4207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4208 /* end confdefs.h. */
4209 #include <ac_nonexistent.h>
4211 if ac_fn_c_try_cpp
"$LINENO"; then :
4212 # Broken: success on invalid input.
4215 # Passes both tests.
4219 rm -f conftest.err conftest.i conftest.
$ac_ext
4222 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4223 rm -f conftest.i conftest.err conftest.
$ac_ext
4224 if $ac_preproc_ok; then :
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4237 $as_echo "$CPP" >&6; }
4239 for ac_c_preproc_warn_flag
in '' yes
4241 # Use a header file that comes with gcc, so configuring glibc
4242 # with a fresh cross-compiler works.
4243 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4244 # <limits.h> exists even on freestanding compilers.
4245 # On the NeXT, cc -E runs the code through the compiler's parser,
4246 # not just through cpp. "Syntax error" is here to catch this case.
4247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4248 /* end confdefs.h. */
4250 # include <limits.h>
4252 # include <assert.h>
4256 if ac_fn_c_try_cpp
"$LINENO"; then :
4259 # Broken: fails on valid input.
4262 rm -f conftest.err conftest.i conftest.
$ac_ext
4264 # OK, works on sane cases. Now check whether nonexistent headers
4265 # can be detected and how.
4266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4267 /* end confdefs.h. */
4268 #include <ac_nonexistent.h>
4270 if ac_fn_c_try_cpp
"$LINENO"; then :
4271 # Broken: success on invalid input.
4274 # Passes both tests.
4278 rm -f conftest.err conftest.i conftest.
$ac_ext
4281 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4282 rm -f conftest.i conftest.err conftest.
$ac_ext
4283 if $ac_preproc_ok; then :
4286 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4287 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4288 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4289 See \`config.log' for more details" "$LINENO" 5; }
4293 ac_cpp
='$CPP $CPPFLAGS'
4294 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4295 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4296 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4299 # detect the compiler version
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which toolchain family ${CC_BASE} belongs to" >&5
4301 $as_echo_n "checking which toolchain family ${CC_BASE} belongs to... " >&6; }
4302 HOST_COMPILER_VERSION
=`"$CC" --version 2>/dev/null`
4303 if test x
"$HOST_COMPILER_VERSION" = "x"; then
4304 HOST_COMPILER_VERSION
=`"$CC" --qversion 2>/dev/null`
4306 if test x
"$HOST_COMPILER_VERSION" = "x"; then
4307 HOST_COMPILER_VERSION
=`"$CC" -V 2>/dev/null`
4310 IS_SUN_COMPILER
=`echo $HOST_COMPILER_VERSION | grep -i -c -E 'Sun C\+\+'`
4311 if test "$IS_SUN_COMPILER" -ne "0"; then
4312 HOST_TOOLCHAIN_PREFIX
=
4313 HOST_TOOLCHAIN_SUFFIX
=
4314 HOST_TOOLCHAIN_FAMILY
=sun
4316 IS_LLVM_COMPILER
=`echo $HOST_COMPILER_VERSION | grep -i -c -E 'LLVM|clang'`
4317 if test "$IS_LLVM_COMPILER" -ne "0"; then
4318 if test "$CC_BASE" != "gcc"; then
4319 HOST_TOOLCHAIN_PREFIX
=llvm-
4320 HOST_TOOLCHAIN_SUFFIX
="`echo $CC_BASE | sed -e \"s|clang||g\"`"
4321 HOST_TOOLCHAIN_FAMILY
=llvm
4326 if test "x$IS_GNU_COMPILER" = "x"; then
4327 IS_GNU_COMPILER
=`echo $HOST_COMPILER_VERSION | grep -i -c -E 'gcc'`
4329 if test "$IS_GNU_COMPILER" -ne "0"; then
4330 HOST_TOOLCHAIN_PREFIX
=
4331 HOST_TOOLCHAIN_SUFFIX
=
4332 HOST_TOOLCHAIN_FAMILY
=gnu
4334 if test x
"$HOST_TOOLCHAIN_FAMILY" = "x"; then
4335 HOST_TOOLCHAIN_FAMILY
=unknown
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HOST_TOOLCHAIN_FAMILY" >&5
4338 $as_echo "$HOST_TOOLCHAIN_FAMILY" >&6; }
4340 # Check for a compatible awk
4341 for ac_prog
in gawk nawk
4343 # Extract the first word of "$ac_prog", so it can be a program name with args.
4344 set dummy
$ac_prog; ac_word
=$2
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4346 $as_echo_n "checking for $ac_word... " >&6; }
4347 if ${ac_cv_prog_AWK+:} false
; then :
4348 $as_echo_n "(cached) " >&6
4350 if test -n "$AWK"; then
4351 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4357 test -z "$as_dir" && as_dir
=.
4358 for ac_exec_ext
in '' $ac_executable_extensions; do
4359 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4360 ac_cv_prog_AWK
="$ac_prog"
4361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4371 if test -n "$AWK"; then
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4373 $as_echo "$AWK" >&6; }
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4376 $as_echo "no" >&6; }
4380 test -n "$AWK" && break
4384 if test "$AWK" = ""; then
4387 if test "$AWK" = "no"; then
4390 if test "$req_avail" = "no"; then
4391 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4393 # Extract the first word of "mmake", so it can be a program name with args.
4394 set dummy mmake
; ac_word
=$2
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4396 $as_echo_n "checking for $ac_word... " >&6; }
4397 if ${ac_cv_prog_MMAKE+:} false
; then :
4398 $as_echo_n "(cached) " >&6
4400 if test -n "$MMAKE"; then
4401 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4407 test -z "$as_dir" && as_dir
=.
4408 for ac_exec_ext
in '' $ac_executable_extensions; do
4409 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4410 ac_cv_prog_MMAKE
="mmake "
4411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 MMAKE
=$ac_cv_prog_MMAKE
4421 if test -n "$MMAKE"; then
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4423 $as_echo "$MMAKE" >&6; }
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4426 $as_echo "no" >&6; }
4431 # Perform some default variable assignments. Note all of these will be
4432 # Regenerated from the script, so there is no need to cache them.
4434 aros_build_host
=$host
4435 aros_host_cpp
="$CPP"
4437 aros_host_cxx
="$CXX"
4438 base_ld_name
=${HOST_TOOLCHAIN_PREFIX}ld
${HOST_TOOLCHAIN_SUFFIX}
4439 if test "$HOST_TOOLCHAIN_FAMILY" = "llvm"; then
4440 for ac_prog
in $base_ld_name ld.lld
${HOST_TOOLCHAIN_SUFFIX} ld64.lld${HOST_TOOLCHAIN_SUFFIX} ld-link${HOST_TOOLCHAIN_SUFFIX}.exe ld${HOST_TOOLCHAIN_SUFFIX}
4442 # Extract the first word of "$ac_prog", so it can be a program name with args.
4443 set dummy
$ac_prog; ac_word
=$2
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4445 $as_echo_n "checking for $ac_word... " >&6; }
4446 if ${ac_cv_prog_base_lld_name+:} false
; then :
4447 $as_echo_n "(cached) " >&6
4449 if test -n "$base_lld_name"; then
4450 ac_cv_prog_base_lld_name
="$base_lld_name" # Let the user override the test.
4452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4456 test -z "$as_dir" && as_dir
=.
4457 for ac_exec_ext
in '' $ac_executable_extensions; do
4458 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4459 ac_cv_prog_base_lld_name
="$ac_prog"
4460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4469 base_lld_name
=$ac_cv_prog_base_lld_name
4470 if test -n "$base_lld_name"; then
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $base_lld_name" >&5
4472 $as_echo "$base_lld_name" >&6; }
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4475 $as_echo "no" >&6; }
4479 test -n "$base_lld_name" && break
4482 base_ld_name
=$base_lld_name
4485 if test "$base_ld_name" = ""; then
4488 ac_tool_ld
=$base_ld_name
4490 if test "$GCC" = "yes"; then
4491 aros_gcc_ld
=`$CC -print-prog-name=$ac_tool_ld`
4492 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4493 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4495 $as_echo_n "checking for $ac_word... " >&6; }
4496 if ${ac_cv_path_aros_host_ld+:} false
; then :
4497 $as_echo_n "(cached) " >&6
4499 case $aros_host_ld in
4501 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4505 for as_dir
in `dirname $aros_gcc_ld`
4508 test -z "$as_dir" && as_dir
=.
4509 for ac_exec_ext
in '' $ac_executable_extensions; do
4510 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4511 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4522 aros_host_ld
=$ac_cv_path_aros_host_ld
4523 if test -n "$aros_host_ld"; then
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4525 $as_echo "$aros_host_ld" >&6; }
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4528 $as_echo "no" >&6; }
4533 if test "$aros_host_ld" = ""; then
4534 for ac_prog
in $ac_tool_ld
4536 # Extract the first word of "$ac_prog", so it can be a program name with args.
4537 set dummy
$ac_prog; ac_word
=$2
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4539 $as_echo_n "checking for $ac_word... " >&6; }
4540 if ${ac_cv_path_aros_host_ld+:} false
; then :
4541 $as_echo_n "(cached) " >&6
4543 case $aros_host_ld in
4545 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4552 test -z "$as_dir" && as_dir
=.
4553 for ac_exec_ext
in '' $ac_executable_extensions; do
4554 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4555 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4566 aros_host_ld
=$ac_cv_path_aros_host_ld
4567 if test -n "$aros_host_ld"; then
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4569 $as_echo "$aros_host_ld" >&6; }
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4572 $as_echo "no" >&6; }
4576 test -n "$aros_host_ld" && break
4582 if test "$aros_host_ld" = ""; then
4585 if test "$aros_host_ld" = "no"; then
4588 if test "$req_avail" = "no"; then
4589 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4591 aros_host_make
="make"
4592 aros_host_cflags
="$CFLAGS"
4593 aros_host_cxxflags
="$CXXFLAGS"
4594 aros_host_cppflags
="$CPPFLAGS"
4595 aros_host_ldflags
="$LDFLAGS"
4596 aros_host_debug
="-g -O0"
4597 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4598 aros_host_mkargs
="--no-print-directory"
4599 aros_host_exe_suffix
="$EXEEXT"
4600 aros_host_lib_suffix
=""
4602 # Ignore all compliance, AROS ROMs = 0
4603 # KickStart v1.0 = 30
4604 # KickStart v1.3 = 34
4605 # KickStart v2.0 = 37
4606 # KickStart v3.0 = 39
4607 # KickStart v3.1 = 40
4609 aros_amigaos_compliance
=0
4611 for ac_prog
in aclocal aclocal19 aclocal-1.9
4613 # Extract the first word of "$ac_prog", so it can be a program name with args.
4614 set dummy
$ac_prog; ac_word
=$2
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4616 $as_echo_n "checking for $ac_word... " >&6; }
4617 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4618 $as_echo_n "(cached) " >&6
4620 if test -n "$aros_host_aclocal"; then
4621 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4627 test -z "$as_dir" && as_dir
=.
4628 for ac_exec_ext
in '' $ac_executable_extensions; do
4629 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4630 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4640 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4641 if test -n "$aros_host_aclocal"; then
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4643 $as_echo "$aros_host_aclocal" >&6; }
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4646 $as_echo "no" >&6; }
4650 test -n "$aros_host_aclocal" && break
4653 for ac_prog
in autoconf autoconf259 autoconf253
4655 # Extract the first word of "$ac_prog", so it can be a program name with args.
4656 set dummy
$ac_prog; ac_word
=$2
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4658 $as_echo_n "checking for $ac_word... " >&6; }
4659 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4660 $as_echo_n "(cached) " >&6
4662 if test -n "$aros_host_autoconf"; then
4663 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4669 test -z "$as_dir" && as_dir
=.
4670 for ac_exec_ext
in '' $ac_executable_extensions; do
4671 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4672 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4682 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4683 if test -n "$aros_host_autoconf"; then
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4685 $as_echo "$aros_host_autoconf" >&6; }
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4688 $as_echo "no" >&6; }
4692 test -n "$aros_host_autoconf" && break
4695 for ac_prog
in autoheader autoheader259 autoheader253
4697 # Extract the first word of "$ac_prog", so it can be a program name with args.
4698 set dummy
$ac_prog; ac_word
=$2
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4700 $as_echo_n "checking for $ac_word... " >&6; }
4701 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4702 $as_echo_n "(cached) " >&6
4704 if test -n "$aros_host_autoheader"; then
4705 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4711 test -z "$as_dir" && as_dir
=.
4712 for ac_exec_ext
in '' $ac_executable_extensions; do
4713 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4714 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4724 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4725 if test -n "$aros_host_autoheader"; then
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4727 $as_echo "$aros_host_autoheader" >&6; }
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4730 $as_echo "no" >&6; }
4734 test -n "$aros_host_autoheader" && break
4737 for ac_prog
in automake automake19 automake-1.9
4739 # Extract the first word of "$ac_prog", so it can be a program name with args.
4740 set dummy
$ac_prog; ac_word
=$2
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4742 $as_echo_n "checking for $ac_word... " >&6; }
4743 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4744 $as_echo_n "(cached) " >&6
4746 if test -n "$aros_host_automake"; then
4747 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4753 test -z "$as_dir" && as_dir
=.
4754 for ac_exec_ext
in '' $ac_executable_extensions; do
4755 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4756 ac_cv_prog_aros_host_automake
="$ac_prog"
4757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4766 aros_host_automake
=$ac_cv_prog_aros_host_automake
4767 if test -n "$aros_host_automake"; then
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4769 $as_echo "$aros_host_automake" >&6; }
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4772 $as_echo "no" >&6; }
4776 test -n "$aros_host_automake" && break
4781 if test "$aros_host_aclocal" = ""; then
4784 if test "$aros_host_aclocal" = "no"; then
4787 if test "$req_avail" = "no"; then
4788 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4791 if test "$aros_host_automake" = ""; then
4794 if test "$aros_host_automake" = "no"; then
4797 if test "$req_avail" = "no"; then
4798 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4801 case "$aros_host_cc" in
4803 aros_host_cc_pipe
=""
4806 aros_host_cc_pipe
="-pipe"
4809 aros_host_cc_pipe
=""
4812 aros_host_cc_pipe
=""
4816 aros_kernel_cc_includes
=""
4817 aros_target_cc_includes
=""
4820 # ----------------------------------------------------------------------------------------
4821 # Host-specific defaults
4823 # This is the main host configuration section. It is where the host
4824 # can change the values of any variables it needs to change. We do
4825 # not look at anything that compiles to the target yet, we'll get
4830 aros_host_arch
="aros"
4831 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4834 aros_host_cpu
="i386"
4837 aros_host_cpu
="x86_64"
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4844 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4845 aros_host_cpu
="$host_cpu"
4851 aros_host_arch
="linux"
4852 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4853 android_build_os
="linux-x86"
4854 android_tool
="android"
4855 default_android_sdk
="/opt/android-sdk-linux_x86"
4858 aros_host_cpu
="i386"
4861 aros_host_cpu
="x86_64"
4864 aros_host_cpu
="m68k"
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4874 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4875 aros_host_cpu
="$host_cpu"
4881 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe -I/usr/local/include"
4882 aros_host_make
="gmake"
4883 aros_host_arch
="freebsd"
4884 aros_host_cpu
="i386"
4886 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4890 aros_object_format
="elf_i386"
4894 aros_object_format
="elf_i386_fbsd"
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for macOS SDK files" >&5
4902 $as_echo_n "checking for macOS SDK files... " >&6; }
4903 LOC
=$
( xcode-select
-p )
4904 if test $?
!= 0; then :
4905 as_fn_error $?
"XCode incorrectly configured!
4906 please run 'xcode-select --install' before
4907 re-running configure" "$LINENO" 5
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOC" >&5
4910 $as_echo "$LOC" >&6; }
4911 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4912 aros_host_arch
="darwin"
4914 if [ -z ${SED+x} ]; then SED
="gsed"; fi
4915 android_build_os
="darwin-x86"
4916 android_tool
="android"
4917 default_android_sdk
="/android-sdk-mac_x86"
4920 aros_host_cpu
="i386"
4923 aros_host_cpu
="x86_64"
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4930 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4931 aros_host_cpu
="$host_cpu"
4935 aros_host_ldflags
="$aros_host_ldflags -liconv"
4940 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4941 aros_host_make
="gmake"
4942 aros_host_arch
="dragonfly"
4945 aros_host_cpu
="i386"
4948 aros_host_cpu
="x86_64"
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4952 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4953 aros_host_cpu
="$host_cpu"
4959 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4960 aros_host_make
="gmake"
4961 aros_host_arch
="netbsd"
4964 aros_host_cpu
="i386"
4967 aros_host_cpu
="m68k"
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4971 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4972 aros_host_cpu
="$host_cpu"
4975 aros_host_lib_suffix
=".0.0"
4979 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4980 aros_host_make
="gmake"
4981 aros_host_arch
="openbsd"
4984 aros_host_cpu
="i386"
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4988 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4989 aros_host_cpu
="$host_cpu"
4995 aros_host_arch
="solaris"
4996 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4999 aros_host_cpu
="i386"
5002 aros_host_cpu
="sparc"
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
5006 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
5007 aros_host_cpu
="$host_cpu"
5013 aros_host_arch
="morphos"
5019 aros_host_arch
="amiga"
5025 TOUCH
="/gg/bin/touch"
5028 aros_host_cpu
="m68k"
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
5035 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
5036 aros_host_cpu
="$host_cpu"
5042 aros_host_arch
="cygwin"
5043 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
5045 android_build_os
="windows"
5046 android_tool
="android.bat"
5047 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
5051 aros_host_cpu
="i386"
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
5055 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
5056 aros_host_cpu
="$host_cpu"
5062 aros_host_arch
="mingw32"
5063 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
5065 android_build_os
="windows"
5066 android_tool
="android.bat"
5067 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
5069 libpng_libextra
="-lws2_32"
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
5075 $as_echo_n "checking for Windows native gcc target... " >&6; }
5076 host_cpu
=`gcc -dumpmachine`
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
5078 $as_echo "$host_cpu" >&6; }
5085 aros_host_cpu
="i386"
5089 aros_host_cpu
="i386"
5093 aros_host_cpu
="x86_64"
5094 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
5099 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
5100 aros_host_cpu
="$host_cpu"
5105 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
5109 base_ar_name
=${HOST_TOOLCHAIN_PREFIX}ar${HOST_TOOLCHAIN_SUFFIX}
5110 # Extract the first word of "$base_ar_name", so it can be a program name with args.
5111 set dummy
$base_ar_name; ac_word
=$2
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5113 $as_echo_n "checking for $ac_word... " >&6; }
5114 if ${ac_cv_prog_aros_host_cmd_ar+:} false
; then :
5115 $as_echo_n "(cached) " >&6
5117 if test -n "$aros_host_cmd_ar"; then
5118 ac_cv_prog_aros_host_cmd_ar
="$aros_host_cmd_ar" # Let the user override the test.
5120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5124 test -z "$as_dir" && as_dir
=.
5125 for ac_exec_ext
in '' $ac_executable_extensions; do
5126 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5127 ac_cv_prog_aros_host_cmd_ar
="$base_ar_name cr"
5128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5137 aros_host_cmd_ar
=$ac_cv_prog_aros_host_cmd_ar
5138 if test -n "$aros_host_cmd_ar"; then
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_cmd_ar" >&5
5140 $as_echo "$aros_host_cmd_ar" >&6; }
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5143 $as_echo "no" >&6; }
5147 # Extract the first word of "$aros_host_cmd_ar", so it can be a program name with args.
5148 set dummy
$aros_host_cmd_ar; ac_word
=$2
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5150 $as_echo_n "checking for $ac_word... " >&6; }
5151 if ${ac_cv_path_aros_host_full_ar+:} false
; then :
5152 $as_echo_n "(cached) " >&6
5154 case $aros_host_full_ar in
5156 ac_cv_path_aros_host_full_ar
="$aros_host_full_ar" # Let the user override the test with a path.
5159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5163 test -z "$as_dir" && as_dir
=.
5164 for ac_exec_ext
in '' $ac_executable_extensions; do
5165 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5166 ac_cv_path_aros_host_full_ar
="$as_dir/$ac_word$ac_exec_ext"
5167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5174 test -z "$ac_cv_path_aros_host_full_ar" && ac_cv_path_aros_host_full_ar
="$aros_host_cmd_ar "
5178 aros_host_full_ar
=$ac_cv_path_aros_host_full_ar
5179 if test -n "$aros_host_full_ar"; then
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_full_ar" >&5
5181 $as_echo "$aros_host_full_ar" >&6; }
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5184 $as_echo "no" >&6; }
5188 aros_host_ar
=`echo $aros_host_cmd_ar | sed -e "s|$base_ar_name|$aros_host_full_ar|g"`
5190 if test "$aros_host_ar" = ""; then
5193 if test "$aros_host_ar" = "no"; then
5196 if test "$req_avail" = "no"; then
5197 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
5199 base_ranlib_name
=${HOST_TOOLCHAIN_PREFIX}ranlib
${HOST_TOOLCHAIN_SUFFIX}
5200 # Extract the first word of "$base_ranlib_name", so it can be a program name with args.
5201 set dummy
$base_ranlib_name; ac_word
=$2
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5203 $as_echo_n "checking for $ac_word... " >&6; }
5204 if ${ac_cv_path_aros_host_ranlib+:} false
; then :
5205 $as_echo_n "(cached) " >&6
5207 case $aros_host_ranlib in
5209 ac_cv_path_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test with a path.
5212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5216 test -z "$as_dir" && as_dir
=.
5217 for ac_exec_ext
in '' $ac_executable_extensions; do
5218 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5219 ac_cv_path_aros_host_ranlib
="$as_dir/$ac_word$ac_exec_ext"
5220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5227 test -z "$ac_cv_path_aros_host_ranlib" && ac_cv_path_aros_host_ranlib
="$base_ranlib_name "
5231 aros_host_ranlib
=$ac_cv_path_aros_host_ranlib
5232 if test -n "$aros_host_ranlib"; then
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
5234 $as_echo "$aros_host_ranlib" >&6; }
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5237 $as_echo "no" >&6; }
5242 if test "$aros_host_ranlib" = ""; then
5245 if test "$aros_host_ranlib" = "no"; then
5248 if test "$req_avail" = "no"; then
5249 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
5251 # Extract the first word of "strip", so it can be a program name with args.
5252 set dummy strip
; ac_word
=$2
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5254 $as_echo_n "checking for $ac_word... " >&6; }
5255 if ${ac_cv_prog_aros_host_strip+:} false
; then :
5256 $as_echo_n "(cached) " >&6
5258 if test -n "$aros_host_strip"; then
5259 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5265 test -z "$as_dir" && as_dir
=.
5266 for ac_exec_ext
in '' $ac_executable_extensions; do
5267 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5268 ac_cv_prog_aros_host_strip
="strip "
5269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5278 aros_host_strip
=$ac_cv_prog_aros_host_strip
5279 if test -n "$aros_host_strip"; then
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5281 $as_echo "$aros_host_strip" >&6; }
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5284 $as_echo "no" >&6; }
5289 if test "$aros_host_strip" = ""; then
5292 if test "$aros_host_strip" = "no"; then
5295 if test "$req_avail" = "no"; then
5296 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5299 # Extract the first word of "rm", so it can be a program name with args.
5300 set dummy
rm; ac_word
=$2
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5302 $as_echo_n "checking for $ac_word... " >&6; }
5303 if ${ac_cv_prog_RM+:} false
; then :
5304 $as_echo_n "(cached) " >&6
5306 if test -n "$RM"; then
5307 ac_cv_prog_RM
="$RM" # Let the user override the test.
5309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5313 test -z "$as_dir" && as_dir
=.
5314 for ac_exec_ext
in '' $ac_executable_extensions; do
5315 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5316 ac_cv_prog_RM
="rm -rf"
5317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5327 if test -n "$RM"; then
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5329 $as_echo "$RM" >&6; }
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5332 $as_echo "no" >&6; }
5337 if test "$RM" = ""; then
5340 if test "$RM" = "no"; then
5343 if test "$req_avail" = "no"; then
5344 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5346 # Extract the first word of "cp", so it can be a program name with args.
5347 set dummy
cp; ac_word
=$2
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5349 $as_echo_n "checking for $ac_word... " >&6; }
5350 if ${ac_cv_prog_CP+:} false
; then :
5351 $as_echo_n "(cached) " >&6
5353 if test -n "$CP"; then
5354 ac_cv_prog_CP
="$CP" # Let the user override the test.
5356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5360 test -z "$as_dir" && as_dir
=.
5361 for ac_exec_ext
in '' $ac_executable_extensions; do
5362 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5374 if test -n "$CP"; then
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5376 $as_echo "$CP" >&6; }
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5379 $as_echo "no" >&6; }
5384 if test "$CP" = ""; then
5387 if test "$CP" = "no"; then
5390 if test "$req_avail" = "no"; then
5391 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5393 # Extract the first word of "mv", so it can be a program name with args.
5394 set dummy
mv; ac_word
=$2
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5396 $as_echo_n "checking for $ac_word... " >&6; }
5397 if ${ac_cv_prog_MV+:} false
; then :
5398 $as_echo_n "(cached) " >&6
5400 if test -n "$MV"; then
5401 ac_cv_prog_MV
="$MV" # Let the user override the test.
5403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5407 test -z "$as_dir" && as_dir
=.
5408 for ac_exec_ext
in '' $ac_executable_extensions; do
5409 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5421 if test -n "$MV"; then
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5423 $as_echo "$MV" >&6; }
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5426 $as_echo "no" >&6; }
5431 if test "$MV" = ""; then
5434 if test "$MV" = "no"; then
5437 if test "$req_avail" = "no"; then
5438 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5440 # Extract the first word of "echo", so it can be a program name with args.
5441 set dummy
echo; ac_word
=$2
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5443 $as_echo_n "checking for $ac_word... " >&6; }
5444 if ${ac_cv_prog_ECHO+:} false
; then :
5445 $as_echo_n "(cached) " >&6
5447 if test -n "$ECHO"; then
5448 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5454 test -z "$as_dir" && as_dir
=.
5455 for ac_exec_ext
in '' $ac_executable_extensions; do
5456 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5457 ac_cv_prog_ECHO
="echo "
5458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5467 ECHO
=$ac_cv_prog_ECHO
5468 if test -n "$ECHO"; then
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5470 $as_echo "$ECHO" >&6; }
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5473 $as_echo "no" >&6; }
5478 if test "$ECHO" = ""; then
5481 if test "$ECHO" = "no"; then
5484 if test "$req_avail" = "no"; then
5485 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5487 # Extract the first word of "mkdir", so it can be a program name with args.
5488 set dummy mkdir
; ac_word
=$2
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5490 $as_echo_n "checking for $ac_word... " >&6; }
5491 if ${ac_cv_prog_MKDIR+:} false
; then :
5492 $as_echo_n "(cached) " >&6
5494 if test -n "$MKDIR"; then
5495 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5501 test -z "$as_dir" && as_dir
=.
5502 for ac_exec_ext
in '' $ac_executable_extensions; do
5503 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5504 ac_cv_prog_MKDIR
="mkdir -p"
5505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5514 MKDIR
=$ac_cv_prog_MKDIR
5515 if test -n "$MKDIR"; then
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5517 $as_echo "$MKDIR" >&6; }
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5520 $as_echo "no" >&6; }
5525 if test "$MKDIR" = ""; then
5528 if test "$MKDIR" = "no"; then
5531 if test "$req_avail" = "no"; then
5532 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5534 # Extract the first word of "touch", so it can be a program name with args.
5535 set dummy
touch; ac_word
=$2
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5537 $as_echo_n "checking for $ac_word... " >&6; }
5538 if ${ac_cv_prog_TOUCH+:} false
; then :
5539 $as_echo_n "(cached) " >&6
5541 if test -n "$TOUCH"; then
5542 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5548 test -z "$as_dir" && as_dir
=.
5549 for ac_exec_ext
in '' $ac_executable_extensions; do
5550 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5551 ac_cv_prog_TOUCH
="touch "
5552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5561 TOUCH
=$ac_cv_prog_TOUCH
5562 if test -n "$TOUCH"; then
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5564 $as_echo "$TOUCH" >&6; }
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5567 $as_echo "no" >&6; }
5572 if test "$TOUCH" = ""; then
5575 if test "$TOUCH" = "no"; then
5578 if test "$req_avail" = "no"; then
5579 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5581 # Extract the first word of "sort", so it can be a program name with args.
5582 set dummy
sort; ac_word
=$2
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5584 $as_echo_n "checking for $ac_word... " >&6; }
5585 if ${ac_cv_prog_SORT+:} false
; then :
5586 $as_echo_n "(cached) " >&6
5588 if test -n "$SORT"; then
5589 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5595 test -z "$as_dir" && as_dir
=.
5596 for ac_exec_ext
in '' $ac_executable_extensions; do
5597 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5598 ac_cv_prog_SORT
="sort "
5599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5608 SORT
=$ac_cv_prog_SORT
5609 if test -n "$SORT"; then
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5611 $as_echo "$SORT" >&6; }
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5614 $as_echo "no" >&6; }
5619 if test "$SORT" = ""; then
5622 if test "$SORT" = "no"; then
5625 if test "$req_avail" = "no"; then
5626 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5628 # Extract the first word of "uniq", so it can be a program name with args.
5629 set dummy
uniq; ac_word
=$2
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5631 $as_echo_n "checking for $ac_word... " >&6; }
5632 if ${ac_cv_prog_UNIQ+:} false
; then :
5633 $as_echo_n "(cached) " >&6
5635 if test -n "$UNIQ"; then
5636 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5642 test -z "$as_dir" && as_dir
=.
5643 for ac_exec_ext
in '' $ac_executable_extensions; do
5644 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5645 ac_cv_prog_UNIQ
="uniq "
5646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5655 UNIQ
=$ac_cv_prog_UNIQ
5656 if test -n "$UNIQ"; then
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5658 $as_echo "$UNIQ" >&6; }
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5661 $as_echo "no" >&6; }
5666 if test "$UNIQ" = ""; then
5669 if test "$UNIQ" = "no"; then
5672 if test "$req_avail" = "no"; then
5673 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5675 # Extract the first word of "true", so it can be a program name with args.
5676 set dummy true
; ac_word
=$2
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5678 $as_echo_n "checking for $ac_word... " >&6; }
5679 if ${ac_cv_prog_NOP+:} false
; then :
5680 $as_echo_n "(cached) " >&6
5682 if test -n "$NOP"; then
5683 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5689 test -z "$as_dir" && as_dir
=.
5690 for ac_exec_ext
in '' $ac_executable_extensions; do
5691 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5692 ac_cv_prog_NOP
="true "
5693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5703 if test -n "$NOP"; then
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5705 $as_echo "$NOP" >&6; }
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5708 $as_echo "no" >&6; }
5713 if test "$NOP" = ""; then
5716 if test "$NOP" = "no"; then
5719 if test "$req_avail" = "no"; then
5720 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5722 # Extract the first word of "cat", so it can be a program name with args.
5723 set dummy
cat; ac_word
=$2
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5725 $as_echo_n "checking for $ac_word... " >&6; }
5726 if ${ac_cv_prog_CAT+:} false
; then :
5727 $as_echo_n "(cached) " >&6
5729 if test -n "$CAT"; then
5730 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5736 test -z "$as_dir" && as_dir
=.
5737 for ac_exec_ext
in '' $ac_executable_extensions; do
5738 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5739 ac_cv_prog_CAT
="cat "
5740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5750 if test -n "$CAT"; then
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5752 $as_echo "$CAT" >&6; }
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5755 $as_echo "no" >&6; }
5760 if test "$CAT" = ""; then
5763 if test "$CAT" = "no"; then
5766 if test "$req_avail" = "no"; then
5767 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5769 # Extract the first word of "bison", so it can be a program name with args.
5770 set dummy bison
; ac_word
=$2
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5772 $as_echo_n "checking for $ac_word... " >&6; }
5773 if ${ac_cv_prog_BISON+:} false
; then :
5774 $as_echo_n "(cached) " >&6
5776 if test -n "$BISON"; then
5777 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5783 test -z "$as_dir" && as_dir
=.
5784 for ac_exec_ext
in '' $ac_executable_extensions; do
5785 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5786 ac_cv_prog_BISON
="bison "
5787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5796 BISON
=$ac_cv_prog_BISON
5797 if test -n "$BISON"; then
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5799 $as_echo "$BISON" >&6; }
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5802 $as_echo "no" >&6; }
5807 if test "$BISON" = ""; then
5810 if test "$BISON" = "no"; then
5813 if test "$req_avail" = "no"; then
5814 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5816 # Extract the first word of "flex", so it can be a program name with args.
5817 set dummy flex
; ac_word
=$2
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5819 $as_echo_n "checking for $ac_word... " >&6; }
5820 if ${ac_cv_prog_FLEX+:} false
; then :
5821 $as_echo_n "(cached) " >&6
5823 if test -n "$FLEX"; then
5824 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5830 test -z "$as_dir" && as_dir
=.
5831 for ac_exec_ext
in '' $ac_executable_extensions; do
5832 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5833 ac_cv_prog_FLEX
="flex "
5834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5843 FLEX
=$ac_cv_prog_FLEX
5844 if test -n "$FLEX"; then
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5846 $as_echo "$FLEX" >&6; }
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5849 $as_echo "no" >&6; }
5854 if test "$FLEX" = ""; then
5857 if test "$FLEX" = "no"; then
5860 if test "$req_avail" = "no"; then
5861 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $FLEX" >&5
5864 $as_echo_n "checking version of $FLEX... " >&6; }
5865 ax_cv_flex_version
="`$FLEX --version | cut -d\" \" -f2`"
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_flex_version" >&5
5867 $as_echo "$ax_cv_flex_version" >&6; }
5868 # Extract the first word of "pngtopnm", so it can be a program name with args.
5869 set dummy pngtopnm
; ac_word
=$2
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5871 $as_echo_n "checking for $ac_word... " >&6; }
5872 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5873 $as_echo_n "(cached) " >&6
5875 if test -n "$PNGTOPNM"; then
5876 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5882 test -z "$as_dir" && as_dir
=.
5883 for ac_exec_ext
in '' $ac_executable_extensions; do
5884 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5885 ac_cv_prog_PNGTOPNM
="pngtopnm "
5886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5895 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5896 if test -n "$PNGTOPNM"; then
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5898 $as_echo "$PNGTOPNM" >&6; }
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5901 $as_echo "no" >&6; }
5906 if test "$PNGTOPNM" = ""; then
5909 if test "$PNGTOPNM" = "no"; then
5912 if test "$req_avail" = "no"; then
5913 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5915 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5916 set dummy ppmtoilbm
; ac_word
=$2
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5918 $as_echo_n "checking for $ac_word... " >&6; }
5919 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5920 $as_echo_n "(cached) " >&6
5922 if test -n "$PPMTOILBM"; then
5923 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5929 test -z "$as_dir" && as_dir
=.
5930 for ac_exec_ext
in '' $ac_executable_extensions; do
5931 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5932 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5942 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5943 if test -n "$PPMTOILBM"; then
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5945 $as_echo "$PPMTOILBM" >&6; }
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5948 $as_echo "no" >&6; }
5953 if test "$PPMTOILBM" = ""; then
5956 if test "$PPMTOILBM" = "no"; then
5959 if test "$req_avail" = "no"; then
5960 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5962 # Extract the first word of "sed", so it can be a program name with args.
5963 set dummy
sed; ac_word
=$2
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5965 $as_echo_n "checking for $ac_word... " >&6; }
5966 if ${ac_cv_prog_SED+:} false
; then :
5967 $as_echo_n "(cached) " >&6
5969 if test -n "$SED"; then
5970 ac_cv_prog_SED
="$SED" # Let the user override the test.
5972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5976 test -z "$as_dir" && as_dir
=.
5977 for ac_exec_ext
in '' $ac_executable_extensions; do
5978 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5979 ac_cv_prog_SED
="sed "
5980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5990 if test -n "$SED"; then
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5992 $as_echo "$SED" >&6; }
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5995 $as_echo "no" >&6; }
6000 if test "$SED" = ""; then
6003 if test "$SED" = "no"; then
6006 if test "$req_avail" = "no"; then
6007 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
6009 # Extract the first word of "chmod", so it can be a program name with args.
6010 set dummy
chmod; ac_word
=$2
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6012 $as_echo_n "checking for $ac_word... " >&6; }
6013 if ${ac_cv_prog_CHMOD+:} false
; then :
6014 $as_echo_n "(cached) " >&6
6016 if test -n "$CHMOD"; then
6017 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
6019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6023 test -z "$as_dir" && as_dir
=.
6024 for ac_exec_ext
in '' $ac_executable_extensions; do
6025 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6026 ac_cv_prog_CHMOD
="chmod "
6027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6036 CHMOD
=$ac_cv_prog_CHMOD
6037 if test -n "$CHMOD"; then
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
6039 $as_echo "$CHMOD" >&6; }
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6042 $as_echo "no" >&6; }
6047 if test "$CHMOD" = ""; then
6050 if test "$CHMOD" = "no"; then
6053 if test "$req_avail" = "no"; then
6054 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
6056 # Extract the first word of "patch", so it can be a program name with args.
6057 set dummy
patch; ac_word
=$2
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6059 $as_echo_n "checking for $ac_word... " >&6; }
6060 if ${ac_cv_prog_PATCH+:} false
; then :
6061 $as_echo_n "(cached) " >&6
6063 if test -n "$PATCH"; then
6064 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
6066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6070 test -z "$as_dir" && as_dir
=.
6071 for ac_exec_ext
in '' $ac_executable_extensions; do
6072 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6073 ac_cv_prog_PATCH
="patch "
6074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6083 PATCH
=$ac_cv_prog_PATCH
6084 if test -n "$PATCH"; then
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
6086 $as_echo "$PATCH" >&6; }
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6089 $as_echo "no" >&6; }
6094 if test "$PATCH" = ""; then
6097 if test "$PATCH" = "no"; then
6100 if test "$req_avail" = "no"; then
6101 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
6110 if test -n "$PYTHON"; then
6111 # If the user set $PYTHON, use it and don't search something else.
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
6113 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
6115 # split strings by '.' and convert to numeric. Append some zeros
6116 # because we need at least 4 digits for the hex conversion.
6117 # map returns an iterator in Python 3.0 and a list in 2.x
6118 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
6120 # xrange is not present in Python 3.0 and range returns an iterator
6121 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
6122 sys.exit(sys.hexversion < minverhex)"
6123 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
6124 ($PYTHON -c "$prog") >&5 2>&5
6126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6127 (exit $ac_status); }; then :
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6129 $as_echo "yes" >&6; }
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6132 $as_echo "no" >&6; }
6133 as_fn_error $?
"Python interpreter is too old" "$LINENO" 5
6135 am_display_PYTHON
=$PYTHON
6137 # Otherwise, try each interpreter until we find one that satisfies
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
6140 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
6141 if ${am_cv_pathless_PYTHON+:} false
; then :
6142 $as_echo_n "(cached) " >&6
6145 for am_cv_pathless_PYTHON
in python python2 python3 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none
; do
6146 test "$am_cv_pathless_PYTHON" = none
&& break
6148 # split strings by '.' and convert to numeric. Append some zeros
6149 # because we need at least 4 digits for the hex conversion.
6150 # map returns an iterator in Python 3.0 and a list in 2.x
6151 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
6153 # xrange is not present in Python 3.0 and range returns an iterator
6154 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
6155 sys.exit(sys.hexversion < minverhex)"
6156 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
6157 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
6159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6160 (exit $ac_status); }; then :
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
6166 $as_echo "$am_cv_pathless_PYTHON" >&6; }
6167 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
6168 if test "$am_cv_pathless_PYTHON" = none
; then
6171 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
6172 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6174 $as_echo_n "checking for $ac_word... " >&6; }
6175 if ${ac_cv_path_PYTHON+:} false
; then :
6176 $as_echo_n "(cached) " >&6
6180 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
6183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6187 test -z "$as_dir" && as_dir
=.
6188 for ac_exec_ext
in '' $ac_executable_extensions; do
6189 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6190 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
6191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6201 PYTHON
=$ac_cv_path_PYTHON
6202 if test -n "$PYTHON"; then
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
6204 $as_echo "$PYTHON" >&6; }
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6207 $as_echo "no" >&6; }
6212 am_display_PYTHON
=$am_cv_pathless_PYTHON
6216 if test "$PYTHON" = :; then
6217 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
6222 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
6223 if ${am_cv_python_version+:} false
; then :
6224 $as_echo_n "(cached) " >&6
6226 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
6229 $as_echo "$am_cv_python_version" >&6; }
6230 PYTHON_VERSION
=$am_cv_python_version
6234 PYTHON_PREFIX
='${prefix}'
6236 PYTHON_EXEC_PREFIX
='${exec_prefix}'
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
6241 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
6242 if ${am_cv_python_platform+:} false
; then :
6243 $as_echo_n "(cached) " >&6
6245 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
6248 $as_echo "$am_cv_python_platform" >&6; }
6249 PYTHON_PLATFORM
=$am_cv_python_platform
6252 # Just factor out some code duplication.
6253 am_python_setup_sysconfig
="\
6255 # Prefer sysconfig over distutils.sysconfig, for better compatibility
6256 # with python 3.x. See automake bug#10227.
6260 can_use_sysconfig = 0
6262 can_use_sysconfig = 1
6263 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
6264 # <https://github.com/pypa/virtualenv/issues/118>
6266 from platform import python_implementation
6267 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
6268 can_use_sysconfig = 0
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
6274 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
6275 if ${am_cv_python_pythondir+:} false
; then :
6276 $as_echo_n "(cached) " >&6
6278 if test "x$prefix" = xNONE
6280 am_py_prefix
=$ac_default_prefix
6282 am_py_prefix
=$prefix
6284 am_cv_python_pythondir
=`$PYTHON -c "
6285 $am_python_setup_sysconfig
6286 if can_use_sysconfig:
6287 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
6289 from distutils import sysconfig
6290 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
6291 sys.stdout.write(sitedir)"`
6292 case $am_cv_python_pythondir in
6294 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
6295 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
6298 case $am_py_prefix in
6301 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
6309 $as_echo "$am_cv_python_pythondir" >&6; }
6310 pythondir
=$am_cv_python_pythondir
6314 pkgpythondir
=\
${pythondir}/$PACKAGE
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
6318 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
6319 if ${am_cv_python_pyexecdir+:} false
; then :
6320 $as_echo_n "(cached) " >&6
6322 if test "x$exec_prefix" = xNONE
6324 am_py_exec_prefix
=$am_py_prefix
6326 am_py_exec_prefix
=$exec_prefix
6328 am_cv_python_pyexecdir
=`$PYTHON -c "
6329 $am_python_setup_sysconfig
6330 if can_use_sysconfig:
6331 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
6333 from distutils import sysconfig
6334 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
6335 sys.stdout.write(sitedir)"`
6336 case $am_cv_python_pyexecdir in
6337 $am_py_exec_prefix*)
6338 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
6339 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
6342 case $am_py_exec_prefix in
6345 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
6353 $as_echo "$am_cv_python_pyexecdir" >&6; }
6354 pyexecdir
=$am_cv_python_pyexecdir
6358 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
6366 # Check whether --enable-libpng-config was given.
6367 if test "${enable_libpng_config+set}" = set; then :
6368 enableval
=$enable_libpng_config;
6371 if test "$enable_libpng_config" != "no"; then
6372 # Extract the first word of "libpng-config", so it can be a program name with args.
6373 set dummy libpng-config
; ac_word
=$2
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6375 $as_echo_n "checking for $ac_word... " >&6; }
6376 if ${ac_cv_prog_arosconfig_use_libpngconfig+:} false
; then :
6377 $as_echo_n "(cached) " >&6
6379 if test -n "$arosconfig_use_libpngconfig"; then
6380 ac_cv_prog_arosconfig_use_libpngconfig
="$arosconfig_use_libpngconfig" # Let the user override the test.
6382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6386 test -z "$as_dir" && as_dir
=.
6387 for ac_exec_ext
in '' $ac_executable_extensions; do
6388 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6389 ac_cv_prog_arosconfig_use_libpngconfig
="yes"
6390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6397 test -z "$ac_cv_prog_arosconfig_use_libpngconfig" && ac_cv_prog_arosconfig_use_libpngconfig
="no"
6400 arosconfig_use_libpngconfig
=$ac_cv_prog_arosconfig_use_libpngconfig
6401 if test -n "$arosconfig_use_libpngconfig"; then
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $arosconfig_use_libpngconfig" >&5
6403 $as_echo "$arosconfig_use_libpngconfig" >&6; }
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6406 $as_echo "no" >&6; }
6411 if test "$arosconfig_use_libpngconfig" = "yes"; then
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libpng-config library" >&5
6413 $as_echo_n "checking libpng-config library... " >&6; }
6414 libpng_incdir
="`libpng-config --cflags`"
6415 libpng_libextra
="$libpng_libextra `libpng-config --ldflags`"
6416 libpng
="`libpng-config --libs`"
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libpng" >&5
6418 $as_echo "$libpng" >&6; }
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
6422 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
6423 if ${ac_cv_lib_png_png_read_png+:} false
; then :
6424 $as_echo_n "(cached) " >&6
6426 ac_check_lib_save_LIBS
=$LIBS
6428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6429 /* end confdefs.h. */
6431 /* Override any GCC internal prototype to avoid an error.
6432 Use char because int might match the return type of a GCC
6433 builtin and then its argument prototype would still apply. */
6437 char png_read_png ();
6441 return png_read_png ();
6446 if ac_fn_c_try_link
"$LINENO"; then :
6447 ac_cv_lib_png_png_read_png
=yes
6449 ac_cv_lib_png_png_read_png
=no
6451 rm -f core conftest.err conftest.
$ac_objext \
6452 conftest
$ac_exeext conftest.
$ac_ext
6453 LIBS
=$ac_check_lib_save_LIBS
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
6456 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
6457 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
6463 if test "$libpng_libextra" != ""; then
6464 if test "$libpng" != "no"; then
6465 libpng_libextra
="$libpng_libextra $libpng"
6470 if test "$libpng" = ""; then
6473 if test "$libpng" = "no"; then
6476 if test "$req_avail" = "no"; then
6477 as_fn_error $?
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
6493 # Check for some includes for the X11 HIDD and the kernel
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6496 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6497 if ${ac_cv_path_GREP+:} false
; then :
6498 $as_echo_n "(cached) " >&6
6500 if test -z "$GREP"; then
6501 ac_path_GREP_found
=false
6502 # Loop through the user's path and test for each of PROGNAME-LIST
6503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6504 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6507 test -z "$as_dir" && as_dir
=.
6508 for ac_prog
in grep ggrep
; do
6509 for ac_exec_ext
in '' $ac_executable_extensions; do
6510 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6511 as_fn_executable_p
"$ac_path_GREP" ||
continue
6512 # Check for GNU ac_path_GREP and select it if it is found.
6513 # Check for GNU $ac_path_GREP
6514 case `"$ac_path_GREP" --version 2>&1` in
6516 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6519 $as_echo_n 0123456789 >"conftest.in"
6522 cat "conftest.in" "conftest.in" >"conftest.tmp"
6523 mv "conftest.tmp" "conftest.in"
6524 cp "conftest.in" "conftest.nl"
6525 $as_echo 'GREP' >> "conftest.nl"
6526 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6527 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6528 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6529 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6530 # Best one so far, save it but keep looking for a better one
6531 ac_cv_path_GREP
="$ac_path_GREP"
6532 ac_path_GREP_max
=$ac_count
6534 # 10*(2^10) chars as input seems more than enough
6535 test $ac_count -gt 10 && break
6537 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6540 $ac_path_GREP_found && break 3
6545 if test -z "$ac_cv_path_GREP"; then
6546 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6549 ac_cv_path_GREP
=$GREP
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6554 $as_echo "$ac_cv_path_GREP" >&6; }
6555 GREP
="$ac_cv_path_GREP"
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6559 $as_echo_n "checking for egrep... " >&6; }
6560 if ${ac_cv_path_EGREP+:} false
; then :
6561 $as_echo_n "(cached) " >&6
6563 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6564 then ac_cv_path_EGREP
="$GREP -E"
6566 if test -z "$EGREP"; then
6567 ac_path_EGREP_found
=false
6568 # Loop through the user's path and test for each of PROGNAME-LIST
6569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6570 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6573 test -z "$as_dir" && as_dir
=.
6574 for ac_prog
in egrep; do
6575 for ac_exec_ext
in '' $ac_executable_extensions; do
6576 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6577 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6578 # Check for GNU ac_path_EGREP and select it if it is found.
6579 # Check for GNU $ac_path_EGREP
6580 case `"$ac_path_EGREP" --version 2>&1` in
6582 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6585 $as_echo_n 0123456789 >"conftest.in"
6588 cat "conftest.in" "conftest.in" >"conftest.tmp"
6589 mv "conftest.tmp" "conftest.in"
6590 cp "conftest.in" "conftest.nl"
6591 $as_echo 'EGREP' >> "conftest.nl"
6592 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6593 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6594 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6595 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6596 # Best one so far, save it but keep looking for a better one
6597 ac_cv_path_EGREP
="$ac_path_EGREP"
6598 ac_path_EGREP_max
=$ac_count
6600 # 10*(2^10) chars as input seems more than enough
6601 test $ac_count -gt 10 && break
6603 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6606 $ac_path_EGREP_found && break 3
6611 if test -z "$ac_cv_path_EGREP"; then
6612 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6615 ac_cv_path_EGREP
=$EGREP
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6621 $as_echo "$ac_cv_path_EGREP" >&6; }
6622 EGREP
="$ac_cv_path_EGREP"
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6626 $as_echo_n "checking for ANSI C header files... " >&6; }
6627 if ${ac_cv_header_stdc+:} false
; then :
6628 $as_echo_n "(cached) " >&6
6630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6631 /* end confdefs.h. */
6645 if ac_fn_c_try_compile
"$LINENO"; then :
6646 ac_cv_header_stdc
=yes
6648 ac_cv_header_stdc
=no
6650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6652 if test $ac_cv_header_stdc = yes; then
6653 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6655 /* end confdefs.h. */
6659 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6660 $EGREP "memchr" >/dev
/null
2>&1; then :
6663 ac_cv_header_stdc
=no
6669 if test $ac_cv_header_stdc = yes; then
6670 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6672 /* end confdefs.h. */
6676 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6677 $EGREP "free" >/dev
/null
2>&1; then :
6680 ac_cv_header_stdc
=no
6686 if test $ac_cv_header_stdc = yes; then
6687 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6688 if test "$cross_compiling" = yes; then :
6691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6692 /* end confdefs.h. */
6695 #if ((' ' & 0x0FF) == 0x020)
6696 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6697 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6699 # define ISLOWER(c) \
6700 (('a' <= (c) && (c) <= 'i') \
6701 || ('j' <= (c) && (c) <= 'r') \
6702 || ('s' <= (c) && (c) <= 'z'))
6703 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6706 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6711 for (i = 0; i < 256; i++)
6712 if (XOR (islower (i), ISLOWER (i))
6713 || toupper (i) != TOUPPER (i))
6718 if ac_fn_c_try_run
"$LINENO"; then :
6721 ac_cv_header_stdc
=no
6723 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6724 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6730 $as_echo "$ac_cv_header_stdc" >&6; }
6731 if test $ac_cv_header_stdc = yes; then
6733 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6737 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6738 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6739 inttypes.h stdint.h unistd.h
6741 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6742 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6744 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6745 cat >>confdefs.h
<<_ACEOF
6746 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6754 for ac_header
in sys
/ipc.h sys
/shm.h \
6755 sys
/mmap.h sys
/mman.h sysexits.h \
6756 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6759 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6760 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6761 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6762 cat >>confdefs.h
<<_ACEOF
6763 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6771 for ac_header
in sys
/mount.h
6773 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6775 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6776 cat >>confdefs.h
<<_ACEOF
6777 #define HAVE_SYS_MOUNT_H 1
6784 for ac_header
in GL
/glx.h
6786 ac_fn_c_check_header_mongrel
"$LINENO" "GL/glx.h" "ac_cv_header_GL_glx_h" "$ac_includes_default"
6787 if test "x$ac_cv_header_GL_glx_h" = xyes
; then :
6788 cat >>confdefs.h
<<_ACEOF
6789 #define HAVE_GL_GLX_H 1
6791 host_feature_glx
=yes
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __unused conflicts with sys/stat.h" >&5
6800 $as_echo_n "checking if __unused conflicts with sys/stat.h... " >&6; }
6801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6802 /* end confdefs.h. */
6804 #define __unused __attribute__((unused))
6805 #include <sys/stat.h>
6815 if ac_fn_c_try_compile
"$LINENO"; then :
6816 host_stat_h__unused_used
=no
6818 host_stat_h__unused_used
=yes
6820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_stat_h__unused_used" >&5
6822 $as_echo "$host_stat_h__unused_used" >&6; }
6825 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6826 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6828 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6829 if eval \
${$as_ac_Header+:} false
; then :
6830 $as_echo_n "(cached) " >&6
6832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6833 /* end confdefs.h. */
6834 #include <sys/types.h>
6846 if ac_fn_c_try_compile
"$LINENO"; then :
6847 eval "$as_ac_Header=yes"
6849 eval "$as_ac_Header=no"
6851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6853 eval ac_res
=\$
$as_ac_Header
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6855 $as_echo "$ac_res" >&6; }
6856 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6857 cat >>confdefs.h
<<_ACEOF
6858 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6861 ac_header_dirent
=$ac_hdr; break
6865 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6866 if test $ac_header_dirent = dirent.h
; then
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6868 $as_echo_n "checking for library containing opendir... " >&6; }
6869 if ${ac_cv_search_opendir+:} false
; then :
6870 $as_echo_n "(cached) " >&6
6872 ac_func_search_save_LIBS
=$LIBS
6873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6874 /* end confdefs.h. */
6876 /* Override any GCC internal prototype to avoid an error.
6877 Use char because int might match the return type of a GCC
6878 builtin and then its argument prototype would still apply. */
6891 for ac_lib
in '' dir
; do
6892 if test -z "$ac_lib"; then
6893 ac_res
="none required"
6896 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6898 if ac_fn_c_try_link
"$LINENO"; then :
6899 ac_cv_search_opendir
=$ac_res
6901 rm -f core conftest.err conftest.
$ac_objext \
6903 if ${ac_cv_search_opendir+:} false
; then :
6907 if ${ac_cv_search_opendir+:} false
; then :
6910 ac_cv_search_opendir
=no
6913 LIBS
=$ac_func_search_save_LIBS
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6916 $as_echo "$ac_cv_search_opendir" >&6; }
6917 ac_res
=$ac_cv_search_opendir
6918 if test "$ac_res" != no
; then :
6919 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6925 $as_echo_n "checking for library containing opendir... " >&6; }
6926 if ${ac_cv_search_opendir+:} false
; then :
6927 $as_echo_n "(cached) " >&6
6929 ac_func_search_save_LIBS
=$LIBS
6930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6931 /* end confdefs.h. */
6933 /* Override any GCC internal prototype to avoid an error.
6934 Use char because int might match the return type of a GCC
6935 builtin and then its argument prototype would still apply. */
6948 for ac_lib
in '' x
; do
6949 if test -z "$ac_lib"; then
6950 ac_res
="none required"
6953 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6955 if ac_fn_c_try_link
"$LINENO"; then :
6956 ac_cv_search_opendir
=$ac_res
6958 rm -f core conftest.err conftest.
$ac_objext \
6960 if ${ac_cv_search_opendir+:} false
; then :
6964 if ${ac_cv_search_opendir+:} false
; then :
6967 ac_cv_search_opendir
=no
6970 LIBS
=$ac_func_search_save_LIBS
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6973 $as_echo "$ac_cv_search_opendir" >&6; }
6974 ac_res
=$ac_cv_search_opendir
6975 if test "$ac_res" != no
; then :
6976 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6983 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6984 if ${ac_cv_header_stat_broken+:} false
; then :
6985 $as_echo_n "(cached) " >&6
6987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6988 /* end confdefs.h. */
6989 #include <sys/types.h>
6990 #include <sys/stat.h>
6992 #if defined S_ISBLK && defined S_IFDIR
6993 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6996 #if defined S_ISBLK && defined S_IFCHR
6997 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7000 #if defined S_ISLNK && defined S_IFREG
7001 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7004 #if defined S_ISSOCK && defined S_IFREG
7005 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7009 if ac_fn_c_try_compile
"$LINENO"; then :
7010 ac_cv_header_stat_broken
=no
7012 ac_cv_header_stat_broken
=yes
7014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7017 $as_echo "$ac_cv_header_stat_broken" >&6; }
7018 if test $ac_cv_header_stat_broken = yes; then
7020 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7025 $as_echo_n "checking for ANSI C header files... " >&6; }
7026 if ${ac_cv_header_stdc+:} false
; then :
7027 $as_echo_n "(cached) " >&6
7029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7030 /* end confdefs.h. */
7044 if ac_fn_c_try_compile
"$LINENO"; then :
7045 ac_cv_header_stdc
=yes
7047 ac_cv_header_stdc
=no
7049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7051 if test $ac_cv_header_stdc = yes; then
7052 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7054 /* end confdefs.h. */
7058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7059 $EGREP "memchr" >/dev
/null
2>&1; then :
7062 ac_cv_header_stdc
=no
7068 if test $ac_cv_header_stdc = yes; then
7069 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7071 /* end confdefs.h. */
7075 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7076 $EGREP "free" >/dev
/null
2>&1; then :
7079 ac_cv_header_stdc
=no
7085 if test $ac_cv_header_stdc = yes; then
7086 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7087 if test "$cross_compiling" = yes; then :
7090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7091 /* end confdefs.h. */
7094 #if ((' ' & 0x0FF) == 0x020)
7095 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7096 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7098 # define ISLOWER(c) \
7099 (('a' <= (c) && (c) <= 'i') \
7100 || ('j' <= (c) && (c) <= 'r') \
7101 || ('s' <= (c) && (c) <= 'z'))
7102 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7105 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7110 for (i = 0; i < 256; i++)
7111 if (XOR (islower (i), ISLOWER (i))
7112 || toupper (i) != TOUPPER (i))
7117 if ac_fn_c_try_run
"$LINENO"; then :
7120 ac_cv_header_stdc
=no
7122 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7123 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7129 $as_echo "$ac_cv_header_stdc" >&6; }
7130 if test $ac_cv_header_stdc = yes; then
7132 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
7137 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
7138 if ${ac_cv_header_sys_wait_h+:} false
; then :
7139 $as_echo_n "(cached) " >&6
7141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7142 /* end confdefs.h. */
7143 #include <sys/types.h>
7144 #include <sys/wait.h>
7146 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
7149 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
7157 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
7162 if ac_fn_c_try_compile
"$LINENO"; then :
7163 ac_cv_header_sys_wait_h
=yes
7165 ac_cv_header_sys_wait_h
=no
7167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
7170 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
7171 if test $ac_cv_header_sys_wait_h = yes; then
7173 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
7178 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
7179 if ${ac_cv_header_time+:} false
; then :
7180 $as_echo_n "(cached) " >&6
7182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7183 /* end confdefs.h. */
7184 #include <sys/types.h>
7185 #include <sys/time.h>
7191 if ((struct tm *) 0)
7197 if ac_fn_c_try_compile
"$LINENO"; then :
7198 ac_cv_header_time
=yes
7200 ac_cv_header_time
=no
7202 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
7205 $as_echo "$ac_cv_header_time" >&6; }
7206 if test $ac_cv_header_time = yes; then
7208 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
7212 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
7213 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
7215 cat >>confdefs.h
<<_ACEOF
7216 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
7220 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
7225 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
7226 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
7228 cat >>confdefs.h
<<_ACEOF
7229 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
7233 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
7236 case " $LIBOBJS " in
7237 *" fileblocks.$ac_objext "* ) ;;
7238 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
7245 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
7246 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
7248 cat >>confdefs.h
<<_ACEOF
7249 #define HAVE_STRUCT_STAT_ST_RDEV 1
7253 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
7259 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
7260 if ${ac_cv_struct_tm+:} false
; then :
7261 $as_echo_n "(cached) " >&6
7263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7264 /* end confdefs.h. */
7265 #include <sys/types.h>
7272 int *p = &tm.tm_sec;
7278 if ac_fn_c_try_compile
"$LINENO"; then :
7279 ac_cv_struct_tm
=time.h
7281 ac_cv_struct_tm
=sys
/time.h
7283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
7286 $as_echo "$ac_cv_struct_tm" >&6; }
7287 if test $ac_cv_struct_tm = sys
/time.h
; then
7289 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
7293 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
7294 #include <$ac_cv_struct_tm>
7297 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
7299 cat >>confdefs.h
<<_ACEOF
7300 #define HAVE_STRUCT_TM_TM_ZONE 1
7306 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
7308 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
7311 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
7313 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
7319 cat >>confdefs.h
<<_ACEOF
7320 #define HAVE_DECL_TZNAME $ac_have_decl
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
7324 $as_echo_n "checking for tzname... " >&6; }
7325 if ${ac_cv_var_tzname+:} false
; then :
7326 $as_echo_n "(cached) " >&6
7328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7329 /* end confdefs.h. */
7331 #if !HAVE_DECL_TZNAME
7332 extern char *tzname[];
7338 return tzname[0][0];
7343 if ac_fn_c_try_link
"$LINENO"; then :
7344 ac_cv_var_tzname
=yes
7348 rm -f core conftest.err conftest.
$ac_objext \
7349 conftest
$ac_exeext conftest.
$ac_ext
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
7352 $as_echo "$ac_cv_var_tzname" >&6; }
7353 if test $ac_cv_var_tzname = yes; then
7355 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
7360 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
7361 if test "x$ac_cv_type_off_t" = xyes
; then :
7365 cat >>confdefs.h
<<_ACEOF
7366 #define off_t long int
7371 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
7372 if test "x$ac_cv_type_pid_t" = xyes
; then :
7376 cat >>confdefs.h
<<_ACEOF
7382 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7383 if test "x$ac_cv_type_size_t" = xyes
; then :
7387 cat >>confdefs.h
<<_ACEOF
7388 #define size_t unsigned int
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
7394 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7395 if ${ac_cv_type_uid_t+:} false
; then :
7396 $as_echo_n "(cached) " >&6
7398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7399 /* end confdefs.h. */
7400 #include <sys/types.h>
7403 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7404 $EGREP "uid_t" >/dev
/null
2>&1; then :
7405 ac_cv_type_uid_t
=yes
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
7413 $as_echo "$ac_cv_type_uid_t" >&6; }
7414 if test $ac_cv_type_uid_t = no
; then
7416 $as_echo "#define uid_t int" >>confdefs.h
7419 $as_echo "#define gid_t int" >>confdefs.h
7424 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
7425 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
7427 cat >>confdefs.h
<<_ACEOF
7428 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7435 # Look for some functions
7436 for ac_func
in getpagesize kqueue statfs statvfs \
7437 clone kse_create rfork_thread thr_create sa_register \
7438 getcontext makecontext setcontext sigaltstack swapcontext
7440 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7441 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7442 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7443 cat >>confdefs.h
<<_ACEOF
7444 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7454 for ac_header
in $ac_header_list
7456 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7457 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7459 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7460 cat >>confdefs.h
<<_ACEOF
7461 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7475 for ac_func
in getpagesize
7477 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
7478 if test "x$ac_cv_func_getpagesize" = xyes
; then :
7479 cat >>confdefs.h
<<_ACEOF
7480 #define HAVE_GETPAGESIZE 1
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
7487 $as_echo_n "checking for working mmap... " >&6; }
7488 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
7489 $as_echo_n "(cached) " >&6
7491 if test "$cross_compiling" = yes; then :
7492 ac_cv_func_mmap_fixed_mapped
=no
7494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7495 /* end confdefs.h. */
7496 $ac_includes_default
7497 /* malloc might have been renamed as rpl_malloc. */
7500 /* Thanks to Mike Haertel and Jim Avera for this test.
7501 Here is a matrix of mmap possibilities:
7502 mmap private not fixed
7503 mmap private fixed at somewhere currently unmapped
7504 mmap private fixed at somewhere already mapped
7505 mmap shared not fixed
7506 mmap shared fixed at somewhere currently unmapped
7507 mmap shared fixed at somewhere already mapped
7508 For private mappings, we should verify that changes cannot be read()
7509 back from the file, nor mmap's back from the file at a different
7510 address. (There have been systems where private was not correctly
7511 implemented like the infamous i386 svr4.0, and systems where the
7512 VM page cache was not coherent with the file system buffer cache
7513 like early versions of FreeBSD and possibly contemporary NetBSD.)
7514 For shared mappings, we should conversely verify that changes get
7515 propagated back to all the places they're supposed to be.
7517 Grep wants private fixed already mapped.
7518 The main things grep needs to know about mmap are:
7519 * does it exist and is it safe to write into the mmap'd area
7520 * how to use it (BSD variants) */
7523 #include <sys/mman.h>
7525 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7529 /* This mess was copied from the GNU getpagesize.h. */
7530 #ifndef HAVE_GETPAGESIZE
7531 # ifdef _SC_PAGESIZE
7532 # define getpagesize() sysconf(_SC_PAGESIZE)
7533 # else /* no _SC_PAGESIZE */
7534 # ifdef HAVE_SYS_PARAM_H
7535 # include <sys/param.h>
7536 # ifdef EXEC_PAGESIZE
7537 # define getpagesize() EXEC_PAGESIZE
7538 # else /* no EXEC_PAGESIZE */
7540 # define getpagesize() NBPG * CLSIZE
7543 # endif /* no CLSIZE */
7544 # else /* no NBPG */
7546 # define getpagesize() NBPC
7547 # else /* no NBPC */
7549 # define getpagesize() PAGESIZE
7550 # endif /* PAGESIZE */
7551 # endif /* no NBPC */
7552 # endif /* no NBPG */
7553 # endif /* no EXEC_PAGESIZE */
7554 # else /* no HAVE_SYS_PARAM_H */
7555 # define getpagesize() 8192 /* punt totally */
7556 # endif /* no HAVE_SYS_PARAM_H */
7557 # endif /* no _SC_PAGESIZE */
7559 #endif /* no HAVE_GETPAGESIZE */
7564 char *data, *data2, *data3;
7569 pagesize = getpagesize ();
7571 /* First, make a file with some known garbage in it. */
7572 data = (char *) malloc (pagesize);
7575 for (i = 0; i < pagesize; ++i)
7576 *(data + i) = rand ();
7578 fd = creat ("conftest.mmap", 0600);
7581 if (write (fd, data, pagesize) != pagesize)
7585 /* Next, check that the tail of a page is zero-filled. File must have
7586 non-zero length, otherwise we risk SIGBUS for entire page. */
7587 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7591 if (write (fd2, cdata2, 1) != 1)
7593 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7594 if (data2 == MAP_FAILED)
7596 for (i = 0; i < pagesize; ++i)
7600 if (munmap (data2, pagesize))
7603 /* Next, try to mmap the file at a fixed address which already has
7604 something else allocated at it. If we can, also make sure that
7605 we see the same garbage. */
7606 fd = open ("conftest.mmap", O_RDWR);
7609 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7610 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7612 for (i = 0; i < pagesize; ++i)
7613 if (*(data + i) != *(data2 + i))
7616 /* Finally, make sure that changes to the mapped area do not
7617 percolate back to the file as seen by read(). (This is a bug on
7618 some variants of i386 svr4.0.) */
7619 for (i = 0; i < pagesize; ++i)
7620 *(data2 + i) = *(data2 + i) + 1;
7621 data3 = (char *) malloc (pagesize);
7624 if (read (fd, data3, pagesize) != pagesize)
7626 for (i = 0; i < pagesize; ++i)
7627 if (*(data + i) != *(data3 + i))
7635 if ac_fn_c_try_run
"$LINENO"; then :
7636 ac_cv_func_mmap_fixed_mapped
=yes
7638 ac_cv_func_mmap_fixed_mapped
=no
7640 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7641 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7646 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7647 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7649 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7652 rm -f conftest.mmap conftest.txt
7655 #-----------------------------------------------------------------------------
7658 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7659 # it switched on by default, and we use the host compiler, so it compiles AROS
7660 # code with this enabled resulting in link failures as we don't have support
7663 # We use two methods to disable it. For the host compiler (used to compile
7664 # some hosted modules), we test to see if the compiler supports stack
7665 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7666 # work on all platforms.
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC_BASE} accepts -fno-stack-protector" >&5
7670 $as_echo_n "checking whether ${CC_BASE} accepts -fno-stack-protector... " >&6; }
7671 save_cflags
="$CFLAGS"
7672 CFLAGS
="$CFLAGS -fno-stack-protector"
7673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7674 /* end confdefs.h. */
7684 if ac_fn_c_try_compile
"$LINENO"; then :
7685 use_no_stack_protector
="yes"
7687 use_no_stack_protector
="no"
7689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7691 $as_echo "$use_no_stack_protector" >&6; }
7692 if test "x-$use_no_stack_protector" = "x-yes" ; then
7693 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7695 CFLAGS
="$save_cflags"
7697 #-----------------------------------------------------------------------------
7699 # Disable pointer-signedness warnings if the compiler recognises the option
7700 # (this only works for the host compiler at the moment)
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC_BASE} accepts -Wno-pointer-sign" >&5
7703 $as_echo_n "checking whether ${CC_BASE} accepts -Wno-pointer-sign... " >&6; }
7704 save_cflags
="$CFLAGS"
7705 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7707 /* end confdefs.h. */
7717 if ac_fn_c_try_compile
"$LINENO"; then :
7718 use_no_sign_warning
="yes"
7720 use_no_sign_warning
="no"
7722 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7724 $as_echo "$use_no_sign_warning" >&6; }
7725 if test "x-$use_no_sign_warning" = "x-yes" ; then
7726 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7728 CFLAGS
="$save_cflags"
7730 #-----------------------------------------------------------------------------
7732 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC_BASE} accepts -fgnu89-inline" >&5
7735 $as_echo_n "checking whether ${CC_BASE} accepts -fgnu89-inline... " >&6; }
7736 save_cflags
="$CFLAGS"
7737 CFLAGS
="$CFLAGS -fgnu89-inline"
7738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7739 /* end confdefs.h. */
7749 if ac_fn_c_try_compile
"$LINENO"; then :
7750 use_gnu89_inline
="yes"
7752 use_gnu89_inline
="no"
7754 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7756 $as_echo "$use_gnu89_inline" >&6; }
7757 if test "x-$use_gnu89_inline" = "x-yes" ; then
7758 gnu89_inline
="-fgnu89-inline"
7760 CFLAGS
="$save_cflags"
7763 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
7764 # On GCC >= 4.0 -iquote should be used
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC_BASE} accepts -iquote" >&5
7767 $as_echo_n "checking whether ${CC_BASE} accepts -iquote... " >&6; }
7768 CFLAGS
="$CFLAGS -iquote."
7769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7770 /* end confdefs.h. */
7780 if ac_fn_c_try_compile
"$LINENO"; then :
7785 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
7787 $as_echo "$has_iquote" >&6; }
7788 if test "x-$has_iquote" = "x-yes" ; then
7789 host_cflags_iquote
=-iquote
7790 host_cflags_iquote_end
=
7792 host_cflags_iquote
=-I
7793 host_cflags_iquote_end
=-I-
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: Performing target configuration..." >&5
7797 $as_echo "$as_me: Performing target configuration..." >&6;}
7802 aros_nowarn_flags
="NOWARN_UNUSED_COMMAND_LINE_ARGUMENT NOWARN_UNKNOWN_WARNING_OPTION NOWARN_POINTER_SIGN NOWARN_PARENTHESES"
7810 aros_kernel_isaflags
=
7811 aros_config_cppflags
=
7813 aros_config_cxxflags
=
7814 aros_config_aflags
="$""(WARN_ALL) -x assembler-with-cpp -c"
7815 aros_config_ldflags
=""
7817 aros_shared_default
=yes
7819 aros_shared_cflags
="-fPIC"
7820 aros_shared_aflags
=""
7821 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7822 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7824 aros_kernel_ar_flags
="cr"
7825 aros_target_ar_flags
="cr"
7826 aros_target_nm_flags
="-C -ul"
7827 aros_target_strip_flags
="--strip-unneeded -R.comment"
7832 aros_target_genmap
="-Wl,-Map -Xlinker"
7834 # Native flavour stuff
7835 aros_serial_debug
="0"
7837 # Palm native flavour stuff
7838 aros_palm_debug_hack
="0"
7840 # Unix flavour stuff
7841 aros_nesting_supervisor
="0"
7843 # Collect-aros stuff: "-ius" to ignore undefined symbols
7844 ignore_undefined_symbols
=""
7846 # Check for X11 by default
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which toolchain family to use ..." >&5
7850 $as_echo_n "checking Which toolchain family to use ...... " >&6; }
7852 # Check whether --with-toolchain was given.
7853 if test "${with_toolchain+set}" = set; then :
7854 withval
=$with_toolchain; aros_toolchain
="$withval"
7856 aros_toolchain
="$default_toolchain_family"
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_toolchain" >&5
7860 $as_echo "$aros_toolchain" >&6; }
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should enable link time optimizations (LTO)" >&5
7864 $as_echo_n "checking if we should enable link time optimizations (LTO)... " >&6; }
7865 # Check whether --enable-lto was given.
7866 if test "${enable_lto+set}" = set; then :
7867 enableval
=$enable_lto; aros_config_lto
="$enableval"
7869 aros_config_lto
="no"
7872 if test "$aros_config_lto" != "no"; then
7873 aros_config_lto
="yes"
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_config_lto" >&5
7876 $as_echo "$aros_config_lto" >&6; }
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should enable coverage instrumentation" >&5
7879 $as_echo_n "checking if we should enable coverage instrumentation... " >&6; }
7880 # Check whether --enable-coverage was given.
7881 if test "${enable_coverage+set}" = set; then :
7882 enableval
=$enable_coverage; aros_config_coverage
="$enableval"
7884 aros_config_coverage
="no"
7887 if test "$aros_config_coverage" != "no"; then
7888 aros_config_coverage
="yes"
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_config_coverage" >&5
7891 $as_echo "$aros_config_coverage" >&6; }
7895 case "$aros_toolchain" in
7897 toolchain_c_compiler
="clang"
7898 toolchain_cxx_compiler
="clang++"
7899 toolchain_cpp_preprocessor
="clang"
7900 toolchain_cpp_opts
=" -E"
7901 toolchain_ld
="ld.lld"
7903 toolchain_as
="llvm-as"
7904 toolchain_ar
="llvm-ar"
7905 toolchain_ranlib
="llvm-ranlib"
7906 toolchain_nm
="llvm-nm"
7907 toolchain_strip
="true"
7908 toolchain_objcopy
="llvm-objcopy"
7909 toolchain_objdump
="llvm-objdump"
7913 toolchain_c_compiler
="gcc"
7914 toolchain_cxx_compiler
="g++"
7915 toolchain_cpp_preprocessor
="gcc"
7916 toolchain_cpp_opts
=" -E"
7919 if test "$aros_config_lto" != "yes"; then
7922 toolchain_ranlib
="ranlib"
7925 toolchain_ld
="ld.bfd"
7926 toolchain_ar
="gcc-ar"
7927 toolchain_ranlib
="gcc-ranlib"
7928 toolchain_nm
="gcc-nm"
7930 toolchain_strip
="strip"
7931 toolchain_objcopy
="objcopy"
7932 toolchain_objdump
="objdump"
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown toolchain family!\"" >&5
7937 $as_echo "$as_me: WARNING: \"Unknown toolchain family!\"" >&2;}
7938 toolchain_c_compiler
="cc"
7939 toolchain_cxx_compiler
="c++"
7940 toolchain_cpp_preprocessor
="cpp"
7946 toolchain_ranlib
="ranlib"
7948 toolchain_strip
="strip"
7949 toolchain_objcopy
="objcopy"
7950 toolchain_objdump
="objdump"
7954 #-----------------------------------------------------------------------------
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which type of build to do" >&5
7957 $as_echo_n "checking which type of build to do... " >&6; }
7958 # Check whether --enable-build_type was given.
7959 if test "${enable_build_type+set}" = set; then :
7960 enableval
=$enable_build_type; build_type
=$enableval
7962 build_type
="personal"
7966 if test "$build_type" = "nightly"; then
7967 build_type_string
="NIGHTLY"
7968 elif test "$build_type" = "snapshot"; then
7969 build_type_string
="SNAPSHOT"
7970 elif test "$build_type" = "milestone"; then
7971 build_type_string
="MILESTONE"
7972 elif test "$build_type" = "release"; then
7973 build_type_string
="RELEASE"
7975 build_type_string
="PERSONAL"
7976 build_type
="personal"
7979 aros_config_cppflags
="$aros_config_cppflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7982 $as_echo "$build_type" >&6; }
7984 #-----------------------------------------------------------------------------
7985 all_debug_types
="messages stack modules mungwall symbols"
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7988 $as_echo_n "checking which debug types to enable... " >&6; }
7989 # Check whether --enable-debug was given.
7990 if test "${enable_debug+set}" = set; then :
7991 enableval
=$enable_debug; debug
="$enableval"
7997 if test "$debug" = "" -o "$debug" = "no"; then
7999 elif test "$debug" = "yes"; then
8003 if test "$debug" = "all" ; then
8004 debug
="messages stack modules symbols"
8005 for d
in $all_debug_types; do
8006 export aros_
${d}_debug
="1"
8009 for d
in $all_debug_types; do
8010 export aros_
${d}_debug
="0"
8014 if test "$debug" != "none"; then
8015 debug
=`echo $debug | sed s/,/\ /g`
8018 for d2
in $all_debug_types; do
8019 if test "$d2" = "$d"; then
8024 if test "$found" = "0"; then
8025 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
8027 export aros_
${d}_debug
="1"
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
8032 $as_echo "$debug" >&6; }
8034 if test "$aros_messages_debug" = "1"; then
8035 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
8037 aros_messages_debug
=""
8039 if test "$aros_symbols_debug" = "1"; then
8040 aros_symbols_debug
="-g"
8042 aros_symbols_debug
=""
8045 # These are the flags to pass when compiling debugged programs
8046 aros_debug_cppflags
="$aros_messages_debug"
8047 aros_debug_cflags
="$aros_symbols_debug"
8048 aros_debug_cxxflags
=
8049 aros_debug_aflags
=""
8050 aros_debug_ldflags
="$aros_symbols_debug"
8052 #-----------------------------------------------------------------------------
8053 # Checking for distcc and ccache.
8055 # Always apply the transforms in this particular order. Basically you should
8056 # always run 'ccache distcc compiler' in that order for the best performance.
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
8059 $as_echo_n "checking whether to enable distcc... " >&6; }
8060 # Check whether --enable-distcc was given.
8061 if test "${enable_distcc+set}" = set; then :
8062 enableval
=$enable_distcc; distcc
="$enableval"
8067 if test "$distcc" != "" -a "$distcc" != "no"; then
8068 # AC_CHECK_PROG will print out the result in this case
8069 # Extract the first word of "distcc", so it can be a program name with args.
8070 set dummy distcc
; ac_word
=$2
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8072 $as_echo_n "checking for $ac_word... " >&6; }
8073 if ${ac_cv_path_DISTCC+:} false
; then :
8074 $as_echo_n "(cached) " >&6
8078 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
8081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8085 test -z "$as_dir" && as_dir
=.
8086 for ac_exec_ext
in '' $ac_executable_extensions; do
8087 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8088 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
8089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8096 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
8100 DISTCC
=$ac_cv_path_DISTCC
8101 if test -n "$DISTCC"; then
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
8103 $as_echo "$DISTCC" >&6; }
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8106 $as_echo "no" >&6; }
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8112 $as_echo "no" >&6; }
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
8116 $as_echo_n "checking whether to enable ccache... " >&6; }
8117 # Check whether --enable-ccache was given.
8118 if test "${enable_ccache+set}" = set; then :
8119 enableval
=$enable_ccache; ccache
="$enableval"
8124 if test "$ccache" != "" -a "$ccache" != "no"; then
8125 # AC_CHECK_PROG will print out the result in this case
8126 # Extract the first word of "ccache", so it can be a program name with args.
8127 set dummy ccache
; ac_word
=$2
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8129 $as_echo_n "checking for $ac_word... " >&6; }
8130 if ${ac_cv_prog_CCACHE+:} false
; then :
8131 $as_echo_n "(cached) " >&6
8133 if test -n "$CCACHE"; then
8134 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
8136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8140 test -z "$as_dir" && as_dir
=.
8141 for ac_exec_ext
in '' $ac_executable_extensions; do
8142 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8143 ac_cv_prog_CCACHE
="ccache"
8144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8153 CCACHE
=$ac_cv_prog_CCACHE
8154 if test -n "$CCACHE"; then
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
8156 $as_echo "$CCACHE" >&6; }
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8159 $as_echo "no" >&6; }
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8165 $as_echo "no" >&6; }
8168 #-----------------------------------------------------------------------------
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
8170 $as_echo_n "checking what specific host gcc version to use... " >&6; }
8172 # Check whether --with-kernel-gcc-version was given.
8173 if test "${with_kernel_gcc_version+set}" = set; then :
8174 withval
=$with_kernel_gcc_version; kernel_tool_version
="$withval"
8176 kernel_tool_version
=""
8179 if test "$kernel_tool_version" != "" ; then
8180 msg_result
=$kernel_tool_version
8182 msg_result
="default"
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
8185 $as_echo "$msg_result" >&6; }
8187 #-----------------------------------------------------------------------------
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
8189 $as_echo_n "checking what optimization flags to use... " >&6; }
8191 # Check whether --with-optimization was given.
8192 if test "${with_optimization+set}" = set; then :
8193 withval
=$with_optimization; optimization_level
="$withval"
8195 optimization_level
="unknown"
8198 if test "$optimization_level" = "unknown"; then
8199 optimization
="default"
8200 if test "$debug" != "none"; then
8201 optimization_level
="-O0"
8203 optimization_level
="-O2"
8206 optimization
="$optimization_level"
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
8209 $as_echo "$optimization" >&6; }
8211 paranoia_default
=yes
8212 #-----------------------------------------------------------------------------
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which paranoia flags to use" >&5
8214 $as_echo_n "checking which paranoia flags to use... " >&6; }
8216 # Check whether --with-paranoia was given.
8217 if test "${with_paranoia+set}" = set; then :
8218 withval
=$with_paranoia; paranoia_flags
="$withval"
8220 paranoia_flags
="$paranoia_default"
8223 if test "$paranoia_flags" = "no"; then
8224 paranoia_flags
="$""(WARN_ALL) -Werror-implicit-function-declaration"
8227 if test "$paranoia_flags" = "yes"; then
8228 paranoia_flags
="$""(WARN_ALL) $""(WARN_ERROR)"
8230 msg_result
="$paranoia_flags"
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
8233 $as_echo "$msg_result" >&6; }
8234 aros_warn_flags
="$aros_warn_flags $paranoia_flags"
8236 #-----------------------------------------------------------------------------
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
8238 $as_echo_n "checking what target variant to enable... " >&6; }
8239 # Check whether --enable-target_variant was given.
8240 if test "${enable_target_variant+set}" = set; then :
8241 enableval
=$enable_target_variant; target_variant
=$enableval
8246 if test "$target_variant" = ""; then
8247 aros_target_variant
=""
8248 aros_target_suffix
=""
8251 aros_target_variant
="$target_variant"
8252 aros_target_suffix
="-$target_variant"
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
8255 $as_echo "$enableval" >&6; }
8257 #-----------------------------------------------------------------------------
8258 # Target-specific defaults. You can override then on a per-target basis.
8260 # Bootloader name. Currently used by PC target.
8261 target_bootloader
="none"
8265 #-----------------------------------------------------------------------------
8266 # Additional options for some specific targets
8268 case "$aros_target_variant" in
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
8271 $as_echo_n "checking XCode path... " >&6; }
8273 # Check whether --with-xcode was given.
8274 if test "${with_xcode+set}" = set; then :
8275 withval
=$with_xcode; aros_xcode_path
="$withval"
8277 aros_xcode_path
="/Developer"
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
8281 $as_echo "$aros_xcode_path" >&6; }
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
8284 $as_echo_n "checking what iOS SDK version to use... " >&6; }
8286 # Check whether --with-sdk-version was given.
8287 if test "${with_sdk_version+set}" = set; then :
8288 withval
=$with_sdk_version; aros_sdk_version
="$withval"
8290 aros_sdk_version
="4.1"
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
8294 $as_echo "$aros_sdk_version" >&6; }
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
8300 $as_echo_n "checking Android SDK path... " >&6; }
8302 # Check whether --with-sdk was given.
8303 if test "${with_sdk+set}" = set; then :
8304 withval
=$with_sdk; aros_android_sdk
="$withval"
8306 aros_android_sdk
=$default_android_sdk
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
8310 $as_echo "$aros_android_sdk" >&6; }
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
8313 $as_echo_n "checking Android NDK path... " >&6; }
8315 # Check whether --with-ndk was given.
8316 if test "${with_ndk+set}" = set; then :
8317 withval
=$with_ndk; aros_android_ndk
="$withval"
8319 aros_android_ndk
="none"
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
8323 $as_echo "$aros_android_ndk" >&6; }
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
8326 $as_echo_n "checking what Android SDK version to use... " >&6; }
8328 # Check whether --with-sdk-version was given.
8329 if test "${with_sdk_version+set}" = set; then :
8330 withval
=$with_sdk_version; aros_sdk_version
="$withval"
8332 aros_sdk_version
="12"
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
8336 $as_echo "$aros_sdk_version" >&6; }
8338 aros_android_level
=android-
$aros_sdk_version
8339 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
8340 echo "Platform $aros_android_level is not installed in your SDK"
8341 echo "Use --with-sdk-version=<API level number> to select another platform version"
8342 echo "You can check what plaform versions are installed in your SDK"
8343 echo "by examining contents of $aros_android_sdk/platforms directory"
8344 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
8347 export PATH
="$aros_android_sdk/tools:$PATH"
8348 # Extract the first word of "$android_tool", so it can be a program name with args.
8349 set dummy
$android_tool; ac_word
=$2
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8351 $as_echo_n "checking for $ac_word... " >&6; }
8352 if ${ac_cv_path_android_tool+:} false
; then :
8353 $as_echo_n "(cached) " >&6
8355 case $android_tool in
8357 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
8360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8364 test -z "$as_dir" && as_dir
=.
8365 for ac_exec_ext
in '' $ac_executable_extensions; do
8366 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8367 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
8368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8378 android_tool
=$ac_cv_path_android_tool
8379 if test -n "$android_tool"; then
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
8381 $as_echo "$android_tool" >&6; }
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8384 $as_echo "no" >&6; }
8389 if test "$android_tool" = ""; then
8392 if test "$android_tool" = "no"; then
8395 if test "$req_avail" = "no"; then
8396 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
8399 if test "$aros_android_ndk" != "none"; then
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
8401 $as_echo_n "checking what Android NDK version to use... " >&6; }
8403 # Check whether --with-ndk-version was given.
8404 if test "${with_ndk_version+set}" = set; then :
8405 withval
=$with_ndk_version; aros_ndk_version
="$withval"
8407 aros_ndk_version
="9"
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
8411 $as_echo "$aros_ndk_version" >&6; }
8414 # Extract the first word of "ant", so it can be a program name with args.
8415 set dummy ant
; ac_word
=$2
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8417 $as_echo_n "checking for $ac_word... " >&6; }
8418 if ${ac_cv_path_ant+:} false
; then :
8419 $as_echo_n "(cached) " >&6
8423 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
8426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8430 test -z "$as_dir" && as_dir
=.
8431 for ac_exec_ext
in '' $ac_executable_extensions; do
8432 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8433 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
8434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8445 if test -n "$ant"; then
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
8447 $as_echo "$ant" >&6; }
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8450 $as_echo "no" >&6; }
8454 if test "$ant" = ""; then
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
8456 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Build debug or release apk" >&5
8460 $as_echo_n "checking Build debug or release apk... " >&6; }
8462 # Check whether --with-apk-version was given.
8463 if test "${with_apk_version+set}" = set; then :
8464 withval
=$with_apk_version; aros_android_antapk
=$withval
8466 aros_android_antapk
=release
8469 if test $aros_android_antapk != release
-a $aros_android_antapk != debug
; then
8470 as_fn_error $?
"apk-version has to be release or debug" "$LINENO" 5
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_antapk" >&5
8473 $as_echo "$aros_android_antapk" >&6; }
8475 target_extra_cfg
+="$export_newline""# Android$export_newline""AROS_ANDROID_ANTAPK := $aros_android_antapk$export_newline"
8476 host_extra_cfg
+="$export_newline""# Android-specific$export_newline""ANDROID := $android_tool$export_newline""ANT := $ant$export_newline"
8477 aros_target_options
+="$export_newline""# Enable Android Gfx Driver$export_newline""OPT_HOST_ANDROIDGFX := yes$export_newline"
8479 if test "$host_os" = "mingw32"; then
8480 android_tool
="cmd //c $android_tool"
8488 #-----------------------------------------------------------------------------
8489 # External toolchains
8490 kernel_tool_prefix
="none"
8491 aros_tool_prefix
="none"
8492 elf_tool_prefix
="${target_cpu}-elf-"
8494 # Base target cpu ISA configuration switch.
8495 case "$target_cpu" in
8501 m68k_isa_extra
="ISA_MC68000_FLAGS = -march=68000"
8502 m68k_020_isa_extra
="ISA_MC68020_FLAGS = -march=68020"
8503 m68k_030_isa_extra
="ISA_MC68030_FLAGS = -march=68030"
8504 m68k_040_isa_extra
="ISA_MC68040_FLAGS = -march=68040"
8505 m68k_060_isa_extra
="ISA_MC68060_FLAGS = -march=68060"
8506 m68k_ac080_isa_extra
="ISA_AC68080_FLAGS = -march=68040"
8507 m68k_020_ext
="ISA_MC68020_EXT :=020"
8508 m68k_030_ext
="ISA_MC68030_EXT :=030"
8509 m68k_040_ext
="ISA_MC68040_EXT :=040"
8510 m68k_060_ext
="ISA_MC68060_EXT :=060"
8511 m68k_020_cflags
="ISA_MC68020_CFLAGS ="
8512 m68k_030_cflags
="ISA_MC68030_CFLAGS ="
8513 m68k_040_cflags
="ISA_MC68040_CFLAGS ="
8514 m68k_060_cflags
="ISA_MC68060_CFLAGS ="
8515 m68k_020_cppflags
="ISA_MC68020_CPPFLAGS ="
8516 m68k_030_cppflags
="ISA_MC68030_CPPFLAGS ="
8517 m68k_040_cppflags
="ISA_MC68040_CPPFLAGS ="
8518 m68k_060_cppflags
="ISA_MC68060_CPPFLAGS ="
8519 m68k_020_ldflags
="ISA_MC68020_LDFLAGS ="
8520 m68k_030_ldflags
="ISA_MC68030_LDFLAGS ="
8521 m68k_040_ldflags
="ISA_MC68040_LDFLAGS ="
8522 m68k_060_ldflags
="ISA_MC68060_LDFLAGS ="
8525 x86_isa_extra
="ISA_X86_FLAGS = -m32 -march=i486"
8526 x86_64_isa_extra
="ISA_X8664_FLAGS = -mcmodel=large"
8532 # This is the target configuration switch.
8533 case "$target_os" in
8539 HOST_WANTS_DLOPEN
=yes
8540 aros_target_arch
="linux"
8541 aros_target_family
="unix"
8542 case "$target_cpu" in
8544 aros_target_cpu
="m68k"
8545 aros_object_format
="m68kelf"
8546 aros_flavour
="emulcompat"
8547 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8548 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
8549 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8550 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8551 gcc_target_cpu
="mc68000"
8554 aros_target_cpu
="i386"
8555 aros_object_format
="elf_i386"
8556 aros_flavour
="emulation"
8557 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8558 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8559 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8560 aros_kernel_ldflags
="-Wl,-melf_i386"
8561 aros_nominal_depth
=8
8562 gcc_target_cpu
="i386"
8563 pci_hidd_target
="hidd-pci-linux"
8564 android_tool_dir_prefix
="x86"
8565 android_tool_prefix
="i686-android-linux"
8566 android_ndk_arch
="x86"
8569 aros_target_cpu
="x86_64"
8570 aros_object_format
="elf_x86_64"
8571 aros_flavour
="emulation"
8572 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8573 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8574 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8575 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
8576 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
8577 aros_nominal_depth
=8
8578 pci_hidd_target
="hidd-pci-linux"
8581 aros_target_cpu
="ppc"
8582 aros_object_format
="elf32ppc"
8583 aros_flavour
="emulation"
8584 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8585 aros_nominal_depth
=8
8586 gcc_target_cpu
="ppc"
8589 # Same as powerpc, but I need this for the nightly build to work again.
8590 # Actually, the nightly should be made working with powerpc target.
8591 # That just was too much work for the moment, another week or two.
8593 aros_target_cpu
="ppc"
8594 aros_object_format
="elf32ppc"
8595 aros_flavour
="emulation"
8596 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8597 aros_nominal_depth
=8
8598 gcc_target_cpu
="ppc"
8601 aros_target_cpu
="aarch64"
8602 target_cpu
="aarch64"
8603 aros_object_format
="aarch64elf_aros"
8604 aros_flavour
="emulation"
8605 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8606 gcc_target_cpu
="aarch64"
8607 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8608 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8609 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING)"
8610 aros_c_libs
="$aros_c_libs -laeabi"
8611 gcc_default_float_abi
="hard"
8612 kernel_tool_prefix
="aarch64-linux-gnueabihf-"
8615 aros_target_cpu
="arm"
8617 aros_object_format
="armelf_aros"
8618 aros_flavour
="emulation"
8619 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8620 gcc_target_cpu
="arm"
8621 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8622 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8623 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING)"
8624 aros_c_libs
="$aros_c_libs -laeabi"
8625 gcc_default_float_abi
="hard"
8626 android_tool_dir_prefix
="arm-linux-androideabi"
8627 android_tool_prefix
="arm-linux-androideabi"
8628 android_ndk_arch
="arm"
8629 kernel_tool_prefix
="arm-linux-gnueabihf-"
8632 aros_target_cpu
="arm"
8633 aros_object_format
="armelf_aros"
8634 aros_flavour
="emulation"
8635 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8636 gcc_target_cpu
="arm"
8637 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8638 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8639 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING)"
8640 aros_c_libs
="$aros_c_libs -laeabi"
8641 android_tool_dir_prefix
="arm-linux-androideabi"
8642 android_tool_prefix
="arm-linux-androideabi"
8643 android_ndk_arch
="arm"
8644 kernel_tool_prefix
="arm-linux-gnueabi-"
8647 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
8650 case "$aros_target_variant" in
8653 if test "$android_ndk_arch" = ""; then
8654 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
8657 aros_nominal_width
=320
8658 aros_nominal_height
=480
8659 if test "$aros_android_ndk" = "none"; then
8660 aros_kernel_cflags
="-mandroid"
8661 aros_kernel_ldflags
="-mandroid"
8664 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$kernel_tool_version/prebuilt/$android_build_os/bin:$PATH"
8665 kernel_tool_version
=""
8666 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
8667 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
8668 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
8669 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
8670 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
8673 # Disable implicit PIC mode
8674 aros_config_cflags
="$aros_config_cflags -fno-pic"
8675 kernel_tool_prefix
="$android_tool_prefix-"
8681 aros_target_arch
="pc"
8682 aros_shared_default
="no"
8683 target_bootloader
="grub2"
8684 case "$target_cpu" in
8686 aros_target_cpu
="i386"
8689 if test "$aros_object_format" = "" ; then
8690 aros_object_format
="elf_i386"
8692 aros_flavour
="standalone"
8693 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8694 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8695 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8696 aros_kernel_ldflags
="-Wl,-melf_i386"
8697 aros_nominal_width
=640
8698 aros_nominal_height
=480
8699 gcc_target_cpu
="i386"
8702 PLATFORM_EXECSMP
="#define __AROSPLATFORM_SMP__"
8703 aros_target_cpu
="x86_64"
8705 if test "$aros_object_format" = "" ; then
8706 aros_object_format
="elf_x86_64"
8708 aros_flavour
="standalone"
8709 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8710 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8711 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8712 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_OMIT_FP)"
8713 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_OMIT_FP)"
8714 aros_kernel_ldflags
=""
8715 aros_nominal_width
=640
8716 aros_nominal_height
=480
8717 case "$aros_target_variant" in
8719 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8724 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
8730 aros_target_arch
="prep"
8731 aros_shared_default
="no"
8732 aros_target_cpu
="ppc"
8733 aros_object_format
="elf32ppc"
8734 aros_flavour
="ppcnative"
8735 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8736 aros_kernel_ldflags
=""
8737 aros_nominal_width
=640
8738 aros_nominal_height
=480
8739 gcc_target_cpu
="ppc"
8747 HOST_WANTS_DLOPEN
=yes
8748 aros_target_arch
="freebsd"
8749 aros_target_family
="unix"
8750 aros_target_cpu
="i386"
8751 aros_flavour
="emulation"
8752 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8753 gcc_target_cpu
="i386"
8755 aros_target_strip_flags
="-x"
8763 HOST_WANTS_DLOPEN
=yes
8764 aros_target_arch
="darwin"
8765 aros_target_family
="unix"
8766 aros_flavour
="emulation"
8767 case "$target_cpu" in
8769 aros_ios_platform
="iPhoneSimulator"
8770 aros_target_cpu
="i386"
8771 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8772 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8773 aros_kernel_ldflags
=""
8774 aros_macosx_version
="10.4"
8775 aros_nominal_depth
=8
8776 gcc_target_cpu
="i386"
8777 aros_object_format
="elf_i386"
8778 aros_kernel_ar_flags
="-cr"
8779 aros_target_strip_flags
="-x"
8780 kernel_tool_flags
="-m32"
8783 aros_target_cpu
="x86_64"
8784 aros_object_format
="elf_x86_64"
8785 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8786 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8787 aros_macosx_version
="10.6"
8788 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
8789 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
8790 aros_kernel_cflags
="-m64"
8791 aros_kernel_ldflags
="-m64"
8792 aros_nominal_depth
=8
8793 aros_kernel_rs
="$toolchain_ar"
8794 aros_kernel_ar_flags
="-cr"
8795 aros_kernel_ld
="$toolchain_ld"
8796 aros_kernel_as
="$toolchain_as"
8797 aros_kernel_ranlib
="$toolchain_ranlib"
8798 aros_kernel_nm
="$toolchain_nm"
8799 aros_kernel_strip
="strip"
8800 kernel_tool_prefix
="i686-apple-darwin10-"
8803 aros_target_cpu
="ppc"
8804 aros_object_format
="elf32ppc"
8805 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8806 aros_kernel_ldflags
=""
8807 aros_macosx_version
="10.0"
8808 aros_nominal_depth
=8
8809 gcc_target_cpu
="ppc"
8810 aros_kernel_rs
="$toolchain_ar"
8811 aros_kernel_ar_flags
="-cr"
8812 aros_kernel_ld
="$toolchain_ld -arch ppc"
8813 aros_kernel_as
="$toolchain_as -arch ppc"
8814 aros_kernel_ranlib
="$toolchain_ranlib -arch ppc"
8815 aros_kernel_nm
="$toolchain_nm -arch ppc"
8816 aros_kernel_strip
="strip -arch ppc"
8817 kernel_tool_prefix
="powerpc-apple-darwin10-"
8820 aros_ios_platform
="iPhoneOS"
8821 aros_target_cpu
="arm"
8822 aros_object_format
="armelf_aros"
8823 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8824 aros_c_libs
="$aros_c_libs -laeabi"
8825 aros_nominal_depth
=8
8826 gcc_target_cpu
="arm"
8827 aros_kernel_rs
="$toolchain_ar"
8828 aros_kernel_ar_flags
="-cr"
8829 aros_kernel_ld
="$toolchain_ld -arch arm"
8830 aros_kernel_ranlib
="$toolchain_ranlib -arch arm"
8831 kernel_tool_prefix
="arm-apple-darwin10-"
8832 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8835 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8838 case "$aros_target_variant" in
8840 make_extra_targetcfg
="$export_newline""# Apple iOS stuff for gcc$export_newline""IOS_LDFLAGS := -F$""(IOS_SDK_PATH)/System/Library/Frameworks$export_newline"
8841 aros_ios_version
="3.0"
8842 aros_nominal_width
=320
8843 aros_nominal_height
=480
8844 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8845 target_extra_cfg
+="$export_newline""# Apple iOS specific$export_newline""IOS_PLATFORM := $aros_ios_platform$export_newline""IOS_OS_VERSION := $aros_ios_version$export_newline""IOS_SDK_PATH := $aros_ios_sdk$export_newline"
8846 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8847 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8849 # This is here because it may depend on iOS or SDK version
8850 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8851 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8852 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8855 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8856 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8866 HOST_WANTS_DLOPEN
=yes
8867 aros_target_arch
="dragonfly"
8868 aros_target_family
="unix"
8869 aros_flavour
="emulation"
8870 case "$target_cpu" in
8872 aros_target_cpu
="i386"
8873 aros_object_format
="elf_i386"
8874 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8875 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8878 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
8879 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
8880 aros_target_cpu
="x86_64"
8881 aros_object_format
="elf_x86_64"
8882 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8883 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8886 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8896 HOST_WANTS_DLOPEN
=yes
8897 aros_target_arch
="netbsd"
8898 aros_target_family
="unix"
8899 case "$target_cpu" in
8901 aros_target_cpu
="m68k"
8902 aros_object_format
="m68kelf"
8903 aros_flavour
="emulcompat"
8904 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8905 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
8906 gcc_target_cpu
="mc68000"
8909 aros_target_cpu
="i386"
8910 aros_object_format
="elf_i386"
8911 aros_flavour
="emulation"
8912 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8913 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8914 aros_nominal_depth
=8
8915 gcc_target_cpu
="i386"
8918 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8921 aros_target_genmap
="-Wl,-M -Xlinker >"
8922 aros_flavour
="emulation"
8923 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8931 HOST_WANTS_DLOPEN
=yes
8932 aros_target_arch
="openbsd"
8933 aros_target_family
="unix"
8934 case "$target_cpu" in
8936 aros_target_cpu
="i386"
8937 aros_object_format
="elf_i386"
8938 aros_flavour
="emulation"
8939 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8940 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8941 gcc_target_cpu
="i386"
8944 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8947 aros_target_genmap
="-Wl,-M -Xlinker >"
8948 aros_target_nm_flags
="-u"
8949 aros_flavour
="emulation"
8953 aros_target_arch
="solaris"
8954 aros_target_family
="unix"
8955 case "$target_cpu" in
8957 aros_target_cpu
="i386"
8958 aros_object_format
="elf_i386"
8959 aros_flavour
="emulation"
8960 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8961 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8962 aros_nominal_depth
=8
8963 gcc_target_cpu
="i386"
8966 aros_target_cpu
="sparc"
8967 aros_object_format
="elf_sparc"
8968 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8969 gcc_target_cpu
="sparc"
8972 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8975 aros_config_cppflags
="$aros_config_cppflags -D$aros_target_cpu"
8976 aros_flavour
="emulation"
8980 aros_target_arch
="morphos"
8981 aros_shared_default
="no"
8982 aros_target_cpu
="ppc"
8983 aros_object_format
="elf_ppc"
8984 aros_flavour
="nativecompat"
8985 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8986 gcc_target_cpu
="ppc"
8990 aros_target_arch
="sam440"
8991 aros_shared_default
="no"
8992 aros_target_cpu
="ppc"
8993 aros_object_format
="elf32ppc"
8994 aros_flavour
="ppcnative"
8995 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8996 aros_kernel_ldflags
=""
8997 aros_nominal_width
=1024
8998 aros_nominal_height
=768
8999 aros_nominal_depth
=24
9000 aros_isa_flags
="$aros_isa_flags -mcpu=440fp -mno-toc"
9001 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
9002 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
9003 gcc_target_cpu
="powerpc"
9007 aros_target_arch
="efika"
9008 aros_shared_default
="no"
9009 aros_target_cpu
="arm"
9010 aros_object_format
="armelf_aros"
9011 aros_flavour
="standalone"
9012 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
9013 aros_kernel_ldflags
=""
9014 aros_nominal_width
=1024
9015 aros_nominal_height
=600
9016 aros_c_libs
="$aros_c_libs -laeabi"
9017 gcc_default_cpu
="armv7-a"
9018 gcc_default_fpu
="vfpv3"
9019 aros_isa_flags
="$aros_isa_flags -mtune=cortex-a8"
9020 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
9021 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
9022 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
9023 if test "$optimization" = "default"; then
9024 optimization_level
="-Os"
9026 case "$target_cpu" in
9028 gcc_default_float_abi
="hard"
9033 gcc_default_float_abi
="softfp"
9036 as_fn_error $?
"\"Unknown CPU for EfikaMX $target_cpu\"" "$LINENO" 5
9042 aros_target_arch
="chrp"
9043 aros_shared_default
="no"
9044 aros_target_cpu
="ppc"
9045 aros_object_format
="elf32ppc"
9046 aros_flavour
="ppcnative"
9047 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
9048 aros_kernel_ldflags
=""
9049 aros_nominal_width
=640
9050 aros_nominal_height
=480
9051 aros_isa_flags
="$aros_isa_flags -mno-toc"
9052 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
9053 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
9054 gcc_target_cpu
="powerpc"
9055 case "$aros_target_variant" in
9057 aros_isa_flags
="$aros_isa_flags -mcpu=603e"
9058 aros_config_cppflags
="$aros_config_cppflags -DBIG_ENDIAN_OHCI=1"
9064 PLATFORM_EXECSMP
="#define __AROSPLATFORM_SMP__"
9065 aros_flavour
="standalone"
9066 aros_target_arch
="raspi"
9068 aros_shared_default
="no"
9070 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__"
9072 case "$target_cpu" in
9074 aros_target_cpu
="aarch64"
9075 gcc_default_cpu
="aarch64"
9076 aros_object_format
="aarch64elf_aros"
9079 aros_target_cpu
="arm"
9080 gcc_default_cpu
="armv6zk"
9081 gcc_default_cpu_tune
="arm1176jzf-s"
9082 aros_object_format
="armelf_aros"
9083 aros_isa_flags
="$aros_isa_flags -marm"
9084 aros_config_cflags
="$aros_config_cflags"
9085 aros_config_cxxflags
="$aros_config_cxxflags"
9086 aros_config_aflags
="$aros_config_aflags -marm"
9087 aros_kernel_cflags
="$aros_kernel_cflags -marm"
9088 aros_target_mkdep
="$aros_target_mkdep -Darm"
9089 aros_c_libs
="$aros_c_libs -laeabi"
9092 aros_flavour
="standcompat"
9093 aros_target_cpu
="armeb"
9094 gcc_default_float_abi
="hard"
9095 gcc_default_cpu
="armv7ve"
9096 gcc_default_cpu_tune
="cortex-a7"
9097 aros_object_format
="armelfb_aros"
9098 aros_isa_flags
="$aros_isa_flags -marm"
9099 aros_config_cflags
="$aros_config_cflags"
9100 aros_config_cxxflags
="$aros_config_cxxflags"
9101 aros_config_aflags
="$aros_config_aflags -marm"
9102 aros_kernel_cflags
="$aros_kernel_cflags -marm"
9103 aros_target_mkdep
="$aros_target_mkdep -Darm"
9104 aros_c_libs
="$aros_c_libs -laeabi"
9107 aros_target_cpu
="arm"
9108 gcc_default_cpu
="armv6zk"
9109 gcc_default_cpu_tune
="arm1176jzf-s"
9110 aros_object_format
="armelf_aros"
9111 aros_isa_flags
="$aros_isa_flags -marm"
9112 aros_config_cflags
="$aros_config_cflags"
9113 aros_config_cxxflags
="$aros_config_cxxflags"
9114 aros_config_aflags
="$aros_config_aflags -marm"
9115 aros_kernel_cflags
="$aros_kernel_cflags -marm"
9116 aros_target_mkdep
="$aros_target_mkdep -Darm"
9117 aros_c_libs
="$aros_c_libs -laeabi"
9120 as_fn_error $?
"\"Unknown CPU for RasPi $target_cpu\"" "$LINENO" 5
9124 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9125 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9126 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9127 aros_kernel_cflags
="$aros_kernel_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9129 case "$aros_target_variant" in
9131 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
9137 aros_flavour
="standalone"
9138 aros_target_arch
="stm32f7_discovery"
9139 aros_target_cpu
="arm"
9140 aros_target_cpu_mode
="thumb2"
9141 aros_object_format
="armelf_aros"
9142 aros_shared_default
="no"
9144 gcc_default_cpu
="armv7e-m"
9145 gcc_default_cpu_tune
="cortex-m7"
9146 gcc_default_fpu
="fpv5-sp-d16"
9147 gcc_default_float_abi
="hard"
9149 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dthumb"
9153 aros_elf_translate
="$""(ELF2HUNK)"
9154 make_extra_commands
="$export_newline""ELF2HUNK := $""(TOOLDIR)/elf2hunk$""(HOST_EXE_SUFFIX)$export_newline"
9155 aros_target_arch
="amiga"
9156 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
9157 aros_shared_default
="no"
9159 case "$target_cpu" in
9161 # Check whether --enable-amigaos_compliance was given.
9162 if test "${enable_amigaos_compliance+set}" = set; then :
9163 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
9167 aros_target_cpu
="m68k"
9168 aros_object_format
="m68kelf"
9169 aros_flavour
="standcompat"
9170 gcc_target_cpu
="m68000"
9171 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
9172 aros_nowarn_flags
="$aros_nowarn_flags NOWARN_VOLATILE_REGISTER_VAR"
9173 aros_config_cppflags
="$aros_config_cppflags -DNOLIBINLINE"
9174 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_FREESTANDING) $""(CFLAGS_OMIT_FP) $""(CFLAGS_BUILTIN)"
9175 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_FREESTANDING) $""(CFLAGS_OMIT_FP) $""(CFLAGS_BUILTIN)"
9176 if test "$optimization" = "default"; then
9177 optimization_level
="-Os"
9179 aros_config_aflags
="$aros_config_aflags"
9180 aros_target_strip_flags
="-R.comment --strip-debug"
9181 aros_nominal_width
=640
9182 aros_nominal_height
=256
9183 aros_nominal_depth
=2
9187 aros_flavour
="native"
9188 gcc_target_cpu
="ppc"
9191 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
9197 aros_target_arch
="mingw32"
9198 aros_shared_default
="no"
9199 aros_flavour
="emulation"
9200 aros_shared_cflags
=""
9201 need_crosstools
="yes"
9204 case "$target_cpu" in
9206 aros_target_cpu
="i386"
9207 aros_object_format
="elf_i386"
9208 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
9209 aros_isa_flags
="$""(ISA_X86_FLAGS)"
9210 aros_nominal_depth
=8
9211 gcc_target_cpu
="i386"
9213 kernel_tool_prefix
="i386-mingw32-"
9216 aros_target_cpu
="x86_64"
9217 aros_object_format
="elf_x86_64"
9218 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
9219 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
9220 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
9221 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
9222 aros_nominal_depth
=8
9223 kernel_tool_prefix
="x86_64-w64-mingw32-"
9226 aros_target_cpu
="arm"
9227 aros_object_format
="armelf_aros"
9228 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
9229 aros_c_libs
="$aros_c_libs -laeabi"
9230 aros_nominal_depth
=8
9231 gcc_target_cpu
="arm"
9232 gcc_default_float_abi
="soft"
9233 kernel_tool_prefix
="arm-mingw32ce-"
9234 aros_nominal_width
=160
9235 aros_nominal_height
=160
9238 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
9241 if test $host_os = "cygwin"; then
9242 aros_kernel_cflags
="-mno-cygwin"
9246 aros_target_arch
="pp"
9247 aros_shared_default
="no"
9248 case "$target_cpu" in
9250 aros_target_cpu
="m68k"
9251 aros_object_format
="m68kelf"
9252 aros_flavour
="palmnative"
9253 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
9254 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
9255 aros_nominal_width
=160
9256 aros_nominal_height
=160
9257 aros_nominal_depth
=1
9258 aros_target_ar_flags
="cru"
9259 aros_c_libs
="$aros_c_libs -lgcc1"
9260 aros_shared_default
=no
9261 aros_shared_cflags
="-fpic"
9262 aros_shared_aflags
=""
9263 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
9264 aros_kernel_ldflags
="-Wl,-rpath,./lib"
9265 aros_debug_cppflags
="$aros_messages_debug"
9266 aros_debug_cflags
="$aros_symbols_debug"
9267 aros_debug_aflags
=""
9268 aros_debug_ldflags
="$aros_symbols_debug"
9269 aros_mungwall_debug
="0"
9270 aros_modules_debug
="0"
9271 gcc_target_cpu
="mc68000"
9272 ignore_undefined_symbols
="-ius"
9275 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
9281 aros_target_arch
="mac"
9282 aros_shared_default
="no"
9283 case "$target_cpu" in
9285 aros_target_cpu
="m68k"
9286 aros_object_format
="m68kelf"
9287 aros_flavour
="mac68knative"
9288 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
9289 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
9290 aros_nominal_width
=512
9291 aros_nominal_height
=384
9292 aros_nominal_depth
=8
9293 aros_target_ar_flags
="cru"
9294 aros_c_libs
="$aros_c_libs -lgcc1"
9295 aros_shared_default
=no
9296 aros_shared_cflags
="-fpic"
9297 aros_shared_aflags
=""
9298 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
9299 aros_kernel_ldflags
="-Wl,-rpath,./lib"
9300 aros_debug_cppflags
="$aros_messages_debug"
9301 aros_debug_cflags
="$aros_symbols_debug"
9302 aros_debug_aflags
=""
9303 aros_debug_ldflags
="$aros_symbols_debug"
9304 aros_mungwall_debug
="0"
9305 aros_modules_debug
="0"
9306 gcc_target_cpu
="mc68000"
9307 ignore_undefined_symbols
="-ius"
9310 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
9316 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
9320 #-----------------------------------------------------------------------------
9321 crosstools_guess
="yes"
9322 aros_target_toolchain
="no"
9323 aros_kernel_sysroot
=""
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
9326 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
9328 # Check whether --with-kernel-toolchain-prefix was given.
9329 if test "${with_kernel_toolchain_prefix+set}" = set; then :
9330 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
9334 $as_echo "$kernel_tool_prefix" >&6; }
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
9337 $as_echo_n "checking ELF toolchain prefix... " >&6; }
9339 # Check whether --with-elf-toolchain-prefix was given.
9340 if test "${with_elf_toolchain_prefix+set}" = set; then :
9341 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
9342 crosstools_guess
="no"
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
9346 $as_echo "$elf_tool_prefix" >&6; }
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
9349 $as_echo_n "checking AROS toolchain prefix... " >&6; }
9351 # Check whether --with-aros-toolchain was given.
9352 if test "${with_aros_toolchain+set}" = set; then :
9353 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
9354 crosstools_guess
="no"
9357 if test "$aros_tool_prefix" = "yes" ; then
9358 aros_tool_prefix
=$aros_target_cpu-aros-
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
9361 $as_echo "$aros_tool_prefix" >&6; }
9363 #-----------------------------------------------------------------------------
9364 # Checking if we should build crosstools..
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
9366 $as_echo_n "checking whether to build crosstools... " >&6; }
9367 # Check whether --enable-crosstools was given.
9368 if test "${enable_crosstools+set}" = set; then :
9369 enableval
=$enable_crosstools; crosstools
="$enableval"
9371 crosstools
="$crosstools_guess"
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
9375 $as_echo "$crosstools" >&6; }
9377 if test "${crosstools}" = "yes"; then
9378 if test "${crosstools_guess}" = "no"; then
9379 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
9383 if test "${crosstools}" = "yes" ||
test "${crosstools_guess}" = "no"; then
9384 aros_target_toolchain
="yes"
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
9388 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
9390 # Check whether --with-aros-toolchain-install was given.
9391 if test "${with_aros_toolchain_install+set}" = set; then :
9392 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
9395 if test "x$aros_toolchain_install" = "x"; then
9396 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
9398 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
9399 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
9400 if test "$crosstools_guess" = "no" ; then
9401 if test "x-$aros_flavour" != "x-emulation" -a "x-$aros_flavour" != "x-emulcompat" ; then
9402 aros_kernel_sysroot
="$""(TARGET_SYSROOT)"
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
9407 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
9409 #-----------------------------------------------------------------------------
9410 if test "$aros_toolchain" = "gnu" ; then
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target binutils version to use" >&5
9412 $as_echo_n "checking what specific target binutils version to use... " >&6; }
9415 # Check whether --with-binutils-version was given.
9416 if test "${with_binutils_version+set}" = set; then :
9417 withval
=$with_binutils_version; use_binutils_version
="$withval"
9419 use_binutils_version
=""
9422 if test "$use_binutils_version" = ""; then
9423 target_binutils_version
="$default_binutils_version"
9425 target_binutils_version
="$use_binutils_version"
9427 if test "$aros_toolchain" = "gnu" ; then
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_binutils_version" >&5
9429 $as_echo "$target_binutils_version" >&6; }
9433 # Helper to identify gcc version
9436 #-----------------------------------------------------------------------------
9437 if test "$aros_toolchain" = "gnu" ; then
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
9439 $as_echo_n "checking what specific target gcc version to use... " >&6; }
9442 # Check whether --with-gcc-version was given.
9443 if test "${with_gcc_version+set}" = set; then :
9444 withval
=$with_gcc_version; use_gcc_version
="$withval"
9449 if test "$use_gcc_version" = ""; then
9450 if test "${crosstools}" = "no"; then
9451 if test "x$aros_toolchain_install" != "x"; then
9453 target_gcc_version
=""
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
9455 $as_echo_n "checking gcc version... " >&6; }
9456 if ${ax_cv_gcc_version+:} false
; then :
9457 $as_echo_n "(cached) " >&6
9460 ax_cv_gcc_version
="`$AROS_CROSSTOOLSDIR/${aros_tool_prefix}${toolchain_cpp_preprocessor} $(toolchain_cpp_opts) -dumpversion`"
9461 if test "x$ax_cv_gcc_version" = "x"; then :
9463 ax_cv_gcc_version
=""
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_version" >&5
9469 $as_echo "$ax_cv_gcc_version" >&6; }
9470 target_gcc_version
=$ax_cv_gcc_version
9475 if test "$use_gcc_version" = ""; then
9476 target_gcc_version
="$default_gcc_version"
9479 target_gcc_version
="$use_gcc_version"
9481 if test "$aros_toolchain" = "gnu" ; then
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_gcc_version" >&5
9483 $as_echo "$target_gcc_version" >&6; }
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version string style" >&5
9486 $as_echo_n "checking version string style... " >&6; }
9487 if test "${target_gcc_version#*$'-'}" != "$target_gcc_version" ; then
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: snapshot" >&5
9489 $as_echo "snapshot" >&6; }
9490 GCC_VERSION_MAJOR
=$
(echo $target_gcc_version | cut
-d'-' -f1)
9491 GCC_VERSION_MINOR
=-1
9492 GCC_VERSION_PATCH
=-1
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: release" >&5
9495 $as_echo "release" >&6; }
9496 GCC_VERSION_MAJOR
=$
(echo $target_gcc_version | cut
-d'.' -f1)
9497 GCC_VERSION_MINOR
=$
(echo $target_gcc_version | cut
-d'.' -f2)
9498 GCC_VERSION_PATCH
=$
(echo $target_gcc_version | cut
-d'.' -f3)
9501 gcc_fix_bitfields
="false"
9502 if test "$GCC_VERSION_MAJOR" -gt "4" ; then
9503 gcc_fix_bitfields
="true"
9505 if test "$GCC_VERSION_MAJOR" -gt "3" ; then
9506 if test "$GCC_VERSION_MINOR" -gt "6" ; then
9507 gcc_fix_bitfields
="true"
9512 if test "$gcc_fix_bitfields" = "true" ; then
9513 case "$aros_target_cpu" in
9515 x86_isa_extra
="$x86_isa_extra $""(CFLAGS_NO_MS_BITFIELDS)"
9516 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_MS_BITFIELDS)"
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Objective-C suppport" >&5
9523 $as_echo_n "checking whether to enable Objective-C suppport... " >&6; }
9524 # Check whether --enable-objc was given.
9525 if test "${enable_objc+set}" = set; then :
9526 enableval
=$enable_objc; objc
="$enableval"
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objc" >&5
9532 $as_echo "$objc" >&6; }
9533 if test "x$objc" = "xyes"; then
9536 objc_target
="no-objc"
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Java suppport" >&5
9540 $as_echo_n "checking whether to enable Java suppport... " >&6; }
9541 # Check whether --enable-java was given.
9542 if test "${enable_java+set}" = set; then :
9543 enableval
=$enable_java; java
="$enableval"
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $java" >&5
9549 $as_echo "$java" >&6; }
9550 if test "x$java" != "xno"; then
9553 java_target
="no-java"
9556 spec_obj_format
="-m $aros_object_format"
9557 # Now process extra architecture-specific options.
9558 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
9559 # as well as floating-point ABI.
9560 case "$aros_target_cpu" in
9562 aros_isa_targets
="M68K_ISA_TARGETS :=MC68020 MC68040"
9563 aros_isa_extra
="$aros_isa_extra$export_newline$aros_isa_targets$export_newline"
9564 aros_isa_extra
="$aros_isa_extra$m68k_isa_extra$export_newline$m68k_020_isa_extra$export_newline$m68k_030_isa_extra$export_newline$m68k_040_isa_extra$export_newline$m68k_060_isa_extra$export_newline$m68k_ac080_isa_extra$export_newline"
9565 aros_isa_extra
="$aros_isa_extra$m68k_020_cppflags$export_newline$m68k_030_cppflags$export_newline$m68k_040_cppflags$export_newline$m68k_060_cppflags$export_newline"
9566 aros_isa_extra
="$aros_isa_extra$m68k_020_cflags$export_newline$m68k_030_cflags$export_newline$m68k_040_cflags$export_newline$m68k_060_cflags$export_newline"
9567 aros_isa_extra
="$aros_isa_extra$m68k_020_ldflags$export_newline$m68k_030_ldflags$export_newline$m68k_040_ldflags$export_newline$m68k_060_ldflags$export_newline"
9568 aros_isa_extra
="$aros_isa_extra$m68k_020_ext$export_newline$m68k_030_ext$export_newline$m68k_040_ext$export_newline$m68k_060_ext$export_newline"
9571 aros_isa_extra
="$export_newline$x86_isa_extra$export_newline$x86_64_isa_extra$export_newline"
9572 spec_obj_format
="%{!m32:-m elf_x86_64} %{m32:-m elf_i386}"
9575 if test "$gcc_default_cpu" = ""; then
9576 gcc_default_cpu
="armv6"
9578 if test "$gcc_default_fpu" = ""; then
9579 gcc_default_fpu
="vfp"
9581 if test "$gcc_default_endian" = ""; then
9582 if test "$target_cpu" = "armeb"; then
9583 gcc_default_endian
="big-endian"
9585 gcc_default_endian
="little-endian"
9588 if test "$gcc_default_float_abi" = ""; then
9589 if test "$target_cpu" = "armhf"; then
9590 gcc_default_float_abi
="hard"
9592 gcc_default_float_abi
="softfp"
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
9597 $as_echo_n "checking Which minimum CPU to use... " >&6; }
9599 # Check whether --with-cpu was given.
9600 if test "${with_cpu+set}" = set; then :
9601 withval
=$with_cpu; aros_gcc_cpu
="$withval"
9603 aros_gcc_cpu
=$gcc_default_cpu
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
9607 $as_echo "$aros_gcc_cpu" >&6; }
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
9610 $as_echo_n "checking Which minimum FPU to use... " >&6; }
9612 # Check whether --with-fpu was given.
9613 if test "${with_fpu+set}" = set; then :
9614 withval
=$with_fpu; aros_gcc_fpu
="$withval"
9616 aros_gcc_fpu
=$gcc_default_fpu
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
9620 $as_echo "$aros_gcc_fpu" >&6; }
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
9623 $as_echo_n "checking Which floating point ABI to use... " >&6; }
9625 # Check whether --with-float was given.
9626 if test "${with_float+set}" = set; then :
9627 withval
=$with_float; aros_gcc_float_abi
="$withval"
9629 aros_gcc_float_abi
=$gcc_default_float_abi
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
9633 $as_echo "$aros_gcc_float_abi" >&6; }
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which ARM mode to use" >&5
9636 $as_echo_n "checking Which ARM mode to use... " >&6; }
9637 if test "$aros_target_cpu_mode" = ""; then
9638 aros_target_cpu_mode
="arm32"
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Defaulting to $aros_target_cpu_mode" >&5
9640 $as_echo "Defaulting to $aros_target_cpu_mode" >&6; }
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cpu_mode" >&5
9643 $as_echo "$aros_target_cpu_mode" >&6; }
9646 case "$aros_target_cpu_mode" in
9648 gcc_default_mode
="arm"
9649 aros_isa_flags
="$aros_isa_flags -m$gcc_default_mode -m$gcc_default_endian -mthumb-interwork -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi"
9652 as_fn_error $?
"ARM 64-bit mode is unsupported" "$LINENO" 5
9655 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9658 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9661 gcc_default_mode
="thumb"
9662 # Do not specify -mthumb-interwork as it may add extra code to support arm/thumb interwork
9663 aros_isa_flags
="$aros_isa_flags -m$gcc_default_mode -$gcc_default_endian -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi"
9666 as_fn_error $?
"Unsupported ARM mode specified $aros_target_cpu_mode" "$LINENO" 5
9670 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9671 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9672 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9675 aros_isa_extra
="$x86_isa_extra$export_newline$x86_64_isa_extra$export_newline"
9676 aros_kernel_ldflags
="$aros_kernel_ldflags -m32"
9680 # Some architectures may need custom ELF specs.
9681 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
9682 elf_specs_in
=config
/${aros_object_format}-specs.
in
9684 elf_specs_in
=config
/elf-specs.
in
9687 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
9688 # Since we override specs, we may need to put these defines there
9689 if test "$gcc_target_cpu" != ""; then
9690 gcc_target_cpu
="-D__${gcc_target_cpu}__"
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
9694 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
9696 # Check whether --with-portssources was given.
9697 if test "${with_portssources+set}" = set; then :
9698 withval
=$with_portssources; with_portssrcdir
=$withval
9700 with_portssrcdir
="default"
9703 if test "$with_portssrcdir" = "default"; then
9704 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
9706 AROS_PORTSSRCDIR
="$with_portssrcdir"
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
9709 $as_echo "$AROS_PORTSSRCDIR" >&6; }
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
9712 $as_echo_n "checking which bootloader to use... " >&6; }
9714 # Check whether --with-bootloader was given.
9715 if test "${with_bootloader+set}" = set; then :
9716 withval
=$with_bootloader; target_bootloader
=$withval
9718 target_bootloader
=$target_bootloader
9721 if test "$target_bootloader" = "none"; then
9722 aros_target_bootloader
=""
9724 aros_target_bootloader
="$target_bootloader"
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
9727 $as_echo "$target_bootloader" >&6; }
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
9730 $as_echo_n "checking which icon-set to use... " >&6; }
9732 # Check whether --with-iconset was given.
9733 if test "${with_iconset+set}" = set; then :
9734 withval
=$with_iconset; target_iconset
=$withval
9736 target_iconset
="default"
9739 if test "$target_iconset" = "default"; then
9740 aros_target_iconset
="Gorilla"
9741 target_iconset
="default (Gorilla)"
9743 aros_target_iconset
="$target_iconset"
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
9746 $as_echo "$target_iconset" >&6; }
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
9749 $as_echo_n "checking which GUI Theme to use... " >&6; }
9751 # Check whether --with-theme was given.
9752 if test "${with_theme+set}" = set; then :
9753 withval
=$with_theme; target_guitheme
=$withval
9755 target_guitheme
="default"
9758 if test "$target_guitheme" = "default"; then
9759 aros_target_guitheme
="Ice"
9761 aros_target_guitheme
="$target_guitheme"
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
9764 $as_echo "$aros_target_guitheme" >&6; }
9766 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
9770 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9774 if test "$aros_host_cpu" == "x86_64" ; then
9775 if test "$aros_target_cpu" == "i386" ; then
9780 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9781 if test "$aros_host_arch" != "$aros_target_arch" ; then
9788 if test "$cross_compiling" = "no" ; then
9789 kernel_tool_prefix
=""
9790 if test "$host_cc_elf" = "yes" ; then
9795 if test "$kernel_tool_version" != ""; then
9796 kernel_tool_version
="-$kernel_tool_version"
9799 #######################################################################
9800 ## Compute what toolchains to use, and their paths ##
9801 #######################################################################
9803 # This takes, as input:
9804 # crosstools {yes,no}
9805 # kernel_tool_version {"",[version]}
9806 # target_tool_version {"",[version]}
9807 # kernel_tool_prefix {none,[some-arch-os-]}
9809 # target_tool_prefix ${aros_target_cpu}-aros-
9810 # aros_tool_prefix ${aros_target_cpu}-aros-
9813 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9814 # Where the 'kernel' binaries are located
9815 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9816 # Where the 'target' binaries are located
9817 # (not the symlink farm - that is aros_target_*!)
9820 # if crosstools then
9821 # if kernel_tools_prefix = "no-kernel-prefix-"
9822 # aros_kernel_* = crosstools cc paths
9823 # aros_kernel_cc = elf cc wrapper around crosstools cc
9825 # VALIDATE(${kernel_tools_prefix}*)
9826 # aros_kernel_* = ${kernel_tools_prefix}*
9827 # if ${kernel_tools_prefix}cc is an AROS gcc
9828 # aros_kernel_cc = ${kernel_tools_prefix}cc
9830 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
9834 # orig_target_* = aros built crosstools
9835 # orig_target_cc = elf cc wrapper around crosstools cc
9837 # VALIDATE(${kernel_tools_prefix}*)
9839 # orig_target_* = aros_kernel_*
9840 # if aros_kernel_cc is an AROS gcc
9841 # orig_target_cc = aros_kernel_cc
9843 # orig_target_cc = aros cc wrapper around aros_kernel_cc
9847 if test "$aros_toolchain" = "gnu" ; then
9848 target_tool_prefix
="${aros_target_cpu}-aros-"
9849 elif test "$aros_toolchain" = "llvm" ; then
9850 target_tool_prefix
="bin/"
9853 if test "$kernel_tool_prefix" != "" ; then
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
9855 $as_echo_n "checking which kernel tools... " >&6; }
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
9857 $as_echo "$kernel_tool_prefix" >&6; };
9860 if test "$kernel_tool_prefix" = "none" ; then
9861 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9862 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
9865 if test "x-$aros_flavour" != "x-standalone" -o "x-$aros_flavour" != "x-standcompat" ; then
9866 # Kernel tools required - find them
9867 # Note that 'normally', aros_kernel_* overrides will be
9868 # empty, unless specified in the per-arch sections above.
9870 if test "x$aros_kernel_cpp" = "x"; then
9871 aros_kernel_cpp
=${kernel_tool_prefix}${CPP}
9873 if test "${kernel_tool_version}" != ""; then
9874 if test "$aros_kernel_cpp" != ""; then
9875 ac_prog_args
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9876 ac_prog_cmd
=`expr "X$aros_kernel_cpp" : '^\S*'`
9877 aros_kernel_cpp
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9881 if test "$aros_kernel_cpp" = ""; then
9882 if test "$cross_compiling" = "yes" ; then
9883 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
9884 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9886 $as_echo_n "checking for $ac_word... " >&6; }
9887 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9888 $as_echo_n "(cached) " >&6
9890 case $aros_kernel_cpp in
9892 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9899 test -z "$as_dir" && as_dir
=.
9900 for ac_exec_ext
in '' $ac_executable_extensions; do
9901 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9902 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9913 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9914 if test -n "$aros_kernel_cpp"; then
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9916 $as_echo "$aros_kernel_cpp" >&6; }
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9919 $as_echo "no" >&6; }
9925 if test "" = ""; then
9930 if test "$GCC" = "yes"; then
9931 aros_gcc_cpp
=`$CC -print-prog-name=$ac_tool_cpp`
9932 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
9933 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9935 $as_echo_n "checking for $ac_word... " >&6; }
9936 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9937 $as_echo_n "(cached) " >&6
9939 case $aros_kernel_cpp in
9941 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9945 for as_dir
in `dirname $aros_gcc_cpp`
9948 test -z "$as_dir" && as_dir
=.
9949 for ac_exec_ext
in '' $ac_executable_extensions; do
9950 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9951 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9962 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9963 if test -n "$aros_kernel_cpp"; then
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9965 $as_echo "$aros_kernel_cpp" >&6; }
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9968 $as_echo "no" >&6; }
9973 if test "$aros_kernel_cpp" = ""; then
9974 for ac_prog
in $ac_tool_cpp
9976 # Extract the first word of "$ac_prog", so it can be a program name with args.
9977 set dummy
$ac_prog; ac_word
=$2
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9979 $as_echo_n "checking for $ac_word... " >&6; }
9980 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9981 $as_echo_n "(cached) " >&6
9983 case $aros_kernel_cpp in
9985 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9992 test -z "$as_dir" && as_dir
=.
9993 for ac_exec_ext
in '' $ac_executable_extensions; do
9994 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9995 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10006 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
10007 if test -n "$aros_kernel_cpp"; then
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
10009 $as_echo "$aros_kernel_cpp" >&6; }
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10012 $as_echo "no" >&6; }
10016 test -n "$aros_kernel_cpp" && break
10023 ac_tool_optarg
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
10024 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
10025 set dummy
$aros_kernel_cpp; ac_word
=$2
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10027 $as_echo_n "checking for $ac_word... " >&6; }
10028 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
10029 $as_echo_n "(cached) " >&6
10031 case $aros_kernel_cpp in
10033 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
10036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10037 for as_dir
in $PATH
10040 test -z "$as_dir" && as_dir
=.
10041 for ac_exec_ext
in '' $ac_executable_extensions; do
10042 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10043 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
10044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10054 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
10055 if test -n "$aros_kernel_cpp"; then
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
10057 $as_echo "$aros_kernel_cpp" >&6; }
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10060 $as_echo "no" >&6; }
10064 aros_kernel_cpp
="$aros_kernel_cpp $ac_tool_optarg"
10068 if test "$aros_kernel_cpp" = ""; then
10071 if test "$aros_kernel_cpp" = "no"; then
10074 if test "$req_avail" = "no"; then
10075 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
10078 if test "x$aros_kernel_cc" = "x"; then
10079 aros_kernel_cc
=${kernel_tool_prefix}${CC}
10081 if test "${kernel_tool_version}" != ""; then
10082 if test "$aros_kernel_cc" != ""; then
10083 ac_prog_args
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
10084 ac_prog_cmd
=`expr "X$aros_kernel_cc" : '^\S*'`
10085 aros_kernel_cc
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
10089 if test "$aros_kernel_cc" = ""; then
10090 if test "$cross_compiling" = "yes" ; then
10091 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
10092 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10094 $as_echo_n "checking for $ac_word... " >&6; }
10095 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
10096 $as_echo_n "(cached) " >&6
10098 case $aros_kernel_cc in
10100 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
10103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10104 for as_dir
in $PATH
10107 test -z "$as_dir" && as_dir
=.
10108 for ac_exec_ext
in '' $ac_executable_extensions; do
10109 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10110 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
10111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10121 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
10122 if test -n "$aros_kernel_cc"; then
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
10124 $as_echo "$aros_kernel_cc" >&6; }
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10127 $as_echo "no" >&6; }
10133 if test "" = ""; then
10138 if test "$GCC" = "yes"; then
10139 aros_gcc_cc
=`$CC -print-prog-name=$ac_tool_cc`
10140 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
10141 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10143 $as_echo_n "checking for $ac_word... " >&6; }
10144 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
10145 $as_echo_n "(cached) " >&6
10147 case $aros_kernel_cc in
10149 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
10152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10153 for as_dir
in `dirname $aros_gcc_cc`
10156 test -z "$as_dir" && as_dir
=.
10157 for ac_exec_ext
in '' $ac_executable_extensions; do
10158 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10159 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
10160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10170 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
10171 if test -n "$aros_kernel_cc"; then
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
10173 $as_echo "$aros_kernel_cc" >&6; }
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10176 $as_echo "no" >&6; }
10181 if test "$aros_kernel_cc" = ""; then
10182 for ac_prog
in $ac_tool_cc
10184 # Extract the first word of "$ac_prog", so it can be a program name with args.
10185 set dummy
$ac_prog; ac_word
=$2
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10187 $as_echo_n "checking for $ac_word... " >&6; }
10188 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
10189 $as_echo_n "(cached) " >&6
10191 case $aros_kernel_cc in
10193 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
10196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10197 for as_dir
in $PATH
10200 test -z "$as_dir" && as_dir
=.
10201 for ac_exec_ext
in '' $ac_executable_extensions; do
10202 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10203 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
10204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10214 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
10215 if test -n "$aros_kernel_cc"; then
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
10217 $as_echo "$aros_kernel_cc" >&6; }
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10220 $as_echo "no" >&6; }
10224 test -n "$aros_kernel_cc" && break
10231 ac_tool_optarg
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
10232 # Extract the first word of "$aros_kernel_cc", so it can be a program name with args.
10233 set dummy
$aros_kernel_cc; ac_word
=$2
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10235 $as_echo_n "checking for $ac_word... " >&6; }
10236 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
10237 $as_echo_n "(cached) " >&6
10239 case $aros_kernel_cc in
10241 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
10244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10245 for as_dir
in $PATH
10248 test -z "$as_dir" && as_dir
=.
10249 for ac_exec_ext
in '' $ac_executable_extensions; do
10250 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10251 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
10252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10262 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
10263 if test -n "$aros_kernel_cc"; then
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
10265 $as_echo "$aros_kernel_cc" >&6; }
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10268 $as_echo "no" >&6; }
10272 aros_kernel_cc
="$aros_kernel_cc $ac_tool_optarg"
10276 if test "$aros_kernel_cc" = ""; then
10279 if test "$aros_kernel_cc" = "no"; then
10282 if test "$req_avail" = "no"; then
10283 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
10286 if test "x$aros_kernel_cxx" = "x"; then
10287 aros_kernel_cxx
=${kernel_tool_prefix}${CXX}
10289 if test "${kernel_tool_version}" != ""; then
10290 if test "$aros_kernel_cxx" != ""; then
10291 ac_prog_args
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
10292 ac_prog_cmd
=`expr "X$aros_kernel_cxx" : '^\S*'`
10293 aros_kernel_cxx
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
10297 if test "$aros_kernel_cxx" = ""; then
10298 if test "$cross_compiling" = "yes" ; then
10299 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
10300 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10302 $as_echo_n "checking for $ac_word... " >&6; }
10303 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10304 $as_echo_n "(cached) " >&6
10306 case $aros_kernel_cxx in
10308 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10312 for as_dir
in $PATH
10315 test -z "$as_dir" && as_dir
=.
10316 for ac_exec_ext
in '' $ac_executable_extensions; do
10317 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10318 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10329 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10330 if test -n "$aros_kernel_cxx"; then
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10332 $as_echo "$aros_kernel_cxx" >&6; }
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10335 $as_echo "no" >&6; }
10341 if test "" = ""; then
10346 if test "$GCC" = "yes"; then
10347 aros_gcc_cxx
=`$CC -print-prog-name=$ac_tool_cxx`
10348 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
10349 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10351 $as_echo_n "checking for $ac_word... " >&6; }
10352 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10353 $as_echo_n "(cached) " >&6
10355 case $aros_kernel_cxx in
10357 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10361 for as_dir
in `dirname $aros_gcc_cxx`
10364 test -z "$as_dir" && as_dir
=.
10365 for ac_exec_ext
in '' $ac_executable_extensions; do
10366 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10367 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10378 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10379 if test -n "$aros_kernel_cxx"; then
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10381 $as_echo "$aros_kernel_cxx" >&6; }
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10384 $as_echo "no" >&6; }
10389 if test "$aros_kernel_cxx" = ""; then
10390 for ac_prog
in $ac_tool_cxx
10392 # Extract the first word of "$ac_prog", so it can be a program name with args.
10393 set dummy
$ac_prog; ac_word
=$2
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10395 $as_echo_n "checking for $ac_word... " >&6; }
10396 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10397 $as_echo_n "(cached) " >&6
10399 case $aros_kernel_cxx in
10401 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10405 for as_dir
in $PATH
10408 test -z "$as_dir" && as_dir
=.
10409 for ac_exec_ext
in '' $ac_executable_extensions; do
10410 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10411 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10422 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10423 if test -n "$aros_kernel_cxx"; then
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10425 $as_echo "$aros_kernel_cxx" >&6; }
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10428 $as_echo "no" >&6; }
10432 test -n "$aros_kernel_cxx" && break
10439 ac_tool_optarg
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
10440 # Extract the first word of "$aros_kernel_cxx", so it can be a program name with args.
10441 set dummy
$aros_kernel_cxx; ac_word
=$2
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10443 $as_echo_n "checking for $ac_word... " >&6; }
10444 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10445 $as_echo_n "(cached) " >&6
10447 case $aros_kernel_cxx in
10449 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10453 for as_dir
in $PATH
10456 test -z "$as_dir" && as_dir
=.
10457 for ac_exec_ext
in '' $ac_executable_extensions; do
10458 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10459 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10470 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10471 if test -n "$aros_kernel_cxx"; then
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10473 $as_echo "$aros_kernel_cxx" >&6; }
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10476 $as_echo "no" >&6; }
10480 aros_kernel_cxx
="$aros_kernel_cxx $ac_tool_optarg"
10483 # If it's set, make sure it's really there
10484 if test "x$aros_kernel_cxx" != "x" ; then
10486 if test "$aros_kernel_cxx" = ""; then
10489 if test "$aros_kernel_cxx" = "no"; then
10492 if test "$req_avail" = "no"; then
10493 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
10496 if test "x$aros_kernel_ld" = "x"; then
10497 aros_kernel_ld
=$aros_host_ld
10500 if test "$aros_kernel_ld" = ""; then
10501 if test "$cross_compiling" = "yes" ; then
10502 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
10503 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10505 $as_echo_n "checking for $ac_word... " >&6; }
10506 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10507 $as_echo_n "(cached) " >&6
10509 case $aros_kernel_ld in
10511 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10515 for as_dir
in $PATH
10518 test -z "$as_dir" && as_dir
=.
10519 for ac_exec_ext
in '' $ac_executable_extensions; do
10520 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10521 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10532 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10533 if test -n "$aros_kernel_ld"; then
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10535 $as_echo "$aros_kernel_ld" >&6; }
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10538 $as_echo "no" >&6; }
10544 if test "" = ""; then
10549 if test "$GCC" = "yes"; then
10550 aros_gcc_ld
=`$CC -print-prog-name=$ac_tool_ld`
10551 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
10552 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10554 $as_echo_n "checking for $ac_word... " >&6; }
10555 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10556 $as_echo_n "(cached) " >&6
10558 case $aros_kernel_ld in
10560 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10564 for as_dir
in `dirname $aros_gcc_ld`
10567 test -z "$as_dir" && as_dir
=.
10568 for ac_exec_ext
in '' $ac_executable_extensions; do
10569 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10570 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10581 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10582 if test -n "$aros_kernel_ld"; then
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10584 $as_echo "$aros_kernel_ld" >&6; }
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10587 $as_echo "no" >&6; }
10592 if test "$aros_kernel_ld" = ""; then
10593 for ac_prog
in $ac_tool_ld
10595 # Extract the first word of "$ac_prog", so it can be a program name with args.
10596 set dummy
$ac_prog; ac_word
=$2
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10598 $as_echo_n "checking for $ac_word... " >&6; }
10599 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10600 $as_echo_n "(cached) " >&6
10602 case $aros_kernel_ld in
10604 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10608 for as_dir
in $PATH
10611 test -z "$as_dir" && as_dir
=.
10612 for ac_exec_ext
in '' $ac_executable_extensions; do
10613 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10614 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10625 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10626 if test -n "$aros_kernel_ld"; then
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10628 $as_echo "$aros_kernel_ld" >&6; }
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10631 $as_echo "no" >&6; }
10635 test -n "$aros_kernel_ld" && break
10642 ac_tool_optarg
=`expr "X$aros_kernel_ld" : '[^ ]* \(.*\)'`
10643 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
10644 set dummy
$aros_kernel_ld; ac_word
=$2
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10646 $as_echo_n "checking for $ac_word... " >&6; }
10647 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10648 $as_echo_n "(cached) " >&6
10650 case $aros_kernel_ld in
10652 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10656 for as_dir
in $PATH
10659 test -z "$as_dir" && as_dir
=.
10660 for ac_exec_ext
in '' $ac_executable_extensions; do
10661 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10662 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10673 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10674 if test -n "$aros_kernel_ld"; then
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10676 $as_echo "$aros_kernel_ld" >&6; }
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10679 $as_echo "no" >&6; }
10683 aros_kernel_ld
="$aros_kernel_ld $ac_tool_optarg"
10687 if test "$aros_kernel_ld" = ""; then
10690 if test "$aros_kernel_ld" = "no"; then
10693 if test "$req_avail" = "no"; then
10694 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10696 if test "x$aros_kernel_as" = "x"; then
10697 aros_kernel_as
=$aros_host_as
10698 if test "x$aros_kernel_as" = "x"; then
10699 aros_kernel_as
=${HOST_TOOLCHAIN_PREFIX}as
${HOST_TOOLCHAIN_SUFFIX}
10703 if test "$aros_kernel_as" = ""; then
10704 if test "$cross_compiling" = "yes" ; then
10705 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
10706 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10708 $as_echo_n "checking for $ac_word... " >&6; }
10709 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10710 $as_echo_n "(cached) " >&6
10712 case $aros_kernel_as in
10714 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10718 for as_dir
in $PATH
10721 test -z "$as_dir" && as_dir
=.
10722 for ac_exec_ext
in '' $ac_executable_extensions; do
10723 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10724 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10735 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10736 if test -n "$aros_kernel_as"; then
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10738 $as_echo "$aros_kernel_as" >&6; }
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10741 $as_echo "no" >&6; }
10747 if test "" = ""; then
10752 if test "$GCC" = "yes"; then
10753 aros_gcc_as
=`$CC -print-prog-name=$ac_tool_as`
10754 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
10755 set dummy
`basename $aros_gcc_as`; ac_word
=$2
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10757 $as_echo_n "checking for $ac_word... " >&6; }
10758 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10759 $as_echo_n "(cached) " >&6
10761 case $aros_kernel_as in
10763 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10767 for as_dir
in `dirname $aros_gcc_as`
10770 test -z "$as_dir" && as_dir
=.
10771 for ac_exec_ext
in '' $ac_executable_extensions; do
10772 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10773 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10784 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10785 if test -n "$aros_kernel_as"; then
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10787 $as_echo "$aros_kernel_as" >&6; }
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10790 $as_echo "no" >&6; }
10795 if test "$aros_kernel_as" = ""; then
10796 for ac_prog
in $ac_tool_as
10798 # Extract the first word of "$ac_prog", so it can be a program name with args.
10799 set dummy
$ac_prog; ac_word
=$2
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10801 $as_echo_n "checking for $ac_word... " >&6; }
10802 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10803 $as_echo_n "(cached) " >&6
10805 case $aros_kernel_as in
10807 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10811 for as_dir
in $PATH
10814 test -z "$as_dir" && as_dir
=.
10815 for ac_exec_ext
in '' $ac_executable_extensions; do
10816 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10817 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10828 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10829 if test -n "$aros_kernel_as"; then
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10831 $as_echo "$aros_kernel_as" >&6; }
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10834 $as_echo "no" >&6; }
10838 test -n "$aros_kernel_as" && break
10845 ac_tool_optarg
=`expr "X$aros_kernel_as" : '[^ ]* \(.*\)'`
10846 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
10847 set dummy
$aros_kernel_as; ac_word
=$2
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10849 $as_echo_n "checking for $ac_word... " >&6; }
10850 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10851 $as_echo_n "(cached) " >&6
10853 case $aros_kernel_as in
10855 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10859 for as_dir
in $PATH
10862 test -z "$as_dir" && as_dir
=.
10863 for ac_exec_ext
in '' $ac_executable_extensions; do
10864 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10865 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10876 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10877 if test -n "$aros_kernel_as"; then
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10879 $as_echo "$aros_kernel_as" >&6; }
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10882 $as_echo "no" >&6; }
10886 aros_kernel_as
="$aros_kernel_as $ac_tool_optarg"
10890 if test "$aros_kernel_as" = ""; then
10893 if test "$aros_kernel_as" = "no"; then
10896 if test "$req_avail" = "no"; then
10897 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
10899 if test "x$aros_kernel_ar" = "x"; then
10900 aros_kernel_ar
=$aros_host_full_ar
10903 if test "$aros_kernel_ar" = ""; then
10904 if test "$cross_compiling" = "yes" ; then
10905 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
10906 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10908 $as_echo_n "checking for $ac_word... " >&6; }
10909 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10910 $as_echo_n "(cached) " >&6
10912 case $aros_kernel_ar in
10914 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10918 for as_dir
in $PATH
10921 test -z "$as_dir" && as_dir
=.
10922 for ac_exec_ext
in '' $ac_executable_extensions; do
10923 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10924 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10935 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10936 if test -n "$aros_kernel_ar"; then
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10938 $as_echo "$aros_kernel_ar" >&6; }
10940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10941 $as_echo "no" >&6; }
10947 if test "" = ""; then
10952 if test "$GCC" = "yes"; then
10953 aros_gcc_ar
=`$CC -print-prog-name=$ac_tool_ar`
10954 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
10955 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10957 $as_echo_n "checking for $ac_word... " >&6; }
10958 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10959 $as_echo_n "(cached) " >&6
10961 case $aros_kernel_ar in
10963 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10967 for as_dir
in `dirname $aros_gcc_ar`
10970 test -z "$as_dir" && as_dir
=.
10971 for ac_exec_ext
in '' $ac_executable_extensions; do
10972 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10973 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10984 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10985 if test -n "$aros_kernel_ar"; then
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10987 $as_echo "$aros_kernel_ar" >&6; }
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10990 $as_echo "no" >&6; }
10995 if test "$aros_kernel_ar" = ""; then
10996 for ac_prog
in $ac_tool_ar
10998 # Extract the first word of "$ac_prog", so it can be a program name with args.
10999 set dummy
$ac_prog; ac_word
=$2
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11001 $as_echo_n "checking for $ac_word... " >&6; }
11002 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
11003 $as_echo_n "(cached) " >&6
11005 case $aros_kernel_ar in
11007 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
11010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11011 for as_dir
in $PATH
11014 test -z "$as_dir" && as_dir
=.
11015 for ac_exec_ext
in '' $ac_executable_extensions; do
11016 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11017 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
11018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11028 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
11029 if test -n "$aros_kernel_ar"; then
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
11031 $as_echo "$aros_kernel_ar" >&6; }
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11034 $as_echo "no" >&6; }
11038 test -n "$aros_kernel_ar" && break
11045 ac_tool_optarg
=`expr "X$aros_kernel_ar" : '[^ ]* \(.*\)'`
11046 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
11047 set dummy
$aros_kernel_ar; ac_word
=$2
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11049 $as_echo_n "checking for $ac_word... " >&6; }
11050 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
11051 $as_echo_n "(cached) " >&6
11053 case $aros_kernel_ar in
11055 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
11058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11059 for as_dir
in $PATH
11062 test -z "$as_dir" && as_dir
=.
11063 for ac_exec_ext
in '' $ac_executable_extensions; do
11064 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11065 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
11066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11076 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
11077 if test -n "$aros_kernel_ar"; then
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
11079 $as_echo "$aros_kernel_ar" >&6; }
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11082 $as_echo "no" >&6; }
11086 aros_kernel_ar
="$aros_kernel_ar $ac_tool_optarg"
11090 if test "$aros_kernel_ar" = ""; then
11093 if test "$aros_kernel_ar" = "no"; then
11096 if test "$req_avail" = "no"; then
11097 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11099 if test "x$aros_kernel_ranlib" = "x"; then
11100 aros_kernel_ranlib
=$aros_host_ranlib
11103 if test "$aros_kernel_ranlib" = ""; then
11104 if test "$cross_compiling" = "yes" ; then
11105 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
11106 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11108 $as_echo_n "checking for $ac_word... " >&6; }
11109 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
11110 $as_echo_n "(cached) " >&6
11112 case $aros_kernel_ranlib in
11114 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
11117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11118 for as_dir
in $PATH
11121 test -z "$as_dir" && as_dir
=.
11122 for ac_exec_ext
in '' $ac_executable_extensions; do
11123 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11124 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11135 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
11136 if test -n "$aros_kernel_ranlib"; then
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
11138 $as_echo "$aros_kernel_ranlib" >&6; }
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11141 $as_echo "no" >&6; }
11147 if test "" = ""; then
11148 ac_tool_ranlib
=ranlib
11152 if test "$GCC" = "yes"; then
11153 aros_gcc_ranlib
=`$CC -print-prog-name=$ac_tool_ranlib`
11154 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
11155 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11157 $as_echo_n "checking for $ac_word... " >&6; }
11158 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
11159 $as_echo_n "(cached) " >&6
11161 case $aros_kernel_ranlib in
11163 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
11166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11167 for as_dir
in `dirname $aros_gcc_ranlib`
11170 test -z "$as_dir" && as_dir
=.
11171 for ac_exec_ext
in '' $ac_executable_extensions; do
11172 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11173 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11184 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
11185 if test -n "$aros_kernel_ranlib"; then
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
11187 $as_echo "$aros_kernel_ranlib" >&6; }
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11190 $as_echo "no" >&6; }
11195 if test "$aros_kernel_ranlib" = ""; then
11196 for ac_prog
in $ac_tool_ranlib
11198 # Extract the first word of "$ac_prog", so it can be a program name with args.
11199 set dummy
$ac_prog; ac_word
=$2
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11201 $as_echo_n "checking for $ac_word... " >&6; }
11202 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
11203 $as_echo_n "(cached) " >&6
11205 case $aros_kernel_ranlib in
11207 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
11210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11211 for as_dir
in $PATH
11214 test -z "$as_dir" && as_dir
=.
11215 for ac_exec_ext
in '' $ac_executable_extensions; do
11216 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11217 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11228 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
11229 if test -n "$aros_kernel_ranlib"; then
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
11231 $as_echo "$aros_kernel_ranlib" >&6; }
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11234 $as_echo "no" >&6; }
11238 test -n "$aros_kernel_ranlib" && break
11245 ac_tool_optarg
=`expr "X$aros_kernel_ranlib" : '[^ ]* \(.*\)'`
11246 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
11247 set dummy
$aros_kernel_ranlib; ac_word
=$2
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11249 $as_echo_n "checking for $ac_word... " >&6; }
11250 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
11251 $as_echo_n "(cached) " >&6
11253 case $aros_kernel_ranlib in
11255 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
11258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11259 for as_dir
in $PATH
11262 test -z "$as_dir" && as_dir
=.
11263 for ac_exec_ext
in '' $ac_executable_extensions; do
11264 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11265 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11276 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
11277 if test -n "$aros_kernel_ranlib"; then
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
11279 $as_echo "$aros_kernel_ranlib" >&6; }
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11282 $as_echo "no" >&6; }
11286 aros_kernel_ranlib
="$aros_kernel_ranlib $ac_tool_optarg"
11290 if test "$aros_kernel_ranlib" = ""; then
11293 if test "$aros_kernel_ranlib" = "no"; then
11296 if test "$req_avail" = "no"; then
11297 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
11299 if test "x$aros_kernel_nm" = "x"; then
11300 aros_kernel_nm
=$aros_host_nm
11301 if test "x$aros_kernel_nm" = "x"; then
11302 aros_kernel_nm
=${HOST_TOOLCHAIN_PREFIX}nm
${HOST_TOOLCHAIN_SUFFIX}
11306 if test "$aros_kernel_nm" = ""; then
11307 if test "$cross_compiling" = "yes" ; then
11308 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
11309 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11311 $as_echo_n "checking for $ac_word... " >&6; }
11312 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
11313 $as_echo_n "(cached) " >&6
11315 case $aros_kernel_nm in
11317 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
11320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11321 for as_dir
in $PATH
11324 test -z "$as_dir" && as_dir
=.
11325 for ac_exec_ext
in '' $ac_executable_extensions; do
11326 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11327 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
11328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11338 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
11339 if test -n "$aros_kernel_nm"; then
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
11341 $as_echo "$aros_kernel_nm" >&6; }
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11344 $as_echo "no" >&6; }
11350 if test "" = ""; then
11355 if test "$GCC" = "yes"; then
11356 aros_gcc_nm
=`$CC -print-prog-name=$ac_tool_nm`
11357 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
11358 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11360 $as_echo_n "checking for $ac_word... " >&6; }
11361 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
11362 $as_echo_n "(cached) " >&6
11364 case $aros_kernel_nm in
11366 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
11369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11370 for as_dir
in `dirname $aros_gcc_nm`
11373 test -z "$as_dir" && as_dir
=.
11374 for ac_exec_ext
in '' $ac_executable_extensions; do
11375 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11376 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
11377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11387 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
11388 if test -n "$aros_kernel_nm"; then
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
11390 $as_echo "$aros_kernel_nm" >&6; }
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11393 $as_echo "no" >&6; }
11398 if test "$aros_kernel_nm" = ""; then
11399 for ac_prog
in $ac_tool_nm
11401 # Extract the first word of "$ac_prog", so it can be a program name with args.
11402 set dummy
$ac_prog; ac_word
=$2
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11404 $as_echo_n "checking for $ac_word... " >&6; }
11405 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
11406 $as_echo_n "(cached) " >&6
11408 case $aros_kernel_nm in
11410 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
11413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11414 for as_dir
in $PATH
11417 test -z "$as_dir" && as_dir
=.
11418 for ac_exec_ext
in '' $ac_executable_extensions; do
11419 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11420 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
11421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11431 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
11432 if test -n "$aros_kernel_nm"; then
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
11434 $as_echo "$aros_kernel_nm" >&6; }
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11437 $as_echo "no" >&6; }
11441 test -n "$aros_kernel_nm" && break
11448 ac_tool_optarg
=`expr "X$aros_kernel_nm" : '[^ ]* \(.*\)'`
11449 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
11450 set dummy
$aros_kernel_nm; ac_word
=$2
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11452 $as_echo_n "checking for $ac_word... " >&6; }
11453 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
11454 $as_echo_n "(cached) " >&6
11456 case $aros_kernel_nm in
11458 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
11461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11462 for as_dir
in $PATH
11465 test -z "$as_dir" && as_dir
=.
11466 for ac_exec_ext
in '' $ac_executable_extensions; do
11467 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11468 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
11469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11479 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
11480 if test -n "$aros_kernel_nm"; then
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
11482 $as_echo "$aros_kernel_nm" >&6; }
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11485 $as_echo "no" >&6; }
11489 aros_kernel_nm
="$aros_kernel_nm $ac_tool_optarg"
11493 if test "$aros_kernel_nm" = ""; then
11496 if test "$aros_kernel_nm" = "no"; then
11499 if test "$req_avail" = "no"; then
11500 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
11503 if test "$aros_kernel_strip" = ""; then
11504 if test "$cross_compiling" = "yes" ; then
11505 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
11506 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11508 $as_echo_n "checking for $ac_word... " >&6; }
11509 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11510 $as_echo_n "(cached) " >&6
11512 case $aros_kernel_strip in
11514 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11518 for as_dir
in $PATH
11521 test -z "$as_dir" && as_dir
=.
11522 for ac_exec_ext
in '' $ac_executable_extensions; do
11523 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11524 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11535 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11536 if test -n "$aros_kernel_strip"; then
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11538 $as_echo "$aros_kernel_strip" >&6; }
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11541 $as_echo "no" >&6; }
11547 if test "" = ""; then
11548 ac_tool_strip
=strip
11552 if test "$GCC" = "yes"; then
11553 aros_gcc_strip
=`$CC -print-prog-name=$ac_tool_strip`
11554 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
11555 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11557 $as_echo_n "checking for $ac_word... " >&6; }
11558 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11559 $as_echo_n "(cached) " >&6
11561 case $aros_kernel_strip in
11563 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11567 for as_dir
in `dirname $aros_gcc_strip`
11570 test -z "$as_dir" && as_dir
=.
11571 for ac_exec_ext
in '' $ac_executable_extensions; do
11572 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11573 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11584 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11585 if test -n "$aros_kernel_strip"; then
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11587 $as_echo "$aros_kernel_strip" >&6; }
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11590 $as_echo "no" >&6; }
11595 if test "$aros_kernel_strip" = ""; then
11596 for ac_prog
in $ac_tool_strip
11598 # Extract the first word of "$ac_prog", so it can be a program name with args.
11599 set dummy
$ac_prog; ac_word
=$2
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11601 $as_echo_n "checking for $ac_word... " >&6; }
11602 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11603 $as_echo_n "(cached) " >&6
11605 case $aros_kernel_strip in
11607 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11611 for as_dir
in $PATH
11614 test -z "$as_dir" && as_dir
=.
11615 for ac_exec_ext
in '' $ac_executable_extensions; do
11616 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11617 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11628 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11629 if test -n "$aros_kernel_strip"; then
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11631 $as_echo "$aros_kernel_strip" >&6; }
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11634 $as_echo "no" >&6; }
11638 test -n "$aros_kernel_strip" && break
11645 ac_tool_optarg
=`expr "X$aros_kernel_strip" : '[^ ]* \(.*\)'`
11646 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
11647 set dummy
$aros_kernel_strip; ac_word
=$2
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11649 $as_echo_n "checking for $ac_word... " >&6; }
11650 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11651 $as_echo_n "(cached) " >&6
11653 case $aros_kernel_strip in
11655 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11659 for as_dir
in $PATH
11662 test -z "$as_dir" && as_dir
=.
11663 for ac_exec_ext
in '' $ac_executable_extensions; do
11664 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11665 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11676 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11677 if test -n "$aros_kernel_strip"; then
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11679 $as_echo "$aros_kernel_strip" >&6; }
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11682 $as_echo "no" >&6; }
11686 aros_kernel_strip
="$aros_kernel_strip $ac_tool_optarg"
11690 if test "$aros_kernel_strip" = ""; then
11693 if test "$aros_kernel_strip" = "no"; then
11696 if test "$req_avail" = "no"; then
11697 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
11700 # Objcopy and objdump are not required for the kernel
11701 # toolchain on many architectures.
11702 # So we'll look for them, but not make them strictly required.
11703 if test "x$aros_kernel_objcopy" = "x"; then
11704 aros_kernel_objcopy
=$aros_host_objcopy
11705 if test "x$aros_kernel_objcopy" = "x"; then
11706 aros_kernel_objcopy
=${HOST_TOOLCHAIN_PREFIX}objcopy
${HOST_TOOLCHAIN_SUFFIX}
11710 if test "$aros_kernel_objcopy" = ""; then
11711 if test "$cross_compiling" = "yes" ; then
11712 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
11713 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11715 $as_echo_n "checking for $ac_word... " >&6; }
11716 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11717 $as_echo_n "(cached) " >&6
11719 case $aros_kernel_objcopy in
11721 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11725 for as_dir
in $PATH
11728 test -z "$as_dir" && as_dir
=.
11729 for ac_exec_ext
in '' $ac_executable_extensions; do
11730 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11731 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11742 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11743 if test -n "$aros_kernel_objcopy"; then
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11745 $as_echo "$aros_kernel_objcopy" >&6; }
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11748 $as_echo "no" >&6; }
11754 if test "" = ""; then
11755 ac_tool_objcopy
=objcopy
11759 if test "$GCC" = "yes"; then
11760 aros_gcc_objcopy
=`$CC -print-prog-name=$ac_tool_objcopy`
11761 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
11762 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11764 $as_echo_n "checking for $ac_word... " >&6; }
11765 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11766 $as_echo_n "(cached) " >&6
11768 case $aros_kernel_objcopy in
11770 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11774 for as_dir
in `dirname $aros_gcc_objcopy`
11777 test -z "$as_dir" && as_dir
=.
11778 for ac_exec_ext
in '' $ac_executable_extensions; do
11779 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11780 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11791 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11792 if test -n "$aros_kernel_objcopy"; then
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11794 $as_echo "$aros_kernel_objcopy" >&6; }
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11797 $as_echo "no" >&6; }
11802 if test "$aros_kernel_objcopy" = ""; then
11803 for ac_prog
in $ac_tool_objcopy
11805 # Extract the first word of "$ac_prog", so it can be a program name with args.
11806 set dummy
$ac_prog; ac_word
=$2
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11808 $as_echo_n "checking for $ac_word... " >&6; }
11809 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11810 $as_echo_n "(cached) " >&6
11812 case $aros_kernel_objcopy in
11814 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11818 for as_dir
in $PATH
11821 test -z "$as_dir" && as_dir
=.
11822 for ac_exec_ext
in '' $ac_executable_extensions; do
11823 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11824 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11835 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11836 if test -n "$aros_kernel_objcopy"; then
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11838 $as_echo "$aros_kernel_objcopy" >&6; }
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11841 $as_echo "no" >&6; }
11845 test -n "$aros_kernel_objcopy" && break
11852 ac_tool_optarg
=`expr "X$aros_kernel_objcopy" : '[^ ]* \(.*\)'`
11853 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
11854 set dummy
$aros_kernel_objcopy; ac_word
=$2
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11856 $as_echo_n "checking for $ac_word... " >&6; }
11857 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11858 $as_echo_n "(cached) " >&6
11860 case $aros_kernel_objcopy in
11862 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11866 for as_dir
in $PATH
11869 test -z "$as_dir" && as_dir
=.
11870 for ac_exec_ext
in '' $ac_executable_extensions; do
11871 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11872 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11883 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11884 if test -n "$aros_kernel_objcopy"; then
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11886 $as_echo "$aros_kernel_objcopy" >&6; }
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11889 $as_echo "no" >&6; }
11893 aros_kernel_objcopy
="$aros_kernel_objcopy $ac_tool_optarg"
11896 if test "x$aros_kernel_objdump" = "x"; then
11897 aros_kernel_objdump
=$aros_host_objdump
11898 if test "x$aros_kernel_objdump" = "x"; then
11899 aros_kernel_objdump
=${HOST_TOOLCHAIN_PREFIX}objdump
${HOST_TOOLCHAIN_SUFFIX}
11903 if test "$aros_kernel_objdump" = ""; then
11904 if test "$cross_compiling" = "yes" ; then
11905 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
11906 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11908 $as_echo_n "checking for $ac_word... " >&6; }
11909 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11910 $as_echo_n "(cached) " >&6
11912 case $aros_kernel_objdump in
11914 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11918 for as_dir
in $PATH
11921 test -z "$as_dir" && as_dir
=.
11922 for ac_exec_ext
in '' $ac_executable_extensions; do
11923 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11924 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11935 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11936 if test -n "$aros_kernel_objdump"; then
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11938 $as_echo "$aros_kernel_objdump" >&6; }
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11941 $as_echo "no" >&6; }
11947 if test "" = ""; then
11948 ac_tool_objdump
=objdump
11952 if test "$GCC" = "yes"; then
11953 aros_gcc_objdump
=`$CC -print-prog-name=$ac_tool_objdump`
11954 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
11955 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11957 $as_echo_n "checking for $ac_word... " >&6; }
11958 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11959 $as_echo_n "(cached) " >&6
11961 case $aros_kernel_objdump in
11963 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11967 for as_dir
in `dirname $aros_gcc_objdump`
11970 test -z "$as_dir" && as_dir
=.
11971 for ac_exec_ext
in '' $ac_executable_extensions; do
11972 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11973 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11984 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11985 if test -n "$aros_kernel_objdump"; then
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11987 $as_echo "$aros_kernel_objdump" >&6; }
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11990 $as_echo "no" >&6; }
11995 if test "$aros_kernel_objdump" = ""; then
11996 for ac_prog
in $ac_tool_objdump
11998 # Extract the first word of "$ac_prog", so it can be a program name with args.
11999 set dummy
$ac_prog; ac_word
=$2
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12001 $as_echo_n "checking for $ac_word... " >&6; }
12002 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
12003 $as_echo_n "(cached) " >&6
12005 case $aros_kernel_objdump in
12007 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
12010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12011 for as_dir
in $PATH
12014 test -z "$as_dir" && as_dir
=.
12015 for ac_exec_ext
in '' $ac_executable_extensions; do
12016 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12017 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
12018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12028 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
12029 if test -n "$aros_kernel_objdump"; then
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
12031 $as_echo "$aros_kernel_objdump" >&6; }
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12034 $as_echo "no" >&6; }
12038 test -n "$aros_kernel_objdump" && break
12045 ac_tool_optarg
=`expr "X$aros_kernel_objdump" : '[^ ]* \(.*\)'`
12046 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
12047 set dummy
$aros_kernel_objdump; ac_word
=$2
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12049 $as_echo_n "checking for $ac_word... " >&6; }
12050 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
12051 $as_echo_n "(cached) " >&6
12053 case $aros_kernel_objdump in
12055 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
12058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12059 for as_dir
in $PATH
12062 test -z "$as_dir" && as_dir
=.
12063 for ac_exec_ext
in '' $ac_executable_extensions; do
12064 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12065 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
12066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12076 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
12077 if test -n "$aros_kernel_objdump"; then
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
12079 $as_echo "$aros_kernel_objdump" >&6; }
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12082 $as_echo "no" >&6; }
12086 aros_kernel_objdump
="$aros_kernel_objdump $ac_tool_optarg"
12089 if test "x${crosstools}" != "xyes" ; then
12091 if test "$aros_kernel_objcopy" = ""; then
12094 if test "$aros_kernel_objcopy" = "no"; then
12097 if test "$req_avail" = "no"; then
12098 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12101 if test "$aros_kernel_objdump" = ""; then
12104 if test "$aros_kernel_objdump" = "no"; then
12107 if test "$req_avail" = "no"; then
12108 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
12115 $as_echo_n "checking which target tools to use... " >&6; }
12116 if test "$aros_target_toolchain" = "yes"; then
12117 if test "$aros_toolchain" = "llvm" ; then
12120 msg_result
=$target_tool_prefix
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
12123 $as_echo "$msg_result" >&6; }
12124 # We are building AROS crosstools
12125 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
12126 orig_target_cc
="${tmp_tool_prefix}${toolchain_c_compiler}${target_tool_version}"
12127 orig_target_cxx
="${tmp_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}"
12128 orig_target_cpp
="${tmp_tool_prefix}${toolchain_cpp_preprocessor}${toolchain_cpp_opts}"
12129 orig_target_ld
="${tmp_tool_prefix}${toolchain_ld}"
12130 orig_target_as
="${tmp_tool_prefix}${toolchain_as}"
12131 orig_target_ar
="${tmp_tool_prefix}${toolchain_ar}"
12132 orig_target_ranlib
="${tmp_tool_prefix}${toolchain_ranlib}"
12133 orig_target_nm
="${tmp_tool_prefix}${toolchain_nm}"
12134 orig_target_strip
="${tmp_tool_prefix}${toolchain_strip}"
12135 orig_target_objcopy
="${tmp_tool_prefix}${toolchain_objcopy}"
12136 orig_target_objdump
="${tmp_tool_prefix}${toolchain_objdump}"
12138 # Determine whether AROS or ELF tools should be used
12139 if test "$aros_tool_prefix" = "none"; then
12140 aros_tool_prefix
="${elf_tool_prefix}"
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
12144 $as_echo "$aros_tool_prefix" >&6; }
12145 # We are *not* building AROS crosstools - use the AROS or ELF tools
12147 if test "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}${toolchain_cpp_opts}" = ""; then
12148 if test "$cross_compiling" = "yes" ; then
12149 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
12150 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12152 $as_echo_n "checking for $ac_word... " >&6; }
12153 if ${ac_cv_path_orig_target_cpp+:} false
; then :
12154 $as_echo_n "(cached) " >&6
12156 case $orig_target_cpp in
12158 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
12161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12162 for as_dir
in $PATH
12165 test -z "$as_dir" && as_dir
=.
12166 for ac_exec_ext
in '' $ac_executable_extensions; do
12167 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12168 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
12169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12179 orig_target_cpp
=$ac_cv_path_orig_target_cpp
12180 if test -n "$orig_target_cpp"; then
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
12182 $as_echo "$orig_target_cpp" >&6; }
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12185 $as_echo "no" >&6; }
12191 if test "" = ""; then
12196 if test "$GCC" = "yes"; then
12197 aros_gcc_cpp
=`$CC -print-prog-name=$ac_tool_cpp`
12198 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
12199 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12201 $as_echo_n "checking for $ac_word... " >&6; }
12202 if ${ac_cv_path_orig_target_cpp+:} false
; then :
12203 $as_echo_n "(cached) " >&6
12205 case $orig_target_cpp in
12207 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
12210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12211 for as_dir
in `dirname $aros_gcc_cpp`
12214 test -z "$as_dir" && as_dir
=.
12215 for ac_exec_ext
in '' $ac_executable_extensions; do
12216 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12217 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
12218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12228 orig_target_cpp
=$ac_cv_path_orig_target_cpp
12229 if test -n "$orig_target_cpp"; then
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
12231 $as_echo "$orig_target_cpp" >&6; }
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12234 $as_echo "no" >&6; }
12239 if test "$orig_target_cpp" = ""; then
12240 for ac_prog
in $ac_tool_cpp
12242 # Extract the first word of "$ac_prog", so it can be a program name with args.
12243 set dummy
$ac_prog; ac_word
=$2
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12245 $as_echo_n "checking for $ac_word... " >&6; }
12246 if ${ac_cv_path_orig_target_cpp+:} false
; then :
12247 $as_echo_n "(cached) " >&6
12249 case $orig_target_cpp in
12251 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
12254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12255 for as_dir
in $PATH
12258 test -z "$as_dir" && as_dir
=.
12259 for ac_exec_ext
in '' $ac_executable_extensions; do
12260 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12261 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
12262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12272 orig_target_cpp
=$ac_cv_path_orig_target_cpp
12273 if test -n "$orig_target_cpp"; then
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
12275 $as_echo "$orig_target_cpp" >&6; }
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12278 $as_echo "no" >&6; }
12282 test -n "$orig_target_cpp" && break
12289 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}${toolchain_cpp_opts}" : '[^ ]* \(.*\)'`
12290 # Extract the first word of "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}${toolchain_cpp_opts}", so it can be a program name with args.
12291 set dummy
${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}${toolchain_cpp_opts}; ac_word
=$2
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12293 $as_echo_n "checking for $ac_word... " >&6; }
12294 if ${ac_cv_path_orig_target_cpp+:} false
; then :
12295 $as_echo_n "(cached) " >&6
12297 case $orig_target_cpp in
12299 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
12302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12303 for as_dir
in $PATH
12306 test -z "$as_dir" && as_dir
=.
12307 for ac_exec_ext
in '' $ac_executable_extensions; do
12308 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12309 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
12310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12320 orig_target_cpp
=$ac_cv_path_orig_target_cpp
12321 if test -n "$orig_target_cpp"; then
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
12323 $as_echo "$orig_target_cpp" >&6; }
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12326 $as_echo "no" >&6; }
12330 orig_target_cpp
="$orig_target_cpp $ac_tool_optarg"
12334 if test "$orig_target_cpp" = ""; then
12337 if test "$orig_target_cpp" = "no"; then
12340 if test "$req_avail" = "no"; then
12341 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
12344 if test "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" = ""; then
12345 if test "$cross_compiling" = "yes" ; then
12346 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
12347 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12349 $as_echo_n "checking for $ac_word... " >&6; }
12350 if ${ac_cv_path_orig_target_cc+:} false
; then :
12351 $as_echo_n "(cached) " >&6
12353 case $orig_target_cc in
12355 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
12358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12359 for as_dir
in $PATH
12362 test -z "$as_dir" && as_dir
=.
12363 for ac_exec_ext
in '' $ac_executable_extensions; do
12364 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12365 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
12366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12376 orig_target_cc
=$ac_cv_path_orig_target_cc
12377 if test -n "$orig_target_cc"; then
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
12379 $as_echo "$orig_target_cc" >&6; }
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12382 $as_echo "no" >&6; }
12388 if test "" = ""; then
12393 if test "$GCC" = "yes"; then
12394 aros_gcc_gcc
=`$CC -print-prog-name=$ac_tool_gcc`
12395 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
12396 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12398 $as_echo_n "checking for $ac_word... " >&6; }
12399 if ${ac_cv_path_orig_target_cc+:} false
; then :
12400 $as_echo_n "(cached) " >&6
12402 case $orig_target_cc in
12404 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
12407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12408 for as_dir
in `dirname $aros_gcc_gcc`
12411 test -z "$as_dir" && as_dir
=.
12412 for ac_exec_ext
in '' $ac_executable_extensions; do
12413 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12414 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
12415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12425 orig_target_cc
=$ac_cv_path_orig_target_cc
12426 if test -n "$orig_target_cc"; then
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
12428 $as_echo "$orig_target_cc" >&6; }
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12431 $as_echo "no" >&6; }
12436 if test "$orig_target_cc" = ""; then
12437 for ac_prog
in $ac_tool_gcc
12439 # Extract the first word of "$ac_prog", so it can be a program name with args.
12440 set dummy
$ac_prog; ac_word
=$2
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12442 $as_echo_n "checking for $ac_word... " >&6; }
12443 if ${ac_cv_path_orig_target_cc+:} false
; then :
12444 $as_echo_n "(cached) " >&6
12446 case $orig_target_cc in
12448 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
12451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12452 for as_dir
in $PATH
12455 test -z "$as_dir" && as_dir
=.
12456 for ac_exec_ext
in '' $ac_executable_extensions; do
12457 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12458 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
12459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12469 orig_target_cc
=$ac_cv_path_orig_target_cc
12470 if test -n "$orig_target_cc"; then
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
12472 $as_echo "$orig_target_cc" >&6; }
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12475 $as_echo "no" >&6; }
12479 test -n "$orig_target_cc" && break
12486 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
12487 # Extract the first word of "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}", so it can be a program name with args.
12488 set dummy
${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}; ac_word
=$2
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12490 $as_echo_n "checking for $ac_word... " >&6; }
12491 if ${ac_cv_path_orig_target_cc+:} false
; then :
12492 $as_echo_n "(cached) " >&6
12494 case $orig_target_cc in
12496 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
12499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12500 for as_dir
in $PATH
12503 test -z "$as_dir" && as_dir
=.
12504 for ac_exec_ext
in '' $ac_executable_extensions; do
12505 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12506 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
12507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12517 orig_target_cc
=$ac_cv_path_orig_target_cc
12518 if test -n "$orig_target_cc"; then
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
12520 $as_echo "$orig_target_cc" >&6; }
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12523 $as_echo "no" >&6; }
12527 orig_target_cc
="$orig_target_cc $ac_tool_optarg"
12531 if test "$orig_target_cc" = ""; then
12534 if test "$orig_target_cc" = "no"; then
12537 if test "$req_avail" = "no"; then
12538 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
12541 if test "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" = ""; then
12542 if test "$cross_compiling" = "yes" ; then
12543 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
12544 set dummy
${target_tool_prefix}g
++; ac_word
=$2
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12546 $as_echo_n "checking for $ac_word... " >&6; }
12547 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12548 $as_echo_n "(cached) " >&6
12550 case $orig_target_cxx in
12552 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12556 for as_dir
in $PATH
12559 test -z "$as_dir" && as_dir
=.
12560 for ac_exec_ext
in '' $ac_executable_extensions; do
12561 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12562 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12573 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12574 if test -n "$orig_target_cxx"; then
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12576 $as_echo "$orig_target_cxx" >&6; }
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12579 $as_echo "no" >&6; }
12585 if test "" = ""; then
12590 if test "$GCC" = "yes"; then
12591 aros_gcc_g
++=`$CC -print-prog-name=$ac_tool_g++`
12592 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
12593 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12595 $as_echo_n "checking for $ac_word... " >&6; }
12596 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12597 $as_echo_n "(cached) " >&6
12599 case $orig_target_cxx in
12601 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12605 for as_dir
in `dirname $aros_gcc_g++`
12608 test -z "$as_dir" && as_dir
=.
12609 for ac_exec_ext
in '' $ac_executable_extensions; do
12610 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12611 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12622 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12623 if test -n "$orig_target_cxx"; then
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12625 $as_echo "$orig_target_cxx" >&6; }
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12628 $as_echo "no" >&6; }
12633 if test "$orig_target_cxx" = ""; then
12634 for ac_prog
in $ac_tool_g++
12636 # Extract the first word of "$ac_prog", so it can be a program name with args.
12637 set dummy
$ac_prog; ac_word
=$2
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12639 $as_echo_n "checking for $ac_word... " >&6; }
12640 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12641 $as_echo_n "(cached) " >&6
12643 case $orig_target_cxx in
12645 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12649 for as_dir
in $PATH
12652 test -z "$as_dir" && as_dir
=.
12653 for ac_exec_ext
in '' $ac_executable_extensions; do
12654 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12655 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12666 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12667 if test -n "$orig_target_cxx"; then
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12669 $as_echo "$orig_target_cxx" >&6; }
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12672 $as_echo "no" >&6; }
12676 test -n "$orig_target_cxx" && break
12683 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
12684 # Extract the first word of "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}", so it can be a program name with args.
12685 set dummy
${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}; ac_word
=$2
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12687 $as_echo_n "checking for $ac_word... " >&6; }
12688 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12689 $as_echo_n "(cached) " >&6
12691 case $orig_target_cxx in
12693 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12697 for as_dir
in $PATH
12700 test -z "$as_dir" && as_dir
=.
12701 for ac_exec_ext
in '' $ac_executable_extensions; do
12702 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12703 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12714 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12715 if test -n "$orig_target_cxx"; then
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12717 $as_echo "$orig_target_cxx" >&6; }
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12720 $as_echo "no" >&6; }
12724 orig_target_cxx
="$orig_target_cxx $ac_tool_optarg"
12728 if test "$orig_target_cxx" = ""; then
12731 if test "$orig_target_cxx" = "no"; then
12734 if test "$req_avail" = "no"; then
12735 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
12738 if test "${aros_tool_prefix}${toolchain_ld}" = ""; then
12739 if test "$cross_compiling" = "yes" ; then
12740 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
12741 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12743 $as_echo_n "checking for $ac_word... " >&6; }
12744 if ${ac_cv_path_orig_target_ld+:} false
; then :
12745 $as_echo_n "(cached) " >&6
12747 case $orig_target_ld in
12749 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12753 for as_dir
in $PATH
12756 test -z "$as_dir" && as_dir
=.
12757 for ac_exec_ext
in '' $ac_executable_extensions; do
12758 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12759 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12770 orig_target_ld
=$ac_cv_path_orig_target_ld
12771 if test -n "$orig_target_ld"; then
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12773 $as_echo "$orig_target_ld" >&6; }
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12776 $as_echo "no" >&6; }
12782 if test "" = ""; then
12787 if test "$GCC" = "yes"; then
12788 aros_gcc_gcc
=`$CC -print-prog-name=$ac_tool_gcc`
12789 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
12790 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12792 $as_echo_n "checking for $ac_word... " >&6; }
12793 if ${ac_cv_path_orig_target_ld+:} false
; then :
12794 $as_echo_n "(cached) " >&6
12796 case $orig_target_ld in
12798 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12802 for as_dir
in `dirname $aros_gcc_gcc`
12805 test -z "$as_dir" && as_dir
=.
12806 for ac_exec_ext
in '' $ac_executable_extensions; do
12807 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12808 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12819 orig_target_ld
=$ac_cv_path_orig_target_ld
12820 if test -n "$orig_target_ld"; then
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12822 $as_echo "$orig_target_ld" >&6; }
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12825 $as_echo "no" >&6; }
12830 if test "$orig_target_ld" = ""; then
12831 for ac_prog
in $ac_tool_gcc
12833 # Extract the first word of "$ac_prog", so it can be a program name with args.
12834 set dummy
$ac_prog; ac_word
=$2
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12836 $as_echo_n "checking for $ac_word... " >&6; }
12837 if ${ac_cv_path_orig_target_ld+:} false
; then :
12838 $as_echo_n "(cached) " >&6
12840 case $orig_target_ld in
12842 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12846 for as_dir
in $PATH
12849 test -z "$as_dir" && as_dir
=.
12850 for ac_exec_ext
in '' $ac_executable_extensions; do
12851 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12852 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12863 orig_target_ld
=$ac_cv_path_orig_target_ld
12864 if test -n "$orig_target_ld"; then
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12866 $as_echo "$orig_target_ld" >&6; }
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12869 $as_echo "no" >&6; }
12873 test -n "$orig_target_ld" && break
12880 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ld}" : '[^ ]* \(.*\)'`
12881 # Extract the first word of "${aros_tool_prefix}${toolchain_ld}", so it can be a program name with args.
12882 set dummy
${aros_tool_prefix}${toolchain_ld}; ac_word
=$2
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12884 $as_echo_n "checking for $ac_word... " >&6; }
12885 if ${ac_cv_path_orig_target_ld+:} false
; then :
12886 $as_echo_n "(cached) " >&6
12888 case $orig_target_ld in
12890 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12894 for as_dir
in $PATH
12897 test -z "$as_dir" && as_dir
=.
12898 for ac_exec_ext
in '' $ac_executable_extensions; do
12899 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12900 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12911 orig_target_ld
=$ac_cv_path_orig_target_ld
12912 if test -n "$orig_target_ld"; then
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12914 $as_echo "$orig_target_ld" >&6; }
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12917 $as_echo "no" >&6; }
12921 orig_target_ld
="$orig_target_ld $ac_tool_optarg"
12925 if test "$orig_target_ld" = ""; then
12928 if test "$orig_target_ld" = "no"; then
12931 if test "$req_avail" = "no"; then
12932 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
12935 if test "aros_tool_prefix}${toolchain_as}" = ""; then
12936 if test "$cross_compiling" = "yes" ; then
12937 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
12938 set dummy
${target_tool_prefix}as
; ac_word
=$2
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12940 $as_echo_n "checking for $ac_word... " >&6; }
12941 if ${ac_cv_path_orig_target_as+:} false
; then :
12942 $as_echo_n "(cached) " >&6
12944 case $orig_target_as in
12946 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12950 for as_dir
in $PATH
12953 test -z "$as_dir" && as_dir
=.
12954 for ac_exec_ext
in '' $ac_executable_extensions; do
12955 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12956 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12967 orig_target_as
=$ac_cv_path_orig_target_as
12968 if test -n "$orig_target_as"; then
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12970 $as_echo "$orig_target_as" >&6; }
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12973 $as_echo "no" >&6; }
12979 if test "" = ""; then
12984 if test "$GCC" = "yes"; then
12985 aros_gcc_as
=`$CC -print-prog-name=$ac_tool_as`
12986 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
12987 set dummy
`basename $aros_gcc_as`; ac_word
=$2
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12989 $as_echo_n "checking for $ac_word... " >&6; }
12990 if ${ac_cv_path_orig_target_as+:} false
; then :
12991 $as_echo_n "(cached) " >&6
12993 case $orig_target_as in
12995 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12999 for as_dir
in `dirname $aros_gcc_as`
13002 test -z "$as_dir" && as_dir
=.
13003 for ac_exec_ext
in '' $ac_executable_extensions; do
13004 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13005 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
13006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13016 orig_target_as
=$ac_cv_path_orig_target_as
13017 if test -n "$orig_target_as"; then
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
13019 $as_echo "$orig_target_as" >&6; }
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13022 $as_echo "no" >&6; }
13027 if test "$orig_target_as" = ""; then
13028 for ac_prog
in $ac_tool_as
13030 # Extract the first word of "$ac_prog", so it can be a program name with args.
13031 set dummy
$ac_prog; ac_word
=$2
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13033 $as_echo_n "checking for $ac_word... " >&6; }
13034 if ${ac_cv_path_orig_target_as+:} false
; then :
13035 $as_echo_n "(cached) " >&6
13037 case $orig_target_as in
13039 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
13042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13043 for as_dir
in $PATH
13046 test -z "$as_dir" && as_dir
=.
13047 for ac_exec_ext
in '' $ac_executable_extensions; do
13048 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13049 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
13050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13060 orig_target_as
=$ac_cv_path_orig_target_as
13061 if test -n "$orig_target_as"; then
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
13063 $as_echo "$orig_target_as" >&6; }
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13066 $as_echo "no" >&6; }
13070 test -n "$orig_target_as" && break
13077 ac_tool_optarg
=`expr "Xaros_tool_prefix}${toolchain_as}" : '[^ ]* \(.*\)'`
13078 # Extract the first word of "aros_tool_prefix}${toolchain_as}", so it can be a program name with args.
13079 set dummy aros_tool_prefix
}${toolchain_as}; ac_word
=$2
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13081 $as_echo_n "checking for $ac_word... " >&6; }
13082 if ${ac_cv_path_orig_target_as+:} false
; then :
13083 $as_echo_n "(cached) " >&6
13085 case $orig_target_as in
13087 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
13090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13091 for as_dir
in $PATH
13094 test -z "$as_dir" && as_dir
=.
13095 for ac_exec_ext
in '' $ac_executable_extensions; do
13096 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13097 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
13098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13108 orig_target_as
=$ac_cv_path_orig_target_as
13109 if test -n "$orig_target_as"; then
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
13111 $as_echo "$orig_target_as" >&6; }
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13114 $as_echo "no" >&6; }
13118 orig_target_as
="$orig_target_as $ac_tool_optarg"
13122 if test "$orig_target_as" = ""; then
13125 if test "$orig_target_as" = "no"; then
13128 if test "$req_avail" = "no"; then
13129 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
13132 if test "${aros_tool_prefix}${toolchain_ar}" = ""; then
13133 if test "$cross_compiling" = "yes" ; then
13134 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
13135 set dummy
${target_tool_prefix}ar; ac_word
=$2
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13137 $as_echo_n "checking for $ac_word... " >&6; }
13138 if ${ac_cv_path_orig_target_ar+:} false
; then :
13139 $as_echo_n "(cached) " >&6
13141 case $orig_target_ar in
13143 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
13146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13147 for as_dir
in $PATH
13150 test -z "$as_dir" && as_dir
=.
13151 for ac_exec_ext
in '' $ac_executable_extensions; do
13152 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13153 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
13154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13164 orig_target_ar
=$ac_cv_path_orig_target_ar
13165 if test -n "$orig_target_ar"; then
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
13167 $as_echo "$orig_target_ar" >&6; }
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13170 $as_echo "no" >&6; }
13176 if test "" = ""; then
13181 if test "$GCC" = "yes"; then
13182 aros_gcc_ar
=`$CC -print-prog-name=$ac_tool_ar`
13183 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
13184 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13186 $as_echo_n "checking for $ac_word... " >&6; }
13187 if ${ac_cv_path_orig_target_ar+:} false
; then :
13188 $as_echo_n "(cached) " >&6
13190 case $orig_target_ar in
13192 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
13195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13196 for as_dir
in `dirname $aros_gcc_ar`
13199 test -z "$as_dir" && as_dir
=.
13200 for ac_exec_ext
in '' $ac_executable_extensions; do
13201 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13202 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
13203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13213 orig_target_ar
=$ac_cv_path_orig_target_ar
13214 if test -n "$orig_target_ar"; then
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
13216 $as_echo "$orig_target_ar" >&6; }
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13219 $as_echo "no" >&6; }
13224 if test "$orig_target_ar" = ""; then
13225 for ac_prog
in $ac_tool_ar
13227 # Extract the first word of "$ac_prog", so it can be a program name with args.
13228 set dummy
$ac_prog; ac_word
=$2
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13230 $as_echo_n "checking for $ac_word... " >&6; }
13231 if ${ac_cv_path_orig_target_ar+:} false
; then :
13232 $as_echo_n "(cached) " >&6
13234 case $orig_target_ar in
13236 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
13239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13240 for as_dir
in $PATH
13243 test -z "$as_dir" && as_dir
=.
13244 for ac_exec_ext
in '' $ac_executable_extensions; do
13245 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13246 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
13247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13257 orig_target_ar
=$ac_cv_path_orig_target_ar
13258 if test -n "$orig_target_ar"; then
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
13260 $as_echo "$orig_target_ar" >&6; }
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13263 $as_echo "no" >&6; }
13267 test -n "$orig_target_ar" && break
13274 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ar}" : '[^ ]* \(.*\)'`
13275 # Extract the first word of "${aros_tool_prefix}${toolchain_ar}", so it can be a program name with args.
13276 set dummy
${aros_tool_prefix}${toolchain_ar}; ac_word
=$2
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13278 $as_echo_n "checking for $ac_word... " >&6; }
13279 if ${ac_cv_path_orig_target_ar+:} false
; then :
13280 $as_echo_n "(cached) " >&6
13282 case $orig_target_ar in
13284 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
13287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13288 for as_dir
in $PATH
13291 test -z "$as_dir" && as_dir
=.
13292 for ac_exec_ext
in '' $ac_executable_extensions; do
13293 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13294 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
13295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13305 orig_target_ar
=$ac_cv_path_orig_target_ar
13306 if test -n "$orig_target_ar"; then
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
13308 $as_echo "$orig_target_ar" >&6; }
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13311 $as_echo "no" >&6; }
13315 orig_target_ar
="$orig_target_ar $ac_tool_optarg"
13319 if test "$orig_target_ar" = ""; then
13322 if test "$orig_target_ar" = "no"; then
13325 if test "$req_avail" = "no"; then
13326 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
13329 if test "${aros_tool_prefix}${toolchain_ranlib}" = ""; then
13330 if test "$cross_compiling" = "yes" ; then
13331 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
13332 set dummy
${target_tool_prefix}ar; ac_word
=$2
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13334 $as_echo_n "checking for $ac_word... " >&6; }
13335 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
13336 $as_echo_n "(cached) " >&6
13338 case $orig_target_ranlib in
13340 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
13343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13344 for as_dir
in $PATH
13347 test -z "$as_dir" && as_dir
=.
13348 for ac_exec_ext
in '' $ac_executable_extensions; do
13349 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13350 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
13351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13361 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
13362 if test -n "$orig_target_ranlib"; then
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
13364 $as_echo "$orig_target_ranlib" >&6; }
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13367 $as_echo "no" >&6; }
13373 if test "" = ""; then
13378 if test "$GCC" = "yes"; then
13379 aros_gcc_ar
=`$CC -print-prog-name=$ac_tool_ar`
13380 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
13381 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13383 $as_echo_n "checking for $ac_word... " >&6; }
13384 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
13385 $as_echo_n "(cached) " >&6
13387 case $orig_target_ranlib in
13389 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
13392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13393 for as_dir
in `dirname $aros_gcc_ar`
13396 test -z "$as_dir" && as_dir
=.
13397 for ac_exec_ext
in '' $ac_executable_extensions; do
13398 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13399 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
13400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13410 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
13411 if test -n "$orig_target_ranlib"; then
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
13413 $as_echo "$orig_target_ranlib" >&6; }
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13416 $as_echo "no" >&6; }
13421 if test "$orig_target_ranlib" = ""; then
13422 for ac_prog
in $ac_tool_ar
13424 # Extract the first word of "$ac_prog", so it can be a program name with args.
13425 set dummy
$ac_prog; ac_word
=$2
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13427 $as_echo_n "checking for $ac_word... " >&6; }
13428 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
13429 $as_echo_n "(cached) " >&6
13431 case $orig_target_ranlib in
13433 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
13436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13437 for as_dir
in $PATH
13440 test -z "$as_dir" && as_dir
=.
13441 for ac_exec_ext
in '' $ac_executable_extensions; do
13442 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13443 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
13444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13454 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
13455 if test -n "$orig_target_ranlib"; then
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
13457 $as_echo "$orig_target_ranlib" >&6; }
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13460 $as_echo "no" >&6; }
13464 test -n "$orig_target_ranlib" && break
13471 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ranlib}" : '[^ ]* \(.*\)'`
13472 # Extract the first word of "${aros_tool_prefix}${toolchain_ranlib}", so it can be a program name with args.
13473 set dummy
${aros_tool_prefix}${toolchain_ranlib}; ac_word
=$2
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13475 $as_echo_n "checking for $ac_word... " >&6; }
13476 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
13477 $as_echo_n "(cached) " >&6
13479 case $orig_target_ranlib in
13481 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
13484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13485 for as_dir
in $PATH
13488 test -z "$as_dir" && as_dir
=.
13489 for ac_exec_ext
in '' $ac_executable_extensions; do
13490 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13491 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
13492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13502 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
13503 if test -n "$orig_target_ranlib"; then
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
13505 $as_echo "$orig_target_ranlib" >&6; }
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13508 $as_echo "no" >&6; }
13512 orig_target_ranlib
="$orig_target_ranlib $ac_tool_optarg"
13516 if test "$orig_target_ranlib" = ""; then
13519 if test "$orig_target_ranlib" = "no"; then
13522 if test "$req_avail" = "no"; then
13523 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
13526 if test "${aros_tool_prefix}${toolchain_nm}" = ""; then
13527 if test "$cross_compiling" = "yes" ; then
13528 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
13529 set dummy
${target_tool_prefix}nm
; ac_word
=$2
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13531 $as_echo_n "checking for $ac_word... " >&6; }
13532 if ${ac_cv_path_orig_target_nm+:} false
; then :
13533 $as_echo_n "(cached) " >&6
13535 case $orig_target_nm in
13537 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13541 for as_dir
in $PATH
13544 test -z "$as_dir" && as_dir
=.
13545 for ac_exec_ext
in '' $ac_executable_extensions; do
13546 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13547 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13558 orig_target_nm
=$ac_cv_path_orig_target_nm
13559 if test -n "$orig_target_nm"; then
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13561 $as_echo "$orig_target_nm" >&6; }
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13564 $as_echo "no" >&6; }
13570 if test "" = ""; then
13575 if test "$GCC" = "yes"; then
13576 aros_gcc_nm
=`$CC -print-prog-name=$ac_tool_nm`
13577 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
13578 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13580 $as_echo_n "checking for $ac_word... " >&6; }
13581 if ${ac_cv_path_orig_target_nm+:} false
; then :
13582 $as_echo_n "(cached) " >&6
13584 case $orig_target_nm in
13586 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13590 for as_dir
in `dirname $aros_gcc_nm`
13593 test -z "$as_dir" && as_dir
=.
13594 for ac_exec_ext
in '' $ac_executable_extensions; do
13595 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13596 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13607 orig_target_nm
=$ac_cv_path_orig_target_nm
13608 if test -n "$orig_target_nm"; then
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13610 $as_echo "$orig_target_nm" >&6; }
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13613 $as_echo "no" >&6; }
13618 if test "$orig_target_nm" = ""; then
13619 for ac_prog
in $ac_tool_nm
13621 # Extract the first word of "$ac_prog", so it can be a program name with args.
13622 set dummy
$ac_prog; ac_word
=$2
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13624 $as_echo_n "checking for $ac_word... " >&6; }
13625 if ${ac_cv_path_orig_target_nm+:} false
; then :
13626 $as_echo_n "(cached) " >&6
13628 case $orig_target_nm in
13630 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13634 for as_dir
in $PATH
13637 test -z "$as_dir" && as_dir
=.
13638 for ac_exec_ext
in '' $ac_executable_extensions; do
13639 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13640 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13651 orig_target_nm
=$ac_cv_path_orig_target_nm
13652 if test -n "$orig_target_nm"; then
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13654 $as_echo "$orig_target_nm" >&6; }
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13657 $as_echo "no" >&6; }
13661 test -n "$orig_target_nm" && break
13668 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_nm}" : '[^ ]* \(.*\)'`
13669 # Extract the first word of "${aros_tool_prefix}${toolchain_nm}", so it can be a program name with args.
13670 set dummy
${aros_tool_prefix}${toolchain_nm}; ac_word
=$2
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13672 $as_echo_n "checking for $ac_word... " >&6; }
13673 if ${ac_cv_path_orig_target_nm+:} false
; then :
13674 $as_echo_n "(cached) " >&6
13676 case $orig_target_nm in
13678 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13682 for as_dir
in $PATH
13685 test -z "$as_dir" && as_dir
=.
13686 for ac_exec_ext
in '' $ac_executable_extensions; do
13687 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13688 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13699 orig_target_nm
=$ac_cv_path_orig_target_nm
13700 if test -n "$orig_target_nm"; then
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13702 $as_echo "$orig_target_nm" >&6; }
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13705 $as_echo "no" >&6; }
13709 orig_target_nm
="$orig_target_nm $ac_tool_optarg"
13713 if test "$orig_target_nm" = ""; then
13716 if test "$orig_target_nm" = "no"; then
13719 if test "$req_avail" = "no"; then
13720 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
13723 if test "${aros_tool_prefix}${toolchain_strip}" = ""; then
13724 if test "$cross_compiling" = "yes" ; then
13725 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
13726 set dummy
${target_tool_prefix}strip
; ac_word
=$2
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13728 $as_echo_n "checking for $ac_word... " >&6; }
13729 if ${ac_cv_path_orig_target_strip+:} false
; then :
13730 $as_echo_n "(cached) " >&6
13732 case $orig_target_strip in
13734 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13738 for as_dir
in $PATH
13741 test -z "$as_dir" && as_dir
=.
13742 for ac_exec_ext
in '' $ac_executable_extensions; do
13743 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13744 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13755 orig_target_strip
=$ac_cv_path_orig_target_strip
13756 if test -n "$orig_target_strip"; then
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13758 $as_echo "$orig_target_strip" >&6; }
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13761 $as_echo "no" >&6; }
13767 if test "" = ""; then
13768 ac_tool_strip
=strip
13772 if test "$GCC" = "yes"; then
13773 aros_gcc_strip
=`$CC -print-prog-name=$ac_tool_strip`
13774 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
13775 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13777 $as_echo_n "checking for $ac_word... " >&6; }
13778 if ${ac_cv_path_orig_target_strip+:} false
; then :
13779 $as_echo_n "(cached) " >&6
13781 case $orig_target_strip in
13783 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13787 for as_dir
in `dirname $aros_gcc_strip`
13790 test -z "$as_dir" && as_dir
=.
13791 for ac_exec_ext
in '' $ac_executable_extensions; do
13792 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13793 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13804 orig_target_strip
=$ac_cv_path_orig_target_strip
13805 if test -n "$orig_target_strip"; then
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13807 $as_echo "$orig_target_strip" >&6; }
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13810 $as_echo "no" >&6; }
13815 if test "$orig_target_strip" = ""; then
13816 for ac_prog
in $ac_tool_strip
13818 # Extract the first word of "$ac_prog", so it can be a program name with args.
13819 set dummy
$ac_prog; ac_word
=$2
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13821 $as_echo_n "checking for $ac_word... " >&6; }
13822 if ${ac_cv_path_orig_target_strip+:} false
; then :
13823 $as_echo_n "(cached) " >&6
13825 case $orig_target_strip in
13827 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13831 for as_dir
in $PATH
13834 test -z "$as_dir" && as_dir
=.
13835 for ac_exec_ext
in '' $ac_executable_extensions; do
13836 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13837 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13848 orig_target_strip
=$ac_cv_path_orig_target_strip
13849 if test -n "$orig_target_strip"; then
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13851 $as_echo "$orig_target_strip" >&6; }
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13854 $as_echo "no" >&6; }
13858 test -n "$orig_target_strip" && break
13865 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_strip}" : '[^ ]* \(.*\)'`
13866 # Extract the first word of "${aros_tool_prefix}${toolchain_strip}", so it can be a program name with args.
13867 set dummy
${aros_tool_prefix}${toolchain_strip}; ac_word
=$2
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13869 $as_echo_n "checking for $ac_word... " >&6; }
13870 if ${ac_cv_path_orig_target_strip+:} false
; then :
13871 $as_echo_n "(cached) " >&6
13873 case $orig_target_strip in
13875 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13879 for as_dir
in $PATH
13882 test -z "$as_dir" && as_dir
=.
13883 for ac_exec_ext
in '' $ac_executable_extensions; do
13884 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13885 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13896 orig_target_strip
=$ac_cv_path_orig_target_strip
13897 if test -n "$orig_target_strip"; then
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13899 $as_echo "$orig_target_strip" >&6; }
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13902 $as_echo "no" >&6; }
13906 orig_target_strip
="$orig_target_strip $ac_tool_optarg"
13910 if test "$orig_target_strip" = ""; then
13913 if test "$orig_target_strip" = "no"; then
13916 if test "$req_avail" = "no"; then
13917 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
13920 if test "${aros_tool_prefix}${toolchain_objcopy}" = ""; then
13921 if test "$cross_compiling" = "yes" ; then
13922 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
13923 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13925 $as_echo_n "checking for $ac_word... " >&6; }
13926 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13927 $as_echo_n "(cached) " >&6
13929 case $orig_target_objcopy in
13931 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13935 for as_dir
in $PATH
13938 test -z "$as_dir" && as_dir
=.
13939 for ac_exec_ext
in '' $ac_executable_extensions; do
13940 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13941 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13952 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13953 if test -n "$orig_target_objcopy"; then
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13955 $as_echo "$orig_target_objcopy" >&6; }
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13958 $as_echo "no" >&6; }
13964 if test "" = ""; then
13965 ac_tool_objcopy
=objcopy
13969 if test "$GCC" = "yes"; then
13970 aros_gcc_objcopy
=`$CC -print-prog-name=$ac_tool_objcopy`
13971 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
13972 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13974 $as_echo_n "checking for $ac_word... " >&6; }
13975 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13976 $as_echo_n "(cached) " >&6
13978 case $orig_target_objcopy in
13980 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13984 for as_dir
in `dirname $aros_gcc_objcopy`
13987 test -z "$as_dir" && as_dir
=.
13988 for ac_exec_ext
in '' $ac_executable_extensions; do
13989 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13990 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14001 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
14002 if test -n "$orig_target_objcopy"; then
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
14004 $as_echo "$orig_target_objcopy" >&6; }
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14007 $as_echo "no" >&6; }
14012 if test "$orig_target_objcopy" = ""; then
14013 for ac_prog
in $ac_tool_objcopy
14015 # Extract the first word of "$ac_prog", so it can be a program name with args.
14016 set dummy
$ac_prog; ac_word
=$2
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14018 $as_echo_n "checking for $ac_word... " >&6; }
14019 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
14020 $as_echo_n "(cached) " >&6
14022 case $orig_target_objcopy in
14024 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
14027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14028 for as_dir
in $PATH
14031 test -z "$as_dir" && as_dir
=.
14032 for ac_exec_ext
in '' $ac_executable_extensions; do
14033 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14034 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
14035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14045 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
14046 if test -n "$orig_target_objcopy"; then
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
14048 $as_echo "$orig_target_objcopy" >&6; }
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14051 $as_echo "no" >&6; }
14055 test -n "$orig_target_objcopy" && break
14062 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objcopy}" : '[^ ]* \(.*\)'`
14063 # Extract the first word of "${aros_tool_prefix}${toolchain_objcopy}", so it can be a program name with args.
14064 set dummy
${aros_tool_prefix}${toolchain_objcopy}; ac_word
=$2
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14066 $as_echo_n "checking for $ac_word... " >&6; }
14067 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
14068 $as_echo_n "(cached) " >&6
14070 case $orig_target_objcopy in
14072 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
14075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14076 for as_dir
in $PATH
14079 test -z "$as_dir" && as_dir
=.
14080 for ac_exec_ext
in '' $ac_executable_extensions; do
14081 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14082 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
14083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14093 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
14094 if test -n "$orig_target_objcopy"; then
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
14096 $as_echo "$orig_target_objcopy" >&6; }
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14099 $as_echo "no" >&6; }
14103 orig_target_objcopy
="$orig_target_objcopy $ac_tool_optarg"
14107 if test "$orig_target_objcopy" = ""; then
14110 if test "$orig_target_objcopy" = "no"; then
14113 if test "$req_avail" = "no"; then
14114 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
14117 if test "${aros_tool_prefix}${toolchain_objdump}" = ""; then
14118 if test "$cross_compiling" = "yes" ; then
14119 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
14120 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14122 $as_echo_n "checking for $ac_word... " >&6; }
14123 if ${ac_cv_path_orig_target_objdump+:} false
; then :
14124 $as_echo_n "(cached) " >&6
14126 case $orig_target_objdump in
14128 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
14131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14132 for as_dir
in $PATH
14135 test -z "$as_dir" && as_dir
=.
14136 for ac_exec_ext
in '' $ac_executable_extensions; do
14137 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14138 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
14139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14149 orig_target_objdump
=$ac_cv_path_orig_target_objdump
14150 if test -n "$orig_target_objdump"; then
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
14152 $as_echo "$orig_target_objdump" >&6; }
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14155 $as_echo "no" >&6; }
14161 if test "" = ""; then
14162 ac_tool_objdump
=objdump
14166 if test "$GCC" = "yes"; then
14167 aros_gcc_objdump
=`$CC -print-prog-name=$ac_tool_objdump`
14168 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
14169 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14171 $as_echo_n "checking for $ac_word... " >&6; }
14172 if ${ac_cv_path_orig_target_objdump+:} false
; then :
14173 $as_echo_n "(cached) " >&6
14175 case $orig_target_objdump in
14177 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
14180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14181 for as_dir
in `dirname $aros_gcc_objdump`
14184 test -z "$as_dir" && as_dir
=.
14185 for ac_exec_ext
in '' $ac_executable_extensions; do
14186 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14187 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
14188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14198 orig_target_objdump
=$ac_cv_path_orig_target_objdump
14199 if test -n "$orig_target_objdump"; then
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
14201 $as_echo "$orig_target_objdump" >&6; }
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14204 $as_echo "no" >&6; }
14209 if test "$orig_target_objdump" = ""; then
14210 for ac_prog
in $ac_tool_objdump
14212 # Extract the first word of "$ac_prog", so it can be a program name with args.
14213 set dummy
$ac_prog; ac_word
=$2
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14215 $as_echo_n "checking for $ac_word... " >&6; }
14216 if ${ac_cv_path_orig_target_objdump+:} false
; then :
14217 $as_echo_n "(cached) " >&6
14219 case $orig_target_objdump in
14221 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
14224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14225 for as_dir
in $PATH
14228 test -z "$as_dir" && as_dir
=.
14229 for ac_exec_ext
in '' $ac_executable_extensions; do
14230 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14231 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
14232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14242 orig_target_objdump
=$ac_cv_path_orig_target_objdump
14243 if test -n "$orig_target_objdump"; then
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
14245 $as_echo "$orig_target_objdump" >&6; }
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14248 $as_echo "no" >&6; }
14252 test -n "$orig_target_objdump" && break
14259 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objdump}" : '[^ ]* \(.*\)'`
14260 # Extract the first word of "${aros_tool_prefix}${toolchain_objdump}", so it can be a program name with args.
14261 set dummy
${aros_tool_prefix}${toolchain_objdump}; ac_word
=$2
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14263 $as_echo_n "checking for $ac_word... " >&6; }
14264 if ${ac_cv_path_orig_target_objdump+:} false
; then :
14265 $as_echo_n "(cached) " >&6
14267 case $orig_target_objdump in
14269 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
14272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14273 for as_dir
in $PATH
14276 test -z "$as_dir" && as_dir
=.
14277 for ac_exec_ext
in '' $ac_executable_extensions; do
14278 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14279 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
14280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14290 orig_target_objdump
=$ac_cv_path_orig_target_objdump
14291 if test -n "$orig_target_objdump"; then
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
14293 $as_echo "$orig_target_objdump" >&6; }
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14296 $as_echo "no" >&6; }
14300 orig_target_objdump
="$orig_target_objdump $ac_tool_optarg"
14304 if test "$orig_target_objdump" = ""; then
14307 if test "$orig_target_objdump" = "no"; then
14310 if test "$req_avail" = "no"; then
14311 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
14315 if test "$kernel_tool_prefix" = "none" ; then
14316 # No kernel tools specified
14317 # Assume kernel tools == target tools with ELF wrapper
14318 aros_kernel_cc
=$orig_target_cc
14319 aros_kernel_cxx
=$orig_target_cxx
14320 aros_kernel_cpp
="$orig_target_cpp"
14321 aros_kernel_ld
=$orig_target_ld
14322 aros_kernel_as
=$orig_target_as
14323 aros_kernel_ar
=$orig_target_ar
14324 aros_kernel_ranlib
=$orig_target_ranlib
14325 aros_kernel_nm
=$orig_target_nm
14326 aros_kernel_strip
=$orig_target_strip
14327 aros_kernel_objcopy
=$orig_target_objcopy
14328 aros_kernel_objdump
=$orig_target_objdump
14329 aros_kernel_isa_flags
=$aros_isa_flags
14330 use_kernel_cc_wrapper
=yes
14333 # At this point, all aros_kernel_* and aros_target_*
14334 # tools should be set up correctly
14336 CC
="$aros_kernel_cc $kernel_tool_flags"
14337 CPP
="$aros_kernel_cpp"
14339 #-----------------------------------------------------------------------------
14341 # Find all the tools we need to compile. This could be cross-compiling
14342 # though! If that is the case we use the GNU form of the target and
14343 # simply add this to the front of the binary name. This is rather simple,
14344 # but it should work under most circumstances.
14346 # The default tools are to use the same as the host, but only if the
14347 # host and target CPU are the same. With GCC this is normally enough.
14351 aros_shared_ld
="$aros_host_ld"
14353 aros_target_mkdep
="$aros_host_mkdep"
14355 # The default tools executables to be linked to.
14356 if test "$rescomp" != ""; then
14357 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
14358 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14360 $as_echo_n "checking for $ac_word... " >&6; }
14361 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
14362 $as_echo_n "(cached) " >&6
14364 case $aros_kernel_rescomp in
14366 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
14369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14370 for as_dir
in $PATH
14373 test -z "$as_dir" && as_dir
=.
14374 for ac_exec_ext
in '' $ac_executable_extensions; do
14375 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14376 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
14377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14387 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
14388 if test -n "$aros_kernel_rescomp"; then
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
14390 $as_echo "$aros_kernel_rescomp" >&6; }
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14393 $as_echo "no" >&6; }
14398 if test "$aros_kernel_rescomp" = ""; then
14401 if test "$aros_kernel_rescomp" = "no"; then
14404 if test "$req_avail" = "no"; then
14405 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
14409 # Set up the sources for the symlink farm
14410 if test "$crosstools" = "yes"; then
14411 crosstools_target
=tools-crosstools
14414 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
14415 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
14417 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/host/config"
14418 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
14419 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Developer/include/aros"
14420 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
14421 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
14422 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
14423 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
14425 # aros_cc_pre is a variable that is added to the front of the compiler name
14426 # in the generated aros-gcc shell script. We need this to enable the cache
14427 # to work across cleaned builds. Also, support DISTCC using the correct
14428 # environment variable.
14431 if test "x${DISTCC}" != "x" ; then
14432 if test "x${CCACHE}" != "x" ; then
14433 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
14435 aros_cc_pre
="${DISTCC} "
14438 if test "x${CCACHE}" != "x" ; then
14439 aros_cc_pre
="${CCACHE} "
14443 aros_target_nostdinc_cflags
=-nostdinc
14445 aros_target_nostartup_ldflags
=-nostartfiles
14447 aros_target_nix_ldflags
=-nix
14449 aros_target_detach_ldflags
=-detach
14451 aros_target_nostdlib_ldflags
=-nostdlib
14454 aros_target_cc_path
=
14458 if test "$aros_target_toolchain" != "yes"; then
14459 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
14460 if test "$GCC" = "yes"; then
14461 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
14464 # We do not know which c compiler version we are going to build and what we need to know
14465 # here is different for different versions so this will be set later during the
14466 # build of crosstools.
14467 if test "$aros_toolchain" = "gnu" ; then
14468 prefix
="$AROS_CROSSTOOLSDIR/${aros_target_cpu}-aros-"
14469 elif test "$aros_toolchain" = "llvm" ; then
14470 prefix
="$AROS_CROSSTOOLSDIR/bin/"
14472 aros_target_cc_path
=@aros_target_cc_path@
14474 aros_target_cpp
="${prefix}${toolchain_cpp_preprocessor}${toolchain_cpp_opts}"
14475 aros_target_cc
="${prefix}${toolchain_c_compiler}"
14476 aros_target_cxx
="${prefix}${toolchain_cxx_compiler}"
14477 aros_target_as
="${prefix}${toolchain_as}"
14478 if test "${use_ld_wrapper}" = "yes"; then
14479 aros_target_ld
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${aros_ld}"
14481 aros_target_ld
="${prefix}${toolchain_ld}"
14483 aros_toolchain_ld
="${prefix}${toolchain_ld}"
14485 aros_target_ar
="${prefix}${toolchain_ar} $aros_target_ar_flags"
14486 aros_target_objcopy
="${prefix}${toolchain_objcopy}"
14487 aros_target_objdump
="${prefix}${toolchain_objdump}"
14488 aros_target_ranlib
="${prefix}${toolchain_ranlib} $aros_target_ranlib_flags"
14489 aros_target_nm
="${prefix}${toolchain_nm} $aros_target_nm_flags"
14490 aros_target_strip
="${prefix}${toolchain_strip}"
14491 aros_plain_nm
="${prefix}${toolchain_nm}"
14492 aros_plain_ar
="${prefix}${toolchain_ar}"
14494 # Check whether --enable-includes was given.
14495 if test "${enable_includes+set}" = set; then :
14496 enableval
=$enable_includes; aros_target_incl
=$enable_includes
14498 aros_target_incl
=no
14502 if test "x$aros_target_incl" = "xno"; then
14503 if test "x$test_kernel_cc" != "xno"; then
14504 aros_target_incl
=`$aros_kernel_cc -print-sysroot 2>/dev/null`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
14510 if test "x$aros_kernel_includes" = "x"; then
14511 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
14512 if test "x$aros_target_incl" != "x"; then
14513 aros_kernel_includes
="-isystem $aros_target_incl"
14518 if test "x$test_kernel_cc" != "xno"; then
14519 if test "$aros_kernel_includes" != "" ; then
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
14521 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
14522 if test "$aros_kernel_cc_includes" = "" ; then
14523 # Try to guess where the directory is.
14524 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
14525 if test -d $aros_kernel_cc_includes; then
14526 # Check if there is also an include-fixed directory and add it
14527 # to kernel compiler's include path as it may contain some of
14528 # the headers we need.
14529 if test -d "$aros_kernel_cc_includes"-fixed; then
14530 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
14532 # Check for specific includes directory. Needed for Ubuntu 11.10 and Debian
14533 if test -d "/usr/include/${aros_target_cpu}-linux-gnu"; then
14534 aros_kernel_cc_includes
+=" -isystem /usr/include/${aros_target_cpu}-linux-gnu"
14537 # The directory doesn't exist, we need to do some more work.
14538 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
14540 # These are the headers we're looking for.
14541 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
14542 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
14546 for h
in $headers; do
14547 # Which other headers are needed by each of the above?
14548 deps
=$
(echo "#include <$h>" | \
14549 $aros_kernel_cc -E -M - 2>/dev
/null | \
14550 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
14552 # Copy all the needed headers to a directory beneath gendir.
14555 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
14556 sed -n "s,^.*/include\(/.*\),\1,p")
14557 ! test -d $dir && mkdir
-p $dir
14558 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
14564 $as_echo "$aros_kernel_cc_includes" >&6; }
14565 # Adding -nostdinc to kernel includes as they are always used together.
14566 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
14570 if test "$crosstools" != "yes"; then
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
14572 $as_echo_n "checking for the target compiler's include path... " >&6; }
14573 if test "$aros_target_cc_includes" = "" ; then
14574 #try to guess where the directory is
14575 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
14576 if ! test -d $aros_target_cc_includes; then
14577 #the directory doesn't exist, we need to do some more work
14578 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
14580 #these are the headers we're looking for
14581 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
14582 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
14586 for h
in $headers; do
14587 #which other headers each of the above headers needs?
14588 deps
=$
(echo "#include <$h>" | \
14589 $orig_target_cc -E -M - 2>/dev
/null | \
14590 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
14592 #copy all the needed headers to a directory beneath gendir
14595 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
14596 sed -n "s,^.*/include\(/.*\),\1,p")
14597 ! test -d $dir && mkdir
-p $dir
14598 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
14604 $as_echo "$aros_target_cc_includes" >&6; }
14606 # We do not know which c compiler version we are going to build and what we need to know
14607 # here is different for different versions so this will be set later during the
14608 # build of crosstools.
14609 aros_target_cc_includes
=@aros_target_cc_includes@
14613 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
14614 # On GCC >= 4.0 -iquote should be used
14618 save_cflags
="$CFLAGS"
14619 if test "x$test_kernel_cc" != "xno"; then
14621 kernel_cflags_iquote
=$host_cflags_iquote
14622 kernel_cflags_iquote_end
=$host_cflags_iquote_end
14623 if test "x-$cross_compiling" = "x-yes"; then
14624 CC
="$aros_kernel_cc"
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
14626 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
14627 if test "x-$crosstools" != "x-yes"; then
14628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14629 /* end confdefs.h. */
14639 if ac_fn_c_try_compile
"$LINENO"; then :
14640 use_no_stack_protector
="yes"
14642 use_no_stack_protector
="no"
14644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14646 # we do know it is supported for the smallest version of gcc we are going to build
14647 # we assume it's also supported by later versions
14648 use_no_stack_protector
=yes
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
14651 $as_echo "$use_no_stack_protector" >&6; }
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
14653 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
14654 if test "x-$crosstools" != "x-yes"; then
14655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14656 /* end confdefs.h. */
14666 if ac_fn_c_try_compile
"$LINENO"; then :
14671 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14673 # we do know it is supported for the smallest version of gcc we are going to build
14674 # we assume it's also supported by later versions
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
14678 $as_echo "$has_iquote" >&6; }
14679 if test "x-$has_iquote" = "x-yes" ; then
14680 kernel_cflags_iquote
=-iquote
14681 kernel_cflags_iquote_end
=
14683 kernel_cflags_iquote
=-I
14684 kernel_cflags_iquote_end
=-I-
14687 if test "x-$use_no_stack_protector" = "x-yes" ; then
14688 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
14691 #-----------------------------------------------------------------------------
14693 # Check if we can explicitly choose older version of symbol hashing
14695 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
14696 CC
="$aros_kernel_cc"
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
14698 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
14699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14700 /* end confdefs.h. */
14710 if ac_fn_c_try_link
"$LINENO"; then :
14711 use_hash_style
="yes"
14713 use_hash_style
="no"
14715 rm -f core conftest.err conftest.
$ac_objext \
14716 conftest
$ac_exeext conftest.
$ac_ext
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
14718 $as_echo "$use_hash_style" >&6; }
14719 if test "x-$use_hash_style" = "x-yes" ; then
14720 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
14723 kernel_cflags_iquote
="$""(CFLAGS_IQUOTE)"
14724 kernel_cflags_iquote_end
="$""(CFLAGS_IQUOTE_END)"
14727 CFLAGS
="$save_cflags"
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
14736 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
14738 # Check whether --with-resolution was given.
14739 if test "${with_resolution+set}" = set; then :
14740 withval
=$with_resolution; resolution
=$withval
14745 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
14746 if test "$resolution" = "yes" ; then
14749 if test "$resolution" = "no" ; then
14752 if test "$resolution" != "none" ; then
14753 aros_nominal_width
=`echo $resolution | cut -d'x' -f1`
14754 aros_nominal_height
=`echo $resolution | cut -d'x' -f2`
14755 aros_nominal_depth
=`echo $resolution | cut -d'x' -f3`
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&5
14758 $as_echo "$aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&6; }
14759 aros_cv_nominal_width
=$aros_nominal_width
14760 aros_cv_nominal_height
=$aros_nominal_height
14761 aros_cv_nominal_depth
=$aros_nominal_depth
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether serial debug is enabled" >&5
14764 $as_echo_n "checking whether serial debug is enabled... " >&6; }
14766 # Check whether --with-serial-debug was given.
14767 if test "${with_serial_debug+set}" = set; then :
14768 withval
=$with_serial_debug; serial_debug
=$withval
14773 if test "$aros_serial_debug" = 0 ; then
14774 serial_debug_forced
=""
14775 if test "$serial_debug" = "yes" ; then
14778 if test "$serial_debug" = "no" ; then
14779 serial_debug
="none"
14782 serial_debug_forced
="(forced)"
14783 serial_debug
=$aros_serial_debug
14785 if test "$serial_debug" != "none" ; then
14786 aros_serial_debug
=$serial_debug
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
14788 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14791 $as_echo "no" >&6; }
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether palm debug hack is enabled" >&5
14795 $as_echo_n "checking whether palm debug hack is enabled... " >&6; }
14796 # Check whether --enable-palm_debug_hack was given.
14797 if test "${enable_palm_debug_hack+set}" = set; then :
14798 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
14800 palm_debug_hack
="no"
14803 if test "$palm_debug_hack" = "yes" ; then
14804 aros_palm_debug_hack
="1"
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
14807 $as_echo "$palm_debug_hack" >&6; }
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usb3.0 code is enabled" >&5
14810 $as_echo_n "checking whether usb3.0 code is enabled... " >&6; }
14811 # Check whether --enable-usb30_code was given.
14812 if test "${enable_usb30_code+set}" = set; then :
14813 enableval
=$enable_usb30_code; usb30_code
="yes"
14818 if test "$usb30_code" = "yes" ; then
14819 aros_config_cppflags
="$aros_config_cppflags -DAROS_USB30_CODE"
14820 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
14823 $as_echo "$usb30_code" >&6; }
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether nesting supervisor support is enabled" >&5
14826 $as_echo_n "checking whether nesting supervisor support is enabled... " >&6; }
14827 # Check whether --enable-nesting_supervisor was given.
14828 if test "${enable_nesting_supervisor+set}" = set; then :
14829 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
14831 nesting_supervisor
="no"
14834 if test "$nesting_supervisor" = "yes" ; then
14835 aros_nesting_supervisor
="1"
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
14838 $as_echo "$nesting_supervisor" >&6; }
14840 if test "$aros_enable_mmu" = "" ; then
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MMU support is enabled" >&5
14842 $as_echo_n "checking whether MMU support is enabled... " >&6; }
14843 # Check whether --enable-mmu was given.
14844 if test "${enable_mmu+set}" = set; then :
14845 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
14847 aros_enable_mmu
="yes"
14850 if test "$aros_enable_mmu" = "" ; then
14851 aros_enable_mmu
="yes"
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
14854 $as_echo "$aros_enable_mmu" >&6; }
14856 if test "$aros_enable_mmu" = "no" ; then
14857 aros_enable_mmu
="0"
14859 aros_enable_mmu
="1"
14863 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
14865 if test "x-$need_dlopen" != "x-no" ; then
14868 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
14869 if test "x$ac_cv_func_dlopen" = xyes
; then :
14875 if test "x-$have_dl" = "x-no" ; then
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14877 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14878 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14879 $as_echo_n "(cached) " >&6
14881 ac_check_lib_save_LIBS
=$LIBS
14883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14884 /* end confdefs.h. */
14886 /* Override any GCC internal prototype to avoid an error.
14887 Use char because int might match the return type of a GCC
14888 builtin and then its argument prototype would still apply. */
14901 if ac_fn_c_try_link
"$LINENO"; then :
14902 ac_cv_lib_dl_dlopen
=yes
14904 ac_cv_lib_dl_dlopen
=no
14906 rm -f core conftest.err conftest.
$ac_objext \
14907 conftest
$ac_exeext conftest.
$ac_ext
14908 LIBS
=$ac_check_lib_save_LIBS
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14911 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14912 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14914 aros_host_ldflags
="$aros_host_ldflags -ldl"
14920 if test "x-$have_dl" = "x-no" ; then
14921 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
14927 # Check whether --enable-x11_hidd was given.
14928 if test "${enable_x11_hidd+set}" = set; then :
14929 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
14931 x11_hidd
="$need_x11"
14934 case "x-$x11_hidd" in
14935 x-yes|x-no|x-auto
) ;;
14936 *) x11_hidd
="$need_x11" ;;
14941 if test "x-$x11_hidd" != "x-no" ; then
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
14944 $as_echo_n "checking for X... " >&6; }
14947 # Check whether --with-x was given.
14948 if test "${with_x+set}" = set; then :
14952 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
14953 if test "x$with_x" = xno
; then
14954 # The user explicitly disabled X.
14957 case $x_includes,$x_libraries in #(
14958 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
14959 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
14960 $as_echo_n "(cached) " >&6
14962 # One or both of the vars are not set, and there is no cached value.
14963 ac_x_includes
=no ac_x_libraries
=no
14964 rm -f -r conftest.dir
14965 if mkdir conftest.dir
; then
14967 cat >Imakefile
<<'_ACEOF'
14969 @echo incroot='${INCROOT}'
14971 @echo usrlibdir='${USRLIBDIR}'
14973 @echo libdir='${LIBDIR}'
14975 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
14976 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14977 for ac_var
in incroot usrlibdir libdir
; do
14978 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14980 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14981 for ac_extension
in a so sl dylib la dll
; do
14982 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14983 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14984 ac_im_usrlibdir
=$ac_im_libdir; break
14987 # Screen out bogus values from the imake configuration. They are
14988 # bogus both because they are the default anyway, and because
14989 # using them would break gcc on systems where it needs fixed includes.
14990 case $ac_im_incroot in
14991 /usr
/include
) ac_x_includes
= ;;
14992 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
14994 case $ac_im_usrlibdir in
14995 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
14996 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
15000 rm -f -r conftest.dir
15003 # Standard set of common directories for X headers.
15004 # Check X11 before X11Rn because it is often a symlink to the current release.
15018 /usr/local/X11/include
15019 /usr/local/X11R7/include
15020 /usr/local/X11R6/include
15021 /usr/local/X11R5/include
15022 /usr/local/X11R4/include
15024 /usr/local/include/X11
15025 /usr/local/include/X11R7
15026 /usr/local/include/X11R6
15027 /usr/local/include/X11R5
15028 /usr/local/include/X11R4
15032 /usr/XFree86/include/X11
15036 /usr/unsupported/include
15037 /usr/athena/include
15038 /usr/local/x11r5/include
15039 /usr/lpp/Xamples/include
15041 /usr/openwin/include
15042 /usr/openwin/share/include'
15044 if test "$ac_x_includes" = no
; then
15045 # Guess where to find include files, by looking for Xlib.h.
15046 # First, try using that file with no special directory specified.
15047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15048 /* end confdefs.h. */
15049 #include <X11/Xlib.h>
15051 if ac_fn_c_try_cpp
"$LINENO"; then :
15052 # We can compile using X headers with no special include directory.
15055 for ac_dir
in $ac_x_header_dirs; do
15056 if test -r "$ac_dir/X11/Xlib.h"; then
15057 ac_x_includes
=$ac_dir
15062 rm -f conftest.err conftest.i conftest.
$ac_ext
15063 fi # $ac_x_includes = no
15065 if test "$ac_x_libraries" = no
; then
15066 # Check for the libraries.
15067 # See if we find them without any special options.
15068 # Don't add to $LIBS permanently.
15071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15072 /* end confdefs.h. */
15073 #include <X11/Xlib.h>
15082 if ac_fn_c_try_link
"$LINENO"; then :
15084 # We can link X programs with no special library path.
15088 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
15090 # Don't even attempt the hair of trying to link an X program!
15091 for ac_extension
in a so sl dylib la dll
; do
15092 if test -r "$ac_dir/libX11.$ac_extension"; then
15093 ac_x_libraries
=$ac_dir
15099 rm -f core conftest.err conftest.
$ac_objext \
15100 conftest
$ac_exeext conftest.
$ac_ext
15101 fi # $ac_x_libraries = no
15103 case $ac_x_includes,$ac_x_libraries in #(
15104 no
,* |
*,no |
*\'*)
15105 # Didn't find X, or a directory has "'" in its name.
15106 ac_cv_have_x
="have_x=no";; #(
15108 # Record where we found X for the cache.
15109 ac_cv_have_x
="have_x=yes\
15110 ac_x_includes='$ac_x_includes'\
15111 ac_x_libraries='$ac_x_libraries'"
15117 eval "$ac_cv_have_x"
15120 if test "$have_x" != yes; then
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
15122 $as_echo "$have_x" >&6; }
15125 # If each of the values was on the command line, it overrides each guess.
15126 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
15127 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
15128 # Update the cache value to reflect the command line values.
15129 ac_cv_have_x
="have_x=yes\
15130 ac_x_includes='$x_includes'\
15131 ac_x_libraries='$x_libraries'"
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
15133 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
15137 if test -n "$x_includes"; then
15138 X_CFLAGS
="$X_CFLAGS -I$x_includes"
15141 if test -n "$x_libraries"; then
15142 X_LIBS
="$X_LIBS -L$x_libraries"
15145 if test "x-$no_x" = "x-yes" ; then
15147 if test "x-$x11_hidd" != "x-auto" ; then
15148 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
15152 aros_target_options
+="$export_newline""# Enable X11 Gfx Driver$export_newline""OPT_HOST_X11GFX := yes$export_newline"
15153 if test "x-$host_feature_glx" != "x-no" ; then
15154 aros_target_options
+="$export_newline""# Enable X11 HostGL 3D Passthrough$export_newline""OPT_HOST_X11_HOSTGL := yes$export_newline"
15158 aros_host_x11_cflags
="$X_CFLAGS"
15159 aros_host_x11_ldflags
="$X_LIBS -lX11"
15161 # Check whether --enable-x11_shm was given.
15162 if test "${enable_x11_shm+set}" = set; then :
15163 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
15165 x11_hidd_shm
="auto"
15168 case "x-$x11_hidd_shm" in
15169 x-yes|x-no|x-auto
) ;;
15170 *) x11_hidd_shm
="auto" ;;
15175 if test "x-$x11_hidd_shm" != "x-no" ; then
15177 for ac_header
in sys
/ipc.h
15179 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
15180 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
15181 cat >>confdefs.h
<<_ACEOF
15182 #define HAVE_SYS_IPC_H 1
15189 for ac_header
in sys
/shm.h
15191 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
15192 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
15193 cat >>confdefs.h
<<_ACEOF
15194 #define HAVE_SYS_SHM_H 1
15202 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
15204 save_cflags
="$CFLAGS"
15205 save_ldflags
="$LDFLAGS"
15206 CFLAGS
="$CFLAGS $X_CFLAGS"
15207 LDFLAGS
="$LDFLAGS $X_LIBS"
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
15209 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
15210 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
15211 $as_echo_n "(cached) " >&6
15213 ac_check_lib_save_LIBS
=$LIBS
15214 LIBS
="-lXext $LIBS"
15215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15216 /* end confdefs.h. */
15218 /* Override any GCC internal prototype to avoid an error.
15219 Use char because int might match the return type of a GCC
15220 builtin and then its argument prototype would still apply. */
15224 char XShmQueryExtension ();
15228 return XShmQueryExtension ();
15233 if ac_fn_c_try_link
"$LINENO"; then :
15234 ac_cv_lib_Xext_XShmQueryExtension
=yes
15236 ac_cv_lib_Xext_XShmQueryExtension
=no
15238 rm -f core conftest.err conftest.
$ac_objext \
15239 conftest
$ac_exeext conftest.
$ac_ext
15240 LIBS
=$ac_check_lib_save_LIBS
15242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
15243 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
15244 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
15248 CFLAGS
="$save_cflags"
15249 LDFLAGS
="$save_ldflags"
15253 if test "x-$have_xshm" = "x-yes" ; then
15254 DO_XSHM_SUPPORT
="1"
15255 elif test "x-$x11_hidd_shm" = "x-yes" ; then
15256 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
15258 DO_XSHM_SUPPORT
="0"
15262 # Check whether --enable-x11_vidmode was given.
15263 if test "${enable_x11_vidmode+set}" = set; then :
15264 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
15266 x11_hidd_vidmode
="auto"
15269 case "x-$x11_hidd_vidmode" in
15270 x-yes|x-no|x-auto
) ;;
15271 *) x11_hidd_vidmode
="auto" ;;
15276 if test "x-$x11_hidd_vidmode" != "x-no" ; then
15278 save_cflags
="$CFLAGS"
15279 save_ldflags
="$LDFLAGS"
15280 CFLAGS
="$CFLAGS $X_CFLAGS"
15281 LDFLAGS
="$LDFLAGS $X_LIBS"
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
15283 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
15284 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
15285 $as_echo_n "(cached) " >&6
15287 ac_check_lib_save_LIBS
=$LIBS
15288 LIBS
="-lXxf86vm $LIBS"
15289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15290 /* end confdefs.h. */
15292 /* Override any GCC internal prototype to avoid an error.
15293 Use char because int might match the return type of a GCC
15294 builtin and then its argument prototype would still apply. */
15298 char XF86VidModeQueryExtension ();
15302 return XF86VidModeQueryExtension ();
15307 if ac_fn_c_try_link
"$LINENO"; then :
15308 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
15310 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
15312 rm -f core conftest.err conftest.
$ac_objext \
15313 conftest
$ac_exeext conftest.
$ac_ext
15314 LIBS
=$ac_check_lib_save_LIBS
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
15317 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
15318 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
15322 CFLAGS
="$save_cflags"
15323 LDFLAGS
="$save_ldflags"
15326 if test "x-$have_vidmode" = "x-yes" ; then
15327 DO_VIDMODE_SUPPORT
="1"
15328 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
15329 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
15331 DO_VIDMODE_SUPPORT
="0"
15336 # Check whether --enable-sdl_hidd was given.
15337 if test "${enable_sdl_hidd+set}" = set; then :
15338 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
15343 case "x-$sdl_hidd" in
15344 x-yes|x-no|x-auto
) ;;
15345 *) sdl_hidd
="auto" ;;
15348 if test "x-$sdl_hidd" != "x-no" ; then
15352 # Check whether --with-sdl-prefix was given.
15353 if test "${with_sdl_prefix+set}" = set; then :
15354 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
15360 # Check whether --with-sdl-exec-prefix was given.
15361 if test "${with_sdl_exec_prefix+set}" = set; then :
15362 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
15367 # Check whether --enable-sdltest was given.
15368 if test "${enable_sdltest+set}" = set; then :
15369 enableval
=$enable_sdltest;
15375 if test x
$sdl_exec_prefix != x
; then
15376 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
15377 if test x
${SDL_CONFIG+set} != xset
; then
15378 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
15381 if test x
$sdl_prefix != x
; then
15382 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
15383 if test x
${SDL_CONFIG+set} != xset
; then
15384 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
15388 as_save_PATH
="$PATH"
15389 if test "x$prefix" != xNONE
; then
15390 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
15392 # Extract the first word of "sdl-config", so it can be a program name with args.
15393 set dummy sdl-config
; ac_word
=$2
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15395 $as_echo_n "checking for $ac_word... " >&6; }
15396 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
15397 $as_echo_n "(cached) " >&6
15399 case $SDL_CONFIG in
15401 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
15404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15405 for as_dir
in $PATH
15408 test -z "$as_dir" && as_dir
=.
15409 for ac_exec_ext
in '' $ac_executable_extensions; do
15410 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15411 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15419 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
15423 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
15424 if test -n "$SDL_CONFIG"; then
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
15426 $as_echo "$SDL_CONFIG" >&6; }
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15429 $as_echo "no" >&6; }
15433 PATH
="$as_save_PATH"
15434 min_sdl_version
=$SDL_VERSION
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
15436 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
15438 if test "$SDL_CONFIG" = "no" ; then
15441 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
15442 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
15444 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
15445 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
15446 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
15447 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
15448 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
15449 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
15450 if test "x$enable_sdltest" = "xyes" ; then
15451 ac_save_CFLAGS
="$CFLAGS"
15452 ac_save_CXXFLAGS
="$CXXFLAGS"
15453 ac_save_LIBS
="$LIBS"
15454 CFLAGS
="$CFLAGS $SDL_CFLAGS"
15455 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
15456 LIBS
="$LIBS $SDL_LIBS"
15458 if test "$cross_compiling" = yes; then :
15459 echo $ac_n "cross compiling; assumed OK... $ac_c"
15461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15462 /* end confdefs.h. */
15465 #include <stdlib.h>
15466 #include <string.h>
15470 my_strdup (char *str)
15476 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
15477 strcpy (new_str, str);
15485 int main (int argc, char *argv[])
15487 int major, minor, micro;
15490 /* This hangs on some systems (?)
15491 system ("touch conf.sdltest");
15493 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
15495 /* HP/UX 9 (%@#!) writes to sscanf strings */
15496 tmp_version = my_strdup("$min_sdl_version");
15497 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
15498 printf("%s, bad version string\n", "$min_sdl_version");
15502 if (($sdl_major_version > major) ||
15503 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
15504 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
15510 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
15511 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
15512 printf("*** best to upgrade to the required version.\n");
15513 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
15514 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
15515 printf("*** config.cache before re-running configure\n");
15522 if ac_fn_c_try_run
"$LINENO"; then :
15527 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15528 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15531 CFLAGS
="$ac_save_CFLAGS"
15532 CXXFLAGS
="$ac_save_CXXFLAGS"
15533 LIBS
="$ac_save_LIBS"
15536 if test "x$no_sdl" = x
; then
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15538 $as_echo "yes" >&6; }
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15542 $as_echo "no" >&6; }
15543 if test "$SDL_CONFIG" = "no" ; then
15544 echo "*** The sdl-config script installed by SDL could not be found"
15545 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
15546 echo "*** your path, or set the SDL_CONFIG environment variable to the"
15547 echo "*** full path to sdl-config."
15549 if test -f conf.sdltest
; then
15552 echo "*** Could not run SDL test program, checking why..."
15553 CFLAGS
="$CFLAGS $SDL_CFLAGS"
15554 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
15555 LIBS
="$LIBS $SDL_LIBS"
15556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15557 /* end confdefs.h. */
15562 int main(int argc, char *argv[])
15565 #define main K_and_R_C_main
15575 if ac_fn_c_try_link
"$LINENO"; then :
15576 echo "*** The test program compiled, but did not run. This usually means"
15577 echo "*** that the run-time linker is not finding SDL or finding the wrong"
15578 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
15579 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
15580 echo "*** to the installed location Also, make sure you have run ldconfig if that"
15581 echo "*** is required on your system"
15583 echo "*** If you have an old version installed, it is best to remove it, although"
15584 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
15586 echo "*** The test program failed to compile or link. See the file config.log for the"
15587 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
15588 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
15589 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
15591 rm -f core conftest.err conftest.
$ac_objext \
15592 conftest
$ac_exeext conftest.
$ac_ext
15593 CFLAGS
="$ac_save_CFLAGS"
15594 CXXFLAGS
="$ac_save_CXXFLAGS"
15595 LIBS
="$ac_save_LIBS"
15607 if test "x-$have_sdl" != "x-yes" ; then
15609 if test "x-$sdl_hidd" != "x-auto" ; then
15610 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
15614 aros_target_options
+="$export_newline""# Enable SDL Gfx Driver$export_newline""OPT_HOST_SDLGFX := yes$export_newline"
15615 aros_host_sdl_cflags
=$SDL_CFLAGS
15616 aros_host_sdl_libs
=$SDL_LIBS
15623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether building of dbus.library is enabled" >&5
15624 $as_echo_n "checking whether building of dbus.library is enabled... " >&6; }
15625 # Check whether --enable-dbus was given.
15626 if test "${enable_dbus+set}" = set; then :
15627 enableval
=$enable_dbus; dbus
="yes"
15632 if test "$dbus" = "yes" ; then
15634 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
15635 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
15636 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
15637 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
15642 $as_echo "$dbus" >&6; }
15644 if test "$use_kernel_cc_wrapper" = "yes" ; then
15645 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-${toolchain_c_compiler}"
15648 aros_kernel_cppflags
=$aros_config_cppflags
15649 aros_optimization_cflags
="$optimization_level"
15650 if test "$optimization" = "default"; then
15651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default optimization level to use" >&5
15652 $as_echo_n "checking default optimization level to use... " >&6; }
15653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization_level" >&5
15654 $as_echo "$optimization_level" >&6; }
15657 if ! test "$gcc_default_cpu" = "" ; then
15658 target_extra_cfg
+="$export_newline""# ARM gcc default target$export_newline""GCC_DEFAULT_CPU := $gcc_default_cpu$export_newline""GCC_DEFAULT_FPU := $gcc_default_fpu$export_newline""GCC_DEFAULT_FLOAT_ABI := $gcc_default_float_abi$export_newline""GCC_DEFAULT_MODE := $gcc_default_mode$export_newline"
15661 if test "$use_libatomic" = "yes" ; then
15662 aros_cxx_libs
="$aros_cxx_libs -latomic"
15680 # Compatability with other Amiga-like operating systems
15683 # Host Related ###########################
15715 # Target Related #########################
15809 # Native version related
15817 # Bootloader related
15820 # Unix/Hosted version related
15823 # ARM default GCC target related
15830 # Palm native version related
15833 # Apple iOS related
15850 # Collect-aros stuff: "-ius" to ignore undefined symbols
15853 # C compiler related
15858 #ObjC compiler related
15886 case "$aros_flavour" in
15887 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
15888 aros_flavour
="emulation" ;;
15889 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
15890 aros_flavour
="emulation" ;;
15891 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
15892 aros_flavour
="standalone";;
15893 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15894 aros_flavour
="standalone";;
15895 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
15896 aros_flavour
="native" ;;
15897 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
15898 aros_flavour
="native" ;;
15899 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
15900 aros_flavour
="linklib" ;;
15901 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15902 aros_flavour
="palmnative" ;;
15903 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15904 aros_flavour
="mac68knative" ;;
15905 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15906 aros_flavour
="ppcnative" ;;
15909 if test ! -d ${aros_inc_dir} ; then
15910 ${MKDIR} ${aros_inc_dir}
15912 if test ! -d ${aros_geninc_dir} ; then
15913 ${MKDIR} ${aros_geninc_dir}
15915 if test ! -d ${aros_hostcfg_dir} ; then
15916 ${MKDIR} ${aros_hostcfg_dir}
15918 if test ! -d ${aros_targetcfg_dir} ; then
15919 ${MKDIR} ${aros_targetcfg_dir}
15921 if test ! -d ${aros_tools_dir} ; then
15922 ${MKDIR} ${aros_tools_dir}
15924 if test ! -d ${aros_scripts_dir} ; then
15925 ${MKDIR} ${aros_scripts_dir}
15928 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
15931 # Generic build tools (metamake, etc)
15932 ac_config_commands
="$ac_config_commands genmf-executable-support"
15934 ac_config_files
="$ac_config_files Makefile config/make.cfg ${aros_inc_dir}/config.h:config/config.h.in ${aros_geninc_dir}/config.h:config/config.h.in ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in ${aros_targetcfg_dir}/build.cfg:config/build.cfg.in mmake.config compiler/include/geninc.cfg:compiler/include/geninc.cfg.in ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname:scripts/uname.in tools/collect-aros/env.h"
15938 ac_config_commands
="$ac_config_commands binutils-support"
15940 if test "${use_ld_wrapper}" = "yes"; then
15941 ac_config_files
="$ac_config_files ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${aros_ld}:scripts/aros-ld.in"
15944 # Bare Elf support script and spec
15945 if test "${use_kernel_cc_wrapper}" = "yes"; then
15946 ac_config_commands
="$ac_config_commands elf-compiler-support"
15948 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/elf-specs:${elf_specs_in} ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc:scripts/elf-gcc.in"
15952 # Host compiler support scripts and spec
15953 if test "${aros_target_toolchain}" = "no"; then
15954 ac_config_commands
="$ac_config_commands host-compiler-wrapper-support"
15956 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/specs:config/specs.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${toolchain_cpp_preprocessor}:scripts/aros-${toolchain_cpp_preprocessor}.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${toolchain_c_compiler}:scripts/aros-${toolchain_c_compiler}.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${toolchain_cxx_compiler}:scripts/aros-${toolchain_cxx_compiler}.in"
15961 if test "$aros_target_variant" == "android"; then
15962 ac_config_files
="$ac_config_files ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in"
15967 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in"
15970 cat >confcache
<<\_ACEOF
15971 # This file is a shell script that caches the results of configure
15972 # tests run on this system so they can be shared between configure
15973 # scripts and configure runs, see configure's option --config-cache.
15974 # It is not useful on other systems. If it contains results you don't
15975 # want to keep, you may remove or edit it.
15977 # config.status only pays attention to the cache file if you give it
15978 # the --recheck option to rerun configure.
15980 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15981 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15982 # following values.
15986 # The following way of writing the cache mishandles newlines in values,
15987 # but we know of no workaround that is simple, portable, and efficient.
15988 # So, we kill variables containing newlines.
15989 # Ultrix sh set writes to stderr and can't be redirected directly,
15990 # and sets the high bit in the cache file unless we assign to the vars.
15992 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15993 eval ac_val
=\$
$ac_var
15997 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15998 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16001 _ | IFS | as_nl
) ;; #(
16002 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16003 *) { eval $ac_var=; unset $ac_var;} ;;
16009 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16010 *${as_nl}ac_space
=\
*)
16011 # `set' does not quote correctly, so add quotes: double-quote
16012 # substitution turns \\\\ into \\, and sed turns \\ into \.
16015 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16018 # `set' quotes correctly as required by POSIX, so do not add quotes.
16019 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16028 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16030 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16032 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16033 if test -w "$cache_file"; then
16034 if test "x$cache_file" != "x/dev/null"; then
16035 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16036 $as_echo "$as_me: updating cache $cache_file" >&6;}
16037 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16038 cat confcache
>"$cache_file"
16040 case $cache_file in #(
16042 mv -f confcache
"$cache_file"$$
&&
16043 mv -f "$cache_file"$$
"$cache_file" ;; #(
16045 mv -f confcache
"$cache_file" ;;
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16051 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16056 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16057 # Let make expand exec_prefix.
16058 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16060 DEFS
=-DHAVE_CONFIG_H
16065 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16066 # 1. Remove the extension, and $U if already installed.
16067 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16068 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16069 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16070 # will be set to the directory where LIBOBJS objects are built.
16071 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16072 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16074 LIBOBJS
=$ac_libobjs
16076 LTLIBOBJS
=$ac_ltlibobjs
16080 : "${CONFIG_STATUS=./config.status}"
16082 ac_clean_files_save
=$ac_clean_files
16083 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16084 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16085 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16087 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16089 # Generated by $as_me.
16090 # Run this file to recreate the current configuration.
16091 # Compiler output produced by configure, useful for debugging
16092 # configure, is in config.log if it exists.
16095 ac_cs_recheck=false
16098 SHELL=\${CONFIG_SHELL-$SHELL}
16101 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16102 ## -------------------- ##
16103 ## M4sh Initialization. ##
16104 ## -------------------- ##
16106 # Be more Bourne compatible
16107 DUALCASE
=1; export DUALCASE
# for MKS sh
16108 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16111 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16112 # is contrary to our usage. Disable this feature.
16113 alias -g '${1+"$@"}'='"$@"'
16114 setopt NO_GLOB_SUBST
16116 case `(set -o) 2>/dev/null` in #(
16128 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16129 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16130 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16131 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16132 # Prefer a ksh shell builtin over an external printf program on Solaris,
16133 # but without wasting forks for bash or zsh.
16134 if test -z "$BASH_VERSION$ZSH_VERSION" \
16135 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16136 as_echo='print
-r --'
16137 as_echo_n='print
-rn --'
16138 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16139 as_echo='printf %s
\n'
16140 as_echo_n='printf %s
'
16142 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16143 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16144 as_echo_n='/usr
/ucb
/echo -n'
16146 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16147 as_echo_n_body='eval
16151 expr "X$arg" : "X\\(.*\\)$as_nl";
16152 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16154 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16156 export as_echo_n_body
16157 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16159 export as_echo_body
16160 as_echo='sh
-c $as_echo_body as_echo
'
16163 # The user is always right.
16164 if test "${PATH_SEPARATOR+set}" != set; then
16166 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16167 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16174 # We need space, tab and new line, in precisely that order. Quoting is
16175 # there to prevent editors from complaining about space-tab.
16176 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16177 # splitting by setting IFS to empty value.)
16180 # Find who we are. Look in the path if we contain no directory separator.
16183 *[\\/]* ) as_myself=$0 ;;
16184 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16185 for as_dir in $PATH
16188 test -z "$as_dir" && as_dir=.
16189 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16195 # We did not find ourselves, most probably we were run as `sh COMMAND'
16196 # in which case we are not to be found in the path.
16197 if test "x$as_myself" = x
; then
16200 if test ! -f "$as_myself"; then
16201 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16205 # Unset variables that we do not need and which cause bugs (e.g. in
16206 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16207 # suppresses any "Segmentation fault" message there. '((' could
16208 # trigger a bug in pdksh 5.2.14.
16209 for as_var
in BASH_ENV ENV MAIL MAILPATH
16210 do eval test x\
${$as_var+set} = xset \
16211 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16224 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16227 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16228 # ----------------------------------------
16229 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16230 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16231 # script with STATUS, using 1 if that was 0.
16234 as_status
=$1; test $as_status -eq 0 && as_status
=1
16236 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16237 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16239 $as_echo "$as_me: error: $2" >&2
16240 as_fn_exit
$as_status
16244 # as_fn_set_status STATUS
16245 # -----------------------
16246 # Set $? to STATUS, without forking.
16247 as_fn_set_status
()
16250 } # as_fn_set_status
16252 # as_fn_exit STATUS
16253 # -----------------
16254 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16258 as_fn_set_status
$1
16264 # Portably unset VAR.
16267 { eval $1=; unset $1;}
16269 as_unset
=as_fn_unset
16270 # as_fn_append VAR VALUE
16271 # ----------------------
16272 # Append the text in VALUE to the end of the definition contained in VAR. Take
16273 # advantage of any shell optimizations that allow amortized linear growth over
16274 # repeated appends, instead of the typical quadratic growth present in naive
16276 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16277 eval 'as_fn_append ()
16288 # as_fn_arith ARG...
16289 # ------------------
16290 # Perform arithmetic evaluation on the ARGs, and store the result in the
16291 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16292 # must be portable across $(()) and expr.
16293 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16294 eval 'as_fn_arith ()
16301 as_val
=`expr "$@" || test $? -eq 1`
16306 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16307 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16313 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16314 as_basename
=basename
16319 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16325 as_me
=`$as_basename -- "$0" ||
16326 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16327 X"$0" : 'X\(//\)$' \| \
16328 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16330 sed '/^.*\/\([^/][^/]*\)\/*$/{
16344 # Avoid depending upon Character Ranges.
16345 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16346 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16347 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16348 as_cr_digits
='0123456789'
16349 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16351 ECHO_C
= ECHO_N
= ECHO_T
=
16352 case `echo -n x` in #(((((
16354 case `echo 'xy\c'` in
16355 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16357 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16364 rm -f conf$$ conf$$.exe conf$$.
file
16365 if test -d conf$$.dir
; then
16366 rm -f conf$$.dir
/conf$$.
file
16369 mkdir conf$$.dir
2>/dev
/null
16371 if (echo >conf$$.
file) 2>/dev
/null
; then
16372 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16374 # ... but there are two gotchas:
16375 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16376 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16377 # In both cases, we have to default to `cp -pR'.
16378 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16380 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16388 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16389 rmdir conf$$.dir
2>/dev
/null
16394 # Create "$as_dir" as a directory, including parents if necessary.
16399 -*) as_dir
=.
/$as_dir;;
16401 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16405 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16406 *) as_qdir
=$as_dir;;
16408 as_dirs
="'$as_qdir' $as_dirs"
16409 as_dir
=`$as_dirname -- "$as_dir" ||
16410 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16411 X"$as_dir" : 'X\(//\)[^/]' \| \
16412 X"$as_dir" : 'X\(//\)$' \| \
16413 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16414 $as_echo X"$as_dir" |
16415 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16419 /^X\(\/\/\)[^/].*/{
16432 test -d "$as_dir" && break
16434 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16435 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16439 if mkdir
-p .
2>/dev
/null
; then
16440 as_mkdir_p
='mkdir -p "$as_dir"'
16442 test -d .
/-p && rmdir .
/-p
16447 # as_fn_executable_p FILE
16448 # -----------------------
16449 # Test if FILE is an executable regular file.
16450 as_fn_executable_p
()
16452 test -f "$1" && test -x "$1"
16453 } # as_fn_executable_p
16454 as_test_x
='test -x'
16455 as_executable_p
=as_fn_executable_p
16457 # Sed expression to map a string onto a valid CPP name.
16458 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16460 # Sed expression to map a string onto a valid variable name.
16461 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16465 ## ----------------------------------- ##
16466 ## Main body of $CONFIG_STATUS script. ##
16467 ## ----------------------------------- ##
16469 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16472 # Save the log message, to keep $0 and so on meaningful, and to
16473 # report actual input values of CONFIG_FILES etc. instead of their
16474 # values after options handling.
16476 This file was extended by $as_me, which was
16477 generated by GNU Autoconf 2.69. Invocation command line was
16479 CONFIG_FILES = $CONFIG_FILES
16480 CONFIG_HEADERS = $CONFIG_HEADERS
16481 CONFIG_LINKS = $CONFIG_LINKS
16482 CONFIG_COMMANDS = $CONFIG_COMMANDS
16485 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16490 case $ac_config_files in *"
16491 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16494 case $ac_config_headers in *"
16495 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16499 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16500 # Files that config.status was made for.
16501 config_files="$ac_config_files"
16502 config_headers="$ac_config_headers"
16503 config_commands="$ac_config_commands"
16507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16509 \`$as_me' instantiates files and other configuration actions
16510 from templates according to the current configuration. Unless the files
16511 and actions are specified as TAGs, all are instantiated by default.
16513 Usage: $0 [OPTION]... [TAG]...
16515 -h, --help print this help, then exit
16516 -V, --version print version number and configuration settings, then exit
16517 --config print configuration, then exit
16518 -q, --quiet, --silent
16519 do not print progress messages
16520 -d, --debug don't remove temporary files
16521 --recheck update $as_me by reconfiguring in the same conditions
16522 --file=FILE[:TEMPLATE]
16523 instantiate the configuration file FILE
16524 --header=FILE[:TEMPLATE]
16525 instantiate the configuration header FILE
16527 Configuration files:
16530 Configuration headers:
16533 Configuration commands:
16536 Report bugs to the package provider."
16539 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16540 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16543 configured by $0, generated by GNU Autoconf 2.69,
16544 with options \\"\$ac_cs_config\\"
16546 Copyright (C) 2012 Free Software Foundation, Inc.
16547 This config.status script is free software; the Free Software Foundation
16548 gives unlimited permission to copy, distribute and modify it."
16552 test -n "\$AWK" || AWK=awk
16555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16556 # The default lists apply if the user does not specify any file.
16562 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16563 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16567 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16579 # Handling of the options.
16580 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16582 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16583 $as_echo "$ac_cs_version"; exit ;;
16584 --config |
--confi |
--conf |
--con |
--co |
--c )
16585 $as_echo "$ac_cs_config"; exit ;;
16586 --debug |
--debu |
--deb |
--de |
--d |
-d )
16588 --file |
--fil |
--fi |
--f )
16591 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16592 '') as_fn_error $?
"missing file argument" ;;
16594 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16595 ac_need_defaults
=false
;;
16596 --header |
--heade |
--head |
--hea )
16599 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16601 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16602 ac_need_defaults
=false
;;
16604 # Conflict between --help and --header
16605 as_fn_error $?
"ambiguous option: \`$1'
16606 Try \`$0 --help' for more information.";;
16607 --help |
--hel |
-h )
16608 $as_echo "$ac_cs_usage"; exit ;;
16609 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16610 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16613 # This is an error.
16614 -*) as_fn_error $?
"unrecognized option: \`$1'
16615 Try \`$0 --help' for more information." ;;
16617 *) as_fn_append ac_config_targets
" $1"
16618 ac_need_defaults
=false
;;
16624 ac_configure_extra_args
=
16626 if $ac_cs_silent; then
16628 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16633 if \$ac_cs_recheck; then
16634 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16636 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16637 CONFIG_SHELL='$SHELL'
16638 export CONFIG_SHELL
16643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16647 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16648 ## Running $as_me. ##
16654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16659 AROS_CROSSTOOLSDIR=${AROS_CROSSTOOLSDIR}
16660 aros_tools_dir=${aros_tools_dir}
16664 aros_host_exe_suffix=${aros_host_exe_suffix}
16665 aros_tools_dir=${aros_tools_dir}
16666 aros_target_cpu=${aros_target_cpu}
16667 aros_target_arch=${aros_target_arch}
16668 aros_target_suffix=${aros_target_suffix}
16669 orig_target_nm=${orig_target_nm}
16670 orig_target_as=${orig_target_as}
16671 orig_target_ar=${orig_target_ar}
16672 orig_target_ranlib=${orig_target_ranlib}
16673 orig_target_objdump=${orig_target_objdump}
16674 orig_target_objcopy=${orig_target_objcopy}
16675 orig_target_strip=${orig_target_strip}
16676 aros_kernel_ld=${aros_kernel_ld}
16680 aros_host_exe_suffix=${aros_host_exe_suffix}
16681 aros_tools_dir=${aros_tools_dir}
16682 aros_target_cpu=${aros_target_cpu}
16683 aros_target_arch=${aros_target_arch}
16684 aros_target_suffix=${aros_target_suffix}
16685 aros_kernel_ld=${aros_kernel_ld}
16689 aros_host_exe_suffix=${aros_host_exe_suffix}
16690 aros_tools_dir=${aros_tools_dir}
16691 aros_target_cpu=${aros_target_cpu}
16692 aros_target_arch=${aros_target_arch}
16693 aros_target_suffix=${aros_target_suffix}
16699 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16701 # Handling of arguments.
16702 for ac_config_target
in $ac_config_targets
16704 case $ac_config_target in
16705 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
16706 "genmf-executable-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf-executable-support" ;;
16707 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16708 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
16709 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
16710 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
16711 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
16712 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
16713 "${aros_targetcfg_dir}/build.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/build.cfg:config/build.cfg.in" ;;
16714 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
16715 "compiler/include/geninc.cfg") CONFIG_FILES
="$CONFIG_FILES compiler/include/geninc.cfg:compiler/include/geninc.cfg.in" ;;
16716 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
16717 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
16718 "${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname") CONFIG_FILES="$CONFIG_FILES ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname:scripts/uname.in" ;;
16719 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
16720 "binutils-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS binutils-support" ;;
16721 "${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${aros_ld}") CONFIG_FILES="$CONFIG_FILES ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${aros_ld}:scripts/aros-ld.in" ;;
16722 "elf-compiler-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS elf-compiler-support" ;;
16723 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
16724 "${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc") CONFIG_FILES="$CONFIG_FILES ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc:scripts/elf-gcc.in" ;;
16725 "host-compiler-wrapper-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS host-compiler-wrapper-support" ;;
16726 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
16727 "${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${toolchain_cpp_preprocessor}") CONFIG_FILES="$CONFIG_FILES ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${toolchain_cpp_preprocessor}:scripts/aros-${toolchain_cpp_preprocessor}.in" ;;
16728 "${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${toolchain_c_compiler}") CONFIG_FILES="$CONFIG_FILES ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${toolchain_c_compiler}:scripts/aros-${toolchain_c_compiler}.in" ;;
16729 "${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${toolchain_cxx_compiler}") CONFIG_FILES="$CONFIG_FILES ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${toolchain_cxx_compiler}:scripts/aros-${toolchain_cxx_compiler}.in" ;;
16730 "${aros_gendir}/arch/all-android/bootstrap/app/default.properties") CONFIG_FILES
="$CONFIG_FILES ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in" ;;
16731 "${aros_targetcfg_dir}/conf.cmake") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in" ;;
16733 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16738 # If the user did not use the arguments to specify the items to instantiate,
16739 # then the envvar interface is used. Set only those that are not.
16740 # We use the long form for the default assignment because of an extremely
16741 # bizarre bug on SunOS 4.1.3.
16742 if $ac_need_defaults; then
16743 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16744 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16745 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16748 # Have a temporary directory for convenience. Make it in the build tree
16749 # simply because there is no reason against having it here, and in addition,
16750 # creating and moving files from /tmp can sometimes cause problems.
16751 # Hook for its removal unless debugging.
16752 # Note that there is a small window in which the directory will not be cleaned:
16753 # after its creation but before its name has been assigned to `$tmp'.
16757 trap 'exit_status=$?
16758 : "${ac_tmp:=$tmp}"
16759 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16761 trap 'as_fn_exit 1' 1 2 13 15
16763 # Create a (secure) tmp directory for tmp files.
16766 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16770 tmp
=.
/conf$$
-$RANDOM
16771 (umask 077 && mkdir
"$tmp")
16772 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16775 # Set up the scripts for CONFIG_FILES section.
16776 # No need to generate them if there are no CONFIG_FILES.
16777 # This happens for instance with `./config.status config.h'.
16778 if test -n "$CONFIG_FILES"; then
16781 ac_cr
=`echo X | tr X '\015'`
16782 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16783 # But we know of no other shell where ac_cr would be empty at this
16784 # point, so we can use a bashism as a fallback.
16785 if test "x$ac_cr" = x
; then
16786 eval ac_cr
=\$
\'\\r
\'
16788 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16789 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16792 ac_cs_awk_cr
=$ac_cr
16795 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16800 echo "cat >conf$$subs.awk <<_ACEOF" &&
16801 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16803 } >conf$$subs.sh ||
16804 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16805 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16807 for ac_last_try in false false false false false :; do
16808 . ./conf$$subs.sh ||
16809 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16811 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16812 if test $ac_delim_n = $ac_delim_num; then
16814 elif $ac_last_try; then
16815 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16817 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16820 rm -f conf$$subs.sh
16822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16823 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16827 s/^/S["/; s
/!.
*/"]=/
16837 s/\(.\{148\}\)..*/\1/
16839 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16844 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16851 s/\(.\{148\}\)..*/\1/
16853 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16857 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16862 ' <conf$$subs.awk | sed '
16867 ' >>$CONFIG_STATUS || ac_write_fail=1
16868 rm -f conf$$subs.awk
16869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16871 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16872 for (key in S) S_is_set[key] = 1
16878 nfields = split(line, field, "@
")
16880 len = length(field[1])
16881 for (i = 2; i < nfields; i++) {
16883 keylen = length(key)
16884 if (S_is_set[key]) {
16886 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16887 len += length(value) + length(field[++i])
16898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16899 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16900 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16903 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16904 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16907 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16908 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16909 # trailing colons and then remove the whole line if VPATH becomes empty
16910 # (actually we leave an empty line to preserve line numbers).
16911 if test "x
$srcdir" = x.; then
16912 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16930 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16931 fi # test -n "$CONFIG_FILES"
16933 # Set up the scripts for CONFIG_HEADERS section.
16934 # No need to generate them if there are no CONFIG_HEADERS.
16935 # This happens for instance with `./config.status Makefile'.
16936 if test -n "$CONFIG_HEADERS"; then
16937 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16941 # Transform confdefs.h into an awk script `defines.awk', embedded as
16942 # here-document in config.status, that substitutes the proper values into
16943 # config.h.in to produce config.h.
16945 # Create a delimiter string that does not exist in confdefs.h, to ease
16946 # handling of long lines.
16948 for ac_last_try in false false :; do
16949 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16950 if test -z "$ac_tt"; then
16952 elif $ac_last_try; then
16953 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16955 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16959 # For the awk script, D is an array of macro values keyed by name,
16960 # likewise P contains macro parameters if any. Preserve backslash
16961 # newline sequences.
16963 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16965 s/.\{148\}/&'"$ac_delim"'/g
16968 s/^[ ]*#[ ]*define[ ][ ]*/ /
16975 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16977 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16981 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16982 D["\
1"]=" \
3\\\\\\n
"\\/p
16984 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16989 s/.\{148\}/&'"$ac_delim"'/g
16994 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16997 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16999 ' <confdefs.h | sed '
17000 s/'"$ac_delim"'/"\\\
17001 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17004 for (key in D) D_is_set[key] = 1
17007 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17009 split(line, arg, " ")
17010 if (arg[1] == "#") {
17014 defundef
= substr
(arg
[1], 2)
17017 split(mac1
, mac2
, "(") #)
17019 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17020 if (D_is_set
[macro
]) {
17021 # Preserve the white space surrounding the "#".
17022 print prefix
"define", macro P
[macro
] D
[macro
]
17025 # Replace #undef with comments. This is necessary, for example,
17026 # in the case of _POSIX_SOURCE, which is predefined and required
17027 # on some systems where configure will not decide to define it.
17028 if (defundef
== "undef") {
17029 print
"/*", prefix defundef
, macro
, "*/"
17037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17038 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17039 fi # test -n "$CONFIG_HEADERS"
17042 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17047 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17049 case $ac_mode$ac_tag in
17051 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17052 :[FH
]-) ac_tag
=-:-;;
17053 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17070 -) ac_f
="$ac_tmp/stdin";;
17071 *) # Look for the file first in the build tree, then in the source tree
17072 # (if the path is not absolute). The absolute path cannot be DOS-style,
17073 # because $ac_f cannot contain `:'.
17077 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17079 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17081 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17082 as_fn_append ac_file_inputs
" '$ac_f'"
17085 # Let's still pretend it is `configure' which instantiates (i.e., don't
17086 # use $as_me), people would be surprised to read:
17087 # /* config.h. Generated by config.status. */
17088 configure_input
='Generated from '`
17089 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17091 if test x
"$ac_file" != x-
; then
17092 configure_input
="$ac_file. $configure_input"
17093 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17094 $as_echo "$as_me: creating $ac_file" >&6;}
17096 # Neutralize special characters interpreted by sed in replacement strings.
17097 case $configure_input in #(
17098 *\
&* |
*\|
* |
*\\* )
17099 ac_sed_conf_input
=`$as_echo "$configure_input" |
17100 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17101 *) ac_sed_conf_input
=$configure_input;;
17105 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17106 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17111 ac_dir
=`$as_dirname -- "$ac_file" ||
17112 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17113 X"$ac_file" : 'X\(//\)[^/]' \| \
17114 X"$ac_file" : 'X\(//\)$' \| \
17115 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17116 $as_echo X"$ac_file" |
17117 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17121 /^X\(\/\/\)[^/].*/{
17134 as_dir
="$ac_dir"; as_fn_mkdir_p
17138 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17140 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17141 # A ".." for each directory in $ac_dir_suffix.
17142 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17143 case $ac_top_builddir_sub in
17144 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17145 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17148 ac_abs_top_builddir
=$ac_pwd
17149 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17150 # for backward compatibility:
17151 ac_top_builddir
=$ac_top_build_prefix
17154 .
) # We are building in place.
17156 ac_top_srcdir
=$ac_top_builddir_sub
17157 ac_abs_top_srcdir
=$ac_pwd ;;
17158 [\\/]* | ?
:[\\/]* ) # Absolute name.
17159 ac_srcdir
=$srcdir$ac_dir_suffix;
17160 ac_top_srcdir
=$srcdir
17161 ac_abs_top_srcdir
=$srcdir ;;
17162 *) # Relative name.
17163 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17164 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17165 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17167 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17179 # If the template does not know about datarootdir, expand it.
17180 # FIXME: This hack should be removed a few years after 2.60.
17181 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17192 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17193 *datarootdir
*) ac_datarootdir_seen
=yes;;
17194 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17196 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17199 ac_datarootdir_hack='
17200 s&@datadir@&$datadir&g
17201 s&@docdir@&$docdir&g
17202 s&@infodir@&$infodir&g
17203 s&@localedir@&$localedir&g
17204 s&@mandir@&$mandir&g
17205 s&\\\${datarootdir}&$datarootdir&g' ;;
17209 # Neutralize VPATH when `$srcdir' = `.'.
17210 # Shell code in configure.ac might set extrasub.
17211 # FIXME: do we really want to maintain this feature?
17212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17213 ac_sed_extra="$ac_vpsub
17216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17218 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17219 s|@configure_input@|
$ac_sed_conf_input|
;t t
17220 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17221 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17222 s
&@srcdir@
&$ac_srcdir&;t t
17223 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17224 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17225 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17226 s
&@builddir@
&$ac_builddir&;t t
17227 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17228 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17229 $ac_datarootdir_hack
17231 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
17232 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17234 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17235 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17236 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17237 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17239 which seems to be undefined. Please make sure it is defined" >&5
17240 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17241 which seems to be undefined. Please make sure it is defined" >&2;}
17243 rm -f "$ac_tmp/stdin"
17245 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17246 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17248 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17254 if test x"$ac_file" != x-; then
17256 $as_echo "/* $configure_input */" \
17257 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17258 } >"$ac_tmp/config.h" \
17259 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17260 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17262 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17265 mv "$ac_tmp/config.h" "$ac_file" \
17266 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17269 $as_echo "/* $configure_input */" \
17270 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17271 || as_fn_error $? "could not create -" "$LINENO" 5
17275 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17276 $as_echo "$as_me: executing $ac_file commands" >&6;}
17281 case $ac_file$ac_mode in
17282 "genmf-executable-support":C)
17283 chmod a+x ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname
17284 chmod a+x ${aros_tools_dir}/genmf.py
17286 "binutils-support":C)
17287 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
17289 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
17291 chmod a+x ${prefix2}-ld
17293 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
17294 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
17295 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
17296 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
17297 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
17298 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
17299 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
17301 "elf-compiler-support":C)
17302 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
17304 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
17306 chmod a+x ${prefix2}-gcc
17308 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix2}-ld$aros_host_exe_suffix
17310 "host-compiler-wrapper-support":C)
17311 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
17313 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
17315 chmod a+x ${prefix2}-${toolchain_c_compiler} ${prefix2}-${toolchain_cxx_compiler} ${prefix2}-${toolchain_cpp_preprocessor}
17324 ac_clean_files=$ac_clean_files_save
17326 test $ac_write_fail = 0 ||
17327 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17330 # configure is writing to config.log, and then calls config.status.
17331 # config.status does its own redirection, appending to config.log.
17332 # Unfortunately, on DOS this fails, as config.log is still kept open
17333 # by configure, so config.status won't be able to
write to it
; its
17334 # output is simply discarded. So we exec the FD to /dev/null,
17335 # effectively closing config.log, so it can be properly (re)opened and
17336 # appended to by config.status. When coming back to configure, we
17337 # need to make the FD available again.
17338 if test "$no_create" != yes; then
17340 ac_config_status_args
=
17341 test "$silent" = yes &&
17342 ac_config_status_args
="$ac_config_status_args --quiet"
17344 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17346 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17347 # would make configure fail if this is the last instruction.
17348 $ac_cs_success || as_fn_exit
1
17350 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17352 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17357 #XXX compatability...
17358 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
17360 if test -n "$aros_shared_cflags" ; then
17361 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
17362 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg