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_plain_ar+:} false
; then :
5152 $as_echo_n "(cached) " >&6
5154 case $aros_host_plain_ar in
5156 ac_cv_path_aros_host_plain_ar
="$aros_host_plain_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_plain_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_plain_ar" && ac_cv_path_aros_host_plain_ar
="$aros_host_cmd_ar "
5178 aros_host_plain_ar
=$ac_cv_path_aros_host_plain_ar
5179 if test -n "$aros_host_plain_ar"; then
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_plain_ar" >&5
5181 $as_echo "$aros_host_plain_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_plain_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"
7911 toolchain_def_opt_lvl
="-O2"
7912 toolchain_debug_opt_lvl
="-O0"
7913 toolchain_size_opt_lvl
="-Os"
7916 toolchain_c_compiler
="gcc"
7917 toolchain_cxx_compiler
="g++"
7918 toolchain_cpp_preprocessor
="gcc"
7919 toolchain_cpp_opts
=" -E"
7922 if test "$aros_config_lto" != "yes"; then
7925 toolchain_ranlib
="ranlib"
7928 toolchain_ld
="ld.bfd"
7929 toolchain_ar
="gcc-ar"
7930 toolchain_ranlib
="gcc-ranlib"
7931 toolchain_nm
="gcc-nm"
7933 toolchain_strip
="strip"
7934 toolchain_objcopy
="objcopy"
7935 toolchain_objdump
="objdump"
7937 toolchain_def_opt_lvl
="-O2"
7938 toolchain_debug_opt_lvl
="-O0"
7939 toolchain_size_opt_lvl
="-Os"
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown toolchain family!\"" >&5
7943 $as_echo "$as_me: WARNING: \"Unknown toolchain family!\"" >&2;}
7944 toolchain_c_compiler
="cc"
7945 toolchain_cxx_compiler
="c++"
7946 toolchain_cpp_preprocessor
="cpp"
7952 toolchain_ranlib
="ranlib"
7954 toolchain_strip
="strip"
7955 toolchain_objcopy
="objcopy"
7956 toolchain_objdump
="objdump"
7960 #-----------------------------------------------------------------------------
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which type of build to do" >&5
7963 $as_echo_n "checking which type of build to do... " >&6; }
7964 # Check whether --enable-build_type was given.
7965 if test "${enable_build_type+set}" = set; then :
7966 enableval
=$enable_build_type; build_type
=$enableval
7968 build_type
="personal"
7972 if test "$build_type" = "nightly"; then
7973 build_type_string
="NIGHTLY"
7974 elif test "$build_type" = "snapshot"; then
7975 build_type_string
="SNAPSHOT"
7976 elif test "$build_type" = "milestone"; then
7977 build_type_string
="MILESTONE"
7978 elif test "$build_type" = "release"; then
7979 build_type_string
="RELEASE"
7981 build_type_string
="PERSONAL"
7982 build_type
="personal"
7985 aros_config_cppflags
="$aros_config_cppflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7988 $as_echo "$build_type" >&6; }
7990 #-----------------------------------------------------------------------------
7991 all_debug_types
="messages stack modules mungwall symbols"
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7994 $as_echo_n "checking which debug types to enable... " >&6; }
7995 # Check whether --enable-debug was given.
7996 if test "${enable_debug+set}" = set; then :
7997 enableval
=$enable_debug; debug
="$enableval"
8003 if test "$debug" = "" -o "$debug" = "no"; then
8005 elif test "$debug" = "yes"; then
8009 if test "$debug" = "all" ; then
8010 debug
="messages stack modules symbols"
8011 for d
in $all_debug_types; do
8012 export aros_
${d}_debug
="1"
8015 for d
in $all_debug_types; do
8016 export aros_
${d}_debug
="0"
8020 if test "$debug" != "none"; then
8021 debug
=`echo $debug | sed s/,/\ /g`
8024 for d2
in $all_debug_types; do
8025 if test "$d2" = "$d"; then
8030 if test "$found" = "0"; then
8031 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
8033 export aros_
${d}_debug
="1"
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
8038 $as_echo "$debug" >&6; }
8040 if test "$aros_messages_debug" = "1"; then
8041 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
8043 aros_messages_debug
=""
8045 if test "$aros_symbols_debug" = "1"; then
8046 aros_symbols_debug
="-g"
8048 aros_symbols_debug
=""
8051 # These are the flags to pass when compiling debugged programs
8052 aros_debug_cppflags
="$aros_messages_debug"
8053 aros_debug_cflags
="$aros_symbols_debug"
8054 aros_debug_cxxflags
=
8055 aros_debug_aflags
=""
8056 aros_debug_ldflags
="$aros_symbols_debug"
8058 #-----------------------------------------------------------------------------
8059 # Checking for distcc and ccache.
8061 # Always apply the transforms in this particular order. Basically you should
8062 # always run 'ccache distcc compiler' in that order for the best performance.
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
8065 $as_echo_n "checking whether to enable distcc... " >&6; }
8066 # Check whether --enable-distcc was given.
8067 if test "${enable_distcc+set}" = set; then :
8068 enableval
=$enable_distcc; distcc
="$enableval"
8073 if test "$distcc" != "" -a "$distcc" != "no"; then
8074 # AC_CHECK_PROG will print out the result in this case
8075 # Extract the first word of "distcc", so it can be a program name with args.
8076 set dummy distcc
; ac_word
=$2
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8078 $as_echo_n "checking for $ac_word... " >&6; }
8079 if ${ac_cv_path_DISTCC+:} false
; then :
8080 $as_echo_n "(cached) " >&6
8084 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
8087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8091 test -z "$as_dir" && as_dir
=.
8092 for ac_exec_ext
in '' $ac_executable_extensions; do
8093 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8094 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
8095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8102 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
8106 DISTCC
=$ac_cv_path_DISTCC
8107 if test -n "$DISTCC"; then
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
8109 $as_echo "$DISTCC" >&6; }
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8112 $as_echo "no" >&6; }
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8118 $as_echo "no" >&6; }
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
8122 $as_echo_n "checking whether to enable ccache... " >&6; }
8123 # Check whether --enable-ccache was given.
8124 if test "${enable_ccache+set}" = set; then :
8125 enableval
=$enable_ccache; ccache
="$enableval"
8130 if test "$ccache" != "" -a "$ccache" != "no"; then
8131 # AC_CHECK_PROG will print out the result in this case
8132 # Extract the first word of "ccache", so it can be a program name with args.
8133 set dummy ccache
; ac_word
=$2
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8135 $as_echo_n "checking for $ac_word... " >&6; }
8136 if ${ac_cv_prog_CCACHE+:} false
; then :
8137 $as_echo_n "(cached) " >&6
8139 if test -n "$CCACHE"; then
8140 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
8142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8146 test -z "$as_dir" && as_dir
=.
8147 for ac_exec_ext
in '' $ac_executable_extensions; do
8148 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8149 ac_cv_prog_CCACHE
="ccache"
8150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8159 CCACHE
=$ac_cv_prog_CCACHE
8160 if test -n "$CCACHE"; then
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
8162 $as_echo "$CCACHE" >&6; }
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8165 $as_echo "no" >&6; }
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8171 $as_echo "no" >&6; }
8174 #-----------------------------------------------------------------------------
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
8176 $as_echo_n "checking what specific host gcc version to use... " >&6; }
8178 # Check whether --with-kernel-gcc-version was given.
8179 if test "${with_kernel_gcc_version+set}" = set; then :
8180 withval
=$with_kernel_gcc_version; kernel_tool_version
="$withval"
8182 kernel_tool_version
=""
8185 if test "$kernel_tool_version" != "" ; then
8186 msg_result
=$kernel_tool_version
8188 msg_result
="default"
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
8191 $as_echo "$msg_result" >&6; }
8193 #-----------------------------------------------------------------------------
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
8195 $as_echo_n "checking what optimization flags to use... " >&6; }
8197 # Check whether --with-optimization was given.
8198 if test "${with_optimization+set}" = set; then :
8199 withval
=$with_optimization; optimization_level
="$withval"
8201 optimization_level
="unknown"
8204 if test "$optimization_level" = "unknown"; then
8205 optimization
="default"
8206 if test "$debug" != "none"; then
8207 optimization_level
=$toolchain_debug_opt_lvl
8209 optimization_level
=$toolchain_def_opt_lvl
8212 optimization
="$optimization_level"
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
8215 $as_echo "$optimization" >&6; }
8217 paranoia_default
=yes
8218 #-----------------------------------------------------------------------------
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which paranoia flags to use" >&5
8220 $as_echo_n "checking which paranoia flags to use... " >&6; }
8222 # Check whether --with-paranoia was given.
8223 if test "${with_paranoia+set}" = set; then :
8224 withval
=$with_paranoia; paranoia_flags
="$withval"
8226 paranoia_flags
="$paranoia_default"
8229 if test "$paranoia_flags" = "no"; then
8230 paranoia_flags
="$""(WARN_ALL) -Werror-implicit-function-declaration"
8233 if test "$paranoia_flags" = "yes"; then
8234 paranoia_flags
="$""(WARN_ALL) $""(WARN_ERROR)"
8236 msg_result
="$paranoia_flags"
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
8239 $as_echo "$msg_result" >&6; }
8240 aros_warn_flags
="$aros_warn_flags $paranoia_flags"
8242 #-----------------------------------------------------------------------------
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
8244 $as_echo_n "checking what target variant to enable... " >&6; }
8245 # Check whether --enable-target_variant was given.
8246 if test "${enable_target_variant+set}" = set; then :
8247 enableval
=$enable_target_variant; target_variant
=$enableval
8252 if test "$target_variant" = ""; then
8253 aros_target_variant
=""
8254 aros_target_suffix
=""
8257 aros_target_variant
="$target_variant"
8258 aros_target_suffix
="-$target_variant"
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
8261 $as_echo "$enableval" >&6; }
8263 #-----------------------------------------------------------------------------
8264 # Target-specific defaults. You can override then on a per-target basis.
8266 # Bootloader name. Currently used by PC target.
8267 target_bootloader
="none"
8271 #-----------------------------------------------------------------------------
8272 # Additional options for some specific targets
8274 case "$aros_target_variant" in
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
8277 $as_echo_n "checking XCode path... " >&6; }
8279 # Check whether --with-xcode was given.
8280 if test "${with_xcode+set}" = set; then :
8281 withval
=$with_xcode; aros_xcode_path
="$withval"
8283 aros_xcode_path
="/Developer"
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
8287 $as_echo "$aros_xcode_path" >&6; }
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
8290 $as_echo_n "checking what iOS SDK version to use... " >&6; }
8292 # Check whether --with-sdk-version was given.
8293 if test "${with_sdk_version+set}" = set; then :
8294 withval
=$with_sdk_version; aros_sdk_version
="$withval"
8296 aros_sdk_version
="4.1"
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
8300 $as_echo "$aros_sdk_version" >&6; }
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
8306 $as_echo_n "checking Android SDK path... " >&6; }
8308 # Check whether --with-sdk was given.
8309 if test "${with_sdk+set}" = set; then :
8310 withval
=$with_sdk; aros_android_sdk
="$withval"
8312 aros_android_sdk
=$default_android_sdk
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
8316 $as_echo "$aros_android_sdk" >&6; }
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
8319 $as_echo_n "checking Android NDK path... " >&6; }
8321 # Check whether --with-ndk was given.
8322 if test "${with_ndk+set}" = set; then :
8323 withval
=$with_ndk; aros_android_ndk
="$withval"
8325 aros_android_ndk
="none"
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
8329 $as_echo "$aros_android_ndk" >&6; }
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
8332 $as_echo_n "checking what Android SDK version to use... " >&6; }
8334 # Check whether --with-sdk-version was given.
8335 if test "${with_sdk_version+set}" = set; then :
8336 withval
=$with_sdk_version; aros_sdk_version
="$withval"
8338 aros_sdk_version
="12"
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
8342 $as_echo "$aros_sdk_version" >&6; }
8344 aros_android_level
=android-
$aros_sdk_version
8345 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
8346 echo "Platform $aros_android_level is not installed in your SDK"
8347 echo "Use --with-sdk-version=<API level number> to select another platform version"
8348 echo "You can check what plaform versions are installed in your SDK"
8349 echo "by examining contents of $aros_android_sdk/platforms directory"
8350 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
8353 export PATH
="$aros_android_sdk/tools:$PATH"
8354 # Extract the first word of "$android_tool", so it can be a program name with args.
8355 set dummy
$android_tool; ac_word
=$2
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8357 $as_echo_n "checking for $ac_word... " >&6; }
8358 if ${ac_cv_path_android_tool+:} false
; then :
8359 $as_echo_n "(cached) " >&6
8361 case $android_tool in
8363 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
8366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8370 test -z "$as_dir" && as_dir
=.
8371 for ac_exec_ext
in '' $ac_executable_extensions; do
8372 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8373 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
8374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8384 android_tool
=$ac_cv_path_android_tool
8385 if test -n "$android_tool"; then
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
8387 $as_echo "$android_tool" >&6; }
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8390 $as_echo "no" >&6; }
8395 if test "$android_tool" = ""; then
8398 if test "$android_tool" = "no"; then
8401 if test "$req_avail" = "no"; then
8402 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
8405 if test "$aros_android_ndk" != "none"; then
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
8407 $as_echo_n "checking what Android NDK version to use... " >&6; }
8409 # Check whether --with-ndk-version was given.
8410 if test "${with_ndk_version+set}" = set; then :
8411 withval
=$with_ndk_version; aros_ndk_version
="$withval"
8413 aros_ndk_version
="9"
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
8417 $as_echo "$aros_ndk_version" >&6; }
8420 # Extract the first word of "ant", so it can be a program name with args.
8421 set dummy ant
; ac_word
=$2
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8423 $as_echo_n "checking for $ac_word... " >&6; }
8424 if ${ac_cv_path_ant+:} false
; then :
8425 $as_echo_n "(cached) " >&6
8429 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
8432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8436 test -z "$as_dir" && as_dir
=.
8437 for ac_exec_ext
in '' $ac_executable_extensions; do
8438 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8439 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
8440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8451 if test -n "$ant"; then
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
8453 $as_echo "$ant" >&6; }
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8456 $as_echo "no" >&6; }
8460 if test "$ant" = ""; then
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
8462 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Build debug or release apk" >&5
8466 $as_echo_n "checking Build debug or release apk... " >&6; }
8468 # Check whether --with-apk-version was given.
8469 if test "${with_apk_version+set}" = set; then :
8470 withval
=$with_apk_version; aros_android_antapk
=$withval
8472 aros_android_antapk
=release
8475 if test $aros_android_antapk != release
-a $aros_android_antapk != debug
; then
8476 as_fn_error $?
"apk-version has to be release or debug" "$LINENO" 5
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_antapk" >&5
8479 $as_echo "$aros_android_antapk" >&6; }
8481 target_extra_cfg
+="$export_newline""# Android$export_newline""AROS_ANDROID_ANTAPK := $aros_android_antapk$export_newline"
8482 host_extra_cfg
+="$export_newline""# Android-specific$export_newline""ANDROID := $android_tool$export_newline""ANT := $ant$export_newline"
8483 aros_target_options
+="$export_newline""# Enable Android Gfx Driver$export_newline""OPT_HOST_ANDROIDGFX := yes$export_newline"
8485 if test "$host_os" = "mingw32"; then
8486 android_tool
="cmd //c $android_tool"
8494 #-----------------------------------------------------------------------------
8495 # External toolchains
8496 kernel_tool_prefix
="none"
8497 aros_tool_prefix
="none"
8498 elf_tool_prefix
="${target_cpu}-elf-"
8500 # Base target cpu ISA configuration switch.
8501 case "$target_cpu" in
8507 m68k_isa_extra
="ISA_MC68000_FLAGS = -march=68000"
8508 m68k_020_isa_extra
="ISA_MC68020_FLAGS = -march=68020"
8509 m68k_030_isa_extra
="ISA_MC68030_FLAGS = -march=68030"
8510 m68k_040_isa_extra
="ISA_MC68040_FLAGS = -march=68040"
8511 m68k_060_isa_extra
="ISA_MC68060_FLAGS = -march=68060"
8512 m68k_ac080_isa_extra
="ISA_AC68080_FLAGS = -march=68040"
8513 m68k_020_ext
="ISA_MC68020_EXT :=020"
8514 m68k_030_ext
="ISA_MC68030_EXT :=030"
8515 m68k_040_ext
="ISA_MC68040_EXT :=040"
8516 m68k_060_ext
="ISA_MC68060_EXT :=060"
8517 m68k_020_cflags
="ISA_MC68020_CFLAGS ="
8518 m68k_030_cflags
="ISA_MC68030_CFLAGS ="
8519 m68k_040_cflags
="ISA_MC68040_CFLAGS ="
8520 m68k_060_cflags
="ISA_MC68060_CFLAGS ="
8521 m68k_020_cppflags
="ISA_MC68020_CPPFLAGS ="
8522 m68k_030_cppflags
="ISA_MC68030_CPPFLAGS ="
8523 m68k_040_cppflags
="ISA_MC68040_CPPFLAGS ="
8524 m68k_060_cppflags
="ISA_MC68060_CPPFLAGS ="
8525 m68k_020_ldflags
="ISA_MC68020_LDFLAGS ="
8526 m68k_030_ldflags
="ISA_MC68030_LDFLAGS ="
8527 m68k_040_ldflags
="ISA_MC68040_LDFLAGS ="
8528 m68k_060_ldflags
="ISA_MC68060_LDFLAGS ="
8531 x86_isa_extra
="ISA_X86_FLAGS = -m32 -march=i486"
8532 x86_64_isa_extra
="ISA_X8664_FLAGS = -mcmodel=large"
8538 # This is the target configuration switch.
8539 case "$target_os" in
8545 HOST_WANTS_DLOPEN
=yes
8546 aros_target_arch
="linux"
8547 aros_target_family
="unix"
8548 case "$target_cpu" in
8550 aros_target_cpu
="m68k"
8551 aros_object_format
="m68kelf"
8552 aros_flavour
="emulcompat"
8553 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8554 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
8555 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8556 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8557 gcc_target_cpu
="mc68000"
8560 aros_target_cpu
="i386"
8561 aros_object_format
="elf_i386"
8562 aros_flavour
="emulation"
8563 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8564 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8565 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8566 aros_kernel_ldflags
="-Wl,-melf_i386"
8567 aros_nominal_depth
=8
8568 gcc_target_cpu
="i386"
8569 pci_hidd_target
="hidd-pci-linux"
8570 android_tool_dir_prefix
="x86"
8571 android_tool_prefix
="i686-android-linux"
8572 android_ndk_arch
="x86"
8575 aros_target_cpu
="x86_64"
8576 aros_object_format
="elf_x86_64"
8577 aros_flavour
="emulation"
8578 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8579 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8580 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8581 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
8582 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
8583 aros_nominal_depth
=8
8584 pci_hidd_target
="hidd-pci-linux"
8587 aros_target_cpu
="ppc"
8588 aros_object_format
="elf32ppc"
8589 aros_flavour
="emulation"
8590 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8591 aros_nominal_depth
=8
8592 gcc_target_cpu
="ppc"
8595 # Same as powerpc, but I need this for the nightly build to work again.
8596 # Actually, the nightly should be made working with powerpc target.
8597 # That just was too much work for the moment, another week or two.
8599 aros_target_cpu
="ppc"
8600 aros_object_format
="elf32ppc"
8601 aros_flavour
="emulation"
8602 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8603 aros_nominal_depth
=8
8604 gcc_target_cpu
="ppc"
8607 aros_target_cpu
="aarch64"
8608 target_cpu
="aarch64"
8609 aros_object_format
="aarch64elf_aros"
8610 aros_flavour
="emulation"
8611 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8612 gcc_target_cpu
="aarch64"
8613 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8614 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8615 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING)"
8616 aros_c_libs
="$aros_c_libs -laeabi"
8617 gcc_default_float_abi
="hard"
8618 kernel_tool_prefix
="aarch64-linux-gnueabihf-"
8621 aros_target_cpu
="arm"
8623 aros_object_format
="armelf_aros"
8624 aros_flavour
="emulation"
8625 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8626 gcc_target_cpu
="arm"
8627 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8628 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8629 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING)"
8630 aros_c_libs
="$aros_c_libs -laeabi"
8631 gcc_default_float_abi
="hard"
8632 android_tool_dir_prefix
="arm-linux-androideabi"
8633 android_tool_prefix
="arm-linux-androideabi"
8634 android_ndk_arch
="arm"
8635 kernel_tool_prefix
="arm-linux-gnueabihf-"
8638 aros_target_cpu
="arm"
8639 aros_object_format
="armelf_aros"
8640 aros_flavour
="emulation"
8641 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8642 gcc_target_cpu
="arm"
8643 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8644 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8645 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING)"
8646 aros_c_libs
="$aros_c_libs -laeabi"
8647 android_tool_dir_prefix
="arm-linux-androideabi"
8648 android_tool_prefix
="arm-linux-androideabi"
8649 android_ndk_arch
="arm"
8650 kernel_tool_prefix
="arm-linux-gnueabi-"
8653 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
8656 case "$aros_target_variant" in
8659 if test "$android_ndk_arch" = ""; then
8660 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
8663 aros_nominal_width
=320
8664 aros_nominal_height
=480
8665 if test "$aros_android_ndk" = "none"; then
8666 aros_kernel_cflags
="-mandroid"
8667 aros_kernel_ldflags
="-mandroid"
8670 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$kernel_tool_version/prebuilt/$android_build_os/bin:$PATH"
8671 kernel_tool_version
=""
8672 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
8673 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
8674 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
8675 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
8676 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
8679 # Disable implicit PIC mode
8680 aros_config_cflags
="$aros_config_cflags -fno-pic"
8681 kernel_tool_prefix
="$android_tool_prefix-"
8687 aros_target_arch
="pc"
8688 aros_shared_default
="no"
8689 target_bootloader
="grub2"
8690 case "$target_cpu" in
8692 aros_target_cpu
="i386"
8695 if test "$aros_object_format" = "" ; then
8696 aros_object_format
="elf_i386"
8698 aros_flavour
="standalone"
8699 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8700 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8701 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8702 aros_kernel_ldflags
="-Wl,-melf_i386"
8703 aros_nominal_width
=640
8704 aros_nominal_height
=480
8705 gcc_target_cpu
="i386"
8708 PLATFORM_EXECSMP
="#define __AROSPLATFORM_SMP__"
8709 aros_target_cpu
="x86_64"
8711 if test "$aros_object_format" = "" ; then
8712 aros_object_format
="elf_x86_64"
8714 aros_flavour
="standalone"
8715 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8716 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8717 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8718 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_OMIT_FP)"
8719 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_OMIT_FP)"
8720 aros_kernel_ldflags
=""
8721 aros_nominal_width
=640
8722 aros_nominal_height
=480
8723 case "$aros_target_variant" in
8725 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8730 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
8736 aros_target_arch
="prep"
8737 aros_shared_default
="no"
8738 aros_target_cpu
="ppc"
8739 aros_object_format
="elf32ppc"
8740 aros_flavour
="ppcnative"
8741 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8742 aros_kernel_ldflags
=""
8743 aros_nominal_width
=640
8744 aros_nominal_height
=480
8745 gcc_target_cpu
="ppc"
8753 HOST_WANTS_DLOPEN
=yes
8754 aros_target_arch
="freebsd"
8755 aros_target_family
="unix"
8756 aros_target_cpu
="i386"
8757 aros_flavour
="emulation"
8758 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8759 gcc_target_cpu
="i386"
8761 aros_target_strip_flags
="-x"
8769 HOST_WANTS_DLOPEN
=yes
8770 aros_target_arch
="darwin"
8771 aros_target_family
="unix"
8772 aros_flavour
="emulation"
8773 case "$target_cpu" in
8775 aros_ios_platform
="iPhoneSimulator"
8776 aros_target_cpu
="i386"
8777 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8778 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8779 aros_kernel_ldflags
=""
8780 aros_macosx_version
="10.4"
8781 aros_nominal_depth
=8
8782 gcc_target_cpu
="i386"
8783 aros_object_format
="elf_i386"
8784 aros_kernel_ar_flags
="-cr"
8785 aros_target_strip_flags
="-x"
8786 kernel_tool_flags
="-m32"
8789 aros_target_cpu
="x86_64"
8790 aros_object_format
="elf_x86_64"
8791 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8792 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8793 aros_macosx_version
="10.6"
8794 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
8795 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
8796 aros_kernel_cflags
="-m64"
8797 aros_kernel_ldflags
="-m64"
8798 aros_nominal_depth
=8
8799 aros_kernel_rs
="$toolchain_ar"
8800 aros_kernel_ar_flags
="-cr"
8801 aros_kernel_ld
="$toolchain_ld"
8802 aros_kernel_as
="$toolchain_as"
8803 aros_kernel_ranlib
="$toolchain_ranlib"
8804 aros_kernel_nm
="$toolchain_nm"
8805 aros_kernel_strip
="strip"
8806 kernel_tool_prefix
="i686-apple-darwin10-"
8809 aros_target_cpu
="ppc"
8810 aros_object_format
="elf32ppc"
8811 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8812 aros_kernel_ldflags
=""
8813 aros_macosx_version
="10.0"
8814 aros_nominal_depth
=8
8815 gcc_target_cpu
="ppc"
8816 aros_kernel_rs
="$toolchain_ar"
8817 aros_kernel_ar_flags
="-cr"
8818 aros_kernel_ld
="$toolchain_ld -arch ppc"
8819 aros_kernel_as
="$toolchain_as -arch ppc"
8820 aros_kernel_ranlib
="$toolchain_ranlib -arch ppc"
8821 aros_kernel_nm
="$toolchain_nm -arch ppc"
8822 aros_kernel_strip
="strip -arch ppc"
8823 kernel_tool_prefix
="powerpc-apple-darwin10-"
8826 aros_ios_platform
="iPhoneOS"
8827 aros_target_cpu
="arm"
8828 aros_object_format
="armelf_aros"
8829 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8830 aros_c_libs
="$aros_c_libs -laeabi"
8831 aros_nominal_depth
=8
8832 gcc_target_cpu
="arm"
8833 aros_kernel_rs
="$toolchain_ar"
8834 aros_kernel_ar_flags
="-cr"
8835 aros_kernel_ld
="$toolchain_ld -arch arm"
8836 aros_kernel_ranlib
="$toolchain_ranlib -arch arm"
8837 kernel_tool_prefix
="arm-apple-darwin10-"
8838 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8841 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8844 case "$aros_target_variant" in
8846 make_extra_targetcfg
="$export_newline""# Apple iOS stuff for gcc$export_newline""IOS_LDFLAGS := -F$""(IOS_SDK_PATH)/System/Library/Frameworks$export_newline"
8847 aros_ios_version
="3.0"
8848 aros_nominal_width
=320
8849 aros_nominal_height
=480
8850 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8851 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"
8852 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8853 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8855 # This is here because it may depend on iOS or SDK version
8856 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8857 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8858 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8861 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8862 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8872 HOST_WANTS_DLOPEN
=yes
8873 aros_target_arch
="dragonfly"
8874 aros_target_family
="unix"
8875 aros_flavour
="emulation"
8876 case "$target_cpu" in
8878 aros_target_cpu
="i386"
8879 aros_object_format
="elf_i386"
8880 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8881 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8884 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
8885 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
8886 aros_target_cpu
="x86_64"
8887 aros_object_format
="elf_x86_64"
8888 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8889 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8892 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8902 HOST_WANTS_DLOPEN
=yes
8903 aros_target_arch
="netbsd"
8904 aros_target_family
="unix"
8905 case "$target_cpu" in
8907 aros_target_cpu
="m68k"
8908 aros_object_format
="m68kelf"
8909 aros_flavour
="emulcompat"
8910 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8911 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
8912 gcc_target_cpu
="mc68000"
8915 aros_target_cpu
="i386"
8916 aros_object_format
="elf_i386"
8917 aros_flavour
="emulation"
8918 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8919 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8920 aros_nominal_depth
=8
8921 gcc_target_cpu
="i386"
8924 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8927 aros_target_genmap
="-Wl,-M -Xlinker >"
8928 aros_flavour
="emulation"
8929 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8937 HOST_WANTS_DLOPEN
=yes
8938 aros_target_arch
="openbsd"
8939 aros_target_family
="unix"
8940 case "$target_cpu" in
8942 aros_target_cpu
="i386"
8943 aros_object_format
="elf_i386"
8944 aros_flavour
="emulation"
8945 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8946 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8947 gcc_target_cpu
="i386"
8950 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8953 aros_target_genmap
="-Wl,-M -Xlinker >"
8954 aros_target_nm_flags
="-u"
8955 aros_flavour
="emulation"
8959 aros_target_arch
="solaris"
8960 aros_target_family
="unix"
8961 case "$target_cpu" in
8963 aros_target_cpu
="i386"
8964 aros_object_format
="elf_i386"
8965 aros_flavour
="emulation"
8966 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8967 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8968 aros_nominal_depth
=8
8969 gcc_target_cpu
="i386"
8972 aros_target_cpu
="sparc"
8973 aros_object_format
="elf_sparc"
8974 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8975 gcc_target_cpu
="sparc"
8978 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8981 aros_config_cppflags
="$aros_config_cppflags -D$aros_target_cpu"
8982 aros_flavour
="emulation"
8986 aros_target_arch
="morphos"
8987 aros_shared_default
="no"
8988 aros_target_cpu
="ppc"
8989 aros_object_format
="elf_ppc"
8990 aros_flavour
="nativecompat"
8991 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8992 gcc_target_cpu
="ppc"
8996 aros_target_arch
="sam440"
8997 aros_shared_default
="no"
8998 aros_target_cpu
="ppc"
8999 aros_object_format
="elf32ppc"
9000 aros_flavour
="ppcnative"
9001 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
9002 aros_kernel_ldflags
=""
9003 aros_nominal_width
=1024
9004 aros_nominal_height
=768
9005 aros_nominal_depth
=24
9006 aros_isa_flags
="$aros_isa_flags -mcpu=440fp -mno-toc"
9007 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
9008 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
9009 gcc_target_cpu
="powerpc"
9013 aros_target_arch
="efika"
9014 aros_shared_default
="no"
9015 aros_target_cpu
="arm"
9016 aros_object_format
="armelf_aros"
9017 aros_flavour
="standalone"
9018 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
9019 aros_kernel_ldflags
=""
9020 aros_nominal_width
=1024
9021 aros_nominal_height
=600
9022 aros_c_libs
="$aros_c_libs -laeabi"
9023 gcc_default_cpu
="armv7-a"
9024 gcc_default_fpu
="vfpv3"
9025 aros_isa_flags
="$aros_isa_flags -mtune=cortex-a8"
9026 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
9027 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
9028 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
9029 if test "$optimization" = "default"; then
9030 optimization_level
=$toolchain_size_opt_lvl
9032 case "$target_cpu" in
9034 gcc_default_float_abi
="hard"
9039 gcc_default_float_abi
="softfp"
9042 as_fn_error $?
"\"Unknown CPU for EfikaMX $target_cpu\"" "$LINENO" 5
9048 aros_target_arch
="chrp"
9049 aros_shared_default
="no"
9050 aros_target_cpu
="ppc"
9051 aros_object_format
="elf32ppc"
9052 aros_flavour
="ppcnative"
9053 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
9054 aros_kernel_ldflags
=""
9055 aros_nominal_width
=640
9056 aros_nominal_height
=480
9057 aros_isa_flags
="$aros_isa_flags -mno-toc"
9058 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
9059 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
9060 gcc_target_cpu
="powerpc"
9061 case "$aros_target_variant" in
9063 aros_isa_flags
="$aros_isa_flags -mcpu=603e"
9064 aros_config_cppflags
="$aros_config_cppflags -DBIG_ENDIAN_OHCI=1"
9070 PLATFORM_EXECSMP
="#define __AROSPLATFORM_SMP__"
9071 aros_flavour
="standalone"
9072 aros_target_arch
="raspi"
9074 aros_shared_default
="no"
9076 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__"
9078 case "$target_cpu" in
9080 aros_target_cpu
="aarch64"
9081 gcc_default_cpu
="aarch64"
9082 aros_object_format
="aarch64elf_aros"
9085 aros_target_cpu
="arm"
9086 gcc_default_cpu
="armv6zk"
9087 gcc_default_cpu_tune
="arm1176jzf-s"
9088 aros_object_format
="armelf_aros"
9089 aros_isa_flags
="$aros_isa_flags -marm"
9090 aros_config_cflags
="$aros_config_cflags"
9091 aros_config_cxxflags
="$aros_config_cxxflags"
9092 aros_config_aflags
="$aros_config_aflags -marm"
9093 aros_kernel_cflags
="$aros_kernel_cflags -marm"
9094 aros_target_mkdep
="$aros_target_mkdep -Darm"
9095 aros_c_libs
="$aros_c_libs -laeabi"
9098 aros_flavour
="standcompat"
9099 aros_target_cpu
="armeb"
9100 gcc_default_float_abi
="hard"
9101 gcc_default_cpu
="armv7ve"
9102 gcc_default_cpu_tune
="cortex-a7"
9103 aros_object_format
="armelfb_aros"
9104 aros_isa_flags
="$aros_isa_flags -marm"
9105 aros_config_cflags
="$aros_config_cflags"
9106 aros_config_cxxflags
="$aros_config_cxxflags"
9107 aros_config_aflags
="$aros_config_aflags -marm"
9108 aros_kernel_cflags
="$aros_kernel_cflags -marm"
9109 aros_target_mkdep
="$aros_target_mkdep -Darm"
9110 aros_c_libs
="$aros_c_libs -laeabi"
9113 aros_target_cpu
="arm"
9114 gcc_default_cpu
="armv6zk"
9115 gcc_default_cpu_tune
="arm1176jzf-s"
9116 aros_object_format
="armelf_aros"
9117 aros_isa_flags
="$aros_isa_flags -marm"
9118 aros_config_cflags
="$aros_config_cflags"
9119 aros_config_cxxflags
="$aros_config_cxxflags"
9120 aros_config_aflags
="$aros_config_aflags -marm"
9121 aros_kernel_cflags
="$aros_kernel_cflags -marm"
9122 aros_target_mkdep
="$aros_target_mkdep -Darm"
9123 aros_c_libs
="$aros_c_libs -laeabi"
9126 as_fn_error $?
"\"Unknown CPU for RasPi $target_cpu\"" "$LINENO" 5
9130 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9131 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9132 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9133 aros_kernel_cflags
="$aros_kernel_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9135 case "$aros_target_variant" in
9137 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
9143 aros_flavour
="standalone"
9144 aros_target_arch
="stm32f7_discovery"
9145 aros_target_cpu
="arm"
9146 aros_target_cpu_mode
="thumb2"
9147 aros_object_format
="armelf_aros"
9148 aros_shared_default
="no"
9150 gcc_default_cpu
="armv7e-m"
9151 gcc_default_cpu_tune
="cortex-m7"
9152 gcc_default_fpu
="fpv5-sp-d16"
9153 gcc_default_float_abi
="hard"
9155 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dthumb"
9159 aros_elf_translate
="$""(ELF2HUNK)"
9160 make_extra_commands
="$export_newline""ELF2HUNK := $""(TOOLDIR)/elf2hunk$""(HOST_EXE_SUFFIX)$export_newline"
9161 aros_target_arch
="amiga"
9162 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
9163 aros_shared_default
="no"
9165 case "$target_cpu" in
9167 # Check whether --enable-amigaos_compliance was given.
9168 if test "${enable_amigaos_compliance+set}" = set; then :
9169 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
9173 aros_target_cpu
="m68k"
9174 aros_object_format
="m68kelf"
9175 aros_flavour
="standcompat"
9176 gcc_target_cpu
="m68000"
9177 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
9178 aros_nowarn_flags
="$aros_nowarn_flags NOWARN_VOLATILE_REGISTER_VAR"
9179 aros_config_cppflags
="$aros_config_cppflags -DNOLIBINLINE"
9180 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_FREESTANDING) $""(CFLAGS_OMIT_FP) $""(CFLAGS_BUILTIN)"
9181 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_FREESTANDING) $""(CFLAGS_OMIT_FP) $""(CFLAGS_BUILTIN)"
9182 if test "$optimization" = "default"; then
9183 optimization_level
=$toolchain_size_opt_lvl
9185 aros_config_aflags
="$aros_config_aflags"
9186 aros_target_strip_flags
="-R.comment --strip-debug"
9187 aros_nominal_width
=640
9188 aros_nominal_height
=256
9189 aros_nominal_depth
=2
9193 aros_flavour
="native"
9194 gcc_target_cpu
="ppc"
9197 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
9203 aros_target_arch
="mingw32"
9204 aros_shared_default
="no"
9205 aros_flavour
="emulation"
9206 aros_shared_cflags
=""
9207 need_crosstools
="yes"
9210 case "$target_cpu" in
9212 aros_target_cpu
="i386"
9213 aros_object_format
="elf_i386"
9214 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
9215 aros_isa_flags
="$""(ISA_X86_FLAGS)"
9216 aros_nominal_depth
=8
9217 gcc_target_cpu
="i386"
9219 kernel_tool_prefix
="i386-mingw32-"
9222 aros_target_cpu
="x86_64"
9223 aros_object_format
="elf_x86_64"
9224 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
9225 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
9226 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
9227 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
9228 aros_nominal_depth
=8
9229 kernel_tool_prefix
="x86_64-w64-mingw32-"
9232 aros_target_cpu
="arm"
9233 aros_object_format
="armelf_aros"
9234 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
9235 aros_c_libs
="$aros_c_libs -laeabi"
9236 aros_nominal_depth
=8
9237 gcc_target_cpu
="arm"
9238 gcc_default_float_abi
="soft"
9239 kernel_tool_prefix
="arm-mingw32ce-"
9240 aros_nominal_width
=160
9241 aros_nominal_height
=160
9244 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
9247 if test $host_os = "cygwin"; then
9248 aros_kernel_cflags
="-mno-cygwin"
9252 aros_target_arch
="pp"
9253 aros_shared_default
="no"
9254 case "$target_cpu" in
9256 aros_target_cpu
="m68k"
9257 aros_object_format
="m68kelf"
9258 aros_flavour
="palmnative"
9259 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
9260 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
9261 aros_nominal_width
=160
9262 aros_nominal_height
=160
9263 aros_nominal_depth
=1
9264 aros_target_ar_flags
="cru"
9265 aros_c_libs
="$aros_c_libs -lgcc1"
9266 aros_shared_default
=no
9267 aros_shared_cflags
="-fpic"
9268 aros_shared_aflags
=""
9269 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
9270 aros_kernel_ldflags
="-Wl,-rpath,./lib"
9271 aros_debug_cppflags
="$aros_messages_debug"
9272 aros_debug_cflags
="$aros_symbols_debug"
9273 aros_debug_aflags
=""
9274 aros_debug_ldflags
="$aros_symbols_debug"
9275 aros_mungwall_debug
="0"
9276 aros_modules_debug
="0"
9277 gcc_target_cpu
="mc68000"
9278 ignore_undefined_symbols
="-ius"
9281 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
9287 aros_target_arch
="mac"
9288 aros_shared_default
="no"
9289 case "$target_cpu" in
9291 aros_target_cpu
="m68k"
9292 aros_object_format
="m68kelf"
9293 aros_flavour
="mac68knative"
9294 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
9295 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
9296 aros_nominal_width
=512
9297 aros_nominal_height
=384
9298 aros_nominal_depth
=8
9299 aros_target_ar_flags
="cru"
9300 aros_c_libs
="$aros_c_libs -lgcc1"
9301 aros_shared_default
=no
9302 aros_shared_cflags
="-fpic"
9303 aros_shared_aflags
=""
9304 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
9305 aros_kernel_ldflags
="-Wl,-rpath,./lib"
9306 aros_debug_cppflags
="$aros_messages_debug"
9307 aros_debug_cflags
="$aros_symbols_debug"
9308 aros_debug_aflags
=""
9309 aros_debug_ldflags
="$aros_symbols_debug"
9310 aros_mungwall_debug
="0"
9311 aros_modules_debug
="0"
9312 gcc_target_cpu
="mc68000"
9313 ignore_undefined_symbols
="-ius"
9316 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
9322 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
9326 #-----------------------------------------------------------------------------
9327 crosstools_guess
="yes"
9328 aros_target_toolchain
="no"
9329 aros_kernel_sysroot
=""
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
9332 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
9334 # Check whether --with-kernel-toolchain-prefix was given.
9335 if test "${with_kernel_toolchain_prefix+set}" = set; then :
9336 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
9340 $as_echo "$kernel_tool_prefix" >&6; }
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
9343 $as_echo_n "checking ELF toolchain prefix... " >&6; }
9345 # Check whether --with-elf-toolchain-prefix was given.
9346 if test "${with_elf_toolchain_prefix+set}" = set; then :
9347 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
9348 crosstools_guess
="no"
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
9352 $as_echo "$elf_tool_prefix" >&6; }
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
9355 $as_echo_n "checking AROS toolchain prefix... " >&6; }
9357 # Check whether --with-aros-toolchain was given.
9358 if test "${with_aros_toolchain+set}" = set; then :
9359 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
9360 crosstools_guess
="no"
9363 if test "$aros_tool_prefix" = "yes" ; then
9364 aros_tool_prefix
=$aros_target_cpu-aros-
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
9367 $as_echo "$aros_tool_prefix" >&6; }
9369 #-----------------------------------------------------------------------------
9370 # Checking if we should build crosstools..
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
9372 $as_echo_n "checking whether to build crosstools... " >&6; }
9373 # Check whether --enable-crosstools was given.
9374 if test "${enable_crosstools+set}" = set; then :
9375 enableval
=$enable_crosstools; crosstools
="$enableval"
9377 crosstools
="$crosstools_guess"
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
9381 $as_echo "$crosstools" >&6; }
9383 if test "${crosstools}" = "yes"; then
9384 if test "${crosstools_guess}" = "no"; then
9385 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
9389 if test "${crosstools}" = "yes" ||
test "${crosstools_guess}" = "no"; then
9390 aros_target_toolchain
="yes"
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
9394 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
9396 # Check whether --with-aros-toolchain-install was given.
9397 if test "${with_aros_toolchain_install+set}" = set; then :
9398 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
9401 if test "x$aros_toolchain_install" = "x"; then
9402 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
9404 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
9405 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
9406 if test "$crosstools_guess" = "no" ; then
9407 if test "x-$aros_flavour" != "x-emulation" -a "x-$aros_flavour" != "x-emulcompat" ; then
9408 aros_kernel_sysroot
="$""(TARGET_SYSROOT)"
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
9413 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
9415 #-----------------------------------------------------------------------------
9416 if test "$aros_toolchain" = "gnu" ; then
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target binutils version to use" >&5
9418 $as_echo_n "checking what specific target binutils version to use... " >&6; }
9421 # Check whether --with-binutils-version was given.
9422 if test "${with_binutils_version+set}" = set; then :
9423 withval
=$with_binutils_version; use_binutils_version
="$withval"
9425 use_binutils_version
=""
9428 if test "$use_binutils_version" = ""; then
9429 target_binutils_version
="$default_binutils_version"
9431 target_binutils_version
="$use_binutils_version"
9433 if test "$aros_toolchain" = "gnu" ; then
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_binutils_version" >&5
9435 $as_echo "$target_binutils_version" >&6; }
9439 # Helper to identify gcc version
9442 #-----------------------------------------------------------------------------
9443 if test "$aros_toolchain" = "gnu" ; then
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
9445 $as_echo_n "checking what specific target gcc version to use... " >&6; }
9448 # Check whether --with-gcc-version was given.
9449 if test "${with_gcc_version+set}" = set; then :
9450 withval
=$with_gcc_version; use_gcc_version
="$withval"
9455 if test "$use_gcc_version" = ""; then
9456 if test "${crosstools}" = "no"; then
9457 if test "x$aros_toolchain_install" != "x"; then
9459 target_gcc_version
=""
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
9461 $as_echo_n "checking gcc version... " >&6; }
9462 if ${ax_cv_gcc_version+:} false
; then :
9463 $as_echo_n "(cached) " >&6
9466 ax_cv_gcc_version
="`$AROS_CROSSTOOLSDIR/${aros_tool_prefix}${toolchain_cpp_preprocessor}$(toolchain_cpp_opts) -dumpversion`"
9467 if test "x$ax_cv_gcc_version" = "x"; then :
9469 ax_cv_gcc_version
=""
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_version" >&5
9475 $as_echo "$ax_cv_gcc_version" >&6; }
9476 target_gcc_version
=$ax_cv_gcc_version
9481 if test "$use_gcc_version" = ""; then
9482 target_gcc_version
="$default_gcc_version"
9485 target_gcc_version
="$use_gcc_version"
9487 if test "$aros_toolchain" = "gnu" ; then
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_gcc_version" >&5
9489 $as_echo "$target_gcc_version" >&6; }
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version string style" >&5
9492 $as_echo_n "checking version string style... " >&6; }
9493 if test "${target_gcc_version#*$'-'}" != "$target_gcc_version" ; then
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: snapshot" >&5
9495 $as_echo "snapshot" >&6; }
9496 GCC_VERSION_MAJOR
=$
(echo $target_gcc_version | cut
-d'-' -f1)
9497 GCC_VERSION_MINOR
=-1
9498 GCC_VERSION_PATCH
=-1
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: release" >&5
9501 $as_echo "release" >&6; }
9502 GCC_VERSION_MAJOR
=$
(echo $target_gcc_version | cut
-d'.' -f1)
9503 GCC_VERSION_MINOR
=$
(echo $target_gcc_version | cut
-d'.' -f2)
9504 GCC_VERSION_PATCH
=$
(echo $target_gcc_version | cut
-d'.' -f3)
9507 gcc_fix_bitfields
="false"
9508 if test "$GCC_VERSION_MAJOR" -gt "4" ; then
9509 gcc_fix_bitfields
="true"
9511 if test "$GCC_VERSION_MAJOR" -gt "3" ; then
9512 if test "$GCC_VERSION_MINOR" -gt "6" ; then
9513 gcc_fix_bitfields
="true"
9518 if test "$gcc_fix_bitfields" = "true" ; then
9519 case "$aros_target_cpu" in
9521 x86_isa_extra
="$x86_isa_extra $""(CFLAGS_NO_MS_BITFIELDS)"
9522 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_MS_BITFIELDS)"
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Objective-C suppport" >&5
9529 $as_echo_n "checking whether to enable Objective-C suppport... " >&6; }
9530 # Check whether --enable-objc was given.
9531 if test "${enable_objc+set}" = set; then :
9532 enableval
=$enable_objc; objc
="$enableval"
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objc" >&5
9538 $as_echo "$objc" >&6; }
9539 if test "x$objc" = "xyes"; then
9542 objc_target
="no-objc"
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Java suppport" >&5
9546 $as_echo_n "checking whether to enable Java suppport... " >&6; }
9547 # Check whether --enable-java was given.
9548 if test "${enable_java+set}" = set; then :
9549 enableval
=$enable_java; java
="$enableval"
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $java" >&5
9555 $as_echo "$java" >&6; }
9556 if test "x$java" != "xno"; then
9559 java_target
="no-java"
9562 spec_obj_format
="-m $aros_object_format"
9563 # Now process extra architecture-specific options.
9564 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
9565 # as well as floating-point ABI.
9566 case "$aros_target_cpu" in
9568 aros_isa_targets
="M68K_ISA_TARGETS :=MC68020 MC68040"
9569 aros_isa_extra
="$aros_isa_extra$export_newline$aros_isa_targets$export_newline"
9570 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"
9571 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"
9572 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"
9573 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"
9574 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"
9577 aros_isa_extra
="$export_newline$x86_isa_extra$export_newline$x86_64_isa_extra$export_newline"
9578 spec_obj_format
="%{!m32:-m elf_x86_64} %{m32:-m elf_i386}"
9581 if test "$gcc_default_cpu" = ""; then
9582 gcc_default_cpu
="armv6"
9584 if test "$gcc_default_fpu" = ""; then
9585 gcc_default_fpu
="vfp"
9587 if test "$gcc_default_endian" = ""; then
9588 if test "$target_cpu" = "armeb"; then
9589 gcc_default_endian
="big-endian"
9591 gcc_default_endian
="little-endian"
9594 if test "$gcc_default_float_abi" = ""; then
9595 if test "$target_cpu" = "armhf"; then
9596 gcc_default_float_abi
="hard"
9598 gcc_default_float_abi
="softfp"
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
9603 $as_echo_n "checking Which minimum CPU to use... " >&6; }
9605 # Check whether --with-cpu was given.
9606 if test "${with_cpu+set}" = set; then :
9607 withval
=$with_cpu; aros_gcc_cpu
="$withval"
9609 aros_gcc_cpu
=$gcc_default_cpu
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
9613 $as_echo "$aros_gcc_cpu" >&6; }
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
9616 $as_echo_n "checking Which minimum FPU to use... " >&6; }
9618 # Check whether --with-fpu was given.
9619 if test "${with_fpu+set}" = set; then :
9620 withval
=$with_fpu; aros_gcc_fpu
="$withval"
9622 aros_gcc_fpu
=$gcc_default_fpu
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
9626 $as_echo "$aros_gcc_fpu" >&6; }
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
9629 $as_echo_n "checking Which floating point ABI to use... " >&6; }
9631 # Check whether --with-float was given.
9632 if test "${with_float+set}" = set; then :
9633 withval
=$with_float; aros_gcc_float_abi
="$withval"
9635 aros_gcc_float_abi
=$gcc_default_float_abi
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
9639 $as_echo "$aros_gcc_float_abi" >&6; }
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which ARM mode to use" >&5
9642 $as_echo_n "checking Which ARM mode to use... " >&6; }
9643 if test "$aros_target_cpu_mode" = ""; then
9644 aros_target_cpu_mode
="arm32"
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Defaulting to $aros_target_cpu_mode" >&5
9646 $as_echo "Defaulting to $aros_target_cpu_mode" >&6; }
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cpu_mode" >&5
9649 $as_echo "$aros_target_cpu_mode" >&6; }
9652 case "$aros_target_cpu_mode" in
9654 gcc_default_mode
="arm"
9655 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"
9658 as_fn_error $?
"ARM 64-bit mode is unsupported" "$LINENO" 5
9661 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9664 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9667 gcc_default_mode
="thumb"
9668 # Do not specify -mthumb-interwork as it may add extra code to support arm/thumb interwork
9669 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"
9672 as_fn_error $?
"Unsupported ARM mode specified $aros_target_cpu_mode" "$LINENO" 5
9676 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9677 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9678 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9681 aros_isa_extra
="$x86_isa_extra$export_newline$x86_64_isa_extra$export_newline"
9682 aros_kernel_ldflags
="$aros_kernel_ldflags -m32"
9686 # Some architectures may need custom ELF specs.
9687 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
9688 elf_specs_in
=config
/${aros_object_format}-specs.
in
9690 elf_specs_in
=config
/elf-specs.
in
9693 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
9694 # Since we override specs, we may need to put these defines there
9695 if test "$gcc_target_cpu" != ""; then
9696 gcc_target_cpu
="-D__${gcc_target_cpu}__"
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
9700 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
9702 # Check whether --with-portssources was given.
9703 if test "${with_portssources+set}" = set; then :
9704 withval
=$with_portssources; with_portssrcdir
=$withval
9706 with_portssrcdir
="default"
9709 if test "$with_portssrcdir" = "default"; then
9710 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
9712 AROS_PORTSSRCDIR
="$with_portssrcdir"
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
9715 $as_echo "$AROS_PORTSSRCDIR" >&6; }
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
9718 $as_echo_n "checking which bootloader to use... " >&6; }
9720 # Check whether --with-bootloader was given.
9721 if test "${with_bootloader+set}" = set; then :
9722 withval
=$with_bootloader; target_bootloader
=$withval
9724 target_bootloader
=$target_bootloader
9727 if test "$target_bootloader" = "none"; then
9728 aros_target_bootloader
=""
9730 aros_target_bootloader
="$target_bootloader"
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
9733 $as_echo "$target_bootloader" >&6; }
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
9736 $as_echo_n "checking which icon-set to use... " >&6; }
9738 # Check whether --with-iconset was given.
9739 if test "${with_iconset+set}" = set; then :
9740 withval
=$with_iconset; target_iconset
=$withval
9742 target_iconset
="default"
9745 if test "$target_iconset" = "default"; then
9746 aros_target_iconset
="Gorilla"
9747 target_iconset
="default (Gorilla)"
9749 aros_target_iconset
="$target_iconset"
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
9752 $as_echo "$target_iconset" >&6; }
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
9755 $as_echo_n "checking which GUI Theme to use... " >&6; }
9757 # Check whether --with-theme was given.
9758 if test "${with_theme+set}" = set; then :
9759 withval
=$with_theme; target_guitheme
=$withval
9761 target_guitheme
="default"
9764 if test "$target_guitheme" = "default"; then
9765 aros_target_guitheme
="Ice"
9767 aros_target_guitheme
="$target_guitheme"
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
9770 $as_echo "$aros_target_guitheme" >&6; }
9772 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
9776 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9780 if test "$aros_host_cpu" == "x86_64" ; then
9781 if test "$aros_target_cpu" == "i386" ; then
9786 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9787 if test "$aros_host_arch" != "$aros_target_arch" ; then
9794 if test "$cross_compiling" = "no" ; then
9795 kernel_tool_prefix
=""
9796 if test "$host_cc_elf" = "yes" ; then
9801 if test "$kernel_tool_version" != ""; then
9802 kernel_tool_version
="-$kernel_tool_version"
9805 #######################################################################
9806 ## Compute what toolchains to use, and their paths ##
9807 #######################################################################
9809 # This takes, as input:
9810 # crosstools {yes,no}
9811 # kernel_tool_version {"",[version]}
9812 # target_tool_version {"",[version]}
9813 # kernel_tool_prefix {none,[some-arch-os-]}
9815 # target_tool_prefix ${aros_target_cpu}-aros-
9816 # aros_tool_prefix ${aros_target_cpu}-aros-
9819 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9820 # Where the 'kernel' binaries are located
9821 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9822 # Where the 'target' binaries are located
9823 # (not the symlink farm - that is aros_target_*!)
9826 # if crosstools then
9827 # if kernel_tools_prefix = "no-kernel-prefix-"
9828 # aros_kernel_* = crosstools cc paths
9829 # aros_kernel_cc = elf cc wrapper around crosstools cc
9831 # VALIDATE(${kernel_tools_prefix}*)
9832 # aros_kernel_* = ${kernel_tools_prefix}*
9833 # if ${kernel_tools_prefix}cc is an AROS gcc
9834 # aros_kernel_cc = ${kernel_tools_prefix}cc
9836 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
9840 # orig_target_* = aros built crosstools
9841 # orig_target_cc = elf cc wrapper around crosstools cc
9843 # VALIDATE(${kernel_tools_prefix}*)
9845 # orig_target_* = aros_kernel_*
9846 # if aros_kernel_cc is an AROS gcc
9847 # orig_target_cc = aros_kernel_cc
9849 # orig_target_cc = aros cc wrapper around aros_kernel_cc
9853 if test "$aros_toolchain" = "gnu" ; then
9854 target_tool_prefix
="${aros_target_cpu}-aros-"
9855 elif test "$aros_toolchain" = "llvm" ; then
9856 target_tool_prefix
="bin/"
9859 if test "$kernel_tool_prefix" != "" ; then
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
9861 $as_echo_n "checking which kernel tools... " >&6; }
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
9863 $as_echo "$kernel_tool_prefix" >&6; };
9866 if test "$kernel_tool_prefix" = "none" ; then
9867 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9868 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
9871 if test "x-$aros_flavour" != "x-standalone" -o "x-$aros_flavour" != "x-standcompat" ; then
9872 # Kernel tools required - find them
9873 # Note that 'normally', aros_kernel_* overrides will be
9874 # empty, unless specified in the per-arch sections above.
9876 if test "x$aros_kernel_cpp" = "x"; then
9877 aros_kernel_cpp
=${kernel_tool_prefix}${CPP}
9879 if test "${kernel_tool_version}" != ""; then
9880 if test "$aros_kernel_cpp" != ""; then
9881 ac_prog_args
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9882 ac_prog_cmd
=`expr "X$aros_kernel_cpp" : '^\S*'`
9883 aros_kernel_cpp
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9887 if test "$aros_kernel_cpp" = ""; then
9888 if test "$cross_compiling" = "yes" ; then
9889 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
9890 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9892 $as_echo_n "checking for $ac_word... " >&6; }
9893 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9894 $as_echo_n "(cached) " >&6
9896 case $aros_kernel_cpp in
9898 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9905 test -z "$as_dir" && as_dir
=.
9906 for ac_exec_ext
in '' $ac_executable_extensions; do
9907 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9908 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9919 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9920 if test -n "$aros_kernel_cpp"; then
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9922 $as_echo "$aros_kernel_cpp" >&6; }
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9925 $as_echo "no" >&6; }
9931 if test "" = ""; then
9936 if test "$GCC" = "yes"; then
9937 aros_gcc_cpp
=`$CC -print-prog-name=$ac_tool_cpp`
9938 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
9939 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9941 $as_echo_n "checking for $ac_word... " >&6; }
9942 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9943 $as_echo_n "(cached) " >&6
9945 case $aros_kernel_cpp in
9947 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9951 for as_dir
in `dirname $aros_gcc_cpp`
9954 test -z "$as_dir" && as_dir
=.
9955 for ac_exec_ext
in '' $ac_executable_extensions; do
9956 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9957 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9968 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9969 if test -n "$aros_kernel_cpp"; then
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9971 $as_echo "$aros_kernel_cpp" >&6; }
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9974 $as_echo "no" >&6; }
9979 if test "$aros_kernel_cpp" = ""; then
9980 for ac_prog
in $ac_tool_cpp
9982 # Extract the first word of "$ac_prog", so it can be a program name with args.
9983 set dummy
$ac_prog; ac_word
=$2
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9985 $as_echo_n "checking for $ac_word... " >&6; }
9986 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9987 $as_echo_n "(cached) " >&6
9989 case $aros_kernel_cpp in
9991 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9998 test -z "$as_dir" && as_dir
=.
9999 for ac_exec_ext
in '' $ac_executable_extensions; do
10000 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10001 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
10002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10012 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
10013 if test -n "$aros_kernel_cpp"; then
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
10015 $as_echo "$aros_kernel_cpp" >&6; }
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10018 $as_echo "no" >&6; }
10022 test -n "$aros_kernel_cpp" && break
10029 ac_tool_optarg
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
10030 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
10031 set dummy
$aros_kernel_cpp; ac_word
=$2
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10033 $as_echo_n "checking for $ac_word... " >&6; }
10034 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
10035 $as_echo_n "(cached) " >&6
10037 case $aros_kernel_cpp in
10039 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
10042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10043 for as_dir
in $PATH
10046 test -z "$as_dir" && as_dir
=.
10047 for ac_exec_ext
in '' $ac_executable_extensions; do
10048 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10049 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
10050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10060 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
10061 if test -n "$aros_kernel_cpp"; then
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
10063 $as_echo "$aros_kernel_cpp" >&6; }
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10066 $as_echo "no" >&6; }
10070 aros_kernel_cpp
="$aros_kernel_cpp $ac_tool_optarg"
10074 if test "$aros_kernel_cpp" = ""; then
10077 if test "$aros_kernel_cpp" = "no"; then
10080 if test "$req_avail" = "no"; then
10081 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
10084 if test "x$aros_kernel_cc" = "x"; then
10085 aros_kernel_cc
=${kernel_tool_prefix}${CC}
10087 if test "${kernel_tool_version}" != ""; then
10088 if test "$aros_kernel_cc" != ""; then
10089 ac_prog_args
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
10090 ac_prog_cmd
=`expr "X$aros_kernel_cc" : '^\S*'`
10091 aros_kernel_cc
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
10095 if test "$aros_kernel_cc" = ""; then
10096 if test "$cross_compiling" = "yes" ; then
10097 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
10098 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10100 $as_echo_n "checking for $ac_word... " >&6; }
10101 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
10102 $as_echo_n "(cached) " >&6
10104 case $aros_kernel_cc in
10106 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
10109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10110 for as_dir
in $PATH
10113 test -z "$as_dir" && as_dir
=.
10114 for ac_exec_ext
in '' $ac_executable_extensions; do
10115 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10116 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
10117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10127 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
10128 if test -n "$aros_kernel_cc"; then
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
10130 $as_echo "$aros_kernel_cc" >&6; }
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10133 $as_echo "no" >&6; }
10139 if test "" = ""; then
10144 if test "$GCC" = "yes"; then
10145 aros_gcc_cc
=`$CC -print-prog-name=$ac_tool_cc`
10146 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
10147 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10149 $as_echo_n "checking for $ac_word... " >&6; }
10150 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
10151 $as_echo_n "(cached) " >&6
10153 case $aros_kernel_cc in
10155 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
10158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10159 for as_dir
in `dirname $aros_gcc_cc`
10162 test -z "$as_dir" && as_dir
=.
10163 for ac_exec_ext
in '' $ac_executable_extensions; do
10164 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10165 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
10166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10176 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
10177 if test -n "$aros_kernel_cc"; then
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
10179 $as_echo "$aros_kernel_cc" >&6; }
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10182 $as_echo "no" >&6; }
10187 if test "$aros_kernel_cc" = ""; then
10188 for ac_prog
in $ac_tool_cc
10190 # Extract the first word of "$ac_prog", so it can be a program name with args.
10191 set dummy
$ac_prog; ac_word
=$2
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10193 $as_echo_n "checking for $ac_word... " >&6; }
10194 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
10195 $as_echo_n "(cached) " >&6
10197 case $aros_kernel_cc in
10199 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
10202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10203 for as_dir
in $PATH
10206 test -z "$as_dir" && as_dir
=.
10207 for ac_exec_ext
in '' $ac_executable_extensions; do
10208 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10209 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
10210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10220 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
10221 if test -n "$aros_kernel_cc"; then
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
10223 $as_echo "$aros_kernel_cc" >&6; }
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10226 $as_echo "no" >&6; }
10230 test -n "$aros_kernel_cc" && break
10237 ac_tool_optarg
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
10238 # Extract the first word of "$aros_kernel_cc", so it can be a program name with args.
10239 set dummy
$aros_kernel_cc; ac_word
=$2
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10241 $as_echo_n "checking for $ac_word... " >&6; }
10242 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
10243 $as_echo_n "(cached) " >&6
10245 case $aros_kernel_cc in
10247 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
10250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10251 for as_dir
in $PATH
10254 test -z "$as_dir" && as_dir
=.
10255 for ac_exec_ext
in '' $ac_executable_extensions; do
10256 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10257 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
10258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10268 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
10269 if test -n "$aros_kernel_cc"; then
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
10271 $as_echo "$aros_kernel_cc" >&6; }
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10274 $as_echo "no" >&6; }
10278 aros_kernel_cc
="$aros_kernel_cc $ac_tool_optarg"
10282 if test "$aros_kernel_cc" = ""; then
10285 if test "$aros_kernel_cc" = "no"; then
10288 if test "$req_avail" = "no"; then
10289 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
10292 if test "x$aros_kernel_cxx" = "x"; then
10293 aros_kernel_cxx
=${kernel_tool_prefix}${CXX}
10295 if test "${kernel_tool_version}" != ""; then
10296 if test "$aros_kernel_cxx" != ""; then
10297 ac_prog_args
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
10298 ac_prog_cmd
=`expr "X$aros_kernel_cxx" : '^\S*'`
10299 aros_kernel_cxx
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
10303 if test "$aros_kernel_cxx" = ""; then
10304 if test "$cross_compiling" = "yes" ; then
10305 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
10306 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10308 $as_echo_n "checking for $ac_word... " >&6; }
10309 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10310 $as_echo_n "(cached) " >&6
10312 case $aros_kernel_cxx in
10314 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10318 for as_dir
in $PATH
10321 test -z "$as_dir" && as_dir
=.
10322 for ac_exec_ext
in '' $ac_executable_extensions; do
10323 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10324 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10335 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10336 if test -n "$aros_kernel_cxx"; then
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10338 $as_echo "$aros_kernel_cxx" >&6; }
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10341 $as_echo "no" >&6; }
10347 if test "" = ""; then
10352 if test "$GCC" = "yes"; then
10353 aros_gcc_cxx
=`$CC -print-prog-name=$ac_tool_cxx`
10354 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
10355 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10357 $as_echo_n "checking for $ac_word... " >&6; }
10358 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10359 $as_echo_n "(cached) " >&6
10361 case $aros_kernel_cxx in
10363 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10367 for as_dir
in `dirname $aros_gcc_cxx`
10370 test -z "$as_dir" && as_dir
=.
10371 for ac_exec_ext
in '' $ac_executable_extensions; do
10372 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10373 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10384 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10385 if test -n "$aros_kernel_cxx"; then
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10387 $as_echo "$aros_kernel_cxx" >&6; }
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10390 $as_echo "no" >&6; }
10395 if test "$aros_kernel_cxx" = ""; then
10396 for ac_prog
in $ac_tool_cxx
10398 # Extract the first word of "$ac_prog", so it can be a program name with args.
10399 set dummy
$ac_prog; ac_word
=$2
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10401 $as_echo_n "checking for $ac_word... " >&6; }
10402 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10403 $as_echo_n "(cached) " >&6
10405 case $aros_kernel_cxx in
10407 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10411 for as_dir
in $PATH
10414 test -z "$as_dir" && as_dir
=.
10415 for ac_exec_ext
in '' $ac_executable_extensions; do
10416 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10417 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10428 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10429 if test -n "$aros_kernel_cxx"; then
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10431 $as_echo "$aros_kernel_cxx" >&6; }
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10434 $as_echo "no" >&6; }
10438 test -n "$aros_kernel_cxx" && break
10445 ac_tool_optarg
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
10446 # Extract the first word of "$aros_kernel_cxx", so it can be a program name with args.
10447 set dummy
$aros_kernel_cxx; ac_word
=$2
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10449 $as_echo_n "checking for $ac_word... " >&6; }
10450 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10451 $as_echo_n "(cached) " >&6
10453 case $aros_kernel_cxx in
10455 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10459 for as_dir
in $PATH
10462 test -z "$as_dir" && as_dir
=.
10463 for ac_exec_ext
in '' $ac_executable_extensions; do
10464 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10465 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10476 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10477 if test -n "$aros_kernel_cxx"; then
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10479 $as_echo "$aros_kernel_cxx" >&6; }
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10482 $as_echo "no" >&6; }
10486 aros_kernel_cxx
="$aros_kernel_cxx $ac_tool_optarg"
10489 # If it's set, make sure it's really there
10490 if test "x$aros_kernel_cxx" != "x" ; then
10492 if test "$aros_kernel_cxx" = ""; then
10495 if test "$aros_kernel_cxx" = "no"; then
10498 if test "$req_avail" = "no"; then
10499 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
10502 if test "x$aros_kernel_ld" = "x"; then
10503 aros_kernel_ld
=$aros_host_ld
10506 if test "$aros_kernel_ld" = ""; then
10507 if test "$cross_compiling" = "yes" ; then
10508 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
10509 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10511 $as_echo_n "checking for $ac_word... " >&6; }
10512 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10513 $as_echo_n "(cached) " >&6
10515 case $aros_kernel_ld in
10517 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10521 for as_dir
in $PATH
10524 test -z "$as_dir" && as_dir
=.
10525 for ac_exec_ext
in '' $ac_executable_extensions; do
10526 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10527 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10538 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10539 if test -n "$aros_kernel_ld"; then
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10541 $as_echo "$aros_kernel_ld" >&6; }
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10544 $as_echo "no" >&6; }
10550 if test "" = ""; then
10555 if test "$GCC" = "yes"; then
10556 aros_gcc_ld
=`$CC -print-prog-name=$ac_tool_ld`
10557 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
10558 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10560 $as_echo_n "checking for $ac_word... " >&6; }
10561 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10562 $as_echo_n "(cached) " >&6
10564 case $aros_kernel_ld in
10566 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10570 for as_dir
in `dirname $aros_gcc_ld`
10573 test -z "$as_dir" && as_dir
=.
10574 for ac_exec_ext
in '' $ac_executable_extensions; do
10575 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10576 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10587 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10588 if test -n "$aros_kernel_ld"; then
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10590 $as_echo "$aros_kernel_ld" >&6; }
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10593 $as_echo "no" >&6; }
10598 if test "$aros_kernel_ld" = ""; then
10599 for ac_prog
in $ac_tool_ld
10601 # Extract the first word of "$ac_prog", so it can be a program name with args.
10602 set dummy
$ac_prog; ac_word
=$2
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10604 $as_echo_n "checking for $ac_word... " >&6; }
10605 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10606 $as_echo_n "(cached) " >&6
10608 case $aros_kernel_ld in
10610 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10614 for as_dir
in $PATH
10617 test -z "$as_dir" && as_dir
=.
10618 for ac_exec_ext
in '' $ac_executable_extensions; do
10619 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10620 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10631 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10632 if test -n "$aros_kernel_ld"; then
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10634 $as_echo "$aros_kernel_ld" >&6; }
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10637 $as_echo "no" >&6; }
10641 test -n "$aros_kernel_ld" && break
10648 ac_tool_optarg
=`expr "X$aros_kernel_ld" : '[^ ]* \(.*\)'`
10649 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
10650 set dummy
$aros_kernel_ld; ac_word
=$2
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10652 $as_echo_n "checking for $ac_word... " >&6; }
10653 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10654 $as_echo_n "(cached) " >&6
10656 case $aros_kernel_ld in
10658 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10662 for as_dir
in $PATH
10665 test -z "$as_dir" && as_dir
=.
10666 for ac_exec_ext
in '' $ac_executable_extensions; do
10667 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10668 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10679 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10680 if test -n "$aros_kernel_ld"; then
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10682 $as_echo "$aros_kernel_ld" >&6; }
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10685 $as_echo "no" >&6; }
10689 aros_kernel_ld
="$aros_kernel_ld $ac_tool_optarg"
10693 if test "$aros_kernel_ld" = ""; then
10696 if test "$aros_kernel_ld" = "no"; then
10699 if test "$req_avail" = "no"; then
10700 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10702 if test "x$aros_kernel_as" = "x"; then
10703 aros_kernel_as
=$aros_host_as
10704 if test "x$aros_kernel_as" = "x"; then
10705 aros_kernel_as
=${HOST_TOOLCHAIN_PREFIX}as
${HOST_TOOLCHAIN_SUFFIX}
10709 if test "$aros_kernel_as" = ""; then
10710 if test "$cross_compiling" = "yes" ; then
10711 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
10712 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10714 $as_echo_n "checking for $ac_word... " >&6; }
10715 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10716 $as_echo_n "(cached) " >&6
10718 case $aros_kernel_as in
10720 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10724 for as_dir
in $PATH
10727 test -z "$as_dir" && as_dir
=.
10728 for ac_exec_ext
in '' $ac_executable_extensions; do
10729 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10730 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10741 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10742 if test -n "$aros_kernel_as"; then
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10744 $as_echo "$aros_kernel_as" >&6; }
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10747 $as_echo "no" >&6; }
10753 if test "" = ""; then
10758 if test "$GCC" = "yes"; then
10759 aros_gcc_as
=`$CC -print-prog-name=$ac_tool_as`
10760 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
10761 set dummy
`basename $aros_gcc_as`; ac_word
=$2
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10763 $as_echo_n "checking for $ac_word... " >&6; }
10764 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10765 $as_echo_n "(cached) " >&6
10767 case $aros_kernel_as in
10769 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10773 for as_dir
in `dirname $aros_gcc_as`
10776 test -z "$as_dir" && as_dir
=.
10777 for ac_exec_ext
in '' $ac_executable_extensions; do
10778 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10779 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10790 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10791 if test -n "$aros_kernel_as"; then
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10793 $as_echo "$aros_kernel_as" >&6; }
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10796 $as_echo "no" >&6; }
10801 if test "$aros_kernel_as" = ""; then
10802 for ac_prog
in $ac_tool_as
10804 # Extract the first word of "$ac_prog", so it can be a program name with args.
10805 set dummy
$ac_prog; ac_word
=$2
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10807 $as_echo_n "checking for $ac_word... " >&6; }
10808 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10809 $as_echo_n "(cached) " >&6
10811 case $aros_kernel_as in
10813 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10817 for as_dir
in $PATH
10820 test -z "$as_dir" && as_dir
=.
10821 for ac_exec_ext
in '' $ac_executable_extensions; do
10822 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10823 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10834 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10835 if test -n "$aros_kernel_as"; then
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10837 $as_echo "$aros_kernel_as" >&6; }
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10840 $as_echo "no" >&6; }
10844 test -n "$aros_kernel_as" && break
10851 ac_tool_optarg
=`expr "X$aros_kernel_as" : '[^ ]* \(.*\)'`
10852 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
10853 set dummy
$aros_kernel_as; ac_word
=$2
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10855 $as_echo_n "checking for $ac_word... " >&6; }
10856 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10857 $as_echo_n "(cached) " >&6
10859 case $aros_kernel_as in
10861 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10865 for as_dir
in $PATH
10868 test -z "$as_dir" && as_dir
=.
10869 for ac_exec_ext
in '' $ac_executable_extensions; do
10870 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10871 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10882 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10883 if test -n "$aros_kernel_as"; then
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10885 $as_echo "$aros_kernel_as" >&6; }
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10888 $as_echo "no" >&6; }
10892 aros_kernel_as
="$aros_kernel_as $ac_tool_optarg"
10896 if test "$aros_kernel_as" = ""; then
10899 if test "$aros_kernel_as" = "no"; then
10902 if test "$req_avail" = "no"; then
10903 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
10905 if test "x$aros_kernel_ar" = "x"; then
10906 aros_kernel_ar
=$aros_host_plain_ar
10909 if test "$aros_kernel_ar" = ""; then
10910 if test "$cross_compiling" = "yes" ; then
10911 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
10912 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10914 $as_echo_n "checking for $ac_word... " >&6; }
10915 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10916 $as_echo_n "(cached) " >&6
10918 case $aros_kernel_ar in
10920 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10924 for as_dir
in $PATH
10927 test -z "$as_dir" && as_dir
=.
10928 for ac_exec_ext
in '' $ac_executable_extensions; do
10929 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10930 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10941 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10942 if test -n "$aros_kernel_ar"; then
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10944 $as_echo "$aros_kernel_ar" >&6; }
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10947 $as_echo "no" >&6; }
10953 if test "" = ""; then
10958 if test "$GCC" = "yes"; then
10959 aros_gcc_ar
=`$CC -print-prog-name=$ac_tool_ar`
10960 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
10961 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10963 $as_echo_n "checking for $ac_word... " >&6; }
10964 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10965 $as_echo_n "(cached) " >&6
10967 case $aros_kernel_ar in
10969 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10973 for as_dir
in `dirname $aros_gcc_ar`
10976 test -z "$as_dir" && as_dir
=.
10977 for ac_exec_ext
in '' $ac_executable_extensions; do
10978 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10979 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10990 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10991 if test -n "$aros_kernel_ar"; then
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10993 $as_echo "$aros_kernel_ar" >&6; }
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10996 $as_echo "no" >&6; }
11001 if test "$aros_kernel_ar" = ""; then
11002 for ac_prog
in $ac_tool_ar
11004 # Extract the first word of "$ac_prog", so it can be a program name with args.
11005 set dummy
$ac_prog; ac_word
=$2
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11007 $as_echo_n "checking for $ac_word... " >&6; }
11008 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
11009 $as_echo_n "(cached) " >&6
11011 case $aros_kernel_ar in
11013 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
11016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11017 for as_dir
in $PATH
11020 test -z "$as_dir" && as_dir
=.
11021 for ac_exec_ext
in '' $ac_executable_extensions; do
11022 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11023 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
11024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11034 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
11035 if test -n "$aros_kernel_ar"; then
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
11037 $as_echo "$aros_kernel_ar" >&6; }
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11040 $as_echo "no" >&6; }
11044 test -n "$aros_kernel_ar" && break
11051 ac_tool_optarg
=`expr "X$aros_kernel_ar" : '[^ ]* \(.*\)'`
11052 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
11053 set dummy
$aros_kernel_ar; ac_word
=$2
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11055 $as_echo_n "checking for $ac_word... " >&6; }
11056 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
11057 $as_echo_n "(cached) " >&6
11059 case $aros_kernel_ar in
11061 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
11064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11065 for as_dir
in $PATH
11068 test -z "$as_dir" && as_dir
=.
11069 for ac_exec_ext
in '' $ac_executable_extensions; do
11070 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11071 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
11072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11082 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
11083 if test -n "$aros_kernel_ar"; then
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
11085 $as_echo "$aros_kernel_ar" >&6; }
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11088 $as_echo "no" >&6; }
11092 aros_kernel_ar
="$aros_kernel_ar $ac_tool_optarg"
11096 if test "$aros_kernel_ar" = ""; then
11099 if test "$aros_kernel_ar" = "no"; then
11102 if test "$req_avail" = "no"; then
11103 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11105 if test "x$aros_kernel_ranlib" = "x"; then
11106 aros_kernel_ranlib
=$aros_host_ranlib
11109 if test "$aros_kernel_ranlib" = ""; then
11110 if test "$cross_compiling" = "yes" ; then
11111 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
11112 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11114 $as_echo_n "checking for $ac_word... " >&6; }
11115 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
11116 $as_echo_n "(cached) " >&6
11118 case $aros_kernel_ranlib in
11120 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
11123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11124 for as_dir
in $PATH
11127 test -z "$as_dir" && as_dir
=.
11128 for ac_exec_ext
in '' $ac_executable_extensions; do
11129 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11130 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11141 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
11142 if test -n "$aros_kernel_ranlib"; then
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
11144 $as_echo "$aros_kernel_ranlib" >&6; }
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11147 $as_echo "no" >&6; }
11153 if test "" = ""; then
11154 ac_tool_ranlib
=ranlib
11158 if test "$GCC" = "yes"; then
11159 aros_gcc_ranlib
=`$CC -print-prog-name=$ac_tool_ranlib`
11160 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
11161 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11163 $as_echo_n "checking for $ac_word... " >&6; }
11164 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
11165 $as_echo_n "(cached) " >&6
11167 case $aros_kernel_ranlib in
11169 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
11172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11173 for as_dir
in `dirname $aros_gcc_ranlib`
11176 test -z "$as_dir" && as_dir
=.
11177 for ac_exec_ext
in '' $ac_executable_extensions; do
11178 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11179 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11190 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
11191 if test -n "$aros_kernel_ranlib"; then
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
11193 $as_echo "$aros_kernel_ranlib" >&6; }
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11196 $as_echo "no" >&6; }
11201 if test "$aros_kernel_ranlib" = ""; then
11202 for ac_prog
in $ac_tool_ranlib
11204 # Extract the first word of "$ac_prog", so it can be a program name with args.
11205 set dummy
$ac_prog; ac_word
=$2
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11207 $as_echo_n "checking for $ac_word... " >&6; }
11208 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
11209 $as_echo_n "(cached) " >&6
11211 case $aros_kernel_ranlib in
11213 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
11216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11217 for as_dir
in $PATH
11220 test -z "$as_dir" && as_dir
=.
11221 for ac_exec_ext
in '' $ac_executable_extensions; do
11222 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11223 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11234 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
11235 if test -n "$aros_kernel_ranlib"; then
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
11237 $as_echo "$aros_kernel_ranlib" >&6; }
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11240 $as_echo "no" >&6; }
11244 test -n "$aros_kernel_ranlib" && break
11251 ac_tool_optarg
=`expr "X$aros_kernel_ranlib" : '[^ ]* \(.*\)'`
11252 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
11253 set dummy
$aros_kernel_ranlib; ac_word
=$2
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11255 $as_echo_n "checking for $ac_word... " >&6; }
11256 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
11257 $as_echo_n "(cached) " >&6
11259 case $aros_kernel_ranlib in
11261 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
11264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11265 for as_dir
in $PATH
11268 test -z "$as_dir" && as_dir
=.
11269 for ac_exec_ext
in '' $ac_executable_extensions; do
11270 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11271 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11282 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
11283 if test -n "$aros_kernel_ranlib"; then
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
11285 $as_echo "$aros_kernel_ranlib" >&6; }
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11288 $as_echo "no" >&6; }
11292 aros_kernel_ranlib
="$aros_kernel_ranlib $ac_tool_optarg"
11296 if test "$aros_kernel_ranlib" = ""; then
11299 if test "$aros_kernel_ranlib" = "no"; then
11302 if test "$req_avail" = "no"; then
11303 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
11305 if test "x$aros_kernel_nm" = "x"; then
11306 aros_kernel_nm
=$aros_host_nm
11307 if test "x$aros_kernel_nm" = "x"; then
11308 aros_kernel_nm
=${HOST_TOOLCHAIN_PREFIX}nm
${HOST_TOOLCHAIN_SUFFIX}
11312 if test "$aros_kernel_nm" = ""; then
11313 if test "$cross_compiling" = "yes" ; then
11314 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
11315 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11317 $as_echo_n "checking for $ac_word... " >&6; }
11318 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
11319 $as_echo_n "(cached) " >&6
11321 case $aros_kernel_nm in
11323 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
11326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11327 for as_dir
in $PATH
11330 test -z "$as_dir" && as_dir
=.
11331 for ac_exec_ext
in '' $ac_executable_extensions; do
11332 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11333 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
11334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11344 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
11345 if test -n "$aros_kernel_nm"; then
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
11347 $as_echo "$aros_kernel_nm" >&6; }
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11350 $as_echo "no" >&6; }
11356 if test "" = ""; then
11361 if test "$GCC" = "yes"; then
11362 aros_gcc_nm
=`$CC -print-prog-name=$ac_tool_nm`
11363 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
11364 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11366 $as_echo_n "checking for $ac_word... " >&6; }
11367 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
11368 $as_echo_n "(cached) " >&6
11370 case $aros_kernel_nm in
11372 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
11375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11376 for as_dir
in `dirname $aros_gcc_nm`
11379 test -z "$as_dir" && as_dir
=.
11380 for ac_exec_ext
in '' $ac_executable_extensions; do
11381 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11382 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
11383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11393 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
11394 if test -n "$aros_kernel_nm"; then
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
11396 $as_echo "$aros_kernel_nm" >&6; }
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11399 $as_echo "no" >&6; }
11404 if test "$aros_kernel_nm" = ""; then
11405 for ac_prog
in $ac_tool_nm
11407 # Extract the first word of "$ac_prog", so it can be a program name with args.
11408 set dummy
$ac_prog; ac_word
=$2
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11410 $as_echo_n "checking for $ac_word... " >&6; }
11411 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
11412 $as_echo_n "(cached) " >&6
11414 case $aros_kernel_nm in
11416 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
11419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11420 for as_dir
in $PATH
11423 test -z "$as_dir" && as_dir
=.
11424 for ac_exec_ext
in '' $ac_executable_extensions; do
11425 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11426 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
11427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11437 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
11438 if test -n "$aros_kernel_nm"; then
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
11440 $as_echo "$aros_kernel_nm" >&6; }
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11443 $as_echo "no" >&6; }
11447 test -n "$aros_kernel_nm" && break
11454 ac_tool_optarg
=`expr "X$aros_kernel_nm" : '[^ ]* \(.*\)'`
11455 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
11456 set dummy
$aros_kernel_nm; ac_word
=$2
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11458 $as_echo_n "checking for $ac_word... " >&6; }
11459 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
11460 $as_echo_n "(cached) " >&6
11462 case $aros_kernel_nm in
11464 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
11467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11468 for as_dir
in $PATH
11471 test -z "$as_dir" && as_dir
=.
11472 for ac_exec_ext
in '' $ac_executable_extensions; do
11473 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11474 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
11475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11485 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
11486 if test -n "$aros_kernel_nm"; then
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
11488 $as_echo "$aros_kernel_nm" >&6; }
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11491 $as_echo "no" >&6; }
11495 aros_kernel_nm
="$aros_kernel_nm $ac_tool_optarg"
11499 if test "$aros_kernel_nm" = ""; then
11502 if test "$aros_kernel_nm" = "no"; then
11505 if test "$req_avail" = "no"; then
11506 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
11509 if test "$aros_kernel_strip" = ""; then
11510 if test "$cross_compiling" = "yes" ; then
11511 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
11512 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11514 $as_echo_n "checking for $ac_word... " >&6; }
11515 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11516 $as_echo_n "(cached) " >&6
11518 case $aros_kernel_strip in
11520 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11524 for as_dir
in $PATH
11527 test -z "$as_dir" && as_dir
=.
11528 for ac_exec_ext
in '' $ac_executable_extensions; do
11529 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11530 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11541 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11542 if test -n "$aros_kernel_strip"; then
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11544 $as_echo "$aros_kernel_strip" >&6; }
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11547 $as_echo "no" >&6; }
11553 if test "" = ""; then
11554 ac_tool_strip
=strip
11558 if test "$GCC" = "yes"; then
11559 aros_gcc_strip
=`$CC -print-prog-name=$ac_tool_strip`
11560 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
11561 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11563 $as_echo_n "checking for $ac_word... " >&6; }
11564 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11565 $as_echo_n "(cached) " >&6
11567 case $aros_kernel_strip in
11569 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11573 for as_dir
in `dirname $aros_gcc_strip`
11576 test -z "$as_dir" && as_dir
=.
11577 for ac_exec_ext
in '' $ac_executable_extensions; do
11578 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11579 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11590 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11591 if test -n "$aros_kernel_strip"; then
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11593 $as_echo "$aros_kernel_strip" >&6; }
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11596 $as_echo "no" >&6; }
11601 if test "$aros_kernel_strip" = ""; then
11602 for ac_prog
in $ac_tool_strip
11604 # Extract the first word of "$ac_prog", so it can be a program name with args.
11605 set dummy
$ac_prog; ac_word
=$2
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11607 $as_echo_n "checking for $ac_word... " >&6; }
11608 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11609 $as_echo_n "(cached) " >&6
11611 case $aros_kernel_strip in
11613 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11617 for as_dir
in $PATH
11620 test -z "$as_dir" && as_dir
=.
11621 for ac_exec_ext
in '' $ac_executable_extensions; do
11622 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11623 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11634 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11635 if test -n "$aros_kernel_strip"; then
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11637 $as_echo "$aros_kernel_strip" >&6; }
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11640 $as_echo "no" >&6; }
11644 test -n "$aros_kernel_strip" && break
11651 ac_tool_optarg
=`expr "X$aros_kernel_strip" : '[^ ]* \(.*\)'`
11652 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
11653 set dummy
$aros_kernel_strip; ac_word
=$2
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11655 $as_echo_n "checking for $ac_word... " >&6; }
11656 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11657 $as_echo_n "(cached) " >&6
11659 case $aros_kernel_strip in
11661 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11665 for as_dir
in $PATH
11668 test -z "$as_dir" && as_dir
=.
11669 for ac_exec_ext
in '' $ac_executable_extensions; do
11670 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11671 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11682 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11683 if test -n "$aros_kernel_strip"; then
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11685 $as_echo "$aros_kernel_strip" >&6; }
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11688 $as_echo "no" >&6; }
11692 aros_kernel_strip
="$aros_kernel_strip $ac_tool_optarg"
11696 if test "$aros_kernel_strip" = ""; then
11699 if test "$aros_kernel_strip" = "no"; then
11702 if test "$req_avail" = "no"; then
11703 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
11706 # Objcopy and objdump are not required for the kernel
11707 # toolchain on many architectures.
11708 # So we'll look for them, but not make them strictly required.
11709 if test "x$aros_kernel_objcopy" = "x"; then
11710 aros_kernel_objcopy
=$aros_host_objcopy
11711 if test "x$aros_kernel_objcopy" = "x"; then
11712 aros_kernel_objcopy
=${HOST_TOOLCHAIN_PREFIX}objcopy
${HOST_TOOLCHAIN_SUFFIX}
11716 if test "$aros_kernel_objcopy" = ""; then
11717 if test "$cross_compiling" = "yes" ; then
11718 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
11719 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11721 $as_echo_n "checking for $ac_word... " >&6; }
11722 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11723 $as_echo_n "(cached) " >&6
11725 case $aros_kernel_objcopy in
11727 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11731 for as_dir
in $PATH
11734 test -z "$as_dir" && as_dir
=.
11735 for ac_exec_ext
in '' $ac_executable_extensions; do
11736 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11737 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11748 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11749 if test -n "$aros_kernel_objcopy"; then
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11751 $as_echo "$aros_kernel_objcopy" >&6; }
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11754 $as_echo "no" >&6; }
11760 if test "" = ""; then
11761 ac_tool_objcopy
=objcopy
11765 if test "$GCC" = "yes"; then
11766 aros_gcc_objcopy
=`$CC -print-prog-name=$ac_tool_objcopy`
11767 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
11768 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11770 $as_echo_n "checking for $ac_word... " >&6; }
11771 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11772 $as_echo_n "(cached) " >&6
11774 case $aros_kernel_objcopy in
11776 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11780 for as_dir
in `dirname $aros_gcc_objcopy`
11783 test -z "$as_dir" && as_dir
=.
11784 for ac_exec_ext
in '' $ac_executable_extensions; do
11785 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11786 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11797 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11798 if test -n "$aros_kernel_objcopy"; then
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11800 $as_echo "$aros_kernel_objcopy" >&6; }
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11803 $as_echo "no" >&6; }
11808 if test "$aros_kernel_objcopy" = ""; then
11809 for ac_prog
in $ac_tool_objcopy
11811 # Extract the first word of "$ac_prog", so it can be a program name with args.
11812 set dummy
$ac_prog; ac_word
=$2
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11814 $as_echo_n "checking for $ac_word... " >&6; }
11815 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11816 $as_echo_n "(cached) " >&6
11818 case $aros_kernel_objcopy in
11820 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11824 for as_dir
in $PATH
11827 test -z "$as_dir" && as_dir
=.
11828 for ac_exec_ext
in '' $ac_executable_extensions; do
11829 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11830 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11841 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11842 if test -n "$aros_kernel_objcopy"; then
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11844 $as_echo "$aros_kernel_objcopy" >&6; }
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11847 $as_echo "no" >&6; }
11851 test -n "$aros_kernel_objcopy" && break
11858 ac_tool_optarg
=`expr "X$aros_kernel_objcopy" : '[^ ]* \(.*\)'`
11859 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
11860 set dummy
$aros_kernel_objcopy; ac_word
=$2
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11862 $as_echo_n "checking for $ac_word... " >&6; }
11863 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11864 $as_echo_n "(cached) " >&6
11866 case $aros_kernel_objcopy in
11868 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11872 for as_dir
in $PATH
11875 test -z "$as_dir" && as_dir
=.
11876 for ac_exec_ext
in '' $ac_executable_extensions; do
11877 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11878 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11889 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11890 if test -n "$aros_kernel_objcopy"; then
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11892 $as_echo "$aros_kernel_objcopy" >&6; }
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11895 $as_echo "no" >&6; }
11899 aros_kernel_objcopy
="$aros_kernel_objcopy $ac_tool_optarg"
11902 if test "x$aros_kernel_objdump" = "x"; then
11903 aros_kernel_objdump
=$aros_host_objdump
11904 if test "x$aros_kernel_objdump" = "x"; then
11905 aros_kernel_objdump
=${HOST_TOOLCHAIN_PREFIX}objdump
${HOST_TOOLCHAIN_SUFFIX}
11909 if test "$aros_kernel_objdump" = ""; then
11910 if test "$cross_compiling" = "yes" ; then
11911 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
11912 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11914 $as_echo_n "checking for $ac_word... " >&6; }
11915 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11916 $as_echo_n "(cached) " >&6
11918 case $aros_kernel_objdump in
11920 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11924 for as_dir
in $PATH
11927 test -z "$as_dir" && as_dir
=.
11928 for ac_exec_ext
in '' $ac_executable_extensions; do
11929 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11930 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11941 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11942 if test -n "$aros_kernel_objdump"; then
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11944 $as_echo "$aros_kernel_objdump" >&6; }
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11947 $as_echo "no" >&6; }
11953 if test "" = ""; then
11954 ac_tool_objdump
=objdump
11958 if test "$GCC" = "yes"; then
11959 aros_gcc_objdump
=`$CC -print-prog-name=$ac_tool_objdump`
11960 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
11961 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11963 $as_echo_n "checking for $ac_word... " >&6; }
11964 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11965 $as_echo_n "(cached) " >&6
11967 case $aros_kernel_objdump in
11969 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11973 for as_dir
in `dirname $aros_gcc_objdump`
11976 test -z "$as_dir" && as_dir
=.
11977 for ac_exec_ext
in '' $ac_executable_extensions; do
11978 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11979 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11990 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11991 if test -n "$aros_kernel_objdump"; then
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11993 $as_echo "$aros_kernel_objdump" >&6; }
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11996 $as_echo "no" >&6; }
12001 if test "$aros_kernel_objdump" = ""; then
12002 for ac_prog
in $ac_tool_objdump
12004 # Extract the first word of "$ac_prog", so it can be a program name with args.
12005 set dummy
$ac_prog; ac_word
=$2
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12007 $as_echo_n "checking for $ac_word... " >&6; }
12008 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
12009 $as_echo_n "(cached) " >&6
12011 case $aros_kernel_objdump in
12013 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
12016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12017 for as_dir
in $PATH
12020 test -z "$as_dir" && as_dir
=.
12021 for ac_exec_ext
in '' $ac_executable_extensions; do
12022 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12023 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
12024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12034 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
12035 if test -n "$aros_kernel_objdump"; then
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
12037 $as_echo "$aros_kernel_objdump" >&6; }
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12040 $as_echo "no" >&6; }
12044 test -n "$aros_kernel_objdump" && break
12051 ac_tool_optarg
=`expr "X$aros_kernel_objdump" : '[^ ]* \(.*\)'`
12052 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
12053 set dummy
$aros_kernel_objdump; ac_word
=$2
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12055 $as_echo_n "checking for $ac_word... " >&6; }
12056 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
12057 $as_echo_n "(cached) " >&6
12059 case $aros_kernel_objdump in
12061 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
12064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12065 for as_dir
in $PATH
12068 test -z "$as_dir" && as_dir
=.
12069 for ac_exec_ext
in '' $ac_executable_extensions; do
12070 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12071 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
12072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12082 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
12083 if test -n "$aros_kernel_objdump"; then
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
12085 $as_echo "$aros_kernel_objdump" >&6; }
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12088 $as_echo "no" >&6; }
12092 aros_kernel_objdump
="$aros_kernel_objdump $ac_tool_optarg"
12095 if test "x${crosstools}" != "xyes" ; then
12097 if test "$aros_kernel_objcopy" = ""; then
12100 if test "$aros_kernel_objcopy" = "no"; then
12103 if test "$req_avail" = "no"; then
12104 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12107 if test "$aros_kernel_objdump" = ""; then
12110 if test "$aros_kernel_objdump" = "no"; then
12113 if test "$req_avail" = "no"; then
12114 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
12121 $as_echo_n "checking which target tools to use... " >&6; }
12122 if test "$aros_target_toolchain" = "yes"; then
12123 if test "$aros_toolchain" = "llvm" ; then
12126 msg_result
=$target_tool_prefix
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
12129 $as_echo "$msg_result" >&6; }
12130 # We are building AROS crosstools
12131 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
12132 orig_target_cc
="${tmp_tool_prefix}${toolchain_c_compiler}${target_tool_version}"
12133 orig_target_cxx
="${tmp_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}"
12134 orig_target_cpp
="${tmp_tool_prefix}${toolchain_cpp_preprocessor}${toolchain_cpp_opts}"
12135 orig_target_ld
="${tmp_tool_prefix}${toolchain_ld}"
12136 orig_target_as
="${tmp_tool_prefix}${toolchain_as}"
12137 orig_target_ar
="${tmp_tool_prefix}${toolchain_ar}"
12138 orig_target_ranlib
="${tmp_tool_prefix}${toolchain_ranlib}"
12139 orig_target_nm
="${tmp_tool_prefix}${toolchain_nm}"
12140 orig_target_strip
="${tmp_tool_prefix}${toolchain_strip}"
12141 orig_target_objcopy
="${tmp_tool_prefix}${toolchain_objcopy}"
12142 orig_target_objdump
="${tmp_tool_prefix}${toolchain_objdump}"
12144 # Determine whether AROS or ELF tools should be used
12145 if test "$aros_tool_prefix" = "none"; then
12146 aros_tool_prefix
="${elf_tool_prefix}"
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
12150 $as_echo "$aros_tool_prefix" >&6; }
12151 # We are *not* building AROS crosstools - use the AROS or ELF tools
12153 if test "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}${toolchain_cpp_opts}" = ""; then
12154 if test "$cross_compiling" = "yes" ; then
12155 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
12156 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12158 $as_echo_n "checking for $ac_word... " >&6; }
12159 if ${ac_cv_path_orig_target_cpp+:} false
; then :
12160 $as_echo_n "(cached) " >&6
12162 case $orig_target_cpp in
12164 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
12167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12168 for as_dir
in $PATH
12171 test -z "$as_dir" && as_dir
=.
12172 for ac_exec_ext
in '' $ac_executable_extensions; do
12173 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12174 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
12175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12185 orig_target_cpp
=$ac_cv_path_orig_target_cpp
12186 if test -n "$orig_target_cpp"; then
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
12188 $as_echo "$orig_target_cpp" >&6; }
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12191 $as_echo "no" >&6; }
12197 if test "" = ""; then
12202 if test "$GCC" = "yes"; then
12203 aros_gcc_cpp
=`$CC -print-prog-name=$ac_tool_cpp`
12204 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
12205 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12207 $as_echo_n "checking for $ac_word... " >&6; }
12208 if ${ac_cv_path_orig_target_cpp+:} false
; then :
12209 $as_echo_n "(cached) " >&6
12211 case $orig_target_cpp in
12213 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
12216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12217 for as_dir
in `dirname $aros_gcc_cpp`
12220 test -z "$as_dir" && as_dir
=.
12221 for ac_exec_ext
in '' $ac_executable_extensions; do
12222 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12223 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
12224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12234 orig_target_cpp
=$ac_cv_path_orig_target_cpp
12235 if test -n "$orig_target_cpp"; then
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
12237 $as_echo "$orig_target_cpp" >&6; }
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12240 $as_echo "no" >&6; }
12245 if test "$orig_target_cpp" = ""; then
12246 for ac_prog
in $ac_tool_cpp
12248 # Extract the first word of "$ac_prog", so it can be a program name with args.
12249 set dummy
$ac_prog; ac_word
=$2
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12251 $as_echo_n "checking for $ac_word... " >&6; }
12252 if ${ac_cv_path_orig_target_cpp+:} false
; then :
12253 $as_echo_n "(cached) " >&6
12255 case $orig_target_cpp in
12257 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
12260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12261 for as_dir
in $PATH
12264 test -z "$as_dir" && as_dir
=.
12265 for ac_exec_ext
in '' $ac_executable_extensions; do
12266 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12267 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
12268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12278 orig_target_cpp
=$ac_cv_path_orig_target_cpp
12279 if test -n "$orig_target_cpp"; then
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
12281 $as_echo "$orig_target_cpp" >&6; }
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12284 $as_echo "no" >&6; }
12288 test -n "$orig_target_cpp" && break
12295 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}${toolchain_cpp_opts}" : '[^ ]* \(.*\)'`
12296 # 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.
12297 set dummy
${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}${toolchain_cpp_opts}; ac_word
=$2
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12299 $as_echo_n "checking for $ac_word... " >&6; }
12300 if ${ac_cv_path_orig_target_cpp+:} false
; then :
12301 $as_echo_n "(cached) " >&6
12303 case $orig_target_cpp in
12305 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
12308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12309 for as_dir
in $PATH
12312 test -z "$as_dir" && as_dir
=.
12313 for ac_exec_ext
in '' $ac_executable_extensions; do
12314 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12315 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
12316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12326 orig_target_cpp
=$ac_cv_path_orig_target_cpp
12327 if test -n "$orig_target_cpp"; then
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
12329 $as_echo "$orig_target_cpp" >&6; }
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12332 $as_echo "no" >&6; }
12336 orig_target_cpp
="$orig_target_cpp $ac_tool_optarg"
12340 if test "$orig_target_cpp" = ""; then
12343 if test "$orig_target_cpp" = "no"; then
12346 if test "$req_avail" = "no"; then
12347 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
12350 if test "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" = ""; then
12351 if test "$cross_compiling" = "yes" ; then
12352 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
12353 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12355 $as_echo_n "checking for $ac_word... " >&6; }
12356 if ${ac_cv_path_orig_target_cc+:} false
; then :
12357 $as_echo_n "(cached) " >&6
12359 case $orig_target_cc in
12361 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
12364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12365 for as_dir
in $PATH
12368 test -z "$as_dir" && as_dir
=.
12369 for ac_exec_ext
in '' $ac_executable_extensions; do
12370 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12371 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
12372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12382 orig_target_cc
=$ac_cv_path_orig_target_cc
12383 if test -n "$orig_target_cc"; then
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
12385 $as_echo "$orig_target_cc" >&6; }
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12388 $as_echo "no" >&6; }
12394 if test "" = ""; then
12399 if test "$GCC" = "yes"; then
12400 aros_gcc_gcc
=`$CC -print-prog-name=$ac_tool_gcc`
12401 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
12402 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12404 $as_echo_n "checking for $ac_word... " >&6; }
12405 if ${ac_cv_path_orig_target_cc+:} false
; then :
12406 $as_echo_n "(cached) " >&6
12408 case $orig_target_cc in
12410 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
12413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12414 for as_dir
in `dirname $aros_gcc_gcc`
12417 test -z "$as_dir" && as_dir
=.
12418 for ac_exec_ext
in '' $ac_executable_extensions; do
12419 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12420 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
12421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12431 orig_target_cc
=$ac_cv_path_orig_target_cc
12432 if test -n "$orig_target_cc"; then
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
12434 $as_echo "$orig_target_cc" >&6; }
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12437 $as_echo "no" >&6; }
12442 if test "$orig_target_cc" = ""; then
12443 for ac_prog
in $ac_tool_gcc
12445 # Extract the first word of "$ac_prog", so it can be a program name with args.
12446 set dummy
$ac_prog; ac_word
=$2
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12448 $as_echo_n "checking for $ac_word... " >&6; }
12449 if ${ac_cv_path_orig_target_cc+:} false
; then :
12450 $as_echo_n "(cached) " >&6
12452 case $orig_target_cc in
12454 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
12457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12458 for as_dir
in $PATH
12461 test -z "$as_dir" && as_dir
=.
12462 for ac_exec_ext
in '' $ac_executable_extensions; do
12463 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12464 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
12465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12475 orig_target_cc
=$ac_cv_path_orig_target_cc
12476 if test -n "$orig_target_cc"; then
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
12478 $as_echo "$orig_target_cc" >&6; }
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12481 $as_echo "no" >&6; }
12485 test -n "$orig_target_cc" && break
12492 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
12493 # Extract the first word of "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}", so it can be a program name with args.
12494 set dummy
${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}; ac_word
=$2
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12496 $as_echo_n "checking for $ac_word... " >&6; }
12497 if ${ac_cv_path_orig_target_cc+:} false
; then :
12498 $as_echo_n "(cached) " >&6
12500 case $orig_target_cc in
12502 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
12505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12506 for as_dir
in $PATH
12509 test -z "$as_dir" && as_dir
=.
12510 for ac_exec_ext
in '' $ac_executable_extensions; do
12511 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12512 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
12513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12523 orig_target_cc
=$ac_cv_path_orig_target_cc
12524 if test -n "$orig_target_cc"; then
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
12526 $as_echo "$orig_target_cc" >&6; }
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12529 $as_echo "no" >&6; }
12533 orig_target_cc
="$orig_target_cc $ac_tool_optarg"
12537 if test "$orig_target_cc" = ""; then
12540 if test "$orig_target_cc" = "no"; then
12543 if test "$req_avail" = "no"; then
12544 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
12547 if test "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" = ""; then
12548 if test "$cross_compiling" = "yes" ; then
12549 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
12550 set dummy
${target_tool_prefix}g
++; ac_word
=$2
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12552 $as_echo_n "checking for $ac_word... " >&6; }
12553 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12554 $as_echo_n "(cached) " >&6
12556 case $orig_target_cxx in
12558 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12562 for as_dir
in $PATH
12565 test -z "$as_dir" && as_dir
=.
12566 for ac_exec_ext
in '' $ac_executable_extensions; do
12567 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12568 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12579 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12580 if test -n "$orig_target_cxx"; then
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12582 $as_echo "$orig_target_cxx" >&6; }
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12585 $as_echo "no" >&6; }
12591 if test "" = ""; then
12596 if test "$GCC" = "yes"; then
12597 aros_gcc_g
++=`$CC -print-prog-name=$ac_tool_g++`
12598 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
12599 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12601 $as_echo_n "checking for $ac_word... " >&6; }
12602 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12603 $as_echo_n "(cached) " >&6
12605 case $orig_target_cxx in
12607 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12611 for as_dir
in `dirname $aros_gcc_g++`
12614 test -z "$as_dir" && as_dir
=.
12615 for ac_exec_ext
in '' $ac_executable_extensions; do
12616 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12617 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12628 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12629 if test -n "$orig_target_cxx"; then
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12631 $as_echo "$orig_target_cxx" >&6; }
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12634 $as_echo "no" >&6; }
12639 if test "$orig_target_cxx" = ""; then
12640 for ac_prog
in $ac_tool_g++
12642 # Extract the first word of "$ac_prog", so it can be a program name with args.
12643 set dummy
$ac_prog; ac_word
=$2
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12645 $as_echo_n "checking for $ac_word... " >&6; }
12646 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12647 $as_echo_n "(cached) " >&6
12649 case $orig_target_cxx in
12651 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12655 for as_dir
in $PATH
12658 test -z "$as_dir" && as_dir
=.
12659 for ac_exec_ext
in '' $ac_executable_extensions; do
12660 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12661 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12672 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12673 if test -n "$orig_target_cxx"; then
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12675 $as_echo "$orig_target_cxx" >&6; }
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12678 $as_echo "no" >&6; }
12682 test -n "$orig_target_cxx" && break
12689 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
12690 # Extract the first word of "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}", so it can be a program name with args.
12691 set dummy
${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}; ac_word
=$2
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12693 $as_echo_n "checking for $ac_word... " >&6; }
12694 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12695 $as_echo_n "(cached) " >&6
12697 case $orig_target_cxx in
12699 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12703 for as_dir
in $PATH
12706 test -z "$as_dir" && as_dir
=.
12707 for ac_exec_ext
in '' $ac_executable_extensions; do
12708 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12709 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12720 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12721 if test -n "$orig_target_cxx"; then
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12723 $as_echo "$orig_target_cxx" >&6; }
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12726 $as_echo "no" >&6; }
12730 orig_target_cxx
="$orig_target_cxx $ac_tool_optarg"
12734 if test "$orig_target_cxx" = ""; then
12737 if test "$orig_target_cxx" = "no"; then
12740 if test "$req_avail" = "no"; then
12741 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
12744 if test "${aros_tool_prefix}${toolchain_ld}" = ""; then
12745 if test "$cross_compiling" = "yes" ; then
12746 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
12747 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12749 $as_echo_n "checking for $ac_word... " >&6; }
12750 if ${ac_cv_path_orig_target_ld+:} false
; then :
12751 $as_echo_n "(cached) " >&6
12753 case $orig_target_ld in
12755 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12759 for as_dir
in $PATH
12762 test -z "$as_dir" && as_dir
=.
12763 for ac_exec_ext
in '' $ac_executable_extensions; do
12764 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12765 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12776 orig_target_ld
=$ac_cv_path_orig_target_ld
12777 if test -n "$orig_target_ld"; then
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12779 $as_echo "$orig_target_ld" >&6; }
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12782 $as_echo "no" >&6; }
12788 if test "" = ""; then
12793 if test "$GCC" = "yes"; then
12794 aros_gcc_gcc
=`$CC -print-prog-name=$ac_tool_gcc`
12795 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
12796 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12798 $as_echo_n "checking for $ac_word... " >&6; }
12799 if ${ac_cv_path_orig_target_ld+:} false
; then :
12800 $as_echo_n "(cached) " >&6
12802 case $orig_target_ld in
12804 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12808 for as_dir
in `dirname $aros_gcc_gcc`
12811 test -z "$as_dir" && as_dir
=.
12812 for ac_exec_ext
in '' $ac_executable_extensions; do
12813 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12814 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12825 orig_target_ld
=$ac_cv_path_orig_target_ld
12826 if test -n "$orig_target_ld"; then
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12828 $as_echo "$orig_target_ld" >&6; }
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12831 $as_echo "no" >&6; }
12836 if test "$orig_target_ld" = ""; then
12837 for ac_prog
in $ac_tool_gcc
12839 # Extract the first word of "$ac_prog", so it can be a program name with args.
12840 set dummy
$ac_prog; ac_word
=$2
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12842 $as_echo_n "checking for $ac_word... " >&6; }
12843 if ${ac_cv_path_orig_target_ld+:} false
; then :
12844 $as_echo_n "(cached) " >&6
12846 case $orig_target_ld in
12848 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12852 for as_dir
in $PATH
12855 test -z "$as_dir" && as_dir
=.
12856 for ac_exec_ext
in '' $ac_executable_extensions; do
12857 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12858 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12869 orig_target_ld
=$ac_cv_path_orig_target_ld
12870 if test -n "$orig_target_ld"; then
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12872 $as_echo "$orig_target_ld" >&6; }
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12875 $as_echo "no" >&6; }
12879 test -n "$orig_target_ld" && break
12886 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ld}" : '[^ ]* \(.*\)'`
12887 # Extract the first word of "${aros_tool_prefix}${toolchain_ld}", so it can be a program name with args.
12888 set dummy
${aros_tool_prefix}${toolchain_ld}; ac_word
=$2
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12890 $as_echo_n "checking for $ac_word... " >&6; }
12891 if ${ac_cv_path_orig_target_ld+:} false
; then :
12892 $as_echo_n "(cached) " >&6
12894 case $orig_target_ld in
12896 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12900 for as_dir
in $PATH
12903 test -z "$as_dir" && as_dir
=.
12904 for ac_exec_ext
in '' $ac_executable_extensions; do
12905 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12906 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12917 orig_target_ld
=$ac_cv_path_orig_target_ld
12918 if test -n "$orig_target_ld"; then
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12920 $as_echo "$orig_target_ld" >&6; }
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12923 $as_echo "no" >&6; }
12927 orig_target_ld
="$orig_target_ld $ac_tool_optarg"
12931 if test "$orig_target_ld" = ""; then
12934 if test "$orig_target_ld" = "no"; then
12937 if test "$req_avail" = "no"; then
12938 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
12941 if test "aros_tool_prefix}${toolchain_as}" = ""; then
12942 if test "$cross_compiling" = "yes" ; then
12943 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
12944 set dummy
${target_tool_prefix}as
; ac_word
=$2
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12946 $as_echo_n "checking for $ac_word... " >&6; }
12947 if ${ac_cv_path_orig_target_as+:} false
; then :
12948 $as_echo_n "(cached) " >&6
12950 case $orig_target_as in
12952 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12956 for as_dir
in $PATH
12959 test -z "$as_dir" && as_dir
=.
12960 for ac_exec_ext
in '' $ac_executable_extensions; do
12961 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12962 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12973 orig_target_as
=$ac_cv_path_orig_target_as
12974 if test -n "$orig_target_as"; then
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12976 $as_echo "$orig_target_as" >&6; }
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12979 $as_echo "no" >&6; }
12985 if test "" = ""; then
12990 if test "$GCC" = "yes"; then
12991 aros_gcc_as
=`$CC -print-prog-name=$ac_tool_as`
12992 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
12993 set dummy
`basename $aros_gcc_as`; ac_word
=$2
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12995 $as_echo_n "checking for $ac_word... " >&6; }
12996 if ${ac_cv_path_orig_target_as+:} false
; then :
12997 $as_echo_n "(cached) " >&6
12999 case $orig_target_as in
13001 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
13004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13005 for as_dir
in `dirname $aros_gcc_as`
13008 test -z "$as_dir" && as_dir
=.
13009 for ac_exec_ext
in '' $ac_executable_extensions; do
13010 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13011 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
13012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13022 orig_target_as
=$ac_cv_path_orig_target_as
13023 if test -n "$orig_target_as"; then
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
13025 $as_echo "$orig_target_as" >&6; }
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13028 $as_echo "no" >&6; }
13033 if test "$orig_target_as" = ""; then
13034 for ac_prog
in $ac_tool_as
13036 # Extract the first word of "$ac_prog", so it can be a program name with args.
13037 set dummy
$ac_prog; ac_word
=$2
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13039 $as_echo_n "checking for $ac_word... " >&6; }
13040 if ${ac_cv_path_orig_target_as+:} false
; then :
13041 $as_echo_n "(cached) " >&6
13043 case $orig_target_as in
13045 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
13048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13049 for as_dir
in $PATH
13052 test -z "$as_dir" && as_dir
=.
13053 for ac_exec_ext
in '' $ac_executable_extensions; do
13054 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13055 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
13056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13066 orig_target_as
=$ac_cv_path_orig_target_as
13067 if test -n "$orig_target_as"; then
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
13069 $as_echo "$orig_target_as" >&6; }
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13072 $as_echo "no" >&6; }
13076 test -n "$orig_target_as" && break
13083 ac_tool_optarg
=`expr "Xaros_tool_prefix}${toolchain_as}" : '[^ ]* \(.*\)'`
13084 # Extract the first word of "aros_tool_prefix}${toolchain_as}", so it can be a program name with args.
13085 set dummy aros_tool_prefix
}${toolchain_as}; ac_word
=$2
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13087 $as_echo_n "checking for $ac_word... " >&6; }
13088 if ${ac_cv_path_orig_target_as+:} false
; then :
13089 $as_echo_n "(cached) " >&6
13091 case $orig_target_as in
13093 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
13096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13097 for as_dir
in $PATH
13100 test -z "$as_dir" && as_dir
=.
13101 for ac_exec_ext
in '' $ac_executable_extensions; do
13102 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13103 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
13104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13114 orig_target_as
=$ac_cv_path_orig_target_as
13115 if test -n "$orig_target_as"; then
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
13117 $as_echo "$orig_target_as" >&6; }
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13120 $as_echo "no" >&6; }
13124 orig_target_as
="$orig_target_as $ac_tool_optarg"
13128 if test "$orig_target_as" = ""; then
13131 if test "$orig_target_as" = "no"; then
13134 if test "$req_avail" = "no"; then
13135 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
13138 if test "${aros_tool_prefix}${toolchain_ar}" = ""; then
13139 if test "$cross_compiling" = "yes" ; then
13140 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
13141 set dummy
${target_tool_prefix}ar; ac_word
=$2
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13143 $as_echo_n "checking for $ac_word... " >&6; }
13144 if ${ac_cv_path_orig_target_ar+:} false
; then :
13145 $as_echo_n "(cached) " >&6
13147 case $orig_target_ar in
13149 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
13152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13153 for as_dir
in $PATH
13156 test -z "$as_dir" && as_dir
=.
13157 for ac_exec_ext
in '' $ac_executable_extensions; do
13158 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13159 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
13160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13170 orig_target_ar
=$ac_cv_path_orig_target_ar
13171 if test -n "$orig_target_ar"; then
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
13173 $as_echo "$orig_target_ar" >&6; }
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13176 $as_echo "no" >&6; }
13182 if test "" = ""; then
13187 if test "$GCC" = "yes"; then
13188 aros_gcc_ar
=`$CC -print-prog-name=$ac_tool_ar`
13189 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
13190 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13192 $as_echo_n "checking for $ac_word... " >&6; }
13193 if ${ac_cv_path_orig_target_ar+:} false
; then :
13194 $as_echo_n "(cached) " >&6
13196 case $orig_target_ar in
13198 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
13201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13202 for as_dir
in `dirname $aros_gcc_ar`
13205 test -z "$as_dir" && as_dir
=.
13206 for ac_exec_ext
in '' $ac_executable_extensions; do
13207 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13208 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
13209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13219 orig_target_ar
=$ac_cv_path_orig_target_ar
13220 if test -n "$orig_target_ar"; then
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
13222 $as_echo "$orig_target_ar" >&6; }
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13225 $as_echo "no" >&6; }
13230 if test "$orig_target_ar" = ""; then
13231 for ac_prog
in $ac_tool_ar
13233 # Extract the first word of "$ac_prog", so it can be a program name with args.
13234 set dummy
$ac_prog; ac_word
=$2
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13236 $as_echo_n "checking for $ac_word... " >&6; }
13237 if ${ac_cv_path_orig_target_ar+:} false
; then :
13238 $as_echo_n "(cached) " >&6
13240 case $orig_target_ar in
13242 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
13245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13246 for as_dir
in $PATH
13249 test -z "$as_dir" && as_dir
=.
13250 for ac_exec_ext
in '' $ac_executable_extensions; do
13251 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13252 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
13253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13263 orig_target_ar
=$ac_cv_path_orig_target_ar
13264 if test -n "$orig_target_ar"; then
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
13266 $as_echo "$orig_target_ar" >&6; }
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13269 $as_echo "no" >&6; }
13273 test -n "$orig_target_ar" && break
13280 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ar}" : '[^ ]* \(.*\)'`
13281 # Extract the first word of "${aros_tool_prefix}${toolchain_ar}", so it can be a program name with args.
13282 set dummy
${aros_tool_prefix}${toolchain_ar}; ac_word
=$2
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13284 $as_echo_n "checking for $ac_word... " >&6; }
13285 if ${ac_cv_path_orig_target_ar+:} false
; then :
13286 $as_echo_n "(cached) " >&6
13288 case $orig_target_ar in
13290 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
13293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13294 for as_dir
in $PATH
13297 test -z "$as_dir" && as_dir
=.
13298 for ac_exec_ext
in '' $ac_executable_extensions; do
13299 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13300 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
13301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13311 orig_target_ar
=$ac_cv_path_orig_target_ar
13312 if test -n "$orig_target_ar"; then
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
13314 $as_echo "$orig_target_ar" >&6; }
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13317 $as_echo "no" >&6; }
13321 orig_target_ar
="$orig_target_ar $ac_tool_optarg"
13325 if test "$orig_target_ar" = ""; then
13328 if test "$orig_target_ar" = "no"; then
13331 if test "$req_avail" = "no"; then
13332 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
13335 if test "${aros_tool_prefix}${toolchain_ranlib}" = ""; then
13336 if test "$cross_compiling" = "yes" ; then
13337 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
13338 set dummy
${target_tool_prefix}ar; ac_word
=$2
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13340 $as_echo_n "checking for $ac_word... " >&6; }
13341 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
13342 $as_echo_n "(cached) " >&6
13344 case $orig_target_ranlib in
13346 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
13349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13350 for as_dir
in $PATH
13353 test -z "$as_dir" && as_dir
=.
13354 for ac_exec_ext
in '' $ac_executable_extensions; do
13355 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13356 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
13357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13367 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
13368 if test -n "$orig_target_ranlib"; then
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
13370 $as_echo "$orig_target_ranlib" >&6; }
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13373 $as_echo "no" >&6; }
13379 if test "" = ""; then
13384 if test "$GCC" = "yes"; then
13385 aros_gcc_ar
=`$CC -print-prog-name=$ac_tool_ar`
13386 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
13387 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13389 $as_echo_n "checking for $ac_word... " >&6; }
13390 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
13391 $as_echo_n "(cached) " >&6
13393 case $orig_target_ranlib in
13395 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
13398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13399 for as_dir
in `dirname $aros_gcc_ar`
13402 test -z "$as_dir" && as_dir
=.
13403 for ac_exec_ext
in '' $ac_executable_extensions; do
13404 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13405 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
13406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13416 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
13417 if test -n "$orig_target_ranlib"; then
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
13419 $as_echo "$orig_target_ranlib" >&6; }
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13422 $as_echo "no" >&6; }
13427 if test "$orig_target_ranlib" = ""; then
13428 for ac_prog
in $ac_tool_ar
13430 # Extract the first word of "$ac_prog", so it can be a program name with args.
13431 set dummy
$ac_prog; ac_word
=$2
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13433 $as_echo_n "checking for $ac_word... " >&6; }
13434 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
13435 $as_echo_n "(cached) " >&6
13437 case $orig_target_ranlib in
13439 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
13442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13443 for as_dir
in $PATH
13446 test -z "$as_dir" && as_dir
=.
13447 for ac_exec_ext
in '' $ac_executable_extensions; do
13448 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13449 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
13450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13460 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
13461 if test -n "$orig_target_ranlib"; then
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
13463 $as_echo "$orig_target_ranlib" >&6; }
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13466 $as_echo "no" >&6; }
13470 test -n "$orig_target_ranlib" && break
13477 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ranlib}" : '[^ ]* \(.*\)'`
13478 # Extract the first word of "${aros_tool_prefix}${toolchain_ranlib}", so it can be a program name with args.
13479 set dummy
${aros_tool_prefix}${toolchain_ranlib}; ac_word
=$2
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13481 $as_echo_n "checking for $ac_word... " >&6; }
13482 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
13483 $as_echo_n "(cached) " >&6
13485 case $orig_target_ranlib in
13487 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
13490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13491 for as_dir
in $PATH
13494 test -z "$as_dir" && as_dir
=.
13495 for ac_exec_ext
in '' $ac_executable_extensions; do
13496 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13497 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
13498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13508 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
13509 if test -n "$orig_target_ranlib"; then
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
13511 $as_echo "$orig_target_ranlib" >&6; }
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13514 $as_echo "no" >&6; }
13518 orig_target_ranlib
="$orig_target_ranlib $ac_tool_optarg"
13522 if test "$orig_target_ranlib" = ""; then
13525 if test "$orig_target_ranlib" = "no"; then
13528 if test "$req_avail" = "no"; then
13529 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
13532 if test "${aros_tool_prefix}${toolchain_nm}" = ""; then
13533 if test "$cross_compiling" = "yes" ; then
13534 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
13535 set dummy
${target_tool_prefix}nm
; ac_word
=$2
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13537 $as_echo_n "checking for $ac_word... " >&6; }
13538 if ${ac_cv_path_orig_target_nm+:} false
; then :
13539 $as_echo_n "(cached) " >&6
13541 case $orig_target_nm in
13543 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13547 for as_dir
in $PATH
13550 test -z "$as_dir" && as_dir
=.
13551 for ac_exec_ext
in '' $ac_executable_extensions; do
13552 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13553 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13564 orig_target_nm
=$ac_cv_path_orig_target_nm
13565 if test -n "$orig_target_nm"; then
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13567 $as_echo "$orig_target_nm" >&6; }
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13570 $as_echo "no" >&6; }
13576 if test "" = ""; then
13581 if test "$GCC" = "yes"; then
13582 aros_gcc_nm
=`$CC -print-prog-name=$ac_tool_nm`
13583 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
13584 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13586 $as_echo_n "checking for $ac_word... " >&6; }
13587 if ${ac_cv_path_orig_target_nm+:} false
; then :
13588 $as_echo_n "(cached) " >&6
13590 case $orig_target_nm in
13592 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13596 for as_dir
in `dirname $aros_gcc_nm`
13599 test -z "$as_dir" && as_dir
=.
13600 for ac_exec_ext
in '' $ac_executable_extensions; do
13601 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13602 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13613 orig_target_nm
=$ac_cv_path_orig_target_nm
13614 if test -n "$orig_target_nm"; then
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13616 $as_echo "$orig_target_nm" >&6; }
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13619 $as_echo "no" >&6; }
13624 if test "$orig_target_nm" = ""; then
13625 for ac_prog
in $ac_tool_nm
13627 # Extract the first word of "$ac_prog", so it can be a program name with args.
13628 set dummy
$ac_prog; ac_word
=$2
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13630 $as_echo_n "checking for $ac_word... " >&6; }
13631 if ${ac_cv_path_orig_target_nm+:} false
; then :
13632 $as_echo_n "(cached) " >&6
13634 case $orig_target_nm in
13636 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13640 for as_dir
in $PATH
13643 test -z "$as_dir" && as_dir
=.
13644 for ac_exec_ext
in '' $ac_executable_extensions; do
13645 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13646 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13657 orig_target_nm
=$ac_cv_path_orig_target_nm
13658 if test -n "$orig_target_nm"; then
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13660 $as_echo "$orig_target_nm" >&6; }
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13663 $as_echo "no" >&6; }
13667 test -n "$orig_target_nm" && break
13674 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_nm}" : '[^ ]* \(.*\)'`
13675 # Extract the first word of "${aros_tool_prefix}${toolchain_nm}", so it can be a program name with args.
13676 set dummy
${aros_tool_prefix}${toolchain_nm}; ac_word
=$2
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13678 $as_echo_n "checking for $ac_word... " >&6; }
13679 if ${ac_cv_path_orig_target_nm+:} false
; then :
13680 $as_echo_n "(cached) " >&6
13682 case $orig_target_nm in
13684 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13688 for as_dir
in $PATH
13691 test -z "$as_dir" && as_dir
=.
13692 for ac_exec_ext
in '' $ac_executable_extensions; do
13693 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13694 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13705 orig_target_nm
=$ac_cv_path_orig_target_nm
13706 if test -n "$orig_target_nm"; then
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13708 $as_echo "$orig_target_nm" >&6; }
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13711 $as_echo "no" >&6; }
13715 orig_target_nm
="$orig_target_nm $ac_tool_optarg"
13719 if test "$orig_target_nm" = ""; then
13722 if test "$orig_target_nm" = "no"; then
13725 if test "$req_avail" = "no"; then
13726 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
13729 if test "${aros_tool_prefix}${toolchain_strip}" = ""; then
13730 if test "$cross_compiling" = "yes" ; then
13731 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
13732 set dummy
${target_tool_prefix}strip
; ac_word
=$2
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13734 $as_echo_n "checking for $ac_word... " >&6; }
13735 if ${ac_cv_path_orig_target_strip+:} false
; then :
13736 $as_echo_n "(cached) " >&6
13738 case $orig_target_strip in
13740 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13744 for as_dir
in $PATH
13747 test -z "$as_dir" && as_dir
=.
13748 for ac_exec_ext
in '' $ac_executable_extensions; do
13749 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13750 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13761 orig_target_strip
=$ac_cv_path_orig_target_strip
13762 if test -n "$orig_target_strip"; then
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13764 $as_echo "$orig_target_strip" >&6; }
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13767 $as_echo "no" >&6; }
13773 if test "" = ""; then
13774 ac_tool_strip
=strip
13778 if test "$GCC" = "yes"; then
13779 aros_gcc_strip
=`$CC -print-prog-name=$ac_tool_strip`
13780 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
13781 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13783 $as_echo_n "checking for $ac_word... " >&6; }
13784 if ${ac_cv_path_orig_target_strip+:} false
; then :
13785 $as_echo_n "(cached) " >&6
13787 case $orig_target_strip in
13789 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13793 for as_dir
in `dirname $aros_gcc_strip`
13796 test -z "$as_dir" && as_dir
=.
13797 for ac_exec_ext
in '' $ac_executable_extensions; do
13798 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13799 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13810 orig_target_strip
=$ac_cv_path_orig_target_strip
13811 if test -n "$orig_target_strip"; then
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13813 $as_echo "$orig_target_strip" >&6; }
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13816 $as_echo "no" >&6; }
13821 if test "$orig_target_strip" = ""; then
13822 for ac_prog
in $ac_tool_strip
13824 # Extract the first word of "$ac_prog", so it can be a program name with args.
13825 set dummy
$ac_prog; ac_word
=$2
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13827 $as_echo_n "checking for $ac_word... " >&6; }
13828 if ${ac_cv_path_orig_target_strip+:} false
; then :
13829 $as_echo_n "(cached) " >&6
13831 case $orig_target_strip in
13833 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13837 for as_dir
in $PATH
13840 test -z "$as_dir" && as_dir
=.
13841 for ac_exec_ext
in '' $ac_executable_extensions; do
13842 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13843 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13854 orig_target_strip
=$ac_cv_path_orig_target_strip
13855 if test -n "$orig_target_strip"; then
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13857 $as_echo "$orig_target_strip" >&6; }
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13860 $as_echo "no" >&6; }
13864 test -n "$orig_target_strip" && break
13871 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_strip}" : '[^ ]* \(.*\)'`
13872 # Extract the first word of "${aros_tool_prefix}${toolchain_strip}", so it can be a program name with args.
13873 set dummy
${aros_tool_prefix}${toolchain_strip}; ac_word
=$2
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13875 $as_echo_n "checking for $ac_word... " >&6; }
13876 if ${ac_cv_path_orig_target_strip+:} false
; then :
13877 $as_echo_n "(cached) " >&6
13879 case $orig_target_strip in
13881 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13885 for as_dir
in $PATH
13888 test -z "$as_dir" && as_dir
=.
13889 for ac_exec_ext
in '' $ac_executable_extensions; do
13890 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13891 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13902 orig_target_strip
=$ac_cv_path_orig_target_strip
13903 if test -n "$orig_target_strip"; then
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13905 $as_echo "$orig_target_strip" >&6; }
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13908 $as_echo "no" >&6; }
13912 orig_target_strip
="$orig_target_strip $ac_tool_optarg"
13916 if test "$orig_target_strip" = ""; then
13919 if test "$orig_target_strip" = "no"; then
13922 if test "$req_avail" = "no"; then
13923 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
13926 if test "${aros_tool_prefix}${toolchain_objcopy}" = ""; then
13927 if test "$cross_compiling" = "yes" ; then
13928 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
13929 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13931 $as_echo_n "checking for $ac_word... " >&6; }
13932 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13933 $as_echo_n "(cached) " >&6
13935 case $orig_target_objcopy in
13937 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13941 for as_dir
in $PATH
13944 test -z "$as_dir" && as_dir
=.
13945 for ac_exec_ext
in '' $ac_executable_extensions; do
13946 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13947 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13958 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13959 if test -n "$orig_target_objcopy"; then
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13961 $as_echo "$orig_target_objcopy" >&6; }
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13964 $as_echo "no" >&6; }
13970 if test "" = ""; then
13971 ac_tool_objcopy
=objcopy
13975 if test "$GCC" = "yes"; then
13976 aros_gcc_objcopy
=`$CC -print-prog-name=$ac_tool_objcopy`
13977 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
13978 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13980 $as_echo_n "checking for $ac_word... " >&6; }
13981 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13982 $as_echo_n "(cached) " >&6
13984 case $orig_target_objcopy in
13986 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13990 for as_dir
in `dirname $aros_gcc_objcopy`
13993 test -z "$as_dir" && as_dir
=.
13994 for ac_exec_ext
in '' $ac_executable_extensions; do
13995 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13996 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14007 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
14008 if test -n "$orig_target_objcopy"; then
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
14010 $as_echo "$orig_target_objcopy" >&6; }
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14013 $as_echo "no" >&6; }
14018 if test "$orig_target_objcopy" = ""; then
14019 for ac_prog
in $ac_tool_objcopy
14021 # Extract the first word of "$ac_prog", so it can be a program name with args.
14022 set dummy
$ac_prog; ac_word
=$2
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14024 $as_echo_n "checking for $ac_word... " >&6; }
14025 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
14026 $as_echo_n "(cached) " >&6
14028 case $orig_target_objcopy in
14030 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
14033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14034 for as_dir
in $PATH
14037 test -z "$as_dir" && as_dir
=.
14038 for ac_exec_ext
in '' $ac_executable_extensions; do
14039 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14040 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
14041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14051 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
14052 if test -n "$orig_target_objcopy"; then
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
14054 $as_echo "$orig_target_objcopy" >&6; }
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14057 $as_echo "no" >&6; }
14061 test -n "$orig_target_objcopy" && break
14068 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objcopy}" : '[^ ]* \(.*\)'`
14069 # Extract the first word of "${aros_tool_prefix}${toolchain_objcopy}", so it can be a program name with args.
14070 set dummy
${aros_tool_prefix}${toolchain_objcopy}; ac_word
=$2
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14072 $as_echo_n "checking for $ac_word... " >&6; }
14073 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
14074 $as_echo_n "(cached) " >&6
14076 case $orig_target_objcopy in
14078 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
14081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14082 for as_dir
in $PATH
14085 test -z "$as_dir" && as_dir
=.
14086 for ac_exec_ext
in '' $ac_executable_extensions; do
14087 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14088 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
14089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14099 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
14100 if test -n "$orig_target_objcopy"; then
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
14102 $as_echo "$orig_target_objcopy" >&6; }
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14105 $as_echo "no" >&6; }
14109 orig_target_objcopy
="$orig_target_objcopy $ac_tool_optarg"
14113 if test "$orig_target_objcopy" = ""; then
14116 if test "$orig_target_objcopy" = "no"; then
14119 if test "$req_avail" = "no"; then
14120 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
14123 if test "${aros_tool_prefix}${toolchain_objdump}" = ""; then
14124 if test "$cross_compiling" = "yes" ; then
14125 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
14126 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14128 $as_echo_n "checking for $ac_word... " >&6; }
14129 if ${ac_cv_path_orig_target_objdump+:} false
; then :
14130 $as_echo_n "(cached) " >&6
14132 case $orig_target_objdump in
14134 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
14137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14138 for as_dir
in $PATH
14141 test -z "$as_dir" && as_dir
=.
14142 for ac_exec_ext
in '' $ac_executable_extensions; do
14143 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14144 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
14145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14155 orig_target_objdump
=$ac_cv_path_orig_target_objdump
14156 if test -n "$orig_target_objdump"; then
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
14158 $as_echo "$orig_target_objdump" >&6; }
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14161 $as_echo "no" >&6; }
14167 if test "" = ""; then
14168 ac_tool_objdump
=objdump
14172 if test "$GCC" = "yes"; then
14173 aros_gcc_objdump
=`$CC -print-prog-name=$ac_tool_objdump`
14174 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
14175 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14177 $as_echo_n "checking for $ac_word... " >&6; }
14178 if ${ac_cv_path_orig_target_objdump+:} false
; then :
14179 $as_echo_n "(cached) " >&6
14181 case $orig_target_objdump in
14183 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
14186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14187 for as_dir
in `dirname $aros_gcc_objdump`
14190 test -z "$as_dir" && as_dir
=.
14191 for ac_exec_ext
in '' $ac_executable_extensions; do
14192 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14193 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
14194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14204 orig_target_objdump
=$ac_cv_path_orig_target_objdump
14205 if test -n "$orig_target_objdump"; then
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
14207 $as_echo "$orig_target_objdump" >&6; }
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14210 $as_echo "no" >&6; }
14215 if test "$orig_target_objdump" = ""; then
14216 for ac_prog
in $ac_tool_objdump
14218 # Extract the first word of "$ac_prog", so it can be a program name with args.
14219 set dummy
$ac_prog; ac_word
=$2
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14221 $as_echo_n "checking for $ac_word... " >&6; }
14222 if ${ac_cv_path_orig_target_objdump+:} false
; then :
14223 $as_echo_n "(cached) " >&6
14225 case $orig_target_objdump in
14227 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
14230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14231 for as_dir
in $PATH
14234 test -z "$as_dir" && as_dir
=.
14235 for ac_exec_ext
in '' $ac_executable_extensions; do
14236 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14237 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
14238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14248 orig_target_objdump
=$ac_cv_path_orig_target_objdump
14249 if test -n "$orig_target_objdump"; then
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
14251 $as_echo "$orig_target_objdump" >&6; }
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14254 $as_echo "no" >&6; }
14258 test -n "$orig_target_objdump" && break
14265 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objdump}" : '[^ ]* \(.*\)'`
14266 # Extract the first word of "${aros_tool_prefix}${toolchain_objdump}", so it can be a program name with args.
14267 set dummy
${aros_tool_prefix}${toolchain_objdump}; ac_word
=$2
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14269 $as_echo_n "checking for $ac_word... " >&6; }
14270 if ${ac_cv_path_orig_target_objdump+:} false
; then :
14271 $as_echo_n "(cached) " >&6
14273 case $orig_target_objdump in
14275 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
14278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14279 for as_dir
in $PATH
14282 test -z "$as_dir" && as_dir
=.
14283 for ac_exec_ext
in '' $ac_executable_extensions; do
14284 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14285 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
14286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14296 orig_target_objdump
=$ac_cv_path_orig_target_objdump
14297 if test -n "$orig_target_objdump"; then
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
14299 $as_echo "$orig_target_objdump" >&6; }
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14302 $as_echo "no" >&6; }
14306 orig_target_objdump
="$orig_target_objdump $ac_tool_optarg"
14310 if test "$orig_target_objdump" = ""; then
14313 if test "$orig_target_objdump" = "no"; then
14316 if test "$req_avail" = "no"; then
14317 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
14321 if test "$kernel_tool_prefix" = "none" ; then
14322 # No kernel tools specified
14323 # Assume kernel tools == target tools with ELF wrapper
14324 aros_kernel_cc
=$orig_target_cc
14325 aros_kernel_cxx
=$orig_target_cxx
14326 aros_kernel_cpp
="$orig_target_cpp"
14327 aros_kernel_ld
=$orig_target_ld
14328 aros_kernel_as
=$orig_target_as
14329 aros_kernel_ar
=$orig_target_ar
14330 aros_kernel_ranlib
=$orig_target_ranlib
14331 aros_kernel_nm
=$orig_target_nm
14332 aros_kernel_strip
=$orig_target_strip
14333 aros_kernel_objcopy
=$orig_target_objcopy
14334 aros_kernel_objdump
=$orig_target_objdump
14335 aros_kernel_isa_flags
=$aros_isa_flags
14336 use_kernel_cc_wrapper
=yes
14339 # At this point, all aros_kernel_* and aros_target_*
14340 # tools should be set up correctly
14342 CC
="$aros_kernel_cc $kernel_tool_flags"
14343 CPP
="$aros_kernel_cpp"
14345 #-----------------------------------------------------------------------------
14347 # Find all the tools we need to compile. This could be cross-compiling
14348 # though! If that is the case we use the GNU form of the target and
14349 # simply add this to the front of the binary name. This is rather simple,
14350 # but it should work under most circumstances.
14352 # The default tools are to use the same as the host, but only if the
14353 # host and target CPU are the same. With GCC this is normally enough.
14357 aros_shared_ld
="$aros_host_ld"
14359 aros_target_mkdep
="$aros_host_mkdep"
14361 # The default tools executables to be linked to.
14362 if test "$rescomp" != ""; then
14363 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
14364 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14366 $as_echo_n "checking for $ac_word... " >&6; }
14367 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
14368 $as_echo_n "(cached) " >&6
14370 case $aros_kernel_rescomp in
14372 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
14375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14376 for as_dir
in $PATH
14379 test -z "$as_dir" && as_dir
=.
14380 for ac_exec_ext
in '' $ac_executable_extensions; do
14381 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14382 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
14383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14393 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
14394 if test -n "$aros_kernel_rescomp"; then
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
14396 $as_echo "$aros_kernel_rescomp" >&6; }
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14399 $as_echo "no" >&6; }
14404 if test "$aros_kernel_rescomp" = ""; then
14407 if test "$aros_kernel_rescomp" = "no"; then
14410 if test "$req_avail" = "no"; then
14411 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
14415 # Set up the sources for the symlink farm
14416 if test "$crosstools" = "yes"; then
14417 crosstools_target
=tools-crosstools
14420 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
14421 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
14423 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/host/config"
14424 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
14425 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Developer/include/aros"
14426 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
14427 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
14428 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
14429 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
14431 # aros_cc_pre is a variable that is added to the front of the compiler name
14432 # in the generated aros-gcc shell script. We need this to enable the cache
14433 # to work across cleaned builds. Also, support DISTCC using the correct
14434 # environment variable.
14437 if test "x${DISTCC}" != "x" ; then
14438 if test "x${CCACHE}" != "x" ; then
14439 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
14441 aros_cc_pre
="${DISTCC} "
14444 if test "x${CCACHE}" != "x" ; then
14445 aros_cc_pre
="${CCACHE} "
14449 aros_target_nostdinc_cflags
=-nostdinc
14451 aros_target_nostartup_ldflags
=-nostartfiles
14453 aros_target_nix_ldflags
=-nix
14455 aros_target_detach_ldflags
=-detach
14457 aros_target_nostdlib_ldflags
=-nostdlib
14460 aros_target_cc_path
=
14464 if test "$aros_target_toolchain" != "yes"; then
14465 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
14466 if test "$GCC" = "yes"; then
14467 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
14470 # We do not know which c compiler version we are going to build and what we need to know
14471 # here is different for different versions so this will be set later during the
14472 # build of crosstools.
14473 if test "$aros_toolchain" = "gnu" ; then
14474 prefix
="$AROS_CROSSTOOLSDIR/${aros_target_cpu}-aros-"
14475 elif test "$aros_toolchain" = "llvm" ; then
14476 prefix
="$AROS_CROSSTOOLSDIR/bin/"
14478 aros_target_cc_path
=@aros_target_cc_path@
14480 aros_target_cpp
="${prefix}${toolchain_cpp_preprocessor}${toolchain_cpp_opts}"
14481 aros_target_cc
="${prefix}${toolchain_c_compiler}"
14482 aros_target_cxx
="${prefix}${toolchain_cxx_compiler}"
14483 aros_target_as
="${prefix}${toolchain_as}"
14484 if test "${use_ld_wrapper}" = "yes"; then
14485 aros_target_ld
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${aros_ld}"
14487 aros_target_ld
="${prefix}${toolchain_ld}"
14489 aros_toolchain_ld
="${prefix}${toolchain_ld}"
14491 aros_target_ar
="${prefix}${toolchain_ar} $aros_target_ar_flags"
14492 aros_target_objcopy
="${prefix}${toolchain_objcopy}"
14493 aros_target_objdump
="${prefix}${toolchain_objdump}"
14494 aros_target_ranlib
="${prefix}${toolchain_ranlib} $aros_target_ranlib_flags"
14495 aros_target_nm
="${prefix}${toolchain_nm} $aros_target_nm_flags"
14496 aros_target_strip
="${prefix}${toolchain_strip}"
14497 aros_plain_nm
="${prefix}${toolchain_nm}"
14498 aros_plain_ar
="${prefix}${toolchain_ar}"
14500 # Check whether --enable-includes was given.
14501 if test "${enable_includes+set}" = set; then :
14502 enableval
=$enable_includes; aros_target_incl
=$enable_includes
14504 aros_target_incl
=no
14508 if test "x$aros_target_incl" = "xno"; then
14509 if test "x$test_kernel_cc" != "xno"; then
14510 aros_target_incl
=`$aros_kernel_cc -print-sysroot 2>/dev/null`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
14516 if test "x$aros_kernel_includes" = "x"; then
14517 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
14518 if test "x$aros_target_incl" != "x"; then
14519 aros_kernel_includes
="-isystem $aros_target_incl"
14524 if test "x$test_kernel_cc" != "xno"; then
14525 if test "$aros_kernel_includes" != "" ; then
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
14527 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
14528 if test "$aros_kernel_cc_includes" = "" ; then
14529 # Try to guess where the directory is.
14530 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
14531 if test -d $aros_kernel_cc_includes; then
14532 # Check if there is also an include-fixed directory and add it
14533 # to kernel compiler's include path as it may contain some of
14534 # the headers we need.
14535 if test -d "$aros_kernel_cc_includes"-fixed; then
14536 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
14538 # Check for specific includes directory. Needed for Ubuntu 11.10 and Debian
14539 if test -d "/usr/include/${aros_target_cpu}-linux-gnu"; then
14540 aros_kernel_cc_includes
+=" -isystem /usr/include/${aros_target_cpu}-linux-gnu"
14543 # The directory doesn't exist, we need to do some more work.
14544 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
14546 # These are the headers we're looking for.
14547 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
14548 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
14552 for h
in $headers; do
14553 # Which other headers are needed by each of the above?
14554 deps
=$
(echo "#include <$h>" | \
14555 $aros_kernel_cc -E -M - 2>/dev
/null | \
14556 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
14558 # Copy all the needed headers to a directory beneath gendir.
14561 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
14562 sed -n "s,^.*/include\(/.*\),\1,p")
14563 ! test -d $dir && mkdir
-p $dir
14564 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
14570 $as_echo "$aros_kernel_cc_includes" >&6; }
14571 # Adding -nostdinc to kernel includes as they are always used together.
14572 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
14576 if test "$crosstools" != "yes"; then
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
14578 $as_echo_n "checking for the target compiler's include path... " >&6; }
14579 if test "$aros_target_cc_includes" = "" ; then
14580 #try to guess where the directory is
14581 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
14582 if ! test -d $aros_target_cc_includes; then
14583 #the directory doesn't exist, we need to do some more work
14584 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
14586 #these are the headers we're looking for
14587 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
14588 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
14592 for h
in $headers; do
14593 #which other headers each of the above headers needs?
14594 deps
=$
(echo "#include <$h>" | \
14595 $orig_target_cc -E -M - 2>/dev
/null | \
14596 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
14598 #copy all the needed headers to a directory beneath gendir
14601 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
14602 sed -n "s,^.*/include\(/.*\),\1,p")
14603 ! test -d $dir && mkdir
-p $dir
14604 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
14610 $as_echo "$aros_target_cc_includes" >&6; }
14612 # We do not know which c compiler version we are going to build and what we need to know
14613 # here is different for different versions so this will be set later during the
14614 # build of crosstools.
14615 aros_target_cc_includes
=@aros_target_cc_includes@
14619 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
14620 # On GCC >= 4.0 -iquote should be used
14624 save_cflags
="$CFLAGS"
14625 if test "x$test_kernel_cc" != "xno"; then
14627 kernel_cflags_iquote
=$host_cflags_iquote
14628 kernel_cflags_iquote_end
=$host_cflags_iquote_end
14629 if test "x-$cross_compiling" = "x-yes"; then
14630 CC
="$aros_kernel_cc"
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
14632 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
14633 if test "x-$crosstools" != "x-yes"; then
14634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14635 /* end confdefs.h. */
14645 if ac_fn_c_try_compile
"$LINENO"; then :
14646 use_no_stack_protector
="yes"
14648 use_no_stack_protector
="no"
14650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14652 # we do know it is supported for the smallest version of gcc we are going to build
14653 # we assume it's also supported by later versions
14654 use_no_stack_protector
=yes
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
14657 $as_echo "$use_no_stack_protector" >&6; }
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
14659 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
14660 if test "x-$crosstools" != "x-yes"; then
14661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14662 /* end confdefs.h. */
14672 if ac_fn_c_try_compile
"$LINENO"; then :
14677 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14679 # we do know it is supported for the smallest version of gcc we are going to build
14680 # we assume it's also supported by later versions
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
14684 $as_echo "$has_iquote" >&6; }
14685 if test "x-$has_iquote" = "x-yes" ; then
14686 kernel_cflags_iquote
=-iquote
14687 kernel_cflags_iquote_end
=
14689 kernel_cflags_iquote
=-I
14690 kernel_cflags_iquote_end
=-I-
14693 if test "x-$use_no_stack_protector" = "x-yes" ; then
14694 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
14697 #-----------------------------------------------------------------------------
14699 # Check if we can explicitly choose older version of symbol hashing
14701 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
14702 CC
="$aros_kernel_cc"
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
14704 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
14705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14706 /* end confdefs.h. */
14716 if ac_fn_c_try_link
"$LINENO"; then :
14717 use_hash_style
="yes"
14719 use_hash_style
="no"
14721 rm -f core conftest.err conftest.
$ac_objext \
14722 conftest
$ac_exeext conftest.
$ac_ext
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
14724 $as_echo "$use_hash_style" >&6; }
14725 if test "x-$use_hash_style" = "x-yes" ; then
14726 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
14729 kernel_cflags_iquote
="$""(CFLAGS_IQUOTE)"
14730 kernel_cflags_iquote_end
="$""(CFLAGS_IQUOTE_END)"
14733 CFLAGS
="$save_cflags"
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
14742 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
14744 # Check whether --with-resolution was given.
14745 if test "${with_resolution+set}" = set; then :
14746 withval
=$with_resolution; resolution
=$withval
14751 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
14752 if test "$resolution" = "yes" ; then
14755 if test "$resolution" = "no" ; then
14758 if test "$resolution" != "none" ; then
14759 aros_nominal_width
=`echo $resolution | cut -d'x' -f1`
14760 aros_nominal_height
=`echo $resolution | cut -d'x' -f2`
14761 aros_nominal_depth
=`echo $resolution | cut -d'x' -f3`
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&5
14764 $as_echo "$aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&6; }
14765 aros_cv_nominal_width
=$aros_nominal_width
14766 aros_cv_nominal_height
=$aros_nominal_height
14767 aros_cv_nominal_depth
=$aros_nominal_depth
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether serial debug is enabled" >&5
14770 $as_echo_n "checking whether serial debug is enabled... " >&6; }
14772 # Check whether --with-serial-debug was given.
14773 if test "${with_serial_debug+set}" = set; then :
14774 withval
=$with_serial_debug; serial_debug
=$withval
14779 if test "$aros_serial_debug" = 0 ; then
14780 serial_debug_forced
=""
14781 if test "$serial_debug" = "yes" ; then
14784 if test "$serial_debug" = "no" ; then
14785 serial_debug
="none"
14788 serial_debug_forced
="(forced)"
14789 serial_debug
=$aros_serial_debug
14791 if test "$serial_debug" != "none" ; then
14792 aros_serial_debug
=$serial_debug
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
14794 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14797 $as_echo "no" >&6; }
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether palm debug hack is enabled" >&5
14801 $as_echo_n "checking whether palm debug hack is enabled... " >&6; }
14802 # Check whether --enable-palm_debug_hack was given.
14803 if test "${enable_palm_debug_hack+set}" = set; then :
14804 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
14806 palm_debug_hack
="no"
14809 if test "$palm_debug_hack" = "yes" ; then
14810 aros_palm_debug_hack
="1"
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
14813 $as_echo "$palm_debug_hack" >&6; }
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usb3.0 code is enabled" >&5
14816 $as_echo_n "checking whether usb3.0 code is enabled... " >&6; }
14817 # Check whether --enable-usb30_code was given.
14818 if test "${enable_usb30_code+set}" = set; then :
14819 enableval
=$enable_usb30_code; usb30_code
="yes"
14824 if test "$usb30_code" = "yes" ; then
14825 aros_config_cppflags
="$aros_config_cppflags -DAROS_USB30_CODE"
14826 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
14829 $as_echo "$usb30_code" >&6; }
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether nesting supervisor support is enabled" >&5
14832 $as_echo_n "checking whether nesting supervisor support is enabled... " >&6; }
14833 # Check whether --enable-nesting_supervisor was given.
14834 if test "${enable_nesting_supervisor+set}" = set; then :
14835 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
14837 nesting_supervisor
="no"
14840 if test "$nesting_supervisor" = "yes" ; then
14841 aros_nesting_supervisor
="1"
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
14844 $as_echo "$nesting_supervisor" >&6; }
14846 if test "$aros_enable_mmu" = "" ; then
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MMU support is enabled" >&5
14848 $as_echo_n "checking whether MMU support is enabled... " >&6; }
14849 # Check whether --enable-mmu was given.
14850 if test "${enable_mmu+set}" = set; then :
14851 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
14853 aros_enable_mmu
="yes"
14856 if test "$aros_enable_mmu" = "" ; then
14857 aros_enable_mmu
="yes"
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
14860 $as_echo "$aros_enable_mmu" >&6; }
14862 if test "$aros_enable_mmu" = "no" ; then
14863 aros_enable_mmu
="0"
14865 aros_enable_mmu
="1"
14869 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
14871 if test "x-$need_dlopen" != "x-no" ; then
14874 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
14875 if test "x$ac_cv_func_dlopen" = xyes
; then :
14881 if test "x-$have_dl" = "x-no" ; then
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14883 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14884 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14885 $as_echo_n "(cached) " >&6
14887 ac_check_lib_save_LIBS
=$LIBS
14889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14890 /* end confdefs.h. */
14892 /* Override any GCC internal prototype to avoid an error.
14893 Use char because int might match the return type of a GCC
14894 builtin and then its argument prototype would still apply. */
14907 if ac_fn_c_try_link
"$LINENO"; then :
14908 ac_cv_lib_dl_dlopen
=yes
14910 ac_cv_lib_dl_dlopen
=no
14912 rm -f core conftest.err conftest.
$ac_objext \
14913 conftest
$ac_exeext conftest.
$ac_ext
14914 LIBS
=$ac_check_lib_save_LIBS
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14917 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14918 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14920 aros_host_ldflags
="$aros_host_ldflags -ldl"
14926 if test "x-$have_dl" = "x-no" ; then
14927 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
14933 # Check whether --enable-x11_hidd was given.
14934 if test "${enable_x11_hidd+set}" = set; then :
14935 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
14937 x11_hidd
="$need_x11"
14940 case "x-$x11_hidd" in
14941 x-yes|x-no|x-auto
) ;;
14942 *) x11_hidd
="$need_x11" ;;
14947 if test "x-$x11_hidd" != "x-no" ; then
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
14950 $as_echo_n "checking for X... " >&6; }
14953 # Check whether --with-x was given.
14954 if test "${with_x+set}" = set; then :
14958 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
14959 if test "x$with_x" = xno
; then
14960 # The user explicitly disabled X.
14963 case $x_includes,$x_libraries in #(
14964 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
14965 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
14966 $as_echo_n "(cached) " >&6
14968 # One or both of the vars are not set, and there is no cached value.
14969 ac_x_includes
=no ac_x_libraries
=no
14970 rm -f -r conftest.dir
14971 if mkdir conftest.dir
; then
14973 cat >Imakefile
<<'_ACEOF'
14975 @echo incroot='${INCROOT}'
14977 @echo usrlibdir='${USRLIBDIR}'
14979 @echo libdir='${LIBDIR}'
14981 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
14982 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14983 for ac_var
in incroot usrlibdir libdir
; do
14984 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14986 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14987 for ac_extension
in a so sl dylib la dll
; do
14988 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14989 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14990 ac_im_usrlibdir
=$ac_im_libdir; break
14993 # Screen out bogus values from the imake configuration. They are
14994 # bogus both because they are the default anyway, and because
14995 # using them would break gcc on systems where it needs fixed includes.
14996 case $ac_im_incroot in
14997 /usr
/include
) ac_x_includes
= ;;
14998 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
15000 case $ac_im_usrlibdir in
15001 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
15002 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
15006 rm -f -r conftest.dir
15009 # Standard set of common directories for X headers.
15010 # Check X11 before X11Rn because it is often a symlink to the current release.
15024 /usr/local/X11/include
15025 /usr/local/X11R7/include
15026 /usr/local/X11R6/include
15027 /usr/local/X11R5/include
15028 /usr/local/X11R4/include
15030 /usr/local/include/X11
15031 /usr/local/include/X11R7
15032 /usr/local/include/X11R6
15033 /usr/local/include/X11R5
15034 /usr/local/include/X11R4
15038 /usr/XFree86/include/X11
15042 /usr/unsupported/include
15043 /usr/athena/include
15044 /usr/local/x11r5/include
15045 /usr/lpp/Xamples/include
15047 /usr/openwin/include
15048 /usr/openwin/share/include'
15050 if test "$ac_x_includes" = no
; then
15051 # Guess where to find include files, by looking for Xlib.h.
15052 # First, try using that file with no special directory specified.
15053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15054 /* end confdefs.h. */
15055 #include <X11/Xlib.h>
15057 if ac_fn_c_try_cpp
"$LINENO"; then :
15058 # We can compile using X headers with no special include directory.
15061 for ac_dir
in $ac_x_header_dirs; do
15062 if test -r "$ac_dir/X11/Xlib.h"; then
15063 ac_x_includes
=$ac_dir
15068 rm -f conftest.err conftest.i conftest.
$ac_ext
15069 fi # $ac_x_includes = no
15071 if test "$ac_x_libraries" = no
; then
15072 # Check for the libraries.
15073 # See if we find them without any special options.
15074 # Don't add to $LIBS permanently.
15077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15078 /* end confdefs.h. */
15079 #include <X11/Xlib.h>
15088 if ac_fn_c_try_link
"$LINENO"; then :
15090 # We can link X programs with no special library path.
15094 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
15096 # Don't even attempt the hair of trying to link an X program!
15097 for ac_extension
in a so sl dylib la dll
; do
15098 if test -r "$ac_dir/libX11.$ac_extension"; then
15099 ac_x_libraries
=$ac_dir
15105 rm -f core conftest.err conftest.
$ac_objext \
15106 conftest
$ac_exeext conftest.
$ac_ext
15107 fi # $ac_x_libraries = no
15109 case $ac_x_includes,$ac_x_libraries in #(
15110 no
,* |
*,no |
*\'*)
15111 # Didn't find X, or a directory has "'" in its name.
15112 ac_cv_have_x
="have_x=no";; #(
15114 # Record where we found X for the cache.
15115 ac_cv_have_x
="have_x=yes\
15116 ac_x_includes='$ac_x_includes'\
15117 ac_x_libraries='$ac_x_libraries'"
15123 eval "$ac_cv_have_x"
15126 if test "$have_x" != yes; then
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
15128 $as_echo "$have_x" >&6; }
15131 # If each of the values was on the command line, it overrides each guess.
15132 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
15133 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
15134 # Update the cache value to reflect the command line values.
15135 ac_cv_have_x
="have_x=yes\
15136 ac_x_includes='$x_includes'\
15137 ac_x_libraries='$x_libraries'"
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
15139 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
15143 if test -n "$x_includes"; then
15144 X_CFLAGS
="$X_CFLAGS -I$x_includes"
15147 if test -n "$x_libraries"; then
15148 X_LIBS
="$X_LIBS -L$x_libraries"
15151 if test "x-$no_x" = "x-yes" ; then
15153 if test "x-$x11_hidd" != "x-auto" ; then
15154 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
15158 aros_target_options
+="$export_newline""# Enable X11 Gfx Driver$export_newline""OPT_HOST_X11GFX := yes$export_newline"
15159 if test "x-$host_feature_glx" != "x-no" ; then
15160 aros_target_options
+="$export_newline""# Enable X11 HostGL 3D Passthrough$export_newline""OPT_HOST_X11_HOSTGL := yes$export_newline"
15164 aros_host_x11_cflags
="$X_CFLAGS"
15165 aros_host_x11_ldflags
="$X_LIBS -lX11"
15167 # Check whether --enable-x11_shm was given.
15168 if test "${enable_x11_shm+set}" = set; then :
15169 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
15171 x11_hidd_shm
="auto"
15174 case "x-$x11_hidd_shm" in
15175 x-yes|x-no|x-auto
) ;;
15176 *) x11_hidd_shm
="auto" ;;
15181 if test "x-$x11_hidd_shm" != "x-no" ; then
15183 for ac_header
in sys
/ipc.h
15185 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
15186 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
15187 cat >>confdefs.h
<<_ACEOF
15188 #define HAVE_SYS_IPC_H 1
15195 for ac_header
in sys
/shm.h
15197 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
15198 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
15199 cat >>confdefs.h
<<_ACEOF
15200 #define HAVE_SYS_SHM_H 1
15208 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
15210 save_cflags
="$CFLAGS"
15211 save_ldflags
="$LDFLAGS"
15212 CFLAGS
="$CFLAGS $X_CFLAGS"
15213 LDFLAGS
="$LDFLAGS $X_LIBS"
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
15215 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
15216 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
15217 $as_echo_n "(cached) " >&6
15219 ac_check_lib_save_LIBS
=$LIBS
15220 LIBS
="-lXext $LIBS"
15221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15222 /* end confdefs.h. */
15224 /* Override any GCC internal prototype to avoid an error.
15225 Use char because int might match the return type of a GCC
15226 builtin and then its argument prototype would still apply. */
15230 char XShmQueryExtension ();
15234 return XShmQueryExtension ();
15239 if ac_fn_c_try_link
"$LINENO"; then :
15240 ac_cv_lib_Xext_XShmQueryExtension
=yes
15242 ac_cv_lib_Xext_XShmQueryExtension
=no
15244 rm -f core conftest.err conftest.
$ac_objext \
15245 conftest
$ac_exeext conftest.
$ac_ext
15246 LIBS
=$ac_check_lib_save_LIBS
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
15249 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
15250 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
15254 CFLAGS
="$save_cflags"
15255 LDFLAGS
="$save_ldflags"
15259 if test "x-$have_xshm" = "x-yes" ; then
15260 DO_XSHM_SUPPORT
="1"
15261 elif test "x-$x11_hidd_shm" = "x-yes" ; then
15262 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
15264 DO_XSHM_SUPPORT
="0"
15268 # Check whether --enable-x11_vidmode was given.
15269 if test "${enable_x11_vidmode+set}" = set; then :
15270 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
15272 x11_hidd_vidmode
="auto"
15275 case "x-$x11_hidd_vidmode" in
15276 x-yes|x-no|x-auto
) ;;
15277 *) x11_hidd_vidmode
="auto" ;;
15282 if test "x-$x11_hidd_vidmode" != "x-no" ; then
15284 save_cflags
="$CFLAGS"
15285 save_ldflags
="$LDFLAGS"
15286 CFLAGS
="$CFLAGS $X_CFLAGS"
15287 LDFLAGS
="$LDFLAGS $X_LIBS"
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
15289 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
15290 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
15291 $as_echo_n "(cached) " >&6
15293 ac_check_lib_save_LIBS
=$LIBS
15294 LIBS
="-lXxf86vm $LIBS"
15295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15296 /* end confdefs.h. */
15298 /* Override any GCC internal prototype to avoid an error.
15299 Use char because int might match the return type of a GCC
15300 builtin and then its argument prototype would still apply. */
15304 char XF86VidModeQueryExtension ();
15308 return XF86VidModeQueryExtension ();
15313 if ac_fn_c_try_link
"$LINENO"; then :
15314 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
15316 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
15318 rm -f core conftest.err conftest.
$ac_objext \
15319 conftest
$ac_exeext conftest.
$ac_ext
15320 LIBS
=$ac_check_lib_save_LIBS
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
15323 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
15324 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
15328 CFLAGS
="$save_cflags"
15329 LDFLAGS
="$save_ldflags"
15332 if test "x-$have_vidmode" = "x-yes" ; then
15333 DO_VIDMODE_SUPPORT
="1"
15334 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
15335 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
15337 DO_VIDMODE_SUPPORT
="0"
15342 # Check whether --enable-sdl_hidd was given.
15343 if test "${enable_sdl_hidd+set}" = set; then :
15344 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
15349 case "x-$sdl_hidd" in
15350 x-yes|x-no|x-auto
) ;;
15351 *) sdl_hidd
="auto" ;;
15354 if test "x-$sdl_hidd" != "x-no" ; then
15358 # Check whether --with-sdl-prefix was given.
15359 if test "${with_sdl_prefix+set}" = set; then :
15360 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
15366 # Check whether --with-sdl-exec-prefix was given.
15367 if test "${with_sdl_exec_prefix+set}" = set; then :
15368 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
15373 # Check whether --enable-sdltest was given.
15374 if test "${enable_sdltest+set}" = set; then :
15375 enableval
=$enable_sdltest;
15381 if test x
$sdl_exec_prefix != x
; then
15382 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
15383 if test x
${SDL_CONFIG+set} != xset
; then
15384 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
15387 if test x
$sdl_prefix != x
; then
15388 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
15389 if test x
${SDL_CONFIG+set} != xset
; then
15390 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
15394 as_save_PATH
="$PATH"
15395 if test "x$prefix" != xNONE
; then
15396 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
15398 # Extract the first word of "sdl-config", so it can be a program name with args.
15399 set dummy sdl-config
; ac_word
=$2
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15401 $as_echo_n "checking for $ac_word... " >&6; }
15402 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
15403 $as_echo_n "(cached) " >&6
15405 case $SDL_CONFIG in
15407 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
15410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15411 for as_dir
in $PATH
15414 test -z "$as_dir" && as_dir
=.
15415 for ac_exec_ext
in '' $ac_executable_extensions; do
15416 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15417 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15425 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
15429 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
15430 if test -n "$SDL_CONFIG"; then
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
15432 $as_echo "$SDL_CONFIG" >&6; }
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15435 $as_echo "no" >&6; }
15439 PATH
="$as_save_PATH"
15440 min_sdl_version
=$SDL_VERSION
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
15442 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
15444 if test "$SDL_CONFIG" = "no" ; then
15447 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
15448 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
15450 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
15451 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
15452 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
15453 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
15454 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
15455 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
15456 if test "x$enable_sdltest" = "xyes" ; then
15457 ac_save_CFLAGS
="$CFLAGS"
15458 ac_save_CXXFLAGS
="$CXXFLAGS"
15459 ac_save_LIBS
="$LIBS"
15460 CFLAGS
="$CFLAGS $SDL_CFLAGS"
15461 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
15462 LIBS
="$LIBS $SDL_LIBS"
15464 if test "$cross_compiling" = yes; then :
15465 echo $ac_n "cross compiling; assumed OK... $ac_c"
15467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15468 /* end confdefs.h. */
15471 #include <stdlib.h>
15472 #include <string.h>
15476 my_strdup (char *str)
15482 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
15483 strcpy (new_str, str);
15491 int main (int argc, char *argv[])
15493 int major, minor, micro;
15496 /* This hangs on some systems (?)
15497 system ("touch conf.sdltest");
15499 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
15501 /* HP/UX 9 (%@#!) writes to sscanf strings */
15502 tmp_version = my_strdup("$min_sdl_version");
15503 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
15504 printf("%s, bad version string\n", "$min_sdl_version");
15508 if (($sdl_major_version > major) ||
15509 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
15510 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
15516 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
15517 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
15518 printf("*** best to upgrade to the required version.\n");
15519 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
15520 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
15521 printf("*** config.cache before re-running configure\n");
15528 if ac_fn_c_try_run
"$LINENO"; then :
15533 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15534 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15537 CFLAGS
="$ac_save_CFLAGS"
15538 CXXFLAGS
="$ac_save_CXXFLAGS"
15539 LIBS
="$ac_save_LIBS"
15542 if test "x$no_sdl" = x
; then
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15544 $as_echo "yes" >&6; }
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15548 $as_echo "no" >&6; }
15549 if test "$SDL_CONFIG" = "no" ; then
15550 echo "*** The sdl-config script installed by SDL could not be found"
15551 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
15552 echo "*** your path, or set the SDL_CONFIG environment variable to the"
15553 echo "*** full path to sdl-config."
15555 if test -f conf.sdltest
; then
15558 echo "*** Could not run SDL test program, checking why..."
15559 CFLAGS
="$CFLAGS $SDL_CFLAGS"
15560 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
15561 LIBS
="$LIBS $SDL_LIBS"
15562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15563 /* end confdefs.h. */
15568 int main(int argc, char *argv[])
15571 #define main K_and_R_C_main
15581 if ac_fn_c_try_link
"$LINENO"; then :
15582 echo "*** The test program compiled, but did not run. This usually means"
15583 echo "*** that the run-time linker is not finding SDL or finding the wrong"
15584 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
15585 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
15586 echo "*** to the installed location Also, make sure you have run ldconfig if that"
15587 echo "*** is required on your system"
15589 echo "*** If you have an old version installed, it is best to remove it, although"
15590 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
15592 echo "*** The test program failed to compile or link. See the file config.log for the"
15593 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
15594 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
15595 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
15597 rm -f core conftest.err conftest.
$ac_objext \
15598 conftest
$ac_exeext conftest.
$ac_ext
15599 CFLAGS
="$ac_save_CFLAGS"
15600 CXXFLAGS
="$ac_save_CXXFLAGS"
15601 LIBS
="$ac_save_LIBS"
15613 if test "x-$have_sdl" != "x-yes" ; then
15615 if test "x-$sdl_hidd" != "x-auto" ; then
15616 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
15620 aros_target_options
+="$export_newline""# Enable SDL Gfx Driver$export_newline""OPT_HOST_SDLGFX := yes$export_newline"
15621 aros_host_sdl_cflags
=$SDL_CFLAGS
15622 aros_host_sdl_libs
=$SDL_LIBS
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether building of dbus.library is enabled" >&5
15630 $as_echo_n "checking whether building of dbus.library is enabled... " >&6; }
15631 # Check whether --enable-dbus was given.
15632 if test "${enable_dbus+set}" = set; then :
15633 enableval
=$enable_dbus; dbus
="yes"
15638 if test "$dbus" = "yes" ; then
15640 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
15641 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
15642 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
15643 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
15648 $as_echo "$dbus" >&6; }
15650 if test "$use_kernel_cc_wrapper" = "yes" ; then
15651 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-${toolchain_c_compiler}"
15654 aros_kernel_cppflags
=$aros_config_cppflags
15655 aros_optimization_cflags
="$optimization_level"
15656 if test "$optimization" = "default"; then
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default optimization level to use" >&5
15658 $as_echo_n "checking default optimization level to use... " >&6; }
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization_level" >&5
15660 $as_echo "$optimization_level" >&6; }
15663 if ! test "$gcc_default_cpu" = "" ; then
15664 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"
15667 if test "$use_libatomic" = "yes" ; then
15668 aros_cxx_libs
="$aros_cxx_libs -latomic"
15686 # Compatability with other Amiga-like operating systems
15689 # Host Related ###########################
15721 # Target Related #########################
15815 # Native version related
15823 # Bootloader related
15826 # Unix/Hosted version related
15829 # ARM default GCC target related
15836 # Palm native version related
15839 # Apple iOS related
15856 # Collect-aros stuff: "-ius" to ignore undefined symbols
15859 # C compiler related
15864 #ObjC compiler related
15892 case "$aros_flavour" in
15893 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
15894 aros_flavour
="emulation" ;;
15895 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
15896 aros_flavour
="emulation" ;;
15897 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
15898 aros_flavour
="standalone";;
15899 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15900 aros_flavour
="standalone";;
15901 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
15902 aros_flavour
="native" ;;
15903 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
15904 aros_flavour
="native" ;;
15905 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
15906 aros_flavour
="linklib" ;;
15907 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15908 aros_flavour
="palmnative" ;;
15909 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15910 aros_flavour
="mac68knative" ;;
15911 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15912 aros_flavour
="ppcnative" ;;
15915 if test ! -d ${aros_inc_dir} ; then
15916 ${MKDIR} ${aros_inc_dir}
15918 if test ! -d ${aros_geninc_dir} ; then
15919 ${MKDIR} ${aros_geninc_dir}
15921 if test ! -d ${aros_hostcfg_dir} ; then
15922 ${MKDIR} ${aros_hostcfg_dir}
15924 if test ! -d ${aros_targetcfg_dir} ; then
15925 ${MKDIR} ${aros_targetcfg_dir}
15927 if test ! -d ${aros_tools_dir} ; then
15928 ${MKDIR} ${aros_tools_dir}
15930 if test ! -d ${aros_scripts_dir} ; then
15931 ${MKDIR} ${aros_scripts_dir}
15934 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
15937 # Generic build tools (metamake, etc)
15938 ac_config_commands
="$ac_config_commands genmf-executable-support"
15940 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"
15944 ac_config_commands
="$ac_config_commands binutils-support"
15946 if test "${use_ld_wrapper}" = "yes"; then
15947 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"
15950 # Bare Elf support script and spec
15951 if test "${use_kernel_cc_wrapper}" = "yes"; then
15952 ac_config_commands
="$ac_config_commands elf-compiler-support"
15954 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"
15958 # Host compiler support scripts and spec
15959 if test "${aros_target_toolchain}" = "no"; then
15960 ac_config_commands
="$ac_config_commands host-compiler-wrapper-support"
15962 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"
15967 if test "$aros_target_variant" == "android"; then
15968 ac_config_files
="$ac_config_files ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in"
15973 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in"
15976 cat >confcache
<<\_ACEOF
15977 # This file is a shell script that caches the results of configure
15978 # tests run on this system so they can be shared between configure
15979 # scripts and configure runs, see configure's option --config-cache.
15980 # It is not useful on other systems. If it contains results you don't
15981 # want to keep, you may remove or edit it.
15983 # config.status only pays attention to the cache file if you give it
15984 # the --recheck option to rerun configure.
15986 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15987 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15988 # following values.
15992 # The following way of writing the cache mishandles newlines in values,
15993 # but we know of no workaround that is simple, portable, and efficient.
15994 # So, we kill variables containing newlines.
15995 # Ultrix sh set writes to stderr and can't be redirected directly,
15996 # and sets the high bit in the cache file unless we assign to the vars.
15998 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15999 eval ac_val
=\$
$ac_var
16003 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16004 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16007 _ | IFS | as_nl
) ;; #(
16008 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16009 *) { eval $ac_var=; unset $ac_var;} ;;
16015 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16016 *${as_nl}ac_space
=\
*)
16017 # `set' does not quote correctly, so add quotes: double-quote
16018 # substitution turns \\\\ into \\, and sed turns \\ into \.
16021 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16024 # `set' quotes correctly as required by POSIX, so do not add quotes.
16025 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16034 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16036 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16038 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16039 if test -w "$cache_file"; then
16040 if test "x$cache_file" != "x/dev/null"; then
16041 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16042 $as_echo "$as_me: updating cache $cache_file" >&6;}
16043 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16044 cat confcache
>"$cache_file"
16046 case $cache_file in #(
16048 mv -f confcache
"$cache_file"$$
&&
16049 mv -f "$cache_file"$$
"$cache_file" ;; #(
16051 mv -f confcache
"$cache_file" ;;
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16057 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16062 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16063 # Let make expand exec_prefix.
16064 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16066 DEFS
=-DHAVE_CONFIG_H
16071 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16072 # 1. Remove the extension, and $U if already installed.
16073 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16074 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16075 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16076 # will be set to the directory where LIBOBJS objects are built.
16077 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16078 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16080 LIBOBJS
=$ac_libobjs
16082 LTLIBOBJS
=$ac_ltlibobjs
16086 : "${CONFIG_STATUS=./config.status}"
16088 ac_clean_files_save
=$ac_clean_files
16089 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16091 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16093 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16095 # Generated by $as_me.
16096 # Run this file to recreate the current configuration.
16097 # Compiler output produced by configure, useful for debugging
16098 # configure, is in config.log if it exists.
16101 ac_cs_recheck=false
16104 SHELL=\${CONFIG_SHELL-$SHELL}
16107 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16108 ## -------------------- ##
16109 ## M4sh Initialization. ##
16110 ## -------------------- ##
16112 # Be more Bourne compatible
16113 DUALCASE
=1; export DUALCASE
# for MKS sh
16114 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16117 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16118 # is contrary to our usage. Disable this feature.
16119 alias -g '${1+"$@"}'='"$@"'
16120 setopt NO_GLOB_SUBST
16122 case `(set -o) 2>/dev/null` in #(
16134 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16135 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16136 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16137 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16138 # Prefer a ksh shell builtin over an external printf program on Solaris,
16139 # but without wasting forks for bash or zsh.
16140 if test -z "$BASH_VERSION$ZSH_VERSION" \
16141 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16142 as_echo='print
-r --'
16143 as_echo_n='print
-rn --'
16144 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16145 as_echo='printf %s
\n'
16146 as_echo_n='printf %s
'
16148 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16149 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16150 as_echo_n='/usr
/ucb
/echo -n'
16152 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16153 as_echo_n_body='eval
16157 expr "X$arg" : "X\\(.*\\)$as_nl";
16158 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16160 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16162 export as_echo_n_body
16163 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16165 export as_echo_body
16166 as_echo='sh
-c $as_echo_body as_echo
'
16169 # The user is always right.
16170 if test "${PATH_SEPARATOR+set}" != set; then
16172 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16173 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16180 # We need space, tab and new line, in precisely that order. Quoting is
16181 # there to prevent editors from complaining about space-tab.
16182 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16183 # splitting by setting IFS to empty value.)
16186 # Find who we are. Look in the path if we contain no directory separator.
16189 *[\\/]* ) as_myself=$0 ;;
16190 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16191 for as_dir in $PATH
16194 test -z "$as_dir" && as_dir=.
16195 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16201 # We did not find ourselves, most probably we were run as `sh COMMAND'
16202 # in which case we are not to be found in the path.
16203 if test "x$as_myself" = x
; then
16206 if test ! -f "$as_myself"; then
16207 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16211 # Unset variables that we do not need and which cause bugs (e.g. in
16212 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16213 # suppresses any "Segmentation fault" message there. '((' could
16214 # trigger a bug in pdksh 5.2.14.
16215 for as_var
in BASH_ENV ENV MAIL MAILPATH
16216 do eval test x\
${$as_var+set} = xset \
16217 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16230 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16233 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16234 # ----------------------------------------
16235 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16236 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16237 # script with STATUS, using 1 if that was 0.
16240 as_status
=$1; test $as_status -eq 0 && as_status
=1
16242 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16243 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16245 $as_echo "$as_me: error: $2" >&2
16246 as_fn_exit
$as_status
16250 # as_fn_set_status STATUS
16251 # -----------------------
16252 # Set $? to STATUS, without forking.
16253 as_fn_set_status
()
16256 } # as_fn_set_status
16258 # as_fn_exit STATUS
16259 # -----------------
16260 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16264 as_fn_set_status
$1
16270 # Portably unset VAR.
16273 { eval $1=; unset $1;}
16275 as_unset
=as_fn_unset
16276 # as_fn_append VAR VALUE
16277 # ----------------------
16278 # Append the text in VALUE to the end of the definition contained in VAR. Take
16279 # advantage of any shell optimizations that allow amortized linear growth over
16280 # repeated appends, instead of the typical quadratic growth present in naive
16282 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16283 eval 'as_fn_append ()
16294 # as_fn_arith ARG...
16295 # ------------------
16296 # Perform arithmetic evaluation on the ARGs, and store the result in the
16297 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16298 # must be portable across $(()) and expr.
16299 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16300 eval 'as_fn_arith ()
16307 as_val
=`expr "$@" || test $? -eq 1`
16312 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16313 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16319 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16320 as_basename
=basename
16325 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16331 as_me
=`$as_basename -- "$0" ||
16332 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16333 X"$0" : 'X\(//\)$' \| \
16334 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16336 sed '/^.*\/\([^/][^/]*\)\/*$/{
16350 # Avoid depending upon Character Ranges.
16351 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16352 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16353 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16354 as_cr_digits
='0123456789'
16355 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16357 ECHO_C
= ECHO_N
= ECHO_T
=
16358 case `echo -n x` in #(((((
16360 case `echo 'xy\c'` in
16361 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16363 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16370 rm -f conf$$ conf$$.exe conf$$.
file
16371 if test -d conf$$.dir
; then
16372 rm -f conf$$.dir
/conf$$.
file
16375 mkdir conf$$.dir
2>/dev
/null
16377 if (echo >conf$$.
file) 2>/dev
/null
; then
16378 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16380 # ... but there are two gotchas:
16381 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16382 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16383 # In both cases, we have to default to `cp -pR'.
16384 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16386 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16394 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16395 rmdir conf$$.dir
2>/dev
/null
16400 # Create "$as_dir" as a directory, including parents if necessary.
16405 -*) as_dir
=.
/$as_dir;;
16407 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16411 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16412 *) as_qdir
=$as_dir;;
16414 as_dirs
="'$as_qdir' $as_dirs"
16415 as_dir
=`$as_dirname -- "$as_dir" ||
16416 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16417 X"$as_dir" : 'X\(//\)[^/]' \| \
16418 X"$as_dir" : 'X\(//\)$' \| \
16419 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16420 $as_echo X"$as_dir" |
16421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16425 /^X\(\/\/\)[^/].*/{
16438 test -d "$as_dir" && break
16440 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16441 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16445 if mkdir
-p .
2>/dev
/null
; then
16446 as_mkdir_p
='mkdir -p "$as_dir"'
16448 test -d .
/-p && rmdir .
/-p
16453 # as_fn_executable_p FILE
16454 # -----------------------
16455 # Test if FILE is an executable regular file.
16456 as_fn_executable_p
()
16458 test -f "$1" && test -x "$1"
16459 } # as_fn_executable_p
16460 as_test_x
='test -x'
16461 as_executable_p
=as_fn_executable_p
16463 # Sed expression to map a string onto a valid CPP name.
16464 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16466 # Sed expression to map a string onto a valid variable name.
16467 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16471 ## ----------------------------------- ##
16472 ## Main body of $CONFIG_STATUS script. ##
16473 ## ----------------------------------- ##
16475 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16477 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16478 # Save the log message, to keep $0 and so on meaningful, and to
16479 # report actual input values of CONFIG_FILES etc. instead of their
16480 # values after options handling.
16482 This file was extended by $as_me, which was
16483 generated by GNU Autoconf 2.69. Invocation command line was
16485 CONFIG_FILES = $CONFIG_FILES
16486 CONFIG_HEADERS = $CONFIG_HEADERS
16487 CONFIG_LINKS = $CONFIG_LINKS
16488 CONFIG_COMMANDS = $CONFIG_COMMANDS
16491 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16496 case $ac_config_files in *"
16497 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16500 case $ac_config_headers in *"
16501 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16506 # Files that config.status was made for.
16507 config_files="$ac_config_files"
16508 config_headers="$ac_config_headers"
16509 config_commands="$ac_config_commands"
16513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16515 \`$as_me' instantiates files and other configuration actions
16516 from templates according to the current configuration. Unless the files
16517 and actions are specified as TAGs, all are instantiated by default.
16519 Usage: $0 [OPTION]... [TAG]...
16521 -h, --help print this help, then exit
16522 -V, --version print version number and configuration settings, then exit
16523 --config print configuration, then exit
16524 -q, --quiet, --silent
16525 do not print progress messages
16526 -d, --debug don't remove temporary files
16527 --recheck update $as_me by reconfiguring in the same conditions
16528 --file=FILE[:TEMPLATE]
16529 instantiate the configuration file FILE
16530 --header=FILE[:TEMPLATE]
16531 instantiate the configuration header FILE
16533 Configuration files:
16536 Configuration headers:
16539 Configuration commands:
16542 Report bugs to the package provider."
16545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16546 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16549 configured by $0, generated by GNU Autoconf 2.69,
16550 with options \\"\$ac_cs_config\\"
16552 Copyright (C) 2012 Free Software Foundation, Inc.
16553 This config.status script is free software; the Free Software Foundation
16554 gives unlimited permission to copy, distribute and modify it."
16558 test -n "\$AWK" || AWK=awk
16561 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16562 # The default lists apply if the user does not specify any file.
16568 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16569 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16573 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16585 # Handling of the options.
16586 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16588 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16589 $as_echo "$ac_cs_version"; exit ;;
16590 --config |
--confi |
--conf |
--con |
--co |
--c )
16591 $as_echo "$ac_cs_config"; exit ;;
16592 --debug |
--debu |
--deb |
--de |
--d |
-d )
16594 --file |
--fil |
--fi |
--f )
16597 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16598 '') as_fn_error $?
"missing file argument" ;;
16600 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16601 ac_need_defaults
=false
;;
16602 --header |
--heade |
--head |
--hea )
16605 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16607 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16608 ac_need_defaults
=false
;;
16610 # Conflict between --help and --header
16611 as_fn_error $?
"ambiguous option: \`$1'
16612 Try \`$0 --help' for more information.";;
16613 --help |
--hel |
-h )
16614 $as_echo "$ac_cs_usage"; exit ;;
16615 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16616 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16619 # This is an error.
16620 -*) as_fn_error $?
"unrecognized option: \`$1'
16621 Try \`$0 --help' for more information." ;;
16623 *) as_fn_append ac_config_targets
" $1"
16624 ac_need_defaults
=false
;;
16630 ac_configure_extra_args
=
16632 if $ac_cs_silent; then
16634 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16639 if \$ac_cs_recheck; then
16640 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16642 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16643 CONFIG_SHELL='$SHELL'
16644 export CONFIG_SHELL
16649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16653 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16654 ## Running $as_me. ##
16660 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16665 AROS_CROSSTOOLSDIR=${AROS_CROSSTOOLSDIR}
16666 aros_tools_dir=${aros_tools_dir}
16670 aros_host_exe_suffix=${aros_host_exe_suffix}
16671 aros_tools_dir=${aros_tools_dir}
16672 aros_target_cpu=${aros_target_cpu}
16673 aros_target_arch=${aros_target_arch}
16674 aros_target_suffix=${aros_target_suffix}
16675 orig_target_nm=${orig_target_nm}
16676 orig_target_as=${orig_target_as}
16677 orig_target_ar=${orig_target_ar}
16678 orig_target_ranlib=${orig_target_ranlib}
16679 orig_target_objdump=${orig_target_objdump}
16680 orig_target_objcopy=${orig_target_objcopy}
16681 orig_target_strip=${orig_target_strip}
16682 aros_kernel_ld=${aros_kernel_ld}
16686 aros_host_exe_suffix=${aros_host_exe_suffix}
16687 aros_tools_dir=${aros_tools_dir}
16688 aros_target_cpu=${aros_target_cpu}
16689 aros_target_arch=${aros_target_arch}
16690 aros_target_suffix=${aros_target_suffix}
16691 aros_kernel_ld=${aros_kernel_ld}
16695 aros_host_exe_suffix=${aros_host_exe_suffix}
16696 aros_tools_dir=${aros_tools_dir}
16697 aros_target_cpu=${aros_target_cpu}
16698 aros_target_arch=${aros_target_arch}
16699 aros_target_suffix=${aros_target_suffix}
16705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16707 # Handling of arguments.
16708 for ac_config_target
in $ac_config_targets
16710 case $ac_config_target in
16711 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
16712 "genmf-executable-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf-executable-support" ;;
16713 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16714 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
16715 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
16716 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
16717 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
16718 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
16719 "${aros_targetcfg_dir}/build.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/build.cfg:config/build.cfg.in" ;;
16720 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
16721 "compiler/include/geninc.cfg") CONFIG_FILES
="$CONFIG_FILES compiler/include/geninc.cfg:compiler/include/geninc.cfg.in" ;;
16722 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
16723 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
16724 "${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname") CONFIG_FILES="$CONFIG_FILES ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname:scripts/uname.in" ;;
16725 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
16726 "binutils-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS binutils-support" ;;
16727 "${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" ;;
16728 "elf-compiler-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS elf-compiler-support" ;;
16729 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
16730 "${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" ;;
16731 "host-compiler-wrapper-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS host-compiler-wrapper-support" ;;
16732 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
16733 "${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" ;;
16734 "${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" ;;
16735 "${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" ;;
16736 "${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" ;;
16737 "${aros_targetcfg_dir}/conf.cmake") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in" ;;
16739 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16744 # If the user did not use the arguments to specify the items to instantiate,
16745 # then the envvar interface is used. Set only those that are not.
16746 # We use the long form for the default assignment because of an extremely
16747 # bizarre bug on SunOS 4.1.3.
16748 if $ac_need_defaults; then
16749 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16750 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16751 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16754 # Have a temporary directory for convenience. Make it in the build tree
16755 # simply because there is no reason against having it here, and in addition,
16756 # creating and moving files from /tmp can sometimes cause problems.
16757 # Hook for its removal unless debugging.
16758 # Note that there is a small window in which the directory will not be cleaned:
16759 # after its creation but before its name has been assigned to `$tmp'.
16763 trap 'exit_status=$?
16764 : "${ac_tmp:=$tmp}"
16765 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16767 trap 'as_fn_exit 1' 1 2 13 15
16769 # Create a (secure) tmp directory for tmp files.
16772 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16776 tmp
=.
/conf$$
-$RANDOM
16777 (umask 077 && mkdir
"$tmp")
16778 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16781 # Set up the scripts for CONFIG_FILES section.
16782 # No need to generate them if there are no CONFIG_FILES.
16783 # This happens for instance with `./config.status config.h'.
16784 if test -n "$CONFIG_FILES"; then
16787 ac_cr
=`echo X | tr X '\015'`
16788 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16789 # But we know of no other shell where ac_cr would be empty at this
16790 # point, so we can use a bashism as a fallback.
16791 if test "x$ac_cr" = x
; then
16792 eval ac_cr
=\$
\'\\r
\'
16794 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16795 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16798 ac_cs_awk_cr
=$ac_cr
16801 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16806 echo "cat >conf$$subs.awk <<_ACEOF" &&
16807 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16809 } >conf$$subs.sh ||
16810 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16811 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16813 for ac_last_try in false false false false false :; do
16814 . ./conf$$subs.sh ||
16815 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16817 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16818 if test $ac_delim_n = $ac_delim_num; then
16820 elif $ac_last_try; then
16821 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16823 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16826 rm -f conf$$subs.sh
16828 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16829 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16833 s/^/S["/; s
/!.
*/"]=/
16843 s/\(.\{148\}\)..*/\1/
16845 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16850 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16857 s/\(.\{148\}\)..*/\1/
16859 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16863 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16868 ' <conf$$subs.awk | sed '
16873 ' >>$CONFIG_STATUS || ac_write_fail=1
16874 rm -f conf$$subs.awk
16875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16877 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16878 for (key in S) S_is_set[key] = 1
16884 nfields = split(line, field, "@
")
16886 len = length(field[1])
16887 for (i = 2; i < nfields; i++) {
16889 keylen = length(key)
16890 if (S_is_set[key]) {
16892 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16893 len += length(value) + length(field[++i])
16904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16905 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16906 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16909 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16910 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16913 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16914 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16915 # trailing colons and then remove the whole line if VPATH becomes empty
16916 # (actually we leave an empty line to preserve line numbers).
16917 if test "x
$srcdir" = x.; then
16918 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16936 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16937 fi # test -n "$CONFIG_FILES"
16939 # Set up the scripts for CONFIG_HEADERS section.
16940 # No need to generate them if there are no CONFIG_HEADERS.
16941 # This happens for instance with `./config.status Makefile'.
16942 if test -n "$CONFIG_HEADERS"; then
16943 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16947 # Transform confdefs.h into an awk script `defines.awk', embedded as
16948 # here-document in config.status, that substitutes the proper values into
16949 # config.h.in to produce config.h.
16951 # Create a delimiter string that does not exist in confdefs.h, to ease
16952 # handling of long lines.
16954 for ac_last_try in false false :; do
16955 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16956 if test -z "$ac_tt"; then
16958 elif $ac_last_try; then
16959 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16961 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16965 # For the awk script, D is an array of macro values keyed by name,
16966 # likewise P contains macro parameters if any. Preserve backslash
16967 # newline sequences.
16969 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16971 s/.\{148\}/&'"$ac_delim"'/g
16974 s/^[ ]*#[ ]*define[ ][ ]*/ /
16981 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16983 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16987 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16988 D["\
1"]=" \
3\\\\\\n
"\\/p
16990 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16995 s/.\{148\}/&'"$ac_delim"'/g
17000 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17003 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17005 ' <confdefs.h | sed '
17006 s/'"$ac_delim"'/"\\\
17007 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17009 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17010 for (key in D) D_is_set[key] = 1
17013 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17015 split(line, arg, " ")
17016 if (arg[1] == "#") {
17020 defundef
= substr
(arg
[1], 2)
17023 split(mac1
, mac2
, "(") #)
17025 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17026 if (D_is_set
[macro
]) {
17027 # Preserve the white space surrounding the "#".
17028 print prefix
"define", macro P
[macro
] D
[macro
]
17031 # Replace #undef with comments. This is necessary, for example,
17032 # in the case of _POSIX_SOURCE, which is predefined and required
17033 # on some systems where configure will not decide to define it.
17034 if (defundef
== "undef") {
17035 print
"/*", prefix defundef
, macro
, "*/"
17043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17044 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17045 fi # test -n "$CONFIG_HEADERS"
17048 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17053 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17055 case $ac_mode$ac_tag in
17057 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17058 :[FH
]-) ac_tag
=-:-;;
17059 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17076 -) ac_f
="$ac_tmp/stdin";;
17077 *) # Look for the file first in the build tree, then in the source tree
17078 # (if the path is not absolute). The absolute path cannot be DOS-style,
17079 # because $ac_f cannot contain `:'.
17083 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17085 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17087 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17088 as_fn_append ac_file_inputs
" '$ac_f'"
17091 # Let's still pretend it is `configure' which instantiates (i.e., don't
17092 # use $as_me), people would be surprised to read:
17093 # /* config.h. Generated by config.status. */
17094 configure_input
='Generated from '`
17095 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17097 if test x
"$ac_file" != x-
; then
17098 configure_input
="$ac_file. $configure_input"
17099 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17100 $as_echo "$as_me: creating $ac_file" >&6;}
17102 # Neutralize special characters interpreted by sed in replacement strings.
17103 case $configure_input in #(
17104 *\
&* |
*\|
* |
*\\* )
17105 ac_sed_conf_input
=`$as_echo "$configure_input" |
17106 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17107 *) ac_sed_conf_input
=$configure_input;;
17111 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17112 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17117 ac_dir
=`$as_dirname -- "$ac_file" ||
17118 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17119 X"$ac_file" : 'X\(//\)[^/]' \| \
17120 X"$ac_file" : 'X\(//\)$' \| \
17121 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17122 $as_echo X"$ac_file" |
17123 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17127 /^X\(\/\/\)[^/].*/{
17140 as_dir
="$ac_dir"; as_fn_mkdir_p
17144 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17146 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17147 # A ".." for each directory in $ac_dir_suffix.
17148 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17149 case $ac_top_builddir_sub in
17150 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17151 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17154 ac_abs_top_builddir
=$ac_pwd
17155 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17156 # for backward compatibility:
17157 ac_top_builddir
=$ac_top_build_prefix
17160 .
) # We are building in place.
17162 ac_top_srcdir
=$ac_top_builddir_sub
17163 ac_abs_top_srcdir
=$ac_pwd ;;
17164 [\\/]* | ?
:[\\/]* ) # Absolute name.
17165 ac_srcdir
=$srcdir$ac_dir_suffix;
17166 ac_top_srcdir
=$srcdir
17167 ac_abs_top_srcdir
=$srcdir ;;
17168 *) # Relative name.
17169 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17170 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17171 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17173 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17185 # If the template does not know about datarootdir, expand it.
17186 # FIXME: This hack should be removed a few years after 2.60.
17187 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17198 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17199 *datarootdir
*) ac_datarootdir_seen
=yes;;
17200 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17202 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17204 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17205 ac_datarootdir_hack='
17206 s&@datadir@&$datadir&g
17207 s&@docdir@&$docdir&g
17208 s&@infodir@&$infodir&g
17209 s&@localedir@&$localedir&g
17210 s&@mandir@&$mandir&g
17211 s&\\\${datarootdir}&$datarootdir&g' ;;
17215 # Neutralize VPATH when `$srcdir' = `.'.
17216 # Shell code in configure.ac might set extrasub.
17217 # FIXME: do we really want to maintain this feature?
17218 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17219 ac_sed_extra="$ac_vpsub
17222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17224 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17225 s|@configure_input@|
$ac_sed_conf_input|
;t t
17226 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17227 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17228 s
&@srcdir@
&$ac_srcdir&;t t
17229 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17230 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17231 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17232 s
&@builddir@
&$ac_builddir&;t t
17233 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17234 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17235 $ac_datarootdir_hack
17237 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
17238 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17240 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17241 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17242 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17243 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17245 which seems to be undefined. Please make sure it is defined" >&5
17246 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17247 which seems to be undefined. Please make sure it is defined" >&2;}
17249 rm -f "$ac_tmp/stdin"
17251 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17252 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17254 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17260 if test x"$ac_file" != x-; then
17262 $as_echo "/* $configure_input */" \
17263 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17264 } >"$ac_tmp/config.h" \
17265 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17266 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17268 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17271 mv "$ac_tmp/config.h" "$ac_file" \
17272 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17275 $as_echo "/* $configure_input */" \
17276 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17277 || as_fn_error $? "could not create -" "$LINENO" 5
17281 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17282 $as_echo "$as_me: executing $ac_file commands" >&6;}
17287 case $ac_file$ac_mode in
17288 "genmf-executable-support":C)
17289 chmod a+x ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname
17290 chmod a+x ${aros_tools_dir}/genmf.py
17292 "binutils-support":C)
17293 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
17295 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
17297 chmod a+x ${prefix2}-ld
17299 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
17300 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
17301 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
17302 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
17303 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
17304 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
17305 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
17307 "elf-compiler-support":C)
17308 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
17310 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
17312 chmod a+x ${prefix2}-gcc
17314 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix2}-ld$aros_host_exe_suffix
17316 "host-compiler-wrapper-support":C)
17317 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
17319 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
17321 chmod a+x ${prefix2}-${toolchain_c_compiler} ${prefix2}-${toolchain_cxx_compiler} ${prefix2}-${toolchain_cpp_preprocessor}
17330 ac_clean_files=$ac_clean_files_save
17332 test $ac_write_fail = 0 ||
17333 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17336 # configure is writing to config.log, and then calls config.status.
17337 # config.status does its own redirection, appending to config.log.
17338 # Unfortunately, on DOS this fails, as config.log is still kept open
17339 # by configure, so config.status won't be able to
write to it
; its
17340 # output is simply discarded. So we exec the FD to /dev/null,
17341 # effectively closing config.log, so it can be properly (re)opened and
17342 # appended to by config.status. When coming back to configure, we
17343 # need to make the FD available again.
17344 if test "$no_create" != yes; then
17346 ac_config_status_args
=
17347 test "$silent" = yes &&
17348 ac_config_status_args
="$ac_config_status_args --quiet"
17350 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17352 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17353 # would make configure fail if this is the last instruction.
17354 $ac_cs_success || as_fn_exit
1
17356 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17358 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17363 #XXX compatability...
17364 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
17366 if test -n "$aros_shared_cflags" ; then
17367 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
17368 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg