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_optimization_cflags
675 aros_target_strip_flags
683 aros_kernel_objcflags
709 aros_target_cc_includes
725 aros_target_bootloader
754 host_stat_h__unused_used
755 aros_amigaos_compliance
763 aros_target_toolchain
772 kernel_cflags_iquote_end
774 host_cflags_iquote_end
777 aros_target_nostdlib_ldflags
778 aros_target_detach_ldflags
779 aros_target_nix_ldflags
780 aros_target_nostartup_ldflags
781 aros_target_nostdinc_cflags
820 arosconfig_use_libpngconfig
904 program_transform_name
917 enable_option_checking
928 with_kernel_gcc_version
931 enable_target_variant
938 enable_amigaos_compliance
939 with_kernel_toolchain_prefix
940 with_elf_toolchain_prefix
943 with_aros_toolchain_install
944 with_binutils_version
958 enable_palm_debug_hack
960 enable_nesting_supervisor
972 ac_precious_vars
='build_alias
988 # Initialize some variables set by options.
990 ac_init_version
=false
991 ac_unrecognized_opts
=
993 # The variables have the same names as the options, with
994 # dashes changed to underlines.
1002 program_transform_name
=s
,x
,x
,
1010 # Installation directory options.
1011 # These are left unexpanded so users can "make install exec_prefix=/foo"
1012 # and all the variables that are supposed to be based on exec_prefix
1013 # by default will actually change.
1014 # Use braces instead of parens because sh, perl, etc. also accept them.
1015 # (The list follows the same order as the GNU Coding Standards.)
1016 bindir
='${exec_prefix}/bin'
1017 sbindir
='${exec_prefix}/sbin'
1018 libexecdir
='${exec_prefix}/libexec'
1019 datarootdir
='${prefix}/share'
1020 datadir
='${datarootdir}'
1021 sysconfdir
='${prefix}/etc'
1022 sharedstatedir
='${prefix}/com'
1023 localstatedir
='${prefix}/var'
1024 runstatedir
='${localstatedir}/run'
1025 includedir
='${prefix}/include'
1026 oldincludedir
='/usr/include'
1027 docdir
='${datarootdir}/doc/${PACKAGE}'
1028 infodir
='${datarootdir}/info'
1033 libdir
='${exec_prefix}/lib'
1034 localedir
='${datarootdir}/locale'
1035 mandir
='${datarootdir}/man'
1041 # If the previous option needs an argument, assign it.
1042 if test -n "$ac_prev"; then
1043 eval $ac_prev=\
$ac_option
1049 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1054 # Accept the important Cygnus configure options, so we can diagnose typos.
1056 case $ac_dashdash$ac_option in
1060 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1062 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1063 bindir
=$ac_optarg ;;
1065 -build |
--build |
--buil |
--bui |
--bu)
1066 ac_prev
=build_alias
;;
1067 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1068 build_alias
=$ac_optarg ;;
1070 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1071 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1072 ac_prev
=cache_file
;;
1073 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1074 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1075 cache_file
=$ac_optarg ;;
1077 --config-cache |
-C)
1078 cache_file
=config.cache
;;
1080 -datadir |
--datadir |
--datadi |
--datad)
1082 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1083 datadir
=$ac_optarg ;;
1085 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1086 |
--dataroo |
--dataro |
--datar)
1087 ac_prev
=datarootdir
;;
1088 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1089 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1090 datarootdir
=$ac_optarg ;;
1092 -disable-* |
--disable-*)
1093 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1094 # Reject names that are not valid shell variable names.
1095 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1096 as_fn_error $?
"invalid feature name: $ac_useropt"
1097 ac_useropt_orig
=$ac_useropt
1098 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1099 case $ac_user_opts in
1101 "enable_
$ac_useropt"
1103 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1104 ac_unrecognized_sep
=', ';;
1106 eval enable_
$ac_useropt=no
;;
1108 -docdir |
--docdir |
--docdi |
--doc |
--do)
1110 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1111 docdir
=$ac_optarg ;;
1113 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1115 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1116 dvidir
=$ac_optarg ;;
1118 -enable-* |
--enable-*)
1119 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1122 as_fn_error $?
"invalid feature name: $ac_useropt"
1123 ac_useropt_orig
=$ac_useropt
1124 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1125 case $ac_user_opts in
1127 "enable_
$ac_useropt"
1129 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1130 ac_unrecognized_sep
=', ';;
1132 eval enable_
$ac_useropt=\
$ac_optarg ;;
1134 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1135 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1136 |
--exec |
--exe |
--ex)
1137 ac_prev
=exec_prefix
;;
1138 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1139 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1140 |
--exec=* |
--exe=* |
--ex=*)
1141 exec_prefix
=$ac_optarg ;;
1143 -gas |
--gas |
--ga |
--g)
1144 # Obsolete; use --with-gas.
1147 -help |
--help |
--hel |
--he |
-h)
1148 ac_init_help
=long
;;
1149 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1150 ac_init_help
=recursive
;;
1151 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1152 ac_init_help
=short
;;
1154 -host |
--host |
--hos |
--ho)
1155 ac_prev
=host_alias
;;
1156 -host=* |
--host=* |
--hos=* |
--ho=*)
1157 host_alias
=$ac_optarg ;;
1159 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1161 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1163 htmldir
=$ac_optarg ;;
1165 -includedir |
--includedir |
--includedi |
--included |
--include \
1166 |
--includ |
--inclu |
--incl |
--inc)
1167 ac_prev
=includedir
;;
1168 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1169 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1170 includedir
=$ac_optarg ;;
1172 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1174 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1175 infodir
=$ac_optarg ;;
1177 -libdir |
--libdir |
--libdi |
--libd)
1179 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1180 libdir
=$ac_optarg ;;
1182 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1183 |
--libexe |
--libex |
--libe)
1184 ac_prev
=libexecdir
;;
1185 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1186 |
--libexe=* |
--libex=* |
--libe=*)
1187 libexecdir
=$ac_optarg ;;
1189 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1190 ac_prev
=localedir
;;
1191 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1192 localedir
=$ac_optarg ;;
1194 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1195 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1196 ac_prev
=localstatedir
;;
1197 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1198 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1199 localstatedir
=$ac_optarg ;;
1201 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1203 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1204 mandir
=$ac_optarg ;;
1206 -nfp |
--nfp |
--nf)
1207 # Obsolete; use --without-fp.
1210 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1211 |
--no-cr |
--no-c |
-n)
1214 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1215 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1218 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1219 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1220 |
--oldin |
--oldi |
--old |
--ol |
--o)
1221 ac_prev
=oldincludedir
;;
1222 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1223 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1224 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1225 oldincludedir
=$ac_optarg ;;
1227 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1229 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1230 prefix
=$ac_optarg ;;
1232 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1233 |
--program-pre |
--program-pr |
--program-p)
1234 ac_prev
=program_prefix
;;
1235 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1236 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1237 program_prefix
=$ac_optarg ;;
1239 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1240 |
--program-suf |
--program-su |
--program-s)
1241 ac_prev
=program_suffix
;;
1242 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1243 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1244 program_suffix
=$ac_optarg ;;
1246 -program-transform-name |
--program-transform-name \
1247 |
--program-transform-nam |
--program-transform-na \
1248 |
--program-transform-n |
--program-transform- \
1249 |
--program-transform |
--program-transfor \
1250 |
--program-transfo |
--program-transf \
1251 |
--program-trans |
--program-tran \
1252 |
--progr-tra |
--program-tr |
--program-t)
1253 ac_prev
=program_transform_name
;;
1254 -program-transform-name=* |
--program-transform-name=* \
1255 |
--program-transform-nam=* |
--program-transform-na=* \
1256 |
--program-transform-n=* |
--program-transform-=* \
1257 |
--program-transform=* |
--program-transfor=* \
1258 |
--program-transfo=* |
--program-transf=* \
1259 |
--program-trans=* |
--program-tran=* \
1260 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1261 program_transform_name
=$ac_optarg ;;
1263 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1265 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1266 pdfdir
=$ac_optarg ;;
1268 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1270 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1273 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1274 |
-silent |
--silent |
--silen |
--sile |
--sil)
1277 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1278 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1279 |
--run |
--ru |
--r)
1280 ac_prev
=runstatedir
;;
1281 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1282 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1283 |
--run=* |
--ru=* |
--r=*)
1284 runstatedir
=$ac_optarg ;;
1286 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1288 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1290 sbindir
=$ac_optarg ;;
1292 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1293 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1294 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1296 ac_prev
=sharedstatedir
;;
1297 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1298 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1299 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1301 sharedstatedir
=$ac_optarg ;;
1303 -site |
--site |
--sit)
1305 -site=* |
--site=* |
--sit=*)
1308 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1310 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1311 srcdir
=$ac_optarg ;;
1313 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1314 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1315 ac_prev
=sysconfdir
;;
1316 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1317 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1318 sysconfdir
=$ac_optarg ;;
1320 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1321 ac_prev
=target_alias
;;
1322 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1323 target_alias
=$ac_optarg ;;
1325 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1328 -version |
--version |
--versio |
--versi |
--vers |
-V)
1329 ac_init_version
=: ;;
1332 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1333 # Reject names that are not valid shell variable names.
1334 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1335 as_fn_error $?
"invalid package name: $ac_useropt"
1336 ac_useropt_orig
=$ac_useropt
1337 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1338 case $ac_user_opts in
1342 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1343 ac_unrecognized_sep
=', ';;
1345 eval with_
$ac_useropt=\
$ac_optarg ;;
1347 -without-* |
--without-*)
1348 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1349 # Reject names that are not valid shell variable names.
1350 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1351 as_fn_error $?
"invalid package name: $ac_useropt"
1352 ac_useropt_orig
=$ac_useropt
1353 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1354 case $ac_user_opts in
1358 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1359 ac_unrecognized_sep
=', ';;
1361 eval with_
$ac_useropt=no
;;
1364 # Obsolete; use --with-x.
1367 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1368 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1369 ac_prev
=x_includes
;;
1370 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1371 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1372 x_includes
=$ac_optarg ;;
1374 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1375 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1376 ac_prev
=x_libraries
;;
1377 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1378 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1379 x_libraries
=$ac_optarg ;;
1381 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1382 Try \`$0 --help' for more information"
1386 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1387 # Reject names that are not valid shell variable names.
1388 case $ac_envvar in #(
1389 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1390 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1392 eval $ac_envvar=\
$ac_optarg
1393 export $ac_envvar ;;
1396 # FIXME: should be removed in autoconf 3.0.
1397 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1398 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1399 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1400 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1406 if test -n "$ac_prev"; then
1407 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1408 as_fn_error $?
"missing argument to $ac_option"
1411 if test -n "$ac_unrecognized_opts"; then
1412 case $enable_option_checking in
1414 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1415 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1419 # Check all directory arguments for consistency.
1420 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1421 datadir sysconfdir sharedstatedir localstatedir includedir \
1422 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1423 libdir localedir mandir runstatedir
1425 eval ac_val
=\$
$ac_var
1426 # Remove trailing slashes.
1429 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1430 eval $ac_var=\
$ac_val;;
1432 # Be sure to have absolute directory names.
1434 [\\/$
]* | ?
:[\\/]* ) continue;;
1435 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1437 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1440 # There might be people who depend on the old broken behavior: `$host'
1441 # used to hold the argument of --host etc.
1442 # FIXME: To remove some day.
1445 target
=$target_alias
1447 # FIXME: To remove some day.
1448 if test "x$host_alias" != x
; then
1449 if test "x$build_alias" = x
; then
1450 cross_compiling
=maybe
1451 elif test "x$build_alias" != "x$host_alias"; then
1457 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1459 test "$silent" = yes && exec 6>/dev
/null
1462 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1463 ac_ls_di
=`ls -di .` &&
1464 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1465 as_fn_error $?
"working directory cannot be determined"
1466 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1467 as_fn_error $?
"pwd does not report name of working directory"
1470 # Find the source files, if location was not specified.
1471 if test -z "$srcdir"; then
1472 ac_srcdir_defaulted
=yes
1473 # Try the directory containing this script, then the parent directory.
1474 ac_confdir
=`$as_dirname -- "$as_myself" ||
1475 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1476 X"$as_myself" : 'X\(//\)[^/]' \| \
1477 X"$as_myself" : 'X\(//\)$' \| \
1478 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1479 $as_echo X"$as_myself" |
1480 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1498 if test ! -r "$srcdir/$ac_unique_file"; then
1502 ac_srcdir_defaulted
=no
1504 if test ! -r "$srcdir/$ac_unique_file"; then
1505 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1506 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1508 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1510 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1512 # When building in place, set srcdir=.
1513 if test "$ac_abs_confdir" = "$ac_pwd"; then
1516 # Remove unnecessary trailing slashes from srcdir.
1517 # Double slashes in file names in object file debugging info
1518 # mess up M-x gdb in Emacs.
1520 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1522 for ac_var
in $ac_precious_vars; do
1523 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1524 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1525 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1526 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1530 # Report the --help message.
1532 if test "$ac_init_help" = "long"; then
1533 # Omit some internal or obsolete options to make the list less imposing.
1534 # This message is too long to be a string in the A/UX 3.1 sh.
1536 \`configure' configures this package to adapt to many kinds of systems.
1538 Usage: $0 [OPTION]... [VAR=VALUE]...
1540 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1541 VAR=VALUE. See below for descriptions of some of the useful variables.
1543 Defaults for the options are specified in brackets.
1546 -h, --help display this help and exit
1547 --help=short display options specific to this package
1548 --help=recursive display the short help of all the included packages
1549 -V, --version display version information and exit
1550 -q, --quiet, --silent do not print \`checking ...' messages
1551 --cache-file=FILE cache test results in FILE [disabled]
1552 -C, --config-cache alias for \`--cache-file=config.cache'
1553 -n, --no-create do not create output files
1554 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1556 Installation directories:
1557 --prefix=PREFIX install architecture-independent files in PREFIX
1558 [$ac_default_prefix]
1559 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1562 By default, \`make install' will install all the files in
1563 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1564 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1565 for instance \`--prefix=\$HOME'.
1567 For better control, use the options below.
1569 Fine tuning of the installation directories:
1570 --bindir=DIR user executables [EPREFIX/bin]
1571 --sbindir=DIR system admin executables [EPREFIX/sbin]
1572 --libexecdir=DIR program executables [EPREFIX/libexec]
1573 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1574 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1575 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1576 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1577 --libdir=DIR object code libraries [EPREFIX/lib]
1578 --includedir=DIR C header files [PREFIX/include]
1579 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1580 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1581 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1582 --infodir=DIR info documentation [DATAROOTDIR/info]
1583 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1584 --mandir=DIR man documentation [DATAROOTDIR/man]
1585 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1586 --htmldir=DIR html documentation [DOCDIR]
1587 --dvidir=DIR dvi documentation [DOCDIR]
1588 --pdfdir=DIR pdf documentation [DOCDIR]
1589 --psdir=DIR ps documentation [DOCDIR]
1595 --x-includes=DIR X include files are
in DIR
1596 --x-libraries=DIR X library files are
in DIR
1599 --build=BUILD configure
for building on BUILD
[guessed
]
1600 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1604 if test -n "$ac_init_help"; then
1609 --disable-option-checking ignore unrecognized
--enable/--with options
1610 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1611 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1612 --disable-libpng-config disable libpng-config
test and configuration
1613 --enable-lto=yes|no Enable link
time optimizations
if the target
1614 compiler supports them
(default
=no
)
1615 --enable-coverage=yes|no
1616 Enable coverage instrumentation
if the target
1617 compiler supports it
(default
=no
)
1618 --enable-build-type=TYPE
1619 Select the build
type. Available types are
:
1620 personal
, nightly
, snapshot
, milestone
, release. Do
1621 NOT use this option unless you know what you are
1622 doing
! (default
=personal
)
1623 --enable-debug=list Enable different types of debug. Commas or
1624 whitespaces can be used to separate the items
in the
1625 list. Available types of debug are
: all
, none
,
1626 messages
, stack
, mungwall
, modules
, symbols. If no
1627 list is provided
then "all" is assumed.
1629 --enable-distcc Use distcc as a front end to the compiler
1631 --enable-ccache Use ccache as a front end to the compiler
1633 --enable-target-variant=NAME
1634 Enable a specific target variant
(default
=none
)
1635 --enable-amigaos-compliance=VERSION
1636 Enforce userspace AmigaOS compliance to a specific
1637 KickStart version
(default
=none
).
1638 --disable-crosstools Do not build cross-compiler toolchain
1639 --enable-objc Enable Objectve-C support
(default
=no
)
1640 --enable-java Enable Java support
(default
=no
)
1641 --enable-includes=dir Alternative system include directory
1642 --enable-palm-debug-hack
1643 Enable palm debug output hack
in palm native
1645 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1646 --enable-nesting-supervisor
1647 Enable nesting supervisor support
in unix
1649 --disable-mmu Disable MMU support
(default
=enabled
)
1650 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1651 --enable-x11-shm use X11 shared memory
(default
=auto
)
1652 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1653 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1654 --disable-sdltest Do not try to compile and run a
test SDL program
1655 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1658 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1659 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1660 --with-c-compiler=VERSION
1661 Use specified c compiler
for building AROS
1662 --with-cxx-compiler=VERSION
1663 Use specified c
++ compiler building AROS
1664 --with-toolchain=family Which toolchain family to crosscompile with
1666 --with-kernel-gcc-version=VERSION
1667 Use gcc-VERSION
for building bootstrap
1668 --with-optimization=FLAGS
1669 Use optimization flags FLAGS
(e.g
1670 --with-optimization=-O2).
1671 --with-paranoia=(yes|no|FLAGS
)
1672 Specific compiler warning FLAGS to
enable for
1673 paranoia builds
(default
=-Wall -Werror)
1674 --with-xcode=PATH Specify XCode path
for iOS targets
1675 (default
=/Developer
).
1676 --with-sdk-version=VERSION
1677 Use iOS SDK version VERSION
(default
=4.1).
1678 --with-sdk=PATH Specify Android SDK path
1679 (default
=$default_android_sdk).
1680 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1681 --with-sdk-version=LEVEL
1682 Use Android SDK
for API LEVEL
(default
=12).
1683 --with-ndk-version=LEVEL
1684 Use Android NDK
for API LEVEL
(default
=9).
1685 --with-apk-version=(release|debug
)
1686 Which version of AROSBootstrap.apk to compile.
1687 Release version needs key
for signing
, debug version
1688 will only run
in emulator.
(default
=release
)
1689 --with-kernel-toolchain-prefix=...
1690 Specify crosscompile toolchain prefix
for kernel
1692 --with-elf-toolchain-prefix=...
1693 Specify crosscompile toolchain prefix to wrap
for
1695 --with-aros-toolchain=PREFIX
1696 Specify prebuilt AROS toolchain. Use
yes for default
1698 --with-aros-toolchain-install=DIR
1699 Where to
install or search
for cross tools binaries
1700 --with-binutils-version=VERSION
1701 Use binutils-VERSION
for building AROS
1702 --with-gcc-version=VERSION
1703 Compile gcc-VERSION
for AROS
1704 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1705 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1706 --with-float=<spec
> Specify floating point ABI
1707 (default
=$gcc_default_float_abi).
1708 --with-portssources=DIR Where to download sourcecode
for external ports
1709 --with-bootloader=NAME Use a specific bootloader
1710 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1711 --with-theme=NAME Use a specific GUI Theme
1712 --with-resolution=XRESxYRESxDEPTH
1713 Default resolution of the initial WorkbenchScreen
1714 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1715 --with-x use the X Window System
1716 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1717 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1719 Some influential environment variables
:
1720 CXX C
++ compiler
command
1721 CXXFLAGS C
++ compiler flags
1722 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1723 nonstandard directory
<lib dir
>
1724 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1725 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1726 you have headers
in a nonstandard directory
<include dir
>
1727 CC C compiler
command
1728 CFLAGS C compiler flags
1730 PYTHON the Python interpreter
1731 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1733 Use these variables to override the choices made by
`configure' or to help
1734 it to find libraries and programs with nonstandard names/locations.
1736 Report bugs to the package provider.
1741 if test "$ac_init_help" = "recursive"; then
1742 # If there are subdirs, report their specific --help.
1743 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1744 test -d "$ac_dir" ||
1745 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1750 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1752 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1753 # A ".." for each directory in $ac_dir_suffix.
1754 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1755 case $ac_top_builddir_sub in
1756 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1757 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1760 ac_abs_top_builddir=$ac_pwd
1761 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1762 # for backward compatibility:
1763 ac_top_builddir=$ac_top_build_prefix
1766 .) # We are building in place.
1768 ac_top_srcdir=$ac_top_builddir_sub
1769 ac_abs_top_srcdir=$ac_pwd ;;
1770 [\\/]* | ?:[\\/]* ) # Absolute name.
1771 ac_srcdir=$srcdir$ac_dir_suffix;
1772 ac_top_srcdir=$srcdir
1773 ac_abs_top_srcdir=$srcdir ;;
1775 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1776 ac_top_srcdir=$ac_top_build_prefix$srcdir
1777 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1779 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1781 cd "$ac_dir" || { ac_status=$?; continue; }
1782 # Check for guested configure.
1783 if test -f "$ac_srcdir/configure.gnu"; then
1785 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1786 elif test -f "$ac_srcdir/configure"; then
1788 $SHELL "$ac_srcdir/configure" --help=recursive
1790 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1792 cd "$ac_pwd" || { ac_status=$?; break; }
1796 test -n "$ac_init_help" && exit $ac_status
1797 if $ac_init_version; then
1800 generated by GNU Autoconf 2.69
1802 Copyright (C) 2012 Free Software Foundation, Inc.
1803 This configure script is free software; the Free Software Foundation
1804 gives unlimited permission to copy, distribute and modify it.
1809 ## ------------------------ ##
1810 ## Autoconf initialization. ##
1811 ## ------------------------ ##
1813 # ac_fn_cxx_try_compile LINENO
1814 # ----------------------------
1815 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1816 ac_fn_cxx_try_compile ()
1818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1819 rm -f conftest.$ac_objext
1820 if { { ac_try="$ac_compile"
1822 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1823 *) ac_try_echo
=$ac_try;;
1825 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1826 $as_echo "$ac_try_echo"; } >&5
1827 (eval "$ac_compile") 2>conftest.err
1829 if test -s conftest.err
; then
1830 grep -v '^ *+' conftest.err
>conftest.er1
1831 cat conftest.er1
>&5
1832 mv -f conftest.er1 conftest.err
1834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1835 test $ac_status = 0; } && {
1836 test -z "$ac_cxx_werror_flag" ||
1837 test ! -s conftest.err
1838 } && test -s conftest.
$ac_objext; then :
1841 $as_echo "$as_me: failed program was:" >&5
1842 sed 's/^/| /' conftest.
$ac_ext >&5
1846 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1847 as_fn_set_status
$ac_retval
1849 } # ac_fn_cxx_try_compile
1851 # ac_fn_c_try_compile LINENO
1852 # --------------------------
1853 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1854 ac_fn_c_try_compile
()
1856 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1857 rm -f conftest.
$ac_objext
1858 if { { ac_try
="$ac_compile"
1860 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1861 *) ac_try_echo=$ac_try;;
1863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1864 $as_echo "$ac_try_echo"; } >&5
1865 (eval "$ac_compile") 2>conftest.err
1867 if test -s conftest.err; then
1868 grep -v '^ *+' conftest.err >conftest.er1
1869 cat conftest.er1 >&5
1870 mv -f conftest.er1 conftest.err
1872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1873 test $ac_status = 0; } && {
1874 test -z "$ac_c_werror_flag" ||
1875 test ! -s conftest.err
1876 } && test -s conftest.$ac_objext; then :
1879 $as_echo "$as_me: failed program was:" >&5
1880 sed 's/^/| /' conftest.$ac_ext >&5
1884 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1885 as_fn_set_status $ac_retval
1887 } # ac_fn_c_try_compile
1889 # ac_fn_c_try_cpp LINENO
1890 # ----------------------
1891 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1894 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895 if { { ac_try="$ac_cpp conftest.$ac_ext"
1897 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1898 *) ac_try_echo
=$ac_try;;
1900 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1901 $as_echo "$ac_try_echo"; } >&5
1902 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1904 if test -s conftest.err
; then
1905 grep -v '^ *+' conftest.err
>conftest.er1
1906 cat conftest.er1
>&5
1907 mv -f conftest.er1 conftest.err
1909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1910 test $ac_status = 0; } > conftest.i
&& {
1911 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1912 test ! -s conftest.err
1916 $as_echo "$as_me: failed program was:" >&5
1917 sed 's/^/| /' conftest.
$ac_ext >&5
1921 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1922 as_fn_set_status
$ac_retval
1926 # ac_fn_c_try_link LINENO
1927 # -----------------------
1928 # Try to link conftest.$ac_ext, and return whether this succeeded.
1931 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1932 rm -f conftest.
$ac_objext conftest
$ac_exeext
1933 if { { ac_try
="$ac_link"
1935 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1936 *) ac_try_echo=$ac_try;;
1938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1939 $as_echo "$ac_try_echo"; } >&5
1940 (eval "$ac_link") 2>conftest.err
1942 if test -s conftest.err; then
1943 grep -v '^ *+' conftest.err >conftest.er1
1944 cat conftest.er1 >&5
1945 mv -f conftest.er1 conftest.err
1947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1948 test $ac_status = 0; } && {
1949 test -z "$ac_c_werror_flag" ||
1950 test ! -s conftest.err
1951 } && test -s conftest$ac_exeext && {
1952 test "$cross_compiling" = yes ||
1953 test -x conftest$ac_exeext
1957 $as_echo "$as_me: failed program was:" >&5
1958 sed 's/^/| /' conftest.$ac_ext >&5
1962 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1963 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1964 # interfere with the next link command; also delete a directory that is
1965 # left behind by Apple's compiler. We do this before executing the actions.
1966 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1967 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1968 as_fn_set_status $ac_retval
1970 } # ac_fn_c_try_link
1972 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1973 # -------------------------------------------------------
1974 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1975 # the include files in INCLUDES and setting the cache variable VAR
1977 ac_fn_c_check_header_mongrel ()
1979 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1980 if eval \${$3+:} false; then :
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1982 $as_echo_n "checking for $2... " >&6; }
1983 if eval \${$3+:} false; then :
1984 $as_echo_n "(cached) " >&6
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1988 $as_echo "$ac_res" >&6; }
1990 # Is the header compilable?
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1992 $as_echo_n "checking $2 usability... " >&6; }
1993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1994 /* end confdefs.h. */
1998 if ac_fn_c_try_compile "$LINENO"; then :
1999 ac_header_compiler=yes
2001 ac_header_compiler=no
2003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2005 $as_echo "$ac_header_compiler" >&6; }
2007 # Is the header present?
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2009 $as_echo_n "checking $2 presence... " >&6; }
2010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2011 /* end confdefs.h. */
2014 if ac_fn_c_try_cpp "$LINENO"; then :
2015 ac_header_preproc=yes
2017 ac_header_preproc=no
2019 rm -f conftest.err conftest.i conftest.$ac_ext
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2021 $as_echo "$ac_header_preproc" >&6; }
2023 # So? What about this header?
2024 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2027 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2029 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2033 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2035 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2037 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2039 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2041 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2045 $as_echo_n "checking for $2... " >&6; }
2046 if eval \${$3+:} false; then :
2047 $as_echo_n "(cached) " >&6
2049 eval "$3=\$ac_header_compiler"
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2053 $as_echo "$ac_res" >&6; }
2055 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2057 } # ac_fn_c_check_header_mongrel
2059 # ac_fn_c_try_run LINENO
2060 # ----------------------
2061 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2062 # that executables *can* be run.
2065 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2066 if { { ac_try="$ac_link"
2068 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2069 *) ac_try_echo
=$ac_try;;
2071 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2072 $as_echo "$ac_try_echo"; } >&5
2073 (eval "$ac_link") 2>&5
2075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2076 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2077 { { case "(($ac_try" in
2078 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2079 *) ac_try_echo=$ac_try;;
2081 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2082 $as_echo "$ac_try_echo"; } >&5
2083 (eval "$ac_try") 2>&5
2085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2086 test $ac_status = 0; }; }; then :
2089 $as_echo "$as_me: program exited with status $ac_status" >&5
2090 $as_echo "$as_me: failed program was:" >&5
2091 sed 's/^/| /' conftest.$ac_ext >&5
2093 ac_retval=$ac_status
2095 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2096 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2097 as_fn_set_status $ac_retval
2101 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2102 # -------------------------------------------------------
2103 # Tests whether HEADER exists and can be compiled using the include files in
2104 # INCLUDES, setting the cache variable VAR accordingly.
2105 ac_fn_c_check_header_compile ()
2107 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2109 $as_echo_n "checking for $2... " >&6; }
2110 if eval \${$3+:} false; then :
2111 $as_echo_n "(cached) " >&6
2113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2114 /* end confdefs.h. */
2118 if ac_fn_c_try_compile "$LINENO"; then :
2123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2127 $as_echo "$ac_res" >&6; }
2128 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2130 } # ac_fn_c_check_header_compile
2132 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2133 # ----------------------------------------------------
2134 # Tries to find if the field MEMBER exists in type AGGR, after including
2135 # INCLUDES, setting cache variable VAR accordingly.
2136 ac_fn_c_check_member ()
2138 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2140 $as_echo_n "checking for $2.$3... " >&6; }
2141 if eval \${$4+:} false; then :
2142 $as_echo_n "(cached) " >&6
2144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2145 /* end confdefs.h. */
2157 if ac_fn_c_try_compile "$LINENO"; then :
2160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2161 /* end confdefs.h. */
2167 if (sizeof ac_aggr.$3)
2173 if ac_fn_c_try_compile "$LINENO"; then :
2178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2184 $as_echo "$ac_res" >&6; }
2185 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2187 } # ac_fn_c_check_member
2189 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2190 # ---------------------------------------------
2191 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2193 ac_fn_c_check_decl ()
2195 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2196 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2197 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2199 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2200 if eval \${$3+:} false; then :
2201 $as_echo_n "(cached) " >&6
2203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2204 /* end confdefs.h. */
2209 #ifndef $as_decl_name
2211 (void) $as_decl_use;
2213 (void) $as_decl_name;
2221 if ac_fn_c_try_compile "$LINENO"; then :
2226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2230 $as_echo "$ac_res" >&6; }
2231 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2233 } # ac_fn_c_check_decl
2235 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2236 # -------------------------------------------
2237 # Tests whether TYPE exists after having included INCLUDES, setting cache
2238 # variable VAR accordingly.
2239 ac_fn_c_check_type ()
2241 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2243 $as_echo_n "checking for $2... " >&6; }
2244 if eval \${$3+:} false; then :
2245 $as_echo_n "(cached) " >&6
2248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2249 /* end confdefs.h. */
2260 if ac_fn_c_try_compile "$LINENO"; then :
2261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2262 /* end confdefs.h. */
2273 if ac_fn_c_try_compile "$LINENO"; then :
2278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2284 $as_echo "$ac_res" >&6; }
2285 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2287 } # ac_fn_c_check_type
2289 # ac_fn_c_check_func LINENO FUNC VAR
2290 # ----------------------------------
2291 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2292 ac_fn_c_check_func ()
2294 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2296 $as_echo_n "checking for $2... " >&6; }
2297 if eval \${$3+:} false; then :
2298 $as_echo_n "(cached) " >&6
2300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2301 /* end confdefs.h. */
2302 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2304 #define $2 innocuous_$2
2306 /* System header to define __stub macros and hopefully few prototypes,
2307 which can conflict with char $2 (); below.
2308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2309 <limits.h> exists even on freestanding compilers. */
2312 # include <limits.h>
2314 # include <assert.h>
2319 /* Override any GCC internal prototype to avoid an error.
2320 Use char because int might match the return type of a GCC
2321 builtin and then its argument prototype would still apply. */
2326 /* The GNU C library defines this for functions which it implements
2327 to always fail with ENOSYS. Some functions are actually named
2328 something starting with __ and the normal name is an alias. */
2329 #if defined __stub_$2 || defined __stub___$2
2341 if ac_fn_c_try_link "$LINENO"; then :
2346 rm -f core conftest.err conftest.$ac_objext \
2347 conftest$ac_exeext conftest.$ac_ext
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2351 $as_echo "$ac_res" >&6; }
2352 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2354 } # ac_fn_c_check_func
2355 cat >config.log <<_ACEOF
2356 This file contains any messages produced by compilers while
2357 running configure, to aid debugging if configure makes a mistake.
2359 It was created by $as_me, which was
2360 generated by GNU Autoconf 2.69. Invocation command line was
2372 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2373 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2374 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2375 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2376 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2378 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2379 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2381 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2382 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2383 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2384 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2385 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2386 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2387 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2395 test -z "$as_dir" && as_dir=.
2396 $as_echo "PATH: $as_dir"
2412 # Keep a trace of the command line.
2413 # Strip out --no-create and --no-recursion so they do not pile up.
2414 # Strip out --silent because we don't want to record it for future runs.
2415 # Also quote any args containing shell meta-characters.
2416 # Make two passes to allow for proper duplicate-argument suppression.
2420 ac_must_keep_next=false
2426 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2427 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2428 | -silent | --silent | --silen | --sile | --sil)
2431 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2434 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2436 as_fn_append ac_configure_args1 " '$ac_arg'"
2437 if test $ac_must_keep_next = true; then
2438 ac_must_keep_next=false # Got value, back to normal.
2441 *=* | --config-cache | -C | -disable-* | --disable-* \
2442 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2443 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2444 | -with-* | --with-* | -without-* | --without-* | --x)
2445 case "$ac_configure_args0 " in
2446 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2449 -* ) ac_must_keep_next=true ;;
2452 as_fn_append ac_configure_args " '$ac_arg'"
2457 { ac_configure_args0=; unset ac_configure_args0;}
2458 { ac_configure_args1=; unset ac_configure_args1;}
2460 # When interrupted or exit'd, cleanup temporary files, and complete
2461 # config.log. We remove comments because anyway the quotes in there
2462 # would cause problems or look ugly.
2463 # WARNING: Use '\'' to represent an apostrophe within the trap.
2464 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2465 trap 'exit_status=$?
2466 # Save into config.log some information that might help in debugging.
2470 $as_echo "## ---------------- ##
2471 ## Cache variables. ##
2472 ## ---------------- ##"
2474 # The following way of writing the cache mishandles newlines in values,
2476 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2477 eval ac_val=\$$ac_var
2481 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2482 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2485 _ | IFS | as_nl) ;; #(
2486 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2487 *) { eval $ac_var=; unset $ac_var;} ;;
2492 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2493 *${as_nl}ac_space=\ *)
2495 "s/'\''/'\''\\\\'\'''\''/g;
2496 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2499 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2506 $as_echo "## ----------------- ##
2507 ## Output variables. ##
2508 ## ----------------- ##"
2510 for ac_var in $ac_subst_vars
2512 eval ac_val=\$$ac_var
2514 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2516 $as_echo "$ac_var='\''$ac_val'\''"
2520 if test -n "$ac_subst_files"; then
2521 $as_echo "## ------------------- ##
2522 ## File substitutions. ##
2523 ## ------------------- ##"
2525 for ac_var in $ac_subst_files
2527 eval ac_val=\$$ac_var
2529 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2531 $as_echo "$ac_var='\''$ac_val'\''"
2536 if test -s confdefs.h; then
2537 $as_echo "## ----------- ##
2544 test "$ac_signal" != 0 &&
2545 $as_echo "$as_me: caught signal $ac_signal"
2546 $as_echo "$as_me: exit $exit_status"
2548 rm -f core *.core core.conftest.* &&
2549 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2552 for ac_signal in 1 2 13 15; do
2553 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2557 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2558 rm -f -r conftest* confdefs.h
2560 $as_echo "/* confdefs.h */" > confdefs.h
2562 # Predefined preprocessor variables.
2564 cat >>confdefs.h <<_ACEOF
2565 #define PACKAGE_NAME "$PACKAGE_NAME"
2568 cat >>confdefs.h <<_ACEOF
2569 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2572 cat >>confdefs.h <<_ACEOF
2573 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2576 cat >>confdefs.h <<_ACEOF
2577 #define PACKAGE_STRING "$PACKAGE_STRING"
2580 cat >>confdefs.h <<_ACEOF
2581 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2584 cat >>confdefs.h <<_ACEOF
2585 #define PACKAGE_URL "$PACKAGE_URL"
2589 # Let the site file select an alternate cache file if it wants to.
2590 # Prefer an explicitly selected file to automatically selected ones.
2593 if test -n "$CONFIG_SITE"; then
2594 # We do not want a PATH search for config.site.
2595 case $CONFIG_SITE in #((
2596 -*) ac_site_file1=./$CONFIG_SITE;;
2597 */*) ac_site_file1=$CONFIG_SITE;;
2598 *) ac_site_file1=./$CONFIG_SITE;;
2600 elif test "x$prefix" != xNONE; then
2601 ac_site_file1=$prefix/share/config.site
2602 ac_site_file2=$prefix/etc/config.site
2604 ac_site_file1=$ac_default_prefix/share/config.site
2605 ac_site_file2=$ac_default_prefix/etc/config.site
2607 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2609 test "x$ac_site_file" = xNONE && continue
2610 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2612 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2613 sed 's/^/| /' "$ac_site_file" >&5
2615 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2617 as_fn_error $? "failed to load site
script $ac_site_file
2618 See \
`config.log' for more details" "$LINENO" 5; }
2622 if test -r "$cache_file"; then
2623 # Some versions of bash will fail to source /dev/null (special files
2624 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2625 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2627 $as_echo "$as_me: loading cache $cache_file" >&6;}
2629 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2630 *) . "./$cache_file";;
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2635 $as_echo "$as_me: creating cache $cache_file" >&6;}
2639 as_fn_append ac_header_list " stdlib.h"
2640 as_fn_append ac_header_list " unistd.h"
2641 as_fn_append ac_header_list " sys/param.h"
2642 # Check that the precious variables saved in the cache have kept the same
2644 ac_cache_corrupted=false
2645 for ac_var in $ac_precious_vars; do
2646 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2647 eval ac_new_set=\$ac_env_${ac_var}_set
2648 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2649 eval ac_new_val=\$ac_env_${ac_var}_value
2650 case $ac_old_set,$ac_new_set in
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2653 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2654 ac_cache_corrupted=: ;;
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2657 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2658 ac_cache_corrupted=: ;;
2661 if test "x$ac_old_val" != "x$ac_new_val"; then
2662 # differences in whitespace do not lead to failure.
2663 ac_old_val_w=`echo x
$ac_old_val`
2664 ac_new_val_w=`echo x
$ac_new_val`
2665 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2667 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2668 ac_cache_corrupted=:
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2671 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2672 eval $ac_var=\$ac_old_val
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2675 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2677 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2680 # Pass precious variables to config.status.
2681 if test "$ac_new_set" = set; then
2683 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2684 *) ac_arg=$ac_var=$ac_new_val ;;
2686 case " $ac_configure_args " in
2687 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2688 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2692 if $ac_cache_corrupted; then
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2696 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2697 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2699 ## -------------------- ##
2700 ## Main body of script. ##
2701 ## -------------------- ##
2704 ac_cpp='$CPP $CPPFLAGS'
2705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2712 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2713 if test -f "$ac_dir/install-sh"; then
2715 ac_install_sh="$ac_aux_dir/install-sh -c"
2717 elif test -f "$ac_dir/install.sh"; then
2719 ac_install_sh="$ac_aux_dir/install.sh -c"
2721 elif test -f "$ac_dir/shtool"; then
2723 ac_install_sh="$ac_aux_dir/shtool install -c"
2727 if test -z "$ac_aux_dir"; then
2728 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2731 # These three variables are undocumented and unsupported,
2732 # and are intended to be withdrawn in a future Autoconf release.
2733 # They can cause serious problems if a builder's source tree is in a directory
2734 # whose full name contains unusual characters.
2735 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2736 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2737 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2741 # Check what host we are running on.
2742 # If a target is not suggested, we use this one.
2743 # Note that what we call a target, Autoconf calls a host.
2744 # Make sure we can run config.sub.
2745 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2746 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2749 $as_echo_n "checking build system type... " >&6; }
2750 if ${ac_cv_build+:} false; then :
2751 $as_echo_n "(cached) " >&6
2753 ac_build_alias=$build_alias
2754 test "x$ac_build_alias" = x &&
2755 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2756 test "x$ac_build_alias" = x &&
2757 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2758 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2759 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2763 $as_echo "$ac_cv_build" >&6; }
2764 case $ac_cv_build in
2766 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2769 ac_save_IFS=$IFS; IFS='-'
2775 # Remember, the first character of IFS is used to create $*,
2776 # except with old shells:
2779 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2783 $as_echo_n "checking host system type... " >&6; }
2784 if ${ac_cv_host+:} false; then :
2785 $as_echo_n "(cached) " >&6
2787 if test "x$host_alias" = x; then
2788 ac_cv_host=$ac_cv_build
2790 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2791 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2796 $as_echo "$ac_cv_host" >&6; }
2799 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2802 ac_save_IFS=$IFS; IFS='-'
2808 # Remember, the first character of IFS is used to create $*,
2809 # except with old shells:
2812 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2816 # Default versions for the gnu tools we build
2817 default_toolchain_family=`cat ${srcdir}/config
/toolchain_def
`
2818 default_gcc_version=`cat ${srcdir}/config
/gcc_def
`
2819 exp_gcc_version=`cat ${srcdir}/config
/gcc_exp
`
2820 default_binutils_version=`cat ${srcdir}/config
/binutils_def
`
2821 exp_binutils_version=`cat ${srcdir}/config
/binutils_exp
`
2822 default_grub2_version="2.02"
2823 target_grub2_version=$default_grub2_version
2825 # The AROS target is slightly different to the normal GNU style
2826 # format. We don't have the middle part, and we reverse the order
2827 # of the $(CPU) and $(OS) bits.
2829 # Don't strip the version of the target yet, it might be
2830 # useful on some systems.
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2833 $as_echo_n "checking for AROS style target... " >&6; }
2835 if test "$target" = "NONE" ; then
2836 target=$host_os-$host_cpu
2838 if test "$target" = "" ; then
2839 target=$host_os-$host_cpu
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2843 $as_echo "$target" >&6; }
2845 if test "$host_os" = "mingw32" ; then
2849 # Don't know where else to put this...
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2851 $as_echo_n "checking building AROS in... " >&6; }
2852 AROS_BUILDDIR=`${PWDCMD-pwd}`
2853 AROS_BUILDDIR_UNIX=${PWD}
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2855 $as_echo "$AROS_BUILDDIR" >&6; }
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2858 $as_echo_n "checking AROS source in... " >&6; }
2859 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2862 $as_echo "$SRCDIR" >&6; }
2864 # Parse the target field into something useful.
2866 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2867 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2870 # Some debug output, to be removed again.
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2872 $as_echo_n "checking for target system (debug output)... " >&6; }
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2874 $as_echo "$target_os" >&6; }
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2876 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2878 $as_echo "$target_cpu" >&6; }
2880 aros_nominal_width=800
2881 aros_nominal_height=600
2882 aros_nominal_depth=4
2885 default_c_compilers="gcc clang cc"
2887 # Check whether --with-c-compiler was given.
2888 if test "${with_c_compiler+set}" = set; then :
2889 withval=$with_c_compiler; use_c_compiler="$withval"
2894 if test "$use_c_compiler" = ""; then
2895 host_c_compilers="$default_c_compilers"
2897 host_c_compilers="$use_c_compiler"
2900 default_cxx_compilers="g++ clang++ c++"
2902 # Check whether --with-cxx-compiler was given.
2903 if test "${with_cxx_compiler+set}" = set; then :
2904 withval=$with_cxx_compiler; use_cxx_compiler="$withval"
2909 if test "$use_cxx_compiler" = ""; then
2910 host_cxx_compilers="$default_cxx_compilers"
2912 host_cxx_compilers="$use_cxx_compiler"
2916 # The first step is to find the host binaries.
2917 # Check for a compiler.
2918 # Due to a bug in autoconf check for c++ compiler first.
2919 # For mor info see, http://osdir.com/ml/bug-autoconf-gnu/2010-05/msg00001.html.
2921 ac_cpp='$CXXCPP $CPPFLAGS'
2922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2925 if test -z "$CXX"; then
2926 if test -n "$CCC"; then
2929 if test -n "$ac_tool_prefix"; then
2930 for ac_prog in ${host_cxx_compilers}
2932 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2933 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2935 $as_echo_n "checking for $ac_word... " >&6; }
2936 if ${ac_cv_prog_CXX+:} false; then :
2937 $as_echo_n "(cached) " >&6
2939 if test -n "$CXX"; then
2940 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2946 test -z "$as_dir" && as_dir=.
2947 for ac_exec_ext in '' $ac_executable_extensions; do
2948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2949 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2960 if test -n "$CXX"; then
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2962 $as_echo "$CXX" >&6; }
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2965 $as_echo "no" >&6; }
2969 test -n "$CXX" && break
2972 if test -z "$CXX"; then
2974 for ac_prog in ${host_cxx_compilers}
2976 # Extract the first word of "$ac_prog", so it can be a program name with args.
2977 set dummy $ac_prog; ac_word=$2
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2979 $as_echo_n "checking for $ac_word... " >&6; }
2980 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2981 $as_echo_n "(cached) " >&6
2983 if test -n "$ac_ct_CXX"; then
2984 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2990 test -z "$as_dir" && as_dir=.
2991 for ac_exec_ext in '' $ac_executable_extensions; do
2992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2993 ac_cv_prog_ac_ct_CXX="$ac_prog"
2994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3003 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3004 if test -n "$ac_ct_CXX"; then
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3006 $as_echo "$ac_ct_CXX" >&6; }
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3009 $as_echo "no" >&6; }
3013 test -n "$ac_ct_CXX" && break
3016 if test "x$ac_ct_CXX" = x; then
3019 case $cross_compiling:$ac_tool_warned in
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3022 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3023 ac_tool_warned=yes ;;
3031 # Provide some information about the compiler.
3032 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3035 for ac_option in --version -v -V -qversion; do
3036 { { ac_try="$ac_compiler $ac_option >&5"
3038 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3039 *) ac_try_echo
=$ac_try;;
3041 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3042 $as_echo "$ac_try_echo"; } >&5
3043 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3045 if test -s conftest.err
; then
3047 ... rest of stderr output deleted ...
3048 10q' conftest.err
>conftest.er1
3049 cat conftest.er1
>&5
3051 rm -f conftest.er1 conftest.err
3052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3053 test $ac_status = 0; }
3056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3057 /* end confdefs.h. */
3067 ac_clean_files_save
=$ac_clean_files
3068 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3069 # Try to create an executable without -o first, disregard a.out.
3070 # It will help us diagnose broken compilers, and finding out an intuition
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3073 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3074 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3076 # The possible output files:
3077 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3080 for ac_file
in $ac_files
3083 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3084 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3089 if { { ac_try
="$ac_link_default"
3091 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3092 *) ac_try_echo=$ac_try;;
3094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3095 $as_echo "$ac_try_echo"; } >&5
3096 (eval "$ac_link_default") 2>&5
3098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3099 test $ac_status = 0; }; then :
3100 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3101 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3102 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3103 # so that the user can short-circuit this test for compilers unknown to
3105 for ac_file in $ac_files ''
3107 test -f "$ac_file" || continue
3109 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3112 # We found the default executable, but exeext='' is most
3116 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3118 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3120 # We set ac_cv_exeext here because the later test for it is not
3121 # safe: cross compilers may not add the suffix if given an `-o'
3122 # argument, so we may need to know it at that point already.
3123 # Even if this section looks crufty: it has the advantage of
3130 test "$ac_cv_exeext" = no && ac_cv_exeext=
3135 if test -z "$ac_file"; then :
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3137 $as_echo "no" >&6; }
3138 $as_echo "$as_me: failed program was:" >&5
3139 sed 's
/^
/|
/' conftest.$ac_ext >&5
3141 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3142 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3143 as_fn_error 77 "C++ compiler cannot create executables
3144 See \`config.log
' for more details" "$LINENO" 5; }
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3147 $as_echo "yes" >&6; }
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3150 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3152 $as_echo "$ac_file" >&6; }
3153 ac_exeext=$ac_cv_exeext
3155 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3156 ac_clean_files=$ac_clean_files_save
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3158 $as_echo_n "checking for suffix of executables... " >&6; }
3159 if { { ac_try="$ac_link"
3161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3162 *) ac_try_echo=$ac_try;;
3164 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3165 $as_echo "$ac_try_echo"; } >&5
3166 (eval "$ac_link") 2>&5
3168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3169 test $ac_status = 0; }; then :
3170 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3171 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3172 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3174 for ac_file
in conftest.exe conftest conftest.
*; do
3175 test -f "$ac_file" ||
continue
3177 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3178 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3184 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3186 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3187 See \`config.log' for more details" "$LINENO" 5; }
3189 rm -f conftest conftest
$ac_cv_exeext
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3191 $as_echo "$ac_cv_exeext" >&6; }
3193 rm -f conftest.
$ac_ext
3194 EXEEXT
=$ac_cv_exeext
3196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3197 /* end confdefs.h. */
3202 FILE *f = fopen ("conftest.out", "w");
3203 return ferror (f) || fclose (f) != 0;
3209 ac_clean_files
="$ac_clean_files conftest.out"
3210 # Check that the compiler produces executables we can run. If not, either
3211 # the compiler is broken, or we cross compile.
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3213 $as_echo_n "checking whether we are cross compiling... " >&6; }
3214 if test "$cross_compiling" != yes; then
3215 { { ac_try
="$ac_link"
3217 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3218 *) ac_try_echo=$ac_try;;
3220 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3221 $as_echo "$ac_try_echo"; } >&5
3222 (eval "$ac_link") 2>&5
3224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3225 test $ac_status = 0; }
3226 if { ac_try='./conftest$ac_cv_exeext'
3227 { { case "(($ac_try" in
3228 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3229 *) ac_try_echo
=$ac_try;;
3231 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3232 $as_echo "$ac_try_echo"; } >&5
3233 (eval "$ac_try") 2>&5
3235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3236 test $ac_status = 0; }; }; then
3239 if test "$cross_compiling" = maybe
; then
3242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3244 as_fn_error $?
"cannot run C++ compiled programs.
3245 If you meant to cross compile, use \`--host'.
3246 See \`config.log' for more details" "$LINENO" 5; }
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3251 $as_echo "$cross_compiling" >&6; }
3253 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3254 ac_clean_files
=$ac_clean_files_save
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3256 $as_echo_n "checking for suffix of object files... " >&6; }
3257 if ${ac_cv_objext+:} false
; then :
3258 $as_echo_n "(cached) " >&6
3260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3261 /* end confdefs.h. */
3271 rm -f conftest.o conftest.obj
3272 if { { ac_try
="$ac_compile"
3274 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3275 *) ac_try_echo=$ac_try;;
3277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3278 $as_echo "$ac_try_echo"; } >&5
3279 (eval "$ac_compile") 2>&5
3281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3282 test $ac_status = 0; }; then :
3283 for ac_file in conftest.o conftest.obj conftest.*; do
3284 test -f "$ac_file" || continue;
3286 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3287 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3292 $as_echo "$as_me: failed program was:" >&5
3293 sed 's/^/| /' conftest.$ac_ext >&5
3295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3297 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3298 See \
`config.log' for more details" "$LINENO" 5; }
3300 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3303 $as_echo "$ac_cv_objext" >&6; }
3304 OBJEXT=$ac_cv_objext
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3307 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3308 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3309 $as_echo_n "(cached) " >&6
3311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3312 /* end confdefs.h. */
3325 if ac_fn_cxx_try_compile "$LINENO"; then :
3330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3331 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3335 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3336 if test $ac_compiler_gnu = yes; then
3341 ac_test_CXXFLAGS=${CXXFLAGS+set}
3342 ac_save_CXXFLAGS=$CXXFLAGS
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3344 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3345 if ${ac_cv_prog_cxx_g+:} false; then :
3346 $as_echo_n "(cached) " >&6
3348 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3349 ac_cxx_werror_flag=yes
3352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3353 /* end confdefs.h. */
3363 if ac_fn_cxx_try_compile "$LINENO"; then :
3364 ac_cv_prog_cxx_g=yes
3367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3368 /* end confdefs.h. */
3378 if ac_fn_cxx_try_compile "$LINENO"; then :
3381 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3384 /* end confdefs.h. */
3394 if ac_fn_cxx_try_compile "$LINENO"; then :
3395 ac_cv_prog_cxx_g=yes
3397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3402 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3405 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3406 if test "$ac_test_CXXFLAGS" = set; then
3407 CXXFLAGS=$ac_save_CXXFLAGS
3408 elif test $ac_cv_prog_cxx_g = yes; then
3409 if test "$GXX" = yes; then
3415 if test "$GXX" = yes; then
3422 ac_cpp='$CPP $CPPFLAGS'
3423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3428 ac_cpp='$CPP $CPPFLAGS'
3429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3432 if test -n "$ac_tool_prefix"; then
3433 for ac_prog in ${host_c_compilers}
3435 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3436 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3438 $as_echo_n "checking for $ac_word... " >&6; }
3439 if ${ac_cv_prog_CC+:} false; then :
3440 $as_echo_n "(cached) " >&6
3442 if test -n "$CC"; then
3443 ac_cv_prog_CC="$CC" # Let the user override the test.
3445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3449 test -z "$as_dir" && as_dir=.
3450 for ac_exec_ext in '' $ac_executable_extensions; do
3451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3452 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3463 if test -n "$CC"; then
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3465 $as_echo "$CC" >&6; }
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3468 $as_echo "no" >&6; }
3472 test -n "$CC" && break
3475 if test -z "$CC"; then
3477 for ac_prog in ${host_c_compilers}
3479 # Extract the first word of "$ac_prog", so it can be a program name with args.
3480 set dummy $ac_prog; ac_word=$2
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3482 $as_echo_n "checking for $ac_word... " >&6; }
3483 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3484 $as_echo_n "(cached) " >&6
3486 if test -n "$ac_ct_CC"; then
3487 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3493 test -z "$as_dir" && as_dir=.
3494 for ac_exec_ext in '' $ac_executable_extensions; do
3495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3496 ac_cv_prog_ac_ct_CC="$ac_prog"
3497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3506 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3507 if test -n "$ac_ct_CC"; then
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3509 $as_echo "$ac_ct_CC" >&6; }
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3512 $as_echo "no" >&6; }
3516 test -n "$ac_ct_CC" && break
3519 if test "x$ac_ct_CC" = x; then
3522 case $cross_compiling:$ac_tool_warned in
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3526 ac_tool_warned=yes ;;
3533 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3535 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3536 See \
`config.log' for more details" "$LINENO" 5; }
3538 # Provide some information about the compiler.
3539 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3542 for ac_option in --version -v -V -qversion; do
3543 { { ac_try="$ac_compiler $ac_option >&5"
3545 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3546 *) ac_try_echo
=$ac_try;;
3548 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3549 $as_echo "$ac_try_echo"; } >&5
3550 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3552 if test -s conftest.err
; then
3554 ... rest of stderr output deleted ...
3555 10q' conftest.err
>conftest.er1
3556 cat conftest.er1
>&5
3558 rm -f conftest.er1 conftest.err
3559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3560 test $ac_status = 0; }
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3564 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3565 if ${ac_cv_c_compiler_gnu+:} false
; then :
3566 $as_echo_n "(cached) " >&6
3568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3569 /* end confdefs.h. */
3582 if ac_fn_c_try_compile
"$LINENO"; then :
3587 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3588 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3592 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3593 if test $ac_compiler_gnu = yes; then
3598 ac_test_CFLAGS
=${CFLAGS+set}
3599 ac_save_CFLAGS
=$CFLAGS
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3601 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3602 if ${ac_cv_prog_cc_g+:} false
; then :
3603 $as_echo_n "(cached) " >&6
3605 ac_save_c_werror_flag
=$ac_c_werror_flag
3606 ac_c_werror_flag
=yes
3609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3610 /* end confdefs.h. */
3620 if ac_fn_c_try_compile
"$LINENO"; then :
3624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3625 /* end confdefs.h. */
3635 if ac_fn_c_try_compile
"$LINENO"; then :
3638 ac_c_werror_flag
=$ac_save_c_werror_flag
3640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3641 /* end confdefs.h. */
3651 if ac_fn_c_try_compile
"$LINENO"; then :
3654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3659 ac_c_werror_flag
=$ac_save_c_werror_flag
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3662 $as_echo "$ac_cv_prog_cc_g" >&6; }
3663 if test "$ac_test_CFLAGS" = set; then
3664 CFLAGS
=$ac_save_CFLAGS
3665 elif test $ac_cv_prog_cc_g = yes; then
3666 if test "$GCC" = yes; then
3672 if test "$GCC" = yes; then
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3679 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3680 if ${ac_cv_prog_cc_c89+:} false
; then :
3681 $as_echo_n "(cached) " >&6
3683 ac_cv_prog_cc_c89
=no
3685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3686 /* end confdefs.h. */
3690 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3691 struct buf { int x; };
3692 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3693 static char *e (p, i)
3699 static char *f (char * (*g) (char **, int), char **p, ...)
3704 s = g (p, va_arg (v,int));
3709 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3710 function prototypes and stuff, but not '\xHH' hex character constants.
3711 These don't provoke an error unfortunately, instead are silently treated
3712 as 'x'. The following induces an error, until -std is added to get
3713 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3714 array size at least. It's necessary to write '\x00'==0 to get something
3715 that's true only with -std. */
3716 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3718 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3719 inside strings and character constants. */
3721 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3723 int test (int i, double x);
3724 struct s1 {int (*f) (int a);};
3725 struct s2 {int (*f) (double a);};
3726 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3732 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3737 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3738 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3740 CC
="$ac_save_CC $ac_arg"
3741 if ac_fn_c_try_compile
"$LINENO"; then :
3742 ac_cv_prog_cc_c89
=$ac_arg
3744 rm -f core conftest.err conftest.
$ac_objext
3745 test "x$ac_cv_prog_cc_c89" != "xno" && break
3747 rm -f conftest.
$ac_ext
3752 case "x$ac_cv_prog_cc_c89" in
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3755 $as_echo "none needed" >&6; } ;;
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3758 $as_echo "unsupported" >&6; } ;;
3760 CC
="$CC $ac_cv_prog_cc_c89"
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3762 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3764 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3769 ac_cpp
='$CPP $CPPFLAGS'
3770 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3771 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3772 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3774 aros_host_def_cc
="$CC"
3775 case $ac_cv_prog_cc_stdc in #(
3777 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3780 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3781 if ${ac_cv_prog_cc_c99+:} false
; then :
3782 $as_echo_n "(cached) " >&6
3784 ac_cv_prog_cc_c99
=no
3786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3787 /* end confdefs.h. */
3789 #include <stdbool.h>
3794 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3795 #define debug(...) fprintf (stderr, __VA_ARGS__)
3796 #define showlist(...) puts (#__VA_ARGS__)
3797 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3799 test_varargs_macros (void)
3804 debug ("X = %d\n", x);
3805 showlist (The first, second, and third items.);
3806 report (x>y, "x is %d but y is %d", x, y);
3809 // Check long long types.
3810 #define BIG64 18446744073709551615ull
3811 #define BIG32 4294967295ul
3812 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3814 your preprocessor is broken;
3818 your preprocessor is broken;
3820 static long long int bignum = -9223372036854775807LL;
3821 static unsigned long long int ubignum = BIG64;
3823 struct incomplete_array
3831 const wchar_t *name;
3835 typedef const char *ccp;
3838 test_restrict (ccp restrict text)
3840 // See if C++-style comments work.
3841 // Iterate through items via the restricted pointer.
3842 // Also check for declarations in for loops.
3843 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3848 // Check varargs and va_copy.
3850 test_varargs (const char *format, ...)
3853 va_start (args, format);
3855 va_copy (args_copy, args);
3866 str = va_arg (args_copy, const char *);
3869 number = va_arg (args_copy, int);
3872 fnumber = va_arg (args_copy, double);
3887 _Bool success = false;
3890 if (test_restrict ("String literal") == 0)
3892 char *restrict newvar = "Another string";
3895 test_varargs ("s, d' f .", "string", 65, 34.234);
3896 test_varargs_macros ();
3898 // Check flexible array members.
3899 struct incomplete_array *ia =
3900 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3902 for (int i = 0; i < ia->datasize; ++i)
3903 ia->data[i] = i * 1.234;
3905 // Check named initializers.
3906 struct named_init ni = {
3908 .name = L"Test wide string",
3909 .average = 543.34343,
3914 int dynamic_array[ni.number];
3915 dynamic_array[ni.number - 1] = 543;
3917 // work around unused variable warnings
3918 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3919 || dynamic_array[ni.number - 1] != 543);
3925 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
3927 CC
="$ac_save_CC $ac_arg"
3928 if ac_fn_c_try_compile
"$LINENO"; then :
3929 ac_cv_prog_cc_c99
=$ac_arg
3931 rm -f core conftest.err conftest.
$ac_objext
3932 test "x$ac_cv_prog_cc_c99" != "xno" && break
3934 rm -f conftest.
$ac_ext
3939 case "x$ac_cv_prog_cc_c99" in
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3942 $as_echo "none needed" >&6; } ;;
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3945 $as_echo "unsupported" >&6; } ;;
3947 CC
="$CC $ac_cv_prog_cc_c99"
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3949 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3951 if test "x$ac_cv_prog_cc_c99" != xno
; then :
3952 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3955 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3956 if ${ac_cv_prog_cc_c89+:} false
; then :
3957 $as_echo_n "(cached) " >&6
3959 ac_cv_prog_cc_c89
=no
3961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3962 /* end confdefs.h. */
3966 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3967 struct buf { int x; };
3968 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3969 static char *e (p, i)
3975 static char *f (char * (*g) (char **, int), char **p, ...)
3980 s = g (p, va_arg (v,int));
3985 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3986 function prototypes and stuff, but not '\xHH' hex character constants.
3987 These don't provoke an error unfortunately, instead are silently treated
3988 as 'x'. The following induces an error, until -std is added to get
3989 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3990 array size at least. It's necessary to write '\x00'==0 to get something
3991 that's true only with -std. */
3992 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3994 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3995 inside strings and character constants. */
3997 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3999 int test (int i, double x);
4000 struct s1 {int (*f) (int a);};
4001 struct s2 {int (*f) (double a);};
4002 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4008 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4013 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4014 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4016 CC
="$ac_save_CC $ac_arg"
4017 if ac_fn_c_try_compile
"$LINENO"; then :
4018 ac_cv_prog_cc_c89
=$ac_arg
4020 rm -f core conftest.err conftest.
$ac_objext
4021 test "x$ac_cv_prog_cc_c89" != "xno" && break
4023 rm -f conftest.
$ac_ext
4028 case "x$ac_cv_prog_cc_c89" in
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4031 $as_echo "none needed" >&6; } ;;
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4034 $as_echo "unsupported" >&6; } ;;
4036 CC
="$CC $ac_cv_prog_cc_c89"
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4038 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4040 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4041 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4043 ac_cv_prog_cc_stdc
=no
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4050 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4051 if ${ac_cv_prog_cc_stdc+:} false
; then :
4052 $as_echo_n "(cached) " >&6
4055 case $ac_cv_prog_cc_stdc in #(
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4058 $as_echo "unsupported" >&6; } ;; #(
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4061 $as_echo "none needed" >&6; } ;; #(
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4064 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4068 ac_cpp
='$CPP $CPPFLAGS'
4069 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4070 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4071 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4073 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4074 # On Suns, sometimes $CPP names a directory.
4075 if test -n "$CPP" && test -d "$CPP"; then
4078 if test -z "$CPP"; then
4079 if ${ac_cv_prog_CPP+:} false
; then :
4080 $as_echo_n "(cached) " >&6
4082 # Double quotes because CPP needs to be expanded
4083 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4086 for ac_c_preproc_warn_flag
in '' yes
4088 # Use a header file that comes with gcc, so configuring glibc
4089 # with a fresh cross-compiler works.
4090 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4091 # <limits.h> exists even on freestanding compilers.
4092 # On the NeXT, cc -E runs the code through the compiler's parser,
4093 # not just through cpp. "Syntax error" is here to catch this case.
4094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h. */
4097 # include <limits.h>
4099 # include <assert.h>
4103 if ac_fn_c_try_cpp
"$LINENO"; then :
4106 # Broken: fails on valid input.
4109 rm -f conftest.err conftest.i conftest.
$ac_ext
4111 # OK, works on sane cases. Now check whether nonexistent headers
4112 # can be detected and how.
4113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4114 /* end confdefs.h. */
4115 #include <ac_nonexistent.h>
4117 if ac_fn_c_try_cpp
"$LINENO"; then :
4118 # Broken: success on invalid input.
4121 # Passes both tests.
4125 rm -f conftest.err conftest.i conftest.
$ac_ext
4128 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4129 rm -f conftest.i conftest.err conftest.
$ac_ext
4130 if $ac_preproc_ok; then :
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4143 $as_echo "$CPP" >&6; }
4145 for ac_c_preproc_warn_flag
in '' yes
4147 # Use a header file that comes with gcc, so configuring glibc
4148 # with a fresh cross-compiler works.
4149 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4150 # <limits.h> exists even on freestanding compilers.
4151 # On the NeXT, cc -E runs the code through the compiler's parser,
4152 # not just through cpp. "Syntax error" is here to catch this case.
4153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4154 /* end confdefs.h. */
4156 # include <limits.h>
4158 # include <assert.h>
4162 if ac_fn_c_try_cpp
"$LINENO"; then :
4165 # Broken: fails on valid input.
4168 rm -f conftest.err conftest.i conftest.
$ac_ext
4170 # OK, works on sane cases. Now check whether nonexistent headers
4171 # can be detected and how.
4172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4173 /* end confdefs.h. */
4174 #include <ac_nonexistent.h>
4176 if ac_fn_c_try_cpp
"$LINENO"; then :
4177 # Broken: success on invalid input.
4180 # Passes both tests.
4184 rm -f conftest.err conftest.i conftest.
$ac_ext
4187 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4188 rm -f conftest.i conftest.err conftest.
$ac_ext
4189 if $ac_preproc_ok; then :
4192 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4194 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4195 See \`config.log' for more details" "$LINENO" 5; }
4199 ac_cpp
='$CPP $CPPFLAGS'
4200 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4201 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4202 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4205 # Check for a compatible awk
4206 for ac_prog
in gawk nawk
4208 # Extract the first word of "$ac_prog", so it can be a program name with args.
4209 set dummy
$ac_prog; ac_word
=$2
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4211 $as_echo_n "checking for $ac_word... " >&6; }
4212 if ${ac_cv_prog_AWK+:} false
; then :
4213 $as_echo_n "(cached) " >&6
4215 if test -n "$AWK"; then
4216 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4222 test -z "$as_dir" && as_dir
=.
4223 for ac_exec_ext
in '' $ac_executable_extensions; do
4224 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4225 ac_cv_prog_AWK
="$ac_prog"
4226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4236 if test -n "$AWK"; then
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4238 $as_echo "$AWK" >&6; }
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4241 $as_echo "no" >&6; }
4245 test -n "$AWK" && break
4249 if test "$AWK" = ""; then
4252 if test "$AWK" = "no"; then
4255 if test "$req_avail" = "no"; then
4256 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4258 # Extract the first word of "mmake", so it can be a program name with args.
4259 set dummy mmake
; ac_word
=$2
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4261 $as_echo_n "checking for $ac_word... " >&6; }
4262 if ${ac_cv_prog_MMAKE+:} false
; then :
4263 $as_echo_n "(cached) " >&6
4265 if test -n "$MMAKE"; then
4266 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4272 test -z "$as_dir" && as_dir
=.
4273 for ac_exec_ext
in '' $ac_executable_extensions; do
4274 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4275 ac_cv_prog_MMAKE
="mmake "
4276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4285 MMAKE
=$ac_cv_prog_MMAKE
4286 if test -n "$MMAKE"; then
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4288 $as_echo "$MMAKE" >&6; }
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4291 $as_echo "no" >&6; }
4296 # Perform some default variable assignments. Note all of these will be
4297 # Regenerated from the script, so there is no need to cache them.
4299 aros_build_host
=$host
4300 aros_host_cpp
="$CPP"
4302 aros_host_cxx
="$CXX"
4303 if test "$GCC" = "yes"; then
4304 aros_gcc_ld
=`$CC -print-prog-name=ld`
4305 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4306 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4308 $as_echo_n "checking for $ac_word... " >&6; }
4309 if ${ac_cv_path_aros_host_ld+:} false
; then :
4310 $as_echo_n "(cached) " >&6
4312 case $aros_host_ld in
4314 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4318 for as_dir
in `dirname $aros_gcc_ld`
4321 test -z "$as_dir" && as_dir
=.
4322 for ac_exec_ext
in '' $ac_executable_extensions; do
4323 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4324 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4335 aros_host_ld
=$ac_cv_path_aros_host_ld
4336 if test -n "$aros_host_ld"; then
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4338 $as_echo "$aros_host_ld" >&6; }
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4341 $as_echo "no" >&6; }
4346 if test "$aros_host_ld" = ""; then
4347 # Extract the first word of "ld", so it can be a program name with args.
4348 set dummy ld
; ac_word
=$2
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4350 $as_echo_n "checking for $ac_word... " >&6; }
4351 if ${ac_cv_path_aros_host_ld+:} false
; then :
4352 $as_echo_n "(cached) " >&6
4354 case $aros_host_ld in
4356 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4363 test -z "$as_dir" && as_dir
=.
4364 for ac_exec_ext
in '' $ac_executable_extensions; do
4365 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4366 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4377 aros_host_ld
=$ac_cv_path_aros_host_ld
4378 if test -n "$aros_host_ld"; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4380 $as_echo "$aros_host_ld" >&6; }
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4389 if test "$aros_host_ld" = ""; then
4392 if test "$aros_host_ld" = "no"; then
4395 if test "$req_avail" = "no"; then
4396 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4398 aros_host_make
="make"
4399 aros_host_cflags
="$CFLAGS"
4400 aros_host_cxxflags
="$CXXFLAGS"
4401 aros_host_cppflags
="$CPPFLAGS"
4402 aros_host_ldflags
="$LDFLAGS"
4403 aros_host_debug
="-g -O0"
4404 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4405 aros_host_mkargs
="--no-print-directory"
4406 aros_host_exe_suffix
="$EXEEXT"
4407 aros_host_lib_suffix
=""
4409 # Ignore all compliance, AROS ROMs = 0
4410 # KickStart v1.0 = 30
4411 # KickStart v1.3 = 34
4412 # KickStart v2.0 = 37
4413 # KickStart v3.0 = 39
4414 # KickStart v3.1 = 40
4416 aros_amigaos_compliance
=0
4418 for ac_prog
in aclocal aclocal19 aclocal-1.9
4420 # Extract the first word of "$ac_prog", so it can be a program name with args.
4421 set dummy
$ac_prog; ac_word
=$2
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4423 $as_echo_n "checking for $ac_word... " >&6; }
4424 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4425 $as_echo_n "(cached) " >&6
4427 if test -n "$aros_host_aclocal"; then
4428 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4434 test -z "$as_dir" && as_dir
=.
4435 for ac_exec_ext
in '' $ac_executable_extensions; do
4436 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4437 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4447 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4448 if test -n "$aros_host_aclocal"; then
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4450 $as_echo "$aros_host_aclocal" >&6; }
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4453 $as_echo "no" >&6; }
4457 test -n "$aros_host_aclocal" && break
4460 for ac_prog
in autoconf autoconf259 autoconf253
4462 # Extract the first word of "$ac_prog", so it can be a program name with args.
4463 set dummy
$ac_prog; ac_word
=$2
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4465 $as_echo_n "checking for $ac_word... " >&6; }
4466 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4467 $as_echo_n "(cached) " >&6
4469 if test -n "$aros_host_autoconf"; then
4470 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4476 test -z "$as_dir" && as_dir
=.
4477 for ac_exec_ext
in '' $ac_executable_extensions; do
4478 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4479 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4489 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4490 if test -n "$aros_host_autoconf"; then
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4492 $as_echo "$aros_host_autoconf" >&6; }
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4495 $as_echo "no" >&6; }
4499 test -n "$aros_host_autoconf" && break
4502 for ac_prog
in autoheader autoheader259 autoheader253
4504 # Extract the first word of "$ac_prog", so it can be a program name with args.
4505 set dummy
$ac_prog; ac_word
=$2
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4507 $as_echo_n "checking for $ac_word... " >&6; }
4508 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4509 $as_echo_n "(cached) " >&6
4511 if test -n "$aros_host_autoheader"; then
4512 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4518 test -z "$as_dir" && as_dir
=.
4519 for ac_exec_ext
in '' $ac_executable_extensions; do
4520 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4521 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4531 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4532 if test -n "$aros_host_autoheader"; then
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4534 $as_echo "$aros_host_autoheader" >&6; }
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4537 $as_echo "no" >&6; }
4541 test -n "$aros_host_autoheader" && break
4544 for ac_prog
in automake automake19 automake-1.9
4546 # Extract the first word of "$ac_prog", so it can be a program name with args.
4547 set dummy
$ac_prog; ac_word
=$2
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4549 $as_echo_n "checking for $ac_word... " >&6; }
4550 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4551 $as_echo_n "(cached) " >&6
4553 if test -n "$aros_host_automake"; then
4554 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4560 test -z "$as_dir" && as_dir
=.
4561 for ac_exec_ext
in '' $ac_executable_extensions; do
4562 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4563 ac_cv_prog_aros_host_automake
="$ac_prog"
4564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4573 aros_host_automake
=$ac_cv_prog_aros_host_automake
4574 if test -n "$aros_host_automake"; then
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4576 $as_echo "$aros_host_automake" >&6; }
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4579 $as_echo "no" >&6; }
4583 test -n "$aros_host_automake" && break
4588 if test "$aros_host_aclocal" = ""; then
4591 if test "$aros_host_aclocal" = "no"; then
4594 if test "$req_avail" = "no"; then
4595 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4598 if test "$aros_host_automake" = ""; then
4601 if test "$aros_host_automake" = "no"; then
4604 if test "$req_avail" = "no"; then
4605 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4608 case "$aros_host_cc" in
4610 aros_host_cc_pipe
=""
4613 aros_host_cc_pipe
="-pipe"
4616 aros_host_cc_pipe
=""
4619 aros_host_cc_pipe
=""
4623 aros_kernel_cc_includes
=""
4624 aros_target_cc_includes
=""
4627 # ----------------------------------------------------------------------------------------
4628 # Host-specific defaults
4630 # This is the main host configuration section. It is where the host
4631 # can change the values of any variables it needs to change. We do
4632 # not look at anything that compiles to the target yet, we'll get
4637 aros_host_arch
="aros"
4638 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4641 aros_host_cpu
="i386"
4644 aros_host_cpu
="x86_64"
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4651 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4652 aros_host_cpu
="$host_cpu"
4658 aros_host_arch
="linux"
4659 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4660 android_build_os
="linux-x86"
4661 android_tool
="android"
4662 default_android_sdk
="/opt/android-sdk-linux_x86"
4665 aros_host_cpu
="i386"
4668 aros_host_cpu
="x86_64"
4671 aros_host_cpu
="m68k"
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4681 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4682 aros_host_cpu
="$host_cpu"
4688 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe -I/usr/local/include"
4689 aros_host_make
="gmake"
4690 aros_host_arch
="freebsd"
4691 aros_host_cpu
="i386"
4693 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4697 aros_object_format
="elf_i386"
4701 aros_object_format
="elf_i386_fbsd"
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for macOS SDK files" >&5
4709 $as_echo_n "checking for macOS SDK files... " >&6; }
4710 LOC
=$
( xcode-select
-p )
4711 if test $?
!= 0; then :
4712 as_fn_error $?
"XCode incorrectly configured!
4713 please run 'xcode-select --install' before
4714 re-running configure" "$LINENO" 5
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOC" >&5
4717 $as_echo "$LOC" >&6; }
4718 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4719 aros_host_arch
="darwin"
4721 if [ -z ${SED+x} ]; then SED
="gsed"; fi
4722 android_build_os
="darwin-x86"
4723 android_tool
="android"
4724 default_android_sdk
="/android-sdk-mac_x86"
4727 aros_host_cpu
="i386"
4730 aros_host_cpu
="x86_64"
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4737 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4738 aros_host_cpu
="$host_cpu"
4742 aros_host_ldflags
="$aros_host_ldflags -liconv"
4747 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4748 aros_host_make
="gmake"
4749 aros_host_arch
="dragonfly"
4752 aros_host_cpu
="i386"
4755 aros_host_cpu
="x86_64"
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4759 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4760 aros_host_cpu
="$host_cpu"
4766 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4767 aros_host_make
="gmake"
4768 aros_host_arch
="netbsd"
4771 aros_host_cpu
="i386"
4774 aros_host_cpu
="m68k"
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4778 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4779 aros_host_cpu
="$host_cpu"
4782 aros_host_lib_suffix
=".0.0"
4786 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4787 aros_host_make
="gmake"
4788 aros_host_arch
="openbsd"
4791 aros_host_cpu
="i386"
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4795 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4796 aros_host_cpu
="$host_cpu"
4802 aros_host_arch
="solaris"
4803 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4806 aros_host_cpu
="i386"
4809 aros_host_cpu
="sparc"
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4813 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4814 aros_host_cpu
="$host_cpu"
4820 aros_host_arch
="morphos"
4826 aros_host_arch
="amiga"
4832 TOUCH
="/gg/bin/touch"
4835 aros_host_cpu
="m68k"
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4842 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4843 aros_host_cpu
="$host_cpu"
4849 aros_host_arch
="cygwin"
4850 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4852 android_build_os
="windows"
4853 android_tool
="android.bat"
4854 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4858 aros_host_cpu
="i386"
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4862 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4863 aros_host_cpu
="$host_cpu"
4869 aros_host_arch
="mingw32"
4870 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4872 android_build_os
="windows"
4873 android_tool
="android.bat"
4874 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4876 libpng_libextra
="-lws2_32"
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4882 $as_echo_n "checking for Windows native gcc target... " >&6; }
4883 host_cpu
=`gcc -dumpmachine`
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4885 $as_echo "$host_cpu" >&6; }
4892 aros_host_cpu
="i386"
4896 aros_host_cpu
="i386"
4900 aros_host_cpu
="x86_64"
4901 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4906 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4907 aros_host_cpu
="$host_cpu"
4912 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4916 # Extract the first word of "ar", so it can be a program name with args.
4917 set dummy
ar; ac_word
=$2
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4919 $as_echo_n "checking for $ac_word... " >&6; }
4920 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4921 $as_echo_n "(cached) " >&6
4923 if test -n "$aros_host_ar"; then
4924 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4930 test -z "$as_dir" && as_dir
=.
4931 for ac_exec_ext
in '' $ac_executable_extensions; do
4932 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4933 ac_cv_prog_aros_host_ar
="ar cr"
4934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4943 aros_host_ar
=$ac_cv_prog_aros_host_ar
4944 if test -n "$aros_host_ar"; then
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4946 $as_echo "$aros_host_ar" >&6; }
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4949 $as_echo "no" >&6; }
4954 if test "$aros_host_ar" = ""; then
4957 if test "$aros_host_ar" = "no"; then
4960 if test "$req_avail" = "no"; then
4961 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4963 # Extract the first word of "ranlib", so it can be a program name with args.
4964 set dummy ranlib
; ac_word
=$2
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4966 $as_echo_n "checking for $ac_word... " >&6; }
4967 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4968 $as_echo_n "(cached) " >&6
4970 if test -n "$aros_host_ranlib"; then
4971 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4977 test -z "$as_dir" && as_dir
=.
4978 for ac_exec_ext
in '' $ac_executable_extensions; do
4979 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4980 ac_cv_prog_aros_host_ranlib
="ranlib "
4981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4990 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4991 if test -n "$aros_host_ranlib"; then
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4993 $as_echo "$aros_host_ranlib" >&6; }
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4996 $as_echo "no" >&6; }
5001 if test "$aros_host_ranlib" = ""; then
5004 if test "$aros_host_ranlib" = "no"; then
5007 if test "$req_avail" = "no"; then
5008 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
5010 # Extract the first word of "strip", so it can be a program name with args.
5011 set dummy strip
; ac_word
=$2
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5013 $as_echo_n "checking for $ac_word... " >&6; }
5014 if ${ac_cv_prog_aros_host_strip+:} false
; then :
5015 $as_echo_n "(cached) " >&6
5017 if test -n "$aros_host_strip"; then
5018 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5024 test -z "$as_dir" && as_dir
=.
5025 for ac_exec_ext
in '' $ac_executable_extensions; do
5026 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5027 ac_cv_prog_aros_host_strip
="strip "
5028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5037 aros_host_strip
=$ac_cv_prog_aros_host_strip
5038 if test -n "$aros_host_strip"; then
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5040 $as_echo "$aros_host_strip" >&6; }
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5043 $as_echo "no" >&6; }
5048 if test "$aros_host_strip" = ""; then
5051 if test "$aros_host_strip" = "no"; then
5054 if test "$req_avail" = "no"; then
5055 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5058 # Extract the first word of "rm", so it can be a program name with args.
5059 set dummy
rm; ac_word
=$2
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5061 $as_echo_n "checking for $ac_word... " >&6; }
5062 if ${ac_cv_prog_RM+:} false
; then :
5063 $as_echo_n "(cached) " >&6
5065 if test -n "$RM"; then
5066 ac_cv_prog_RM
="$RM" # Let the user override the test.
5068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5072 test -z "$as_dir" && as_dir
=.
5073 for ac_exec_ext
in '' $ac_executable_extensions; do
5074 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5075 ac_cv_prog_RM
="rm -rf"
5076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5086 if test -n "$RM"; then
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5088 $as_echo "$RM" >&6; }
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5091 $as_echo "no" >&6; }
5096 if test "$RM" = ""; then
5099 if test "$RM" = "no"; then
5102 if test "$req_avail" = "no"; then
5103 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5105 # Extract the first word of "cp", so it can be a program name with args.
5106 set dummy
cp; ac_word
=$2
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5108 $as_echo_n "checking for $ac_word... " >&6; }
5109 if ${ac_cv_prog_CP+:} false
; then :
5110 $as_echo_n "(cached) " >&6
5112 if test -n "$CP"; then
5113 ac_cv_prog_CP
="$CP" # Let the user override the test.
5115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5119 test -z "$as_dir" && as_dir
=.
5120 for ac_exec_ext
in '' $ac_executable_extensions; do
5121 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5133 if test -n "$CP"; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5135 $as_echo "$CP" >&6; }
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 $as_echo "no" >&6; }
5143 if test "$CP" = ""; then
5146 if test "$CP" = "no"; then
5149 if test "$req_avail" = "no"; then
5150 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5152 # Extract the first word of "mv", so it can be a program name with args.
5153 set dummy
mv; ac_word
=$2
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5155 $as_echo_n "checking for $ac_word... " >&6; }
5156 if ${ac_cv_prog_MV+:} false
; then :
5157 $as_echo_n "(cached) " >&6
5159 if test -n "$MV"; then
5160 ac_cv_prog_MV
="$MV" # Let the user override the test.
5162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5166 test -z "$as_dir" && as_dir
=.
5167 for ac_exec_ext
in '' $ac_executable_extensions; do
5168 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5180 if test -n "$MV"; then
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5182 $as_echo "$MV" >&6; }
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5185 $as_echo "no" >&6; }
5190 if test "$MV" = ""; then
5193 if test "$MV" = "no"; then
5196 if test "$req_avail" = "no"; then
5197 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5199 # Extract the first word of "echo", so it can be a program name with args.
5200 set dummy
echo; ac_word
=$2
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5202 $as_echo_n "checking for $ac_word... " >&6; }
5203 if ${ac_cv_prog_ECHO+:} false
; then :
5204 $as_echo_n "(cached) " >&6
5206 if test -n "$ECHO"; then
5207 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5213 test -z "$as_dir" && as_dir
=.
5214 for ac_exec_ext
in '' $ac_executable_extensions; do
5215 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5216 ac_cv_prog_ECHO
="echo "
5217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5226 ECHO
=$ac_cv_prog_ECHO
5227 if test -n "$ECHO"; then
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5229 $as_echo "$ECHO" >&6; }
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5232 $as_echo "no" >&6; }
5237 if test "$ECHO" = ""; then
5240 if test "$ECHO" = "no"; then
5243 if test "$req_avail" = "no"; then
5244 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5246 # Extract the first word of "mkdir", so it can be a program name with args.
5247 set dummy mkdir
; ac_word
=$2
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5249 $as_echo_n "checking for $ac_word... " >&6; }
5250 if ${ac_cv_prog_MKDIR+:} false
; then :
5251 $as_echo_n "(cached) " >&6
5253 if test -n "$MKDIR"; then
5254 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5260 test -z "$as_dir" && as_dir
=.
5261 for ac_exec_ext
in '' $ac_executable_extensions; do
5262 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5263 ac_cv_prog_MKDIR
="mkdir -p"
5264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5273 MKDIR
=$ac_cv_prog_MKDIR
5274 if test -n "$MKDIR"; then
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5276 $as_echo "$MKDIR" >&6; }
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5279 $as_echo "no" >&6; }
5284 if test "$MKDIR" = ""; then
5287 if test "$MKDIR" = "no"; then
5290 if test "$req_avail" = "no"; then
5291 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5293 # Extract the first word of "touch", so it can be a program name with args.
5294 set dummy
touch; ac_word
=$2
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5296 $as_echo_n "checking for $ac_word... " >&6; }
5297 if ${ac_cv_prog_TOUCH+:} false
; then :
5298 $as_echo_n "(cached) " >&6
5300 if test -n "$TOUCH"; then
5301 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5307 test -z "$as_dir" && as_dir
=.
5308 for ac_exec_ext
in '' $ac_executable_extensions; do
5309 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5310 ac_cv_prog_TOUCH
="touch "
5311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5320 TOUCH
=$ac_cv_prog_TOUCH
5321 if test -n "$TOUCH"; then
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5323 $as_echo "$TOUCH" >&6; }
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5326 $as_echo "no" >&6; }
5331 if test "$TOUCH" = ""; then
5334 if test "$TOUCH" = "no"; then
5337 if test "$req_avail" = "no"; then
5338 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5340 # Extract the first word of "sort", so it can be a program name with args.
5341 set dummy
sort; ac_word
=$2
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5343 $as_echo_n "checking for $ac_word... " >&6; }
5344 if ${ac_cv_prog_SORT+:} false
; then :
5345 $as_echo_n "(cached) " >&6
5347 if test -n "$SORT"; then
5348 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5354 test -z "$as_dir" && as_dir
=.
5355 for ac_exec_ext
in '' $ac_executable_extensions; do
5356 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5357 ac_cv_prog_SORT
="sort "
5358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5367 SORT
=$ac_cv_prog_SORT
5368 if test -n "$SORT"; then
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5370 $as_echo "$SORT" >&6; }
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5373 $as_echo "no" >&6; }
5378 if test "$SORT" = ""; then
5381 if test "$SORT" = "no"; then
5384 if test "$req_avail" = "no"; then
5385 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5387 # Extract the first word of "uniq", so it can be a program name with args.
5388 set dummy
uniq; ac_word
=$2
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5390 $as_echo_n "checking for $ac_word... " >&6; }
5391 if ${ac_cv_prog_UNIQ+:} false
; then :
5392 $as_echo_n "(cached) " >&6
5394 if test -n "$UNIQ"; then
5395 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5401 test -z "$as_dir" && as_dir
=.
5402 for ac_exec_ext
in '' $ac_executable_extensions; do
5403 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5404 ac_cv_prog_UNIQ
="uniq "
5405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5414 UNIQ
=$ac_cv_prog_UNIQ
5415 if test -n "$UNIQ"; then
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5417 $as_echo "$UNIQ" >&6; }
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5420 $as_echo "no" >&6; }
5425 if test "$UNIQ" = ""; then
5428 if test "$UNIQ" = "no"; then
5431 if test "$req_avail" = "no"; then
5432 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5434 # Extract the first word of "true", so it can be a program name with args.
5435 set dummy true
; ac_word
=$2
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5437 $as_echo_n "checking for $ac_word... " >&6; }
5438 if ${ac_cv_prog_NOP+:} false
; then :
5439 $as_echo_n "(cached) " >&6
5441 if test -n "$NOP"; then
5442 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5448 test -z "$as_dir" && as_dir
=.
5449 for ac_exec_ext
in '' $ac_executable_extensions; do
5450 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5451 ac_cv_prog_NOP
="true "
5452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5462 if test -n "$NOP"; then
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5464 $as_echo "$NOP" >&6; }
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5467 $as_echo "no" >&6; }
5472 if test "$NOP" = ""; then
5475 if test "$NOP" = "no"; then
5478 if test "$req_avail" = "no"; then
5479 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5481 # Extract the first word of "cat", so it can be a program name with args.
5482 set dummy
cat; ac_word
=$2
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5484 $as_echo_n "checking for $ac_word... " >&6; }
5485 if ${ac_cv_prog_CAT+:} false
; then :
5486 $as_echo_n "(cached) " >&6
5488 if test -n "$CAT"; then
5489 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5495 test -z "$as_dir" && as_dir
=.
5496 for ac_exec_ext
in '' $ac_executable_extensions; do
5497 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5498 ac_cv_prog_CAT
="cat "
5499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5509 if test -n "$CAT"; then
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5511 $as_echo "$CAT" >&6; }
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5514 $as_echo "no" >&6; }
5519 if test "$CAT" = ""; then
5522 if test "$CAT" = "no"; then
5525 if test "$req_avail" = "no"; then
5526 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5528 # Extract the first word of "bison", so it can be a program name with args.
5529 set dummy bison
; ac_word
=$2
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5531 $as_echo_n "checking for $ac_word... " >&6; }
5532 if ${ac_cv_prog_BISON+:} false
; then :
5533 $as_echo_n "(cached) " >&6
5535 if test -n "$BISON"; then
5536 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5542 test -z "$as_dir" && as_dir
=.
5543 for ac_exec_ext
in '' $ac_executable_extensions; do
5544 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5545 ac_cv_prog_BISON
="bison "
5546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5555 BISON
=$ac_cv_prog_BISON
5556 if test -n "$BISON"; then
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5558 $as_echo "$BISON" >&6; }
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5561 $as_echo "no" >&6; }
5566 if test "$BISON" = ""; then
5569 if test "$BISON" = "no"; then
5572 if test "$req_avail" = "no"; then
5573 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5575 # Extract the first word of "flex", so it can be a program name with args.
5576 set dummy flex
; ac_word
=$2
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5578 $as_echo_n "checking for $ac_word... " >&6; }
5579 if ${ac_cv_prog_FLEX+:} false
; then :
5580 $as_echo_n "(cached) " >&6
5582 if test -n "$FLEX"; then
5583 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5589 test -z "$as_dir" && as_dir
=.
5590 for ac_exec_ext
in '' $ac_executable_extensions; do
5591 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5592 ac_cv_prog_FLEX
="flex "
5593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5602 FLEX
=$ac_cv_prog_FLEX
5603 if test -n "$FLEX"; then
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5605 $as_echo "$FLEX" >&6; }
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5608 $as_echo "no" >&6; }
5613 if test "$FLEX" = ""; then
5616 if test "$FLEX" = "no"; then
5619 if test "$req_avail" = "no"; then
5620 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $FLEX" >&5
5623 $as_echo_n "checking version of $FLEX... " >&6; }
5624 ax_cv_flex_version
="`$FLEX --version | cut -d\" \" -f2`"
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_flex_version" >&5
5626 $as_echo "$ax_cv_flex_version" >&6; }
5627 # Extract the first word of "pngtopnm", so it can be a program name with args.
5628 set dummy pngtopnm
; ac_word
=$2
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5630 $as_echo_n "checking for $ac_word... " >&6; }
5631 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5632 $as_echo_n "(cached) " >&6
5634 if test -n "$PNGTOPNM"; then
5635 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5641 test -z "$as_dir" && as_dir
=.
5642 for ac_exec_ext
in '' $ac_executable_extensions; do
5643 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5644 ac_cv_prog_PNGTOPNM
="pngtopnm "
5645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5654 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5655 if test -n "$PNGTOPNM"; then
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5657 $as_echo "$PNGTOPNM" >&6; }
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5660 $as_echo "no" >&6; }
5665 if test "$PNGTOPNM" = ""; then
5668 if test "$PNGTOPNM" = "no"; then
5671 if test "$req_avail" = "no"; then
5672 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5674 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5675 set dummy ppmtoilbm
; ac_word
=$2
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5677 $as_echo_n "checking for $ac_word... " >&6; }
5678 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5679 $as_echo_n "(cached) " >&6
5681 if test -n "$PPMTOILBM"; then
5682 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5688 test -z "$as_dir" && as_dir
=.
5689 for ac_exec_ext
in '' $ac_executable_extensions; do
5690 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5691 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5701 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5702 if test -n "$PPMTOILBM"; then
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5704 $as_echo "$PPMTOILBM" >&6; }
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5707 $as_echo "no" >&6; }
5712 if test "$PPMTOILBM" = ""; then
5715 if test "$PPMTOILBM" = "no"; then
5718 if test "$req_avail" = "no"; then
5719 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5721 # Extract the first word of "sed", so it can be a program name with args.
5722 set dummy
sed; ac_word
=$2
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5724 $as_echo_n "checking for $ac_word... " >&6; }
5725 if ${ac_cv_prog_SED+:} false
; then :
5726 $as_echo_n "(cached) " >&6
5728 if test -n "$SED"; then
5729 ac_cv_prog_SED
="$SED" # Let the user override the test.
5731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5735 test -z "$as_dir" && as_dir
=.
5736 for ac_exec_ext
in '' $ac_executable_extensions; do
5737 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5738 ac_cv_prog_SED
="sed "
5739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5749 if test -n "$SED"; then
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5751 $as_echo "$SED" >&6; }
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5754 $as_echo "no" >&6; }
5759 if test "$SED" = ""; then
5762 if test "$SED" = "no"; then
5765 if test "$req_avail" = "no"; then
5766 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5768 # Extract the first word of "chmod", so it can be a program name with args.
5769 set dummy
chmod; ac_word
=$2
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5771 $as_echo_n "checking for $ac_word... " >&6; }
5772 if ${ac_cv_prog_CHMOD+:} false
; then :
5773 $as_echo_n "(cached) " >&6
5775 if test -n "$CHMOD"; then
5776 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5782 test -z "$as_dir" && as_dir
=.
5783 for ac_exec_ext
in '' $ac_executable_extensions; do
5784 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5785 ac_cv_prog_CHMOD
="chmod "
5786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795 CHMOD
=$ac_cv_prog_CHMOD
5796 if test -n "$CHMOD"; then
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5798 $as_echo "$CHMOD" >&6; }
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5801 $as_echo "no" >&6; }
5806 if test "$CHMOD" = ""; then
5809 if test "$CHMOD" = "no"; then
5812 if test "$req_avail" = "no"; then
5813 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5815 # Extract the first word of "patch", so it can be a program name with args.
5816 set dummy
patch; ac_word
=$2
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5818 $as_echo_n "checking for $ac_word... " >&6; }
5819 if ${ac_cv_prog_PATCH+:} false
; then :
5820 $as_echo_n "(cached) " >&6
5822 if test -n "$PATCH"; then
5823 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5829 test -z "$as_dir" && as_dir
=.
5830 for ac_exec_ext
in '' $ac_executable_extensions; do
5831 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5832 ac_cv_prog_PATCH
="patch "
5833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5842 PATCH
=$ac_cv_prog_PATCH
5843 if test -n "$PATCH"; then
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5845 $as_echo "$PATCH" >&6; }
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5848 $as_echo "no" >&6; }
5853 if test "$PATCH" = ""; then
5856 if test "$PATCH" = "no"; then
5859 if test "$req_avail" = "no"; then
5860 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5869 if test -n "$PYTHON"; then
5870 # If the user set $PYTHON, use it and don't search something else.
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
5872 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
5874 # split strings by '.' and convert to numeric. Append some zeros
5875 # because we need at least 4 digits for the hex conversion.
5876 # map returns an iterator in Python 3.0 and a list in 2.x
5877 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5879 # xrange is not present in Python 3.0 and range returns an iterator
5880 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5881 sys.exit(sys.hexversion < minverhex)"
5882 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5883 ($PYTHON -c "$prog") >&5 2>&5
5885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5886 (exit $ac_status); }; then :
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5888 $as_echo "yes" >&6; }
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5891 $as_echo "no" >&6; }
5892 as_fn_error $?
"Python interpreter is too old" "$LINENO" 5
5894 am_display_PYTHON
=$PYTHON
5896 # Otherwise, try each interpreter until we find one that satisfies
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5899 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5900 if ${am_cv_pathless_PYTHON+:} false
; then :
5901 $as_echo_n "(cached) " >&6
5904 for am_cv_pathless_PYTHON
in python python2 python3 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
5905 test "$am_cv_pathless_PYTHON" = none
&& break
5907 # split strings by '.' and convert to numeric. Append some zeros
5908 # because we need at least 4 digits for the hex conversion.
5909 # map returns an iterator in Python 3.0 and a list in 2.x
5910 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5912 # xrange is not present in Python 3.0 and range returns an iterator
5913 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5914 sys.exit(sys.hexversion < minverhex)"
5915 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5916 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); }; then :
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5925 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5926 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5927 if test "$am_cv_pathless_PYTHON" = none
; then
5930 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5931 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5933 $as_echo_n "checking for $ac_word... " >&6; }
5934 if ${ac_cv_path_PYTHON+:} false
; then :
5935 $as_echo_n "(cached) " >&6
5939 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5946 test -z "$as_dir" && as_dir
=.
5947 for ac_exec_ext
in '' $ac_executable_extensions; do
5948 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5949 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5960 PYTHON
=$ac_cv_path_PYTHON
5961 if test -n "$PYTHON"; then
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5963 $as_echo "$PYTHON" >&6; }
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5966 $as_echo "no" >&6; }
5971 am_display_PYTHON
=$am_cv_pathless_PYTHON
5975 if test "$PYTHON" = :; then
5976 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5981 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5982 if ${am_cv_python_version+:} false
; then :
5983 $as_echo_n "(cached) " >&6
5985 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5988 $as_echo "$am_cv_python_version" >&6; }
5989 PYTHON_VERSION
=$am_cv_python_version
5993 PYTHON_PREFIX
='${prefix}'
5995 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
6000 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
6001 if ${am_cv_python_platform+:} false
; then :
6002 $as_echo_n "(cached) " >&6
6004 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
6007 $as_echo "$am_cv_python_platform" >&6; }
6008 PYTHON_PLATFORM
=$am_cv_python_platform
6011 # Just factor out some code duplication.
6012 am_python_setup_sysconfig
="\
6014 # Prefer sysconfig over distutils.sysconfig, for better compatibility
6015 # with python 3.x. See automake bug#10227.
6019 can_use_sysconfig = 0
6021 can_use_sysconfig = 1
6022 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
6023 # <https://github.com/pypa/virtualenv/issues/118>
6025 from platform import python_implementation
6026 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
6027 can_use_sysconfig = 0
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
6033 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
6034 if ${am_cv_python_pythondir+:} false
; then :
6035 $as_echo_n "(cached) " >&6
6037 if test "x$prefix" = xNONE
6039 am_py_prefix
=$ac_default_prefix
6041 am_py_prefix
=$prefix
6043 am_cv_python_pythondir
=`$PYTHON -c "
6044 $am_python_setup_sysconfig
6045 if can_use_sysconfig:
6046 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
6048 from distutils import sysconfig
6049 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
6050 sys.stdout.write(sitedir)"`
6051 case $am_cv_python_pythondir in
6053 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
6054 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
6057 case $am_py_prefix in
6060 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
6068 $as_echo "$am_cv_python_pythondir" >&6; }
6069 pythondir
=$am_cv_python_pythondir
6073 pkgpythondir
=\
${pythondir}/$PACKAGE
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
6077 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
6078 if ${am_cv_python_pyexecdir+:} false
; then :
6079 $as_echo_n "(cached) " >&6
6081 if test "x$exec_prefix" = xNONE
6083 am_py_exec_prefix
=$am_py_prefix
6085 am_py_exec_prefix
=$exec_prefix
6087 am_cv_python_pyexecdir
=`$PYTHON -c "
6088 $am_python_setup_sysconfig
6089 if can_use_sysconfig:
6090 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
6092 from distutils import sysconfig
6093 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
6094 sys.stdout.write(sitedir)"`
6095 case $am_cv_python_pyexecdir in
6096 $am_py_exec_prefix*)
6097 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
6098 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
6101 case $am_py_exec_prefix in
6104 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
6112 $as_echo "$am_cv_python_pyexecdir" >&6; }
6113 pyexecdir
=$am_cv_python_pyexecdir
6117 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
6125 # Check whether --enable-libpng-config was given.
6126 if test "${enable_libpng_config+set}" = set; then :
6127 enableval
=$enable_libpng_config;
6130 if test "$enable_libpng_config" != "no"; then
6131 # Extract the first word of "libpng-config", so it can be a program name with args.
6132 set dummy libpng-config
; ac_word
=$2
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6134 $as_echo_n "checking for $ac_word... " >&6; }
6135 if ${ac_cv_prog_arosconfig_use_libpngconfig+:} false
; then :
6136 $as_echo_n "(cached) " >&6
6138 if test -n "$arosconfig_use_libpngconfig"; then
6139 ac_cv_prog_arosconfig_use_libpngconfig
="$arosconfig_use_libpngconfig" # Let the user override the test.
6141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6145 test -z "$as_dir" && as_dir
=.
6146 for ac_exec_ext
in '' $ac_executable_extensions; do
6147 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6148 ac_cv_prog_arosconfig_use_libpngconfig
="yes"
6149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6156 test -z "$ac_cv_prog_arosconfig_use_libpngconfig" && ac_cv_prog_arosconfig_use_libpngconfig
="no"
6159 arosconfig_use_libpngconfig
=$ac_cv_prog_arosconfig_use_libpngconfig
6160 if test -n "$arosconfig_use_libpngconfig"; then
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $arosconfig_use_libpngconfig" >&5
6162 $as_echo "$arosconfig_use_libpngconfig" >&6; }
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6165 $as_echo "no" >&6; }
6170 if test "$arosconfig_use_libpngconfig" = "yes"; then
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libpng-config library" >&5
6172 $as_echo_n "checking libpng-config library... " >&6; }
6173 libpng_incdir
="`libpng-config --cflags`"
6174 libpng_libextra
="$libpng_libextra `libpng-config --ldflags`"
6175 libpng
="`libpng-config --libs`"
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libpng" >&5
6177 $as_echo "$libpng" >&6; }
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
6181 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
6182 if ${ac_cv_lib_png_png_read_png+:} false
; then :
6183 $as_echo_n "(cached) " >&6
6185 ac_check_lib_save_LIBS
=$LIBS
6187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6188 /* end confdefs.h. */
6190 /* Override any GCC internal prototype to avoid an error.
6191 Use char because int might match the return type of a GCC
6192 builtin and then its argument prototype would still apply. */
6196 char png_read_png ();
6200 return png_read_png ();
6205 if ac_fn_c_try_link
"$LINENO"; then :
6206 ac_cv_lib_png_png_read_png
=yes
6208 ac_cv_lib_png_png_read_png
=no
6210 rm -f core conftest.err conftest.
$ac_objext \
6211 conftest
$ac_exeext conftest.
$ac_ext
6212 LIBS
=$ac_check_lib_save_LIBS
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
6215 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
6216 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
6222 if test "$libpng_libextra" != ""; then
6223 if test "$libpng" != "no"; then
6224 libpng_libextra
="$libpng_libextra $libpng"
6229 if test "$libpng" = ""; then
6232 if test "$libpng" = "no"; then
6235 if test "$req_avail" = "no"; then
6236 as_fn_error $?
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
6252 # Check for some includes for the X11 HIDD and the kernel
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6255 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6256 if ${ac_cv_path_GREP+:} false
; then :
6257 $as_echo_n "(cached) " >&6
6259 if test -z "$GREP"; then
6260 ac_path_GREP_found
=false
6261 # Loop through the user's path and test for each of PROGNAME-LIST
6262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6263 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6266 test -z "$as_dir" && as_dir
=.
6267 for ac_prog
in grep ggrep
; do
6268 for ac_exec_ext
in '' $ac_executable_extensions; do
6269 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6270 as_fn_executable_p
"$ac_path_GREP" ||
continue
6271 # Check for GNU ac_path_GREP and select it if it is found.
6272 # Check for GNU $ac_path_GREP
6273 case `"$ac_path_GREP" --version 2>&1` in
6275 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6278 $as_echo_n 0123456789 >"conftest.in"
6281 cat "conftest.in" "conftest.in" >"conftest.tmp"
6282 mv "conftest.tmp" "conftest.in"
6283 cp "conftest.in" "conftest.nl"
6284 $as_echo 'GREP' >> "conftest.nl"
6285 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6286 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6287 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6288 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6289 # Best one so far, save it but keep looking for a better one
6290 ac_cv_path_GREP
="$ac_path_GREP"
6291 ac_path_GREP_max
=$ac_count
6293 # 10*(2^10) chars as input seems more than enough
6294 test $ac_count -gt 10 && break
6296 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6299 $ac_path_GREP_found && break 3
6304 if test -z "$ac_cv_path_GREP"; then
6305 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6308 ac_cv_path_GREP
=$GREP
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6313 $as_echo "$ac_cv_path_GREP" >&6; }
6314 GREP
="$ac_cv_path_GREP"
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6318 $as_echo_n "checking for egrep... " >&6; }
6319 if ${ac_cv_path_EGREP+:} false
; then :
6320 $as_echo_n "(cached) " >&6
6322 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6323 then ac_cv_path_EGREP
="$GREP -E"
6325 if test -z "$EGREP"; then
6326 ac_path_EGREP_found
=false
6327 # Loop through the user's path and test for each of PROGNAME-LIST
6328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6329 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6332 test -z "$as_dir" && as_dir
=.
6333 for ac_prog
in egrep; do
6334 for ac_exec_ext
in '' $ac_executable_extensions; do
6335 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6336 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6337 # Check for GNU ac_path_EGREP and select it if it is found.
6338 # Check for GNU $ac_path_EGREP
6339 case `"$ac_path_EGREP" --version 2>&1` in
6341 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6344 $as_echo_n 0123456789 >"conftest.in"
6347 cat "conftest.in" "conftest.in" >"conftest.tmp"
6348 mv "conftest.tmp" "conftest.in"
6349 cp "conftest.in" "conftest.nl"
6350 $as_echo 'EGREP' >> "conftest.nl"
6351 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6352 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6353 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6354 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6355 # Best one so far, save it but keep looking for a better one
6356 ac_cv_path_EGREP
="$ac_path_EGREP"
6357 ac_path_EGREP_max
=$ac_count
6359 # 10*(2^10) chars as input seems more than enough
6360 test $ac_count -gt 10 && break
6362 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6365 $ac_path_EGREP_found && break 3
6370 if test -z "$ac_cv_path_EGREP"; then
6371 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6374 ac_cv_path_EGREP
=$EGREP
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6380 $as_echo "$ac_cv_path_EGREP" >&6; }
6381 EGREP
="$ac_cv_path_EGREP"
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6385 $as_echo_n "checking for ANSI C header files... " >&6; }
6386 if ${ac_cv_header_stdc+:} false
; then :
6387 $as_echo_n "(cached) " >&6
6389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6390 /* end confdefs.h. */
6404 if ac_fn_c_try_compile
"$LINENO"; then :
6405 ac_cv_header_stdc
=yes
6407 ac_cv_header_stdc
=no
6409 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6411 if test $ac_cv_header_stdc = yes; then
6412 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6414 /* end confdefs.h. */
6418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6419 $EGREP "memchr" >/dev
/null
2>&1; then :
6422 ac_cv_header_stdc
=no
6428 if test $ac_cv_header_stdc = yes; then
6429 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6431 /* end confdefs.h. */
6435 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6436 $EGREP "free" >/dev
/null
2>&1; then :
6439 ac_cv_header_stdc
=no
6445 if test $ac_cv_header_stdc = yes; then
6446 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6447 if test "$cross_compiling" = yes; then :
6450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6451 /* end confdefs.h. */
6454 #if ((' ' & 0x0FF) == 0x020)
6455 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6456 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6458 # define ISLOWER(c) \
6459 (('a' <= (c) && (c) <= 'i') \
6460 || ('j' <= (c) && (c) <= 'r') \
6461 || ('s' <= (c) && (c) <= 'z'))
6462 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6465 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6470 for (i = 0; i < 256; i++)
6471 if (XOR (islower (i), ISLOWER (i))
6472 || toupper (i) != TOUPPER (i))
6477 if ac_fn_c_try_run
"$LINENO"; then :
6480 ac_cv_header_stdc
=no
6482 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6483 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6489 $as_echo "$ac_cv_header_stdc" >&6; }
6490 if test $ac_cv_header_stdc = yes; then
6492 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6496 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6497 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6498 inttypes.h stdint.h unistd.h
6500 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6501 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6503 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6504 cat >>confdefs.h
<<_ACEOF
6505 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6513 for ac_header
in sys
/ipc.h sys
/shm.h \
6514 sys
/mmap.h sys
/mman.h sysexits.h \
6515 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6518 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6519 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6520 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6521 cat >>confdefs.h
<<_ACEOF
6522 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6530 for ac_header
in sys
/mount.h
6532 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6534 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6535 cat >>confdefs.h
<<_ACEOF
6536 #define HAVE_SYS_MOUNT_H 1
6543 for ac_header
in GL
/glx.h
6545 ac_fn_c_check_header_mongrel
"$LINENO" "GL/glx.h" "ac_cv_header_GL_glx_h" "$ac_includes_default"
6546 if test "x$ac_cv_header_GL_glx_h" = xyes
; then :
6547 cat >>confdefs.h
<<_ACEOF
6548 #define HAVE_GL_GLX_H 1
6550 host_feature_glx
=yes
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __unused conflicts with sys/stat.h" >&5
6559 $as_echo_n "checking if __unused conflicts with sys/stat.h... " >&6; }
6560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6561 /* end confdefs.h. */
6563 #define __unused __attribute__((unused))
6564 #include <sys/stat.h>
6574 if ac_fn_c_try_compile
"$LINENO"; then :
6575 host_stat_h__unused_used
=no
6577 host_stat_h__unused_used
=yes
6579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_stat_h__unused_used" >&5
6581 $as_echo "$host_stat_h__unused_used" >&6; }
6584 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6585 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6587 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6588 if eval \
${$as_ac_Header+:} false
; then :
6589 $as_echo_n "(cached) " >&6
6591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6592 /* end confdefs.h. */
6593 #include <sys/types.h>
6605 if ac_fn_c_try_compile
"$LINENO"; then :
6606 eval "$as_ac_Header=yes"
6608 eval "$as_ac_Header=no"
6610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6612 eval ac_res
=\$
$as_ac_Header
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6614 $as_echo "$ac_res" >&6; }
6615 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6616 cat >>confdefs.h
<<_ACEOF
6617 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6620 ac_header_dirent
=$ac_hdr; break
6624 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6625 if test $ac_header_dirent = dirent.h
; then
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6627 $as_echo_n "checking for library containing opendir... " >&6; }
6628 if ${ac_cv_search_opendir+:} false
; then :
6629 $as_echo_n "(cached) " >&6
6631 ac_func_search_save_LIBS
=$LIBS
6632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6633 /* end confdefs.h. */
6635 /* Override any GCC internal prototype to avoid an error.
6636 Use char because int might match the return type of a GCC
6637 builtin and then its argument prototype would still apply. */
6650 for ac_lib
in '' dir
; do
6651 if test -z "$ac_lib"; then
6652 ac_res
="none required"
6655 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6657 if ac_fn_c_try_link
"$LINENO"; then :
6658 ac_cv_search_opendir
=$ac_res
6660 rm -f core conftest.err conftest.
$ac_objext \
6662 if ${ac_cv_search_opendir+:} false
; then :
6666 if ${ac_cv_search_opendir+:} false
; then :
6669 ac_cv_search_opendir
=no
6672 LIBS
=$ac_func_search_save_LIBS
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6675 $as_echo "$ac_cv_search_opendir" >&6; }
6676 ac_res
=$ac_cv_search_opendir
6677 if test "$ac_res" != no
; then :
6678 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6684 $as_echo_n "checking for library containing opendir... " >&6; }
6685 if ${ac_cv_search_opendir+:} false
; then :
6686 $as_echo_n "(cached) " >&6
6688 ac_func_search_save_LIBS
=$LIBS
6689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6690 /* end confdefs.h. */
6692 /* Override any GCC internal prototype to avoid an error.
6693 Use char because int might match the return type of a GCC
6694 builtin and then its argument prototype would still apply. */
6707 for ac_lib
in '' x
; do
6708 if test -z "$ac_lib"; then
6709 ac_res
="none required"
6712 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6714 if ac_fn_c_try_link
"$LINENO"; then :
6715 ac_cv_search_opendir
=$ac_res
6717 rm -f core conftest.err conftest.
$ac_objext \
6719 if ${ac_cv_search_opendir+:} false
; then :
6723 if ${ac_cv_search_opendir+:} false
; then :
6726 ac_cv_search_opendir
=no
6729 LIBS
=$ac_func_search_save_LIBS
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6732 $as_echo "$ac_cv_search_opendir" >&6; }
6733 ac_res
=$ac_cv_search_opendir
6734 if test "$ac_res" != no
; then :
6735 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6742 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6743 if ${ac_cv_header_stat_broken+:} false
; then :
6744 $as_echo_n "(cached) " >&6
6746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6747 /* end confdefs.h. */
6748 #include <sys/types.h>
6749 #include <sys/stat.h>
6751 #if defined S_ISBLK && defined S_IFDIR
6752 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6755 #if defined S_ISBLK && defined S_IFCHR
6756 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6759 #if defined S_ISLNK && defined S_IFREG
6760 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6763 #if defined S_ISSOCK && defined S_IFREG
6764 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6768 if ac_fn_c_try_compile
"$LINENO"; then :
6769 ac_cv_header_stat_broken
=no
6771 ac_cv_header_stat_broken
=yes
6773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6776 $as_echo "$ac_cv_header_stat_broken" >&6; }
6777 if test $ac_cv_header_stat_broken = yes; then
6779 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6784 $as_echo_n "checking for ANSI C header files... " >&6; }
6785 if ${ac_cv_header_stdc+:} false
; then :
6786 $as_echo_n "(cached) " >&6
6788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6789 /* end confdefs.h. */
6803 if ac_fn_c_try_compile
"$LINENO"; then :
6804 ac_cv_header_stdc
=yes
6806 ac_cv_header_stdc
=no
6808 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6810 if test $ac_cv_header_stdc = yes; then
6811 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6813 /* end confdefs.h. */
6817 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6818 $EGREP "memchr" >/dev
/null
2>&1; then :
6821 ac_cv_header_stdc
=no
6827 if test $ac_cv_header_stdc = yes; then
6828 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6830 /* end confdefs.h. */
6834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6835 $EGREP "free" >/dev
/null
2>&1; then :
6838 ac_cv_header_stdc
=no
6844 if test $ac_cv_header_stdc = yes; then
6845 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6846 if test "$cross_compiling" = yes; then :
6849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6850 /* end confdefs.h. */
6853 #if ((' ' & 0x0FF) == 0x020)
6854 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6855 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6857 # define ISLOWER(c) \
6858 (('a' <= (c) && (c) <= 'i') \
6859 || ('j' <= (c) && (c) <= 'r') \
6860 || ('s' <= (c) && (c) <= 'z'))
6861 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6864 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6869 for (i = 0; i < 256; i++)
6870 if (XOR (islower (i), ISLOWER (i))
6871 || toupper (i) != TOUPPER (i))
6876 if ac_fn_c_try_run
"$LINENO"; then :
6879 ac_cv_header_stdc
=no
6881 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6882 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6888 $as_echo "$ac_cv_header_stdc" >&6; }
6889 if test $ac_cv_header_stdc = yes; then
6891 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6896 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6897 if ${ac_cv_header_sys_wait_h+:} false
; then :
6898 $as_echo_n "(cached) " >&6
6900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6901 /* end confdefs.h. */
6902 #include <sys/types.h>
6903 #include <sys/wait.h>
6905 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6908 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6916 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6921 if ac_fn_c_try_compile
"$LINENO"; then :
6922 ac_cv_header_sys_wait_h
=yes
6924 ac_cv_header_sys_wait_h
=no
6926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6929 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6930 if test $ac_cv_header_sys_wait_h = yes; then
6932 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6937 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6938 if ${ac_cv_header_time+:} false
; then :
6939 $as_echo_n "(cached) " >&6
6941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6942 /* end confdefs.h. */
6943 #include <sys/types.h>
6944 #include <sys/time.h>
6950 if ((struct tm *) 0)
6956 if ac_fn_c_try_compile
"$LINENO"; then :
6957 ac_cv_header_time
=yes
6959 ac_cv_header_time
=no
6961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6964 $as_echo "$ac_cv_header_time" >&6; }
6965 if test $ac_cv_header_time = yes; then
6967 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6971 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6972 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6974 cat >>confdefs.h
<<_ACEOF
6975 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6979 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6984 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6985 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6987 cat >>confdefs.h
<<_ACEOF
6988 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6992 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6995 case " $LIBOBJS " in
6996 *" fileblocks.$ac_objext "* ) ;;
6997 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
7004 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
7005 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
7007 cat >>confdefs.h
<<_ACEOF
7008 #define HAVE_STRUCT_STAT_ST_RDEV 1
7012 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
7018 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
7019 if ${ac_cv_struct_tm+:} false
; then :
7020 $as_echo_n "(cached) " >&6
7022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7023 /* end confdefs.h. */
7024 #include <sys/types.h>
7031 int *p = &tm.tm_sec;
7037 if ac_fn_c_try_compile
"$LINENO"; then :
7038 ac_cv_struct_tm
=time.h
7040 ac_cv_struct_tm
=sys
/time.h
7042 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
7045 $as_echo "$ac_cv_struct_tm" >&6; }
7046 if test $ac_cv_struct_tm = sys
/time.h
; then
7048 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
7052 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
7053 #include <$ac_cv_struct_tm>
7056 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
7058 cat >>confdefs.h
<<_ACEOF
7059 #define HAVE_STRUCT_TM_TM_ZONE 1
7065 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
7067 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
7070 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
7072 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
7078 cat >>confdefs.h
<<_ACEOF
7079 #define HAVE_DECL_TZNAME $ac_have_decl
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
7083 $as_echo_n "checking for tzname... " >&6; }
7084 if ${ac_cv_var_tzname+:} false
; then :
7085 $as_echo_n "(cached) " >&6
7087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7088 /* end confdefs.h. */
7090 #if !HAVE_DECL_TZNAME
7091 extern char *tzname[];
7097 return tzname[0][0];
7102 if ac_fn_c_try_link
"$LINENO"; then :
7103 ac_cv_var_tzname
=yes
7107 rm -f core conftest.err conftest.
$ac_objext \
7108 conftest
$ac_exeext conftest.
$ac_ext
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
7111 $as_echo "$ac_cv_var_tzname" >&6; }
7112 if test $ac_cv_var_tzname = yes; then
7114 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
7119 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
7120 if test "x$ac_cv_type_off_t" = xyes
; then :
7124 cat >>confdefs.h
<<_ACEOF
7125 #define off_t long int
7130 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
7131 if test "x$ac_cv_type_pid_t" = xyes
; then :
7135 cat >>confdefs.h
<<_ACEOF
7141 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7142 if test "x$ac_cv_type_size_t" = xyes
; then :
7146 cat >>confdefs.h
<<_ACEOF
7147 #define size_t unsigned int
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
7153 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7154 if ${ac_cv_type_uid_t+:} false
; then :
7155 $as_echo_n "(cached) " >&6
7157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7158 /* end confdefs.h. */
7159 #include <sys/types.h>
7162 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7163 $EGREP "uid_t" >/dev
/null
2>&1; then :
7164 ac_cv_type_uid_t
=yes
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
7172 $as_echo "$ac_cv_type_uid_t" >&6; }
7173 if test $ac_cv_type_uid_t = no
; then
7175 $as_echo "#define uid_t int" >>confdefs.h
7178 $as_echo "#define gid_t int" >>confdefs.h
7183 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
7184 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
7186 cat >>confdefs.h
<<_ACEOF
7187 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7194 # Look for some functions
7195 for ac_func
in getpagesize kqueue statfs statvfs \
7196 clone kse_create rfork_thread thr_create sa_register \
7197 getcontext makecontext setcontext sigaltstack swapcontext
7199 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7200 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7201 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7202 cat >>confdefs.h
<<_ACEOF
7203 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7213 for ac_header
in $ac_header_list
7215 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7216 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7218 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7219 cat >>confdefs.h
<<_ACEOF
7220 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7234 for ac_func
in getpagesize
7236 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
7237 if test "x$ac_cv_func_getpagesize" = xyes
; then :
7238 cat >>confdefs.h
<<_ACEOF
7239 #define HAVE_GETPAGESIZE 1
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
7246 $as_echo_n "checking for working mmap... " >&6; }
7247 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
7248 $as_echo_n "(cached) " >&6
7250 if test "$cross_compiling" = yes; then :
7251 ac_cv_func_mmap_fixed_mapped
=no
7253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7254 /* end confdefs.h. */
7255 $ac_includes_default
7256 /* malloc might have been renamed as rpl_malloc. */
7259 /* Thanks to Mike Haertel and Jim Avera for this test.
7260 Here is a matrix of mmap possibilities:
7261 mmap private not fixed
7262 mmap private fixed at somewhere currently unmapped
7263 mmap private fixed at somewhere already mapped
7264 mmap shared not fixed
7265 mmap shared fixed at somewhere currently unmapped
7266 mmap shared fixed at somewhere already mapped
7267 For private mappings, we should verify that changes cannot be read()
7268 back from the file, nor mmap's back from the file at a different
7269 address. (There have been systems where private was not correctly
7270 implemented like the infamous i386 svr4.0, and systems where the
7271 VM page cache was not coherent with the file system buffer cache
7272 like early versions of FreeBSD and possibly contemporary NetBSD.)
7273 For shared mappings, we should conversely verify that changes get
7274 propagated back to all the places they're supposed to be.
7276 Grep wants private fixed already mapped.
7277 The main things grep needs to know about mmap are:
7278 * does it exist and is it safe to write into the mmap'd area
7279 * how to use it (BSD variants) */
7282 #include <sys/mman.h>
7284 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7288 /* This mess was copied from the GNU getpagesize.h. */
7289 #ifndef HAVE_GETPAGESIZE
7290 # ifdef _SC_PAGESIZE
7291 # define getpagesize() sysconf(_SC_PAGESIZE)
7292 # else /* no _SC_PAGESIZE */
7293 # ifdef HAVE_SYS_PARAM_H
7294 # include <sys/param.h>
7295 # ifdef EXEC_PAGESIZE
7296 # define getpagesize() EXEC_PAGESIZE
7297 # else /* no EXEC_PAGESIZE */
7299 # define getpagesize() NBPG * CLSIZE
7302 # endif /* no CLSIZE */
7303 # else /* no NBPG */
7305 # define getpagesize() NBPC
7306 # else /* no NBPC */
7308 # define getpagesize() PAGESIZE
7309 # endif /* PAGESIZE */
7310 # endif /* no NBPC */
7311 # endif /* no NBPG */
7312 # endif /* no EXEC_PAGESIZE */
7313 # else /* no HAVE_SYS_PARAM_H */
7314 # define getpagesize() 8192 /* punt totally */
7315 # endif /* no HAVE_SYS_PARAM_H */
7316 # endif /* no _SC_PAGESIZE */
7318 #endif /* no HAVE_GETPAGESIZE */
7323 char *data, *data2, *data3;
7328 pagesize = getpagesize ();
7330 /* First, make a file with some known garbage in it. */
7331 data = (char *) malloc (pagesize);
7334 for (i = 0; i < pagesize; ++i)
7335 *(data + i) = rand ();
7337 fd = creat ("conftest.mmap", 0600);
7340 if (write (fd, data, pagesize) != pagesize)
7344 /* Next, check that the tail of a page is zero-filled. File must have
7345 non-zero length, otherwise we risk SIGBUS for entire page. */
7346 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7350 if (write (fd2, cdata2, 1) != 1)
7352 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7353 if (data2 == MAP_FAILED)
7355 for (i = 0; i < pagesize; ++i)
7359 if (munmap (data2, pagesize))
7362 /* Next, try to mmap the file at a fixed address which already has
7363 something else allocated at it. If we can, also make sure that
7364 we see the same garbage. */
7365 fd = open ("conftest.mmap", O_RDWR);
7368 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7369 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7371 for (i = 0; i < pagesize; ++i)
7372 if (*(data + i) != *(data2 + i))
7375 /* Finally, make sure that changes to the mapped area do not
7376 percolate back to the file as seen by read(). (This is a bug on
7377 some variants of i386 svr4.0.) */
7378 for (i = 0; i < pagesize; ++i)
7379 *(data2 + i) = *(data2 + i) + 1;
7380 data3 = (char *) malloc (pagesize);
7383 if (read (fd, data3, pagesize) != pagesize)
7385 for (i = 0; i < pagesize; ++i)
7386 if (*(data + i) != *(data3 + i))
7394 if ac_fn_c_try_run
"$LINENO"; then :
7395 ac_cv_func_mmap_fixed_mapped
=yes
7397 ac_cv_func_mmap_fixed_mapped
=no
7399 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7400 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7405 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7406 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7408 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7411 rm -f conftest.mmap conftest.txt
7414 #-----------------------------------------------------------------------------
7417 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7418 # it switched on by default, and we use the host compiler, so it compiles AROS
7419 # code with this enabled resulting in link failures as we don't have support
7422 # We use two methods to disable it. For the host compiler (used to compile
7423 # some hosted modules), we test to see if the compiler supports stack
7424 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7425 # work on all platforms.
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7429 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7430 save_cflags
="$CFLAGS"
7431 CFLAGS
="$CFLAGS -fno-stack-protector"
7432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7433 /* end confdefs.h. */
7443 if ac_fn_c_try_compile
"$LINENO"; then :
7444 use_no_stack_protector
="yes"
7446 use_no_stack_protector
="no"
7448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7450 $as_echo "$use_no_stack_protector" >&6; }
7451 if test "x-$use_no_stack_protector" = "x-yes" ; then
7452 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7454 CFLAGS
="$save_cflags"
7456 #-----------------------------------------------------------------------------
7458 # Disable pointer-signedness warnings if the compiler recognises the option
7459 # (this only works for the host compiler at the moment)
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7462 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7463 save_cflags
="$CFLAGS"
7464 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7466 /* end confdefs.h. */
7476 if ac_fn_c_try_compile
"$LINENO"; then :
7477 use_no_sign_warning
="yes"
7479 use_no_sign_warning
="no"
7481 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7483 $as_echo "$use_no_sign_warning" >&6; }
7484 if test "x-$use_no_sign_warning" = "x-yes" ; then
7485 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7487 CFLAGS
="$save_cflags"
7489 #-----------------------------------------------------------------------------
7491 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7494 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7495 save_cflags
="$CFLAGS"
7496 CFLAGS
="$CFLAGS -fgnu89-inline"
7497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7498 /* end confdefs.h. */
7508 if ac_fn_c_try_compile
"$LINENO"; then :
7509 use_gnu89_inline
="yes"
7511 use_gnu89_inline
="no"
7513 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7515 $as_echo "$use_gnu89_inline" >&6; }
7516 if test "x-$use_gnu89_inline" = "x-yes" ; then
7517 gnu89_inline
="-fgnu89-inline"
7519 CFLAGS
="$save_cflags"
7522 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
7523 # On GCC >= 4.0 -iquote should be used
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
7526 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
7527 CFLAGS
="$CFLAGS -iquote."
7528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7529 /* end confdefs.h. */
7539 if ac_fn_c_try_compile
"$LINENO"; then :
7544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
7546 $as_echo "$has_iquote" >&6; }
7547 if test "x-$has_iquote" = "x-yes" ; then
7548 host_cflags_iquote
=-iquote
7549 host_cflags_iquote_end
=
7551 host_cflags_iquote
=-I
7552 host_cflags_iquote_end
=-I-
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: Performing target configuration..." >&5
7556 $as_echo "$as_me: Performing target configuration..." >&6;}
7561 aros_nowarn_flags
="NOWARN_UNUSED_COMMAND_LINE_ARGUMENT NOWARN_UNKNOWN_WARNING_OPTION NOWARN_POINTER_SIGN NOWARN_PARENTHESES"
7569 aros_config_cppflags
=
7571 aros_config_cxxflags
=
7572 aros_config_aflags
="$""(WARN_ALL) -x assembler-with-cpp -c"
7573 aros_config_ldflags
=""
7575 aros_shared_default
=yes
7577 aros_shared_cflags
="-fPIC"
7578 aros_shared_aflags
=""
7579 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7580 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7582 aros_kernel_ar_flags
="cr"
7583 aros_target_ar_flags
="cr"
7584 aros_target_nm_flags
="-C -ul"
7585 aros_target_strip_flags
="--strip-unneeded -R.comment"
7590 aros_target_genmap
="-Wl,-Map -Xlinker"
7592 # Native flavour stuff
7593 aros_serial_debug
="0"
7595 # Palm native flavour stuff
7596 aros_palm_debug_hack
="0"
7598 # Unix flavour stuff
7599 aros_nesting_supervisor
="0"
7601 # Collect-aros stuff: "-ius" to ignore undefined symbols
7602 ignore_undefined_symbols
=""
7604 # Check for X11 by default
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which toolchain family to use ..." >&5
7608 $as_echo_n "checking Which toolchain family to use ...... " >&6; }
7610 # Check whether --with-toolchain was given.
7611 if test "${with_toolchain+set}" = set; then :
7612 withval
=$with_toolchain; aros_toolchain
="$withval"
7614 aros_toolchain
="$default_toolchain_family"
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_toolchain" >&5
7618 $as_echo "$aros_toolchain" >&6; }
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should enable link time optimizations (LTO)" >&5
7622 $as_echo_n "checking if we should enable link time optimizations (LTO)... " >&6; }
7623 # Check whether --enable-lto was given.
7624 if test "${enable_lto+set}" = set; then :
7625 enableval
=$enable_lto; aros_config_lto
="$enableval"
7627 aros_config_lto
="no"
7630 if test "$aros_config_lto" != "no"; then
7631 aros_config_lto
="yes"
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_config_lto" >&5
7634 $as_echo "$aros_config_lto" >&6; }
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should enable coverage instrumentation" >&5
7637 $as_echo_n "checking if we should enable coverage instrumentation... " >&6; }
7638 # Check whether --enable-coverage was given.
7639 if test "${enable_coverage+set}" = set; then :
7640 enableval
=$enable_coverage; aros_config_coverage
="$enableval"
7642 aros_config_coverage
="no"
7645 if test "$aros_config_coverage" != "no"; then
7646 aros_config_coverage
="yes"
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_config_coverage" >&5
7649 $as_echo "$aros_config_coverage" >&6; }
7653 case "$aros_toolchain" in
7655 toolchain_c_compiler
="clang"
7656 toolchain_cxx_compiler
="clang++"
7657 toolchain_cpp_preprocessor
="clang -E"
7658 toolchain_ld
="ld.lld"
7660 toolchain_as
="llvm-as"
7661 toolchain_ar
="llvm-ar"
7662 toolchain_ranlib
="llvm-ranlib"
7663 toolchain_nm
="llvm-nm"
7664 toolchain_strip
="true"
7665 toolchain_objcopy
="llvm-objcopy"
7666 toolchain_objdump
="llvm-objdump"
7670 toolchain_c_compiler
="gcc"
7671 toolchain_cxx_compiler
="g++"
7672 toolchain_cpp_preprocessor
="gcc -E"
7675 if test "$aros_config_lto" != "yes"; then
7678 toolchain_ranlib
="ranlib"
7681 toolchain_ld
="ld.bfd"
7682 toolchain_ar
="gcc-ar"
7683 toolchain_ranlib
="gcc-ranlib"
7684 toolchain_nm
="gcc-nm"
7686 toolchain_strip
="strip"
7687 toolchain_objcopy
="objcopy"
7688 toolchain_objdump
="objdump"
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown toolchain family!\"" >&5
7693 $as_echo "$as_me: WARNING: \"Unknown toolchain family!\"" >&2;}
7694 toolchain_c_compiler
="cc"
7695 toolchain_cxx_compiler
="c++"
7696 toolchain_cpp_preprocessor
="cpp"
7701 toolchain_ranlib
="ranlib"
7703 toolchain_strip
="strip"
7704 toolchain_objcopy
="objcopy"
7705 toolchain_objdump
="objdump"
7709 #-----------------------------------------------------------------------------
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which type of build to do" >&5
7712 $as_echo_n "checking which type of build to do... " >&6; }
7713 # Check whether --enable-build_type was given.
7714 if test "${enable_build_type+set}" = set; then :
7715 enableval
=$enable_build_type; build_type
=$enableval
7717 build_type
="personal"
7721 if test "$build_type" = "nightly"; then
7722 build_type_string
="NIGHTLY"
7723 elif test "$build_type" = "snapshot"; then
7724 build_type_string
="SNAPSHOT"
7725 elif test "$build_type" = "milestone"; then
7726 build_type_string
="MILESTONE"
7727 elif test "$build_type" = "release"; then
7728 build_type_string
="RELEASE"
7730 build_type_string
="PERSONAL"
7731 build_type
="personal"
7734 aros_config_cppflags
="$aros_config_cppflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7737 $as_echo "$build_type" >&6; }
7739 #-----------------------------------------------------------------------------
7740 all_debug_types
="messages stack modules mungwall symbols"
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7743 $as_echo_n "checking which debug types to enable... " >&6; }
7744 # Check whether --enable-debug was given.
7745 if test "${enable_debug+set}" = set; then :
7746 enableval
=$enable_debug; debug
="$enableval"
7752 if test "$debug" = "" -o "$debug" = "no"; then
7754 elif test "$debug" = "yes"; then
7758 if test "$debug" = "all" ; then
7759 debug
="messages stack modules symbols"
7760 for d
in $all_debug_types; do
7761 export aros_
${d}_debug
="1"
7764 for d
in $all_debug_types; do
7765 export aros_
${d}_debug
="0"
7769 if test "$debug" != "none"; then
7770 debug
=`echo $debug | sed s/,/\ /g`
7773 for d2
in $all_debug_types; do
7774 if test "$d2" = "$d"; then
7779 if test "$found" = "0"; then
7780 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7782 export aros_
${d}_debug
="1"
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7787 $as_echo "$debug" >&6; }
7789 if test "$aros_messages_debug" = "1"; then
7790 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7792 aros_messages_debug
=""
7794 if test "$aros_symbols_debug" = "1"; then
7795 aros_symbols_debug
="-g"
7797 aros_symbols_debug
=""
7800 # These are the flags to pass when compiling debugged programs
7801 aros_debug_cppflags
="$aros_messages_debug"
7802 aros_debug_cflags
="$aros_symbols_debug"
7803 aros_debug_cxxflags
=
7804 aros_debug_aflags
=""
7805 aros_debug_ldflags
="$aros_symbols_debug"
7807 #-----------------------------------------------------------------------------
7808 # Checking for distcc and ccache.
7810 # Always apply the transforms in this particular order. Basically you should
7811 # always run 'ccache distcc compiler' in that order for the best performance.
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7814 $as_echo_n "checking whether to enable distcc... " >&6; }
7815 # Check whether --enable-distcc was given.
7816 if test "${enable_distcc+set}" = set; then :
7817 enableval
=$enable_distcc; distcc
="$enableval"
7822 if test "$distcc" != "" -a "$distcc" != "no"; then
7823 # AC_CHECK_PROG will print out the result in this case
7824 # Extract the first word of "distcc", so it can be a program name with args.
7825 set dummy distcc
; ac_word
=$2
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7827 $as_echo_n "checking for $ac_word... " >&6; }
7828 if ${ac_cv_path_DISTCC+:} false
; then :
7829 $as_echo_n "(cached) " >&6
7833 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7840 test -z "$as_dir" && as_dir
=.
7841 for ac_exec_ext
in '' $ac_executable_extensions; do
7842 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7843 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7851 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7855 DISTCC
=$ac_cv_path_DISTCC
7856 if test -n "$DISTCC"; then
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7858 $as_echo "$DISTCC" >&6; }
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7861 $as_echo "no" >&6; }
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7867 $as_echo "no" >&6; }
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7871 $as_echo_n "checking whether to enable ccache... " >&6; }
7872 # Check whether --enable-ccache was given.
7873 if test "${enable_ccache+set}" = set; then :
7874 enableval
=$enable_ccache; ccache
="$enableval"
7879 if test "$ccache" != "" -a "$ccache" != "no"; then
7880 # AC_CHECK_PROG will print out the result in this case
7881 # Extract the first word of "ccache", so it can be a program name with args.
7882 set dummy ccache
; ac_word
=$2
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7884 $as_echo_n "checking for $ac_word... " >&6; }
7885 if ${ac_cv_prog_CCACHE+:} false
; then :
7886 $as_echo_n "(cached) " >&6
7888 if test -n "$CCACHE"; then
7889 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7895 test -z "$as_dir" && as_dir
=.
7896 for ac_exec_ext
in '' $ac_executable_extensions; do
7897 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7898 ac_cv_prog_CCACHE
="ccache"
7899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7908 CCACHE
=$ac_cv_prog_CCACHE
7909 if test -n "$CCACHE"; then
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7911 $as_echo "$CCACHE" >&6; }
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7914 $as_echo "no" >&6; }
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7920 $as_echo "no" >&6; }
7923 #-----------------------------------------------------------------------------
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7925 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7927 # Check whether --with-kernel-gcc-version was given.
7928 if test "${with_kernel_gcc_version+set}" = set; then :
7929 withval
=$with_kernel_gcc_version; kernel_tool_version
="$withval"
7931 kernel_tool_version
=""
7934 if test "$kernel_tool_version" != "" ; then
7935 msg_result
=$kernel_tool_version
7937 msg_result
="default"
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
7940 $as_echo "$msg_result" >&6; }
7942 #-----------------------------------------------------------------------------
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7944 $as_echo_n "checking what optimization flags to use... " >&6; }
7946 # Check whether --with-optimization was given.
7947 if test "${with_optimization+set}" = set; then :
7948 withval
=$with_optimization; optimization_level
="$withval"
7950 optimization_level
="unknown"
7953 if test "$optimization_level" = "unknown"; then
7954 optimization
="default"
7955 if test "$debug" != "none"; then
7956 optimization_level
="-O0"
7958 optimization_level
="-O2"
7961 optimization
="$optimization_level"
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7964 $as_echo "$optimization" >&6; }
7966 paranoia_default
=yes
7967 #-----------------------------------------------------------------------------
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which paranoia flags to use" >&5
7969 $as_echo_n "checking which paranoia flags to use... " >&6; }
7971 # Check whether --with-paranoia was given.
7972 if test "${with_paranoia+set}" = set; then :
7973 withval
=$with_paranoia; paranoia_flags
="$withval"
7975 paranoia_flags
="$paranoia_default"
7978 if test "$paranoia_flags" = "no"; then
7979 paranoia_flags
="$""(WARN_ALL) -Werror-implicit-function-declaration"
7982 if test "$paranoia_flags" = "yes"; then
7983 paranoia_flags
="$""(WARN_ALL) $""(WARN_ERROR)"
7985 msg_result
="$paranoia_flags"
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
7988 $as_echo "$msg_result" >&6; }
7989 aros_warn_flags
="$aros_warn_flags $paranoia_flags"
7991 #-----------------------------------------------------------------------------
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7993 $as_echo_n "checking what target variant to enable... " >&6; }
7994 # Check whether --enable-target_variant was given.
7995 if test "${enable_target_variant+set}" = set; then :
7996 enableval
=$enable_target_variant; target_variant
=$enableval
8001 if test "$target_variant" = ""; then
8002 aros_target_variant
=""
8003 aros_target_suffix
=""
8006 aros_target_variant
="$target_variant"
8007 aros_target_suffix
="-$target_variant"
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
8010 $as_echo "$enableval" >&6; }
8012 #-----------------------------------------------------------------------------
8013 # Target-specific defaults. You can override then on a per-target basis.
8015 # Bootloader name. Currently used by PC target.
8016 target_bootloader
="none"
8020 #-----------------------------------------------------------------------------
8021 # Additional options for some specific targets
8023 case "$aros_target_variant" in
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
8026 $as_echo_n "checking XCode path... " >&6; }
8028 # Check whether --with-xcode was given.
8029 if test "${with_xcode+set}" = set; then :
8030 withval
=$with_xcode; aros_xcode_path
="$withval"
8032 aros_xcode_path
="/Developer"
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
8036 $as_echo "$aros_xcode_path" >&6; }
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
8039 $as_echo_n "checking what iOS SDK version to use... " >&6; }
8041 # Check whether --with-sdk-version was given.
8042 if test "${with_sdk_version+set}" = set; then :
8043 withval
=$with_sdk_version; aros_sdk_version
="$withval"
8045 aros_sdk_version
="4.1"
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
8049 $as_echo "$aros_sdk_version" >&6; }
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
8055 $as_echo_n "checking Android SDK path... " >&6; }
8057 # Check whether --with-sdk was given.
8058 if test "${with_sdk+set}" = set; then :
8059 withval
=$with_sdk; aros_android_sdk
="$withval"
8061 aros_android_sdk
=$default_android_sdk
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
8065 $as_echo "$aros_android_sdk" >&6; }
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
8068 $as_echo_n "checking Android NDK path... " >&6; }
8070 # Check whether --with-ndk was given.
8071 if test "${with_ndk+set}" = set; then :
8072 withval
=$with_ndk; aros_android_ndk
="$withval"
8074 aros_android_ndk
="none"
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
8078 $as_echo "$aros_android_ndk" >&6; }
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
8081 $as_echo_n "checking what Android SDK version to use... " >&6; }
8083 # Check whether --with-sdk-version was given.
8084 if test "${with_sdk_version+set}" = set; then :
8085 withval
=$with_sdk_version; aros_sdk_version
="$withval"
8087 aros_sdk_version
="12"
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
8091 $as_echo "$aros_sdk_version" >&6; }
8093 aros_android_level
=android-
$aros_sdk_version
8094 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
8095 echo "Platform $aros_android_level is not installed in your SDK"
8096 echo "Use --with-sdk-version=<API level number> to select another platform version"
8097 echo "You can check what plaform versions are installed in your SDK"
8098 echo "by examining contents of $aros_android_sdk/platforms directory"
8099 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
8102 export PATH
="$aros_android_sdk/tools:$PATH"
8103 # Extract the first word of "$android_tool", so it can be a program name with args.
8104 set dummy
$android_tool; ac_word
=$2
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8106 $as_echo_n "checking for $ac_word... " >&6; }
8107 if ${ac_cv_path_android_tool+:} false
; then :
8108 $as_echo_n "(cached) " >&6
8110 case $android_tool in
8112 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
8115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8119 test -z "$as_dir" && as_dir
=.
8120 for ac_exec_ext
in '' $ac_executable_extensions; do
8121 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8122 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
8123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8133 android_tool
=$ac_cv_path_android_tool
8134 if test -n "$android_tool"; then
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
8136 $as_echo "$android_tool" >&6; }
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8139 $as_echo "no" >&6; }
8144 if test "$android_tool" = ""; then
8147 if test "$android_tool" = "no"; then
8150 if test "$req_avail" = "no"; then
8151 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
8154 if test "$aros_android_ndk" != "none"; then
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
8156 $as_echo_n "checking what Android NDK version to use... " >&6; }
8158 # Check whether --with-ndk-version was given.
8159 if test "${with_ndk_version+set}" = set; then :
8160 withval
=$with_ndk_version; aros_ndk_version
="$withval"
8162 aros_ndk_version
="9"
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
8166 $as_echo "$aros_ndk_version" >&6; }
8169 # Extract the first word of "ant", so it can be a program name with args.
8170 set dummy ant
; ac_word
=$2
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8172 $as_echo_n "checking for $ac_word... " >&6; }
8173 if ${ac_cv_path_ant+:} false
; then :
8174 $as_echo_n "(cached) " >&6
8178 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
8181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8185 test -z "$as_dir" && as_dir
=.
8186 for ac_exec_ext
in '' $ac_executable_extensions; do
8187 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8188 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
8189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8200 if test -n "$ant"; then
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
8202 $as_echo "$ant" >&6; }
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8205 $as_echo "no" >&6; }
8209 if test "$ant" = ""; then
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
8211 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Build debug or release apk" >&5
8215 $as_echo_n "checking Build debug or release apk... " >&6; }
8217 # Check whether --with-apk-version was given.
8218 if test "${with_apk_version+set}" = set; then :
8219 withval
=$with_apk_version; aros_android_antapk
=$withval
8221 aros_android_antapk
=release
8224 if test $aros_android_antapk != release
-a $aros_android_antapk != debug
; then
8225 as_fn_error $?
"apk-version has to be release or debug" "$LINENO" 5
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_antapk" >&5
8228 $as_echo "$aros_android_antapk" >&6; }
8230 target_extra_cfg
+="$export_newline""# Android$export_newline""AROS_ANDROID_ANTAPK := $aros_android_antapk$export_newline"
8231 host_extra_cfg
+="$export_newline""# Android-specific$export_newline""ANDROID := $android_tool$export_newline""ANT := $ant$export_newline"
8232 aros_target_options
+="$export_newline""# Enable Android Gfx Driver$export_newline""OPT_HOST_ANDROIDGFX := yes$export_newline"
8234 if test "$host_os" = "mingw32"; then
8235 android_tool
="cmd //c $android_tool"
8243 #-----------------------------------------------------------------------------
8244 # External toolchains
8245 kernel_tool_prefix
="none"
8246 aros_tool_prefix
="none"
8247 elf_tool_prefix
="${target_cpu}-elf-"
8249 # Base target cpu ISA configuration switch.
8250 case "$target_cpu" in
8256 m68k_isa_extra
="ISA_MC68000_FLAGS = -march=68000"
8257 m68k_020_isa_extra
="ISA_MC68020_FLAGS = -march=68020"
8258 m68k_030_isa_extra
="ISA_MC68030_FLAGS = -march=68030"
8259 m68k_040_isa_extra
="ISA_MC68040_FLAGS = -march=68040"
8260 m68k_060_isa_extra
="ISA_MC68060_FLAGS = -march=68060"
8261 m68k_ac080_isa_extra
="ISA_AC68080_FLAGS = -march=68040"
8262 m68k_020_ext
="ISA_MC68020_EXT :=020"
8263 m68k_030_ext
="ISA_MC68030_EXT :=030"
8264 m68k_040_ext
="ISA_MC68040_EXT :=040"
8265 m68k_060_ext
="ISA_MC68060_EXT :=060"
8266 m68k_020_cflags
="ISA_MC68020_CFLAGS ="
8267 m68k_030_cflags
="ISA_MC68030_CFLAGS ="
8268 m68k_040_cflags
="ISA_MC68040_CFLAGS ="
8269 m68k_060_cflags
="ISA_MC68060_CFLAGS ="
8270 m68k_020_cppflags
="ISA_MC68020_CPPFLAGS ="
8271 m68k_030_cppflags
="ISA_MC68030_CPPFLAGS ="
8272 m68k_040_cppflags
="ISA_MC68040_CPPFLAGS ="
8273 m68k_060_cppflags
="ISA_MC68060_CPPFLAGS ="
8274 m68k_020_ldflags
="ISA_MC68020_LDFLAGS ="
8275 m68k_030_ldflags
="ISA_MC68030_LDFLAGS ="
8276 m68k_040_ldflags
="ISA_MC68040_LDFLAGS ="
8277 m68k_060_ldflags
="ISA_MC68060_LDFLAGS ="
8280 x86_isa_extra
="ISA_X86_FLAGS = -m32 -march=i486"
8281 x86_64_isa_extra
="ISA_X8664_FLAGS = -mcmodel=large"
8287 # This is the target configuration switch.
8288 case "$target_os" in
8290 aros_target_arch
="linux"
8291 aros_target_family
="unix"
8292 case "$target_cpu" in
8294 aros_target_cpu
="m68k"
8295 aros_object_format
="m68kelf"
8296 aros_flavour
="emulcompat"
8297 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8298 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
8299 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8300 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8301 gcc_target_cpu
="mc68000"
8304 aros_target_cpu
="i386"
8305 aros_object_format
="elf_i386"
8306 aros_flavour
="emulation"
8307 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8308 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8309 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8310 aros_kernel_ldflags
="-Wl,-melf_i386"
8311 aros_nominal_depth
=8
8312 gcc_target_cpu
="i386"
8313 pci_hidd_target
="hidd-pci-linux"
8314 android_tool_dir_prefix
="x86"
8315 android_tool_prefix
="i686-android-linux"
8316 android_ndk_arch
="x86"
8319 aros_target_cpu
="x86_64"
8320 aros_object_format
="elf_x86_64"
8321 aros_flavour
="emulation"
8322 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8323 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8324 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8325 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
8326 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
8327 aros_nominal_depth
=8
8328 pci_hidd_target
="hidd-pci-linux"
8331 aros_target_cpu
="ppc"
8332 aros_object_format
="elf32ppc"
8333 aros_flavour
="emulation"
8334 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8335 aros_nominal_depth
=8
8336 gcc_target_cpu
="ppc"
8339 # Same as powerpc, but I need this for the nightly build to work again.
8340 # Actually, the nightly should be made working with powerpc target.
8341 # That just was too much work for the moment, another week or two.
8343 aros_target_cpu
="ppc"
8344 aros_object_format
="elf32ppc"
8345 aros_flavour
="emulation"
8346 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8347 aros_nominal_depth
=8
8348 gcc_target_cpu
="ppc"
8351 aros_target_cpu
="aarch64"
8352 target_cpu
="aarch64"
8353 aros_object_format
="aarch64elf_aros"
8354 aros_flavour
="emulation"
8355 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8356 gcc_target_cpu
="aarch64"
8357 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8358 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8359 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING)"
8360 aros_c_libs
="$aros_c_libs -laeabi"
8361 gcc_default_float_abi
="hard"
8362 kernel_tool_prefix
="aarch64-linux-gnueabihf-"
8365 aros_target_cpu
="arm"
8367 aros_object_format
="armelf_aros"
8368 aros_flavour
="emulation"
8369 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8370 gcc_target_cpu
="arm"
8371 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8372 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8373 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING)"
8374 aros_c_libs
="$aros_c_libs -laeabi"
8375 gcc_default_float_abi
="hard"
8376 android_tool_dir_prefix
="arm-linux-androideabi"
8377 android_tool_prefix
="arm-linux-androideabi"
8378 android_ndk_arch
="arm"
8379 kernel_tool_prefix
="arm-linux-gnueabihf-"
8382 aros_target_cpu
="arm"
8383 aros_object_format
="armelf_aros"
8384 aros_flavour
="emulation"
8385 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8386 gcc_target_cpu
="arm"
8387 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8388 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8389 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING)"
8390 aros_c_libs
="$aros_c_libs -laeabi"
8391 android_tool_dir_prefix
="arm-linux-androideabi"
8392 android_tool_prefix
="arm-linux-androideabi"
8393 android_ndk_arch
="arm"
8394 kernel_tool_prefix
="arm-linux-gnueabi-"
8397 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
8400 case "$aros_target_variant" in
8403 if test "$android_ndk_arch" = ""; then
8404 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
8407 aros_nominal_width
=320
8408 aros_nominal_height
=480
8409 if test "$aros_android_ndk" = "none"; then
8410 aros_kernel_cflags
="-mandroid"
8411 aros_kernel_ldflags
="-mandroid"
8414 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$kernel_tool_version/prebuilt/$android_build_os/bin:$PATH"
8415 kernel_tool_version
=""
8416 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
8417 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
8418 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
8419 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
8420 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
8423 # Disable implicit PIC mode
8424 aros_config_cflags
="$aros_config_cflags -fno-pic"
8425 kernel_tool_prefix
="$android_tool_prefix-"
8431 aros_target_arch
="pc"
8432 aros_shared_default
="no"
8433 target_bootloader
="grub2"
8434 case "$target_cpu" in
8436 aros_target_cpu
="i386"
8439 if test "$aros_object_format" = "" ; then
8440 aros_object_format
="elf_i386"
8442 aros_flavour
="standalone"
8443 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8444 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8445 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8446 aros_kernel_ldflags
="-Wl,-melf_i386"
8447 aros_nominal_width
=640
8448 aros_nominal_height
=480
8449 gcc_target_cpu
="i386"
8452 PLATFORM_EXECSMP
="#define __AROSPLATFORM_SMP__"
8453 aros_target_cpu
="x86_64"
8455 if test "$aros_object_format" = "" ; then
8456 aros_object_format
="elf_x86_64"
8458 aros_flavour
="standalone"
8459 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8460 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8461 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8462 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_OMIT_FP)"
8463 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_OMIT_FP)"
8464 aros_kernel_ldflags
=""
8465 aros_nominal_width
=640
8466 aros_nominal_height
=480
8467 case "$aros_target_variant" in
8469 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8474 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
8480 aros_target_arch
="prep"
8481 aros_shared_default
="no"
8482 aros_target_cpu
="ppc"
8483 aros_object_format
="elf32ppc"
8484 aros_flavour
="ppcnative"
8485 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8486 aros_kernel_ldflags
=""
8487 aros_nominal_width
=640
8488 aros_nominal_height
=480
8489 gcc_target_cpu
="ppc"
8493 aros_target_arch
="freebsd"
8494 aros_target_family
="unix"
8495 aros_target_cpu
="i386"
8496 aros_flavour
="emulation"
8497 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8498 gcc_target_cpu
="i386"
8500 aros_target_strip_flags
="-x"
8504 aros_target_arch
="darwin"
8505 aros_target_family
="unix"
8506 aros_flavour
="emulation"
8507 case "$target_cpu" in
8509 aros_ios_platform
="iPhoneSimulator"
8510 aros_target_cpu
="i386"
8511 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8512 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8513 aros_kernel_ldflags
=""
8514 aros_macosx_version
="10.4"
8515 aros_nominal_depth
=8
8516 gcc_target_cpu
="i386"
8517 aros_object_format
="elf_i386"
8518 aros_kernel_ar_flags
="-cr"
8519 aros_target_strip_flags
="-x"
8520 kernel_tool_flags
="-m32"
8523 aros_target_cpu
="x86_64"
8524 aros_object_format
="elf_x86_64"
8525 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8526 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8527 aros_macosx_version
="10.6"
8528 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
8529 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
8530 aros_kernel_cflags
="-m64"
8531 aros_kernel_ldflags
="-m64"
8532 aros_nominal_depth
=8
8534 aros_kernel_ar_flags
="-cr"
8537 aros_kernel_ranlib
="ranlib"
8539 aros_kernel_strip
="strip"
8540 kernel_tool_prefix
="i686-apple-darwin10-"
8543 aros_target_cpu
="ppc"
8544 aros_object_format
="elf32ppc"
8545 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8546 aros_kernel_ldflags
=""
8547 aros_macosx_version
="10.0"
8548 aros_nominal_depth
=8
8549 gcc_target_cpu
="ppc"
8551 aros_kernel_ar_flags
="-cr"
8552 aros_kernel_ld
="ld -arch ppc"
8553 aros_kernel_as
="as -arch ppc"
8554 aros_kernel_ranlib
="ranlib -arch ppc"
8555 aros_kernel_nm
="nm -arch ppc"
8556 aros_kernel_strip
="strip -arch ppc"
8557 kernel_tool_prefix
="powerpc-apple-darwin10-"
8560 aros_ios_platform
="iPhoneOS"
8561 aros_target_cpu
="arm"
8562 aros_object_format
="armelf_aros"
8563 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8564 aros_c_libs
="$aros_c_libs -laeabi"
8565 aros_nominal_depth
=8
8566 gcc_target_cpu
="arm"
8568 aros_kernel_ar_flags
="-cr"
8569 aros_kernel_ld
="ld -arch arm"
8570 aros_kernel_ranlib
="ranlib -arch arm"
8571 kernel_tool_prefix
="arm-apple-darwin10-"
8572 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8575 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8578 case "$aros_target_variant" in
8580 make_extra_targetcfg
="$export_newline""# Apple iOS stuff for gcc$export_newline""IOS_LDFLAGS := -F$""(IOS_SDK_PATH)/System/Library/Frameworks$export_newline"
8581 aros_ios_version
="3.0"
8582 aros_nominal_width
=320
8583 aros_nominal_height
=480
8584 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8585 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"
8586 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8587 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8589 # This is here because it may depend on iOS or SDK version
8590 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8591 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8592 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8595 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8596 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8602 aros_target_arch
="dragonfly"
8603 aros_target_family
="unix"
8604 aros_flavour
="emulation"
8605 case "$target_cpu" in
8607 aros_target_cpu
="i386"
8608 aros_object_format
="elf_i386"
8609 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8610 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8613 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
8614 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
8615 aros_target_cpu
="x86_64"
8616 aros_object_format
="elf_x86_64"
8617 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8618 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8621 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8627 aros_target_arch
="netbsd"
8628 aros_target_family
="unix"
8629 case "$target_cpu" in
8631 aros_target_cpu
="m68k"
8632 aros_object_format
="m68kelf"
8633 aros_flavour
="emulcompat"
8634 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8635 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
8636 gcc_target_cpu
="mc68000"
8639 aros_target_cpu
="i386"
8640 aros_object_format
="elf_i386"
8641 aros_flavour
="emulation"
8642 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8643 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8644 aros_nominal_depth
=8
8645 gcc_target_cpu
="i386"
8648 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8651 aros_target_genmap
="-Wl,-M -Xlinker >"
8652 aros_flavour
="emulation"
8653 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8657 aros_target_arch
="openbsd"
8658 aros_target_family
="unix"
8659 case "$target_cpu" in
8661 aros_target_cpu
="i386"
8662 aros_object_format
="elf_i386"
8663 aros_flavour
="emulation"
8664 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8665 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8666 gcc_target_cpu
="i386"
8669 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8672 aros_target_genmap
="-Wl,-M -Xlinker >"
8673 aros_target_nm_flags
="-u"
8674 aros_flavour
="emulation"
8678 aros_target_arch
="solaris"
8679 aros_target_family
="unix"
8680 case "$target_cpu" in
8682 aros_target_cpu
="i386"
8683 aros_object_format
="elf_i386"
8684 aros_flavour
="emulation"
8685 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8686 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8687 aros_nominal_depth
=8
8688 gcc_target_cpu
="i386"
8691 aros_target_cpu
="sparc"
8692 aros_object_format
="elf_sparc"
8693 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8694 gcc_target_cpu
="sparc"
8697 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8700 aros_config_cppflags
="$aros_config_cppflags -D$aros_target_cpu"
8701 aros_flavour
="emulation"
8705 aros_target_arch
="morphos"
8706 aros_shared_default
="no"
8707 aros_target_cpu
="ppc"
8708 aros_object_format
="elf_ppc"
8709 aros_flavour
="nativecompat"
8710 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8711 gcc_target_cpu
="ppc"
8715 aros_target_arch
="sam440"
8716 aros_shared_default
="no"
8717 aros_target_cpu
="ppc"
8718 aros_object_format
="elf32ppc"
8719 aros_flavour
="ppcnative"
8720 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8721 aros_kernel_ldflags
=""
8722 aros_nominal_width
=1024
8723 aros_nominal_height
=768
8724 aros_nominal_depth
=24
8725 aros_isa_flags
="$aros_isa_flags -mcpu=440fp -mno-toc"
8726 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8727 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8728 gcc_target_cpu
="powerpc"
8732 aros_target_arch
="efika"
8733 aros_shared_default
="no"
8734 aros_target_cpu
="arm"
8735 aros_object_format
="armelf_aros"
8736 aros_flavour
="standalone"
8737 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8738 aros_kernel_ldflags
=""
8739 aros_nominal_width
=1024
8740 aros_nominal_height
=600
8741 aros_c_libs
="$aros_c_libs -laeabi"
8742 gcc_default_cpu
="armv7-a"
8743 gcc_default_fpu
="vfpv3"
8744 aros_isa_flags
="$aros_isa_flags -mtune=cortex-a8"
8745 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8746 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8747 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8748 if test "$optimization" = "default"; then
8749 optimization_level
="-Os"
8751 case "$target_cpu" in
8753 gcc_default_float_abi
="hard"
8758 gcc_default_float_abi
="softfp"
8761 as_fn_error $?
"\"Unknown CPU for EfikaMX $target_cpu\"" "$LINENO" 5
8767 aros_target_arch
="chrp"
8768 aros_shared_default
="no"
8769 aros_target_cpu
="ppc"
8770 aros_object_format
="elf32ppc"
8771 aros_flavour
="ppcnative"
8772 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8773 aros_kernel_ldflags
=""
8774 aros_nominal_width
=640
8775 aros_nominal_height
=480
8776 aros_isa_flags
="$aros_isa_flags -mno-toc"
8777 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8778 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8779 gcc_target_cpu
="powerpc"
8780 case "$aros_target_variant" in
8782 aros_isa_flags
="$aros_isa_flags -mcpu=603e"
8783 aros_config_cppflags
="$aros_config_cppflags -DBIG_ENDIAN_OHCI=1"
8789 PLATFORM_EXECSMP
="#define __AROSPLATFORM_SMP__"
8790 aros_flavour
="standalone"
8791 aros_target_arch
="raspi"
8793 aros_shared_default
="no"
8795 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__"
8797 case "$target_cpu" in
8799 aros_target_cpu
="aarch64"
8800 gcc_default_cpu
="aarch64"
8801 aros_object_format
="aarch64elf_aros"
8804 aros_target_cpu
="arm"
8805 gcc_default_cpu
="armv6zk"
8806 gcc_default_cpu_tune
="arm1176jzf-s"
8807 aros_object_format
="armelf_aros"
8808 aros_isa_flags
="$aros_isa_flags -marm"
8809 aros_config_cflags
="$aros_config_cflags"
8810 aros_config_cxxflags
="$aros_config_cxxflags"
8811 aros_config_aflags
="$aros_config_aflags -marm"
8812 aros_kernel_cflags
="$aros_kernel_cflags -marm"
8813 aros_target_mkdep
="$aros_target_mkdep -Darm"
8814 aros_c_libs
="$aros_c_libs -laeabi"
8817 aros_flavour
="standcompat"
8818 aros_target_cpu
="armeb"
8819 gcc_default_float_abi
="hard"
8820 gcc_default_cpu
="armv7ve"
8821 gcc_default_cpu_tune
="cortex-a7"
8822 aros_object_format
="armelfb_aros"
8823 aros_isa_flags
="$aros_isa_flags -marm"
8824 aros_config_cflags
="$aros_config_cflags"
8825 aros_config_cxxflags
="$aros_config_cxxflags"
8826 aros_config_aflags
="$aros_config_aflags -marm"
8827 aros_kernel_cflags
="$aros_kernel_cflags -marm"
8828 aros_target_mkdep
="$aros_target_mkdep -Darm"
8829 aros_c_libs
="$aros_c_libs -laeabi"
8832 aros_target_cpu
="arm"
8833 gcc_default_cpu
="armv6zk"
8834 gcc_default_cpu_tune
="arm1176jzf-s"
8835 aros_object_format
="armelf_aros"
8836 aros_isa_flags
="$aros_isa_flags -marm"
8837 aros_config_cflags
="$aros_config_cflags"
8838 aros_config_cxxflags
="$aros_config_cxxflags"
8839 aros_config_aflags
="$aros_config_aflags -marm"
8840 aros_kernel_cflags
="$aros_kernel_cflags -marm"
8841 aros_target_mkdep
="$aros_target_mkdep -Darm"
8842 aros_c_libs
="$aros_c_libs -laeabi"
8845 as_fn_error $?
"\"Unknown CPU for RasPi $target_cpu\"" "$LINENO" 5
8849 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
8850 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
8851 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
8852 aros_kernel_cflags
="$aros_kernel_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
8854 case "$aros_target_variant" in
8856 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8862 aros_flavour
="standalone"
8863 aros_target_arch
="stm32f7_discovery"
8864 aros_target_cpu
="arm"
8865 aros_target_cpu_mode
="thumb2"
8866 aros_object_format
="armelf_aros"
8867 aros_shared_default
="no"
8869 gcc_default_cpu
="armv7e-m"
8870 gcc_default_cpu_tune
="cortex-m7"
8871 gcc_default_fpu
="fpv5-sp-d16"
8872 gcc_default_float_abi
="hard"
8874 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dthumb"
8878 aros_elf_translate
="$""(ELF2HUNK)"
8879 make_extra_commands
="$export_newline""ELF2HUNK := $""(TOOLDIR)/elf2hunk$""(HOST_EXE_SUFFIX)$export_newline"
8880 aros_target_arch
="amiga"
8881 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8882 aros_shared_default
="no"
8884 case "$target_cpu" in
8886 # Check whether --enable-amigaos_compliance was given.
8887 if test "${enable_amigaos_compliance+set}" = set; then :
8888 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8892 aros_target_cpu
="m68k"
8893 aros_object_format
="m68kelf"
8894 aros_flavour
="standcompat"
8895 gcc_target_cpu
="m68000"
8896 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
8897 aros_nowarn_flags
="$aros_nowarn_flags NOWARN_VOLATILE_REGISTER_VAR"
8898 aros_config_cppflags
="$aros_config_cppflags -DNOLIBINLINE"
8899 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_FREESTANDING) $""(CFLAGS_OMIT_FP) $""(CFLAGS_BUILTIN)"
8900 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_FREESTANDING) $""(CFLAGS_OMIT_FP) $""(CFLAGS_BUILTIN)"
8901 if test "$optimization" = "default"; then
8902 optimization_level
="-Os"
8904 aros_config_aflags
="$aros_config_aflags"
8905 aros_target_strip_flags
="-R.comment --strip-debug"
8906 aros_nominal_width
=640
8907 aros_nominal_height
=256
8908 aros_nominal_depth
=2
8912 aros_flavour
="native"
8913 gcc_target_cpu
="ppc"
8916 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8922 aros_target_arch
="mingw32"
8923 aros_shared_default
="no"
8924 aros_flavour
="emulation"
8925 aros_shared_cflags
=""
8926 need_crosstools
="yes"
8929 case "$target_cpu" in
8931 aros_target_cpu
="i386"
8932 aros_object_format
="elf_i386"
8933 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8934 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8935 aros_nominal_depth
=8
8936 gcc_target_cpu
="i386"
8938 kernel_tool_prefix
="i386-mingw32-"
8941 aros_target_cpu
="x86_64"
8942 aros_object_format
="elf_x86_64"
8943 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8944 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8945 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
8946 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
8947 aros_nominal_depth
=8
8948 kernel_tool_prefix
="x86_64-w64-mingw32-"
8951 aros_target_cpu
="arm"
8952 aros_object_format
="armelf_aros"
8953 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8954 aros_c_libs
="$aros_c_libs -laeabi"
8955 aros_nominal_depth
=8
8956 gcc_target_cpu
="arm"
8957 gcc_default_float_abi
="soft"
8958 kernel_tool_prefix
="arm-mingw32ce-"
8959 aros_nominal_width
=160
8960 aros_nominal_height
=160
8963 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8966 if test $host_os = "cygwin"; then
8967 aros_kernel_cflags
="-mno-cygwin"
8971 aros_target_arch
="pp"
8972 aros_shared_default
="no"
8973 case "$target_cpu" in
8975 aros_target_cpu
="m68k"
8976 aros_object_format
="m68kelf"
8977 aros_flavour
="palmnative"
8978 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8979 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
8980 aros_nominal_width
=160
8981 aros_nominal_height
=160
8982 aros_nominal_depth
=1
8983 aros_target_ar_flags
="cru"
8984 aros_c_libs
="$aros_c_libs -lgcc1"
8985 aros_shared_default
=no
8986 aros_shared_cflags
="-fpic"
8987 aros_shared_aflags
=""
8988 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8989 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8990 aros_debug_cppflags
="$aros_messages_debug"
8991 aros_debug_cflags
="$aros_symbols_debug"
8992 aros_debug_aflags
=""
8993 aros_debug_ldflags
="$aros_symbols_debug"
8994 aros_mungwall_debug
="0"
8995 aros_modules_debug
="0"
8996 gcc_target_cpu
="mc68000"
8997 ignore_undefined_symbols
="-ius"
9000 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
9006 aros_target_arch
="mac"
9007 aros_shared_default
="no"
9008 case "$target_cpu" in
9010 aros_target_cpu
="m68k"
9011 aros_object_format
="m68kelf"
9012 aros_flavour
="mac68knative"
9013 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
9014 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
9015 aros_nominal_width
=512
9016 aros_nominal_height
=384
9017 aros_nominal_depth
=8
9018 aros_target_ar_flags
="cru"
9019 aros_c_libs
="$aros_c_libs -lgcc1"
9020 aros_shared_default
=no
9021 aros_shared_cflags
="-fpic"
9022 aros_shared_aflags
=""
9023 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
9024 aros_kernel_ldflags
="-Wl,-rpath,./lib"
9025 aros_debug_cppflags
="$aros_messages_debug"
9026 aros_debug_cflags
="$aros_symbols_debug"
9027 aros_debug_aflags
=""
9028 aros_debug_ldflags
="$aros_symbols_debug"
9029 aros_mungwall_debug
="0"
9030 aros_modules_debug
="0"
9031 gcc_target_cpu
="mc68000"
9032 ignore_undefined_symbols
="-ius"
9035 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
9041 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
9045 #-----------------------------------------------------------------------------
9046 crosstools_guess
="yes"
9047 aros_target_toolchain
="no"
9048 aros_kernel_sysroot
=""
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
9051 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
9053 # Check whether --with-kernel-toolchain-prefix was given.
9054 if test "${with_kernel_toolchain_prefix+set}" = set; then :
9055 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
9059 $as_echo "$kernel_tool_prefix" >&6; }
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
9062 $as_echo_n "checking ELF toolchain prefix... " >&6; }
9064 # Check whether --with-elf-toolchain-prefix was given.
9065 if test "${with_elf_toolchain_prefix+set}" = set; then :
9066 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
9067 crosstools_guess
="no"
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
9071 $as_echo "$elf_tool_prefix" >&6; }
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
9074 $as_echo_n "checking AROS toolchain prefix... " >&6; }
9076 # Check whether --with-aros-toolchain was given.
9077 if test "${with_aros_toolchain+set}" = set; then :
9078 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
9079 crosstools_guess
="no"
9082 if test "$aros_tool_prefix" = "yes" ; then
9083 aros_tool_prefix
=$aros_target_cpu-aros-
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
9086 $as_echo "$aros_tool_prefix" >&6; }
9088 #-----------------------------------------------------------------------------
9089 # Checking if we should build crosstools..
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
9091 $as_echo_n "checking whether to build crosstools... " >&6; }
9092 # Check whether --enable-crosstools was given.
9093 if test "${enable_crosstools+set}" = set; then :
9094 enableval
=$enable_crosstools; crosstools
="$enableval"
9096 crosstools
="$crosstools_guess"
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
9100 $as_echo "$crosstools" >&6; }
9102 if test "${crosstools}" = "yes"; then
9103 if test "${crosstools_guess}" = "no"; then
9104 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
9108 if test "${crosstools}" = "yes" ||
test "${crosstools_guess}" = "no"; then
9109 aros_target_toolchain
="yes"
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
9113 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
9115 # Check whether --with-aros-toolchain-install was given.
9116 if test "${with_aros_toolchain_install+set}" = set; then :
9117 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
9120 if test "x$aros_toolchain_install" = "x"; then
9121 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
9123 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
9124 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
9125 if test "$crosstools_guess" = "no" ; then
9126 if test "x-$aros_flavour" != "x-emulation" -a "x-$aros_flavour" != "x-emulcompat" ; then
9127 aros_kernel_sysroot
="$""(TARGET_SYSROOT)"
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
9132 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
9134 #-----------------------------------------------------------------------------
9135 if test "$aros_toolchain" = "gnu" ; then
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target binutils version to use" >&5
9137 $as_echo_n "checking what specific target binutils version to use... " >&6; }
9140 # Check whether --with-binutils-version was given.
9141 if test "${with_binutils_version+set}" = set; then :
9142 withval
=$with_binutils_version; use_binutils_version
="$withval"
9144 use_binutils_version
=""
9147 if test "$use_binutils_version" = ""; then
9148 target_binutils_version
="$default_binutils_version"
9150 target_binutils_version
="$use_binutils_version"
9152 if test "$aros_toolchain" = "gnu" ; then
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_binutils_version" >&5
9154 $as_echo "$target_binutils_version" >&6; }
9158 # Helper to identify gcc version
9161 #-----------------------------------------------------------------------------
9162 if test "$aros_toolchain" = "gnu" ; then
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
9164 $as_echo_n "checking what specific target gcc version to use... " >&6; }
9167 # Check whether --with-gcc-version was given.
9168 if test "${with_gcc_version+set}" = set; then :
9169 withval
=$with_gcc_version; use_gcc_version
="$withval"
9174 if test "$use_gcc_version" = ""; then
9175 if test "${crosstools}" = "no"; then
9176 if test "x$aros_toolchain_install" != "x"; then
9178 target_gcc_version
=""
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
9180 $as_echo_n "checking gcc version... " >&6; }
9181 if ${ax_cv_gcc_version+:} false
; then :
9182 $as_echo_n "(cached) " >&6
9185 ax_cv_gcc_version
="`$AROS_CROSSTOOLSDIR/${aros_tool_prefix}${toolchain_cpp_preprocessor} -dumpversion`"
9186 if test "x$ax_cv_gcc_version" = "x"; then :
9188 ax_cv_gcc_version
=""
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_version" >&5
9194 $as_echo "$ax_cv_gcc_version" >&6; }
9195 target_gcc_version
=$ax_cv_gcc_version
9200 if test "$use_gcc_version" = ""; then
9201 target_gcc_version
="$default_gcc_version"
9204 target_gcc_version
="$use_gcc_version"
9206 if test "$aros_toolchain" = "gnu" ; then
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_gcc_version" >&5
9208 $as_echo "$target_gcc_version" >&6; }
9210 GCC_VERSION_MAJOR
=$
(echo $target_gcc_version | cut
-d'.' -f1)
9211 GCC_VERSION_MINOR
=$
(echo $target_gcc_version | cut
-d'.' -f2)
9212 GCC_VERSION_PATCH
=$
(echo $target_gcc_version | cut
-d'.' -f3)
9214 gcc_fix_bitfields
="false"
9215 if test "$GCC_VERSION_MAJOR" -gt "4" ; then
9216 gcc_fix_bitfields
="true"
9218 if test "$GCC_VERSION_MAJOR" -gt "3" ; then
9219 if test "$GCC_VERSION_MINOR" -gt "6" ; then
9220 gcc_fix_bitfields
="true"
9225 if test "$gcc_fix_bitfields" = "true" ; then
9226 case "$aros_target_cpu" in
9228 x86_isa_extra
="$x86_isa_extra $""(CFLAGS_NO_MS_BITFIELDS)"
9229 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_MS_BITFIELDS)"
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Objective-C suppport" >&5
9236 $as_echo_n "checking whether to enable Objective-C suppport... " >&6; }
9237 # Check whether --enable-objc was given.
9238 if test "${enable_objc+set}" = set; then :
9239 enableval
=$enable_objc; objc
="$enableval"
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objc" >&5
9245 $as_echo "$objc" >&6; }
9246 if test "x$objc" = "xyes"; then
9249 objc_target
="no-objc"
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Java suppport" >&5
9253 $as_echo_n "checking whether to enable Java suppport... " >&6; }
9254 # Check whether --enable-java was given.
9255 if test "${enable_java+set}" = set; then :
9256 enableval
=$enable_java; java
="$enableval"
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $java" >&5
9262 $as_echo "$java" >&6; }
9263 if test "x$java" != "xno"; then
9266 java_target
="no-java"
9269 spec_obj_format
="-m $aros_object_format"
9270 # Now process extra architecture-specific options.
9271 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
9272 # as well as floating-point ABI.
9273 case "$aros_target_cpu" in
9275 aros_isa_targets
="M68K_ISA_TARGETS :=MC68020 MC68040"
9276 aros_isa_extra
="$aros_isa_extra$export_newline$aros_isa_targets$export_newline"
9277 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"
9278 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"
9279 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"
9280 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"
9281 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"
9284 aros_isa_extra
="$export_newline$x86_isa_extra$export_newline$x86_64_isa_extra$export_newline"
9285 spec_obj_format
="%{!m32:-m elf_x86_64} %{m32:-m elf_i386}"
9288 if test "$gcc_default_cpu" = ""; then
9289 gcc_default_cpu
="armv6"
9291 if test "$gcc_default_fpu" = ""; then
9292 gcc_default_fpu
="vfp"
9294 if test "$gcc_default_endian" = ""; then
9295 if test "$target_cpu" = "armeb"; then
9296 gcc_default_endian
="big-endian"
9298 gcc_default_endian
="little-endian"
9301 if test "$gcc_default_float_abi" = ""; then
9302 if test "$target_cpu" = "armhf"; then
9303 gcc_default_float_abi
="hard"
9305 gcc_default_float_abi
="softfp"
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
9310 $as_echo_n "checking Which minimum CPU to use... " >&6; }
9312 # Check whether --with-cpu was given.
9313 if test "${with_cpu+set}" = set; then :
9314 withval
=$with_cpu; aros_gcc_cpu
="$withval"
9316 aros_gcc_cpu
=$gcc_default_cpu
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
9320 $as_echo "$aros_gcc_cpu" >&6; }
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
9323 $as_echo_n "checking Which minimum FPU to use... " >&6; }
9325 # Check whether --with-fpu was given.
9326 if test "${with_fpu+set}" = set; then :
9327 withval
=$with_fpu; aros_gcc_fpu
="$withval"
9329 aros_gcc_fpu
=$gcc_default_fpu
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
9333 $as_echo "$aros_gcc_fpu" >&6; }
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
9336 $as_echo_n "checking Which floating point ABI to use... " >&6; }
9338 # Check whether --with-float was given.
9339 if test "${with_float+set}" = set; then :
9340 withval
=$with_float; aros_gcc_float_abi
="$withval"
9342 aros_gcc_float_abi
=$gcc_default_float_abi
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
9346 $as_echo "$aros_gcc_float_abi" >&6; }
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which ARM mode to use" >&5
9349 $as_echo_n "checking Which ARM mode to use... " >&6; }
9350 if test "$aros_target_cpu_mode" = ""; then
9351 aros_target_cpu_mode
="arm32"
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Defaulting to $aros_target_cpu_mode" >&5
9353 $as_echo "Defaulting to $aros_target_cpu_mode" >&6; }
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cpu_mode" >&5
9356 $as_echo "$aros_target_cpu_mode" >&6; }
9359 case "$aros_target_cpu_mode" in
9361 gcc_default_mode
="arm"
9362 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"
9365 as_fn_error $?
"ARM 64-bit mode is unsupported" "$LINENO" 5
9368 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9371 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9374 gcc_default_mode
="thumb"
9375 # Do not specify -mthumb-interwork as it may add extra code to support arm/thumb interwork
9376 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"
9379 as_fn_error $?
"Unsupported ARM mode specified $aros_target_cpu_mode" "$LINENO" 5
9383 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9384 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9385 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9388 aros_isa_extra
="$x86_isa_extra$export_newline$x86_64_isa_extra$export_newline"
9389 aros_kernel_ldflags
="$aros_kernel_ldflags -m32"
9393 # Some architectures may need custom ELF specs.
9394 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
9395 elf_specs_in
=config
/${aros_object_format}-specs.
in
9397 elf_specs_in
=config
/elf-specs.
in
9400 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
9401 # Since we override specs, we may need to put these defines there
9402 if test "$gcc_target_cpu" != ""; then
9403 gcc_target_cpu
="-D__${gcc_target_cpu}__"
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
9407 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
9409 # Check whether --with-portssources was given.
9410 if test "${with_portssources+set}" = set; then :
9411 withval
=$with_portssources; with_portssrcdir
=$withval
9413 with_portssrcdir
="default"
9416 if test "$with_portssrcdir" = "default"; then
9417 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
9419 AROS_PORTSSRCDIR
="$with_portssrcdir"
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
9422 $as_echo "$AROS_PORTSSRCDIR" >&6; }
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
9425 $as_echo_n "checking which bootloader to use... " >&6; }
9427 # Check whether --with-bootloader was given.
9428 if test "${with_bootloader+set}" = set; then :
9429 withval
=$with_bootloader; target_bootloader
=$withval
9431 target_bootloader
=$target_bootloader
9434 if test "$target_bootloader" = "none"; then
9435 aros_target_bootloader
=""
9437 aros_target_bootloader
="$target_bootloader"
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
9440 $as_echo "$target_bootloader" >&6; }
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
9443 $as_echo_n "checking which icon-set to use... " >&6; }
9445 # Check whether --with-iconset was given.
9446 if test "${with_iconset+set}" = set; then :
9447 withval
=$with_iconset; target_iconset
=$withval
9449 target_iconset
="default"
9452 if test "$target_iconset" = "default"; then
9453 aros_target_iconset
="Gorilla"
9454 target_iconset
="default (Gorilla)"
9456 aros_target_iconset
="$target_iconset"
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
9459 $as_echo "$target_iconset" >&6; }
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
9462 $as_echo_n "checking which GUI Theme to use... " >&6; }
9464 # Check whether --with-theme was given.
9465 if test "${with_theme+set}" = set; then :
9466 withval
=$with_theme; target_guitheme
=$withval
9468 target_guitheme
="default"
9471 if test "$target_guitheme" = "default"; then
9472 aros_target_guitheme
="Ice"
9474 aros_target_guitheme
="$target_guitheme"
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
9477 $as_echo "$aros_target_guitheme" >&6; }
9479 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
9483 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9487 if test "$aros_host_cpu" == "x86_64" ; then
9488 if test "$aros_target_cpu" == "i386" ; then
9493 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9494 if test "$aros_host_arch" != "$aros_target_arch" ; then
9501 if test "$cross_compiling" = "no" ; then
9502 kernel_tool_prefix
=""
9503 if test "$host_cc_elf" = "yes" ; then
9508 if test "$kernel_tool_version" != ""; then
9509 kernel_tool_version
="-$kernel_tool_version"
9512 #######################################################################
9513 ## Compute what toolchains to use, and their paths ##
9514 #######################################################################
9516 # This takes, as input:
9517 # crosstools {yes,no}
9518 # kernel_tool_version {"",[version]}
9519 # target_tool_version {"",[version]}
9520 # kernel_tool_prefix {none,[some-arch-os-]}
9522 # target_tool_prefix ${aros_target_cpu}-aros-
9523 # aros_tool_prefix ${aros_target_cpu}-aros-
9526 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9527 # Where the 'kernel' binaries are located
9528 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9529 # Where the 'target' binaries are located
9530 # (not the symlink farm - that is aros_target_*!)
9533 # if crosstools then
9534 # if kernel_tools_prefix = "no-kernel-prefix-"
9535 # aros_kernel_* = crosstools cc paths
9536 # aros_kernel_cc = elf cc wrapper around crosstools cc
9538 # VALIDATE(${kernel_tools_prefix}*)
9539 # aros_kernel_* = ${kernel_tools_prefix}*
9540 # if ${kernel_tools_prefix}cc is an AROS gcc
9541 # aros_kernel_cc = ${kernel_tools_prefix}cc
9543 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
9547 # orig_target_* = aros built crosstools
9548 # orig_target_cc = elf cc wrapper around crosstools cc
9550 # VALIDATE(${kernel_tools_prefix}*)
9552 # orig_target_* = aros_kernel_*
9553 # if aros_kernel_cc is an AROS gcc
9554 # orig_target_cc = aros_kernel_cc
9556 # orig_target_cc = aros cc wrapper around aros_kernel_cc
9560 if test "$aros_toolchain" = "gnu" ; then
9561 target_tool_prefix
="${aros_target_cpu}-aros-"
9562 elif test "$aros_toolchain" = "llvm" ; then
9563 target_tool_prefix
="bin/"
9566 if test "$kernel_tool_prefix" != "" ; then
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
9568 $as_echo_n "checking which kernel tools... " >&6; }
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
9570 $as_echo "$kernel_tool_prefix" >&6; };
9573 if test "$kernel_tool_prefix" = "none" ; then
9574 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9575 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
9578 if test "x-$aros_flavour" != "x-standalone" -o "x-$aros_flavour" != "x-standcompat" ; then
9579 # Kernel tools required - find them
9580 # Note that 'normally', aros_kernel_* overrides will be
9581 # empty, unless specified in the per-arch sections above.
9583 if test "x$aros_kernel_cpp" = "x"; then
9584 aros_kernel_cpp
=${kernel_tool_prefix}${CPP}
9586 if test "${kernel_tool_version}" != ""; then
9587 if test "$aros_kernel_cpp" != ""; then
9588 ac_prog_args
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9589 ac_prog_cmd
=`expr "X$aros_kernel_cpp" : '^\S*'`
9590 aros_kernel_cpp
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9594 if test "$aros_kernel_cpp" = ""; then
9595 if test "$cross_compiling" = "yes" ; then
9596 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
9597 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9599 $as_echo_n "checking for $ac_word... " >&6; }
9600 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9601 $as_echo_n "(cached) " >&6
9603 case $aros_kernel_cpp in
9605 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9612 test -z "$as_dir" && as_dir
=.
9613 for ac_exec_ext
in '' $ac_executable_extensions; do
9614 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9615 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9626 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9627 if test -n "$aros_kernel_cpp"; then
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9629 $as_echo "$aros_kernel_cpp" >&6; }
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9632 $as_echo "no" >&6; }
9637 if test "$GCC" = "yes"; then
9638 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
9639 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
9640 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9642 $as_echo_n "checking for $ac_word... " >&6; }
9643 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9644 $as_echo_n "(cached) " >&6
9646 case $aros_kernel_cpp in
9648 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9652 for as_dir
in `dirname $aros_gcc_cpp`
9655 test -z "$as_dir" && as_dir
=.
9656 for ac_exec_ext
in '' $ac_executable_extensions; do
9657 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9658 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9669 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9670 if test -n "$aros_kernel_cpp"; then
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9672 $as_echo "$aros_kernel_cpp" >&6; }
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9675 $as_echo "no" >&6; }
9680 if test "$aros_kernel_cpp" = ""; then
9681 # Extract the first word of "cpp", so it can be a program name with args.
9682 set dummy cpp
; ac_word
=$2
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9684 $as_echo_n "checking for $ac_word... " >&6; }
9685 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9686 $as_echo_n "(cached) " >&6
9688 case $aros_kernel_cpp in
9690 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9697 test -z "$as_dir" && as_dir
=.
9698 for ac_exec_ext
in '' $ac_executable_extensions; do
9699 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9700 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9711 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9712 if test -n "$aros_kernel_cpp"; then
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9714 $as_echo "$aros_kernel_cpp" >&6; }
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9717 $as_echo "no" >&6; }
9724 ac_tool_optarg
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9725 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
9726 set dummy
$aros_kernel_cpp; ac_word
=$2
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9728 $as_echo_n "checking for $ac_word... " >&6; }
9729 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9730 $as_echo_n "(cached) " >&6
9732 case $aros_kernel_cpp in
9734 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9741 test -z "$as_dir" && as_dir
=.
9742 for ac_exec_ext
in '' $ac_executable_extensions; do
9743 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9744 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9755 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9756 if test -n "$aros_kernel_cpp"; then
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9758 $as_echo "$aros_kernel_cpp" >&6; }
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9761 $as_echo "no" >&6; }
9765 aros_kernel_cpp
="$aros_kernel_cpp $ac_tool_optarg"
9769 if test "$aros_kernel_cpp" = ""; then
9772 if test "$aros_kernel_cpp" = "no"; then
9775 if test "$req_avail" = "no"; then
9776 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
9779 if test "x$aros_kernel_cc" = "x"; then
9780 aros_kernel_cc
=${kernel_tool_prefix}${CC}
9782 if test "${kernel_tool_version}" != ""; then
9783 if test "$aros_kernel_cc" != ""; then
9784 ac_prog_args
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
9785 ac_prog_cmd
=`expr "X$aros_kernel_cc" : '^\S*'`
9786 aros_kernel_cc
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9790 if test "$aros_kernel_cc" = ""; then
9791 if test "$cross_compiling" = "yes" ; then
9792 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
9793 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9795 $as_echo_n "checking for $ac_word... " >&6; }
9796 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9797 $as_echo_n "(cached) " >&6
9799 case $aros_kernel_cc in
9801 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9808 test -z "$as_dir" && as_dir
=.
9809 for ac_exec_ext
in '' $ac_executable_extensions; do
9810 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9811 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9822 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9823 if test -n "$aros_kernel_cc"; then
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9825 $as_echo "$aros_kernel_cc" >&6; }
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9828 $as_echo "no" >&6; }
9833 if test "$GCC" = "yes"; then
9834 aros_gcc_cc
=`$CC -print-prog-name=cc`
9835 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
9836 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9838 $as_echo_n "checking for $ac_word... " >&6; }
9839 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9840 $as_echo_n "(cached) " >&6
9842 case $aros_kernel_cc in
9844 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9848 for as_dir
in `dirname $aros_gcc_cc`
9851 test -z "$as_dir" && as_dir
=.
9852 for ac_exec_ext
in '' $ac_executable_extensions; do
9853 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9854 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9865 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9866 if test -n "$aros_kernel_cc"; then
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9868 $as_echo "$aros_kernel_cc" >&6; }
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9871 $as_echo "no" >&6; }
9876 if test "$aros_kernel_cc" = ""; then
9877 # Extract the first word of "cc", so it can be a program name with args.
9878 set dummy cc
; ac_word
=$2
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9880 $as_echo_n "checking for $ac_word... " >&6; }
9881 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9882 $as_echo_n "(cached) " >&6
9884 case $aros_kernel_cc in
9886 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9893 test -z "$as_dir" && as_dir
=.
9894 for ac_exec_ext
in '' $ac_executable_extensions; do
9895 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9896 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9907 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9908 if test -n "$aros_kernel_cc"; then
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9910 $as_echo "$aros_kernel_cc" >&6; }
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9913 $as_echo "no" >&6; }
9920 ac_tool_optarg
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
9921 # Extract the first word of "$aros_kernel_cc", so it can be a program name with args.
9922 set dummy
$aros_kernel_cc; ac_word
=$2
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9924 $as_echo_n "checking for $ac_word... " >&6; }
9925 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9926 $as_echo_n "(cached) " >&6
9928 case $aros_kernel_cc in
9930 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9937 test -z "$as_dir" && as_dir
=.
9938 for ac_exec_ext
in '' $ac_executable_extensions; do
9939 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9940 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9951 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9952 if test -n "$aros_kernel_cc"; then
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9954 $as_echo "$aros_kernel_cc" >&6; }
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9957 $as_echo "no" >&6; }
9961 aros_kernel_cc
="$aros_kernel_cc $ac_tool_optarg"
9965 if test "$aros_kernel_cc" = ""; then
9968 if test "$aros_kernel_cc" = "no"; then
9971 if test "$req_avail" = "no"; then
9972 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9975 if test "x$aros_kernel_cxx" = "x"; then
9976 aros_kernel_cxx
=${kernel_tool_prefix}${CXX}
9978 if test "${kernel_tool_version}" != ""; then
9979 if test "$aros_kernel_cxx" != ""; then
9980 ac_prog_args
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
9981 ac_prog_cmd
=`expr "X$aros_kernel_cxx" : '^\S*'`
9982 aros_kernel_cxx
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9986 if test "$aros_kernel_cxx" = ""; then
9987 if test "$cross_compiling" = "yes" ; then
9988 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9989 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9991 $as_echo_n "checking for $ac_word... " >&6; }
9992 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9993 $as_echo_n "(cached) " >&6
9995 case $aros_kernel_cxx in
9997 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10001 for as_dir
in $PATH
10004 test -z "$as_dir" && as_dir
=.
10005 for ac_exec_ext
in '' $ac_executable_extensions; do
10006 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10007 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10018 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10019 if test -n "$aros_kernel_cxx"; then
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10021 $as_echo "$aros_kernel_cxx" >&6; }
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10024 $as_echo "no" >&6; }
10029 if test "$GCC" = "yes"; then
10030 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
10031 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
10032 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10034 $as_echo_n "checking for $ac_word... " >&6; }
10035 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10036 $as_echo_n "(cached) " >&6
10038 case $aros_kernel_cxx in
10040 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10044 for as_dir
in `dirname $aros_gcc_cxx`
10047 test -z "$as_dir" && as_dir
=.
10048 for ac_exec_ext
in '' $ac_executable_extensions; do
10049 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10050 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10061 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10062 if test -n "$aros_kernel_cxx"; then
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10064 $as_echo "$aros_kernel_cxx" >&6; }
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10067 $as_echo "no" >&6; }
10072 if test "$aros_kernel_cxx" = ""; then
10073 # Extract the first word of "cxx", so it can be a program name with args.
10074 set dummy cxx
; ac_word
=$2
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10076 $as_echo_n "checking for $ac_word... " >&6; }
10077 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10078 $as_echo_n "(cached) " >&6
10080 case $aros_kernel_cxx in
10082 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10086 for as_dir
in $PATH
10089 test -z "$as_dir" && as_dir
=.
10090 for ac_exec_ext
in '' $ac_executable_extensions; do
10091 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10092 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10103 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10104 if test -n "$aros_kernel_cxx"; then
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10106 $as_echo "$aros_kernel_cxx" >&6; }
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10109 $as_echo "no" >&6; }
10116 ac_tool_optarg
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
10117 # Extract the first word of "$aros_kernel_cxx", so it can be a program name with args.
10118 set dummy
$aros_kernel_cxx; ac_word
=$2
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10120 $as_echo_n "checking for $ac_word... " >&6; }
10121 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10122 $as_echo_n "(cached) " >&6
10124 case $aros_kernel_cxx in
10126 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10130 for as_dir
in $PATH
10133 test -z "$as_dir" && as_dir
=.
10134 for ac_exec_ext
in '' $ac_executable_extensions; do
10135 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10136 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10147 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10148 if test -n "$aros_kernel_cxx"; then
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10150 $as_echo "$aros_kernel_cxx" >&6; }
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10153 $as_echo "no" >&6; }
10157 aros_kernel_cxx
="$aros_kernel_cxx $ac_tool_optarg"
10160 # If it's set, make sure it's really there
10161 if test "x$aros_kernel_cxx" != "x" ; then
10163 if test "$aros_kernel_cxx" = ""; then
10166 if test "$aros_kernel_cxx" = "no"; then
10169 if test "$req_avail" = "no"; then
10170 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
10174 if test "$aros_kernel_ld" = ""; then
10175 if test "$cross_compiling" = "yes" ; then
10176 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
10177 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10179 $as_echo_n "checking for $ac_word... " >&6; }
10180 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10181 $as_echo_n "(cached) " >&6
10183 case $aros_kernel_ld in
10185 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10189 for as_dir
in $PATH
10192 test -z "$as_dir" && as_dir
=.
10193 for ac_exec_ext
in '' $ac_executable_extensions; do
10194 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10195 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10206 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10207 if test -n "$aros_kernel_ld"; then
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10209 $as_echo "$aros_kernel_ld" >&6; }
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10212 $as_echo "no" >&6; }
10217 if test "$GCC" = "yes"; then
10218 aros_gcc_ld
=`$CC -print-prog-name=ld`
10219 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
10220 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10222 $as_echo_n "checking for $ac_word... " >&6; }
10223 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10224 $as_echo_n "(cached) " >&6
10226 case $aros_kernel_ld in
10228 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10232 for as_dir
in `dirname $aros_gcc_ld`
10235 test -z "$as_dir" && as_dir
=.
10236 for ac_exec_ext
in '' $ac_executable_extensions; do
10237 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10238 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10249 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10250 if test -n "$aros_kernel_ld"; then
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10252 $as_echo "$aros_kernel_ld" >&6; }
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10255 $as_echo "no" >&6; }
10260 if test "$aros_kernel_ld" = ""; then
10261 # Extract the first word of "ld", so it can be a program name with args.
10262 set dummy ld
; ac_word
=$2
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10264 $as_echo_n "checking for $ac_word... " >&6; }
10265 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10266 $as_echo_n "(cached) " >&6
10268 case $aros_kernel_ld in
10270 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10274 for as_dir
in $PATH
10277 test -z "$as_dir" && as_dir
=.
10278 for ac_exec_ext
in '' $ac_executable_extensions; do
10279 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10280 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10291 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10292 if test -n "$aros_kernel_ld"; then
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10294 $as_echo "$aros_kernel_ld" >&6; }
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10297 $as_echo "no" >&6; }
10304 ac_tool_optarg
=`expr "X$aros_kernel_ld" : '[^ ]* \(.*\)'`
10305 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
10306 set dummy
$aros_kernel_ld; 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_ld+:} false
; then :
10310 $as_echo_n "(cached) " >&6
10312 case $aros_kernel_ld in
10314 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # 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_ld
="$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_ld
=$ac_cv_path_aros_kernel_ld
10336 if test -n "$aros_kernel_ld"; then
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10338 $as_echo "$aros_kernel_ld" >&6; }
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10341 $as_echo "no" >&6; }
10345 aros_kernel_ld
="$aros_kernel_ld $ac_tool_optarg"
10349 if test "$aros_kernel_ld" = ""; then
10352 if test "$aros_kernel_ld" = "no"; then
10355 if test "$req_avail" = "no"; then
10356 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10359 if test "$aros_kernel_as" = ""; then
10360 if test "$cross_compiling" = "yes" ; then
10361 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
10362 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10364 $as_echo_n "checking for $ac_word... " >&6; }
10365 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10366 $as_echo_n "(cached) " >&6
10368 case $aros_kernel_as in
10370 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10374 for as_dir
in $PATH
10377 test -z "$as_dir" && as_dir
=.
10378 for ac_exec_ext
in '' $ac_executable_extensions; do
10379 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10380 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10391 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10392 if test -n "$aros_kernel_as"; then
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10394 $as_echo "$aros_kernel_as" >&6; }
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10397 $as_echo "no" >&6; }
10402 if test "$GCC" = "yes"; then
10403 aros_gcc_as
=`$CC -print-prog-name=as`
10404 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
10405 set dummy
`basename $aros_gcc_as`; ac_word
=$2
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10407 $as_echo_n "checking for $ac_word... " >&6; }
10408 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10409 $as_echo_n "(cached) " >&6
10411 case $aros_kernel_as in
10413 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10417 for as_dir
in `dirname $aros_gcc_as`
10420 test -z "$as_dir" && as_dir
=.
10421 for ac_exec_ext
in '' $ac_executable_extensions; do
10422 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10423 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10434 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10435 if test -n "$aros_kernel_as"; then
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10437 $as_echo "$aros_kernel_as" >&6; }
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10440 $as_echo "no" >&6; }
10445 if test "$aros_kernel_as" = ""; then
10446 # Extract the first word of "as", so it can be a program name with args.
10447 set dummy as
; 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_as+:} false
; then :
10451 $as_echo_n "(cached) " >&6
10453 case $aros_kernel_as in
10455 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # 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_as
="$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_as
=$ac_cv_path_aros_kernel_as
10477 if test -n "$aros_kernel_as"; then
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10479 $as_echo "$aros_kernel_as" >&6; }
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10482 $as_echo "no" >&6; }
10489 ac_tool_optarg
=`expr "X$aros_kernel_as" : '[^ ]* \(.*\)'`
10490 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
10491 set dummy
$aros_kernel_as; ac_word
=$2
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10493 $as_echo_n "checking for $ac_word... " >&6; }
10494 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10495 $as_echo_n "(cached) " >&6
10497 case $aros_kernel_as in
10499 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10503 for as_dir
in $PATH
10506 test -z "$as_dir" && as_dir
=.
10507 for ac_exec_ext
in '' $ac_executable_extensions; do
10508 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10509 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10520 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10521 if test -n "$aros_kernel_as"; then
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10523 $as_echo "$aros_kernel_as" >&6; }
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10526 $as_echo "no" >&6; }
10530 aros_kernel_as
="$aros_kernel_as $ac_tool_optarg"
10534 if test "$aros_kernel_as" = ""; then
10537 if test "$aros_kernel_as" = "no"; then
10540 if test "$req_avail" = "no"; then
10541 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
10544 if test "$aros_kernel_ar" = ""; then
10545 if test "$cross_compiling" = "yes" ; then
10546 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
10547 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10549 $as_echo_n "checking for $ac_word... " >&6; }
10550 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10551 $as_echo_n "(cached) " >&6
10553 case $aros_kernel_ar in
10555 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10559 for as_dir
in $PATH
10562 test -z "$as_dir" && as_dir
=.
10563 for ac_exec_ext
in '' $ac_executable_extensions; do
10564 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10565 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10576 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10577 if test -n "$aros_kernel_ar"; then
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10579 $as_echo "$aros_kernel_ar" >&6; }
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10582 $as_echo "no" >&6; }
10587 if test "$GCC" = "yes"; then
10588 aros_gcc_ar
=`$CC -print-prog-name=ar`
10589 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
10590 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10592 $as_echo_n "checking for $ac_word... " >&6; }
10593 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10594 $as_echo_n "(cached) " >&6
10596 case $aros_kernel_ar in
10598 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10602 for as_dir
in `dirname $aros_gcc_ar`
10605 test -z "$as_dir" && as_dir
=.
10606 for ac_exec_ext
in '' $ac_executable_extensions; do
10607 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10608 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10619 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10620 if test -n "$aros_kernel_ar"; then
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10622 $as_echo "$aros_kernel_ar" >&6; }
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10625 $as_echo "no" >&6; }
10630 if test "$aros_kernel_ar" = ""; then
10631 # Extract the first word of "ar", so it can be a program name with args.
10632 set dummy
ar; ac_word
=$2
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10634 $as_echo_n "checking for $ac_word... " >&6; }
10635 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10636 $as_echo_n "(cached) " >&6
10638 case $aros_kernel_ar in
10640 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10644 for as_dir
in $PATH
10647 test -z "$as_dir" && as_dir
=.
10648 for ac_exec_ext
in '' $ac_executable_extensions; do
10649 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10650 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10661 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10662 if test -n "$aros_kernel_ar"; then
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10664 $as_echo "$aros_kernel_ar" >&6; }
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10667 $as_echo "no" >&6; }
10674 ac_tool_optarg
=`expr "X$aros_kernel_ar" : '[^ ]* \(.*\)'`
10675 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
10676 set dummy
$aros_kernel_ar; ac_word
=$2
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10678 $as_echo_n "checking for $ac_word... " >&6; }
10679 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10680 $as_echo_n "(cached) " >&6
10682 case $aros_kernel_ar in
10684 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10688 for as_dir
in $PATH
10691 test -z "$as_dir" && as_dir
=.
10692 for ac_exec_ext
in '' $ac_executable_extensions; do
10693 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10694 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10705 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10706 if test -n "$aros_kernel_ar"; then
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10708 $as_echo "$aros_kernel_ar" >&6; }
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10711 $as_echo "no" >&6; }
10715 aros_kernel_ar
="$aros_kernel_ar $ac_tool_optarg"
10719 if test "$aros_kernel_ar" = ""; then
10722 if test "$aros_kernel_ar" = "no"; then
10725 if test "$req_avail" = "no"; then
10726 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
10729 if test "$aros_kernel_ranlib" = ""; then
10730 if test "$cross_compiling" = "yes" ; then
10731 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
10732 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10734 $as_echo_n "checking for $ac_word... " >&6; }
10735 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10736 $as_echo_n "(cached) " >&6
10738 case $aros_kernel_ranlib in
10740 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10744 for as_dir
in $PATH
10747 test -z "$as_dir" && as_dir
=.
10748 for ac_exec_ext
in '' $ac_executable_extensions; do
10749 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10750 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10761 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10762 if test -n "$aros_kernel_ranlib"; then
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10764 $as_echo "$aros_kernel_ranlib" >&6; }
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10767 $as_echo "no" >&6; }
10772 if test "$GCC" = "yes"; then
10773 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10774 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10775 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10777 $as_echo_n "checking for $ac_word... " >&6; }
10778 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10779 $as_echo_n "(cached) " >&6
10781 case $aros_kernel_ranlib in
10783 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10787 for as_dir
in `dirname $aros_gcc_ranlib`
10790 test -z "$as_dir" && as_dir
=.
10791 for ac_exec_ext
in '' $ac_executable_extensions; do
10792 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10793 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10804 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10805 if test -n "$aros_kernel_ranlib"; then
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10807 $as_echo "$aros_kernel_ranlib" >&6; }
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10810 $as_echo "no" >&6; }
10815 if test "$aros_kernel_ranlib" = ""; then
10816 # Extract the first word of "ranlib", so it can be a program name with args.
10817 set dummy ranlib
; ac_word
=$2
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10819 $as_echo_n "checking for $ac_word... " >&6; }
10820 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10821 $as_echo_n "(cached) " >&6
10823 case $aros_kernel_ranlib in
10825 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10829 for as_dir
in $PATH
10832 test -z "$as_dir" && as_dir
=.
10833 for ac_exec_ext
in '' $ac_executable_extensions; do
10834 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10835 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10846 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10847 if test -n "$aros_kernel_ranlib"; then
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10849 $as_echo "$aros_kernel_ranlib" >&6; }
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10852 $as_echo "no" >&6; }
10859 ac_tool_optarg
=`expr "X$aros_kernel_ranlib" : '[^ ]* \(.*\)'`
10860 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
10861 set dummy
$aros_kernel_ranlib; ac_word
=$2
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10863 $as_echo_n "checking for $ac_word... " >&6; }
10864 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10865 $as_echo_n "(cached) " >&6
10867 case $aros_kernel_ranlib in
10869 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10873 for as_dir
in $PATH
10876 test -z "$as_dir" && as_dir
=.
10877 for ac_exec_ext
in '' $ac_executable_extensions; do
10878 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10879 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10890 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10891 if test -n "$aros_kernel_ranlib"; then
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10893 $as_echo "$aros_kernel_ranlib" >&6; }
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10896 $as_echo "no" >&6; }
10900 aros_kernel_ranlib
="$aros_kernel_ranlib $ac_tool_optarg"
10904 if test "$aros_kernel_ranlib" = ""; then
10907 if test "$aros_kernel_ranlib" = "no"; then
10910 if test "$req_avail" = "no"; then
10911 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
10914 if test "$aros_kernel_nm" = ""; then
10915 if test "$cross_compiling" = "yes" ; then
10916 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
10917 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10919 $as_echo_n "checking for $ac_word... " >&6; }
10920 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10921 $as_echo_n "(cached) " >&6
10923 case $aros_kernel_nm in
10925 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10929 for as_dir
in $PATH
10932 test -z "$as_dir" && as_dir
=.
10933 for ac_exec_ext
in '' $ac_executable_extensions; do
10934 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10935 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10946 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10947 if test -n "$aros_kernel_nm"; then
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10949 $as_echo "$aros_kernel_nm" >&6; }
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10952 $as_echo "no" >&6; }
10957 if test "$GCC" = "yes"; then
10958 aros_gcc_nm
=`$CC -print-prog-name=nm`
10959 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10960 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10962 $as_echo_n "checking for $ac_word... " >&6; }
10963 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10964 $as_echo_n "(cached) " >&6
10966 case $aros_kernel_nm in
10968 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10972 for as_dir
in `dirname $aros_gcc_nm`
10975 test -z "$as_dir" && as_dir
=.
10976 for ac_exec_ext
in '' $ac_executable_extensions; do
10977 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10978 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10989 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10990 if test -n "$aros_kernel_nm"; then
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10992 $as_echo "$aros_kernel_nm" >&6; }
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10995 $as_echo "no" >&6; }
11000 if test "$aros_kernel_nm" = ""; then
11001 # Extract the first word of "nm", so it can be a program name with args.
11002 set dummy nm
; ac_word
=$2
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11004 $as_echo_n "checking for $ac_word... " >&6; }
11005 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
11006 $as_echo_n "(cached) " >&6
11008 case $aros_kernel_nm in
11010 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
11013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11014 for as_dir
in $PATH
11017 test -z "$as_dir" && as_dir
=.
11018 for ac_exec_ext
in '' $ac_executable_extensions; do
11019 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11020 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
11021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11031 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
11032 if test -n "$aros_kernel_nm"; then
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
11034 $as_echo "$aros_kernel_nm" >&6; }
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11037 $as_echo "no" >&6; }
11044 ac_tool_optarg
=`expr "X$aros_kernel_nm" : '[^ ]* \(.*\)'`
11045 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
11046 set dummy
$aros_kernel_nm; ac_word
=$2
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11048 $as_echo_n "checking for $ac_word... " >&6; }
11049 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
11050 $as_echo_n "(cached) " >&6
11052 case $aros_kernel_nm in
11054 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
11057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11058 for as_dir
in $PATH
11061 test -z "$as_dir" && as_dir
=.
11062 for ac_exec_ext
in '' $ac_executable_extensions; do
11063 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11064 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
11065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11075 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
11076 if test -n "$aros_kernel_nm"; then
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
11078 $as_echo "$aros_kernel_nm" >&6; }
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11081 $as_echo "no" >&6; }
11085 aros_kernel_nm
="$aros_kernel_nm $ac_tool_optarg"
11089 if test "$aros_kernel_nm" = ""; then
11092 if test "$aros_kernel_nm" = "no"; then
11095 if test "$req_avail" = "no"; then
11096 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
11099 if test "$aros_kernel_strip" = ""; then
11100 if test "$cross_compiling" = "yes" ; then
11101 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
11102 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11104 $as_echo_n "checking for $ac_word... " >&6; }
11105 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11106 $as_echo_n "(cached) " >&6
11108 case $aros_kernel_strip in
11110 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11114 for as_dir
in $PATH
11117 test -z "$as_dir" && as_dir
=.
11118 for ac_exec_ext
in '' $ac_executable_extensions; do
11119 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11120 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11131 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11132 if test -n "$aros_kernel_strip"; then
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11134 $as_echo "$aros_kernel_strip" >&6; }
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11137 $as_echo "no" >&6; }
11142 if test "$GCC" = "yes"; then
11143 aros_gcc_strip
=`$CC -print-prog-name=strip`
11144 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
11145 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11147 $as_echo_n "checking for $ac_word... " >&6; }
11148 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11149 $as_echo_n "(cached) " >&6
11151 case $aros_kernel_strip in
11153 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11157 for as_dir
in `dirname $aros_gcc_strip`
11160 test -z "$as_dir" && as_dir
=.
11161 for ac_exec_ext
in '' $ac_executable_extensions; do
11162 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11163 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11174 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11175 if test -n "$aros_kernel_strip"; then
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11177 $as_echo "$aros_kernel_strip" >&6; }
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11180 $as_echo "no" >&6; }
11185 if test "$aros_kernel_strip" = ""; then
11186 # Extract the first word of "strip", so it can be a program name with args.
11187 set dummy strip
; ac_word
=$2
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11189 $as_echo_n "checking for $ac_word... " >&6; }
11190 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11191 $as_echo_n "(cached) " >&6
11193 case $aros_kernel_strip in
11195 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11199 for as_dir
in $PATH
11202 test -z "$as_dir" && as_dir
=.
11203 for ac_exec_ext
in '' $ac_executable_extensions; do
11204 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11205 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11216 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11217 if test -n "$aros_kernel_strip"; then
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11219 $as_echo "$aros_kernel_strip" >&6; }
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11222 $as_echo "no" >&6; }
11229 ac_tool_optarg
=`expr "X$aros_kernel_strip" : '[^ ]* \(.*\)'`
11230 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
11231 set dummy
$aros_kernel_strip; ac_word
=$2
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11233 $as_echo_n "checking for $ac_word... " >&6; }
11234 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11235 $as_echo_n "(cached) " >&6
11237 case $aros_kernel_strip in
11239 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11243 for as_dir
in $PATH
11246 test -z "$as_dir" && as_dir
=.
11247 for ac_exec_ext
in '' $ac_executable_extensions; do
11248 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11249 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11260 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11261 if test -n "$aros_kernel_strip"; then
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11263 $as_echo "$aros_kernel_strip" >&6; }
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11266 $as_echo "no" >&6; }
11270 aros_kernel_strip
="$aros_kernel_strip $ac_tool_optarg"
11274 if test "$aros_kernel_strip" = ""; then
11277 if test "$aros_kernel_strip" = "no"; then
11280 if test "$req_avail" = "no"; then
11281 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
11284 # Objcopy and objdump are not required for the kernel
11285 # toolchain on many architectures.
11286 # So we'll look for them, but not make them strictly required.
11288 if test "$aros_kernel_objcopy" = ""; then
11289 if test "$cross_compiling" = "yes" ; then
11290 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
11291 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11293 $as_echo_n "checking for $ac_word... " >&6; }
11294 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11295 $as_echo_n "(cached) " >&6
11297 case $aros_kernel_objcopy in
11299 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11303 for as_dir
in $PATH
11306 test -z "$as_dir" && as_dir
=.
11307 for ac_exec_ext
in '' $ac_executable_extensions; do
11308 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11309 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11320 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11321 if test -n "$aros_kernel_objcopy"; then
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11323 $as_echo "$aros_kernel_objcopy" >&6; }
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11326 $as_echo "no" >&6; }
11331 if test "$GCC" = "yes"; then
11332 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
11333 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
11334 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11336 $as_echo_n "checking for $ac_word... " >&6; }
11337 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11338 $as_echo_n "(cached) " >&6
11340 case $aros_kernel_objcopy in
11342 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11346 for as_dir
in `dirname $aros_gcc_objcopy`
11349 test -z "$as_dir" && as_dir
=.
11350 for ac_exec_ext
in '' $ac_executable_extensions; do
11351 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11352 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11363 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11364 if test -n "$aros_kernel_objcopy"; then
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11366 $as_echo "$aros_kernel_objcopy" >&6; }
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11369 $as_echo "no" >&6; }
11374 if test "$aros_kernel_objcopy" = ""; then
11375 # Extract the first word of "objcopy", so it can be a program name with args.
11376 set dummy objcopy
; ac_word
=$2
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11378 $as_echo_n "checking for $ac_word... " >&6; }
11379 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11380 $as_echo_n "(cached) " >&6
11382 case $aros_kernel_objcopy in
11384 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11388 for as_dir
in $PATH
11391 test -z "$as_dir" && as_dir
=.
11392 for ac_exec_ext
in '' $ac_executable_extensions; do
11393 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11394 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11405 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11406 if test -n "$aros_kernel_objcopy"; then
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11408 $as_echo "$aros_kernel_objcopy" >&6; }
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11411 $as_echo "no" >&6; }
11418 ac_tool_optarg
=`expr "X$aros_kernel_objcopy" : '[^ ]* \(.*\)'`
11419 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
11420 set dummy
$aros_kernel_objcopy; ac_word
=$2
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11422 $as_echo_n "checking for $ac_word... " >&6; }
11423 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11424 $as_echo_n "(cached) " >&6
11426 case $aros_kernel_objcopy in
11428 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11432 for as_dir
in $PATH
11435 test -z "$as_dir" && as_dir
=.
11436 for ac_exec_ext
in '' $ac_executable_extensions; do
11437 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11438 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11449 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11450 if test -n "$aros_kernel_objcopy"; then
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11452 $as_echo "$aros_kernel_objcopy" >&6; }
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11455 $as_echo "no" >&6; }
11459 aros_kernel_objcopy
="$aros_kernel_objcopy $ac_tool_optarg"
11463 if test "$aros_kernel_objdump" = ""; then
11464 if test "$cross_compiling" = "yes" ; then
11465 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
11466 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11468 $as_echo_n "checking for $ac_word... " >&6; }
11469 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11470 $as_echo_n "(cached) " >&6
11472 case $aros_kernel_objdump in
11474 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11478 for as_dir
in $PATH
11481 test -z "$as_dir" && as_dir
=.
11482 for ac_exec_ext
in '' $ac_executable_extensions; do
11483 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11484 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11495 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11496 if test -n "$aros_kernel_objdump"; then
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11498 $as_echo "$aros_kernel_objdump" >&6; }
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11501 $as_echo "no" >&6; }
11506 if test "$GCC" = "yes"; then
11507 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
11508 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
11509 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11511 $as_echo_n "checking for $ac_word... " >&6; }
11512 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11513 $as_echo_n "(cached) " >&6
11515 case $aros_kernel_objdump in
11517 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11521 for as_dir
in `dirname $aros_gcc_objdump`
11524 test -z "$as_dir" && as_dir
=.
11525 for ac_exec_ext
in '' $ac_executable_extensions; do
11526 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11527 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11538 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11539 if test -n "$aros_kernel_objdump"; then
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11541 $as_echo "$aros_kernel_objdump" >&6; }
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11544 $as_echo "no" >&6; }
11549 if test "$aros_kernel_objdump" = ""; then
11550 # Extract the first word of "objdump", so it can be a program name with args.
11551 set dummy objdump
; ac_word
=$2
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11553 $as_echo_n "checking for $ac_word... " >&6; }
11554 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11555 $as_echo_n "(cached) " >&6
11557 case $aros_kernel_objdump in
11559 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11563 for as_dir
in $PATH
11566 test -z "$as_dir" && as_dir
=.
11567 for ac_exec_ext
in '' $ac_executable_extensions; do
11568 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11569 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11580 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11581 if test -n "$aros_kernel_objdump"; then
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11583 $as_echo "$aros_kernel_objdump" >&6; }
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11586 $as_echo "no" >&6; }
11593 ac_tool_optarg
=`expr "X$aros_kernel_objdump" : '[^ ]* \(.*\)'`
11594 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
11595 set dummy
$aros_kernel_objdump; ac_word
=$2
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11597 $as_echo_n "checking for $ac_word... " >&6; }
11598 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11599 $as_echo_n "(cached) " >&6
11601 case $aros_kernel_objdump in
11603 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11607 for as_dir
in $PATH
11610 test -z "$as_dir" && as_dir
=.
11611 for ac_exec_ext
in '' $ac_executable_extensions; do
11612 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11613 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11624 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11625 if test -n "$aros_kernel_objdump"; then
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11627 $as_echo "$aros_kernel_objdump" >&6; }
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11630 $as_echo "no" >&6; }
11634 aros_kernel_objdump
="$aros_kernel_objdump $ac_tool_optarg"
11637 if test "x${crosstools}" != "xyes" ; then
11639 if test "$aros_kernel_objcopy" = ""; then
11642 if test "$aros_kernel_objcopy" = "no"; then
11645 if test "$req_avail" = "no"; then
11646 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
11649 if test "$aros_kernel_objdump" = ""; then
11652 if test "$aros_kernel_objdump" = "no"; then
11655 if test "$req_avail" = "no"; then
11656 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
11663 $as_echo_n "checking which target tools to use... " >&6; }
11664 if test "$aros_target_toolchain" = "yes"; then
11665 if test "$aros_toolchain" = "llvm" ; then
11668 msg_result
=$target_tool_prefix
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
11671 $as_echo "$msg_result" >&6; }
11672 # We are building AROS crosstools
11673 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
11674 orig_target_cc
="${tmp_tool_prefix}${toolchain_c_compiler}${target_tool_version}"
11675 orig_target_cxx
="${tmp_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}"
11676 orig_target_cpp
="${tmp_tool_prefix}${toolchain_cpp_preprocessor}"
11677 orig_target_ld
="${tmp_tool_prefix}${toolchain_ld}"
11678 orig_target_as
="${tmp_tool_prefix}${toolchain_as}"
11679 orig_target_ar
="${tmp_tool_prefix}${toolchain_ar}"
11680 orig_target_ranlib
="${tmp_tool_prefix}${toolchain_ranlib}"
11681 orig_target_nm
="${tmp_tool_prefix}${toolchain_nm}"
11682 orig_target_strip
="${tmp_tool_prefix}${toolchain_strip}"
11683 orig_target_objcopy
="${tmp_tool_prefix}${toolchain_objcopy}"
11684 orig_target_objdump
="${tmp_tool_prefix}${toolchain_objdump}"
11686 # Determine whether AROS or ELF tools should be used
11687 if test "$aros_tool_prefix" = "none"; then
11688 aros_tool_prefix
="${elf_tool_prefix}"
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
11692 $as_echo "$aros_tool_prefix" >&6; }
11693 # We are *not* building AROS crosstools - use the AROS or ELF tools
11695 if test "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" = ""; then
11696 if test "$cross_compiling" = "yes" ; then
11697 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
11698 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11700 $as_echo_n "checking for $ac_word... " >&6; }
11701 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11702 $as_echo_n "(cached) " >&6
11704 case $orig_target_cpp in
11706 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11710 for as_dir
in $PATH
11713 test -z "$as_dir" && as_dir
=.
11714 for ac_exec_ext
in '' $ac_executable_extensions; do
11715 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11716 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11727 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11728 if test -n "$orig_target_cpp"; then
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11730 $as_echo "$orig_target_cpp" >&6; }
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11733 $as_echo "no" >&6; }
11738 if test "$GCC" = "yes"; then
11739 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
11740 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
11741 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11743 $as_echo_n "checking for $ac_word... " >&6; }
11744 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11745 $as_echo_n "(cached) " >&6
11747 case $orig_target_cpp in
11749 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11753 for as_dir
in `dirname $aros_gcc_cpp`
11756 test -z "$as_dir" && as_dir
=.
11757 for ac_exec_ext
in '' $ac_executable_extensions; do
11758 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11759 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11770 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11771 if test -n "$orig_target_cpp"; then
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11773 $as_echo "$orig_target_cpp" >&6; }
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11776 $as_echo "no" >&6; }
11781 if test "$orig_target_cpp" = ""; then
11782 # Extract the first word of "cpp", so it can be a program name with args.
11783 set dummy cpp
; ac_word
=$2
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11785 $as_echo_n "checking for $ac_word... " >&6; }
11786 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11787 $as_echo_n "(cached) " >&6
11789 case $orig_target_cpp in
11791 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11795 for as_dir
in $PATH
11798 test -z "$as_dir" && as_dir
=.
11799 for ac_exec_ext
in '' $ac_executable_extensions; do
11800 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11801 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11812 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11813 if test -n "$orig_target_cpp"; then
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11815 $as_echo "$orig_target_cpp" >&6; }
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11818 $as_echo "no" >&6; }
11825 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" : '[^ ]* \(.*\)'`
11826 # Extract the first word of "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}", so it can be a program name with args.
11827 set dummy
${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}; ac_word
=$2
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11829 $as_echo_n "checking for $ac_word... " >&6; }
11830 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11831 $as_echo_n "(cached) " >&6
11833 case $orig_target_cpp in
11835 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11839 for as_dir
in $PATH
11842 test -z "$as_dir" && as_dir
=.
11843 for ac_exec_ext
in '' $ac_executable_extensions; do
11844 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11845 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11856 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11857 if test -n "$orig_target_cpp"; then
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11859 $as_echo "$orig_target_cpp" >&6; }
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11862 $as_echo "no" >&6; }
11866 orig_target_cpp
="$orig_target_cpp $ac_tool_optarg"
11870 if test "$orig_target_cpp" = ""; then
11873 if test "$orig_target_cpp" = "no"; then
11876 if test "$req_avail" = "no"; then
11877 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
11880 if test "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" = ""; then
11881 if test "$cross_compiling" = "yes" ; then
11882 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11883 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11885 $as_echo_n "checking for $ac_word... " >&6; }
11886 if ${ac_cv_path_orig_target_cc+:} false
; then :
11887 $as_echo_n "(cached) " >&6
11889 case $orig_target_cc in
11891 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11895 for as_dir
in $PATH
11898 test -z "$as_dir" && as_dir
=.
11899 for ac_exec_ext
in '' $ac_executable_extensions; do
11900 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11901 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11912 orig_target_cc
=$ac_cv_path_orig_target_cc
11913 if test -n "$orig_target_cc"; then
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11915 $as_echo "$orig_target_cc" >&6; }
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11918 $as_echo "no" >&6; }
11923 if test "$GCC" = "yes"; then
11924 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11925 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11926 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11928 $as_echo_n "checking for $ac_word... " >&6; }
11929 if ${ac_cv_path_orig_target_cc+:} false
; then :
11930 $as_echo_n "(cached) " >&6
11932 case $orig_target_cc in
11934 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11938 for as_dir
in `dirname $aros_gcc_gcc`
11941 test -z "$as_dir" && as_dir
=.
11942 for ac_exec_ext
in '' $ac_executable_extensions; do
11943 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11944 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11955 orig_target_cc
=$ac_cv_path_orig_target_cc
11956 if test -n "$orig_target_cc"; then
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11958 $as_echo "$orig_target_cc" >&6; }
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11961 $as_echo "no" >&6; }
11966 if test "$orig_target_cc" = ""; then
11967 # Extract the first word of "gcc", so it can be a program name with args.
11968 set dummy gcc
; ac_word
=$2
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11970 $as_echo_n "checking for $ac_word... " >&6; }
11971 if ${ac_cv_path_orig_target_cc+:} false
; then :
11972 $as_echo_n "(cached) " >&6
11974 case $orig_target_cc in
11976 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11980 for as_dir
in $PATH
11983 test -z "$as_dir" && as_dir
=.
11984 for ac_exec_ext
in '' $ac_executable_extensions; do
11985 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11986 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11997 orig_target_cc
=$ac_cv_path_orig_target_cc
11998 if test -n "$orig_target_cc"; then
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
12000 $as_echo "$orig_target_cc" >&6; }
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12003 $as_echo "no" >&6; }
12010 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
12011 # Extract the first word of "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}", so it can be a program name with args.
12012 set dummy
${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}; ac_word
=$2
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12014 $as_echo_n "checking for $ac_word... " >&6; }
12015 if ${ac_cv_path_orig_target_cc+:} false
; then :
12016 $as_echo_n "(cached) " >&6
12018 case $orig_target_cc in
12020 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
12023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12024 for as_dir
in $PATH
12027 test -z "$as_dir" && as_dir
=.
12028 for ac_exec_ext
in '' $ac_executable_extensions; do
12029 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12030 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
12031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12041 orig_target_cc
=$ac_cv_path_orig_target_cc
12042 if test -n "$orig_target_cc"; then
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
12044 $as_echo "$orig_target_cc" >&6; }
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12047 $as_echo "no" >&6; }
12051 orig_target_cc
="$orig_target_cc $ac_tool_optarg"
12055 if test "$orig_target_cc" = ""; then
12058 if test "$orig_target_cc" = "no"; then
12061 if test "$req_avail" = "no"; then
12062 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
12065 if test "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" = ""; then
12066 if test "$cross_compiling" = "yes" ; then
12067 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
12068 set dummy
${target_tool_prefix}g
++; ac_word
=$2
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12070 $as_echo_n "checking for $ac_word... " >&6; }
12071 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12072 $as_echo_n "(cached) " >&6
12074 case $orig_target_cxx in
12076 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12080 for as_dir
in $PATH
12083 test -z "$as_dir" && as_dir
=.
12084 for ac_exec_ext
in '' $ac_executable_extensions; do
12085 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12086 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12097 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12098 if test -n "$orig_target_cxx"; then
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12100 $as_echo "$orig_target_cxx" >&6; }
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12103 $as_echo "no" >&6; }
12108 if test "$GCC" = "yes"; then
12109 aros_gcc_g
++=`$CC -print-prog-name=g++`
12110 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
12111 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12113 $as_echo_n "checking for $ac_word... " >&6; }
12114 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12115 $as_echo_n "(cached) " >&6
12117 case $orig_target_cxx in
12119 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12123 for as_dir
in `dirname $aros_gcc_g++`
12126 test -z "$as_dir" && as_dir
=.
12127 for ac_exec_ext
in '' $ac_executable_extensions; do
12128 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12129 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12140 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12141 if test -n "$orig_target_cxx"; then
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12143 $as_echo "$orig_target_cxx" >&6; }
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12146 $as_echo "no" >&6; }
12151 if test "$orig_target_cxx" = ""; then
12152 # Extract the first word of "g++", so it can be a program name with args.
12153 set dummy g
++; ac_word
=$2
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12155 $as_echo_n "checking for $ac_word... " >&6; }
12156 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12157 $as_echo_n "(cached) " >&6
12159 case $orig_target_cxx in
12161 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12165 for as_dir
in $PATH
12168 test -z "$as_dir" && as_dir
=.
12169 for ac_exec_ext
in '' $ac_executable_extensions; do
12170 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12171 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12182 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12183 if test -n "$orig_target_cxx"; then
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12185 $as_echo "$orig_target_cxx" >&6; }
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12188 $as_echo "no" >&6; }
12195 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
12196 # Extract the first word of "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}", so it can be a program name with args.
12197 set dummy
${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}; ac_word
=$2
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12199 $as_echo_n "checking for $ac_word... " >&6; }
12200 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12201 $as_echo_n "(cached) " >&6
12203 case $orig_target_cxx in
12205 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12209 for as_dir
in $PATH
12212 test -z "$as_dir" && as_dir
=.
12213 for ac_exec_ext
in '' $ac_executable_extensions; do
12214 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12215 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12226 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12227 if test -n "$orig_target_cxx"; then
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12229 $as_echo "$orig_target_cxx" >&6; }
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12232 $as_echo "no" >&6; }
12236 orig_target_cxx
="$orig_target_cxx $ac_tool_optarg"
12240 if test "$orig_target_cxx" = ""; then
12243 if test "$orig_target_cxx" = "no"; then
12246 if test "$req_avail" = "no"; then
12247 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
12250 if test "${aros_tool_prefix}${toolchain_ld}" = ""; then
12251 if test "$cross_compiling" = "yes" ; then
12252 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
12253 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12255 $as_echo_n "checking for $ac_word... " >&6; }
12256 if ${ac_cv_path_orig_target_ld+:} false
; then :
12257 $as_echo_n "(cached) " >&6
12259 case $orig_target_ld in
12261 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12265 for as_dir
in $PATH
12268 test -z "$as_dir" && as_dir
=.
12269 for ac_exec_ext
in '' $ac_executable_extensions; do
12270 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12271 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12282 orig_target_ld
=$ac_cv_path_orig_target_ld
12283 if test -n "$orig_target_ld"; then
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12285 $as_echo "$orig_target_ld" >&6; }
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12288 $as_echo "no" >&6; }
12293 if test "$GCC" = "yes"; then
12294 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
12295 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
12296 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12298 $as_echo_n "checking for $ac_word... " >&6; }
12299 if ${ac_cv_path_orig_target_ld+:} false
; then :
12300 $as_echo_n "(cached) " >&6
12302 case $orig_target_ld in
12304 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12308 for as_dir
in `dirname $aros_gcc_gcc`
12311 test -z "$as_dir" && as_dir
=.
12312 for ac_exec_ext
in '' $ac_executable_extensions; do
12313 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12314 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12325 orig_target_ld
=$ac_cv_path_orig_target_ld
12326 if test -n "$orig_target_ld"; then
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12328 $as_echo "$orig_target_ld" >&6; }
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12331 $as_echo "no" >&6; }
12336 if test "$orig_target_ld" = ""; then
12337 # Extract the first word of "gcc", so it can be a program name with args.
12338 set dummy gcc
; ac_word
=$2
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12340 $as_echo_n "checking for $ac_word... " >&6; }
12341 if ${ac_cv_path_orig_target_ld+:} false
; then :
12342 $as_echo_n "(cached) " >&6
12344 case $orig_target_ld in
12346 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12350 for as_dir
in $PATH
12353 test -z "$as_dir" && as_dir
=.
12354 for ac_exec_ext
in '' $ac_executable_extensions; do
12355 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12356 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12367 orig_target_ld
=$ac_cv_path_orig_target_ld
12368 if test -n "$orig_target_ld"; then
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12370 $as_echo "$orig_target_ld" >&6; }
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12373 $as_echo "no" >&6; }
12380 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ld}" : '[^ ]* \(.*\)'`
12381 # Extract the first word of "${aros_tool_prefix}${toolchain_ld}", so it can be a program name with args.
12382 set dummy
${aros_tool_prefix}${toolchain_ld}; ac_word
=$2
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12384 $as_echo_n "checking for $ac_word... " >&6; }
12385 if ${ac_cv_path_orig_target_ld+:} false
; then :
12386 $as_echo_n "(cached) " >&6
12388 case $orig_target_ld in
12390 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12394 for as_dir
in $PATH
12397 test -z "$as_dir" && as_dir
=.
12398 for ac_exec_ext
in '' $ac_executable_extensions; do
12399 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12400 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12411 orig_target_ld
=$ac_cv_path_orig_target_ld
12412 if test -n "$orig_target_ld"; then
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12414 $as_echo "$orig_target_ld" >&6; }
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12417 $as_echo "no" >&6; }
12421 orig_target_ld
="$orig_target_ld $ac_tool_optarg"
12425 if test "$orig_target_ld" = ""; then
12428 if test "$orig_target_ld" = "no"; then
12431 if test "$req_avail" = "no"; then
12432 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
12435 if test "aros_tool_prefix}${toolchain_as}" = ""; then
12436 if test "$cross_compiling" = "yes" ; then
12437 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
12438 set dummy
${target_tool_prefix}as
; ac_word
=$2
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12440 $as_echo_n "checking for $ac_word... " >&6; }
12441 if ${ac_cv_path_orig_target_as+:} false
; then :
12442 $as_echo_n "(cached) " >&6
12444 case $orig_target_as in
12446 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12450 for as_dir
in $PATH
12453 test -z "$as_dir" && as_dir
=.
12454 for ac_exec_ext
in '' $ac_executable_extensions; do
12455 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12456 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12467 orig_target_as
=$ac_cv_path_orig_target_as
12468 if test -n "$orig_target_as"; then
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12470 $as_echo "$orig_target_as" >&6; }
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12473 $as_echo "no" >&6; }
12478 if test "$GCC" = "yes"; then
12479 aros_gcc_as
=`$CC -print-prog-name=as`
12480 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
12481 set dummy
`basename $aros_gcc_as`; ac_word
=$2
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12483 $as_echo_n "checking for $ac_word... " >&6; }
12484 if ${ac_cv_path_orig_target_as+:} false
; then :
12485 $as_echo_n "(cached) " >&6
12487 case $orig_target_as in
12489 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12493 for as_dir
in `dirname $aros_gcc_as`
12496 test -z "$as_dir" && as_dir
=.
12497 for ac_exec_ext
in '' $ac_executable_extensions; do
12498 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12499 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12510 orig_target_as
=$ac_cv_path_orig_target_as
12511 if test -n "$orig_target_as"; then
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12513 $as_echo "$orig_target_as" >&6; }
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12516 $as_echo "no" >&6; }
12521 if test "$orig_target_as" = ""; then
12522 # Extract the first word of "as", so it can be a program name with args.
12523 set dummy as
; ac_word
=$2
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12525 $as_echo_n "checking for $ac_word... " >&6; }
12526 if ${ac_cv_path_orig_target_as+:} false
; then :
12527 $as_echo_n "(cached) " >&6
12529 case $orig_target_as in
12531 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12535 for as_dir
in $PATH
12538 test -z "$as_dir" && as_dir
=.
12539 for ac_exec_ext
in '' $ac_executable_extensions; do
12540 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12541 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12552 orig_target_as
=$ac_cv_path_orig_target_as
12553 if test -n "$orig_target_as"; then
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12555 $as_echo "$orig_target_as" >&6; }
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12558 $as_echo "no" >&6; }
12565 ac_tool_optarg
=`expr "Xaros_tool_prefix}${toolchain_as}" : '[^ ]* \(.*\)'`
12566 # Extract the first word of "aros_tool_prefix}${toolchain_as}", so it can be a program name with args.
12567 set dummy aros_tool_prefix
}${toolchain_as}; ac_word
=$2
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12569 $as_echo_n "checking for $ac_word... " >&6; }
12570 if ${ac_cv_path_orig_target_as+:} false
; then :
12571 $as_echo_n "(cached) " >&6
12573 case $orig_target_as in
12575 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12579 for as_dir
in $PATH
12582 test -z "$as_dir" && as_dir
=.
12583 for ac_exec_ext
in '' $ac_executable_extensions; do
12584 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12585 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12596 orig_target_as
=$ac_cv_path_orig_target_as
12597 if test -n "$orig_target_as"; then
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12599 $as_echo "$orig_target_as" >&6; }
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12602 $as_echo "no" >&6; }
12606 orig_target_as
="$orig_target_as $ac_tool_optarg"
12610 if test "$orig_target_as" = ""; then
12613 if test "$orig_target_as" = "no"; then
12616 if test "$req_avail" = "no"; then
12617 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
12620 if test "${aros_tool_prefix}${toolchain_ar}" = ""; then
12621 if test "$cross_compiling" = "yes" ; then
12622 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
12623 set dummy
${target_tool_prefix}ar; ac_word
=$2
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12625 $as_echo_n "checking for $ac_word... " >&6; }
12626 if ${ac_cv_path_orig_target_ar+:} false
; then :
12627 $as_echo_n "(cached) " >&6
12629 case $orig_target_ar in
12631 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12635 for as_dir
in $PATH
12638 test -z "$as_dir" && as_dir
=.
12639 for ac_exec_ext
in '' $ac_executable_extensions; do
12640 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12641 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12652 orig_target_ar
=$ac_cv_path_orig_target_ar
12653 if test -n "$orig_target_ar"; then
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12655 $as_echo "$orig_target_ar" >&6; }
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12658 $as_echo "no" >&6; }
12663 if test "$GCC" = "yes"; then
12664 aros_gcc_ar
=`$CC -print-prog-name=ar`
12665 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
12666 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12668 $as_echo_n "checking for $ac_word... " >&6; }
12669 if ${ac_cv_path_orig_target_ar+:} false
; then :
12670 $as_echo_n "(cached) " >&6
12672 case $orig_target_ar in
12674 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12678 for as_dir
in `dirname $aros_gcc_ar`
12681 test -z "$as_dir" && as_dir
=.
12682 for ac_exec_ext
in '' $ac_executable_extensions; do
12683 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12684 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12695 orig_target_ar
=$ac_cv_path_orig_target_ar
12696 if test -n "$orig_target_ar"; then
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12698 $as_echo "$orig_target_ar" >&6; }
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12701 $as_echo "no" >&6; }
12706 if test "$orig_target_ar" = ""; then
12707 # Extract the first word of "ar", so it can be a program name with args.
12708 set dummy
ar; ac_word
=$2
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12710 $as_echo_n "checking for $ac_word... " >&6; }
12711 if ${ac_cv_path_orig_target_ar+:} false
; then :
12712 $as_echo_n "(cached) " >&6
12714 case $orig_target_ar in
12716 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12720 for as_dir
in $PATH
12723 test -z "$as_dir" && as_dir
=.
12724 for ac_exec_ext
in '' $ac_executable_extensions; do
12725 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12726 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12737 orig_target_ar
=$ac_cv_path_orig_target_ar
12738 if test -n "$orig_target_ar"; then
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12740 $as_echo "$orig_target_ar" >&6; }
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12743 $as_echo "no" >&6; }
12750 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ar}" : '[^ ]* \(.*\)'`
12751 # Extract the first word of "${aros_tool_prefix}${toolchain_ar}", so it can be a program name with args.
12752 set dummy
${aros_tool_prefix}${toolchain_ar}; ac_word
=$2
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12754 $as_echo_n "checking for $ac_word... " >&6; }
12755 if ${ac_cv_path_orig_target_ar+:} false
; then :
12756 $as_echo_n "(cached) " >&6
12758 case $orig_target_ar in
12760 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12764 for as_dir
in $PATH
12767 test -z "$as_dir" && as_dir
=.
12768 for ac_exec_ext
in '' $ac_executable_extensions; do
12769 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12770 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12781 orig_target_ar
=$ac_cv_path_orig_target_ar
12782 if test -n "$orig_target_ar"; then
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12784 $as_echo "$orig_target_ar" >&6; }
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12787 $as_echo "no" >&6; }
12791 orig_target_ar
="$orig_target_ar $ac_tool_optarg"
12795 if test "$orig_target_ar" = ""; then
12798 if test "$orig_target_ar" = "no"; then
12801 if test "$req_avail" = "no"; then
12802 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
12805 if test "${aros_tool_prefix}${toolchain_ranlib}" = ""; then
12806 if test "$cross_compiling" = "yes" ; then
12807 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
12808 set dummy
${target_tool_prefix}ar; ac_word
=$2
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12810 $as_echo_n "checking for $ac_word... " >&6; }
12811 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12812 $as_echo_n "(cached) " >&6
12814 case $orig_target_ranlib in
12816 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12820 for as_dir
in $PATH
12823 test -z "$as_dir" && as_dir
=.
12824 for ac_exec_ext
in '' $ac_executable_extensions; do
12825 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12826 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12837 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12838 if test -n "$orig_target_ranlib"; then
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12840 $as_echo "$orig_target_ranlib" >&6; }
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12843 $as_echo "no" >&6; }
12848 if test "$GCC" = "yes"; then
12849 aros_gcc_ar
=`$CC -print-prog-name=ar`
12850 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
12851 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12853 $as_echo_n "checking for $ac_word... " >&6; }
12854 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12855 $as_echo_n "(cached) " >&6
12857 case $orig_target_ranlib in
12859 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12863 for as_dir
in `dirname $aros_gcc_ar`
12866 test -z "$as_dir" && as_dir
=.
12867 for ac_exec_ext
in '' $ac_executable_extensions; do
12868 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12869 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12880 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12881 if test -n "$orig_target_ranlib"; then
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12883 $as_echo "$orig_target_ranlib" >&6; }
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12886 $as_echo "no" >&6; }
12891 if test "$orig_target_ranlib" = ""; then
12892 # Extract the first word of "ar", so it can be a program name with args.
12893 set dummy
ar; ac_word
=$2
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12895 $as_echo_n "checking for $ac_word... " >&6; }
12896 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12897 $as_echo_n "(cached) " >&6
12899 case $orig_target_ranlib in
12901 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12905 for as_dir
in $PATH
12908 test -z "$as_dir" && as_dir
=.
12909 for ac_exec_ext
in '' $ac_executable_extensions; do
12910 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12911 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12922 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12923 if test -n "$orig_target_ranlib"; then
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12925 $as_echo "$orig_target_ranlib" >&6; }
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12928 $as_echo "no" >&6; }
12935 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ranlib}" : '[^ ]* \(.*\)'`
12936 # Extract the first word of "${aros_tool_prefix}${toolchain_ranlib}", so it can be a program name with args.
12937 set dummy
${aros_tool_prefix}${toolchain_ranlib}; ac_word
=$2
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12939 $as_echo_n "checking for $ac_word... " >&6; }
12940 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12941 $as_echo_n "(cached) " >&6
12943 case $orig_target_ranlib in
12945 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12949 for as_dir
in $PATH
12952 test -z "$as_dir" && as_dir
=.
12953 for ac_exec_ext
in '' $ac_executable_extensions; do
12954 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12955 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12966 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12967 if test -n "$orig_target_ranlib"; then
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12969 $as_echo "$orig_target_ranlib" >&6; }
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12972 $as_echo "no" >&6; }
12976 orig_target_ranlib
="$orig_target_ranlib $ac_tool_optarg"
12980 if test "$orig_target_ranlib" = ""; then
12983 if test "$orig_target_ranlib" = "no"; then
12986 if test "$req_avail" = "no"; then
12987 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
12990 if test "${aros_tool_prefix}${toolchain_nm}" = ""; then
12991 if test "$cross_compiling" = "yes" ; then
12992 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
12993 set dummy
${target_tool_prefix}nm
; 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_nm+:} false
; then :
12997 $as_echo_n "(cached) " >&6
12999 case $orig_target_nm in
13001 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13005 for as_dir
in $PATH
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_nm
="$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_nm
=$ac_cv_path_orig_target_nm
13023 if test -n "$orig_target_nm"; then
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13025 $as_echo "$orig_target_nm" >&6; }
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13028 $as_echo "no" >&6; }
13033 if test "$GCC" = "yes"; then
13034 aros_gcc_nm
=`$CC -print-prog-name=nm`
13035 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
13036 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13038 $as_echo_n "checking for $ac_word... " >&6; }
13039 if ${ac_cv_path_orig_target_nm+:} false
; then :
13040 $as_echo_n "(cached) " >&6
13042 case $orig_target_nm in
13044 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13048 for as_dir
in `dirname $aros_gcc_nm`
13051 test -z "$as_dir" && as_dir
=.
13052 for ac_exec_ext
in '' $ac_executable_extensions; do
13053 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13054 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13065 orig_target_nm
=$ac_cv_path_orig_target_nm
13066 if test -n "$orig_target_nm"; then
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13068 $as_echo "$orig_target_nm" >&6; }
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13071 $as_echo "no" >&6; }
13076 if test "$orig_target_nm" = ""; then
13077 # Extract the first word of "nm", so it can be a program name with args.
13078 set dummy nm
; ac_word
=$2
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13080 $as_echo_n "checking for $ac_word... " >&6; }
13081 if ${ac_cv_path_orig_target_nm+:} false
; then :
13082 $as_echo_n "(cached) " >&6
13084 case $orig_target_nm in
13086 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13090 for as_dir
in $PATH
13093 test -z "$as_dir" && as_dir
=.
13094 for ac_exec_ext
in '' $ac_executable_extensions; do
13095 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13096 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13107 orig_target_nm
=$ac_cv_path_orig_target_nm
13108 if test -n "$orig_target_nm"; then
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13110 $as_echo "$orig_target_nm" >&6; }
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13113 $as_echo "no" >&6; }
13120 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_nm}" : '[^ ]* \(.*\)'`
13121 # Extract the first word of "${aros_tool_prefix}${toolchain_nm}", so it can be a program name with args.
13122 set dummy
${aros_tool_prefix}${toolchain_nm}; ac_word
=$2
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13124 $as_echo_n "checking for $ac_word... " >&6; }
13125 if ${ac_cv_path_orig_target_nm+:} false
; then :
13126 $as_echo_n "(cached) " >&6
13128 case $orig_target_nm in
13130 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13134 for as_dir
in $PATH
13137 test -z "$as_dir" && as_dir
=.
13138 for ac_exec_ext
in '' $ac_executable_extensions; do
13139 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13140 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13151 orig_target_nm
=$ac_cv_path_orig_target_nm
13152 if test -n "$orig_target_nm"; then
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13154 $as_echo "$orig_target_nm" >&6; }
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13157 $as_echo "no" >&6; }
13161 orig_target_nm
="$orig_target_nm $ac_tool_optarg"
13165 if test "$orig_target_nm" = ""; then
13168 if test "$orig_target_nm" = "no"; then
13171 if test "$req_avail" = "no"; then
13172 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
13175 if test "${aros_tool_prefix}${toolchain_strip}" = ""; then
13176 if test "$cross_compiling" = "yes" ; then
13177 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
13178 set dummy
${target_tool_prefix}strip
; ac_word
=$2
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13180 $as_echo_n "checking for $ac_word... " >&6; }
13181 if ${ac_cv_path_orig_target_strip+:} false
; then :
13182 $as_echo_n "(cached) " >&6
13184 case $orig_target_strip in
13186 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13190 for as_dir
in $PATH
13193 test -z "$as_dir" && as_dir
=.
13194 for ac_exec_ext
in '' $ac_executable_extensions; do
13195 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13196 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13207 orig_target_strip
=$ac_cv_path_orig_target_strip
13208 if test -n "$orig_target_strip"; then
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13210 $as_echo "$orig_target_strip" >&6; }
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13213 $as_echo "no" >&6; }
13218 if test "$GCC" = "yes"; then
13219 aros_gcc_strip
=`$CC -print-prog-name=strip`
13220 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
13221 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13223 $as_echo_n "checking for $ac_word... " >&6; }
13224 if ${ac_cv_path_orig_target_strip+:} false
; then :
13225 $as_echo_n "(cached) " >&6
13227 case $orig_target_strip in
13229 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13233 for as_dir
in `dirname $aros_gcc_strip`
13236 test -z "$as_dir" && as_dir
=.
13237 for ac_exec_ext
in '' $ac_executable_extensions; do
13238 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13239 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13250 orig_target_strip
=$ac_cv_path_orig_target_strip
13251 if test -n "$orig_target_strip"; then
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13253 $as_echo "$orig_target_strip" >&6; }
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13256 $as_echo "no" >&6; }
13261 if test "$orig_target_strip" = ""; then
13262 # Extract the first word of "strip", so it can be a program name with args.
13263 set dummy strip
; ac_word
=$2
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13265 $as_echo_n "checking for $ac_word... " >&6; }
13266 if ${ac_cv_path_orig_target_strip+:} false
; then :
13267 $as_echo_n "(cached) " >&6
13269 case $orig_target_strip in
13271 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13275 for as_dir
in $PATH
13278 test -z "$as_dir" && as_dir
=.
13279 for ac_exec_ext
in '' $ac_executable_extensions; do
13280 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13281 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13292 orig_target_strip
=$ac_cv_path_orig_target_strip
13293 if test -n "$orig_target_strip"; then
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13295 $as_echo "$orig_target_strip" >&6; }
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13298 $as_echo "no" >&6; }
13305 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_strip}" : '[^ ]* \(.*\)'`
13306 # Extract the first word of "${aros_tool_prefix}${toolchain_strip}", so it can be a program name with args.
13307 set dummy
${aros_tool_prefix}${toolchain_strip}; ac_word
=$2
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13309 $as_echo_n "checking for $ac_word... " >&6; }
13310 if ${ac_cv_path_orig_target_strip+:} false
; then :
13311 $as_echo_n "(cached) " >&6
13313 case $orig_target_strip in
13315 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13319 for as_dir
in $PATH
13322 test -z "$as_dir" && as_dir
=.
13323 for ac_exec_ext
in '' $ac_executable_extensions; do
13324 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13325 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13336 orig_target_strip
=$ac_cv_path_orig_target_strip
13337 if test -n "$orig_target_strip"; then
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13339 $as_echo "$orig_target_strip" >&6; }
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13342 $as_echo "no" >&6; }
13346 orig_target_strip
="$orig_target_strip $ac_tool_optarg"
13350 if test "$orig_target_strip" = ""; then
13353 if test "$orig_target_strip" = "no"; then
13356 if test "$req_avail" = "no"; then
13357 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
13360 if test "${aros_tool_prefix}${toolchain_objcopy}" = ""; then
13361 if test "$cross_compiling" = "yes" ; then
13362 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
13363 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13365 $as_echo_n "checking for $ac_word... " >&6; }
13366 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13367 $as_echo_n "(cached) " >&6
13369 case $orig_target_objcopy in
13371 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13375 for as_dir
in $PATH
13378 test -z "$as_dir" && as_dir
=.
13379 for ac_exec_ext
in '' $ac_executable_extensions; do
13380 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13381 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13392 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13393 if test -n "$orig_target_objcopy"; then
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13395 $as_echo "$orig_target_objcopy" >&6; }
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13398 $as_echo "no" >&6; }
13403 if test "$GCC" = "yes"; then
13404 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
13405 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
13406 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13408 $as_echo_n "checking for $ac_word... " >&6; }
13409 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13410 $as_echo_n "(cached) " >&6
13412 case $orig_target_objcopy in
13414 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13418 for as_dir
in `dirname $aros_gcc_objcopy`
13421 test -z "$as_dir" && as_dir
=.
13422 for ac_exec_ext
in '' $ac_executable_extensions; do
13423 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13424 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13435 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13436 if test -n "$orig_target_objcopy"; then
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13438 $as_echo "$orig_target_objcopy" >&6; }
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13441 $as_echo "no" >&6; }
13446 if test "$orig_target_objcopy" = ""; then
13447 # Extract the first word of "objcopy", so it can be a program name with args.
13448 set dummy objcopy
; ac_word
=$2
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13450 $as_echo_n "checking for $ac_word... " >&6; }
13451 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13452 $as_echo_n "(cached) " >&6
13454 case $orig_target_objcopy in
13456 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13460 for as_dir
in $PATH
13463 test -z "$as_dir" && as_dir
=.
13464 for ac_exec_ext
in '' $ac_executable_extensions; do
13465 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13466 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13477 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13478 if test -n "$orig_target_objcopy"; then
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13480 $as_echo "$orig_target_objcopy" >&6; }
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13483 $as_echo "no" >&6; }
13490 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objcopy}" : '[^ ]* \(.*\)'`
13491 # Extract the first word of "${aros_tool_prefix}${toolchain_objcopy}", so it can be a program name with args.
13492 set dummy
${aros_tool_prefix}${toolchain_objcopy}; ac_word
=$2
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13494 $as_echo_n "checking for $ac_word... " >&6; }
13495 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13496 $as_echo_n "(cached) " >&6
13498 case $orig_target_objcopy in
13500 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13504 for as_dir
in $PATH
13507 test -z "$as_dir" && as_dir
=.
13508 for ac_exec_ext
in '' $ac_executable_extensions; do
13509 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13510 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13521 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13522 if test -n "$orig_target_objcopy"; then
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13524 $as_echo "$orig_target_objcopy" >&6; }
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13527 $as_echo "no" >&6; }
13531 orig_target_objcopy
="$orig_target_objcopy $ac_tool_optarg"
13535 if test "$orig_target_objcopy" = ""; then
13538 if test "$orig_target_objcopy" = "no"; then
13541 if test "$req_avail" = "no"; then
13542 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
13545 if test "${aros_tool_prefix}${toolchain_objdump}" = ""; then
13546 if test "$cross_compiling" = "yes" ; then
13547 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
13548 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13550 $as_echo_n "checking for $ac_word... " >&6; }
13551 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13552 $as_echo_n "(cached) " >&6
13554 case $orig_target_objdump in
13556 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13560 for as_dir
in $PATH
13563 test -z "$as_dir" && as_dir
=.
13564 for ac_exec_ext
in '' $ac_executable_extensions; do
13565 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13566 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13577 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13578 if test -n "$orig_target_objdump"; then
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13580 $as_echo "$orig_target_objdump" >&6; }
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13583 $as_echo "no" >&6; }
13588 if test "$GCC" = "yes"; then
13589 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
13590 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
13591 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13593 $as_echo_n "checking for $ac_word... " >&6; }
13594 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13595 $as_echo_n "(cached) " >&6
13597 case $orig_target_objdump in
13599 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13603 for as_dir
in `dirname $aros_gcc_objdump`
13606 test -z "$as_dir" && as_dir
=.
13607 for ac_exec_ext
in '' $ac_executable_extensions; do
13608 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13609 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13620 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13621 if test -n "$orig_target_objdump"; then
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13623 $as_echo "$orig_target_objdump" >&6; }
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13626 $as_echo "no" >&6; }
13631 if test "$orig_target_objdump" = ""; then
13632 # Extract the first word of "objdump", so it can be a program name with args.
13633 set dummy objdump
; ac_word
=$2
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13635 $as_echo_n "checking for $ac_word... " >&6; }
13636 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13637 $as_echo_n "(cached) " >&6
13639 case $orig_target_objdump in
13641 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13645 for as_dir
in $PATH
13648 test -z "$as_dir" && as_dir
=.
13649 for ac_exec_ext
in '' $ac_executable_extensions; do
13650 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13651 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13662 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13663 if test -n "$orig_target_objdump"; then
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13665 $as_echo "$orig_target_objdump" >&6; }
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13668 $as_echo "no" >&6; }
13675 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objdump}" : '[^ ]* \(.*\)'`
13676 # Extract the first word of "${aros_tool_prefix}${toolchain_objdump}", so it can be a program name with args.
13677 set dummy
${aros_tool_prefix}${toolchain_objdump}; ac_word
=$2
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13679 $as_echo_n "checking for $ac_word... " >&6; }
13680 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13681 $as_echo_n "(cached) " >&6
13683 case $orig_target_objdump in
13685 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13689 for as_dir
in $PATH
13692 test -z "$as_dir" && as_dir
=.
13693 for ac_exec_ext
in '' $ac_executable_extensions; do
13694 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13695 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13706 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13707 if test -n "$orig_target_objdump"; then
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13709 $as_echo "$orig_target_objdump" >&6; }
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13712 $as_echo "no" >&6; }
13716 orig_target_objdump
="$orig_target_objdump $ac_tool_optarg"
13720 if test "$orig_target_objdump" = ""; then
13723 if test "$orig_target_objdump" = "no"; then
13726 if test "$req_avail" = "no"; then
13727 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
13731 if test "$kernel_tool_prefix" = "none" ; then
13732 # No kernel tools specified
13733 # Assume target tools == kernel tools with ELF wrapper
13734 aros_kernel_cc
=$orig_target_cc
13735 aros_kernel_cxx
=$orig_target_cxx
13736 aros_kernel_cpp
=$orig_target_cpp
13737 aros_kernel_ld
=$orig_target_ld
13738 aros_kernel_as
=$orig_target_as
13739 aros_kernel_ar
=$orig_target_ar
13740 aros_kernel_ranlib
=$orig_target_ranlib
13741 aros_kernel_nm
=$orig_target_nm
13742 aros_kernel_strip
=$orig_target_strip
13743 aros_kernel_objcopy
=$orig_target_objcopy
13744 aros_kernel_objdump
=$orig_target_objdump
13745 use_kernel_cc_wrapper
=yes
13748 # At this point, all aros_kernel_* and aros_target_*
13749 # tools should be set up correctly
13751 CC
="$aros_kernel_cc $kernel_tool_flags"
13752 CPP
="$aros_kernel_cpp"
13754 #-----------------------------------------------------------------------------
13756 # Find all the tools we need to compile. This could be cross-compiling
13757 # though! If that is the case we use the GNU form of the target and
13758 # simply add this to the front of the binary name. This is rather simple,
13759 # but it should work under most circumstances.
13761 # The default tools are to use the same as the host, but only if the
13762 # host and target CPU are the same. With GCC this is normally enough.
13766 aros_shared_ld
="$aros_host_ld"
13768 aros_target_mkdep
="$aros_host_mkdep"
13770 # The default tools executables to be linked to.
13771 if test "$rescomp" != ""; then
13772 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
13773 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13775 $as_echo_n "checking for $ac_word... " >&6; }
13776 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
13777 $as_echo_n "(cached) " >&6
13779 case $aros_kernel_rescomp in
13781 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
13784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13785 for as_dir
in $PATH
13788 test -z "$as_dir" && as_dir
=.
13789 for ac_exec_ext
in '' $ac_executable_extensions; do
13790 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13791 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
13792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13802 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
13803 if test -n "$aros_kernel_rescomp"; then
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
13805 $as_echo "$aros_kernel_rescomp" >&6; }
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13808 $as_echo "no" >&6; }
13813 if test "$aros_kernel_rescomp" = ""; then
13816 if test "$aros_kernel_rescomp" = "no"; then
13819 if test "$req_avail" = "no"; then
13820 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
13824 # Set up the sources for the symlink farm
13825 if test "$crosstools" = "yes"; then
13826 crosstools_target
=tools-crosstools
13829 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
13830 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
13832 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/host/config"
13833 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
13834 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Developer/include/aros"
13835 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
13836 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
13837 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
13838 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
13840 # aros_cc_pre is a variable that is added to the front of the compiler name
13841 # in the generated aros-gcc shell script. We need this to enable the cache
13842 # to work across cleaned builds. Also, support DISTCC using the correct
13843 # environment variable.
13846 if test "x${DISTCC}" != "x" ; then
13847 if test "x${CCACHE}" != "x" ; then
13848 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
13850 aros_cc_pre
="${DISTCC} "
13853 if test "x${CCACHE}" != "x" ; then
13854 aros_cc_pre
="${CCACHE} "
13858 aros_target_nostdinc_cflags
=-nostdinc
13860 aros_target_nostartup_ldflags
=-nostartfiles
13862 aros_target_nix_ldflags
=-nix
13864 aros_target_detach_ldflags
=-detach
13866 aros_target_nostdlib_ldflags
=-nostdlib
13869 aros_target_cc_path
=
13873 if test "$aros_target_toolchain" != "yes"; then
13874 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
13875 if test "$GCC" = "yes"; then
13876 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
13879 # We do not know which c compiler version we are going to build and what we need to know
13880 # here is different for different versions so this will be set later during the
13881 # build of crosstools.
13882 if test "$aros_toolchain" = "gnu" ; then
13883 prefix
="$AROS_CROSSTOOLSDIR/${aros_target_cpu}-aros-"
13884 elif test "$aros_toolchain" = "llvm" ; then
13885 prefix
="$AROS_CROSSTOOLSDIR/bin/"
13887 aros_target_cc_path
=@aros_target_cc_path@
13889 aros_target_cpp
="${prefix}${toolchain_cpp_preprocessor}"
13890 aros_target_cc
="${prefix}${toolchain_c_compiler}"
13891 aros_target_cxx
="${prefix}${toolchain_cxx_compiler}"
13892 aros_target_as
="${prefix}${toolchain_as}"
13893 if test "${use_ld_wrapper}" = "yes"; then
13894 aros_target_ld
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${aros_ld}"
13896 aros_target_ld
="${prefix}${toolchain_ld}"
13898 aros_toolchain_ld
="${prefix}${toolchain_ld}"
13900 aros_target_ar
="${prefix}${toolchain_ar} $aros_target_ar_flags"
13901 aros_target_objcopy
="${prefix}${toolchain_objcopy}"
13902 aros_target_objdump
="${prefix}${toolchain_objdump}"
13903 aros_target_ranlib
="${prefix}${toolchain_ranlib} $aros_target_ranlib_flags"
13904 aros_target_nm
="${prefix}${toolchain_nm} $aros_target_nm_flags"
13905 aros_target_strip
="${prefix}${toolchain_strip}"
13906 aros_plain_nm
="${prefix}${toolchain_nm}"
13907 aros_plain_ar
="${prefix}${toolchain_ar}"
13909 # Check whether --enable-includes was given.
13910 if test "${enable_includes+set}" = set; then :
13911 enableval
=$enable_includes; aros_target_incl
=$enable_includes
13913 aros_target_incl
=no
13917 if test "x$aros_target_incl" = "xno"; then
13918 if test "x$test_kernel_cc" != "xno"; then
13919 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
13925 if test "x$aros_kernel_includes" = "x"; then
13926 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13927 if test "x$aros_target_incl" != "x"; then
13928 aros_kernel_includes
="-isystem $aros_target_incl"
13933 if test "x$test_kernel_cc" != "xno"; then
13934 if test "$aros_kernel_includes" != "" ; then
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
13936 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
13937 if test "$aros_kernel_cc_includes" = "" ; then
13938 # Try to guess where the directory is.
13939 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
13940 if test -d $aros_kernel_cc_includes; then
13941 # Check if there is also an include-fixed directory and add it
13942 # to kernel compiler's include path as it may contain some of
13943 # the headers we need.
13944 if test -d "$aros_kernel_cc_includes"-fixed; then
13945 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
13947 # Check for specific includes directory. Needed for Ubuntu 11.10 and Debian
13948 if test -d "/usr/include/${aros_target_cpu}-linux-gnu"; then
13949 aros_kernel_cc_includes
+=" -isystem /usr/include/${aros_target_cpu}-linux-gnu"
13952 # The directory doesn't exist, we need to do some more work.
13953 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
13955 # These are the headers we're looking for.
13956 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13957 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13961 for h
in $headers; do
13962 # Which other headers are needed by each of the above?
13963 deps
=$
(echo "#include <$h>" | \
13964 $aros_kernel_cc -E -M - 2>/dev
/null | \
13965 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13967 # Copy all the needed headers to a directory beneath gendir.
13970 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
13971 sed -n "s,^.*/include\(/.*\),\1,p")
13972 ! test -d $dir && mkdir
-p $dir
13973 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
13979 $as_echo "$aros_kernel_cc_includes" >&6; }
13980 # Adding -nostdinc to kernel includes as they are always used together.
13981 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
13985 if test "$crosstools" != "yes"; then
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
13987 $as_echo_n "checking for the target compiler's include path... " >&6; }
13988 if test "$aros_target_cc_includes" = "" ; then
13989 #try to guess where the directory is
13990 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
13991 if ! test -d $aros_target_cc_includes; then
13992 #the directory doesn't exist, we need to do some more work
13993 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
13995 #these are the headers we're looking for
13996 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13997 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
14001 for h
in $headers; do
14002 #which other headers each of the above headers needs?
14003 deps
=$
(echo "#include <$h>" | \
14004 $orig_target_cc -E -M - 2>/dev
/null | \
14005 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
14007 #copy all the needed headers to a directory beneath gendir
14010 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
14011 sed -n "s,^.*/include\(/.*\),\1,p")
14012 ! test -d $dir && mkdir
-p $dir
14013 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
14019 $as_echo "$aros_target_cc_includes" >&6; }
14021 # We do not know which c compiler version we are going to build and what we need to know
14022 # here is different for different versions so this will be set later during the
14023 # build of crosstools.
14024 aros_target_cc_includes
=@aros_target_cc_includes@
14028 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
14029 # On GCC >= 4.0 -iquote should be used
14033 save_cflags
="$CFLAGS"
14034 if test "x$test_kernel_cc" != "xno"; then
14036 kernel_cflags_iquote
=$host_cflags_iquote
14037 kernel_cflags_iquote_end
=$host_cflags_iquote_end
14038 if test "x-$cross_compiling" = "x-yes"; then
14039 CC
="$aros_kernel_cc"
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
14041 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
14042 if test "x-$crosstools" != "x-yes"; then
14043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14044 /* end confdefs.h. */
14054 if ac_fn_c_try_compile
"$LINENO"; then :
14055 use_no_stack_protector
="yes"
14057 use_no_stack_protector
="no"
14059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14061 # we do know it is supported for the smallest version of gcc we are going to build
14062 # we assume it's also supported by later versions
14063 use_no_stack_protector
=yes
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
14066 $as_echo "$use_no_stack_protector" >&6; }
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
14068 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
14069 if test "x-$crosstools" != "x-yes"; then
14070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14071 /* end confdefs.h. */
14081 if ac_fn_c_try_compile
"$LINENO"; then :
14086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14088 # we do know it is supported for the smallest version of gcc we are going to build
14089 # we assume it's also supported by later versions
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
14093 $as_echo "$has_iquote" >&6; }
14094 if test "x-$has_iquote" = "x-yes" ; then
14095 kernel_cflags_iquote
=-iquote
14096 kernel_cflags_iquote_end
=
14098 kernel_cflags_iquote
=-I
14099 kernel_cflags_iquote_end
=-I-
14102 if test "x-$use_no_stack_protector" = "x-yes" ; then
14103 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
14106 #-----------------------------------------------------------------------------
14108 # Check if we can explicitly choose older version of symbol hashing
14110 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
14111 CC
="$aros_kernel_cc"
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
14113 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
14114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14115 /* end confdefs.h. */
14125 if ac_fn_c_try_link
"$LINENO"; then :
14126 use_hash_style
="yes"
14128 use_hash_style
="no"
14130 rm -f core conftest.err conftest.
$ac_objext \
14131 conftest
$ac_exeext conftest.
$ac_ext
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
14133 $as_echo "$use_hash_style" >&6; }
14134 if test "x-$use_hash_style" = "x-yes" ; then
14135 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
14138 kernel_cflags_iquote
="$""(CFLAGS_IQUOTE)"
14139 kernel_cflags_iquote_end
="$""(CFLAGS_IQUOTE_END)"
14142 CFLAGS
="$save_cflags"
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
14151 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
14153 # Check whether --with-resolution was given.
14154 if test "${with_resolution+set}" = set; then :
14155 withval
=$with_resolution; resolution
=$withval
14160 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
14161 if test "$resolution" = "yes" ; then
14164 if test "$resolution" = "no" ; then
14167 if test "$resolution" != "none" ; then
14168 aros_nominal_width
=`echo $resolution | cut -d'x' -f1`
14169 aros_nominal_height
=`echo $resolution | cut -d'x' -f2`
14170 aros_nominal_depth
=`echo $resolution | cut -d'x' -f3`
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&5
14173 $as_echo "$aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&6; }
14174 aros_cv_nominal_width
=$aros_nominal_width
14175 aros_cv_nominal_height
=$aros_nominal_height
14176 aros_cv_nominal_depth
=$aros_nominal_depth
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether serial debug is enabled" >&5
14179 $as_echo_n "checking whether serial debug is enabled... " >&6; }
14181 # Check whether --with-serial-debug was given.
14182 if test "${with_serial_debug+set}" = set; then :
14183 withval
=$with_serial_debug; serial_debug
=$withval
14188 if test "$aros_serial_debug" = 0 ; then
14189 serial_debug_forced
=""
14190 if test "$serial_debug" = "yes" ; then
14193 if test "$serial_debug" = "no" ; then
14194 serial_debug
="none"
14197 serial_debug_forced
="(forced)"
14198 serial_debug
=$aros_serial_debug
14200 if test "$serial_debug" != "none" ; then
14201 aros_serial_debug
=$serial_debug
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
14203 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14206 $as_echo "no" >&6; }
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether palm debug hack is enabled" >&5
14210 $as_echo_n "checking whether palm debug hack is enabled... " >&6; }
14211 # Check whether --enable-palm_debug_hack was given.
14212 if test "${enable_palm_debug_hack+set}" = set; then :
14213 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
14215 palm_debug_hack
="no"
14218 if test "$palm_debug_hack" = "yes" ; then
14219 aros_palm_debug_hack
="1"
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
14222 $as_echo "$palm_debug_hack" >&6; }
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usb3.0 code is enabled" >&5
14225 $as_echo_n "checking whether usb3.0 code is enabled... " >&6; }
14226 # Check whether --enable-usb30_code was given.
14227 if test "${enable_usb30_code+set}" = set; then :
14228 enableval
=$enable_usb30_code; usb30_code
="yes"
14233 if test "$usb30_code" = "yes" ; then
14234 aros_config_cppflags
="$aros_config_cppflags -DAROS_USB30_CODE"
14235 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
14238 $as_echo "$usb30_code" >&6; }
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether nesting supervisor support is enabled" >&5
14241 $as_echo_n "checking whether nesting supervisor support is enabled... " >&6; }
14242 # Check whether --enable-nesting_supervisor was given.
14243 if test "${enable_nesting_supervisor+set}" = set; then :
14244 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
14246 nesting_supervisor
="no"
14249 if test "$nesting_supervisor" = "yes" ; then
14250 aros_nesting_supervisor
="1"
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
14253 $as_echo "$nesting_supervisor" >&6; }
14255 if test "$aros_enable_mmu" = "" ; then
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MMU support is enabled" >&5
14257 $as_echo_n "checking whether MMU support is enabled... " >&6; }
14258 # Check whether --enable-mmu was given.
14259 if test "${enable_mmu+set}" = set; then :
14260 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
14262 aros_enable_mmu
="yes"
14265 if test "$aros_enable_mmu" = "" ; then
14266 aros_enable_mmu
="yes"
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
14269 $as_echo "$aros_enable_mmu" >&6; }
14271 if test "$aros_enable_mmu" = "no" ; then
14272 aros_enable_mmu
="0"
14274 aros_enable_mmu
="1"
14278 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
14280 if test "x-$need_dlopen" != "x-no" ; then
14283 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
14284 if test "x$ac_cv_func_dlopen" = xyes
; then :
14290 if test "x-$have_dl" = "x-no" ; then
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14292 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14293 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14294 $as_echo_n "(cached) " >&6
14296 ac_check_lib_save_LIBS
=$LIBS
14298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14299 /* end confdefs.h. */
14301 /* Override any GCC internal prototype to avoid an error.
14302 Use char because int might match the return type of a GCC
14303 builtin and then its argument prototype would still apply. */
14316 if ac_fn_c_try_link
"$LINENO"; then :
14317 ac_cv_lib_dl_dlopen
=yes
14319 ac_cv_lib_dl_dlopen
=no
14321 rm -f core conftest.err conftest.
$ac_objext \
14322 conftest
$ac_exeext conftest.
$ac_ext
14323 LIBS
=$ac_check_lib_save_LIBS
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14326 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14327 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14329 aros_host_ldflags
="$aros_host_ldflags -ldl"
14335 if test "x-$have_dl" = "x-no" ; then
14336 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
14342 # Check whether --enable-x11_hidd was given.
14343 if test "${enable_x11_hidd+set}" = set; then :
14344 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
14346 x11_hidd
="$need_x11"
14349 case "x-$x11_hidd" in
14350 x-yes|x-no|x-auto
) ;;
14351 *) x11_hidd
="$need_x11" ;;
14356 if test "x-$x11_hidd" != "x-no" ; then
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
14359 $as_echo_n "checking for X... " >&6; }
14362 # Check whether --with-x was given.
14363 if test "${with_x+set}" = set; then :
14367 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
14368 if test "x$with_x" = xno
; then
14369 # The user explicitly disabled X.
14372 case $x_includes,$x_libraries in #(
14373 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
14374 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
14375 $as_echo_n "(cached) " >&6
14377 # One or both of the vars are not set, and there is no cached value.
14378 ac_x_includes
=no ac_x_libraries
=no
14379 rm -f -r conftest.dir
14380 if mkdir conftest.dir
; then
14382 cat >Imakefile
<<'_ACEOF'
14384 @echo incroot='${INCROOT}'
14386 @echo usrlibdir='${USRLIBDIR}'
14388 @echo libdir='${LIBDIR}'
14390 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
14391 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14392 for ac_var
in incroot usrlibdir libdir
; do
14393 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14395 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14396 for ac_extension
in a so sl dylib la dll
; do
14397 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14398 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14399 ac_im_usrlibdir
=$ac_im_libdir; break
14402 # Screen out bogus values from the imake configuration. They are
14403 # bogus both because they are the default anyway, and because
14404 # using them would break gcc on systems where it needs fixed includes.
14405 case $ac_im_incroot in
14406 /usr
/include
) ac_x_includes
= ;;
14407 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
14409 case $ac_im_usrlibdir in
14410 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
14411 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
14415 rm -f -r conftest.dir
14418 # Standard set of common directories for X headers.
14419 # Check X11 before X11Rn because it is often a symlink to the current release.
14433 /usr/local/X11/include
14434 /usr/local/X11R7/include
14435 /usr/local/X11R6/include
14436 /usr/local/X11R5/include
14437 /usr/local/X11R4/include
14439 /usr/local/include/X11
14440 /usr/local/include/X11R7
14441 /usr/local/include/X11R6
14442 /usr/local/include/X11R5
14443 /usr/local/include/X11R4
14447 /usr/XFree86/include/X11
14451 /usr/unsupported/include
14452 /usr/athena/include
14453 /usr/local/x11r5/include
14454 /usr/lpp/Xamples/include
14456 /usr/openwin/include
14457 /usr/openwin/share/include'
14459 if test "$ac_x_includes" = no
; then
14460 # Guess where to find include files, by looking for Xlib.h.
14461 # First, try using that file with no special directory specified.
14462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14463 /* end confdefs.h. */
14464 #include <X11/Xlib.h>
14466 if ac_fn_c_try_cpp
"$LINENO"; then :
14467 # We can compile using X headers with no special include directory.
14470 for ac_dir
in $ac_x_header_dirs; do
14471 if test -r "$ac_dir/X11/Xlib.h"; then
14472 ac_x_includes
=$ac_dir
14477 rm -f conftest.err conftest.i conftest.
$ac_ext
14478 fi # $ac_x_includes = no
14480 if test "$ac_x_libraries" = no
; then
14481 # Check for the libraries.
14482 # See if we find them without any special options.
14483 # Don't add to $LIBS permanently.
14486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14487 /* end confdefs.h. */
14488 #include <X11/Xlib.h>
14497 if ac_fn_c_try_link
"$LINENO"; then :
14499 # We can link X programs with no special library path.
14503 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14505 # Don't even attempt the hair of trying to link an X program!
14506 for ac_extension
in a so sl dylib la dll
; do
14507 if test -r "$ac_dir/libX11.$ac_extension"; then
14508 ac_x_libraries
=$ac_dir
14514 rm -f core conftest.err conftest.
$ac_objext \
14515 conftest
$ac_exeext conftest.
$ac_ext
14516 fi # $ac_x_libraries = no
14518 case $ac_x_includes,$ac_x_libraries in #(
14519 no
,* |
*,no |
*\'*)
14520 # Didn't find X, or a directory has "'" in its name.
14521 ac_cv_have_x
="have_x=no";; #(
14523 # Record where we found X for the cache.
14524 ac_cv_have_x
="have_x=yes\
14525 ac_x_includes='$ac_x_includes'\
14526 ac_x_libraries='$ac_x_libraries'"
14532 eval "$ac_cv_have_x"
14535 if test "$have_x" != yes; then
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14537 $as_echo "$have_x" >&6; }
14540 # If each of the values was on the command line, it overrides each guess.
14541 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
14542 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
14543 # Update the cache value to reflect the command line values.
14544 ac_cv_have_x
="have_x=yes\
14545 ac_x_includes='$x_includes'\
14546 ac_x_libraries='$x_libraries'"
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14548 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
14552 if test -n "$x_includes"; then
14553 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14556 if test -n "$x_libraries"; then
14557 X_LIBS
="$X_LIBS -L$x_libraries"
14560 if test "x-$no_x" = "x-yes" ; then
14562 if test "x-$x11_hidd" != "x-auto" ; then
14563 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
14567 aros_target_options
+="$export_newline""# Enable X11 Gfx Driver$export_newline""OPT_HOST_X11GFX := yes$export_newline"
14568 if test "x-$host_feature_glx" != "x-no" ; then
14569 aros_target_options
+="$export_newline""# Enable X11 HostGL 3D Passthrough$export_newline""OPT_HOST_X11_HOSTGL := yes$export_newline"
14573 aros_host_x11_cflags
="$X_CFLAGS"
14574 aros_host_x11_ldflags
="$X_LIBS -lX11"
14576 # Check whether --enable-x11_shm was given.
14577 if test "${enable_x11_shm+set}" = set; then :
14578 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
14580 x11_hidd_shm
="auto"
14583 case "x-$x11_hidd_shm" in
14584 x-yes|x-no|x-auto
) ;;
14585 *) x11_hidd_shm
="auto" ;;
14590 if test "x-$x11_hidd_shm" != "x-no" ; then
14592 for ac_header
in sys
/ipc.h
14594 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
14595 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
14596 cat >>confdefs.h
<<_ACEOF
14597 #define HAVE_SYS_IPC_H 1
14604 for ac_header
in sys
/shm.h
14606 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
14607 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
14608 cat >>confdefs.h
<<_ACEOF
14609 #define HAVE_SYS_SHM_H 1
14617 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
14619 save_cflags
="$CFLAGS"
14620 save_ldflags
="$LDFLAGS"
14621 CFLAGS
="$CFLAGS $X_CFLAGS"
14622 LDFLAGS
="$LDFLAGS $X_LIBS"
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14624 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
14625 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
14626 $as_echo_n "(cached) " >&6
14628 ac_check_lib_save_LIBS
=$LIBS
14629 LIBS
="-lXext $LIBS"
14630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14631 /* end confdefs.h. */
14633 /* Override any GCC internal prototype to avoid an error.
14634 Use char because int might match the return type of a GCC
14635 builtin and then its argument prototype would still apply. */
14639 char XShmQueryExtension ();
14643 return XShmQueryExtension ();
14648 if ac_fn_c_try_link
"$LINENO"; then :
14649 ac_cv_lib_Xext_XShmQueryExtension
=yes
14651 ac_cv_lib_Xext_XShmQueryExtension
=no
14653 rm -f core conftest.err conftest.
$ac_objext \
14654 conftest
$ac_exeext conftest.
$ac_ext
14655 LIBS
=$ac_check_lib_save_LIBS
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14658 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14659 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
14663 CFLAGS
="$save_cflags"
14664 LDFLAGS
="$save_ldflags"
14668 if test "x-$have_xshm" = "x-yes" ; then
14669 DO_XSHM_SUPPORT
="1"
14670 elif test "x-$x11_hidd_shm" = "x-yes" ; then
14671 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
14673 DO_XSHM_SUPPORT
="0"
14677 # Check whether --enable-x11_vidmode was given.
14678 if test "${enable_x11_vidmode+set}" = set; then :
14679 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
14681 x11_hidd_vidmode
="auto"
14684 case "x-$x11_hidd_vidmode" in
14685 x-yes|x-no|x-auto
) ;;
14686 *) x11_hidd_vidmode
="auto" ;;
14691 if test "x-$x11_hidd_vidmode" != "x-no" ; then
14693 save_cflags
="$CFLAGS"
14694 save_ldflags
="$LDFLAGS"
14695 CFLAGS
="$CFLAGS $X_CFLAGS"
14696 LDFLAGS
="$LDFLAGS $X_LIBS"
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
14698 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
14699 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
14700 $as_echo_n "(cached) " >&6
14702 ac_check_lib_save_LIBS
=$LIBS
14703 LIBS
="-lXxf86vm $LIBS"
14704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14705 /* end confdefs.h. */
14707 /* Override any GCC internal prototype to avoid an error.
14708 Use char because int might match the return type of a GCC
14709 builtin and then its argument prototype would still apply. */
14713 char XF86VidModeQueryExtension ();
14717 return XF86VidModeQueryExtension ();
14722 if ac_fn_c_try_link
"$LINENO"; then :
14723 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
14725 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
14727 rm -f core conftest.err conftest.
$ac_objext \
14728 conftest
$ac_exeext conftest.
$ac_ext
14729 LIBS
=$ac_check_lib_save_LIBS
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
14732 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
14733 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
14737 CFLAGS
="$save_cflags"
14738 LDFLAGS
="$save_ldflags"
14741 if test "x-$have_vidmode" = "x-yes" ; then
14742 DO_VIDMODE_SUPPORT
="1"
14743 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
14744 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
14746 DO_VIDMODE_SUPPORT
="0"
14751 # Check whether --enable-sdl_hidd was given.
14752 if test "${enable_sdl_hidd+set}" = set; then :
14753 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
14758 case "x-$sdl_hidd" in
14759 x-yes|x-no|x-auto
) ;;
14760 *) sdl_hidd
="auto" ;;
14763 if test "x-$sdl_hidd" != "x-no" ; then
14767 # Check whether --with-sdl-prefix was given.
14768 if test "${with_sdl_prefix+set}" = set; then :
14769 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
14775 # Check whether --with-sdl-exec-prefix was given.
14776 if test "${with_sdl_exec_prefix+set}" = set; then :
14777 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
14782 # Check whether --enable-sdltest was given.
14783 if test "${enable_sdltest+set}" = set; then :
14784 enableval
=$enable_sdltest;
14790 if test x
$sdl_exec_prefix != x
; then
14791 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
14792 if test x
${SDL_CONFIG+set} != xset
; then
14793 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
14796 if test x
$sdl_prefix != x
; then
14797 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
14798 if test x
${SDL_CONFIG+set} != xset
; then
14799 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
14803 as_save_PATH
="$PATH"
14804 if test "x$prefix" != xNONE
; then
14805 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
14807 # Extract the first word of "sdl-config", so it can be a program name with args.
14808 set dummy sdl-config
; ac_word
=$2
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14810 $as_echo_n "checking for $ac_word... " >&6; }
14811 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
14812 $as_echo_n "(cached) " >&6
14814 case $SDL_CONFIG in
14816 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
14819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14820 for as_dir
in $PATH
14823 test -z "$as_dir" && as_dir
=.
14824 for ac_exec_ext
in '' $ac_executable_extensions; do
14825 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14826 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14834 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
14838 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
14839 if test -n "$SDL_CONFIG"; then
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
14841 $as_echo "$SDL_CONFIG" >&6; }
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14844 $as_echo "no" >&6; }
14848 PATH
="$as_save_PATH"
14849 min_sdl_version
=$SDL_VERSION
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
14851 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
14853 if test "$SDL_CONFIG" = "no" ; then
14856 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
14857 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
14859 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
14860 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
14861 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
14862 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
14863 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
14864 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
14865 if test "x$enable_sdltest" = "xyes" ; then
14866 ac_save_CFLAGS
="$CFLAGS"
14867 ac_save_CXXFLAGS
="$CXXFLAGS"
14868 ac_save_LIBS
="$LIBS"
14869 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14870 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14871 LIBS
="$LIBS $SDL_LIBS"
14873 if test "$cross_compiling" = yes; then :
14874 echo $ac_n "cross compiling; assumed OK... $ac_c"
14876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14877 /* end confdefs.h. */
14880 #include <stdlib.h>
14881 #include <string.h>
14885 my_strdup (char *str)
14891 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14892 strcpy (new_str, str);
14900 int main (int argc, char *argv[])
14902 int major, minor, micro;
14905 /* This hangs on some systems (?)
14906 system ("touch conf.sdltest");
14908 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14910 /* HP/UX 9 (%@#!) writes to sscanf strings */
14911 tmp_version = my_strdup("$min_sdl_version");
14912 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14913 printf("%s, bad version string\n", "$min_sdl_version");
14917 if (($sdl_major_version > major) ||
14918 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14919 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14925 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14926 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14927 printf("*** best to upgrade to the required version.\n");
14928 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14929 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14930 printf("*** config.cache before re-running configure\n");
14937 if ac_fn_c_try_run
"$LINENO"; then :
14942 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14943 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14946 CFLAGS
="$ac_save_CFLAGS"
14947 CXXFLAGS
="$ac_save_CXXFLAGS"
14948 LIBS
="$ac_save_LIBS"
14951 if test "x$no_sdl" = x
; then
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14953 $as_echo "yes" >&6; }
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14957 $as_echo "no" >&6; }
14958 if test "$SDL_CONFIG" = "no" ; then
14959 echo "*** The sdl-config script installed by SDL could not be found"
14960 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14961 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14962 echo "*** full path to sdl-config."
14964 if test -f conf.sdltest
; then
14967 echo "*** Could not run SDL test program, checking why..."
14968 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14969 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14970 LIBS
="$LIBS $SDL_LIBS"
14971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14972 /* end confdefs.h. */
14977 int main(int argc, char *argv[])
14980 #define main K_and_R_C_main
14990 if ac_fn_c_try_link
"$LINENO"; then :
14991 echo "*** The test program compiled, but did not run. This usually means"
14992 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14993 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14994 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14995 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14996 echo "*** is required on your system"
14998 echo "*** If you have an old version installed, it is best to remove it, although"
14999 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
15001 echo "*** The test program failed to compile or link. See the file config.log for the"
15002 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
15003 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
15004 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
15006 rm -f core conftest.err conftest.
$ac_objext \
15007 conftest
$ac_exeext conftest.
$ac_ext
15008 CFLAGS
="$ac_save_CFLAGS"
15009 CXXFLAGS
="$ac_save_CXXFLAGS"
15010 LIBS
="$ac_save_LIBS"
15022 if test "x-$have_sdl" != "x-yes" ; then
15024 if test "x-$sdl_hidd" != "x-auto" ; then
15025 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
15029 aros_target_options
+="$export_newline""# Enable SDL Gfx Driver$export_newline""OPT_HOST_SDLGFX := yes$export_newline"
15030 aros_host_sdl_cflags
=$SDL_CFLAGS
15031 aros_host_sdl_libs
=$SDL_LIBS
15038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether building of dbus.library is enabled" >&5
15039 $as_echo_n "checking whether building of dbus.library is enabled... " >&6; }
15040 # Check whether --enable-dbus was given.
15041 if test "${enable_dbus+set}" = set; then :
15042 enableval
=$enable_dbus; dbus
="yes"
15047 if test "$dbus" = "yes" ; then
15049 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
15050 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
15051 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
15052 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
15057 $as_echo "$dbus" >&6; }
15059 if test "$use_kernel_cc_wrapper" = "yes" ; then
15060 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-${toolchain_c_compiler}"
15063 aros_kernel_cppflags
=$aros_config_cppflags
15064 aros_optimization_cflags
="$optimization_level"
15065 if test "$optimization" = "default"; then
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default optimization level to use" >&5
15067 $as_echo_n "checking default optimization level to use... " >&6; }
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization_level" >&5
15069 $as_echo "$optimization_level" >&6; }
15072 if ! test "$gcc_default_cpu" = "" ; then
15073 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"
15076 if test "$use_libatomic" = "yes" ; then
15077 aros_cxx_libs
="$aros_cxx_libs -latomic"
15095 # Compatability with other Amiga-like operating systems
15098 # Host Related ###########################
15130 # Target Related #########################
15223 # Native version related
15231 # Bootloader related
15234 # Unix/Hosted version related
15237 # ARM default GCC target related
15244 # Palm native version related
15247 # Apple iOS related
15264 # Collect-aros stuff: "-ius" to ignore undefined symbols
15267 # C compiler related
15272 #ObjC compiler related
15300 case "$aros_flavour" in
15301 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
15302 aros_flavour
="emulation" ;;
15303 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
15304 aros_flavour
="emulation" ;;
15305 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
15306 aros_flavour
="standalone";;
15307 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15308 aros_flavour
="standalone";;
15309 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
15310 aros_flavour
="native" ;;
15311 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
15312 aros_flavour
="native" ;;
15313 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
15314 aros_flavour
="linklib" ;;
15315 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15316 aros_flavour
="palmnative" ;;
15317 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15318 aros_flavour
="mac68knative" ;;
15319 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15320 aros_flavour
="ppcnative" ;;
15323 if test ! -d ${aros_inc_dir} ; then
15324 ${MKDIR} ${aros_inc_dir}
15326 if test ! -d ${aros_geninc_dir} ; then
15327 ${MKDIR} ${aros_geninc_dir}
15329 if test ! -d ${aros_hostcfg_dir} ; then
15330 ${MKDIR} ${aros_hostcfg_dir}
15332 if test ! -d ${aros_targetcfg_dir} ; then
15333 ${MKDIR} ${aros_targetcfg_dir}
15335 if test ! -d ${aros_tools_dir} ; then
15336 ${MKDIR} ${aros_tools_dir}
15338 if test ! -d ${aros_scripts_dir} ; then
15339 ${MKDIR} ${aros_scripts_dir}
15342 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
15345 # Generic build tools (metamake, etc)
15346 ac_config_commands
="$ac_config_commands genmf-executable-support"
15348 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"
15352 ac_config_commands
="$ac_config_commands binutils-support"
15354 if test "${use_ld_wrapper}" = "yes"; then
15355 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"
15358 # Bare Elf support script and spec
15359 if test "${use_kernel_cc_wrapper}" = "yes"; then
15360 ac_config_commands
="$ac_config_commands elf-compiler-support"
15362 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"
15366 # Host compiler support scripts and spec
15367 if test "${aros_target_toolchain}" = "no"; then
15368 ac_config_commands
="$ac_config_commands host-compiler-wrapper-support"
15370 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"
15375 if test "$aros_target_variant" == "android"; then
15376 ac_config_files
="$ac_config_files ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in"
15381 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in"
15384 cat >confcache
<<\_ACEOF
15385 # This file is a shell script that caches the results of configure
15386 # tests run on this system so they can be shared between configure
15387 # scripts and configure runs, see configure's option --config-cache.
15388 # It is not useful on other systems. If it contains results you don't
15389 # want to keep, you may remove or edit it.
15391 # config.status only pays attention to the cache file if you give it
15392 # the --recheck option to rerun configure.
15394 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15395 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15396 # following values.
15400 # The following way of writing the cache mishandles newlines in values,
15401 # but we know of no workaround that is simple, portable, and efficient.
15402 # So, we kill variables containing newlines.
15403 # Ultrix sh set writes to stderr and can't be redirected directly,
15404 # and sets the high bit in the cache file unless we assign to the vars.
15406 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15407 eval ac_val
=\$
$ac_var
15411 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15412 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15415 _ | IFS | as_nl
) ;; #(
15416 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15417 *) { eval $ac_var=; unset $ac_var;} ;;
15423 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15424 *${as_nl}ac_space
=\
*)
15425 # `set' does not quote correctly, so add quotes: double-quote
15426 # substitution turns \\\\ into \\, and sed turns \\ into \.
15429 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15432 # `set' quotes correctly as required by POSIX, so do not add quotes.
15433 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15442 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15444 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15446 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15447 if test -w "$cache_file"; then
15448 if test "x$cache_file" != "x/dev/null"; then
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15450 $as_echo "$as_me: updating cache $cache_file" >&6;}
15451 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15452 cat confcache
>"$cache_file"
15454 case $cache_file in #(
15456 mv -f confcache
"$cache_file"$$
&&
15457 mv -f "$cache_file"$$
"$cache_file" ;; #(
15459 mv -f confcache
"$cache_file" ;;
15464 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15465 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15470 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15471 # Let make expand exec_prefix.
15472 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15474 DEFS
=-DHAVE_CONFIG_H
15479 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15480 # 1. Remove the extension, and $U if already installed.
15481 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15482 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15483 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15484 # will be set to the directory where LIBOBJS objects are built.
15485 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15486 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15488 LIBOBJS
=$ac_libobjs
15490 LTLIBOBJS
=$ac_ltlibobjs
15494 : "${CONFIG_STATUS=./config.status}"
15496 ac_clean_files_save
=$ac_clean_files
15497 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15499 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15501 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15503 # Generated by $as_me.
15504 # Run this file to recreate the current configuration.
15505 # Compiler output produced by configure, useful for debugging
15506 # configure, is in config.log if it exists.
15509 ac_cs_recheck=false
15512 SHELL=\${CONFIG_SHELL-$SHELL}
15515 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15516 ## -------------------- ##
15517 ## M4sh Initialization. ##
15518 ## -------------------- ##
15520 # Be more Bourne compatible
15521 DUALCASE
=1; export DUALCASE
# for MKS sh
15522 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15525 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15526 # is contrary to our usage. Disable this feature.
15527 alias -g '${1+"$@"}'='"$@"'
15528 setopt NO_GLOB_SUBST
15530 case `(set -o) 2>/dev/null` in #(
15542 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15543 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15544 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15545 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15546 # Prefer a ksh shell builtin over an external printf program on Solaris,
15547 # but without wasting forks for bash or zsh.
15548 if test -z "$BASH_VERSION$ZSH_VERSION" \
15549 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15550 as_echo='print
-r --'
15551 as_echo_n='print
-rn --'
15552 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15553 as_echo='printf %s
\n'
15554 as_echo_n='printf %s
'
15556 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15557 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15558 as_echo_n='/usr
/ucb
/echo -n'
15560 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15561 as_echo_n_body='eval
15565 expr "X$arg" : "X\\(.*\\)$as_nl";
15566 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15568 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15570 export as_echo_n_body
15571 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15573 export as_echo_body
15574 as_echo='sh
-c $as_echo_body as_echo
'
15577 # The user is always right.
15578 if test "${PATH_SEPARATOR+set}" != set; then
15580 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15581 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15588 # We need space, tab and new line, in precisely that order. Quoting is
15589 # there to prevent editors from complaining about space-tab.
15590 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15591 # splitting by setting IFS to empty value.)
15594 # Find who we are. Look in the path if we contain no directory separator.
15597 *[\\/]* ) as_myself=$0 ;;
15598 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15599 for as_dir in $PATH
15602 test -z "$as_dir" && as_dir=.
15603 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15609 # We did not find ourselves, most probably we were run as `sh COMMAND'
15610 # in which case we are not to be found in the path.
15611 if test "x$as_myself" = x
; then
15614 if test ! -f "$as_myself"; then
15615 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15619 # Unset variables that we do not need and which cause bugs (e.g. in
15620 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15621 # suppresses any "Segmentation fault" message there. '((' could
15622 # trigger a bug in pdksh 5.2.14.
15623 for as_var
in BASH_ENV ENV MAIL MAILPATH
15624 do eval test x\
${$as_var+set} = xset \
15625 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15638 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15641 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15642 # ----------------------------------------
15643 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15644 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15645 # script with STATUS, using 1 if that was 0.
15648 as_status
=$1; test $as_status -eq 0 && as_status
=1
15650 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15651 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15653 $as_echo "$as_me: error: $2" >&2
15654 as_fn_exit
$as_status
15658 # as_fn_set_status STATUS
15659 # -----------------------
15660 # Set $? to STATUS, without forking.
15661 as_fn_set_status
()
15664 } # as_fn_set_status
15666 # as_fn_exit STATUS
15667 # -----------------
15668 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15672 as_fn_set_status
$1
15678 # Portably unset VAR.
15681 { eval $1=; unset $1;}
15683 as_unset
=as_fn_unset
15684 # as_fn_append VAR VALUE
15685 # ----------------------
15686 # Append the text in VALUE to the end of the definition contained in VAR. Take
15687 # advantage of any shell optimizations that allow amortized linear growth over
15688 # repeated appends, instead of the typical quadratic growth present in naive
15690 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15691 eval 'as_fn_append ()
15702 # as_fn_arith ARG...
15703 # ------------------
15704 # Perform arithmetic evaluation on the ARGs, and store the result in the
15705 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15706 # must be portable across $(()) and expr.
15707 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15708 eval 'as_fn_arith ()
15715 as_val
=`expr "$@" || test $? -eq 1`
15720 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15721 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15727 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15728 as_basename
=basename
15733 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15739 as_me
=`$as_basename -- "$0" ||
15740 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15741 X"$0" : 'X\(//\)$' \| \
15742 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15744 sed '/^.*\/\([^/][^/]*\)\/*$/{
15758 # Avoid depending upon Character Ranges.
15759 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15760 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15761 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15762 as_cr_digits
='0123456789'
15763 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15765 ECHO_C
= ECHO_N
= ECHO_T
=
15766 case `echo -n x` in #(((((
15768 case `echo 'xy\c'` in
15769 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15771 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15778 rm -f conf$$ conf$$.exe conf$$.
file
15779 if test -d conf$$.dir
; then
15780 rm -f conf$$.dir
/conf$$.
file
15783 mkdir conf$$.dir
2>/dev
/null
15785 if (echo >conf$$.
file) 2>/dev
/null
; then
15786 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15788 # ... but there are two gotchas:
15789 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15790 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15791 # In both cases, we have to default to `cp -pR'.
15792 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15794 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15802 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15803 rmdir conf$$.dir
2>/dev
/null
15808 # Create "$as_dir" as a directory, including parents if necessary.
15813 -*) as_dir
=.
/$as_dir;;
15815 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15819 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15820 *) as_qdir
=$as_dir;;
15822 as_dirs
="'$as_qdir' $as_dirs"
15823 as_dir
=`$as_dirname -- "$as_dir" ||
15824 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15825 X"$as_dir" : 'X\(//\)[^/]' \| \
15826 X"$as_dir" : 'X\(//\)$' \| \
15827 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15828 $as_echo X"$as_dir" |
15829 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15833 /^X\(\/\/\)[^/].*/{
15846 test -d "$as_dir" && break
15848 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15849 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15853 if mkdir
-p .
2>/dev
/null
; then
15854 as_mkdir_p
='mkdir -p "$as_dir"'
15856 test -d .
/-p && rmdir .
/-p
15861 # as_fn_executable_p FILE
15862 # -----------------------
15863 # Test if FILE is an executable regular file.
15864 as_fn_executable_p
()
15866 test -f "$1" && test -x "$1"
15867 } # as_fn_executable_p
15868 as_test_x
='test -x'
15869 as_executable_p
=as_fn_executable_p
15871 # Sed expression to map a string onto a valid CPP name.
15872 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15874 # Sed expression to map a string onto a valid variable name.
15875 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15879 ## ----------------------------------- ##
15880 ## Main body of $CONFIG_STATUS script. ##
15881 ## ----------------------------------- ##
15883 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15886 # Save the log message, to keep $0 and so on meaningful, and to
15887 # report actual input values of CONFIG_FILES etc. instead of their
15888 # values after options handling.
15890 This file was extended by $as_me, which was
15891 generated by GNU Autoconf 2.69. Invocation command line was
15893 CONFIG_FILES = $CONFIG_FILES
15894 CONFIG_HEADERS = $CONFIG_HEADERS
15895 CONFIG_LINKS = $CONFIG_LINKS
15896 CONFIG_COMMANDS = $CONFIG_COMMANDS
15899 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15904 case $ac_config_files in *"
15905 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15908 case $ac_config_headers in *"
15909 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15914 # Files that config.status was made for.
15915 config_files="$ac_config_files"
15916 config_headers="$ac_config_headers"
15917 config_commands="$ac_config_commands"
15921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15923 \`$as_me' instantiates files and other configuration actions
15924 from templates according to the current configuration. Unless the files
15925 and actions are specified as TAGs, all are instantiated by default.
15927 Usage: $0 [OPTION]... [TAG]...
15929 -h, --help print this help, then exit
15930 -V, --version print version number and configuration settings, then exit
15931 --config print configuration, then exit
15932 -q, --quiet, --silent
15933 do not print progress messages
15934 -d, --debug don't remove temporary files
15935 --recheck update $as_me by reconfiguring in the same conditions
15936 --file=FILE[:TEMPLATE]
15937 instantiate the configuration file FILE
15938 --header=FILE[:TEMPLATE]
15939 instantiate the configuration header FILE
15941 Configuration files:
15944 Configuration headers:
15947 Configuration commands:
15950 Report bugs to the package provider."
15953 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15954 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15957 configured by $0, generated by GNU Autoconf 2.69,
15958 with options \\"\$ac_cs_config\\"
15960 Copyright (C) 2012 Free Software Foundation, Inc.
15961 This config.status script is free software; the Free Software Foundation
15962 gives unlimited permission to copy, distribute and modify it."
15966 test -n "\$AWK" || AWK=awk
15969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15970 # The default lists apply if the user does not specify any file.
15976 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15977 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15981 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15993 # Handling of the options.
15994 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15996 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15997 $as_echo "$ac_cs_version"; exit ;;
15998 --config |
--confi |
--conf |
--con |
--co |
--c )
15999 $as_echo "$ac_cs_config"; exit ;;
16000 --debug |
--debu |
--deb |
--de |
--d |
-d )
16002 --file |
--fil |
--fi |
--f )
16005 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16006 '') as_fn_error $?
"missing file argument" ;;
16008 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16009 ac_need_defaults
=false
;;
16010 --header |
--heade |
--head |
--hea )
16013 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16015 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16016 ac_need_defaults
=false
;;
16018 # Conflict between --help and --header
16019 as_fn_error $?
"ambiguous option: \`$1'
16020 Try \`$0 --help' for more information.";;
16021 --help |
--hel |
-h )
16022 $as_echo "$ac_cs_usage"; exit ;;
16023 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16024 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16027 # This is an error.
16028 -*) as_fn_error $?
"unrecognized option: \`$1'
16029 Try \`$0 --help' for more information." ;;
16031 *) as_fn_append ac_config_targets
" $1"
16032 ac_need_defaults
=false
;;
16038 ac_configure_extra_args
=
16040 if $ac_cs_silent; then
16042 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16047 if \$ac_cs_recheck; then
16048 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16050 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16051 CONFIG_SHELL='$SHELL'
16052 export CONFIG_SHELL
16057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16061 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16062 ## Running $as_me. ##
16068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16073 AROS_CROSSTOOLSDIR=${AROS_CROSSTOOLSDIR}
16074 aros_tools_dir=${aros_tools_dir}
16078 aros_host_exe_suffix=${aros_host_exe_suffix}
16079 aros_tools_dir=${aros_tools_dir}
16080 aros_target_cpu=${aros_target_cpu}
16081 aros_target_arch=${aros_target_arch}
16082 aros_target_suffix=${aros_target_suffix}
16083 orig_target_nm=${orig_target_nm}
16084 orig_target_as=${orig_target_as}
16085 orig_target_ar=${orig_target_ar}
16086 orig_target_ranlib=${orig_target_ranlib}
16087 orig_target_objdump=${orig_target_objdump}
16088 orig_target_objcopy=${orig_target_objcopy}
16089 orig_target_strip=${orig_target_strip}
16090 aros_kernel_ld=${aros_kernel_ld}
16094 aros_host_exe_suffix=${aros_host_exe_suffix}
16095 aros_tools_dir=${aros_tools_dir}
16096 aros_target_cpu=${aros_target_cpu}
16097 aros_target_arch=${aros_target_arch}
16098 aros_target_suffix=${aros_target_suffix}
16099 aros_kernel_ld=${aros_kernel_ld}
16103 aros_host_exe_suffix=${aros_host_exe_suffix}
16104 aros_tools_dir=${aros_tools_dir}
16105 aros_target_cpu=${aros_target_cpu}
16106 aros_target_arch=${aros_target_arch}
16107 aros_target_suffix=${aros_target_suffix}
16113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16115 # Handling of arguments.
16116 for ac_config_target
in $ac_config_targets
16118 case $ac_config_target in
16119 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
16120 "genmf-executable-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf-executable-support" ;;
16121 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16122 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
16123 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
16124 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
16125 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
16126 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
16127 "${aros_targetcfg_dir}/build.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/build.cfg:config/build.cfg.in" ;;
16128 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
16129 "compiler/include/geninc.cfg") CONFIG_FILES
="$CONFIG_FILES compiler/include/geninc.cfg:compiler/include/geninc.cfg.in" ;;
16130 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
16131 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
16132 "${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname") CONFIG_FILES="$CONFIG_FILES ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname:scripts/uname.in" ;;
16133 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
16134 "binutils-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS binutils-support" ;;
16135 "${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" ;;
16136 "elf-compiler-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS elf-compiler-support" ;;
16137 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
16138 "${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" ;;
16139 "host-compiler-wrapper-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS host-compiler-wrapper-support" ;;
16140 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
16141 "${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" ;;
16142 "${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" ;;
16143 "${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" ;;
16144 "${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" ;;
16145 "${aros_targetcfg_dir}/conf.cmake") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in" ;;
16147 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16152 # If the user did not use the arguments to specify the items to instantiate,
16153 # then the envvar interface is used. Set only those that are not.
16154 # We use the long form for the default assignment because of an extremely
16155 # bizarre bug on SunOS 4.1.3.
16156 if $ac_need_defaults; then
16157 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16158 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16159 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16162 # Have a temporary directory for convenience. Make it in the build tree
16163 # simply because there is no reason against having it here, and in addition,
16164 # creating and moving files from /tmp can sometimes cause problems.
16165 # Hook for its removal unless debugging.
16166 # Note that there is a small window in which the directory will not be cleaned:
16167 # after its creation but before its name has been assigned to `$tmp'.
16171 trap 'exit_status=$?
16172 : "${ac_tmp:=$tmp}"
16173 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16175 trap 'as_fn_exit 1' 1 2 13 15
16177 # Create a (secure) tmp directory for tmp files.
16180 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16184 tmp
=.
/conf$$
-$RANDOM
16185 (umask 077 && mkdir
"$tmp")
16186 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16189 # Set up the scripts for CONFIG_FILES section.
16190 # No need to generate them if there are no CONFIG_FILES.
16191 # This happens for instance with `./config.status config.h'.
16192 if test -n "$CONFIG_FILES"; then
16195 ac_cr
=`echo X | tr X '\015'`
16196 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16197 # But we know of no other shell where ac_cr would be empty at this
16198 # point, so we can use a bashism as a fallback.
16199 if test "x$ac_cr" = x
; then
16200 eval ac_cr
=\$
\'\\r
\'
16202 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16203 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16206 ac_cs_awk_cr
=$ac_cr
16209 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16214 echo "cat >conf$$subs.awk <<_ACEOF" &&
16215 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16217 } >conf$$subs.sh ||
16218 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16219 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16221 for ac_last_try in false false false false false :; do
16222 . ./conf$$subs.sh ||
16223 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16225 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16226 if test $ac_delim_n = $ac_delim_num; then
16228 elif $ac_last_try; then
16229 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16231 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16234 rm -f conf$$subs.sh
16236 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16237 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16241 s/^/S["/; s
/!.
*/"]=/
16251 s/\(.\{148\}\)..*/\1/
16253 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16258 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16265 s/\(.\{148\}\)..*/\1/
16267 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16271 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16276 ' <conf$$subs.awk | sed '
16281 ' >>$CONFIG_STATUS || ac_write_fail=1
16282 rm -f conf$$subs.awk
16283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16285 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16286 for (key in S) S_is_set[key] = 1
16292 nfields = split(line, field, "@
")
16294 len = length(field[1])
16295 for (i = 2; i < nfields; i++) {
16297 keylen = length(key)
16298 if (S_is_set[key]) {
16300 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16301 len += length(value) + length(field[++i])
16312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16313 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16314 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16317 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16318 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16321 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16322 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16323 # trailing colons and then remove the whole line if VPATH becomes empty
16324 # (actually we leave an empty line to preserve line numbers).
16325 if test "x
$srcdir" = x.; then
16326 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16344 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16345 fi # test -n "$CONFIG_FILES"
16347 # Set up the scripts for CONFIG_HEADERS section.
16348 # No need to generate them if there are no CONFIG_HEADERS.
16349 # This happens for instance with `./config.status Makefile'.
16350 if test -n "$CONFIG_HEADERS"; then
16351 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16355 # Transform confdefs.h into an awk script `defines.awk', embedded as
16356 # here-document in config.status, that substitutes the proper values into
16357 # config.h.in to produce config.h.
16359 # Create a delimiter string that does not exist in confdefs.h, to ease
16360 # handling of long lines.
16362 for ac_last_try in false false :; do
16363 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16364 if test -z "$ac_tt"; then
16366 elif $ac_last_try; then
16367 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16369 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16373 # For the awk script, D is an array of macro values keyed by name,
16374 # likewise P contains macro parameters if any. Preserve backslash
16375 # newline sequences.
16377 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16379 s/.\{148\}/&'"$ac_delim"'/g
16382 s/^[ ]*#[ ]*define[ ][ ]*/ /
16389 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16391 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16395 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16396 D["\
1"]=" \
3\\\\\\n
"\\/p
16398 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16403 s/.\{148\}/&'"$ac_delim"'/g
16408 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16411 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16413 ' <confdefs.h | sed '
16414 s/'"$ac_delim"'/"\\\
16415 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16417 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16418 for (key in D) D_is_set[key] = 1
16421 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16423 split(line, arg, " ")
16424 if (arg[1] == "#") {
16428 defundef
= substr
(arg
[1], 2)
16431 split(mac1
, mac2
, "(") #)
16433 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16434 if (D_is_set
[macro
]) {
16435 # Preserve the white space surrounding the "#".
16436 print prefix
"define", macro P
[macro
] D
[macro
]
16439 # Replace #undef with comments. This is necessary, for example,
16440 # in the case of _POSIX_SOURCE, which is predefined and required
16441 # on some systems where configure will not decide to define it.
16442 if (defundef
== "undef") {
16443 print
"/*", prefix defundef
, macro
, "*/"
16451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16452 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16453 fi # test -n "$CONFIG_HEADERS"
16456 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16461 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16463 case $ac_mode$ac_tag in
16465 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16466 :[FH
]-) ac_tag
=-:-;;
16467 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16484 -) ac_f
="$ac_tmp/stdin";;
16485 *) # Look for the file first in the build tree, then in the source tree
16486 # (if the path is not absolute). The absolute path cannot be DOS-style,
16487 # because $ac_f cannot contain `:'.
16491 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16493 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16495 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16496 as_fn_append ac_file_inputs
" '$ac_f'"
16499 # Let's still pretend it is `configure' which instantiates (i.e., don't
16500 # use $as_me), people would be surprised to read:
16501 # /* config.h. Generated by config.status. */
16502 configure_input
='Generated from '`
16503 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16505 if test x
"$ac_file" != x-
; then
16506 configure_input
="$ac_file. $configure_input"
16507 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16508 $as_echo "$as_me: creating $ac_file" >&6;}
16510 # Neutralize special characters interpreted by sed in replacement strings.
16511 case $configure_input in #(
16512 *\
&* |
*\|
* |
*\\* )
16513 ac_sed_conf_input
=`$as_echo "$configure_input" |
16514 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16515 *) ac_sed_conf_input
=$configure_input;;
16519 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16520 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16525 ac_dir
=`$as_dirname -- "$ac_file" ||
16526 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16527 X"$ac_file" : 'X\(//\)[^/]' \| \
16528 X"$ac_file" : 'X\(//\)$' \| \
16529 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16530 $as_echo X"$ac_file" |
16531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16535 /^X\(\/\/\)[^/].*/{
16548 as_dir
="$ac_dir"; as_fn_mkdir_p
16552 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16554 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16555 # A ".." for each directory in $ac_dir_suffix.
16556 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16557 case $ac_top_builddir_sub in
16558 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16559 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16562 ac_abs_top_builddir
=$ac_pwd
16563 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16564 # for backward compatibility:
16565 ac_top_builddir
=$ac_top_build_prefix
16568 .
) # We are building in place.
16570 ac_top_srcdir
=$ac_top_builddir_sub
16571 ac_abs_top_srcdir
=$ac_pwd ;;
16572 [\\/]* | ?
:[\\/]* ) # Absolute name.
16573 ac_srcdir
=$srcdir$ac_dir_suffix;
16574 ac_top_srcdir
=$srcdir
16575 ac_abs_top_srcdir
=$srcdir ;;
16576 *) # Relative name.
16577 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16578 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16579 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16581 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16593 # If the template does not know about datarootdir, expand it.
16594 # FIXME: This hack should be removed a few years after 2.60.
16595 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16606 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16607 *datarootdir
*) ac_datarootdir_seen
=yes;;
16608 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16610 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16613 ac_datarootdir_hack='
16614 s&@datadir@&$datadir&g
16615 s&@docdir@&$docdir&g
16616 s&@infodir@&$infodir&g
16617 s&@localedir@&$localedir&g
16618 s&@mandir@&$mandir&g
16619 s&\\\${datarootdir}&$datarootdir&g' ;;
16623 # Neutralize VPATH when `$srcdir' = `.'.
16624 # Shell code in configure.ac might set extrasub.
16625 # FIXME: do we really want to maintain this feature?
16626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16627 ac_sed_extra="$ac_vpsub
16630 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16632 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16633 s|@configure_input@|
$ac_sed_conf_input|
;t t
16634 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16635 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16636 s
&@srcdir@
&$ac_srcdir&;t t
16637 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16638 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16639 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16640 s
&@builddir@
&$ac_builddir&;t t
16641 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16642 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16643 $ac_datarootdir_hack
16645 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16646 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16648 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16649 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16650 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16651 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16653 which seems to be undefined. Please make sure it is defined" >&5
16654 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16655 which seems to be undefined. Please make sure it is defined" >&2;}
16657 rm -f "$ac_tmp/stdin"
16659 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16660 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16662 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16668 if test x"$ac_file" != x-; then
16670 $as_echo "/* $configure_input */" \
16671 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16672 } >"$ac_tmp/config.h" \
16673 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16674 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16675 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16676 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16679 mv "$ac_tmp/config.h" "$ac_file" \
16680 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16683 $as_echo "/* $configure_input */" \
16684 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16685 || as_fn_error $? "could not create -" "$LINENO" 5
16689 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16690 $as_echo "$as_me: executing $ac_file commands" >&6;}
16695 case $ac_file$ac_mode in
16696 "genmf-executable-support":C)
16697 chmod a+x ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname
16698 chmod a+x ${aros_tools_dir}/genmf.py
16700 "binutils-support":C)
16701 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16703 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
16705 chmod a+x ${prefix2}-ld
16707 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
16708 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
16709 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
16710 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
16711 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
16712 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
16713 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
16715 "elf-compiler-support":C)
16716 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16718 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
16720 chmod a+x ${prefix2}-gcc
16722 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix2}-ld$aros_host_exe_suffix
16724 "host-compiler-wrapper-support":C)
16725 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16727 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
16729 chmod a+x ${prefix2}-${toolchain_c_compiler} ${prefix2}-${toolchain_cxx_compiler} ${prefix2}-${toolchain_cpp_preprocessor}
16738 ac_clean_files=$ac_clean_files_save
16740 test $ac_write_fail = 0 ||
16741 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16744 # configure is writing to config.log, and then calls config.status.
16745 # config.status does its own redirection, appending to config.log.
16746 # Unfortunately, on DOS this fails, as config.log is still kept open
16747 # by configure, so config.status won't be able to
write to it
; its
16748 # output is simply discarded. So we exec the FD to /dev/null,
16749 # effectively closing config.log, so it can be properly (re)opened and
16750 # appended to by config.status. When coming back to configure, we
16751 # need to make the FD available again.
16752 if test "$no_create" != yes; then
16754 ac_config_status_args
=
16755 test "$silent" = yes &&
16756 ac_config_status_args
="$ac_config_status_args --quiet"
16758 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16760 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16761 # would make configure fail if this is the last instruction.
16762 $ac_cs_success || as_fn_exit
1
16764 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16766 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16771 #XXX compatability...
16772 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
16774 if test -n "$aros_shared_cflags" ; then
16775 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
16776 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg