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 target_binutils_version
629 ignore_undefined_symbols
643 gcc_default_float_abi
651 aros_nesting_supervisor
657 aros_host_x11_ldflags
668 crosstools_cxx_target
671 aros_optimization_cflags
673 aros_target_strip_flags
680 aros_kernel_objcflags
703 aros_target_cc_includes
719 aros_target_bootloader
740 aros_amigaos_compliance
747 aros_target_toolchain
756 kernel_cflags_iquote_end
758 host_cflags_iquote_end
761 aros_target_nostdlib_ldflags
762 aros_target_detach_ldflags
763 aros_target_nix_ldflags
764 aros_target_nostartup_ldflags
765 aros_target_nostdinc_cflags
804 arosconfig_use_libpngconfig
887 program_transform_name
900 enable_option_checking
909 with_kernel_gcc_version
913 enable_target_variant
920 enable_amigaos_compliance
921 with_kernel_toolchain_prefix
922 with_elf_toolchain_prefix
925 with_aros_toolchain_install
926 with_binutils_version
940 enable_palm_debug_hack
942 enable_nesting_supervisor
954 ac_precious_vars
='build_alias
970 # Initialize some variables set by options.
972 ac_init_version
=false
973 ac_unrecognized_opts
=
975 # The variables have the same names as the options, with
976 # dashes changed to underlines.
984 program_transform_name
=s
,x
,x
,
992 # Installation directory options.
993 # These are left unexpanded so users can "make install exec_prefix=/foo"
994 # and all the variables that are supposed to be based on exec_prefix
995 # by default will actually change.
996 # Use braces instead of parens because sh, perl, etc. also accept them.
997 # (The list follows the same order as the GNU Coding Standards.)
998 bindir
='${exec_prefix}/bin'
999 sbindir
='${exec_prefix}/sbin'
1000 libexecdir
='${exec_prefix}/libexec'
1001 datarootdir
='${prefix}/share'
1002 datadir
='${datarootdir}'
1003 sysconfdir
='${prefix}/etc'
1004 sharedstatedir
='${prefix}/com'
1005 localstatedir
='${prefix}/var'
1006 includedir
='${prefix}/include'
1007 oldincludedir
='/usr/include'
1008 docdir
='${datarootdir}/doc/${PACKAGE}'
1009 infodir
='${datarootdir}/info'
1014 libdir
='${exec_prefix}/lib'
1015 localedir
='${datarootdir}/locale'
1016 mandir
='${datarootdir}/man'
1022 # If the previous option needs an argument, assign it.
1023 if test -n "$ac_prev"; then
1024 eval $ac_prev=\
$ac_option
1030 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1035 # Accept the important Cygnus configure options, so we can diagnose typos.
1037 case $ac_dashdash$ac_option in
1041 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1043 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1044 bindir
=$ac_optarg ;;
1046 -build |
--build |
--buil |
--bui |
--bu)
1047 ac_prev
=build_alias
;;
1048 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1049 build_alias
=$ac_optarg ;;
1051 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1052 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1053 ac_prev
=cache_file
;;
1054 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1055 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1056 cache_file
=$ac_optarg ;;
1058 --config-cache |
-C)
1059 cache_file
=config.cache
;;
1061 -datadir |
--datadir |
--datadi |
--datad)
1063 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1064 datadir
=$ac_optarg ;;
1066 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1067 |
--dataroo |
--dataro |
--datar)
1068 ac_prev
=datarootdir
;;
1069 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1070 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1071 datarootdir
=$ac_optarg ;;
1073 -disable-* |
--disable-*)
1074 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1075 # Reject names that are not valid shell variable names.
1076 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1077 as_fn_error $?
"invalid feature name: $ac_useropt"
1078 ac_useropt_orig
=$ac_useropt
1079 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1080 case $ac_user_opts in
1082 "enable_
$ac_useropt"
1084 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1085 ac_unrecognized_sep
=', ';;
1087 eval enable_
$ac_useropt=no
;;
1089 -docdir |
--docdir |
--docdi |
--doc |
--do)
1091 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1092 docdir
=$ac_optarg ;;
1094 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1096 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1097 dvidir
=$ac_optarg ;;
1099 -enable-* |
--enable-*)
1100 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1101 # Reject names that are not valid shell variable names.
1102 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1103 as_fn_error $?
"invalid feature name: $ac_useropt"
1104 ac_useropt_orig
=$ac_useropt
1105 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1106 case $ac_user_opts in
1108 "enable_
$ac_useropt"
1110 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1111 ac_unrecognized_sep
=', ';;
1113 eval enable_
$ac_useropt=\
$ac_optarg ;;
1115 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1116 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1117 |
--exec |
--exe |
--ex)
1118 ac_prev
=exec_prefix
;;
1119 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1120 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1121 |
--exec=* |
--exe=* |
--ex=*)
1122 exec_prefix
=$ac_optarg ;;
1124 -gas |
--gas |
--ga |
--g)
1125 # Obsolete; use --with-gas.
1128 -help |
--help |
--hel |
--he |
-h)
1129 ac_init_help
=long
;;
1130 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1131 ac_init_help
=recursive
;;
1132 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1133 ac_init_help
=short
;;
1135 -host |
--host |
--hos |
--ho)
1136 ac_prev
=host_alias
;;
1137 -host=* |
--host=* |
--hos=* |
--ho=*)
1138 host_alias
=$ac_optarg ;;
1140 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1142 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1144 htmldir
=$ac_optarg ;;
1146 -includedir |
--includedir |
--includedi |
--included |
--include \
1147 |
--includ |
--inclu |
--incl |
--inc)
1148 ac_prev
=includedir
;;
1149 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1150 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1151 includedir
=$ac_optarg ;;
1153 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1155 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1156 infodir
=$ac_optarg ;;
1158 -libdir |
--libdir |
--libdi |
--libd)
1160 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1161 libdir
=$ac_optarg ;;
1163 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1164 |
--libexe |
--libex |
--libe)
1165 ac_prev
=libexecdir
;;
1166 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1167 |
--libexe=* |
--libex=* |
--libe=*)
1168 libexecdir
=$ac_optarg ;;
1170 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1171 ac_prev
=localedir
;;
1172 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1173 localedir
=$ac_optarg ;;
1175 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1176 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1177 ac_prev
=localstatedir
;;
1178 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1179 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1180 localstatedir
=$ac_optarg ;;
1182 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1184 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1185 mandir
=$ac_optarg ;;
1187 -nfp |
--nfp |
--nf)
1188 # Obsolete; use --without-fp.
1191 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1192 |
--no-cr |
--no-c |
-n)
1195 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1196 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1199 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1200 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1201 |
--oldin |
--oldi |
--old |
--ol |
--o)
1202 ac_prev
=oldincludedir
;;
1203 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1204 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1205 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1206 oldincludedir
=$ac_optarg ;;
1208 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1210 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1211 prefix
=$ac_optarg ;;
1213 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1214 |
--program-pre |
--program-pr |
--program-p)
1215 ac_prev
=program_prefix
;;
1216 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1217 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1218 program_prefix
=$ac_optarg ;;
1220 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1221 |
--program-suf |
--program-su |
--program-s)
1222 ac_prev
=program_suffix
;;
1223 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1224 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1225 program_suffix
=$ac_optarg ;;
1227 -program-transform-name |
--program-transform-name \
1228 |
--program-transform-nam |
--program-transform-na \
1229 |
--program-transform-n |
--program-transform- \
1230 |
--program-transform |
--program-transfor \
1231 |
--program-transfo |
--program-transf \
1232 |
--program-trans |
--program-tran \
1233 |
--progr-tra |
--program-tr |
--program-t)
1234 ac_prev
=program_transform_name
;;
1235 -program-transform-name=* |
--program-transform-name=* \
1236 |
--program-transform-nam=* |
--program-transform-na=* \
1237 |
--program-transform-n=* |
--program-transform-=* \
1238 |
--program-transform=* |
--program-transfor=* \
1239 |
--program-transfo=* |
--program-transf=* \
1240 |
--program-trans=* |
--program-tran=* \
1241 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1242 program_transform_name
=$ac_optarg ;;
1244 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1246 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1247 pdfdir
=$ac_optarg ;;
1249 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1251 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1254 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1255 |
-silent |
--silent |
--silen |
--sile |
--sil)
1258 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1260 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1262 sbindir
=$ac_optarg ;;
1264 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1265 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1266 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1268 ac_prev
=sharedstatedir
;;
1269 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1270 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1271 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1273 sharedstatedir
=$ac_optarg ;;
1275 -site |
--site |
--sit)
1277 -site=* |
--site=* |
--sit=*)
1280 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1282 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1283 srcdir
=$ac_optarg ;;
1285 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1286 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1287 ac_prev
=sysconfdir
;;
1288 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1289 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1290 sysconfdir
=$ac_optarg ;;
1292 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1293 ac_prev
=target_alias
;;
1294 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1295 target_alias
=$ac_optarg ;;
1297 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1300 -version |
--version |
--versio |
--versi |
--vers |
-V)
1301 ac_init_version
=: ;;
1304 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1305 # Reject names that are not valid shell variable names.
1306 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1307 as_fn_error $?
"invalid package name: $ac_useropt"
1308 ac_useropt_orig
=$ac_useropt
1309 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1310 case $ac_user_opts in
1314 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1315 ac_unrecognized_sep
=', ';;
1317 eval with_
$ac_useropt=\
$ac_optarg ;;
1319 -without-* |
--without-*)
1320 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1321 # Reject names that are not valid shell variable names.
1322 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1323 as_fn_error $?
"invalid package name: $ac_useropt"
1324 ac_useropt_orig
=$ac_useropt
1325 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1326 case $ac_user_opts in
1330 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1331 ac_unrecognized_sep
=', ';;
1333 eval with_
$ac_useropt=no
;;
1336 # Obsolete; use --with-x.
1339 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1340 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1341 ac_prev
=x_includes
;;
1342 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1343 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1344 x_includes
=$ac_optarg ;;
1346 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1347 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1348 ac_prev
=x_libraries
;;
1349 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1350 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1351 x_libraries
=$ac_optarg ;;
1353 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1354 Try \`$0 --help' for more information"
1358 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1359 # Reject names that are not valid shell variable names.
1360 case $ac_envvar in #(
1361 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1362 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1364 eval $ac_envvar=\
$ac_optarg
1365 export $ac_envvar ;;
1368 # FIXME: should be removed in autoconf 3.0.
1369 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1370 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1371 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1372 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1378 if test -n "$ac_prev"; then
1379 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1380 as_fn_error $?
"missing argument to $ac_option"
1383 if test -n "$ac_unrecognized_opts"; then
1384 case $enable_option_checking in
1386 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1387 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1391 # Check all directory arguments for consistency.
1392 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1393 datadir sysconfdir sharedstatedir localstatedir includedir \
1394 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1395 libdir localedir mandir
1397 eval ac_val
=\$
$ac_var
1398 # Remove trailing slashes.
1401 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1402 eval $ac_var=\
$ac_val;;
1404 # Be sure to have absolute directory names.
1406 [\\/$
]* | ?
:[\\/]* ) continue;;
1407 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1409 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1412 # There might be people who depend on the old broken behavior: `$host'
1413 # used to hold the argument of --host etc.
1414 # FIXME: To remove some day.
1417 target
=$target_alias
1419 # FIXME: To remove some day.
1420 if test "x$host_alias" != x
; then
1421 if test "x$build_alias" = x
; then
1422 cross_compiling
=maybe
1423 elif test "x$build_alias" != "x$host_alias"; then
1429 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1431 test "$silent" = yes && exec 6>/dev
/null
1434 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1435 ac_ls_di
=`ls -di .` &&
1436 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1437 as_fn_error $?
"working directory cannot be determined"
1438 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1439 as_fn_error $?
"pwd does not report name of working directory"
1442 # Find the source files, if location was not specified.
1443 if test -z "$srcdir"; then
1444 ac_srcdir_defaulted
=yes
1445 # Try the directory containing this script, then the parent directory.
1446 ac_confdir
=`$as_dirname -- "$as_myself" ||
1447 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1448 X"$as_myself" : 'X\(//\)[^/]' \| \
1449 X"$as_myself" : 'X\(//\)$' \| \
1450 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1451 $as_echo X"$as_myself" |
1452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1470 if test ! -r "$srcdir/$ac_unique_file"; then
1474 ac_srcdir_defaulted
=no
1476 if test ! -r "$srcdir/$ac_unique_file"; then
1477 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1478 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1480 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1482 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1484 # When building in place, set srcdir=.
1485 if test "$ac_abs_confdir" = "$ac_pwd"; then
1488 # Remove unnecessary trailing slashes from srcdir.
1489 # Double slashes in file names in object file debugging info
1490 # mess up M-x gdb in Emacs.
1492 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1494 for ac_var
in $ac_precious_vars; do
1495 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1496 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1497 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1498 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1502 # Report the --help message.
1504 if test "$ac_init_help" = "long"; then
1505 # Omit some internal or obsolete options to make the list less imposing.
1506 # This message is too long to be a string in the A/UX 3.1 sh.
1508 \`configure' configures this package to adapt to many kinds of systems.
1510 Usage: $0 [OPTION]... [VAR=VALUE]...
1512 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1513 VAR=VALUE. See below for descriptions of some of the useful variables.
1515 Defaults for the options are specified in brackets.
1518 -h, --help display this help and exit
1519 --help=short display options specific to this package
1520 --help=recursive display the short help of all the included packages
1521 -V, --version display version information and exit
1522 -q, --quiet, --silent do not print \`checking ...' messages
1523 --cache-file=FILE cache test results in FILE [disabled]
1524 -C, --config-cache alias for \`--cache-file=config.cache'
1525 -n, --no-create do not create output files
1526 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1528 Installation directories:
1529 --prefix=PREFIX install architecture-independent files in PREFIX
1530 [$ac_default_prefix]
1531 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1534 By default, \`make install' will install all the files in
1535 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1536 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1537 for instance \`--prefix=\$HOME'.
1539 For better control, use the options below.
1541 Fine tuning of the installation directories:
1542 --bindir=DIR user executables [EPREFIX/bin]
1543 --sbindir=DIR system admin executables [EPREFIX/sbin]
1544 --libexecdir=DIR program executables [EPREFIX/libexec]
1545 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1546 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1547 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1548 --libdir=DIR object code libraries [EPREFIX/lib]
1549 --includedir=DIR C header files [PREFIX/include]
1550 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1551 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1552 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1553 --infodir=DIR info documentation [DATAROOTDIR/info]
1554 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1555 --mandir=DIR man documentation [DATAROOTDIR/man]
1556 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1557 --htmldir=DIR html documentation [DOCDIR]
1558 --dvidir=DIR dvi documentation [DOCDIR]
1559 --pdfdir=DIR pdf documentation [DOCDIR]
1560 --psdir=DIR ps documentation [DOCDIR]
1566 --x-includes=DIR X include files are
in DIR
1567 --x-libraries=DIR X library files are
in DIR
1570 --build=BUILD configure
for building on BUILD
[guessed
]
1571 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1575 if test -n "$ac_init_help"; then
1580 --disable-option-checking ignore unrecognized
--enable/--with options
1581 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1582 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1583 --disable-libpng-config disable libpng-config
test and configuration
1584 --enable-build-type=TYPE
1585 Select the build
type. Available types are
:
1586 personal
, nightly
, snapshot
, milestone
, release. Do
1587 NOT use this option unless you know what you are
1588 doing
! (default
=personal
)
1589 --enable-debug=list Enable different types of debug. Commas or
1590 whitespaces can be used to separate the items
in the
1591 list. Available types of debug are
: all
, none
,
1592 messages
, stack
, mungwall
, modules
, symbols. If no
1593 list is provided
then "all" is assumed.
1595 --enable-distcc Use distcc as a front end to the compiler
1597 --enable-ccache Use ccache as a front end to the compiler
1599 --enable-lto=yes|no Enable link
time optimizations
if the target
1600 compiler supports them
(default
=yes)
1601 --enable-target-variant=NAME
1602 Enable a specific target variant
(default
=none
)
1603 --enable-amigaos-compliance=VERSION
1604 Enforce userspace AmigaOS compliance to a specific
1605 KickStart version
(default
=none
).
1606 --disable-crosstools Do not build cross-compiler toolchain
1607 --enable-objc Enable Objectve-C support
(default
=no
)
1608 --enable-java Enable Java support
(default
=no
)
1609 --enable-includes=dir Alternative system include directory
1610 --enable-palm-debug-hack
1611 Enable palm debug output hack
in palm native
1613 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1614 --enable-nesting-supervisor
1615 Enable nesting supervisor support
in unix
1617 --disable-mmu Disable MMU support
(default
=enabled
)
1618 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1619 --enable-x11-shm use X11 shared memory
(default
=auto
)
1620 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1621 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1622 --disable-sdltest Do not try to compile and run a
test SDL program
1623 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1626 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1627 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1628 --with-c-compiler=VERSION
1629 Use specified c compiler
for building AROS
1630 --with-cxx-compiler=VERSION
1631 Use specified c
++ compiler building AROS
1632 --with-toolchain=family Which toolchain family to crosscompile with
1634 --with-kernel-gcc-version=VERSION
1635 Use gcc-VERSION
for building bootstrap
1636 --with-optimization=FLAGS
1637 Use optimization flags FLAGS
(default
=-O2).
1638 --with-paranoia=(yes|no|FLAGS
)
1639 Specific compiler warning FLAGS to
enable for
1640 paranoia builds
(default
=-Wall -Werror)
1641 --with-xcode=PATH Specify XCode path
for iOS targets
1642 (default
=/Developer
).
1643 --with-sdk-version=VERSION
1644 Use iOS SDK version VERSION
(default
=4.1).
1645 --with-sdk=PATH Specify Android SDK path
1646 (default
=$default_android_sdk).
1647 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1648 --with-sdk-version=LEVEL
1649 Use Android SDK
for API LEVEL
(default
=12).
1650 --with-ndk-version=LEVEL
1651 Use Android NDK
for API LEVEL
(default
=9).
1652 --with-apk-version=(release|debug
)
1653 Which version of AROSBootstrap.apk to compile.
1654 Release version needs key
for signing
, debug version
1655 will only run
in emulator.
(default
=release
)
1656 --with-kernel-toolchain-prefix=...
1657 Specify crosscompile toolchain prefix
for kernel
1659 --with-elf-toolchain-prefix=...
1660 Specify crosscompile toolchain prefix to wrap
for
1662 --with-aros-toolchain=PREFIX
1663 Specify prebuilt AROS toolchain. Use
yes for default
1665 --with-aros-toolchain-install=DIR
1666 Where to
install or search
for cross tools binaries
1667 --with-binutils-version=VERSION
1668 Use binutils-VERSION
for building AROS
1669 --with-gcc-version=VERSION
1670 Compile gcc-VERSION
for AROS
1671 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1672 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1673 --with-float=<spec
> Specify floating point ABI
1674 (default
=$gcc_default_float_abi).
1675 --with-portssources=DIR Where to download sourcecode
for external ports
1676 --with-bootloader=NAME Use a specific bootloader
1677 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1678 --with-theme=NAME Use a specific GUI Theme
1679 --with-resolution=XRESxYRESxDEPTH
1680 Default resolution of the initial WorkbenchScreen
1681 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1682 --with-x use the X Window System
1683 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1684 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1686 Some influential environment variables
:
1687 CXX C
++ compiler
command
1688 CXXFLAGS C
++ compiler flags
1689 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1690 nonstandard directory
<lib dir
>
1691 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1692 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1693 you have headers
in a nonstandard directory
<include dir
>
1694 CC C compiler
command
1695 CFLAGS C compiler flags
1697 PYTHON the Python interpreter
1698 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1700 Use these variables to override the choices made by
`configure' or to help
1701 it to find libraries and programs with nonstandard names/locations.
1703 Report bugs to the package provider.
1708 if test "$ac_init_help" = "recursive"; then
1709 # If there are subdirs, report their specific --help.
1710 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1711 test -d "$ac_dir" ||
1712 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1717 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1719 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1720 # A ".." for each directory in $ac_dir_suffix.
1721 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1722 case $ac_top_builddir_sub in
1723 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1724 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1727 ac_abs_top_builddir=$ac_pwd
1728 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1729 # for backward compatibility:
1730 ac_top_builddir=$ac_top_build_prefix
1733 .) # We are building in place.
1735 ac_top_srcdir=$ac_top_builddir_sub
1736 ac_abs_top_srcdir=$ac_pwd ;;
1737 [\\/]* | ?:[\\/]* ) # Absolute name.
1738 ac_srcdir=$srcdir$ac_dir_suffix;
1739 ac_top_srcdir=$srcdir
1740 ac_abs_top_srcdir=$srcdir ;;
1742 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1743 ac_top_srcdir=$ac_top_build_prefix$srcdir
1744 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1746 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1748 cd "$ac_dir" || { ac_status=$?; continue; }
1749 # Check for guested configure.
1750 if test -f "$ac_srcdir/configure.gnu"; then
1752 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1753 elif test -f "$ac_srcdir/configure"; then
1755 $SHELL "$ac_srcdir/configure" --help=recursive
1757 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1759 cd "$ac_pwd" || { ac_status=$?; break; }
1763 test -n "$ac_init_help" && exit $ac_status
1764 if $ac_init_version; then
1767 generated by GNU Autoconf 2.69
1769 Copyright (C) 2012 Free Software Foundation, Inc.
1770 This configure script is free software; the Free Software Foundation
1771 gives unlimited permission to copy, distribute and modify it.
1776 ## ------------------------ ##
1777 ## Autoconf initialization. ##
1778 ## ------------------------ ##
1780 # ac_fn_cxx_try_compile LINENO
1781 # ----------------------------
1782 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1783 ac_fn_cxx_try_compile ()
1785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1786 rm -f conftest.$ac_objext
1787 if { { ac_try="$ac_compile"
1789 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1790 *) ac_try_echo
=$ac_try;;
1792 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1793 $as_echo "$ac_try_echo"; } >&5
1794 (eval "$ac_compile") 2>conftest.err
1796 if test -s conftest.err
; then
1797 grep -v '^ *+' conftest.err
>conftest.er1
1798 cat conftest.er1
>&5
1799 mv -f conftest.er1 conftest.err
1801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1802 test $ac_status = 0; } && {
1803 test -z "$ac_cxx_werror_flag" ||
1804 test ! -s conftest.err
1805 } && test -s conftest.
$ac_objext; then :
1808 $as_echo "$as_me: failed program was:" >&5
1809 sed 's/^/| /' conftest.
$ac_ext >&5
1813 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1814 as_fn_set_status
$ac_retval
1816 } # ac_fn_cxx_try_compile
1818 # ac_fn_c_try_compile LINENO
1819 # --------------------------
1820 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1821 ac_fn_c_try_compile
()
1823 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1824 rm -f conftest.
$ac_objext
1825 if { { ac_try
="$ac_compile"
1827 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1828 *) ac_try_echo=$ac_try;;
1830 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1831 $as_echo "$ac_try_echo"; } >&5
1832 (eval "$ac_compile") 2>conftest.err
1834 if test -s conftest.err; then
1835 grep -v '^ *+' conftest.err >conftest.er1
1836 cat conftest.er1 >&5
1837 mv -f conftest.er1 conftest.err
1839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1840 test $ac_status = 0; } && {
1841 test -z "$ac_c_werror_flag" ||
1842 test ! -s conftest.err
1843 } && test -s conftest.$ac_objext; then :
1846 $as_echo "$as_me: failed program was:" >&5
1847 sed 's/^/| /' conftest.$ac_ext >&5
1851 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1852 as_fn_set_status $ac_retval
1854 } # ac_fn_c_try_compile
1856 # ac_fn_c_try_cpp LINENO
1857 # ----------------------
1858 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1861 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1862 if { { ac_try="$ac_cpp conftest.$ac_ext"
1864 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1865 *) ac_try_echo
=$ac_try;;
1867 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1868 $as_echo "$ac_try_echo"; } >&5
1869 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1871 if test -s conftest.err
; then
1872 grep -v '^ *+' conftest.err
>conftest.er1
1873 cat conftest.er1
>&5
1874 mv -f conftest.er1 conftest.err
1876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1877 test $ac_status = 0; } > conftest.i
&& {
1878 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1879 test ! -s conftest.err
1883 $as_echo "$as_me: failed program was:" >&5
1884 sed 's/^/| /' conftest.
$ac_ext >&5
1888 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1889 as_fn_set_status
$ac_retval
1893 # ac_fn_c_try_link LINENO
1894 # -----------------------
1895 # Try to link conftest.$ac_ext, and return whether this succeeded.
1898 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1899 rm -f conftest.
$ac_objext conftest
$ac_exeext
1900 if { { ac_try
="$ac_link"
1902 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1903 *) ac_try_echo=$ac_try;;
1905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1906 $as_echo "$ac_try_echo"; } >&5
1907 (eval "$ac_link") 2>conftest.err
1909 if test -s conftest.err; then
1910 grep -v '^ *+' conftest.err >conftest.er1
1911 cat conftest.er1 >&5
1912 mv -f conftest.er1 conftest.err
1914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1915 test $ac_status = 0; } && {
1916 test -z "$ac_c_werror_flag" ||
1917 test ! -s conftest.err
1918 } && test -s conftest$ac_exeext && {
1919 test "$cross_compiling" = yes ||
1920 test -x conftest$ac_exeext
1924 $as_echo "$as_me: failed program was:" >&5
1925 sed 's/^/| /' conftest.$ac_ext >&5
1929 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1930 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1931 # interfere with the next link command; also delete a directory that is
1932 # left behind by Apple's compiler. We do this before executing the actions.
1933 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1935 as_fn_set_status $ac_retval
1937 } # ac_fn_c_try_link
1939 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1940 # -------------------------------------------------------
1941 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1942 # the include files in INCLUDES and setting the cache variable VAR
1944 ac_fn_c_check_header_mongrel ()
1946 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1947 if eval \${$3+:} false; then :
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1949 $as_echo_n "checking for $2... " >&6; }
1950 if eval \${$3+:} false; then :
1951 $as_echo_n "(cached) " >&6
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1955 $as_echo "$ac_res" >&6; }
1957 # Is the header compilable?
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1959 $as_echo_n "checking $2 usability... " >&6; }
1960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1961 /* end confdefs.h. */
1965 if ac_fn_c_try_compile "$LINENO"; then :
1966 ac_header_compiler=yes
1968 ac_header_compiler=no
1970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1972 $as_echo "$ac_header_compiler" >&6; }
1974 # Is the header present?
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1976 $as_echo_n "checking $2 presence... " >&6; }
1977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1978 /* end confdefs.h. */
1981 if ac_fn_c_try_cpp "$LINENO"; then :
1982 ac_header_preproc=yes
1984 ac_header_preproc=no
1986 rm -f conftest.err conftest.i conftest.$ac_ext
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1988 $as_echo "$ac_header_preproc" >&6; }
1990 # So? What about this header?
1991 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1994 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1996 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2000 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2002 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2004 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2006 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2008 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2012 $as_echo_n "checking for $2... " >&6; }
2013 if eval \${$3+:} false; then :
2014 $as_echo_n "(cached) " >&6
2016 eval "$3=\$ac_header_compiler"
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2020 $as_echo "$ac_res" >&6; }
2022 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2024 } # ac_fn_c_check_header_mongrel
2026 # ac_fn_c_try_run LINENO
2027 # ----------------------
2028 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2029 # that executables *can* be run.
2032 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2033 if { { ac_try="$ac_link"
2035 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2036 *) ac_try_echo
=$ac_try;;
2038 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2039 $as_echo "$ac_try_echo"; } >&5
2040 (eval "$ac_link") 2>&5
2042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2043 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2044 { { case "(($ac_try" in
2045 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2046 *) ac_try_echo=$ac_try;;
2048 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2049 $as_echo "$ac_try_echo"; } >&5
2050 (eval "$ac_try") 2>&5
2052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2053 test $ac_status = 0; }; }; then :
2056 $as_echo "$as_me: program exited with status $ac_status" >&5
2057 $as_echo "$as_me: failed program was:" >&5
2058 sed 's/^/| /' conftest.$ac_ext >&5
2060 ac_retval=$ac_status
2062 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2063 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2064 as_fn_set_status $ac_retval
2068 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2069 # -------------------------------------------------------
2070 # Tests whether HEADER exists and can be compiled using the include files in
2071 # INCLUDES, setting the cache variable VAR accordingly.
2072 ac_fn_c_check_header_compile ()
2074 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2076 $as_echo_n "checking for $2... " >&6; }
2077 if eval \${$3+:} false; then :
2078 $as_echo_n "(cached) " >&6
2080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2081 /* end confdefs.h. */
2085 if ac_fn_c_try_compile "$LINENO"; then :
2090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2094 $as_echo "$ac_res" >&6; }
2095 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2097 } # ac_fn_c_check_header_compile
2099 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2100 # ----------------------------------------------------
2101 # Tries to find if the field MEMBER exists in type AGGR, after including
2102 # INCLUDES, setting cache variable VAR accordingly.
2103 ac_fn_c_check_member ()
2105 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2107 $as_echo_n "checking for $2.$3... " >&6; }
2108 if eval \${$4+:} false; then :
2109 $as_echo_n "(cached) " >&6
2111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2112 /* end confdefs.h. */
2124 if ac_fn_c_try_compile "$LINENO"; then :
2127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2128 /* end confdefs.h. */
2134 if (sizeof ac_aggr.$3)
2140 if ac_fn_c_try_compile "$LINENO"; then :
2145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2151 $as_echo "$ac_res" >&6; }
2152 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2154 } # ac_fn_c_check_member
2156 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2157 # ---------------------------------------------
2158 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2160 ac_fn_c_check_decl ()
2162 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2163 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2164 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2166 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2167 if eval \${$3+:} false; then :
2168 $as_echo_n "(cached) " >&6
2170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2171 /* end confdefs.h. */
2176 #ifndef $as_decl_name
2178 (void) $as_decl_use;
2180 (void) $as_decl_name;
2188 if ac_fn_c_try_compile "$LINENO"; then :
2193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2197 $as_echo "$ac_res" >&6; }
2198 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2200 } # ac_fn_c_check_decl
2202 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2203 # -------------------------------------------
2204 # Tests whether TYPE exists after having included INCLUDES, setting cache
2205 # variable VAR accordingly.
2206 ac_fn_c_check_type ()
2208 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2210 $as_echo_n "checking for $2... " >&6; }
2211 if eval \${$3+:} false; then :
2212 $as_echo_n "(cached) " >&6
2215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2216 /* end confdefs.h. */
2227 if ac_fn_c_try_compile "$LINENO"; then :
2228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2229 /* end confdefs.h. */
2240 if ac_fn_c_try_compile "$LINENO"; then :
2245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2251 $as_echo "$ac_res" >&6; }
2252 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2254 } # ac_fn_c_check_type
2256 # ac_fn_c_check_func LINENO FUNC VAR
2257 # ----------------------------------
2258 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2259 ac_fn_c_check_func ()
2261 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2263 $as_echo_n "checking for $2... " >&6; }
2264 if eval \${$3+:} false; then :
2265 $as_echo_n "(cached) " >&6
2267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2268 /* end confdefs.h. */
2269 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2271 #define $2 innocuous_$2
2273 /* System header to define __stub macros and hopefully few prototypes,
2274 which can conflict with char $2 (); below.
2275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2276 <limits.h> exists even on freestanding compilers. */
2279 # include <limits.h>
2281 # include <assert.h>
2286 /* Override any GCC internal prototype to avoid an error.
2287 Use char because int might match the return type of a GCC
2288 builtin and then its argument prototype would still apply. */
2293 /* The GNU C library defines this for functions which it implements
2294 to always fail with ENOSYS. Some functions are actually named
2295 something starting with __ and the normal name is an alias. */
2296 #if defined __stub_$2 || defined __stub___$2
2308 if ac_fn_c_try_link "$LINENO"; then :
2313 rm -f core conftest.err conftest.$ac_objext \
2314 conftest$ac_exeext conftest.$ac_ext
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2318 $as_echo "$ac_res" >&6; }
2319 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2321 } # ac_fn_c_check_func
2322 cat >config.log <<_ACEOF
2323 This file contains any messages produced by compilers while
2324 running configure, to aid debugging if configure makes a mistake.
2326 It was created by $as_me, which was
2327 generated by GNU Autoconf 2.69. Invocation command line was
2339 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2340 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2341 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2342 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2343 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2345 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2346 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2348 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2349 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2350 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2351 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2352 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2353 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2354 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2362 test -z "$as_dir" && as_dir=.
2363 $as_echo "PATH: $as_dir"
2379 # Keep a trace of the command line.
2380 # Strip out --no-create and --no-recursion so they do not pile up.
2381 # Strip out --silent because we don't want to record it for future runs.
2382 # Also quote any args containing shell meta-characters.
2383 # Make two passes to allow for proper duplicate-argument suppression.
2387 ac_must_keep_next=false
2393 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2394 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2395 | -silent | --silent | --silen | --sile | --sil)
2398 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2401 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2403 as_fn_append ac_configure_args1 " '$ac_arg'"
2404 if test $ac_must_keep_next = true; then
2405 ac_must_keep_next=false # Got value, back to normal.
2408 *=* | --config-cache | -C | -disable-* | --disable-* \
2409 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2410 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2411 | -with-* | --with-* | -without-* | --without-* | --x)
2412 case "$ac_configure_args0 " in
2413 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2416 -* ) ac_must_keep_next=true ;;
2419 as_fn_append ac_configure_args " '$ac_arg'"
2424 { ac_configure_args0=; unset ac_configure_args0;}
2425 { ac_configure_args1=; unset ac_configure_args1;}
2427 # When interrupted or exit'd, cleanup temporary files, and complete
2428 # config.log. We remove comments because anyway the quotes in there
2429 # would cause problems or look ugly.
2430 # WARNING: Use '\'' to represent an apostrophe within the trap.
2431 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2432 trap 'exit_status=$?
2433 # Save into config.log some information that might help in debugging.
2437 $as_echo "## ---------------- ##
2438 ## Cache variables. ##
2439 ## ---------------- ##"
2441 # The following way of writing the cache mishandles newlines in values,
2443 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2444 eval ac_val=\$$ac_var
2448 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2449 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2452 _ | IFS | as_nl) ;; #(
2453 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2454 *) { eval $ac_var=; unset $ac_var;} ;;
2459 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2460 *${as_nl}ac_space=\ *)
2462 "s/'\''/'\''\\\\'\'''\''/g;
2463 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2466 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2473 $as_echo "## ----------------- ##
2474 ## Output variables. ##
2475 ## ----------------- ##"
2477 for ac_var in $ac_subst_vars
2479 eval ac_val=\$$ac_var
2481 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2483 $as_echo "$ac_var='\''$ac_val'\''"
2487 if test -n "$ac_subst_files"; then
2488 $as_echo "## ------------------- ##
2489 ## File substitutions. ##
2490 ## ------------------- ##"
2492 for ac_var in $ac_subst_files
2494 eval ac_val=\$$ac_var
2496 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2498 $as_echo "$ac_var='\''$ac_val'\''"
2503 if test -s confdefs.h; then
2504 $as_echo "## ----------- ##
2511 test "$ac_signal" != 0 &&
2512 $as_echo "$as_me: caught signal $ac_signal"
2513 $as_echo "$as_me: exit $exit_status"
2515 rm -f core *.core core.conftest.* &&
2516 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2519 for ac_signal in 1 2 13 15; do
2520 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2524 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2525 rm -f -r conftest* confdefs.h
2527 $as_echo "/* confdefs.h */" > confdefs.h
2529 # Predefined preprocessor variables.
2531 cat >>confdefs.h <<_ACEOF
2532 #define PACKAGE_NAME "$PACKAGE_NAME"
2535 cat >>confdefs.h <<_ACEOF
2536 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2539 cat >>confdefs.h <<_ACEOF
2540 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2543 cat >>confdefs.h <<_ACEOF
2544 #define PACKAGE_STRING "$PACKAGE_STRING"
2547 cat >>confdefs.h <<_ACEOF
2548 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2551 cat >>confdefs.h <<_ACEOF
2552 #define PACKAGE_URL "$PACKAGE_URL"
2556 # Let the site file select an alternate cache file if it wants to.
2557 # Prefer an explicitly selected file to automatically selected ones.
2560 if test -n "$CONFIG_SITE"; then
2561 # We do not want a PATH search for config.site.
2562 case $CONFIG_SITE in #((
2563 -*) ac_site_file1=./$CONFIG_SITE;;
2564 */*) ac_site_file1=$CONFIG_SITE;;
2565 *) ac_site_file1=./$CONFIG_SITE;;
2567 elif test "x$prefix" != xNONE; then
2568 ac_site_file1=$prefix/share/config.site
2569 ac_site_file2=$prefix/etc/config.site
2571 ac_site_file1=$ac_default_prefix/share/config.site
2572 ac_site_file2=$ac_default_prefix/etc/config.site
2574 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2576 test "x$ac_site_file" = xNONE && continue
2577 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2579 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2580 sed 's/^/| /' "$ac_site_file" >&5
2582 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2583 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2584 as_fn_error $? "failed to load site
script $ac_site_file
2585 See \
`config.log' for more details" "$LINENO" 5; }
2589 if test -r "$cache_file"; then
2590 # Some versions of bash will fail to source /dev/null (special files
2591 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2592 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2594 $as_echo "$as_me: loading cache $cache_file" >&6;}
2596 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2597 *) . "./$cache_file";;
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2602 $as_echo "$as_me: creating cache $cache_file" >&6;}
2606 as_fn_append ac_header_list " stdlib.h"
2607 as_fn_append ac_header_list " unistd.h"
2608 as_fn_append ac_header_list " sys/param.h"
2609 # Check that the precious variables saved in the cache have kept the same
2611 ac_cache_corrupted=false
2612 for ac_var in $ac_precious_vars; do
2613 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2614 eval ac_new_set=\$ac_env_${ac_var}_set
2615 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2616 eval ac_new_val=\$ac_env_${ac_var}_value
2617 case $ac_old_set,$ac_new_set in
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2620 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2621 ac_cache_corrupted=: ;;
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2624 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2625 ac_cache_corrupted=: ;;
2628 if test "x$ac_old_val" != "x$ac_new_val"; then
2629 # differences in whitespace do not lead to failure.
2630 ac_old_val_w=`echo x
$ac_old_val`
2631 ac_new_val_w=`echo x
$ac_new_val`
2632 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2634 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2635 ac_cache_corrupted=:
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2638 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2639 eval $ac_var=\$ac_old_val
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2642 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2644 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2647 # Pass precious variables to config.status.
2648 if test "$ac_new_set" = set; then
2650 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2651 *) ac_arg=$ac_var=$ac_new_val ;;
2653 case " $ac_configure_args " in
2654 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2655 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2659 if $ac_cache_corrupted; then
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2661 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2663 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2664 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2666 ## -------------------- ##
2667 ## Main body of script. ##
2668 ## -------------------- ##
2671 ac_cpp='$CPP $CPPFLAGS'
2672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2679 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2680 if test -f "$ac_dir/install-sh"; then
2682 ac_install_sh="$ac_aux_dir/install-sh -c"
2684 elif test -f "$ac_dir/install.sh"; then
2686 ac_install_sh="$ac_aux_dir/install.sh -c"
2688 elif test -f "$ac_dir/shtool"; then
2690 ac_install_sh="$ac_aux_dir/shtool install -c"
2694 if test -z "$ac_aux_dir"; then
2695 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2698 # These three variables are undocumented and unsupported,
2699 # and are intended to be withdrawn in a future Autoconf release.
2700 # They can cause serious problems if a builder's source tree is in a directory
2701 # whose full name contains unusual characters.
2702 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2703 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2704 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2708 # Check what host we are running on.
2709 # If a target is not suggested, we use this one.
2710 # Note that what we call a target, Autoconf calls a host.
2711 # Make sure we can run config.sub.
2712 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2713 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2716 $as_echo_n "checking build system type... " >&6; }
2717 if ${ac_cv_build+:} false; then :
2718 $as_echo_n "(cached) " >&6
2720 ac_build_alias=$build_alias
2721 test "x$ac_build_alias" = x &&
2722 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2723 test "x$ac_build_alias" = x &&
2724 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2725 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2726 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2730 $as_echo "$ac_cv_build" >&6; }
2731 case $ac_cv_build in
2733 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2736 ac_save_IFS=$IFS; IFS='-'
2742 # Remember, the first character of IFS is used to create $*,
2743 # except with old shells:
2746 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2750 $as_echo_n "checking host system type... " >&6; }
2751 if ${ac_cv_host+:} false; then :
2752 $as_echo_n "(cached) " >&6
2754 if test "x$host_alias" = x; then
2755 ac_cv_host=$ac_cv_build
2757 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2758 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2763 $as_echo "$ac_cv_host" >&6; }
2766 *) as_fn_error $? "invalid value of canonical host" "$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 $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2783 # Default versions for the gnu tools we build
2784 default_gcc_version="4.6.4"
2785 default_binutils_version="2.23.2"
2787 # The AROS target is slightly different to the normal GNU style
2788 # format. We don't have the middle part, and we reverse the order
2789 # of the $(CPU) and $(OS) bits.
2791 # Don't strip the version of the target yet, it might be
2792 # useful on some systems.
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2795 $as_echo_n "checking for AROS style target... " >&6; }
2797 if test "$target" = "NONE" ; then
2798 target=$host_os-$host_cpu
2800 if test "$target" = "" ; then
2801 target=$host_os-$host_cpu
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2805 $as_echo "$target" >&6; }
2807 if test "$host_os" = "mingw32" ; then
2811 # Don't know where else to put this...
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2813 $as_echo_n "checking building AROS in... " >&6; }
2814 AROS_BUILDDIR=`${PWDCMD-pwd}`
2815 AROS_BUILDDIR_UNIX=${PWD}
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2817 $as_echo "$AROS_BUILDDIR" >&6; }
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2820 $as_echo_n "checking AROS source in... " >&6; }
2821 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2824 $as_echo "$SRCDIR" >&6; }
2826 # Parse the target field into something useful.
2828 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2829 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2832 # Some debug output, to be removed again.
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2834 $as_echo_n "checking for target system (debug output)... " >&6; }
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2836 $as_echo "$target_os" >&6; }
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2838 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2840 $as_echo "$target_cpu" >&6; }
2842 aros_nominal_width=800
2843 aros_nominal_height=600
2844 aros_nominal_depth=4
2847 default_c_compilers="gcc clang cc"
2849 # Check whether --with-c-compiler was given.
2850 if test "${with_c_compiler+set}" = set; then :
2851 withval=$with_c_compiler; use_c_compiler="$withval"
2856 if test "$use_c_compiler" = ""; then
2857 host_c_compilers="$default_c_compilers"
2859 host_c_compilers="$use_c_compiler"
2862 default_cxx_compilers="g++ clang++ c++"
2864 # Check whether --with-cxx-compiler was given.
2865 if test "${with_cxx_compiler+set}" = set; then :
2866 withval=$with_cxx_compiler; use_cxx_compiler="$withval"
2871 if test "$use_cxx_compiler" = ""; then
2872 host_cxx_compilers="$default_cxx_compilers"
2874 host_cxx_compilers="$use_cxx_compiler"
2878 # The first step is to find the host binaries.
2879 # Check for a compiler.
2880 # Due to a bug in autoconf check for c++ compiler first.
2881 # For mor info see, http://osdir.com/ml/bug-autoconf-gnu/2010-05/msg00001.html.
2883 ac_cpp='$CXXCPP $CPPFLAGS'
2884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2887 if test -z "$CXX"; then
2888 if test -n "$CCC"; then
2891 if test -n "$ac_tool_prefix"; then
2892 for ac_prog in ${host_cxx_compilers}
2894 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2895 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2897 $as_echo_n "checking for $ac_word... " >&6; }
2898 if ${ac_cv_prog_CXX+:} false; then :
2899 $as_echo_n "(cached) " >&6
2901 if test -n "$CXX"; then
2902 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2908 test -z "$as_dir" && as_dir=.
2909 for ac_exec_ext in '' $ac_executable_extensions; do
2910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2911 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2922 if test -n "$CXX"; then
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2924 $as_echo "$CXX" >&6; }
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2927 $as_echo "no" >&6; }
2931 test -n "$CXX" && break
2934 if test -z "$CXX"; then
2936 for ac_prog in ${host_cxx_compilers}
2938 # Extract the first word of "$ac_prog", so it can be a program name with args.
2939 set dummy $ac_prog; ac_word=$2
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2941 $as_echo_n "checking for $ac_word... " >&6; }
2942 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2943 $as_echo_n "(cached) " >&6
2945 if test -n "$ac_ct_CXX"; then
2946 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2952 test -z "$as_dir" && as_dir=.
2953 for ac_exec_ext in '' $ac_executable_extensions; do
2954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2955 ac_cv_prog_ac_ct_CXX="$ac_prog"
2956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2965 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2966 if test -n "$ac_ct_CXX"; then
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2968 $as_echo "$ac_ct_CXX" >&6; }
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2971 $as_echo "no" >&6; }
2975 test -n "$ac_ct_CXX" && break
2978 if test "x$ac_ct_CXX" = x; then
2981 case $cross_compiling:$ac_tool_warned in
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2984 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2985 ac_tool_warned=yes ;;
2993 # Provide some information about the compiler.
2994 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2997 for ac_option in --version -v -V -qversion; do
2998 { { ac_try="$ac_compiler $ac_option >&5"
3000 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3001 *) ac_try_echo
=$ac_try;;
3003 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3004 $as_echo "$ac_try_echo"; } >&5
3005 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3007 if test -s conftest.err
; then
3009 ... rest of stderr output deleted ...
3010 10q' conftest.err
>conftest.er1
3011 cat conftest.er1
>&5
3013 rm -f conftest.er1 conftest.err
3014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3015 test $ac_status = 0; }
3018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3019 /* end confdefs.h. */
3029 ac_clean_files_save
=$ac_clean_files
3030 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3031 # Try to create an executable without -o first, disregard a.out.
3032 # It will help us diagnose broken compilers, and finding out an intuition
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3035 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3036 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3038 # The possible output files:
3039 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3042 for ac_file
in $ac_files
3045 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3046 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3051 if { { ac_try
="$ac_link_default"
3053 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3054 *) ac_try_echo=$ac_try;;
3056 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3057 $as_echo "$ac_try_echo"; } >&5
3058 (eval "$ac_link_default") 2>&5
3060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3061 test $ac_status = 0; }; then :
3062 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3063 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3064 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3065 # so that the user can short-circuit this test for compilers unknown to
3067 for ac_file in $ac_files ''
3069 test -f "$ac_file" || continue
3071 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3074 # We found the default executable, but exeext='' is most
3078 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3080 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3082 # We set ac_cv_exeext here because the later test for it is not
3083 # safe: cross compilers may not add the suffix if given an `-o'
3084 # argument, so we may need to know it at that point already.
3085 # Even if this section looks crufty: it has the advantage of
3092 test "$ac_cv_exeext" = no && ac_cv_exeext=
3097 if test -z "$ac_file"; then :
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3099 $as_echo "no" >&6; }
3100 $as_echo "$as_me: failed program was:" >&5
3101 sed 's
/^
/|
/' conftest.$ac_ext >&5
3103 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3104 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3105 as_fn_error 77 "C++ compiler cannot create executables
3106 See \`config.log
' for more details" "$LINENO" 5; }
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3109 $as_echo "yes" >&6; }
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3112 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3114 $as_echo "$ac_file" >&6; }
3115 ac_exeext=$ac_cv_exeext
3117 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3118 ac_clean_files=$ac_clean_files_save
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3120 $as_echo_n "checking for suffix of executables... " >&6; }
3121 if { { ac_try="$ac_link"
3123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3124 *) ac_try_echo=$ac_try;;
3126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3127 $as_echo "$ac_try_echo"; } >&5
3128 (eval "$ac_link") 2>&5
3130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3131 test $ac_status = 0; }; then :
3132 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3133 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3134 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3136 for ac_file
in conftest.exe conftest conftest.
*; do
3137 test -f "$ac_file" ||
continue
3139 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3140 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3146 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3148 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3149 See \`config.log' for more details" "$LINENO" 5; }
3151 rm -f conftest conftest
$ac_cv_exeext
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3153 $as_echo "$ac_cv_exeext" >&6; }
3155 rm -f conftest.
$ac_ext
3156 EXEEXT
=$ac_cv_exeext
3158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3159 /* end confdefs.h. */
3164 FILE *f = fopen ("conftest.out", "w");
3165 return ferror (f) || fclose (f) != 0;
3171 ac_clean_files
="$ac_clean_files conftest.out"
3172 # Check that the compiler produces executables we can run. If not, either
3173 # the compiler is broken, or we cross compile.
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3175 $as_echo_n "checking whether we are cross compiling... " >&6; }
3176 if test "$cross_compiling" != yes; then
3177 { { ac_try
="$ac_link"
3179 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3180 *) ac_try_echo=$ac_try;;
3182 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3183 $as_echo "$ac_try_echo"; } >&5
3184 (eval "$ac_link") 2>&5
3186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3187 test $ac_status = 0; }
3188 if { ac_try='./conftest$ac_cv_exeext'
3189 { { case "(($ac_try" in
3190 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3191 *) ac_try_echo
=$ac_try;;
3193 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3194 $as_echo "$ac_try_echo"; } >&5
3195 (eval "$ac_try") 2>&5
3197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3198 test $ac_status = 0; }; }; then
3201 if test "$cross_compiling" = maybe
; then
3204 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3206 as_fn_error $?
"cannot run C++ compiled programs.
3207 If you meant to cross compile, use \`--host'.
3208 See \`config.log' for more details" "$LINENO" 5; }
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3213 $as_echo "$cross_compiling" >&6; }
3215 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3216 ac_clean_files
=$ac_clean_files_save
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3218 $as_echo_n "checking for suffix of object files... " >&6; }
3219 if ${ac_cv_objext+:} false
; then :
3220 $as_echo_n "(cached) " >&6
3222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3223 /* end confdefs.h. */
3233 rm -f conftest.o conftest.obj
3234 if { { ac_try
="$ac_compile"
3236 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3237 *) ac_try_echo=$ac_try;;
3239 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3240 $as_echo "$ac_try_echo"; } >&5
3241 (eval "$ac_compile") 2>&5
3243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3244 test $ac_status = 0; }; then :
3245 for ac_file in conftest.o conftest.obj conftest.*; do
3246 test -f "$ac_file" || continue;
3248 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3249 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3254 $as_echo "$as_me: failed program was:" >&5
3255 sed 's/^/| /' conftest.$ac_ext >&5
3257 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3259 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3260 See \
`config.log' for more details" "$LINENO" 5; }
3262 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3265 $as_echo "$ac_cv_objext" >&6; }
3266 OBJEXT=$ac_cv_objext
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3269 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3270 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3271 $as_echo_n "(cached) " >&6
3273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3274 /* end confdefs.h. */
3287 if ac_fn_cxx_try_compile "$LINENO"; then :
3292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3293 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3297 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3298 if test $ac_compiler_gnu = yes; then
3303 ac_test_CXXFLAGS=${CXXFLAGS+set}
3304 ac_save_CXXFLAGS=$CXXFLAGS
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3306 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3307 if ${ac_cv_prog_cxx_g+:} false; then :
3308 $as_echo_n "(cached) " >&6
3310 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3311 ac_cxx_werror_flag=yes
3314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3315 /* end confdefs.h. */
3325 if ac_fn_cxx_try_compile "$LINENO"; then :
3326 ac_cv_prog_cxx_g=yes
3329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3330 /* end confdefs.h. */
3340 if ac_fn_cxx_try_compile "$LINENO"; then :
3343 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3346 /* end confdefs.h. */
3356 if ac_fn_cxx_try_compile "$LINENO"; then :
3357 ac_cv_prog_cxx_g=yes
3359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3364 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3367 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3368 if test "$ac_test_CXXFLAGS" = set; then
3369 CXXFLAGS=$ac_save_CXXFLAGS
3370 elif test $ac_cv_prog_cxx_g = yes; then
3371 if test "$GXX" = yes; then
3377 if test "$GXX" = yes; then
3384 ac_cpp='$CPP $CPPFLAGS'
3385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3390 ac_cpp='$CPP $CPPFLAGS'
3391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3394 if test -n "$ac_tool_prefix"; then
3395 for ac_prog in ${host_c_compilers}
3397 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3398 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3400 $as_echo_n "checking for $ac_word... " >&6; }
3401 if ${ac_cv_prog_CC+:} false; then :
3402 $as_echo_n "(cached) " >&6
3404 if test -n "$CC"; then
3405 ac_cv_prog_CC="$CC" # Let the user override the test.
3407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3411 test -z "$as_dir" && as_dir=.
3412 for ac_exec_ext in '' $ac_executable_extensions; do
3413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3414 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3425 if test -n "$CC"; then
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3427 $as_echo "$CC" >&6; }
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3430 $as_echo "no" >&6; }
3434 test -n "$CC" && break
3437 if test -z "$CC"; then
3439 for ac_prog in ${host_c_compilers}
3441 # Extract the first word of "$ac_prog", so it can be a program name with args.
3442 set dummy $ac_prog; ac_word=$2
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3444 $as_echo_n "checking for $ac_word... " >&6; }
3445 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3446 $as_echo_n "(cached) " >&6
3448 if test -n "$ac_ct_CC"; then
3449 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3455 test -z "$as_dir" && as_dir=.
3456 for ac_exec_ext in '' $ac_executable_extensions; do
3457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3458 ac_cv_prog_ac_ct_CC="$ac_prog"
3459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3468 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3469 if test -n "$ac_ct_CC"; then
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3471 $as_echo "$ac_ct_CC" >&6; }
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3474 $as_echo "no" >&6; }
3478 test -n "$ac_ct_CC" && break
3481 if test "x$ac_ct_CC" = x; then
3484 case $cross_compiling:$ac_tool_warned in
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3488 ac_tool_warned=yes ;;
3495 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3497 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3498 See \
`config.log' for more details" "$LINENO" 5; }
3500 # Provide some information about the compiler.
3501 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3504 for ac_option in --version -v -V -qversion; do
3505 { { ac_try="$ac_compiler $ac_option >&5"
3507 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3508 *) ac_try_echo
=$ac_try;;
3510 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3511 $as_echo "$ac_try_echo"; } >&5
3512 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3514 if test -s conftest.err
; then
3516 ... rest of stderr output deleted ...
3517 10q' conftest.err
>conftest.er1
3518 cat conftest.er1
>&5
3520 rm -f conftest.er1 conftest.err
3521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3522 test $ac_status = 0; }
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3526 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3527 if ${ac_cv_c_compiler_gnu+:} false
; then :
3528 $as_echo_n "(cached) " >&6
3530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3531 /* end confdefs.h. */
3544 if ac_fn_c_try_compile
"$LINENO"; then :
3549 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3550 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3554 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3555 if test $ac_compiler_gnu = yes; then
3560 ac_test_CFLAGS
=${CFLAGS+set}
3561 ac_save_CFLAGS
=$CFLAGS
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3563 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3564 if ${ac_cv_prog_cc_g+:} false
; then :
3565 $as_echo_n "(cached) " >&6
3567 ac_save_c_werror_flag
=$ac_c_werror_flag
3568 ac_c_werror_flag
=yes
3571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3572 /* end confdefs.h. */
3582 if ac_fn_c_try_compile
"$LINENO"; then :
3586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3587 /* end confdefs.h. */
3597 if ac_fn_c_try_compile
"$LINENO"; then :
3600 ac_c_werror_flag
=$ac_save_c_werror_flag
3602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3603 /* end confdefs.h. */
3613 if ac_fn_c_try_compile
"$LINENO"; then :
3616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3620 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3621 ac_c_werror_flag
=$ac_save_c_werror_flag
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3624 $as_echo "$ac_cv_prog_cc_g" >&6; }
3625 if test "$ac_test_CFLAGS" = set; then
3626 CFLAGS
=$ac_save_CFLAGS
3627 elif test $ac_cv_prog_cc_g = yes; then
3628 if test "$GCC" = yes; then
3634 if test "$GCC" = yes; then
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3641 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3642 if ${ac_cv_prog_cc_c89+:} false
; then :
3643 $as_echo_n "(cached) " >&6
3645 ac_cv_prog_cc_c89
=no
3647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3648 /* end confdefs.h. */
3652 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3653 struct buf { int x; };
3654 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3655 static char *e (p, i)
3661 static char *f (char * (*g) (char **, int), char **p, ...)
3666 s = g (p, va_arg (v,int));
3671 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3672 function prototypes and stuff, but not '\xHH' hex character constants.
3673 These don't provoke an error unfortunately, instead are silently treated
3674 as 'x'. The following induces an error, until -std is added to get
3675 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3676 array size at least. It's necessary to write '\x00'==0 to get something
3677 that's true only with -std. */
3678 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3680 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3681 inside strings and character constants. */
3683 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3685 int test (int i, double x);
3686 struct s1 {int (*f) (int a);};
3687 struct s2 {int (*f) (double a);};
3688 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3694 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3699 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3700 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3702 CC
="$ac_save_CC $ac_arg"
3703 if ac_fn_c_try_compile
"$LINENO"; then :
3704 ac_cv_prog_cc_c89
=$ac_arg
3706 rm -f core conftest.err conftest.
$ac_objext
3707 test "x$ac_cv_prog_cc_c89" != "xno" && break
3709 rm -f conftest.
$ac_ext
3714 case "x$ac_cv_prog_cc_c89" in
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3717 $as_echo "none needed" >&6; } ;;
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3720 $as_echo "unsupported" >&6; } ;;
3722 CC
="$CC $ac_cv_prog_cc_c89"
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3724 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3726 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3731 ac_cpp
='$CPP $CPPFLAGS'
3732 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3733 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3734 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3736 aros_host_def_cc
="$CC"
3737 case $ac_cv_prog_cc_stdc in #(
3739 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3742 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3743 if ${ac_cv_prog_cc_c99+:} false
; then :
3744 $as_echo_n "(cached) " >&6
3746 ac_cv_prog_cc_c99
=no
3748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3749 /* end confdefs.h. */
3751 #include <stdbool.h>
3756 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3757 #define debug(...) fprintf (stderr, __VA_ARGS__)
3758 #define showlist(...) puts (#__VA_ARGS__)
3759 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3761 test_varargs_macros (void)
3766 debug ("X = %d\n", x);
3767 showlist (The first, second, and third items.);
3768 report (x>y, "x is %d but y is %d", x, y);
3771 // Check long long types.
3772 #define BIG64 18446744073709551615ull
3773 #define BIG32 4294967295ul
3774 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3776 your preprocessor is broken;
3780 your preprocessor is broken;
3782 static long long int bignum = -9223372036854775807LL;
3783 static unsigned long long int ubignum = BIG64;
3785 struct incomplete_array
3793 const wchar_t *name;
3797 typedef const char *ccp;
3800 test_restrict (ccp restrict text)
3802 // See if C++-style comments work.
3803 // Iterate through items via the restricted pointer.
3804 // Also check for declarations in for loops.
3805 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3810 // Check varargs and va_copy.
3812 test_varargs (const char *format, ...)
3815 va_start (args, format);
3817 va_copy (args_copy, args);
3828 str = va_arg (args_copy, const char *);
3831 number = va_arg (args_copy, int);
3834 fnumber = va_arg (args_copy, double);
3849 _Bool success = false;
3852 if (test_restrict ("String literal") == 0)
3854 char *restrict newvar = "Another string";
3857 test_varargs ("s, d' f .", "string", 65, 34.234);
3858 test_varargs_macros ();
3860 // Check flexible array members.
3861 struct incomplete_array *ia =
3862 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3864 for (int i = 0; i < ia->datasize; ++i)
3865 ia->data[i] = i * 1.234;
3867 // Check named initializers.
3868 struct named_init ni = {
3870 .name = L"Test wide string",
3871 .average = 543.34343,
3876 int dynamic_array[ni.number];
3877 dynamic_array[ni.number - 1] = 543;
3879 // work around unused variable warnings
3880 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3881 || dynamic_array[ni.number - 1] != 543);
3887 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
3889 CC
="$ac_save_CC $ac_arg"
3890 if ac_fn_c_try_compile
"$LINENO"; then :
3891 ac_cv_prog_cc_c99
=$ac_arg
3893 rm -f core conftest.err conftest.
$ac_objext
3894 test "x$ac_cv_prog_cc_c99" != "xno" && break
3896 rm -f conftest.
$ac_ext
3901 case "x$ac_cv_prog_cc_c99" in
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3904 $as_echo "none needed" >&6; } ;;
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3907 $as_echo "unsupported" >&6; } ;;
3909 CC
="$CC $ac_cv_prog_cc_c99"
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3911 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3913 if test "x$ac_cv_prog_cc_c99" != xno
; then :
3914 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3917 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3918 if ${ac_cv_prog_cc_c89+:} false
; then :
3919 $as_echo_n "(cached) " >&6
3921 ac_cv_prog_cc_c89
=no
3923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3924 /* end confdefs.h. */
3928 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3929 struct buf { int x; };
3930 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3931 static char *e (p, i)
3937 static char *f (char * (*g) (char **, int), char **p, ...)
3942 s = g (p, va_arg (v,int));
3947 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3948 function prototypes and stuff, but not '\xHH' hex character constants.
3949 These don't provoke an error unfortunately, instead are silently treated
3950 as 'x'. The following induces an error, until -std is added to get
3951 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3952 array size at least. It's necessary to write '\x00'==0 to get something
3953 that's true only with -std. */
3954 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3956 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3957 inside strings and character constants. */
3959 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3961 int test (int i, double x);
3962 struct s1 {int (*f) (int a);};
3963 struct s2 {int (*f) (double a);};
3964 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3970 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3975 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3976 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3978 CC
="$ac_save_CC $ac_arg"
3979 if ac_fn_c_try_compile
"$LINENO"; then :
3980 ac_cv_prog_cc_c89
=$ac_arg
3982 rm -f core conftest.err conftest.
$ac_objext
3983 test "x$ac_cv_prog_cc_c89" != "xno" && break
3985 rm -f conftest.
$ac_ext
3990 case "x$ac_cv_prog_cc_c89" in
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3993 $as_echo "none needed" >&6; } ;;
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3996 $as_echo "unsupported" >&6; } ;;
3998 CC
="$CC $ac_cv_prog_cc_c89"
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4000 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4002 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4003 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4005 ac_cv_prog_cc_stdc
=no
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4012 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4013 if ${ac_cv_prog_cc_stdc+:} false
; then :
4014 $as_echo_n "(cached) " >&6
4017 case $ac_cv_prog_cc_stdc in #(
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4020 $as_echo "unsupported" >&6; } ;; #(
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4023 $as_echo "none needed" >&6; } ;; #(
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4026 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4030 ac_cpp
='$CPP $CPPFLAGS'
4031 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4032 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4033 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4035 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4036 # On Suns, sometimes $CPP names a directory.
4037 if test -n "$CPP" && test -d "$CPP"; then
4040 if test -z "$CPP"; then
4041 if ${ac_cv_prog_CPP+:} false
; then :
4042 $as_echo_n "(cached) " >&6
4044 # Double quotes because CPP needs to be expanded
4045 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4048 for ac_c_preproc_warn_flag
in '' yes
4050 # Use a header file that comes with gcc, so configuring glibc
4051 # with a fresh cross-compiler works.
4052 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4053 # <limits.h> exists even on freestanding compilers.
4054 # On the NeXT, cc -E runs the code through the compiler's parser,
4055 # not just through cpp. "Syntax error" is here to catch this case.
4056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4057 /* end confdefs.h. */
4059 # include <limits.h>
4061 # include <assert.h>
4065 if ac_fn_c_try_cpp
"$LINENO"; then :
4068 # Broken: fails on valid input.
4071 rm -f conftest.err conftest.i conftest.
$ac_ext
4073 # OK, works on sane cases. Now check whether nonexistent headers
4074 # can be detected and how.
4075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4076 /* end confdefs.h. */
4077 #include <ac_nonexistent.h>
4079 if ac_fn_c_try_cpp
"$LINENO"; then :
4080 # Broken: success on invalid input.
4083 # Passes both tests.
4087 rm -f conftest.err conftest.i conftest.
$ac_ext
4090 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4091 rm -f conftest.i conftest.err conftest.
$ac_ext
4092 if $ac_preproc_ok; then :
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4105 $as_echo "$CPP" >&6; }
4107 for ac_c_preproc_warn_flag
in '' yes
4109 # Use a header file that comes with gcc, so configuring glibc
4110 # with a fresh cross-compiler works.
4111 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4112 # <limits.h> exists even on freestanding compilers.
4113 # On the NeXT, cc -E runs the code through the compiler's parser,
4114 # not just through cpp. "Syntax error" is here to catch this case.
4115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4116 /* end confdefs.h. */
4118 # include <limits.h>
4120 # include <assert.h>
4124 if ac_fn_c_try_cpp
"$LINENO"; then :
4127 # Broken: fails on valid input.
4130 rm -f conftest.err conftest.i conftest.
$ac_ext
4132 # OK, works on sane cases. Now check whether nonexistent headers
4133 # can be detected and how.
4134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4135 /* end confdefs.h. */
4136 #include <ac_nonexistent.h>
4138 if ac_fn_c_try_cpp
"$LINENO"; then :
4139 # Broken: success on invalid input.
4142 # Passes both tests.
4146 rm -f conftest.err conftest.i conftest.
$ac_ext
4149 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4150 rm -f conftest.i conftest.err conftest.
$ac_ext
4151 if $ac_preproc_ok; then :
4154 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4155 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4156 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4157 See \`config.log' for more details" "$LINENO" 5; }
4161 ac_cpp
='$CPP $CPPFLAGS'
4162 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4163 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4164 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4167 # Check for a compatible awk
4168 for ac_prog
in gawk nawk
4170 # Extract the first word of "$ac_prog", so it can be a program name with args.
4171 set dummy
$ac_prog; ac_word
=$2
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4173 $as_echo_n "checking for $ac_word... " >&6; }
4174 if ${ac_cv_prog_AWK+:} false
; then :
4175 $as_echo_n "(cached) " >&6
4177 if test -n "$AWK"; then
4178 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4184 test -z "$as_dir" && as_dir
=.
4185 for ac_exec_ext
in '' $ac_executable_extensions; do
4186 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4187 ac_cv_prog_AWK
="$ac_prog"
4188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4198 if test -n "$AWK"; then
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4200 $as_echo "$AWK" >&6; }
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4203 $as_echo "no" >&6; }
4207 test -n "$AWK" && break
4211 if test "$AWK" = ""; then
4214 if test "$AWK" = "no"; then
4217 if test "$req_avail" = "no"; then
4218 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4220 # Extract the first word of "mmake", so it can be a program name with args.
4221 set dummy mmake
; ac_word
=$2
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4223 $as_echo_n "checking for $ac_word... " >&6; }
4224 if ${ac_cv_prog_MMAKE+:} false
; then :
4225 $as_echo_n "(cached) " >&6
4227 if test -n "$MMAKE"; then
4228 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4234 test -z "$as_dir" && as_dir
=.
4235 for ac_exec_ext
in '' $ac_executable_extensions; do
4236 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4237 ac_cv_prog_MMAKE
="mmake "
4238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4247 MMAKE
=$ac_cv_prog_MMAKE
4248 if test -n "$MMAKE"; then
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4250 $as_echo "$MMAKE" >&6; }
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4253 $as_echo "no" >&6; }
4258 # Perform some default variable assignments. Note all of these will be
4259 # Regenerated from the script, so there is no need to cache them.
4261 aros_build_host
=$host
4262 aros_host_cpp
="$CPP"
4264 aros_host_cxx
="$CXX"
4265 if test "$GCC" = "yes"; then
4266 aros_gcc_ld
=`$CC -print-prog-name=ld`
4267 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4268 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4270 $as_echo_n "checking for $ac_word... " >&6; }
4271 if ${ac_cv_path_aros_host_ld+:} false
; then :
4272 $as_echo_n "(cached) " >&6
4274 case $aros_host_ld in
4276 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4280 for as_dir
in `dirname $aros_gcc_ld`
4283 test -z "$as_dir" && as_dir
=.
4284 for ac_exec_ext
in '' $ac_executable_extensions; do
4285 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4286 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4297 aros_host_ld
=$ac_cv_path_aros_host_ld
4298 if test -n "$aros_host_ld"; then
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4300 $as_echo "$aros_host_ld" >&6; }
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4303 $as_echo "no" >&6; }
4308 if test "$aros_host_ld" = ""; then
4309 # Extract the first word of "ld", so it can be a program name with args.
4310 set dummy ld
; ac_word
=$2
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4312 $as_echo_n "checking for $ac_word... " >&6; }
4313 if ${ac_cv_path_aros_host_ld+:} false
; then :
4314 $as_echo_n "(cached) " >&6
4316 case $aros_host_ld in
4318 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4325 test -z "$as_dir" && as_dir
=.
4326 for ac_exec_ext
in '' $ac_executable_extensions; do
4327 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4328 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4339 aros_host_ld
=$ac_cv_path_aros_host_ld
4340 if test -n "$aros_host_ld"; then
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4342 $as_echo "$aros_host_ld" >&6; }
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4345 $as_echo "no" >&6; }
4351 if test "$aros_host_ld" = ""; then
4354 if test "$aros_host_ld" = "no"; then
4357 if test "$req_avail" = "no"; then
4358 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4360 aros_host_make
="make"
4361 aros_host_cflags
="$CFLAGS"
4362 aros_host_cxxflags
="$CXXFLAGS"
4363 aros_host_ldflags
="$LDFLAGS"
4364 aros_host_debug
="-g -O0"
4365 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4366 aros_host_mkargs
="--no-print-directory"
4367 aros_host_exe_suffix
="$EXEEXT"
4368 aros_host_lib_suffix
=""
4370 # Ignore all compliance, AROS ROMs = 0
4371 # KickStart v1.0 = 30
4372 # KickStart v1.3 = 34
4373 # KickStart v2.0 = 37
4374 # KickStart v3.0 = 39
4375 # KickStart v3.1 = 40
4377 aros_amigaos_compliance
=0
4379 for ac_prog
in aclocal aclocal19 aclocal-1.9
4381 # Extract the first word of "$ac_prog", so it can be a program name with args.
4382 set dummy
$ac_prog; ac_word
=$2
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4384 $as_echo_n "checking for $ac_word... " >&6; }
4385 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4386 $as_echo_n "(cached) " >&6
4388 if test -n "$aros_host_aclocal"; then
4389 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4395 test -z "$as_dir" && as_dir
=.
4396 for ac_exec_ext
in '' $ac_executable_extensions; do
4397 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4398 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4408 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4409 if test -n "$aros_host_aclocal"; then
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4411 $as_echo "$aros_host_aclocal" >&6; }
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4414 $as_echo "no" >&6; }
4418 test -n "$aros_host_aclocal" && break
4421 for ac_prog
in autoconf autoconf259 autoconf253
4423 # Extract the first word of "$ac_prog", so it can be a program name with args.
4424 set dummy
$ac_prog; ac_word
=$2
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4426 $as_echo_n "checking for $ac_word... " >&6; }
4427 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4428 $as_echo_n "(cached) " >&6
4430 if test -n "$aros_host_autoconf"; then
4431 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4437 test -z "$as_dir" && as_dir
=.
4438 for ac_exec_ext
in '' $ac_executable_extensions; do
4439 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4440 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4450 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4451 if test -n "$aros_host_autoconf"; then
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4453 $as_echo "$aros_host_autoconf" >&6; }
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4456 $as_echo "no" >&6; }
4460 test -n "$aros_host_autoconf" && break
4463 for ac_prog
in autoheader autoheader259 autoheader253
4465 # Extract the first word of "$ac_prog", so it can be a program name with args.
4466 set dummy
$ac_prog; ac_word
=$2
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4468 $as_echo_n "checking for $ac_word... " >&6; }
4469 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4470 $as_echo_n "(cached) " >&6
4472 if test -n "$aros_host_autoheader"; then
4473 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4479 test -z "$as_dir" && as_dir
=.
4480 for ac_exec_ext
in '' $ac_executable_extensions; do
4481 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4482 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4492 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4493 if test -n "$aros_host_autoheader"; then
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4495 $as_echo "$aros_host_autoheader" >&6; }
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4498 $as_echo "no" >&6; }
4502 test -n "$aros_host_autoheader" && break
4505 for ac_prog
in automake automake19 automake-1.9
4507 # Extract the first word of "$ac_prog", so it can be a program name with args.
4508 set dummy
$ac_prog; ac_word
=$2
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4510 $as_echo_n "checking for $ac_word... " >&6; }
4511 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4512 $as_echo_n "(cached) " >&6
4514 if test -n "$aros_host_automake"; then
4515 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4521 test -z "$as_dir" && as_dir
=.
4522 for ac_exec_ext
in '' $ac_executable_extensions; do
4523 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4524 ac_cv_prog_aros_host_automake
="$ac_prog"
4525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4534 aros_host_automake
=$ac_cv_prog_aros_host_automake
4535 if test -n "$aros_host_automake"; then
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4537 $as_echo "$aros_host_automake" >&6; }
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4540 $as_echo "no" >&6; }
4544 test -n "$aros_host_automake" && break
4549 if test "$aros_host_aclocal" = ""; then
4552 if test "$aros_host_aclocal" = "no"; then
4555 if test "$req_avail" = "no"; then
4556 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4559 if test "$aros_host_automake" = ""; then
4562 if test "$aros_host_automake" = "no"; then
4565 if test "$req_avail" = "no"; then
4566 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4569 case "$aros_host_cc" in
4571 aros_host_cc_pipe
=""
4574 aros_host_cc_pipe
="-pipe"
4577 aros_host_cc_pipe
=""
4580 aros_host_cc_pipe
=""
4584 aros_kernel_cc_includes
=""
4585 aros_target_cc_includes
=""
4588 # ----------------------------------------------------------------------------------------
4589 # Host-specific defaults
4591 # This is the main host configuration section. It is where the host
4592 # can change the values of any variables it needs to change. We do
4593 # not look at anything that compiles to the target yet, we'll get
4598 aros_host_arch
="aros"
4599 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4602 aros_host_cpu
="i386"
4605 aros_host_cpu
="x86_64"
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4612 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4613 aros_host_cpu
="$host_cpu"
4619 aros_host_arch
="linux"
4620 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4621 android_build_os
="linux-x86"
4622 android_tool
="android"
4623 default_android_sdk
="/opt/android-sdk-linux_x86"
4626 aros_host_cpu
="i386"
4629 aros_host_cpu
="x86_64"
4632 aros_host_cpu
="m68k"
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4642 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4643 aros_host_cpu
="$host_cpu"
4649 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe -I/usr/local/include"
4650 aros_host_make
="gmake"
4651 aros_host_arch
="freebsd"
4652 aros_host_cpu
="i386"
4654 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4658 aros_object_format
="elf_i386"
4662 aros_object_format
="elf_i386_fbsd"
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/include/stddef.h" >&5
4670 $as_echo_n "checking for /usr/include/stddef.h... " >&6; }
4671 if ${ac_cv_file__usr_include_stddef_h+:} false
; then :
4672 $as_echo_n "(cached) " >&6
4674 test "$cross_compiling" = yes &&
4675 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
4676 if test -r "/usr/include/stddef.h"; then
4677 ac_cv_file__usr_include_stddef_h
=yes
4679 ac_cv_file__usr_include_stddef_h
=no
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_include_stddef_h" >&5
4683 $as_echo "$ac_cv_file__usr_include_stddef_h" >&6; }
4684 if test "x$ac_cv_file__usr_include_stddef_h" = xyes
; then :
4687 as_fn_error $?
"XCode incorrectly configured!
4688 please run 'xcode-select --install' before
4689 re-running configure" "$LINENO" 5
4693 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4694 aros_host_arch
="darwin"
4696 if [ -z ${SED+x} ]; then SED
="gsed"; fi
4697 android_build_os
="darwin-x86"
4698 android_tool
="android"
4699 default_android_sdk
="/android-sdk-mac_x86"
4702 aros_host_cpu
="i386"
4705 aros_host_cpu
="x86_64"
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4712 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4713 aros_host_cpu
="$host_cpu"
4717 aros_host_ldflags
="$aros_host_ldflags -liconv"
4722 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4723 aros_host_make
="gmake"
4724 aros_host_arch
="dragonfly"
4727 aros_host_cpu
="i386"
4730 aros_host_cpu
="x86_64"
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4734 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4735 aros_host_cpu
="$host_cpu"
4741 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4742 aros_host_make
="gmake"
4743 aros_host_arch
="netbsd"
4746 aros_host_cpu
="i386"
4749 aros_host_cpu
="m68k"
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4753 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4754 aros_host_cpu
="$host_cpu"
4757 aros_host_lib_suffix
=".0.0"
4761 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4762 aros_host_make
="gmake"
4763 aros_host_arch
="openbsd"
4766 aros_host_cpu
="i386"
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4770 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4771 aros_host_cpu
="$host_cpu"
4777 aros_host_arch
="solaris"
4778 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4781 aros_host_cpu
="i386"
4784 aros_host_cpu
="sparc"
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4788 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4789 aros_host_cpu
="$host_cpu"
4795 aros_host_arch
="morphos"
4801 aros_host_arch
="amiga"
4807 TOUCH
="/gg/bin/touch"
4810 aros_host_cpu
="m68k"
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4817 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4818 aros_host_cpu
="$host_cpu"
4824 aros_host_arch
="cygwin"
4825 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4827 android_build_os
="windows"
4828 android_tool
="android.bat"
4829 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4833 aros_host_cpu
="i386"
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4837 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4838 aros_host_cpu
="$host_cpu"
4844 aros_host_arch
="mingw32"
4845 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4847 android_build_os
="windows"
4848 android_tool
="android.bat"
4849 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4851 libpng_libextra
="-lws2_32"
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4857 $as_echo_n "checking for Windows native gcc target... " >&6; }
4858 host_cpu
=`gcc -dumpmachine`
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4860 $as_echo "$host_cpu" >&6; }
4867 aros_host_cpu
="i386"
4871 aros_host_cpu
="i386"
4875 aros_host_cpu
="x86_64"
4876 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4881 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4882 aros_host_cpu
="$host_cpu"
4887 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4891 # Extract the first word of "ar", so it can be a program name with args.
4892 set dummy
ar; ac_word
=$2
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4894 $as_echo_n "checking for $ac_word... " >&6; }
4895 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4896 $as_echo_n "(cached) " >&6
4898 if test -n "$aros_host_ar"; then
4899 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4905 test -z "$as_dir" && as_dir
=.
4906 for ac_exec_ext
in '' $ac_executable_extensions; do
4907 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4908 ac_cv_prog_aros_host_ar
="ar cr"
4909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4918 aros_host_ar
=$ac_cv_prog_aros_host_ar
4919 if test -n "$aros_host_ar"; then
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4921 $as_echo "$aros_host_ar" >&6; }
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4924 $as_echo "no" >&6; }
4929 if test "$aros_host_ar" = ""; then
4932 if test "$aros_host_ar" = "no"; then
4935 if test "$req_avail" = "no"; then
4936 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4938 # Extract the first word of "ranlib", so it can be a program name with args.
4939 set dummy ranlib
; ac_word
=$2
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4941 $as_echo_n "checking for $ac_word... " >&6; }
4942 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4943 $as_echo_n "(cached) " >&6
4945 if test -n "$aros_host_ranlib"; then
4946 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4952 test -z "$as_dir" && as_dir
=.
4953 for ac_exec_ext
in '' $ac_executable_extensions; do
4954 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4955 ac_cv_prog_aros_host_ranlib
="ranlib "
4956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4965 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4966 if test -n "$aros_host_ranlib"; then
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4968 $as_echo "$aros_host_ranlib" >&6; }
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4971 $as_echo "no" >&6; }
4976 if test "$aros_host_ranlib" = ""; then
4979 if test "$aros_host_ranlib" = "no"; then
4982 if test "$req_avail" = "no"; then
4983 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4985 # Extract the first word of "strip", so it can be a program name with args.
4986 set dummy strip
; ac_word
=$2
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4988 $as_echo_n "checking for $ac_word... " >&6; }
4989 if ${ac_cv_prog_aros_host_strip+:} false
; then :
4990 $as_echo_n "(cached) " >&6
4992 if test -n "$aros_host_strip"; then
4993 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4999 test -z "$as_dir" && as_dir
=.
5000 for ac_exec_ext
in '' $ac_executable_extensions; do
5001 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5002 ac_cv_prog_aros_host_strip
="strip "
5003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5012 aros_host_strip
=$ac_cv_prog_aros_host_strip
5013 if test -n "$aros_host_strip"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5015 $as_echo "$aros_host_strip" >&6; }
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5018 $as_echo "no" >&6; }
5023 if test "$aros_host_strip" = ""; then
5026 if test "$aros_host_strip" = "no"; then
5029 if test "$req_avail" = "no"; then
5030 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5033 # Extract the first word of "rm", so it can be a program name with args.
5034 set dummy
rm; ac_word
=$2
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5036 $as_echo_n "checking for $ac_word... " >&6; }
5037 if ${ac_cv_prog_RM+:} false
; then :
5038 $as_echo_n "(cached) " >&6
5040 if test -n "$RM"; then
5041 ac_cv_prog_RM
="$RM" # Let the user override the test.
5043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5047 test -z "$as_dir" && as_dir
=.
5048 for ac_exec_ext
in '' $ac_executable_extensions; do
5049 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5050 ac_cv_prog_RM
="rm -rf"
5051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5061 if test -n "$RM"; then
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5063 $as_echo "$RM" >&6; }
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5066 $as_echo "no" >&6; }
5071 if test "$RM" = ""; then
5074 if test "$RM" = "no"; then
5077 if test "$req_avail" = "no"; then
5078 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5080 # Extract the first word of "cp", so it can be a program name with args.
5081 set dummy
cp; ac_word
=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if ${ac_cv_prog_CP+:} false
; then :
5085 $as_echo_n "(cached) " >&6
5087 if test -n "$CP"; then
5088 ac_cv_prog_CP
="$CP" # Let the user override the test.
5090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5094 test -z "$as_dir" && as_dir
=.
5095 for ac_exec_ext
in '' $ac_executable_extensions; do
5096 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5108 if test -n "$CP"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5110 $as_echo "$CP" >&6; }
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5118 if test "$CP" = ""; then
5121 if test "$CP" = "no"; then
5124 if test "$req_avail" = "no"; then
5125 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5127 # Extract the first word of "mv", so it can be a program name with args.
5128 set dummy
mv; ac_word
=$2
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5130 $as_echo_n "checking for $ac_word... " >&6; }
5131 if ${ac_cv_prog_MV+:} false
; then :
5132 $as_echo_n "(cached) " >&6
5134 if test -n "$MV"; then
5135 ac_cv_prog_MV
="$MV" # Let the user override the test.
5137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5141 test -z "$as_dir" && as_dir
=.
5142 for ac_exec_ext
in '' $ac_executable_extensions; do
5143 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5155 if test -n "$MV"; then
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5157 $as_echo "$MV" >&6; }
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5160 $as_echo "no" >&6; }
5165 if test "$MV" = ""; then
5168 if test "$MV" = "no"; then
5171 if test "$req_avail" = "no"; then
5172 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5174 # Extract the first word of "echo", so it can be a program name with args.
5175 set dummy
echo; ac_word
=$2
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5177 $as_echo_n "checking for $ac_word... " >&6; }
5178 if ${ac_cv_prog_ECHO+:} false
; then :
5179 $as_echo_n "(cached) " >&6
5181 if test -n "$ECHO"; then
5182 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5188 test -z "$as_dir" && as_dir
=.
5189 for ac_exec_ext
in '' $ac_executable_extensions; do
5190 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5191 ac_cv_prog_ECHO
="echo "
5192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5201 ECHO
=$ac_cv_prog_ECHO
5202 if test -n "$ECHO"; then
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5204 $as_echo "$ECHO" >&6; }
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5207 $as_echo "no" >&6; }
5212 if test "$ECHO" = ""; then
5215 if test "$ECHO" = "no"; then
5218 if test "$req_avail" = "no"; then
5219 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5221 # Extract the first word of "mkdir", so it can be a program name with args.
5222 set dummy mkdir
; ac_word
=$2
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5224 $as_echo_n "checking for $ac_word... " >&6; }
5225 if ${ac_cv_prog_MKDIR+:} false
; then :
5226 $as_echo_n "(cached) " >&6
5228 if test -n "$MKDIR"; then
5229 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5235 test -z "$as_dir" && as_dir
=.
5236 for ac_exec_ext
in '' $ac_executable_extensions; do
5237 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5238 ac_cv_prog_MKDIR
="mkdir -p"
5239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5248 MKDIR
=$ac_cv_prog_MKDIR
5249 if test -n "$MKDIR"; then
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5251 $as_echo "$MKDIR" >&6; }
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5254 $as_echo "no" >&6; }
5259 if test "$MKDIR" = ""; then
5262 if test "$MKDIR" = "no"; then
5265 if test "$req_avail" = "no"; then
5266 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5268 # Extract the first word of "touch", so it can be a program name with args.
5269 set dummy
touch; ac_word
=$2
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5271 $as_echo_n "checking for $ac_word... " >&6; }
5272 if ${ac_cv_prog_TOUCH+:} false
; then :
5273 $as_echo_n "(cached) " >&6
5275 if test -n "$TOUCH"; then
5276 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5282 test -z "$as_dir" && as_dir
=.
5283 for ac_exec_ext
in '' $ac_executable_extensions; do
5284 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5285 ac_cv_prog_TOUCH
="touch "
5286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5295 TOUCH
=$ac_cv_prog_TOUCH
5296 if test -n "$TOUCH"; then
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5298 $as_echo "$TOUCH" >&6; }
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5301 $as_echo "no" >&6; }
5306 if test "$TOUCH" = ""; then
5309 if test "$TOUCH" = "no"; then
5312 if test "$req_avail" = "no"; then
5313 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5315 # Extract the first word of "sort", so it can be a program name with args.
5316 set dummy
sort; ac_word
=$2
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5318 $as_echo_n "checking for $ac_word... " >&6; }
5319 if ${ac_cv_prog_SORT+:} false
; then :
5320 $as_echo_n "(cached) " >&6
5322 if test -n "$SORT"; then
5323 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5329 test -z "$as_dir" && as_dir
=.
5330 for ac_exec_ext
in '' $ac_executable_extensions; do
5331 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5332 ac_cv_prog_SORT
="sort "
5333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5342 SORT
=$ac_cv_prog_SORT
5343 if test -n "$SORT"; then
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5345 $as_echo "$SORT" >&6; }
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5348 $as_echo "no" >&6; }
5353 if test "$SORT" = ""; then
5356 if test "$SORT" = "no"; then
5359 if test "$req_avail" = "no"; then
5360 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5362 # Extract the first word of "uniq", so it can be a program name with args.
5363 set dummy
uniq; ac_word
=$2
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5365 $as_echo_n "checking for $ac_word... " >&6; }
5366 if ${ac_cv_prog_UNIQ+:} false
; then :
5367 $as_echo_n "(cached) " >&6
5369 if test -n "$UNIQ"; then
5370 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5376 test -z "$as_dir" && as_dir
=.
5377 for ac_exec_ext
in '' $ac_executable_extensions; do
5378 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5379 ac_cv_prog_UNIQ
="uniq "
5380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5389 UNIQ
=$ac_cv_prog_UNIQ
5390 if test -n "$UNIQ"; then
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5392 $as_echo "$UNIQ" >&6; }
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5395 $as_echo "no" >&6; }
5400 if test "$UNIQ" = ""; then
5403 if test "$UNIQ" = "no"; then
5406 if test "$req_avail" = "no"; then
5407 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5409 # Extract the first word of "true", so it can be a program name with args.
5410 set dummy true
; ac_word
=$2
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5412 $as_echo_n "checking for $ac_word... " >&6; }
5413 if ${ac_cv_prog_NOP+:} false
; then :
5414 $as_echo_n "(cached) " >&6
5416 if test -n "$NOP"; then
5417 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5423 test -z "$as_dir" && as_dir
=.
5424 for ac_exec_ext
in '' $ac_executable_extensions; do
5425 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5426 ac_cv_prog_NOP
="true "
5427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5437 if test -n "$NOP"; then
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5439 $as_echo "$NOP" >&6; }
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5442 $as_echo "no" >&6; }
5447 if test "$NOP" = ""; then
5450 if test "$NOP" = "no"; then
5453 if test "$req_avail" = "no"; then
5454 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5456 # Extract the first word of "cat", so it can be a program name with args.
5457 set dummy
cat; ac_word
=$2
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5459 $as_echo_n "checking for $ac_word... " >&6; }
5460 if ${ac_cv_prog_CAT+:} false
; then :
5461 $as_echo_n "(cached) " >&6
5463 if test -n "$CAT"; then
5464 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5470 test -z "$as_dir" && as_dir
=.
5471 for ac_exec_ext
in '' $ac_executable_extensions; do
5472 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5473 ac_cv_prog_CAT
="cat "
5474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5484 if test -n "$CAT"; then
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5486 $as_echo "$CAT" >&6; }
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5489 $as_echo "no" >&6; }
5494 if test "$CAT" = ""; then
5497 if test "$CAT" = "no"; then
5500 if test "$req_avail" = "no"; then
5501 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5503 # Extract the first word of "bison", so it can be a program name with args.
5504 set dummy bison
; ac_word
=$2
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5506 $as_echo_n "checking for $ac_word... " >&6; }
5507 if ${ac_cv_prog_BISON+:} false
; then :
5508 $as_echo_n "(cached) " >&6
5510 if test -n "$BISON"; then
5511 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5517 test -z "$as_dir" && as_dir
=.
5518 for ac_exec_ext
in '' $ac_executable_extensions; do
5519 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5520 ac_cv_prog_BISON
="bison "
5521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5530 BISON
=$ac_cv_prog_BISON
5531 if test -n "$BISON"; then
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5533 $as_echo "$BISON" >&6; }
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5536 $as_echo "no" >&6; }
5541 if test "$BISON" = ""; then
5544 if test "$BISON" = "no"; then
5547 if test "$req_avail" = "no"; then
5548 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5550 # Extract the first word of "flex", so it can be a program name with args.
5551 set dummy flex
; ac_word
=$2
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5553 $as_echo_n "checking for $ac_word... " >&6; }
5554 if ${ac_cv_prog_FLEX+:} false
; then :
5555 $as_echo_n "(cached) " >&6
5557 if test -n "$FLEX"; then
5558 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5564 test -z "$as_dir" && as_dir
=.
5565 for ac_exec_ext
in '' $ac_executable_extensions; do
5566 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5567 ac_cv_prog_FLEX
="flex "
5568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5577 FLEX
=$ac_cv_prog_FLEX
5578 if test -n "$FLEX"; then
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5580 $as_echo "$FLEX" >&6; }
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5583 $as_echo "no" >&6; }
5588 if test "$FLEX" = ""; then
5591 if test "$FLEX" = "no"; then
5594 if test "$req_avail" = "no"; then
5595 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5597 # Extract the first word of "pngtopnm", so it can be a program name with args.
5598 set dummy pngtopnm
; ac_word
=$2
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5600 $as_echo_n "checking for $ac_word... " >&6; }
5601 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5602 $as_echo_n "(cached) " >&6
5604 if test -n "$PNGTOPNM"; then
5605 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5611 test -z "$as_dir" && as_dir
=.
5612 for ac_exec_ext
in '' $ac_executable_extensions; do
5613 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5614 ac_cv_prog_PNGTOPNM
="pngtopnm "
5615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5624 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5625 if test -n "$PNGTOPNM"; then
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5627 $as_echo "$PNGTOPNM" >&6; }
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5630 $as_echo "no" >&6; }
5635 if test "$PNGTOPNM" = ""; then
5638 if test "$PNGTOPNM" = "no"; then
5641 if test "$req_avail" = "no"; then
5642 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5644 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5645 set dummy ppmtoilbm
; ac_word
=$2
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5647 $as_echo_n "checking for $ac_word... " >&6; }
5648 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5649 $as_echo_n "(cached) " >&6
5651 if test -n "$PPMTOILBM"; then
5652 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5658 test -z "$as_dir" && as_dir
=.
5659 for ac_exec_ext
in '' $ac_executable_extensions; do
5660 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5661 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5671 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5672 if test -n "$PPMTOILBM"; then
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5674 $as_echo "$PPMTOILBM" >&6; }
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5677 $as_echo "no" >&6; }
5682 if test "$PPMTOILBM" = ""; then
5685 if test "$PPMTOILBM" = "no"; then
5688 if test "$req_avail" = "no"; then
5689 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5691 # Extract the first word of "sed", so it can be a program name with args.
5692 set dummy
sed; ac_word
=$2
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5694 $as_echo_n "checking for $ac_word... " >&6; }
5695 if ${ac_cv_prog_SED+:} false
; then :
5696 $as_echo_n "(cached) " >&6
5698 if test -n "$SED"; then
5699 ac_cv_prog_SED
="$SED" # Let the user override the test.
5701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5705 test -z "$as_dir" && as_dir
=.
5706 for ac_exec_ext
in '' $ac_executable_extensions; do
5707 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5708 ac_cv_prog_SED
="sed "
5709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5719 if test -n "$SED"; then
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5721 $as_echo "$SED" >&6; }
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5724 $as_echo "no" >&6; }
5729 if test "$SED" = ""; then
5732 if test "$SED" = "no"; then
5735 if test "$req_avail" = "no"; then
5736 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5738 # Extract the first word of "chmod", so it can be a program name with args.
5739 set dummy
chmod; ac_word
=$2
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5741 $as_echo_n "checking for $ac_word... " >&6; }
5742 if ${ac_cv_prog_CHMOD+:} false
; then :
5743 $as_echo_n "(cached) " >&6
5745 if test -n "$CHMOD"; then
5746 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5752 test -z "$as_dir" && as_dir
=.
5753 for ac_exec_ext
in '' $ac_executable_extensions; do
5754 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5755 ac_cv_prog_CHMOD
="chmod "
5756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5765 CHMOD
=$ac_cv_prog_CHMOD
5766 if test -n "$CHMOD"; then
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5768 $as_echo "$CHMOD" >&6; }
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5771 $as_echo "no" >&6; }
5776 if test "$CHMOD" = ""; then
5779 if test "$CHMOD" = "no"; then
5782 if test "$req_avail" = "no"; then
5783 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5785 # Extract the first word of "patch", so it can be a program name with args.
5786 set dummy
patch; ac_word
=$2
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5788 $as_echo_n "checking for $ac_word... " >&6; }
5789 if ${ac_cv_prog_PATCH+:} false
; then :
5790 $as_echo_n "(cached) " >&6
5792 if test -n "$PATCH"; then
5793 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5799 test -z "$as_dir" && as_dir
=.
5800 for ac_exec_ext
in '' $ac_executable_extensions; do
5801 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5802 ac_cv_prog_PATCH
="patch "
5803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5812 PATCH
=$ac_cv_prog_PATCH
5813 if test -n "$PATCH"; then
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5815 $as_echo "$PATCH" >&6; }
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5818 $as_echo "no" >&6; }
5823 if test "$PATCH" = ""; then
5826 if test "$PATCH" = "no"; then
5829 if test "$req_avail" = "no"; then
5830 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5839 if test -n "$PYTHON"; then
5840 # If the user set $PYTHON, use it and don't search something else.
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
5842 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
5844 # split strings by '.' and convert to numeric. Append some zeros
5845 # because we need at least 4 digits for the hex conversion.
5846 # map returns an iterator in Python 3.0 and a list in 2.x
5847 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5849 # xrange is not present in Python 3.0 and range returns an iterator
5850 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5851 sys.exit(sys.hexversion < minverhex)"
5852 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5853 ($PYTHON -c "$prog") >&5 2>&5
5855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856 (exit $ac_status); }; then :
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5858 $as_echo "yes" >&6; }
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5861 $as_echo "no" >&6; }
5862 as_fn_error $?
"Python interpreter is too old" "$LINENO" 5
5864 am_display_PYTHON
=$PYTHON
5866 # Otherwise, try each interpreter until we find one that satisfies
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5869 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5870 if ${am_cv_pathless_PYTHON+:} false
; then :
5871 $as_echo_n "(cached) " >&6
5874 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
5875 test "$am_cv_pathless_PYTHON" = none
&& break
5877 # split strings by '.' and convert to numeric. Append some zeros
5878 # because we need at least 4 digits for the hex conversion.
5879 # map returns an iterator in Python 3.0 and a list in 2.x
5880 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5882 # xrange is not present in Python 3.0 and range returns an iterator
5883 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5884 sys.exit(sys.hexversion < minverhex)"
5885 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5886 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5889 (exit $ac_status); }; then :
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5895 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5896 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5897 if test "$am_cv_pathless_PYTHON" = none
; then
5900 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5901 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5903 $as_echo_n "checking for $ac_word... " >&6; }
5904 if ${ac_cv_path_PYTHON+:} false
; then :
5905 $as_echo_n "(cached) " >&6
5909 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5916 test -z "$as_dir" && as_dir
=.
5917 for ac_exec_ext
in '' $ac_executable_extensions; do
5918 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5919 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5930 PYTHON
=$ac_cv_path_PYTHON
5931 if test -n "$PYTHON"; then
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5933 $as_echo "$PYTHON" >&6; }
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5936 $as_echo "no" >&6; }
5941 am_display_PYTHON
=$am_cv_pathless_PYTHON
5945 if test "$PYTHON" = :; then
5946 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5951 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5952 if ${am_cv_python_version+:} false
; then :
5953 $as_echo_n "(cached) " >&6
5955 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5958 $as_echo "$am_cv_python_version" >&6; }
5959 PYTHON_VERSION
=$am_cv_python_version
5963 PYTHON_PREFIX
='${prefix}'
5965 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5970 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5971 if ${am_cv_python_platform+:} false
; then :
5972 $as_echo_n "(cached) " >&6
5974 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5977 $as_echo "$am_cv_python_platform" >&6; }
5978 PYTHON_PLATFORM
=$am_cv_python_platform
5981 # Just factor out some code duplication.
5982 am_python_setup_sysconfig
="\
5984 # Prefer sysconfig over distutils.sysconfig, for better compatibility
5985 # with python 3.x. See automake bug#10227.
5989 can_use_sysconfig = 0
5991 can_use_sysconfig = 1
5992 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
5993 # <https://github.com/pypa/virtualenv/issues/118>
5995 from platform import python_implementation
5996 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
5997 can_use_sysconfig = 0
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
6003 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
6004 if ${am_cv_python_pythondir+:} false
; then :
6005 $as_echo_n "(cached) " >&6
6007 if test "x$prefix" = xNONE
6009 am_py_prefix
=$ac_default_prefix
6011 am_py_prefix
=$prefix
6013 am_cv_python_pythondir
=`$PYTHON -c "
6014 $am_python_setup_sysconfig
6015 if can_use_sysconfig:
6016 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
6018 from distutils import sysconfig
6019 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
6020 sys.stdout.write(sitedir)"`
6021 case $am_cv_python_pythondir in
6023 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
6024 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
6027 case $am_py_prefix in
6030 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
6038 $as_echo "$am_cv_python_pythondir" >&6; }
6039 pythondir
=$am_cv_python_pythondir
6043 pkgpythondir
=\
${pythondir}/$PACKAGE
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
6047 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
6048 if ${am_cv_python_pyexecdir+:} false
; then :
6049 $as_echo_n "(cached) " >&6
6051 if test "x$exec_prefix" = xNONE
6053 am_py_exec_prefix
=$am_py_prefix
6055 am_py_exec_prefix
=$exec_prefix
6057 am_cv_python_pyexecdir
=`$PYTHON -c "
6058 $am_python_setup_sysconfig
6059 if can_use_sysconfig:
6060 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
6062 from distutils import sysconfig
6063 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
6064 sys.stdout.write(sitedir)"`
6065 case $am_cv_python_pyexecdir in
6066 $am_py_exec_prefix*)
6067 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
6068 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
6071 case $am_py_exec_prefix in
6074 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
6082 $as_echo "$am_cv_python_pyexecdir" >&6; }
6083 pyexecdir
=$am_cv_python_pyexecdir
6087 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
6095 # Check whether --enable-libpng-config was given.
6096 if test "${enable_libpng_config+set}" = set; then :
6097 enableval
=$enable_libpng_config;
6100 if test "$enable_libpng_config" != "no"; then
6101 # Extract the first word of "libpng-config", so it can be a program name with args.
6102 set dummy libpng-config
; ac_word
=$2
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6104 $as_echo_n "checking for $ac_word... " >&6; }
6105 if ${ac_cv_prog_arosconfig_use_libpngconfig+:} false
; then :
6106 $as_echo_n "(cached) " >&6
6108 if test -n "$arosconfig_use_libpngconfig"; then
6109 ac_cv_prog_arosconfig_use_libpngconfig
="$arosconfig_use_libpngconfig" # Let the user override the test.
6111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6115 test -z "$as_dir" && as_dir
=.
6116 for ac_exec_ext
in '' $ac_executable_extensions; do
6117 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6118 ac_cv_prog_arosconfig_use_libpngconfig
="yes"
6119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6126 test -z "$ac_cv_prog_arosconfig_use_libpngconfig" && ac_cv_prog_arosconfig_use_libpngconfig
="no"
6129 arosconfig_use_libpngconfig
=$ac_cv_prog_arosconfig_use_libpngconfig
6130 if test -n "$arosconfig_use_libpngconfig"; then
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $arosconfig_use_libpngconfig" >&5
6132 $as_echo "$arosconfig_use_libpngconfig" >&6; }
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6135 $as_echo "no" >&6; }
6140 if test "$arosconfig_use_libpngconfig" = "yes"; then
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libpng-config library" >&5
6142 $as_echo_n "checking libpng-config library... " >&6; }
6143 libpng_incdir
="`libpng-config --cflags`"
6144 libpng_libextra
="$libpng_libextra `libpng-config --ldflags`"
6145 libpng
="`libpng-config --libs`"
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libpng" >&5
6147 $as_echo "$libpng" >&6; }
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
6151 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
6152 if ${ac_cv_lib_png_png_read_png+:} false
; then :
6153 $as_echo_n "(cached) " >&6
6155 ac_check_lib_save_LIBS
=$LIBS
6157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6158 /* end confdefs.h. */
6160 /* Override any GCC internal prototype to avoid an error.
6161 Use char because int might match the return type of a GCC
6162 builtin and then its argument prototype would still apply. */
6166 char png_read_png ();
6170 return png_read_png ();
6175 if ac_fn_c_try_link
"$LINENO"; then :
6176 ac_cv_lib_png_png_read_png
=yes
6178 ac_cv_lib_png_png_read_png
=no
6180 rm -f core conftest.err conftest.
$ac_objext \
6181 conftest
$ac_exeext conftest.
$ac_ext
6182 LIBS
=$ac_check_lib_save_LIBS
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
6185 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
6186 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
6192 if test "$libpng_libextra" != ""; then
6193 if test "$libpng" != "no"; then
6194 libpng_libextra
="$libpng_libextra $libpng"
6199 if test "$libpng" = ""; then
6202 if test "$libpng" = "no"; then
6205 if test "$req_avail" = "no"; then
6206 as_fn_error $?
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
6222 # Check for some includes for the X11 HIDD and the kernel
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6225 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6226 if ${ac_cv_path_GREP+:} false
; then :
6227 $as_echo_n "(cached) " >&6
6229 if test -z "$GREP"; then
6230 ac_path_GREP_found
=false
6231 # Loop through the user's path and test for each of PROGNAME-LIST
6232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6233 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6236 test -z "$as_dir" && as_dir
=.
6237 for ac_prog
in grep ggrep
; do
6238 for ac_exec_ext
in '' $ac_executable_extensions; do
6239 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6240 as_fn_executable_p
"$ac_path_GREP" ||
continue
6241 # Check for GNU ac_path_GREP and select it if it is found.
6242 # Check for GNU $ac_path_GREP
6243 case `"$ac_path_GREP" --version 2>&1` in
6245 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6248 $as_echo_n 0123456789 >"conftest.in"
6251 cat "conftest.in" "conftest.in" >"conftest.tmp"
6252 mv "conftest.tmp" "conftest.in"
6253 cp "conftest.in" "conftest.nl"
6254 $as_echo 'GREP' >> "conftest.nl"
6255 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6256 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6257 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6258 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6259 # Best one so far, save it but keep looking for a better one
6260 ac_cv_path_GREP
="$ac_path_GREP"
6261 ac_path_GREP_max
=$ac_count
6263 # 10*(2^10) chars as input seems more than enough
6264 test $ac_count -gt 10 && break
6266 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6269 $ac_path_GREP_found && break 3
6274 if test -z "$ac_cv_path_GREP"; then
6275 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6278 ac_cv_path_GREP
=$GREP
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6283 $as_echo "$ac_cv_path_GREP" >&6; }
6284 GREP
="$ac_cv_path_GREP"
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6288 $as_echo_n "checking for egrep... " >&6; }
6289 if ${ac_cv_path_EGREP+:} false
; then :
6290 $as_echo_n "(cached) " >&6
6292 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6293 then ac_cv_path_EGREP
="$GREP -E"
6295 if test -z "$EGREP"; then
6296 ac_path_EGREP_found
=false
6297 # Loop through the user's path and test for each of PROGNAME-LIST
6298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6299 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6302 test -z "$as_dir" && as_dir
=.
6303 for ac_prog
in egrep; do
6304 for ac_exec_ext
in '' $ac_executable_extensions; do
6305 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6306 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6307 # Check for GNU ac_path_EGREP and select it if it is found.
6308 # Check for GNU $ac_path_EGREP
6309 case `"$ac_path_EGREP" --version 2>&1` in
6311 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6314 $as_echo_n 0123456789 >"conftest.in"
6317 cat "conftest.in" "conftest.in" >"conftest.tmp"
6318 mv "conftest.tmp" "conftest.in"
6319 cp "conftest.in" "conftest.nl"
6320 $as_echo 'EGREP' >> "conftest.nl"
6321 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6322 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6323 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6324 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6325 # Best one so far, save it but keep looking for a better one
6326 ac_cv_path_EGREP
="$ac_path_EGREP"
6327 ac_path_EGREP_max
=$ac_count
6329 # 10*(2^10) chars as input seems more than enough
6330 test $ac_count -gt 10 && break
6332 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6335 $ac_path_EGREP_found && break 3
6340 if test -z "$ac_cv_path_EGREP"; then
6341 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6344 ac_cv_path_EGREP
=$EGREP
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6350 $as_echo "$ac_cv_path_EGREP" >&6; }
6351 EGREP
="$ac_cv_path_EGREP"
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6355 $as_echo_n "checking for ANSI C header files... " >&6; }
6356 if ${ac_cv_header_stdc+:} false
; then :
6357 $as_echo_n "(cached) " >&6
6359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6360 /* end confdefs.h. */
6374 if ac_fn_c_try_compile
"$LINENO"; then :
6375 ac_cv_header_stdc
=yes
6377 ac_cv_header_stdc
=no
6379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6381 if test $ac_cv_header_stdc = yes; then
6382 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6384 /* end confdefs.h. */
6388 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6389 $EGREP "memchr" >/dev
/null
2>&1; then :
6392 ac_cv_header_stdc
=no
6398 if test $ac_cv_header_stdc = yes; then
6399 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6401 /* end confdefs.h. */
6405 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6406 $EGREP "free" >/dev
/null
2>&1; then :
6409 ac_cv_header_stdc
=no
6415 if test $ac_cv_header_stdc = yes; then
6416 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6417 if test "$cross_compiling" = yes; then :
6420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6421 /* end confdefs.h. */
6424 #if ((' ' & 0x0FF) == 0x020)
6425 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6426 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6428 # define ISLOWER(c) \
6429 (('a' <= (c) && (c) <= 'i') \
6430 || ('j' <= (c) && (c) <= 'r') \
6431 || ('s' <= (c) && (c) <= 'z'))
6432 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6435 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6440 for (i = 0; i < 256; i++)
6441 if (XOR (islower (i), ISLOWER (i))
6442 || toupper (i) != TOUPPER (i))
6447 if ac_fn_c_try_run
"$LINENO"; then :
6450 ac_cv_header_stdc
=no
6452 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6453 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6459 $as_echo "$ac_cv_header_stdc" >&6; }
6460 if test $ac_cv_header_stdc = yes; then
6462 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6466 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6467 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6468 inttypes.h stdint.h unistd.h
6470 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6471 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6473 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6474 cat >>confdefs.h
<<_ACEOF
6475 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6483 for ac_header
in sys
/ipc.h sys
/shm.h \
6484 sys
/mmap.h sys
/mman.h sysexits.h \
6485 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6488 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6489 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6490 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6491 cat >>confdefs.h
<<_ACEOF
6492 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6500 for ac_header
in sys
/mount.h
6502 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6504 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6505 cat >>confdefs.h
<<_ACEOF
6506 #define HAVE_SYS_MOUNT_H 1
6515 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6516 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6518 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6519 if eval \
${$as_ac_Header+:} false
; then :
6520 $as_echo_n "(cached) " >&6
6522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6523 /* end confdefs.h. */
6524 #include <sys/types.h>
6536 if ac_fn_c_try_compile
"$LINENO"; then :
6537 eval "$as_ac_Header=yes"
6539 eval "$as_ac_Header=no"
6541 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6543 eval ac_res
=\$
$as_ac_Header
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6545 $as_echo "$ac_res" >&6; }
6546 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6547 cat >>confdefs.h
<<_ACEOF
6548 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6551 ac_header_dirent
=$ac_hdr; break
6555 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6556 if test $ac_header_dirent = dirent.h
; then
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6558 $as_echo_n "checking for library containing opendir... " >&6; }
6559 if ${ac_cv_search_opendir+:} false
; then :
6560 $as_echo_n "(cached) " >&6
6562 ac_func_search_save_LIBS
=$LIBS
6563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6564 /* end confdefs.h. */
6566 /* Override any GCC internal prototype to avoid an error.
6567 Use char because int might match the return type of a GCC
6568 builtin and then its argument prototype would still apply. */
6581 for ac_lib
in '' dir
; do
6582 if test -z "$ac_lib"; then
6583 ac_res
="none required"
6586 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6588 if ac_fn_c_try_link
"$LINENO"; then :
6589 ac_cv_search_opendir
=$ac_res
6591 rm -f core conftest.err conftest.
$ac_objext \
6593 if ${ac_cv_search_opendir+:} false
; then :
6597 if ${ac_cv_search_opendir+:} false
; then :
6600 ac_cv_search_opendir
=no
6603 LIBS
=$ac_func_search_save_LIBS
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6606 $as_echo "$ac_cv_search_opendir" >&6; }
6607 ac_res
=$ac_cv_search_opendir
6608 if test "$ac_res" != no
; then :
6609 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6615 $as_echo_n "checking for library containing opendir... " >&6; }
6616 if ${ac_cv_search_opendir+:} false
; then :
6617 $as_echo_n "(cached) " >&6
6619 ac_func_search_save_LIBS
=$LIBS
6620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6621 /* end confdefs.h. */
6623 /* Override any GCC internal prototype to avoid an error.
6624 Use char because int might match the return type of a GCC
6625 builtin and then its argument prototype would still apply. */
6638 for ac_lib
in '' x
; do
6639 if test -z "$ac_lib"; then
6640 ac_res
="none required"
6643 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6645 if ac_fn_c_try_link
"$LINENO"; then :
6646 ac_cv_search_opendir
=$ac_res
6648 rm -f core conftest.err conftest.
$ac_objext \
6650 if ${ac_cv_search_opendir+:} false
; then :
6654 if ${ac_cv_search_opendir+:} false
; then :
6657 ac_cv_search_opendir
=no
6660 LIBS
=$ac_func_search_save_LIBS
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6663 $as_echo "$ac_cv_search_opendir" >&6; }
6664 ac_res
=$ac_cv_search_opendir
6665 if test "$ac_res" != no
; then :
6666 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6673 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6674 if ${ac_cv_header_stat_broken+:} false
; then :
6675 $as_echo_n "(cached) " >&6
6677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6678 /* end confdefs.h. */
6679 #include <sys/types.h>
6680 #include <sys/stat.h>
6682 #if defined S_ISBLK && defined S_IFDIR
6683 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6686 #if defined S_ISBLK && defined S_IFCHR
6687 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6690 #if defined S_ISLNK && defined S_IFREG
6691 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6694 #if defined S_ISSOCK && defined S_IFREG
6695 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6699 if ac_fn_c_try_compile
"$LINENO"; then :
6700 ac_cv_header_stat_broken
=no
6702 ac_cv_header_stat_broken
=yes
6704 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6707 $as_echo "$ac_cv_header_stat_broken" >&6; }
6708 if test $ac_cv_header_stat_broken = yes; then
6710 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6715 $as_echo_n "checking for ANSI C header files... " >&6; }
6716 if ${ac_cv_header_stdc+:} false
; then :
6717 $as_echo_n "(cached) " >&6
6719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6720 /* end confdefs.h. */
6734 if ac_fn_c_try_compile
"$LINENO"; then :
6735 ac_cv_header_stdc
=yes
6737 ac_cv_header_stdc
=no
6739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6741 if test $ac_cv_header_stdc = yes; then
6742 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6744 /* end confdefs.h. */
6748 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6749 $EGREP "memchr" >/dev
/null
2>&1; then :
6752 ac_cv_header_stdc
=no
6758 if test $ac_cv_header_stdc = yes; then
6759 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6761 /* end confdefs.h. */
6765 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6766 $EGREP "free" >/dev
/null
2>&1; then :
6769 ac_cv_header_stdc
=no
6775 if test $ac_cv_header_stdc = yes; then
6776 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6777 if test "$cross_compiling" = yes; then :
6780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6781 /* end confdefs.h. */
6784 #if ((' ' & 0x0FF) == 0x020)
6785 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6786 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6788 # define ISLOWER(c) \
6789 (('a' <= (c) && (c) <= 'i') \
6790 || ('j' <= (c) && (c) <= 'r') \
6791 || ('s' <= (c) && (c) <= 'z'))
6792 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6795 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6800 for (i = 0; i < 256; i++)
6801 if (XOR (islower (i), ISLOWER (i))
6802 || toupper (i) != TOUPPER (i))
6807 if ac_fn_c_try_run
"$LINENO"; then :
6810 ac_cv_header_stdc
=no
6812 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6813 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6819 $as_echo "$ac_cv_header_stdc" >&6; }
6820 if test $ac_cv_header_stdc = yes; then
6822 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6827 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6828 if ${ac_cv_header_sys_wait_h+:} false
; then :
6829 $as_echo_n "(cached) " >&6
6831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6832 /* end confdefs.h. */
6833 #include <sys/types.h>
6834 #include <sys/wait.h>
6836 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6839 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6847 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6852 if ac_fn_c_try_compile
"$LINENO"; then :
6853 ac_cv_header_sys_wait_h
=yes
6855 ac_cv_header_sys_wait_h
=no
6857 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6860 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6861 if test $ac_cv_header_sys_wait_h = yes; then
6863 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6868 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6869 if ${ac_cv_header_time+:} false
; then :
6870 $as_echo_n "(cached) " >&6
6872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6873 /* end confdefs.h. */
6874 #include <sys/types.h>
6875 #include <sys/time.h>
6881 if ((struct tm *) 0)
6887 if ac_fn_c_try_compile
"$LINENO"; then :
6888 ac_cv_header_time
=yes
6890 ac_cv_header_time
=no
6892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6895 $as_echo "$ac_cv_header_time" >&6; }
6896 if test $ac_cv_header_time = yes; then
6898 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6902 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6903 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6905 cat >>confdefs.h
<<_ACEOF
6906 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6910 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6915 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6916 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6918 cat >>confdefs.h
<<_ACEOF
6919 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6923 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6926 case " $LIBOBJS " in
6927 *" fileblocks.$ac_objext "* ) ;;
6928 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6935 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6936 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6938 cat >>confdefs.h
<<_ACEOF
6939 #define HAVE_STRUCT_STAT_ST_RDEV 1
6943 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6949 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6950 if ${ac_cv_struct_tm+:} false
; then :
6951 $as_echo_n "(cached) " >&6
6953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6954 /* end confdefs.h. */
6955 #include <sys/types.h>
6962 int *p = &tm.tm_sec;
6968 if ac_fn_c_try_compile
"$LINENO"; then :
6969 ac_cv_struct_tm
=time.h
6971 ac_cv_struct_tm
=sys
/time.h
6973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6976 $as_echo "$ac_cv_struct_tm" >&6; }
6977 if test $ac_cv_struct_tm = sys
/time.h
; then
6979 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6983 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6984 #include <$ac_cv_struct_tm>
6987 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6989 cat >>confdefs.h
<<_ACEOF
6990 #define HAVE_STRUCT_TM_TM_ZONE 1
6996 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6998 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
7001 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
7003 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
7009 cat >>confdefs.h
<<_ACEOF
7010 #define HAVE_DECL_TZNAME $ac_have_decl
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
7014 $as_echo_n "checking for tzname... " >&6; }
7015 if ${ac_cv_var_tzname+:} false
; then :
7016 $as_echo_n "(cached) " >&6
7018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7019 /* end confdefs.h. */
7021 #if !HAVE_DECL_TZNAME
7022 extern char *tzname[];
7028 return tzname[0][0];
7033 if ac_fn_c_try_link
"$LINENO"; then :
7034 ac_cv_var_tzname
=yes
7038 rm -f core conftest.err conftest.
$ac_objext \
7039 conftest
$ac_exeext conftest.
$ac_ext
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
7042 $as_echo "$ac_cv_var_tzname" >&6; }
7043 if test $ac_cv_var_tzname = yes; then
7045 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
7050 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
7051 if test "x$ac_cv_type_off_t" = xyes
; then :
7055 cat >>confdefs.h
<<_ACEOF
7056 #define off_t long int
7061 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
7062 if test "x$ac_cv_type_pid_t" = xyes
; then :
7066 cat >>confdefs.h
<<_ACEOF
7072 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7073 if test "x$ac_cv_type_size_t" = xyes
; then :
7077 cat >>confdefs.h
<<_ACEOF
7078 #define size_t unsigned int
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
7084 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7085 if ${ac_cv_type_uid_t+:} false
; then :
7086 $as_echo_n "(cached) " >&6
7088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7089 /* end confdefs.h. */
7090 #include <sys/types.h>
7093 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7094 $EGREP "uid_t" >/dev
/null
2>&1; then :
7095 ac_cv_type_uid_t
=yes
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
7103 $as_echo "$ac_cv_type_uid_t" >&6; }
7104 if test $ac_cv_type_uid_t = no
; then
7106 $as_echo "#define uid_t int" >>confdefs.h
7109 $as_echo "#define gid_t int" >>confdefs.h
7114 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
7115 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
7117 cat >>confdefs.h
<<_ACEOF
7118 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7125 # Look for some functions
7126 for ac_func
in getpagesize kqueue statfs statvfs \
7127 clone kse_create rfork_thread thr_create sa_register \
7128 getcontext makecontext setcontext sigaltstack swapcontext
7130 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7131 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7132 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7133 cat >>confdefs.h
<<_ACEOF
7134 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7144 for ac_header
in $ac_header_list
7146 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7147 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7149 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7150 cat >>confdefs.h
<<_ACEOF
7151 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7165 for ac_func
in getpagesize
7167 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
7168 if test "x$ac_cv_func_getpagesize" = xyes
; then :
7169 cat >>confdefs.h
<<_ACEOF
7170 #define HAVE_GETPAGESIZE 1
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
7177 $as_echo_n "checking for working mmap... " >&6; }
7178 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
7179 $as_echo_n "(cached) " >&6
7181 if test "$cross_compiling" = yes; then :
7182 ac_cv_func_mmap_fixed_mapped
=no
7184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7185 /* end confdefs.h. */
7186 $ac_includes_default
7187 /* malloc might have been renamed as rpl_malloc. */
7190 /* Thanks to Mike Haertel and Jim Avera for this test.
7191 Here is a matrix of mmap possibilities:
7192 mmap private not fixed
7193 mmap private fixed at somewhere currently unmapped
7194 mmap private fixed at somewhere already mapped
7195 mmap shared not fixed
7196 mmap shared fixed at somewhere currently unmapped
7197 mmap shared fixed at somewhere already mapped
7198 For private mappings, we should verify that changes cannot be read()
7199 back from the file, nor mmap's back from the file at a different
7200 address. (There have been systems where private was not correctly
7201 implemented like the infamous i386 svr4.0, and systems where the
7202 VM page cache was not coherent with the file system buffer cache
7203 like early versions of FreeBSD and possibly contemporary NetBSD.)
7204 For shared mappings, we should conversely verify that changes get
7205 propagated back to all the places they're supposed to be.
7207 Grep wants private fixed already mapped.
7208 The main things grep needs to know about mmap are:
7209 * does it exist and is it safe to write into the mmap'd area
7210 * how to use it (BSD variants) */
7213 #include <sys/mman.h>
7215 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7219 /* This mess was copied from the GNU getpagesize.h. */
7220 #ifndef HAVE_GETPAGESIZE
7221 # ifdef _SC_PAGESIZE
7222 # define getpagesize() sysconf(_SC_PAGESIZE)
7223 # else /* no _SC_PAGESIZE */
7224 # ifdef HAVE_SYS_PARAM_H
7225 # include <sys/param.h>
7226 # ifdef EXEC_PAGESIZE
7227 # define getpagesize() EXEC_PAGESIZE
7228 # else /* no EXEC_PAGESIZE */
7230 # define getpagesize() NBPG * CLSIZE
7233 # endif /* no CLSIZE */
7234 # else /* no NBPG */
7236 # define getpagesize() NBPC
7237 # else /* no NBPC */
7239 # define getpagesize() PAGESIZE
7240 # endif /* PAGESIZE */
7241 # endif /* no NBPC */
7242 # endif /* no NBPG */
7243 # endif /* no EXEC_PAGESIZE */
7244 # else /* no HAVE_SYS_PARAM_H */
7245 # define getpagesize() 8192 /* punt totally */
7246 # endif /* no HAVE_SYS_PARAM_H */
7247 # endif /* no _SC_PAGESIZE */
7249 #endif /* no HAVE_GETPAGESIZE */
7254 char *data, *data2, *data3;
7259 pagesize = getpagesize ();
7261 /* First, make a file with some known garbage in it. */
7262 data = (char *) malloc (pagesize);
7265 for (i = 0; i < pagesize; ++i)
7266 *(data + i) = rand ();
7268 fd = creat ("conftest.mmap", 0600);
7271 if (write (fd, data, pagesize) != pagesize)
7275 /* Next, check that the tail of a page is zero-filled. File must have
7276 non-zero length, otherwise we risk SIGBUS for entire page. */
7277 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7281 if (write (fd2, cdata2, 1) != 1)
7283 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7284 if (data2 == MAP_FAILED)
7286 for (i = 0; i < pagesize; ++i)
7290 if (munmap (data2, pagesize))
7293 /* Next, try to mmap the file at a fixed address which already has
7294 something else allocated at it. If we can, also make sure that
7295 we see the same garbage. */
7296 fd = open ("conftest.mmap", O_RDWR);
7299 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7300 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7302 for (i = 0; i < pagesize; ++i)
7303 if (*(data + i) != *(data2 + i))
7306 /* Finally, make sure that changes to the mapped area do not
7307 percolate back to the file as seen by read(). (This is a bug on
7308 some variants of i386 svr4.0.) */
7309 for (i = 0; i < pagesize; ++i)
7310 *(data2 + i) = *(data2 + i) + 1;
7311 data3 = (char *) malloc (pagesize);
7314 if (read (fd, data3, pagesize) != pagesize)
7316 for (i = 0; i < pagesize; ++i)
7317 if (*(data + i) != *(data3 + i))
7323 if ac_fn_c_try_run
"$LINENO"; then :
7324 ac_cv_func_mmap_fixed_mapped
=yes
7326 ac_cv_func_mmap_fixed_mapped
=no
7328 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7329 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7334 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7335 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7337 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7340 rm -f conftest.mmap conftest.txt
7343 #-----------------------------------------------------------------------------
7346 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7347 # it switched on by default, and we use the host compiler, so it compiles AROS
7348 # code with this enabled resulting in link failures as we don't have support
7351 # We use two methods to disable it. For the host compiler (used to compile
7352 # some hosted modules), we test to see if the compiler supports stack
7353 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7354 # work on all platforms.
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7358 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7359 save_cflags
="$CFLAGS"
7360 CFLAGS
="$CFLAGS -fno-stack-protector"
7361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7362 /* end confdefs.h. */
7372 if ac_fn_c_try_compile
"$LINENO"; then :
7373 use_no_stack_protector
="yes"
7375 use_no_stack_protector
="no"
7377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7379 $as_echo "$use_no_stack_protector" >&6; }
7380 if test "x-$use_no_stack_protector" = "x-yes" ; then
7381 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7383 CFLAGS
="$save_cflags"
7385 #-----------------------------------------------------------------------------
7387 # Disable pointer-signedness warnings if the compiler recognises the option
7388 # (this only works for the host compiler at the moment)
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7391 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7392 save_cflags
="$CFLAGS"
7393 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7395 /* end confdefs.h. */
7405 if ac_fn_c_try_compile
"$LINENO"; then :
7406 use_no_sign_warning
="yes"
7408 use_no_sign_warning
="no"
7410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7412 $as_echo "$use_no_sign_warning" >&6; }
7413 if test "x-$use_no_sign_warning" = "x-yes" ; then
7414 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7416 CFLAGS
="$save_cflags"
7418 #-----------------------------------------------------------------------------
7420 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7423 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7424 save_cflags
="$CFLAGS"
7425 CFLAGS
="$CFLAGS -fgnu89-inline"
7426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7427 /* end confdefs.h. */
7437 if ac_fn_c_try_compile
"$LINENO"; then :
7438 use_gnu89_inline
="yes"
7440 use_gnu89_inline
="no"
7442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7444 $as_echo "$use_gnu89_inline" >&6; }
7445 if test "x-$use_gnu89_inline" = "x-yes" ; then
7446 gnu89_inline
="-fgnu89-inline"
7448 CFLAGS
="$save_cflags"
7451 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
7452 # On GCC >= 4.0 -iquote should be used
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
7455 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
7456 CFLAGS
="$CFLAGS -iquote."
7457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7458 /* end confdefs.h. */
7468 if ac_fn_c_try_compile
"$LINENO"; then :
7473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
7475 $as_echo "$has_iquote" >&6; }
7476 if test "x-$has_iquote" = "x-yes" ; then
7477 host_cflags_iquote
=-iquote
7478 host_cflags_iquote_end
=
7480 host_cflags_iquote
=-I
7481 host_cflags_iquote_end
=-I-
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: Performing target configuration..." >&5
7485 $as_echo "$as_me: Performing target configuration..." >&6;}
7488 aros_nowarn_flags
="NOWARN_UNUSED_COMMAND_LINE_ARGUMENT NOWARN_UNKNOWN_WARNING_OPTION NOWARN_POINTER_SIGN NOWARN_PARENTHESES"
7490 toolchain_needs_sysroot
=no
7492 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7493 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7494 aros_config_ldflags
=""
7496 aros_shared_default
=yes
7498 aros_shared_cflags
="-fPIC"
7499 aros_shared_aflags
=""
7500 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7501 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7503 aros_kernel_ar_flags
="cr"
7504 aros_target_ar_flags
="cr"
7505 aros_target_nm_flags
="-C -ul"
7506 aros_target_strip_flags
="--strip-unneeded -R.comment"
7511 aros_target_genmap
="-Wl,-Map -Xlinker"
7513 # Native flavour stuff
7514 aros_serial_debug
="0"
7516 # Palm native flavour stuff
7517 aros_palm_debug_hack
="0"
7519 # Unix flavour stuff
7520 aros_nesting_supervisor
="0"
7522 # Collect-aros stuff: "-ius" to ignore undefined symbols
7523 ignore_undefined_symbols
=""
7525 # Check for X11 by default
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which toolchain family to use ..." >&5
7534 $as_echo_n "checking Which toolchain family to use ...... " >&6; }
7536 # Check whether --with-toolchain was given.
7537 if test "${with_toolchain+set}" = set; then :
7538 withval
=$with_toolchain; aros_toolchain
="$withval"
7540 aros_toolchain
="gnu"
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_toolchain" >&5
7544 $as_echo "$aros_toolchain" >&6; }
7546 case "$aros_toolchain" in
7548 # toolchain_needs_sysroot=yes
7549 toolchain_c_compiler
="clang"
7550 toolchain_cxx_compiler
="clang++"
7551 toolchain_cpp_preprocessor
="clang -E"
7552 toolchain_ld
="ld.lld"
7553 toolchain_as
="llvm-as"
7554 toolchain_ar
="llvm-ar"
7555 toolchain_ranlib
="llvm-ranlib"
7556 toolchain_nm
="llvm-nm"
7557 toolchain_strip
="true"
7558 toolchain_objcopy
="llvm-objcopy"
7559 toolchain_objdump
="llvm-objdump"
7562 toolchain_c_compiler
="gcc"
7563 toolchain_cxx_compiler
="g++"
7564 toolchain_cpp_preprocessor
="gcc -E"
7568 toolchain_ranlib
="ranlib"
7570 toolchain_strip
="strip"
7571 toolchain_objcopy
="objcopy"
7572 toolchain_objdump
="objdump"
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown toolchain family!\"" >&5
7576 $as_echo "$as_me: WARNING: \"Unknown toolchain family!\"" >&2;}
7577 toolchain_c_compiler
="cc"
7578 toolchain_cxx_compiler
="c++"
7579 toolchain_cpp_preprocessor
="cpp"
7583 toolchain_ranlib
="ranlib"
7585 toolchain_strip
="strip"
7586 toolchain_objcopy
="objcopy"
7587 toolchain_objdump
="objdump"
7591 #-----------------------------------------------------------------------------
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which type of build to do" >&5
7594 $as_echo_n "checking which type of build to do... " >&6; }
7595 # Check whether --enable-build_type was given.
7596 if test "${enable_build_type+set}" = set; then :
7597 enableval
=$enable_build_type; build_type
=$enableval
7599 build_type
="personal"
7603 if test "$build_type" = "nightly"; then
7604 build_type_string
="NIGHTLY"
7605 elif test "$build_type" = "snapshot"; then
7606 build_type_string
="SNAPSHOT"
7607 elif test "$build_type" = "milestone"; then
7608 build_type_string
="MILESTONE"
7609 elif test "$build_type" = "release"; then
7610 build_type_string
="RELEASE"
7612 build_type_string
="PERSONAL"
7613 build_type
="personal"
7616 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7619 $as_echo "$build_type" >&6; }
7621 #-----------------------------------------------------------------------------
7622 all_debug_types
="messages stack modules mungwall symbols"
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7625 $as_echo_n "checking which debug types to enable... " >&6; }
7626 # Check whether --enable-debug was given.
7627 if test "${enable_debug+set}" = set; then :
7628 enableval
=$enable_debug; debug
="$enableval"
7634 if test "$debug" = "" -o "$debug" = "no"; then
7636 elif test "$debug" = "yes"; then
7640 if test "$debug" = "all" ; then
7641 debug
="messages stack modules symbols"
7642 for d
in $all_debug_types; do
7643 export aros_
${d}_debug
="1"
7646 for d
in $all_debug_types; do
7647 export aros_
${d}_debug
="0"
7651 if test "$debug" != "none"; then
7652 debug
=`echo $debug | sed s/,/\ /g`
7655 for d2
in $all_debug_types; do
7656 if test "$d2" = "$d"; then
7661 if test "$found" = "0"; then
7662 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7664 export aros_
${d}_debug
="1"
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7669 $as_echo "$debug" >&6; }
7671 if test "$aros_messages_debug" = "1"; then
7672 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7674 aros_messages_debug
=""
7676 if test "$aros_symbols_debug" = "1"; then
7677 aros_symbols_debug
="-g"
7679 aros_symbols_debug
=""
7682 # These are the flags to pass when compiling debugged programs
7683 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7684 aros_debug_aflags
=""
7685 aros_debug_ldflags
="$aros_symbols_debug"
7687 #-----------------------------------------------------------------------------
7688 # Checking for distcc and ccache.
7690 # Always apply the transforms in this particular order. Basically you should
7691 # always run 'ccache distcc compiler' in that order for the best performance.
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7694 $as_echo_n "checking whether to enable distcc... " >&6; }
7695 # Check whether --enable-distcc was given.
7696 if test "${enable_distcc+set}" = set; then :
7697 enableval
=$enable_distcc; distcc
="$enableval"
7702 if test "$distcc" != "" -a "$distcc" != "no"; then
7703 # AC_CHECK_PROG will print out the result in this case
7704 # Extract the first word of "distcc", so it can be a program name with args.
7705 set dummy distcc
; ac_word
=$2
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7707 $as_echo_n "checking for $ac_word... " >&6; }
7708 if ${ac_cv_path_DISTCC+:} false
; then :
7709 $as_echo_n "(cached) " >&6
7713 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7720 test -z "$as_dir" && as_dir
=.
7721 for ac_exec_ext
in '' $ac_executable_extensions; do
7722 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7723 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7731 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7735 DISTCC
=$ac_cv_path_DISTCC
7736 if test -n "$DISTCC"; then
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7738 $as_echo "$DISTCC" >&6; }
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7741 $as_echo "no" >&6; }
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7747 $as_echo "no" >&6; }
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7751 $as_echo_n "checking whether to enable ccache... " >&6; }
7752 # Check whether --enable-ccache was given.
7753 if test "${enable_ccache+set}" = set; then :
7754 enableval
=$enable_ccache; ccache
="$enableval"
7759 if test "$ccache" != "" -a "$ccache" != "no"; then
7760 # AC_CHECK_PROG will print out the result in this case
7761 # Extract the first word of "ccache", so it can be a program name with args.
7762 set dummy ccache
; ac_word
=$2
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7764 $as_echo_n "checking for $ac_word... " >&6; }
7765 if ${ac_cv_prog_CCACHE+:} false
; then :
7766 $as_echo_n "(cached) " >&6
7768 if test -n "$CCACHE"; then
7769 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7775 test -z "$as_dir" && as_dir
=.
7776 for ac_exec_ext
in '' $ac_executable_extensions; do
7777 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7778 ac_cv_prog_CCACHE
="ccache"
7779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7788 CCACHE
=$ac_cv_prog_CCACHE
7789 if test -n "$CCACHE"; then
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7791 $as_echo "$CCACHE" >&6; }
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7794 $as_echo "no" >&6; }
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7800 $as_echo "no" >&6; }
7803 #-----------------------------------------------------------------------------
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7805 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7807 # Check whether --with-kernel-gcc-version was given.
7808 if test "${with_kernel_gcc_version+set}" = set; then :
7809 withval
=$with_kernel_gcc_version; kernel_tool_version
="$withval"
7811 kernel_tool_version
=""
7814 if test "$kernel_tool_version" != "" ; then
7815 msg_result
=$kernel_tool_version
7817 msg_result
="default"
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
7820 $as_echo "$msg_result" >&6; }
7822 #-----------------------------------------------------------------------------
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7824 $as_echo_n "checking what optimization flags to use... " >&6; }
7826 # Check whether --with-optimization was given.
7827 if test "${with_optimization+set}" = set; then :
7828 withval
=$with_optimization; optimization
="$withval"
7830 optimization
="unknown"
7833 if test "$optimization" = "unknown"; then
7834 if test "$debug" != "none"; then
7840 aros_optimization_cflags
="$optimization"
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7842 $as_echo "$optimization" >&6; }
7844 paranoia_default
=yes
7845 #-----------------------------------------------------------------------------
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which paranoia flags to use" >&5
7847 $as_echo_n "checking which paranoia flags to use... " >&6; }
7849 # Check whether --with-paranoia was given.
7850 if test "${with_paranoia+set}" = set; then :
7851 withval
=$with_paranoia; paranoia_flags
="$withval"
7853 paranoia_flags
="$paranoia_default"
7856 if test "$paranoia_flags" = "no"; then
7860 if test "$paranoia_flags" = "yes"; then
7861 paranoia_flags
="-Wall -Werror"
7863 msg_result
="$paranoia_flags"
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
7866 $as_echo "$msg_result" >&6; }
7867 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should enable link time optimizations (LTO)" >&5
7870 $as_echo_n "checking if we should enable link time optimizations (LTO)... " >&6; }
7871 # Check whether --enable-lto was given.
7872 if test "${enable_lto+set}" = set; then :
7873 enableval
=$enable_lto; aros_config_lto
="$enableval"
7875 aros_config_lto
="yes"
7878 if test "$aros_config_lto" != "yes"; then
7879 aros_config_lto
="no"
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_config_lto" >&5
7882 $as_echo "$aros_config_lto" >&6; }
7884 #-----------------------------------------------------------------------------
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7886 $as_echo_n "checking what target variant to enable... " >&6; }
7887 # Check whether --enable-target_variant was given.
7888 if test "${enable_target_variant+set}" = set; then :
7889 enableval
=$enable_target_variant; target_variant
=$enableval
7894 if test "$target_variant" = ""; then
7895 aros_target_variant
=""
7896 aros_target_suffix
=""
7899 aros_target_variant
="$target_variant"
7900 aros_target_suffix
="-$target_variant"
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7903 $as_echo "$enableval" >&6; }
7905 #-----------------------------------------------------------------------------
7906 # Target-specific defaults. You can override then on a per-target basis.
7908 # Bootloader name. Currently used by PC target.
7909 target_bootloader
="none"
7912 #-----------------------------------------------------------------------------
7913 # Additional options for some specific targets
7915 case "$aros_target_variant" in
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7918 $as_echo_n "checking XCode path... " >&6; }
7920 # Check whether --with-xcode was given.
7921 if test "${with_xcode+set}" = set; then :
7922 withval
=$with_xcode; aros_xcode_path
="$withval"
7924 aros_xcode_path
="/Developer"
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7928 $as_echo "$aros_xcode_path" >&6; }
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7931 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7933 # Check whether --with-sdk-version was given.
7934 if test "${with_sdk_version+set}" = set; then :
7935 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7937 aros_sdk_version
="4.1"
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7941 $as_echo "$aros_sdk_version" >&6; }
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7947 $as_echo_n "checking Android SDK path... " >&6; }
7949 # Check whether --with-sdk was given.
7950 if test "${with_sdk+set}" = set; then :
7951 withval
=$with_sdk; aros_android_sdk
="$withval"
7953 aros_android_sdk
=$default_android_sdk
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7957 $as_echo "$aros_android_sdk" >&6; }
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7960 $as_echo_n "checking Android NDK path... " >&6; }
7962 # Check whether --with-ndk was given.
7963 if test "${with_ndk+set}" = set; then :
7964 withval
=$with_ndk; aros_android_ndk
="$withval"
7966 aros_android_ndk
="none"
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7970 $as_echo "$aros_android_ndk" >&6; }
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7973 $as_echo_n "checking what Android SDK version to use... " >&6; }
7975 # Check whether --with-sdk-version was given.
7976 if test "${with_sdk_version+set}" = set; then :
7977 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7979 aros_sdk_version
="12"
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7983 $as_echo "$aros_sdk_version" >&6; }
7985 aros_android_level
=android-
$aros_sdk_version
7986 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7987 echo "Platform $aros_android_level is not installed in your SDK"
7988 echo "Use --with-sdk-version=<API level number> to select another platform version"
7989 echo "You can check what plaform versions are installed in your SDK"
7990 echo "by examining contents of $aros_android_sdk/platforms directory"
7991 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7994 export PATH
="$aros_android_sdk/tools:$PATH"
7995 # Extract the first word of "$android_tool", so it can be a program name with args.
7996 set dummy
$android_tool; ac_word
=$2
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7998 $as_echo_n "checking for $ac_word... " >&6; }
7999 if ${ac_cv_path_android_tool+:} false
; then :
8000 $as_echo_n "(cached) " >&6
8002 case $android_tool in
8004 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
8007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8011 test -z "$as_dir" && as_dir
=.
8012 for ac_exec_ext
in '' $ac_executable_extensions; do
8013 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8014 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
8015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8025 android_tool
=$ac_cv_path_android_tool
8026 if test -n "$android_tool"; then
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
8028 $as_echo "$android_tool" >&6; }
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8031 $as_echo "no" >&6; }
8036 if test "$android_tool" = ""; then
8039 if test "$android_tool" = "no"; then
8042 if test "$req_avail" = "no"; then
8043 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
8046 if test "$aros_android_ndk" != "none"; then
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
8048 $as_echo_n "checking what Android NDK version to use... " >&6; }
8050 # Check whether --with-ndk-version was given.
8051 if test "${with_ndk_version+set}" = set; then :
8052 withval
=$with_ndk_version; aros_ndk_version
="$withval"
8054 aros_ndk_version
="9"
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
8058 $as_echo "$aros_ndk_version" >&6; }
8061 # Extract the first word of "ant", so it can be a program name with args.
8062 set dummy ant
; ac_word
=$2
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8064 $as_echo_n "checking for $ac_word... " >&6; }
8065 if ${ac_cv_path_ant+:} false
; then :
8066 $as_echo_n "(cached) " >&6
8070 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
8073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8077 test -z "$as_dir" && as_dir
=.
8078 for ac_exec_ext
in '' $ac_executable_extensions; do
8079 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8080 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
8081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8092 if test -n "$ant"; then
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
8094 $as_echo "$ant" >&6; }
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8097 $as_echo "no" >&6; }
8101 if test "$ant" = ""; then
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
8103 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Build debug or release apk" >&5
8107 $as_echo_n "checking Build debug or release apk... " >&6; }
8109 # Check whether --with-apk-version was given.
8110 if test "${with_apk_version+set}" = set; then :
8111 withval
=$with_apk_version; aros_android_antapk
=$withval
8113 aros_android_antapk
=release
8116 if test $aros_android_antapk != release
-a $aros_android_antapk != debug
; then
8117 as_fn_error $?
"apk-version has to be release or debug" "$LINENO" 5
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_antapk" >&5
8120 $as_echo "$aros_android_antapk" >&6; }
8122 if test "$host_os" = "mingw32"; then
8123 android_tool
="cmd //c $android_tool"
8131 #-----------------------------------------------------------------------------
8132 # External toolchains
8133 kernel_tool_prefix
="none"
8134 aros_tool_prefix
="none"
8135 elf_tool_prefix
="${target_cpu}-elf-"
8137 # This is the target configuration switch.
8138 case "$target_os" in
8140 aros_target_arch
="linux"
8141 aros_target_family
="unix"
8142 case "$target_cpu" in
8144 aros_target_cpu
="m68k"
8145 aros_object_format
="m68kelf"
8146 aros_flavour
="emulcompat"
8147 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8148 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8149 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8150 gcc_target_cpu
="mc68000"
8153 aros_target_cpu
="i386"
8154 aros_object_format
="elf_i386"
8155 aros_flavour
="emulation"
8156 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8157 aros_kernel_ldflags
="-Wl,-melf_i386"
8158 aros_nominal_depth
=8
8159 gcc_target_cpu
="i386"
8160 pci_hidd_target
="hidd-pci-linux"
8161 android_tool_dir_prefix
="x86"
8162 android_tool_prefix
="i686-android-linux"
8163 android_ndk_arch
="x86"
8166 aros_target_cpu
="x86_64"
8167 aros_object_format
="elf_x86_64"
8168 aros_flavour
="emulation"
8169 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8170 aros_config_cflags
="$aros_config_cflags -mcmodel=large -mno-red-zone -fno-omit-frame-pointer"
8171 aros_nominal_depth
=8
8172 pci_hidd_target
="hidd-pci-linux"
8175 aros_target_cpu
="ppc"
8176 aros_object_format
="elf32ppc"
8177 aros_flavour
="emulation"
8178 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8179 aros_nominal_depth
=8
8180 gcc_target_cpu
="ppc"
8183 # Same as powerpc, but I need this for the nightly build to work again.
8184 # Actually, the nightly should be made working with powerpc target.
8185 # That just was too much work for the moment, another week or two.
8187 aros_target_cpu
="ppc"
8188 aros_object_format
="elf32ppc"
8189 aros_flavour
="emulation"
8190 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8191 aros_nominal_depth
=8
8192 gcc_target_cpu
="ppc"
8195 aros_target_cpu
="aarch64"
8196 target_cpu
="aarch64"
8197 aros_object_format
="aarch64elf_aros"
8198 aros_flavour
="emulation"
8199 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8200 gcc_target_cpu
="aarch64"
8201 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
8202 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
8203 aros_arch_libs
="-laeabi"
8204 gcc_default_float_abi
="hard"
8205 kernel_tool_prefix
="aarch64-linux-gnueabihf-"
8208 aros_target_cpu
="arm"
8210 aros_object_format
="armelf_aros"
8211 aros_flavour
="emulation"
8212 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8213 gcc_target_cpu
="arm"
8214 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
8215 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
8216 aros_arch_libs
="-laeabi"
8217 gcc_default_float_abi
="hard"
8218 android_tool_dir_prefix
="arm-linux-androideabi"
8219 android_tool_prefix
="arm-linux-androideabi"
8220 android_ndk_arch
="arm"
8221 kernel_tool_prefix
="arm-linux-gnueabihf-"
8224 aros_target_cpu
="arm"
8225 aros_object_format
="armelf_aros"
8226 aros_flavour
="emulation"
8227 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8228 gcc_target_cpu
="arm"
8229 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
8230 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
8231 aros_arch_libs
="-laeabi"
8232 android_tool_dir_prefix
="arm-linux-androideabi"
8233 android_tool_prefix
="arm-linux-androideabi"
8234 android_ndk_arch
="arm"
8235 kernel_tool_prefix
="arm-linux-gnueabi-"
8238 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
8241 case "$aros_target_variant" in
8244 if test "$android_ndk_arch" = ""; then
8245 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
8248 aros_nominal_width
=320
8249 aros_nominal_height
=480
8250 if test "$aros_android_ndk" = "none"; then
8251 aros_kernel_cflags
="-mandroid"
8252 aros_kernel_ldflags
="-mandroid"
8255 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$kernel_tool_version/prebuilt/$android_build_os/bin:$PATH"
8256 kernel_tool_version
=""
8257 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
8258 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
8259 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
8260 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
8261 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
8264 host_android_gfx
=yes
8265 # Disable implicit PIC mode
8266 aros_target_cflags
="$aros_target_cflags -fno-pic"
8267 kernel_tool_prefix
="$android_tool_prefix-"
8273 aros_target_arch
="pc"
8274 aros_shared_default
="no"
8275 target_bootloader
="grub2"
8276 case "$target_cpu" in
8278 aros_target_cpu
="i386"
8281 if test "$aros_object_format" = "" ; then
8282 aros_object_format
="elf_i386"
8284 aros_flavour
="standalone"
8285 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8286 aros_kernel_ldflags
="-Wl,-melf_i386"
8287 aros_nominal_width
=640
8288 aros_nominal_height
=480
8289 gcc_target_cpu
="i386"
8292 aros_target_cpu
="x86_64"
8294 if test "$aros_object_format" = "" ; then
8295 aros_object_format
="elf_x86_64"
8297 aros_flavour
="standalone"
8298 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8299 aros_config_cflags
="$aros_config_cflags -mcmodel=large -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
8300 aros_kernel_ldflags
=""
8301 aros_nominal_width
=640
8302 aros_nominal_height
=480
8303 case "$aros_target_variant" in
8305 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8310 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
8316 aros_target_arch
="prep"
8317 aros_shared_default
="no"
8318 aros_target_cpu
="ppc"
8319 aros_object_format
="elf32ppc"
8320 aros_flavour
="ppcnative"
8321 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8322 aros_kernel_ldflags
=""
8323 aros_nominal_width
=640
8324 aros_nominal_height
=480
8325 gcc_target_cpu
="ppc"
8329 aros_target_arch
="freebsd"
8330 aros_target_family
="unix"
8331 aros_target_cpu
="i386"
8332 aros_flavour
="emulation"
8333 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8334 gcc_target_cpu
="i386"
8336 aros_target_strip_flags
="-x"
8340 aros_target_arch
="darwin"
8341 aros_target_family
="unix"
8342 aros_flavour
="emulation"
8343 case "$target_cpu" in
8345 aros_ios_platform
="iPhoneSimulator"
8346 aros_target_cpu
="i386"
8347 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8348 aros_kernel_ldflags
=""
8349 aros_macosx_version
="10.4"
8350 aros_nominal_depth
=8
8351 gcc_target_cpu
="i386"
8352 aros_object_format
="elf_i386"
8353 aros_kernel_ar_flags
="-cr"
8354 aros_target_strip_flags
="-x"
8355 kernel_tool_flags
="-m32"
8358 aros_target_cpu
="x86_64"
8359 aros_object_format
="elf_x86_64"
8360 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8361 aros_macosx_version
="10.6"
8362 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8363 aros_kernel_cflags
="-m64"
8364 aros_kernel_ldflags
="-m64"
8365 aros_target_cflags
="-mcmodel=large"
8366 aros_nominal_depth
=8
8368 aros_kernel_ar_flags
="-cr"
8371 aros_kernel_ranlib
="ranlib"
8373 aros_kernel_strip
="strip"
8374 kernel_tool_prefix
="i686-apple-darwin10-"
8377 aros_target_cpu
="ppc"
8378 aros_object_format
="elf32ppc"
8379 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8380 aros_kernel_ldflags
=""
8381 aros_macosx_version
="10.0"
8382 aros_nominal_depth
=8
8383 gcc_target_cpu
="ppc"
8385 aros_kernel_ar_flags
="-cr"
8386 aros_kernel_ld
="ld -arch ppc"
8387 aros_kernel_as
="as -arch ppc"
8388 aros_kernel_ranlib
="ranlib -arch ppc"
8389 aros_kernel_nm
="nm -arch ppc"
8390 aros_kernel_strip
="strip -arch ppc"
8391 kernel_tool_prefix
="powerpc-apple-darwin10-"
8394 aros_ios_platform
="iPhoneOS"
8395 aros_target_cpu
="arm"
8396 aros_object_format
="armelf_aros"
8397 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8398 aros_arch_libs
="-laeabi"
8399 aros_nominal_depth
=8
8400 gcc_target_cpu
="arm"
8402 aros_kernel_ar_flags
="-cr"
8403 aros_kernel_ld
="ld -arch arm"
8404 aros_kernel_ranlib
="ranlib -arch arm"
8405 kernel_tool_prefix
="arm-apple-darwin10-"
8406 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8409 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8412 case "$aros_target_variant" in
8414 aros_ios_version
="3.0"
8415 aros_nominal_width
=320
8416 aros_nominal_height
=480
8417 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8418 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8419 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8421 # This is here because it may depend on iOS or SDK version
8422 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8423 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8424 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8427 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8428 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8434 aros_target_arch
="dragonfly"
8435 aros_target_family
="unix"
8436 aros_flavour
="emulation"
8437 case "$target_cpu" in
8439 aros_target_cpu
="i386"
8440 aros_object_format
="elf_i386"
8441 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8444 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8445 aros_target_cpu
="x86_64"
8446 aros_object_format
="elf_x86_64"
8447 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8450 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8456 aros_target_arch
="netbsd"
8457 aros_target_family
="unix"
8458 case "$target_cpu" in
8460 aros_target_cpu
="m68k"
8461 aros_object_format
="m68kelf"
8462 aros_flavour
="emulcompat"
8463 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8464 gcc_target_cpu
="mc68000"
8467 aros_target_cpu
="i386"
8468 aros_object_format
="elf_i386"
8469 aros_flavour
="emulation"
8470 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8471 aros_nominal_depth
=8
8472 gcc_target_cpu
="i386"
8475 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8478 aros_target_genmap
="-Wl,-M -Xlinker >"
8479 aros_flavour
="emulation"
8480 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8484 aros_target_arch
="openbsd"
8485 aros_target_family
="unix"
8486 case "$target_cpu" in
8488 aros_target_cpu
="i386"
8489 aros_object_format
="elf_i386"
8490 aros_flavour
="emulation"
8491 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8492 gcc_target_cpu
="i386"
8495 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8498 aros_target_genmap
="-Wl,-M -Xlinker >"
8499 aros_target_nm_flags
="-u"
8500 aros_flavour
="emulation"
8504 aros_target_arch
="solaris"
8505 aros_target_family
="unix"
8506 case "$target_cpu" in
8508 aros_target_cpu
="i386"
8509 aros_object_format
="elf_i386"
8510 aros_flavour
="emulation"
8511 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8512 aros_nominal_depth
=8
8513 gcc_target_cpu
="i386"
8516 aros_target_cpu
="sparc"
8517 aros_object_format
="elf_sparc"
8518 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8519 gcc_target_cpu
="sparc"
8522 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8525 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8526 aros_flavour
="emulation"
8530 aros_target_arch
="morphos"
8531 aros_shared_default
="no"
8532 aros_target_cpu
="ppc"
8533 aros_object_format
="elf_ppc"
8534 aros_flavour
="nativecompat"
8535 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8536 gcc_target_cpu
="ppc"
8540 aros_target_arch
="sam440"
8541 aros_shared_default
="no"
8542 aros_target_cpu
="ppc"
8543 aros_object_format
="elf32ppc"
8544 aros_flavour
="ppcnative"
8545 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8546 aros_kernel_ldflags
=""
8547 aros_nominal_width
=1024
8548 aros_nominal_height
=768
8549 aros_nominal_depth
=24
8550 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8551 gcc_target_cpu
="powerpc"
8555 aros_target_arch
="efika"
8556 aros_shared_default
="no"
8557 aros_target_cpu
="arm"
8558 aros_object_format
="armelf_aros"
8559 aros_flavour
="standalone"
8560 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8561 aros_kernel_ldflags
=""
8562 aros_nominal_width
=1024
8563 aros_nominal_height
=600
8564 aros_arch_libs
="-laeabi"
8565 gcc_default_cpu
="armv7-a"
8566 gcc_default_fpu
="vfpv3"
8567 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8568 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8569 aros_optimization_cflags
="$aros_optimization_cflags -Os"
8570 case "$target_cpu" in
8572 gcc_default_float_abi
="hard"
8577 gcc_default_float_abi
="softfp"
8580 as_fn_error $?
"\"Unknown CPU for EfikaMX $target_cpu\"" "$LINENO" 5
8586 aros_target_arch
="chrp"
8587 aros_shared_default
="no"
8588 aros_target_cpu
="ppc"
8589 aros_object_format
="elf32ppc"
8590 aros_flavour
="ppcnative"
8591 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8592 aros_kernel_ldflags
=""
8593 aros_nominal_width
=640
8594 aros_nominal_height
=480
8595 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8596 gcc_target_cpu
="powerpc"
8597 case "$aros_target_variant" in
8599 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8605 aros_flavour
="standalone"
8606 aros_target_arch
="raspi"
8608 aros_shared_default
="no"
8610 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__"
8612 case "$target_cpu" in
8614 aros_target_cpu
="aarch64"
8615 gcc_default_cpu
="aarch64"
8616 aros_object_format
="aarch64elf_aros"
8619 aros_target_cpu
="arm"
8620 gcc_default_cpu
="armv6zk"
8621 gcc_default_cpu_tune
="arm1176jzf-s"
8622 aros_object_format
="armelf_aros"
8623 aros_config_cflags
="$aros_config_cflags -marm"
8624 aros_config_aflags
="$aros_config_aflags -marm"
8625 aros_kernel_cflags
="$aros_kernel_cflags -marm"
8626 aros_target_cflags
="$aros_kernel_cflags -marm"
8627 aros_target_mkdep
="$aros_target_mkdep -Darm"
8628 aros_arch_libs
="-laeabi"
8631 aros_target_cpu
="arm"
8632 gcc_default_cpu
="armv6zk"
8633 gcc_default_cpu_tune
="arm1176jzf-s"
8634 aros_object_format
="armelf_aros"
8635 aros_config_cflags
="$aros_config_cflags -marm"
8636 aros_config_aflags
="$aros_config_aflags -marm"
8637 aros_kernel_cflags
="$aros_kernel_cflags -marm"
8638 aros_target_cflags
="$aros_kernel_cflags -marm"
8639 aros_target_mkdep
="$aros_target_mkdep -Darm"
8640 aros_arch_libs
="-laeabi"
8643 as_fn_error $?
"\"Unknown CPU for RasPi $target_cpu\"" "$LINENO" 5
8647 aros_config_cflags
="$aros_config_cflags -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8648 aros_config_aflags
="$aros_config_aflags -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8649 aros_kernel_cflags
="$aros_kernel_cflags -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8650 aros_target_cflags
="$aros_kernel_cflags -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8652 case "$aros_target_variant" in
8654 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8660 aros_flavour
="standalone"
8661 aros_target_arch
="stm32f7_discovery"
8662 aros_target_cpu
="arm"
8663 aros_target_cpu_mode
="thumb2"
8664 aros_object_format
="armelf_aros"
8665 aros_shared_default
="no"
8667 # stm32f7 has DSP opcode support
8668 gcc_default_cpu
="armv7e-m"
8669 # gcc_default_cpu="armv7-m"
8670 gcc_default_cpu_tune
="cortex-m7"
8671 gcc_default_fpu
="fpv4-sp-d16"
8672 # GCC does not recognize fpv5-sp-d16 which should be the correct one to use, or not...
8673 # gcc_default_fpu="fpv5-sp-d16"
8674 gcc_default_float_abi
="hard"
8676 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dthumb"
8680 aros_target_arch
="amiga"
8681 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8682 aros_shared_default
="no"
8684 case "$target_cpu" in
8686 # Check whether --enable-amigaos_compliance was given.
8687 if test "${enable_amigaos_compliance+set}" = set; then :
8688 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8692 aros_target_cpu
="m68k"
8693 aros_object_format
="m68kelf"
8694 aros_flavour
="standcompat"
8695 gcc_target_cpu
="m68000"
8696 aros_nowarn_flags
="$aros_nowarn_flags NOWARN_VOLATILE_REGISTER_VAR"
8697 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -DNOLIBINLINE"
8698 aros_optimization_cflags
="$aros_optimization_cflags -Os"
8699 aros_config_aflags
="$aros_config_aflags"
8700 aros_target_strip_flags
="-R.comment --strip-debug"
8701 aros_nominal_width
=640
8702 aros_nominal_height
=256
8703 aros_nominal_depth
=2
8707 aros_flavour
="native"
8708 gcc_target_cpu
="ppc"
8711 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8717 aros_target_arch
="mingw32"
8718 aros_shared_default
="no"
8719 aros_flavour
="emulation"
8720 aros_shared_cflags
=""
8721 need_crosstools
="yes"
8724 case "$target_cpu" in
8726 aros_target_cpu
="i386"
8727 aros_object_format
="elf_i386"
8728 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8729 aros_nominal_depth
=8
8730 gcc_target_cpu
="i386"
8732 kernel_tool_prefix
="i386-mingw32-"
8735 aros_target_cpu
="x86_64"
8736 aros_object_format
="elf_x86_64"
8737 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8738 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8739 aros_nominal_depth
=8
8740 kernel_tool_prefix
="x86_64-w64-mingw32-"
8743 aros_target_cpu
="arm"
8744 aros_object_format
="armelf_aros"
8745 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8746 aros_arch_libs
="-laeabi"
8747 aros_nominal_depth
=8
8748 gcc_target_cpu
="arm"
8749 gcc_default_float_abi
="soft"
8750 kernel_tool_prefix
="arm-mingw32ce-"
8751 aros_nominal_width
=160
8752 aros_nominal_height
=160
8755 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8758 if test $host_os = "cygwin"; then
8759 aros_kernel_cflags
="-mno-cygwin"
8763 aros_target_arch
="pp"
8764 aros_shared_default
="no"
8765 case "$target_cpu" in
8767 aros_target_cpu
="m68k"
8768 aros_object_format
="m68kelf"
8769 aros_flavour
="palmnative"
8770 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8771 aros_nominal_width
=160
8772 aros_nominal_height
=160
8773 aros_nominal_depth
=1
8774 aros_target_ar_flags
="cru"
8775 aros_compiler_libs
="-lgcc1"
8776 aros_shared_default
=no
8777 aros_shared_cflags
="-fpic"
8778 aros_shared_aflags
=""
8779 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8780 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8781 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8782 aros_debug_aflags
=""
8783 aros_debug_ldflags
="$aros_symbols_debug"
8784 aros_mungwall_debug
="0"
8785 aros_modules_debug
="0"
8786 gcc_target_cpu
="mc68000"
8787 ignore_undefined_symbols
="-ius"
8790 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8796 aros_target_arch
="mac"
8797 aros_shared_default
="no"
8798 case "$target_cpu" in
8800 aros_target_cpu
="m68k"
8801 aros_object_format
="m68kelf"
8802 aros_flavour
="mac68knative"
8803 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8804 aros_nominal_width
=512
8805 aros_nominal_height
=384
8806 aros_nominal_depth
=8
8807 aros_target_ar_flags
="cru"
8808 aros_compiler_libs
="-lgcc1"
8809 aros_shared_default
=no
8810 aros_shared_cflags
="-fpic"
8811 aros_shared_aflags
=""
8812 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8813 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8814 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8815 aros_debug_aflags
=""
8816 aros_debug_ldflags
="$aros_symbols_debug"
8817 aros_mungwall_debug
="0"
8818 aros_modules_debug
="0"
8819 gcc_target_cpu
="mc68000"
8820 ignore_undefined_symbols
="-ius"
8823 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8829 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8833 #-----------------------------------------------------------------------------
8834 crosstools_guess
="yes"
8835 aros_target_toolchain
="no"
8836 aros_config_sysroot
=""
8837 aros_kernel_sysroot
=""
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8840 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8842 # Check whether --with-kernel-toolchain-prefix was given.
8843 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8844 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8848 $as_echo "$kernel_tool_prefix" >&6; }
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8851 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8853 # Check whether --with-elf-toolchain-prefix was given.
8854 if test "${with_elf_toolchain_prefix+set}" = set; then :
8855 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8856 crosstools_guess
="no"
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8860 $as_echo "$elf_tool_prefix" >&6; }
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8863 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8865 # Check whether --with-aros-toolchain was given.
8866 if test "${with_aros_toolchain+set}" = set; then :
8867 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8868 crosstools_guess
="no"
8871 if test "$aros_tool_prefix" = "yes" ; then
8872 aros_tool_prefix
=$aros_target_cpu-aros-
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8875 $as_echo "$aros_tool_prefix" >&6; }
8877 #-----------------------------------------------------------------------------
8878 # Checking if we should build crosstools..
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8880 $as_echo_n "checking whether to build crosstools... " >&6; }
8881 # Check whether --enable-crosstools was given.
8882 if test "${enable_crosstools+set}" = set; then :
8883 enableval
=$enable_crosstools; crosstools
="$enableval"
8885 crosstools
="$crosstools_guess"
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8889 $as_echo "$crosstools" >&6; }
8891 if test "${crosstools}" = "yes"; then
8892 if test "${crosstools_guess}" = "no"; then
8893 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8897 if test "${crosstools}" = "yes" ||
test "${crosstools_guess}" = "no"; then
8898 aros_target_toolchain
="yes"
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8902 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8904 # Check whether --with-aros-toolchain-install was given.
8905 if test "${with_aros_toolchain_install+set}" = set; then :
8906 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8909 if test "x$aros_toolchain_install" = "x"; then
8910 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8912 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8913 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8914 if test "$crosstools_guess" = "no" ; then
8915 toolchain_needs_sysroot
=yes
8917 if test "x-$aros_flavour" != "x-emulation" -a "x-$aros_flavour" != "x-emulcompat" ; then
8918 aros_kernel_sysroot
= $aros_config_sysroot
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8923 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking If we need to use --sysroot" >&5
8926 $as_echo_n "checking If we need to use --sysroot... " >&6; }
8927 if test "$toolchain_needs_sysroot" = "yes" ; then
8928 aros_config_sysroot
="--sysroot $AROS_BUILDDIR_UNIX/bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development"
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolchain_needs_sysroot" >&5
8931 $as_echo "$toolchain_needs_sysroot" >&6; }
8933 #-----------------------------------------------------------------------------
8934 if test "$aros_toolchain" = "gnu" ; then
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target binutils version to use" >&5
8936 $as_echo_n "checking what specific target binutils version to use... " >&6; }
8939 # Check whether --with-binutils-version was given.
8940 if test "${with_binutils_version+set}" = set; then :
8941 withval
=$with_binutils_version; use_binutils_version
="$withval"
8943 use_binutils_version
=""
8946 if test "$use_binutils_version" = ""; then
8947 target_binutils_version
="$default_binutils_version"
8949 target_binutils_version
="$use_binutils_version"
8951 if test "$aros_toolchain" = "gnu" ; then
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_binutils_version" >&5
8953 $as_echo "$target_binutils_version" >&6; }
8957 # Helper to identify gcc version
8960 #-----------------------------------------------------------------------------
8961 if test "$aros_toolchain" = "gnu" ; then
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
8963 $as_echo_n "checking what specific target gcc version to use... " >&6; }
8966 # Check whether --with-gcc-version was given.
8967 if test "${with_gcc_version+set}" = set; then :
8968 withval
=$with_gcc_version; use_gcc_version
="$withval"
8973 if test "$use_gcc_version" = ""; then
8974 if test "${crosstools}" = "no"; then
8975 if test "x$aros_toolchain_install" != "x"; then
8977 target_gcc_version
=""
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
8979 $as_echo_n "checking gcc version... " >&6; }
8980 if ${ax_cv_gcc_version+:} false
; then :
8981 $as_echo_n "(cached) " >&6
8984 ax_cv_gcc_version
="`$AROS_CROSSTOOLSDIR/${aros_tool_prefix}${toolchain_cpp_preprocessor} -dumpversion`"
8985 if test "x$ax_cv_gcc_version" = "x"; then :
8987 ax_cv_gcc_version
=""
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_version" >&5
8993 $as_echo "$ax_cv_gcc_version" >&6; }
8994 target_gcc_version
=$ax_cv_gcc_version
8999 if test "$use_gcc_version" = ""; then
9000 target_gcc_version
="$default_gcc_version"
9003 target_gcc_version
="$use_gcc_version"
9005 if test "$aros_toolchain" = "gnu" ; then
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_gcc_version" >&5
9007 $as_echo "$target_gcc_version" >&6; }
9009 GCC_VERSION_MAJOR
=$
(echo $target_gcc_version | cut
-d'.' -f1)
9010 GCC_VERSION_MINOR
=$
(echo $target_gcc_version | cut
-d'.' -f2)
9011 GCC_VERSION_PATCH
=$
(echo $target_gcc_version | cut
-d'.' -f3)
9013 gcc_fix_bitfields
="false"
9014 if test "$GCC_VERSION_MAJOR" -gt "4" ; then
9015 gcc_fix_bitfields
="true"
9017 if test "$GCC_VERSION_MAJOR" -gt "3" ; then
9018 if test "$GCC_VERSION_MINOR" -gt "6" ; then
9019 gcc_fix_bitfields
="true"
9024 if test "$gcc_fix_bitfields" = "true" ; then
9025 case "$aros_target_cpu" in
9027 aros_kernel_cflags
="$aros_kernel_cflags -mno-ms-bitfields"
9028 aros_target_cflags
="$aros_target_cflags -mno-ms-bitfields"
9031 aros_kernel_cflags
="$aros_kernel_cflags -mno-ms-bitfields"
9032 aros_target_cflags
="$aros_target_cflags -mno-ms-bitfields"
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Objective-C suppport" >&5
9039 $as_echo_n "checking whether to enable Objective-C suppport... " >&6; }
9040 # Check whether --enable-objc was given.
9041 if test "${enable_objc+set}" = set; then :
9042 enableval
=$enable_objc; objc
="$enableval"
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objc" >&5
9048 $as_echo "$objc" >&6; }
9049 if test "x$objc" = "xyes"; then
9052 objc_target
="no-objc"
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Java suppport" >&5
9056 $as_echo_n "checking whether to enable Java suppport... " >&6; }
9057 # Check whether --enable-java was given.
9058 if test "${enable_java+set}" = set; then :
9059 enableval
=$enable_java; java
="$enableval"
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $java" >&5
9065 $as_echo "$java" >&6; }
9066 if test "x$java" != "xno"; then
9069 java_target
="no-java"
9072 spec_obj_format
="-m $aros_object_format"
9073 # Now process extra architecture-specific options.
9074 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
9075 # as well as floating-point ABI.
9076 case "$aros_target_cpu" in
9078 spec_obj_format
="%{!m32:-m elf_x86_64} %{m32:-m elf_i386}"
9081 if test "$gcc_default_cpu" = ""; then
9082 gcc_default_cpu
="armv6"
9084 if test "$gcc_default_fpu" = ""; then
9085 gcc_default_fpu
="vfp"
9087 if test "$gcc_default_float_abi" = ""; then
9088 if test "$target_cpu" = "armhf"; then
9089 gcc_default_float_abi
="hard"
9091 gcc_default_float_abi
="softfp"
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
9096 $as_echo_n "checking Which minimum CPU to use... " >&6; }
9098 # Check whether --with-cpu was given.
9099 if test "${with_cpu+set}" = set; then :
9100 withval
=$with_cpu; aros_gcc_cpu
="$withval"
9102 aros_gcc_cpu
=$gcc_default_cpu
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
9106 $as_echo "$aros_gcc_cpu" >&6; }
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
9109 $as_echo_n "checking Which minimum FPU to use... " >&6; }
9111 # Check whether --with-fpu was given.
9112 if test "${with_fpu+set}" = set; then :
9113 withval
=$with_fpu; aros_gcc_fpu
="$withval"
9115 aros_gcc_fpu
=$gcc_default_fpu
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
9119 $as_echo "$aros_gcc_fpu" >&6; }
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
9122 $as_echo_n "checking Which floating point ABI to use... " >&6; }
9124 # Check whether --with-float was given.
9125 if test "${with_float+set}" = set; then :
9126 withval
=$with_float; aros_gcc_float_abi
="$withval"
9128 aros_gcc_float_abi
=$gcc_default_float_abi
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
9132 $as_echo "$aros_gcc_float_abi" >&6; }
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which ARM mode to use" >&5
9135 $as_echo_n "checking Which ARM mode to use... " >&6; }
9136 if test "$aros_target_cpu_mode" = ""; then
9137 aros_target_cpu_mode
="arm32"
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Defaulting to $aros_target_cpu_mode" >&5
9139 $as_echo "Defaulting to $aros_target_cpu_mode" >&6; }
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cpu_mode" >&5
9142 $as_echo "$aros_target_cpu_mode" >&6; }
9145 case "$aros_target_cpu_mode" in
9147 gcc_default_mode
="arm"
9148 aros_isa_flags
="-m$gcc_default_mode -mthumb-interwork -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi"
9151 as_fn_error $?
"ARM 64-bit mode is unsupported" "$LINENO" 5
9154 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9157 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9160 gcc_default_mode
="thumb"
9161 # Do not specify -mthumb-interwork as it may add extra code to support arm/thumb interwork
9162 aros_isa_flags
="-m$gcc_default_mode -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi"
9165 as_fn_error $?
"Unsupported ARM mode specified $aros_target_cpu_mode" "$LINENO" 5
9169 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -fno-exceptions"
9170 aros_config_aflags
="$aros_config_aflags -fno-asynchronous-unwind-tables -fno-exceptions"
9173 aros_isa_flags
="-m32 -march=i486"
9174 aros_kernel_cflags
="$aros_kernel_cflags $aros_isa_flags"
9175 aros_kernel_ldflags
="$aros_kernel_ldflags -m32"
9179 # Some architectures may need custom ELF specs.
9180 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
9181 elf_specs_in
=config
/${aros_object_format}-specs.
in
9183 elf_specs_in
=config
/elf-specs.
in
9186 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
9187 # Since we override specs, we may need to put these defines there
9188 if test "$gcc_target_cpu" != ""; then
9189 gcc_target_cpu
="-D__${gcc_target_cpu}__"
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
9193 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
9195 # Check whether --with-portssources was given.
9196 if test "${with_portssources+set}" = set; then :
9197 withval
=$with_portssources; with_portssrcdir
=$withval
9199 with_portssrcdir
="default"
9202 if test "$with_portssrcdir" = "default"; then
9203 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
9205 AROS_PORTSSRCDIR
="$with_portssrcdir"
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
9208 $as_echo "$AROS_PORTSSRCDIR" >&6; }
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
9211 $as_echo_n "checking which bootloader to use... " >&6; }
9213 # Check whether --with-bootloader was given.
9214 if test "${with_bootloader+set}" = set; then :
9215 withval
=$with_bootloader; target_bootloader
=$withval
9217 target_bootloader
=$target_bootloader
9220 if test "$target_bootloader" = "none"; then
9221 aros_target_bootloader
=""
9223 aros_target_bootloader
="$target_bootloader"
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
9226 $as_echo "$target_bootloader" >&6; }
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
9229 $as_echo_n "checking which icon-set to use... " >&6; }
9231 # Check whether --with-iconset was given.
9232 if test "${with_iconset+set}" = set; then :
9233 withval
=$with_iconset; target_iconset
=$withval
9235 target_iconset
="default"
9238 if test "$target_iconset" = "default"; then
9239 aros_target_iconset
="Gorilla"
9240 target_iconset
="default (Gorilla)"
9242 aros_target_iconset
="$target_iconset"
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
9245 $as_echo "$target_iconset" >&6; }
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
9248 $as_echo_n "checking which GUI Theme to use... " >&6; }
9250 # Check whether --with-theme was given.
9251 if test "${with_theme+set}" = set; then :
9252 withval
=$with_theme; target_guitheme
=$withval
9254 target_guitheme
="default"
9257 if test "$target_guitheme" = "default"; then
9258 aros_target_guitheme
="Ice"
9260 aros_target_guitheme
="$target_guitheme"
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
9263 $as_echo "$aros_target_guitheme" >&6; }
9265 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
9269 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9273 if test "$aros_host_cpu" == "x86_64" ; then
9274 if test "$aros_target_cpu" == "i386" ; then
9279 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9280 if test "$aros_host_arch" != "$aros_target_arch" ; then
9284 if test "$host_cc_elf" = "no" ; then
9289 if test "$cross_compiling" = "no" ; then
9290 kernel_tool_prefix
=""
9291 if test "$host_cc_elf" = "yes" ; then
9296 if test "$kernel_tool_version" != ""; then
9297 kernel_tool_version
="-$kernel_tool_version"
9300 #######################################################################
9301 ## Compute what toolchains to use, and their paths ##
9302 #######################################################################
9304 # This takes, as input:
9305 # crosstools {yes,no}
9306 # kernel_tool_version {"",[version]}
9307 # target_tool_version {"",[version]}
9308 # kernel_tool_prefix {none,[some-arch-os-]}
9310 # target_tool_prefix ${aros_target_cpu}-aros-
9311 # aros_tool_prefix ${aros_target_cpu}-aros-
9314 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9315 # Where the 'kernel' binaries are located
9316 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9317 # Where the 'target' binaries are located
9318 # (not the symlink farm - that is aros_target_*!)
9321 # if crosstools then
9322 # if kernel_tools_prefix = "no-kernel-prefix-"
9323 # aros_kernel_* = crosstools cc paths
9324 # aros_kernel_cc = elf cc wrapper around crosstools cc
9326 # VALIDATE(${kernel_tools_prefix}*)
9327 # aros_kernel_* = ${kernel_tools_prefix}*
9328 # if ${kernel_tools_prefix}cc is an AROS gcc
9329 # aros_kernel_cc = ${kernel_tools_prefix}cc
9331 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
9335 # orig_target_* = aros built crosstools
9336 # orig_target_cc = elf cc wrapper around crosstools cc
9338 # VALIDATE(${kernel_tools_prefix}*)
9340 # orig_target_* = aros_kernel_*
9341 # if aros_kernel_cc is an AROS gcc
9342 # orig_target_cc = aros_kernel_cc
9344 # orig_target_cc = aros cc wrapper around aros_kernel_cc
9348 if test "$aros_toolchain" = "gnu" ; then
9349 target_tool_prefix
="${aros_target_cpu}-aros-"
9350 elif test "$aros_toolchain" = "llvm" ; then
9351 target_tool_prefix
="bin/"
9354 if test "$kernel_tool_prefix" != "" ; then
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
9356 $as_echo_n "checking which kernel tools... " >&6; }
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
9358 $as_echo "$kernel_tool_prefix" >&6; };
9361 if test "$kernel_tool_prefix" = "none" ; then
9362 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9363 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
9366 # Kernel tools required - find them
9367 # Note that 'normally', aros_kernel_* overrides will be
9368 # empty, unless specified in the per-arch sections above.
9369 if test "x$aros_kernel_cpp" = "x"; then
9370 aros_kernel_cpp
=${kernel_tool_prefix}${CPP}
9372 if test "${kernel_tool_version}" != ""; then
9373 if test "$aros_kernel_cpp" != ""; then
9374 ac_prog_args
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9375 ac_prog_cmd
=`expr "X$aros_kernel_cpp" : '^\S*'`
9376 aros_kernel_cpp
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9380 if test "$aros_kernel_cpp" = ""; then
9381 if test "$cross_compiling" = "yes" ; then
9382 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
9383 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9385 $as_echo_n "checking for $ac_word... " >&6; }
9386 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9387 $as_echo_n "(cached) " >&6
9389 case $aros_kernel_cpp in
9391 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9398 test -z "$as_dir" && as_dir
=.
9399 for ac_exec_ext
in '' $ac_executable_extensions; do
9400 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9401 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9412 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9413 if test -n "$aros_kernel_cpp"; then
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9415 $as_echo "$aros_kernel_cpp" >&6; }
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9418 $as_echo "no" >&6; }
9423 if test "$GCC" = "yes"; then
9424 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
9425 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
9426 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9428 $as_echo_n "checking for $ac_word... " >&6; }
9429 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9430 $as_echo_n "(cached) " >&6
9432 case $aros_kernel_cpp in
9434 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9438 for as_dir
in `dirname $aros_gcc_cpp`
9441 test -z "$as_dir" && as_dir
=.
9442 for ac_exec_ext
in '' $ac_executable_extensions; do
9443 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9444 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9455 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9456 if test -n "$aros_kernel_cpp"; then
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9458 $as_echo "$aros_kernel_cpp" >&6; }
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9461 $as_echo "no" >&6; }
9466 if test "$aros_kernel_cpp" = ""; then
9467 # Extract the first word of "cpp", so it can be a program name with args.
9468 set dummy cpp
; ac_word
=$2
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9470 $as_echo_n "checking for $ac_word... " >&6; }
9471 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9472 $as_echo_n "(cached) " >&6
9474 case $aros_kernel_cpp in
9476 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9483 test -z "$as_dir" && as_dir
=.
9484 for ac_exec_ext
in '' $ac_executable_extensions; do
9485 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9486 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9497 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9498 if test -n "$aros_kernel_cpp"; then
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9500 $as_echo "$aros_kernel_cpp" >&6; }
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9503 $as_echo "no" >&6; }
9510 ac_tool_optarg
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9511 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
9512 set dummy
$aros_kernel_cpp; ac_word
=$2
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9514 $as_echo_n "checking for $ac_word... " >&6; }
9515 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9516 $as_echo_n "(cached) " >&6
9518 case $aros_kernel_cpp in
9520 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9527 test -z "$as_dir" && as_dir
=.
9528 for ac_exec_ext
in '' $ac_executable_extensions; do
9529 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9530 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9541 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9542 if test -n "$aros_kernel_cpp"; then
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9544 $as_echo "$aros_kernel_cpp" >&6; }
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9547 $as_echo "no" >&6; }
9551 aros_kernel_cpp
="$aros_kernel_cpp $ac_tool_optarg"
9555 if test "$aros_kernel_cpp" = ""; then
9558 if test "$aros_kernel_cpp" = "no"; then
9561 if test "$req_avail" = "no"; then
9562 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
9565 if test "x$aros_kernel_cc" = "x"; then
9566 aros_kernel_cc
=${kernel_tool_prefix}${CC}
9568 if test "${kernel_tool_version}" != ""; then
9569 if test "$aros_kernel_cc" != ""; then
9570 ac_prog_args
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
9571 ac_prog_cmd
=`expr "X$aros_kernel_cc" : '^\S*'`
9572 aros_kernel_cc
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9576 if test "$aros_kernel_cc" = ""; then
9577 if test "$cross_compiling" = "yes" ; then
9578 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
9579 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9581 $as_echo_n "checking for $ac_word... " >&6; }
9582 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9583 $as_echo_n "(cached) " >&6
9585 case $aros_kernel_cc in
9587 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9594 test -z "$as_dir" && as_dir
=.
9595 for ac_exec_ext
in '' $ac_executable_extensions; do
9596 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9597 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9608 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9609 if test -n "$aros_kernel_cc"; then
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9611 $as_echo "$aros_kernel_cc" >&6; }
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9614 $as_echo "no" >&6; }
9619 if test "$GCC" = "yes"; then
9620 aros_gcc_cc
=`$CC -print-prog-name=cc`
9621 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
9622 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9624 $as_echo_n "checking for $ac_word... " >&6; }
9625 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9626 $as_echo_n "(cached) " >&6
9628 case $aros_kernel_cc in
9630 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9634 for as_dir
in `dirname $aros_gcc_cc`
9637 test -z "$as_dir" && as_dir
=.
9638 for ac_exec_ext
in '' $ac_executable_extensions; do
9639 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9640 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9651 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9652 if test -n "$aros_kernel_cc"; then
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9654 $as_echo "$aros_kernel_cc" >&6; }
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9657 $as_echo "no" >&6; }
9662 if test "$aros_kernel_cc" = ""; then
9663 # Extract the first word of "cc", so it can be a program name with args.
9664 set dummy cc
; ac_word
=$2
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9666 $as_echo_n "checking for $ac_word... " >&6; }
9667 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9668 $as_echo_n "(cached) " >&6
9670 case $aros_kernel_cc in
9672 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9679 test -z "$as_dir" && as_dir
=.
9680 for ac_exec_ext
in '' $ac_executable_extensions; do
9681 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9682 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9693 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9694 if test -n "$aros_kernel_cc"; then
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9696 $as_echo "$aros_kernel_cc" >&6; }
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9699 $as_echo "no" >&6; }
9706 ac_tool_optarg
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
9707 # Extract the first word of "$aros_kernel_cc", so it can be a program name with args.
9708 set dummy
$aros_kernel_cc; ac_word
=$2
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9710 $as_echo_n "checking for $ac_word... " >&6; }
9711 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9712 $as_echo_n "(cached) " >&6
9714 case $aros_kernel_cc in
9716 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9723 test -z "$as_dir" && as_dir
=.
9724 for ac_exec_ext
in '' $ac_executable_extensions; do
9725 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9726 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9737 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9738 if test -n "$aros_kernel_cc"; then
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9740 $as_echo "$aros_kernel_cc" >&6; }
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9743 $as_echo "no" >&6; }
9747 aros_kernel_cc
="$aros_kernel_cc $ac_tool_optarg"
9751 if test "$aros_kernel_cc" = ""; then
9754 if test "$aros_kernel_cc" = "no"; then
9757 if test "$req_avail" = "no"; then
9758 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9761 if test "x$aros_kernel_cxx" = "x"; then
9762 aros_kernel_cxx
=${kernel_tool_prefix}${CXX}
9764 if test "${kernel_tool_version}" != ""; then
9765 if test "$aros_kernel_cxx" != ""; then
9766 ac_prog_args
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
9767 ac_prog_cmd
=`expr "X$aros_kernel_cxx" : '^\S*'`
9768 aros_kernel_cxx
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9772 if test "$aros_kernel_cxx" = ""; then
9773 if test "$cross_compiling" = "yes" ; then
9774 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9775 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9777 $as_echo_n "checking for $ac_word... " >&6; }
9778 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9779 $as_echo_n "(cached) " >&6
9781 case $aros_kernel_cxx in
9783 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9790 test -z "$as_dir" && as_dir
=.
9791 for ac_exec_ext
in '' $ac_executable_extensions; do
9792 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9793 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9804 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9805 if test -n "$aros_kernel_cxx"; then
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9807 $as_echo "$aros_kernel_cxx" >&6; }
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9810 $as_echo "no" >&6; }
9815 if test "$GCC" = "yes"; then
9816 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9817 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9818 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9820 $as_echo_n "checking for $ac_word... " >&6; }
9821 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9822 $as_echo_n "(cached) " >&6
9824 case $aros_kernel_cxx in
9826 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9830 for as_dir
in `dirname $aros_gcc_cxx`
9833 test -z "$as_dir" && as_dir
=.
9834 for ac_exec_ext
in '' $ac_executable_extensions; do
9835 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9836 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9847 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9848 if test -n "$aros_kernel_cxx"; then
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9850 $as_echo "$aros_kernel_cxx" >&6; }
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9853 $as_echo "no" >&6; }
9858 if test "$aros_kernel_cxx" = ""; then
9859 # Extract the first word of "cxx", so it can be a program name with args.
9860 set dummy cxx
; ac_word
=$2
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9862 $as_echo_n "checking for $ac_word... " >&6; }
9863 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9864 $as_echo_n "(cached) " >&6
9866 case $aros_kernel_cxx in
9868 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9875 test -z "$as_dir" && as_dir
=.
9876 for ac_exec_ext
in '' $ac_executable_extensions; do
9877 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9878 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9889 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9890 if test -n "$aros_kernel_cxx"; then
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9892 $as_echo "$aros_kernel_cxx" >&6; }
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9895 $as_echo "no" >&6; }
9902 ac_tool_optarg
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
9903 # Extract the first word of "$aros_kernel_cxx", so it can be a program name with args.
9904 set dummy
$aros_kernel_cxx; ac_word
=$2
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9906 $as_echo_n "checking for $ac_word... " >&6; }
9907 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9908 $as_echo_n "(cached) " >&6
9910 case $aros_kernel_cxx in
9912 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9919 test -z "$as_dir" && as_dir
=.
9920 for ac_exec_ext
in '' $ac_executable_extensions; do
9921 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9922 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9933 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9934 if test -n "$aros_kernel_cxx"; then
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9936 $as_echo "$aros_kernel_cxx" >&6; }
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9939 $as_echo "no" >&6; }
9943 aros_kernel_cxx
="$aros_kernel_cxx $ac_tool_optarg"
9946 # If it's set, make sure it's really there
9947 if test "x$aros_kernel_cxx" != "x" ; then
9949 if test "$aros_kernel_cxx" = ""; then
9952 if test "$aros_kernel_cxx" = "no"; then
9955 if test "$req_avail" = "no"; then
9956 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9960 if test "$aros_kernel_ld" = ""; then
9961 if test "$cross_compiling" = "yes" ; then
9962 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9963 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9965 $as_echo_n "checking for $ac_word... " >&6; }
9966 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9967 $as_echo_n "(cached) " >&6
9969 case $aros_kernel_ld in
9971 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9978 test -z "$as_dir" && as_dir
=.
9979 for ac_exec_ext
in '' $ac_executable_extensions; do
9980 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9981 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9992 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9993 if test -n "$aros_kernel_ld"; then
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9995 $as_echo "$aros_kernel_ld" >&6; }
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9998 $as_echo "no" >&6; }
10003 if test "$GCC" = "yes"; then
10004 aros_gcc_ld
=`$CC -print-prog-name=ld`
10005 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
10006 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10008 $as_echo_n "checking for $ac_word... " >&6; }
10009 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10010 $as_echo_n "(cached) " >&6
10012 case $aros_kernel_ld in
10014 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10018 for as_dir
in `dirname $aros_gcc_ld`
10021 test -z "$as_dir" && as_dir
=.
10022 for ac_exec_ext
in '' $ac_executable_extensions; do
10023 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10024 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10035 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10036 if test -n "$aros_kernel_ld"; then
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10038 $as_echo "$aros_kernel_ld" >&6; }
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10041 $as_echo "no" >&6; }
10046 if test "$aros_kernel_ld" = ""; then
10047 # Extract the first word of "ld", so it can be a program name with args.
10048 set dummy ld
; ac_word
=$2
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10050 $as_echo_n "checking for $ac_word... " >&6; }
10051 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10052 $as_echo_n "(cached) " >&6
10054 case $aros_kernel_ld in
10056 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10060 for as_dir
in $PATH
10063 test -z "$as_dir" && as_dir
=.
10064 for ac_exec_ext
in '' $ac_executable_extensions; do
10065 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10066 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10077 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10078 if test -n "$aros_kernel_ld"; then
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10080 $as_echo "$aros_kernel_ld" >&6; }
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10083 $as_echo "no" >&6; }
10090 ac_tool_optarg
=`expr "X$aros_kernel_ld" : '[^ ]* \(.*\)'`
10091 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
10092 set dummy
$aros_kernel_ld; ac_word
=$2
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10094 $as_echo_n "checking for $ac_word... " >&6; }
10095 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10096 $as_echo_n "(cached) " >&6
10098 case $aros_kernel_ld in
10100 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10104 for as_dir
in $PATH
10107 test -z "$as_dir" && as_dir
=.
10108 for ac_exec_ext
in '' $ac_executable_extensions; do
10109 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10110 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10121 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10122 if test -n "$aros_kernel_ld"; then
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10124 $as_echo "$aros_kernel_ld" >&6; }
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10127 $as_echo "no" >&6; }
10131 aros_kernel_ld
="$aros_kernel_ld $ac_tool_optarg"
10135 if test "$aros_kernel_ld" = ""; then
10138 if test "$aros_kernel_ld" = "no"; then
10141 if test "$req_avail" = "no"; then
10142 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10145 if test "$aros_kernel_as" = ""; then
10146 if test "$cross_compiling" = "yes" ; then
10147 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
10148 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10150 $as_echo_n "checking for $ac_word... " >&6; }
10151 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10152 $as_echo_n "(cached) " >&6
10154 case $aros_kernel_as in
10156 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10160 for as_dir
in $PATH
10163 test -z "$as_dir" && as_dir
=.
10164 for ac_exec_ext
in '' $ac_executable_extensions; do
10165 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10166 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10177 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10178 if test -n "$aros_kernel_as"; then
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10180 $as_echo "$aros_kernel_as" >&6; }
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10183 $as_echo "no" >&6; }
10188 if test "$GCC" = "yes"; then
10189 aros_gcc_as
=`$CC -print-prog-name=as`
10190 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
10191 set dummy
`basename $aros_gcc_as`; ac_word
=$2
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10193 $as_echo_n "checking for $ac_word... " >&6; }
10194 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10195 $as_echo_n "(cached) " >&6
10197 case $aros_kernel_as in
10199 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10203 for as_dir
in `dirname $aros_gcc_as`
10206 test -z "$as_dir" && as_dir
=.
10207 for ac_exec_ext
in '' $ac_executable_extensions; do
10208 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10209 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10220 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10221 if test -n "$aros_kernel_as"; then
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10223 $as_echo "$aros_kernel_as" >&6; }
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10226 $as_echo "no" >&6; }
10231 if test "$aros_kernel_as" = ""; then
10232 # Extract the first word of "as", so it can be a program name with args.
10233 set dummy as
; ac_word
=$2
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10235 $as_echo_n "checking for $ac_word... " >&6; }
10236 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10237 $as_echo_n "(cached) " >&6
10239 case $aros_kernel_as in
10241 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10245 for as_dir
in $PATH
10248 test -z "$as_dir" && as_dir
=.
10249 for ac_exec_ext
in '' $ac_executable_extensions; do
10250 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10251 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10262 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10263 if test -n "$aros_kernel_as"; then
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10265 $as_echo "$aros_kernel_as" >&6; }
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10268 $as_echo "no" >&6; }
10275 ac_tool_optarg
=`expr "X$aros_kernel_as" : '[^ ]* \(.*\)'`
10276 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
10277 set dummy
$aros_kernel_as; ac_word
=$2
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10279 $as_echo_n "checking for $ac_word... " >&6; }
10280 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10281 $as_echo_n "(cached) " >&6
10283 case $aros_kernel_as in
10285 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10289 for as_dir
in $PATH
10292 test -z "$as_dir" && as_dir
=.
10293 for ac_exec_ext
in '' $ac_executable_extensions; do
10294 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10295 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10306 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10307 if test -n "$aros_kernel_as"; then
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10309 $as_echo "$aros_kernel_as" >&6; }
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10312 $as_echo "no" >&6; }
10316 aros_kernel_as
="$aros_kernel_as $ac_tool_optarg"
10320 if test "$aros_kernel_as" = ""; then
10323 if test "$aros_kernel_as" = "no"; then
10326 if test "$req_avail" = "no"; then
10327 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
10330 if test "$aros_kernel_ar" = ""; then
10331 if test "$cross_compiling" = "yes" ; then
10332 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
10333 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10335 $as_echo_n "checking for $ac_word... " >&6; }
10336 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10337 $as_echo_n "(cached) " >&6
10339 case $aros_kernel_ar in
10341 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10345 for as_dir
in $PATH
10348 test -z "$as_dir" && as_dir
=.
10349 for ac_exec_ext
in '' $ac_executable_extensions; do
10350 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10351 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10362 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10363 if test -n "$aros_kernel_ar"; then
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10365 $as_echo "$aros_kernel_ar" >&6; }
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10368 $as_echo "no" >&6; }
10373 if test "$GCC" = "yes"; then
10374 aros_gcc_ar
=`$CC -print-prog-name=ar`
10375 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
10376 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10378 $as_echo_n "checking for $ac_word... " >&6; }
10379 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10380 $as_echo_n "(cached) " >&6
10382 case $aros_kernel_ar in
10384 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10388 for as_dir
in `dirname $aros_gcc_ar`
10391 test -z "$as_dir" && as_dir
=.
10392 for ac_exec_ext
in '' $ac_executable_extensions; do
10393 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10394 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10405 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10406 if test -n "$aros_kernel_ar"; then
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10408 $as_echo "$aros_kernel_ar" >&6; }
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10411 $as_echo "no" >&6; }
10416 if test "$aros_kernel_ar" = ""; then
10417 # Extract the first word of "ar", so it can be a program name with args.
10418 set dummy
ar; ac_word
=$2
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10420 $as_echo_n "checking for $ac_word... " >&6; }
10421 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10422 $as_echo_n "(cached) " >&6
10424 case $aros_kernel_ar in
10426 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10430 for as_dir
in $PATH
10433 test -z "$as_dir" && as_dir
=.
10434 for ac_exec_ext
in '' $ac_executable_extensions; do
10435 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10436 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10447 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10448 if test -n "$aros_kernel_ar"; then
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10450 $as_echo "$aros_kernel_ar" >&6; }
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10453 $as_echo "no" >&6; }
10460 ac_tool_optarg
=`expr "X$aros_kernel_ar" : '[^ ]* \(.*\)'`
10461 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
10462 set dummy
$aros_kernel_ar; ac_word
=$2
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10464 $as_echo_n "checking for $ac_word... " >&6; }
10465 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10466 $as_echo_n "(cached) " >&6
10468 case $aros_kernel_ar in
10470 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10474 for as_dir
in $PATH
10477 test -z "$as_dir" && as_dir
=.
10478 for ac_exec_ext
in '' $ac_executable_extensions; do
10479 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10480 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10491 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10492 if test -n "$aros_kernel_ar"; then
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10494 $as_echo "$aros_kernel_ar" >&6; }
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10497 $as_echo "no" >&6; }
10501 aros_kernel_ar
="$aros_kernel_ar $ac_tool_optarg"
10505 if test "$aros_kernel_ar" = ""; then
10508 if test "$aros_kernel_ar" = "no"; then
10511 if test "$req_avail" = "no"; then
10512 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
10515 if test "$aros_kernel_ranlib" = ""; then
10516 if test "$cross_compiling" = "yes" ; then
10517 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
10518 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10520 $as_echo_n "checking for $ac_word... " >&6; }
10521 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10522 $as_echo_n "(cached) " >&6
10524 case $aros_kernel_ranlib in
10526 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10530 for as_dir
in $PATH
10533 test -z "$as_dir" && as_dir
=.
10534 for ac_exec_ext
in '' $ac_executable_extensions; do
10535 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10536 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10547 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10548 if test -n "$aros_kernel_ranlib"; then
10549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10550 $as_echo "$aros_kernel_ranlib" >&6; }
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10553 $as_echo "no" >&6; }
10558 if test "$GCC" = "yes"; then
10559 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10560 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10561 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10563 $as_echo_n "checking for $ac_word... " >&6; }
10564 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10565 $as_echo_n "(cached) " >&6
10567 case $aros_kernel_ranlib in
10569 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10573 for as_dir
in `dirname $aros_gcc_ranlib`
10576 test -z "$as_dir" && as_dir
=.
10577 for ac_exec_ext
in '' $ac_executable_extensions; do
10578 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10579 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10590 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10591 if test -n "$aros_kernel_ranlib"; then
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10593 $as_echo "$aros_kernel_ranlib" >&6; }
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10596 $as_echo "no" >&6; }
10601 if test "$aros_kernel_ranlib" = ""; then
10602 # Extract the first word of "ranlib", so it can be a program name with args.
10603 set dummy ranlib
; ac_word
=$2
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10605 $as_echo_n "checking for $ac_word... " >&6; }
10606 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10607 $as_echo_n "(cached) " >&6
10609 case $aros_kernel_ranlib in
10611 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10615 for as_dir
in $PATH
10618 test -z "$as_dir" && as_dir
=.
10619 for ac_exec_ext
in '' $ac_executable_extensions; do
10620 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10621 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10632 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10633 if test -n "$aros_kernel_ranlib"; then
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10635 $as_echo "$aros_kernel_ranlib" >&6; }
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10638 $as_echo "no" >&6; }
10645 ac_tool_optarg
=`expr "X$aros_kernel_ranlib" : '[^ ]* \(.*\)'`
10646 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
10647 set dummy
$aros_kernel_ranlib; ac_word
=$2
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10649 $as_echo_n "checking for $ac_word... " >&6; }
10650 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10651 $as_echo_n "(cached) " >&6
10653 case $aros_kernel_ranlib in
10655 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10659 for as_dir
in $PATH
10662 test -z "$as_dir" && as_dir
=.
10663 for ac_exec_ext
in '' $ac_executable_extensions; do
10664 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10665 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10676 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10677 if test -n "$aros_kernel_ranlib"; then
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10679 $as_echo "$aros_kernel_ranlib" >&6; }
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10682 $as_echo "no" >&6; }
10686 aros_kernel_ranlib
="$aros_kernel_ranlib $ac_tool_optarg"
10690 if test "$aros_kernel_ranlib" = ""; then
10693 if test "$aros_kernel_ranlib" = "no"; then
10696 if test "$req_avail" = "no"; then
10697 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
10700 if test "$aros_kernel_nm" = ""; then
10701 if test "$cross_compiling" = "yes" ; then
10702 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
10703 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10705 $as_echo_n "checking for $ac_word... " >&6; }
10706 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10707 $as_echo_n "(cached) " >&6
10709 case $aros_kernel_nm in
10711 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10715 for as_dir
in $PATH
10718 test -z "$as_dir" && as_dir
=.
10719 for ac_exec_ext
in '' $ac_executable_extensions; do
10720 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10721 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10732 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10733 if test -n "$aros_kernel_nm"; then
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10735 $as_echo "$aros_kernel_nm" >&6; }
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10738 $as_echo "no" >&6; }
10743 if test "$GCC" = "yes"; then
10744 aros_gcc_nm
=`$CC -print-prog-name=nm`
10745 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10746 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10748 $as_echo_n "checking for $ac_word... " >&6; }
10749 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10750 $as_echo_n "(cached) " >&6
10752 case $aros_kernel_nm in
10754 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10758 for as_dir
in `dirname $aros_gcc_nm`
10761 test -z "$as_dir" && as_dir
=.
10762 for ac_exec_ext
in '' $ac_executable_extensions; do
10763 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10764 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10775 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10776 if test -n "$aros_kernel_nm"; then
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10778 $as_echo "$aros_kernel_nm" >&6; }
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10781 $as_echo "no" >&6; }
10786 if test "$aros_kernel_nm" = ""; then
10787 # Extract the first word of "nm", so it can be a program name with args.
10788 set dummy nm
; ac_word
=$2
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10790 $as_echo_n "checking for $ac_word... " >&6; }
10791 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10792 $as_echo_n "(cached) " >&6
10794 case $aros_kernel_nm in
10796 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10800 for as_dir
in $PATH
10803 test -z "$as_dir" && as_dir
=.
10804 for ac_exec_ext
in '' $ac_executable_extensions; do
10805 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10806 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10817 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10818 if test -n "$aros_kernel_nm"; then
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10820 $as_echo "$aros_kernel_nm" >&6; }
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10823 $as_echo "no" >&6; }
10830 ac_tool_optarg
=`expr "X$aros_kernel_nm" : '[^ ]* \(.*\)'`
10831 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10832 set dummy
$aros_kernel_nm; ac_word
=$2
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10834 $as_echo_n "checking for $ac_word... " >&6; }
10835 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10836 $as_echo_n "(cached) " >&6
10838 case $aros_kernel_nm in
10840 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10844 for as_dir
in $PATH
10847 test -z "$as_dir" && as_dir
=.
10848 for ac_exec_ext
in '' $ac_executable_extensions; do
10849 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10850 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10861 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10862 if test -n "$aros_kernel_nm"; then
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10864 $as_echo "$aros_kernel_nm" >&6; }
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10867 $as_echo "no" >&6; }
10871 aros_kernel_nm
="$aros_kernel_nm $ac_tool_optarg"
10875 if test "$aros_kernel_nm" = ""; then
10878 if test "$aros_kernel_nm" = "no"; then
10881 if test "$req_avail" = "no"; then
10882 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10885 if test "$aros_kernel_strip" = ""; then
10886 if test "$cross_compiling" = "yes" ; then
10887 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10888 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10890 $as_echo_n "checking for $ac_word... " >&6; }
10891 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10892 $as_echo_n "(cached) " >&6
10894 case $aros_kernel_strip in
10896 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10900 for as_dir
in $PATH
10903 test -z "$as_dir" && as_dir
=.
10904 for ac_exec_ext
in '' $ac_executable_extensions; do
10905 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10906 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10917 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10918 if test -n "$aros_kernel_strip"; then
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10920 $as_echo "$aros_kernel_strip" >&6; }
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10923 $as_echo "no" >&6; }
10928 if test "$GCC" = "yes"; then
10929 aros_gcc_strip
=`$CC -print-prog-name=strip`
10930 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10931 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10933 $as_echo_n "checking for $ac_word... " >&6; }
10934 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10935 $as_echo_n "(cached) " >&6
10937 case $aros_kernel_strip in
10939 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10943 for as_dir
in `dirname $aros_gcc_strip`
10946 test -z "$as_dir" && as_dir
=.
10947 for ac_exec_ext
in '' $ac_executable_extensions; do
10948 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10949 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10960 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10961 if test -n "$aros_kernel_strip"; then
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10963 $as_echo "$aros_kernel_strip" >&6; }
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10966 $as_echo "no" >&6; }
10971 if test "$aros_kernel_strip" = ""; then
10972 # Extract the first word of "strip", so it can be a program name with args.
10973 set dummy strip
; ac_word
=$2
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10975 $as_echo_n "checking for $ac_word... " >&6; }
10976 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10977 $as_echo_n "(cached) " >&6
10979 case $aros_kernel_strip in
10981 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10985 for as_dir
in $PATH
10988 test -z "$as_dir" && as_dir
=.
10989 for ac_exec_ext
in '' $ac_executable_extensions; do
10990 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10991 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11002 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11003 if test -n "$aros_kernel_strip"; then
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11005 $as_echo "$aros_kernel_strip" >&6; }
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11008 $as_echo "no" >&6; }
11015 ac_tool_optarg
=`expr "X$aros_kernel_strip" : '[^ ]* \(.*\)'`
11016 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
11017 set dummy
$aros_kernel_strip; ac_word
=$2
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11019 $as_echo_n "checking for $ac_word... " >&6; }
11020 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11021 $as_echo_n "(cached) " >&6
11023 case $aros_kernel_strip in
11025 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11029 for as_dir
in $PATH
11032 test -z "$as_dir" && as_dir
=.
11033 for ac_exec_ext
in '' $ac_executable_extensions; do
11034 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11035 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11046 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11047 if test -n "$aros_kernel_strip"; then
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11049 $as_echo "$aros_kernel_strip" >&6; }
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11052 $as_echo "no" >&6; }
11056 aros_kernel_strip
="$aros_kernel_strip $ac_tool_optarg"
11060 if test "$aros_kernel_strip" = ""; then
11063 if test "$aros_kernel_strip" = "no"; then
11066 if test "$req_avail" = "no"; then
11067 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
11070 # Objcopy and objdump are not required for the kernel
11071 # toolchain on many architectures.
11072 # So we'll look for them, but not make them strictly required.
11074 if test "$aros_kernel_objcopy" = ""; then
11075 if test "$cross_compiling" = "yes" ; then
11076 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
11077 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11079 $as_echo_n "checking for $ac_word... " >&6; }
11080 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11081 $as_echo_n "(cached) " >&6
11083 case $aros_kernel_objcopy in
11085 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11089 for as_dir
in $PATH
11092 test -z "$as_dir" && as_dir
=.
11093 for ac_exec_ext
in '' $ac_executable_extensions; do
11094 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11095 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11106 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11107 if test -n "$aros_kernel_objcopy"; then
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11109 $as_echo "$aros_kernel_objcopy" >&6; }
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11112 $as_echo "no" >&6; }
11117 if test "$GCC" = "yes"; then
11118 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
11119 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
11120 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11122 $as_echo_n "checking for $ac_word... " >&6; }
11123 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11124 $as_echo_n "(cached) " >&6
11126 case $aros_kernel_objcopy in
11128 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11132 for as_dir
in `dirname $aros_gcc_objcopy`
11135 test -z "$as_dir" && as_dir
=.
11136 for ac_exec_ext
in '' $ac_executable_extensions; do
11137 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11138 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11149 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11150 if test -n "$aros_kernel_objcopy"; then
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11152 $as_echo "$aros_kernel_objcopy" >&6; }
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11155 $as_echo "no" >&6; }
11160 if test "$aros_kernel_objcopy" = ""; then
11161 # Extract the first word of "objcopy", so it can be a program name with args.
11162 set dummy objcopy
; ac_word
=$2
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11164 $as_echo_n "checking for $ac_word... " >&6; }
11165 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11166 $as_echo_n "(cached) " >&6
11168 case $aros_kernel_objcopy in
11170 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11174 for as_dir
in $PATH
11177 test -z "$as_dir" && as_dir
=.
11178 for ac_exec_ext
in '' $ac_executable_extensions; do
11179 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11180 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11191 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11192 if test -n "$aros_kernel_objcopy"; then
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11194 $as_echo "$aros_kernel_objcopy" >&6; }
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11197 $as_echo "no" >&6; }
11204 ac_tool_optarg
=`expr "X$aros_kernel_objcopy" : '[^ ]* \(.*\)'`
11205 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
11206 set dummy
$aros_kernel_objcopy; ac_word
=$2
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11208 $as_echo_n "checking for $ac_word... " >&6; }
11209 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11210 $as_echo_n "(cached) " >&6
11212 case $aros_kernel_objcopy in
11214 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11218 for as_dir
in $PATH
11221 test -z "$as_dir" && as_dir
=.
11222 for ac_exec_ext
in '' $ac_executable_extensions; do
11223 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11224 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11235 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11236 if test -n "$aros_kernel_objcopy"; then
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11238 $as_echo "$aros_kernel_objcopy" >&6; }
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11241 $as_echo "no" >&6; }
11245 aros_kernel_objcopy
="$aros_kernel_objcopy $ac_tool_optarg"
11249 if test "$aros_kernel_objdump" = ""; then
11250 if test "$cross_compiling" = "yes" ; then
11251 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
11252 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11254 $as_echo_n "checking for $ac_word... " >&6; }
11255 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11256 $as_echo_n "(cached) " >&6
11258 case $aros_kernel_objdump in
11260 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11264 for as_dir
in $PATH
11267 test -z "$as_dir" && as_dir
=.
11268 for ac_exec_ext
in '' $ac_executable_extensions; do
11269 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11270 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11281 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11282 if test -n "$aros_kernel_objdump"; then
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11284 $as_echo "$aros_kernel_objdump" >&6; }
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11287 $as_echo "no" >&6; }
11292 if test "$GCC" = "yes"; then
11293 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
11294 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
11295 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11297 $as_echo_n "checking for $ac_word... " >&6; }
11298 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11299 $as_echo_n "(cached) " >&6
11301 case $aros_kernel_objdump in
11303 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11307 for as_dir
in `dirname $aros_gcc_objdump`
11310 test -z "$as_dir" && as_dir
=.
11311 for ac_exec_ext
in '' $ac_executable_extensions; do
11312 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11313 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11324 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11325 if test -n "$aros_kernel_objdump"; then
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11327 $as_echo "$aros_kernel_objdump" >&6; }
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11330 $as_echo "no" >&6; }
11335 if test "$aros_kernel_objdump" = ""; then
11336 # Extract the first word of "objdump", so it can be a program name with args.
11337 set dummy objdump
; ac_word
=$2
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11339 $as_echo_n "checking for $ac_word... " >&6; }
11340 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11341 $as_echo_n "(cached) " >&6
11343 case $aros_kernel_objdump in
11345 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11349 for as_dir
in $PATH
11352 test -z "$as_dir" && as_dir
=.
11353 for ac_exec_ext
in '' $ac_executable_extensions; do
11354 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11355 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11366 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11367 if test -n "$aros_kernel_objdump"; then
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11369 $as_echo "$aros_kernel_objdump" >&6; }
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11372 $as_echo "no" >&6; }
11379 ac_tool_optarg
=`expr "X$aros_kernel_objdump" : '[^ ]* \(.*\)'`
11380 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
11381 set dummy
$aros_kernel_objdump; ac_word
=$2
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11383 $as_echo_n "checking for $ac_word... " >&6; }
11384 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11385 $as_echo_n "(cached) " >&6
11387 case $aros_kernel_objdump in
11389 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11393 for as_dir
in $PATH
11396 test -z "$as_dir" && as_dir
=.
11397 for ac_exec_ext
in '' $ac_executable_extensions; do
11398 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11399 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11410 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11411 if test -n "$aros_kernel_objdump"; then
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11413 $as_echo "$aros_kernel_objdump" >&6; }
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11416 $as_echo "no" >&6; }
11420 aros_kernel_objdump
="$aros_kernel_objdump $ac_tool_optarg"
11423 if test "x${crosstools}" != "xyes" ; then
11425 if test "$aros_kernel_objcopy" = ""; then
11428 if test "$aros_kernel_objcopy" = "no"; then
11431 if test "$req_avail" = "no"; then
11432 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
11435 if test "$aros_kernel_objdump" = ""; then
11438 if test "$aros_kernel_objdump" = "no"; then
11441 if test "$req_avail" = "no"; then
11442 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
11448 $as_echo_n "checking which target tools to use... " >&6; }
11449 if test "$aros_target_toolchain" = "yes"; then
11450 if test "$aros_toolchain" = "llvm" ; then
11453 msg_result
=$target_tool_prefix
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
11456 $as_echo "$msg_result" >&6; }
11457 # We are building AROS crosstools
11458 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
11459 orig_target_cc
="${tmp_tool_prefix}${toolchain_c_compiler}${target_tool_version}"
11460 orig_target_cxx
="${tmp_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}"
11461 orig_target_cpp
="${tmp_tool_prefix}${toolchain_cpp_preprocessor}"
11462 orig_target_ld
="${tmp_tool_prefix}${toolchain_ld}"
11463 orig_target_as
="${tmp_tool_prefix}${toolchain_as}"
11464 orig_target_ar
="${tmp_tool_prefix}${toolchain_ar}"
11465 orig_target_ranlib
="${tmp_tool_prefix}${toolchain_ranlib}"
11466 orig_target_nm
="${tmp_tool_prefix}${toolchain_nm}"
11467 orig_target_strip
="${tmp_tool_prefix}${toolchain_strip}"
11468 orig_target_objcopy
="${tmp_tool_prefix}${toolchain_objcopy}"
11469 orig_target_objdump
="${tmp_tool_prefix}${toolchain_objdump}"
11471 # Determine whether AROS or ELF tools should be used
11472 if test "$aros_tool_prefix" = "none"; then
11473 aros_tool_prefix
="${elf_tool_prefix}"
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
11477 $as_echo "$aros_tool_prefix" >&6; }
11478 # We are *not* building AROS crosstools - use the AROS or ELF tools
11480 if test "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" = ""; then
11481 if test "$cross_compiling" = "yes" ; then
11482 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
11483 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11485 $as_echo_n "checking for $ac_word... " >&6; }
11486 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11487 $as_echo_n "(cached) " >&6
11489 case $orig_target_cpp in
11491 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11495 for as_dir
in $PATH
11498 test -z "$as_dir" && as_dir
=.
11499 for ac_exec_ext
in '' $ac_executable_extensions; do
11500 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11501 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11512 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11513 if test -n "$orig_target_cpp"; then
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11515 $as_echo "$orig_target_cpp" >&6; }
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11518 $as_echo "no" >&6; }
11523 if test "$GCC" = "yes"; then
11524 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
11525 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
11526 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11528 $as_echo_n "checking for $ac_word... " >&6; }
11529 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11530 $as_echo_n "(cached) " >&6
11532 case $orig_target_cpp in
11534 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11538 for as_dir
in `dirname $aros_gcc_cpp`
11541 test -z "$as_dir" && as_dir
=.
11542 for ac_exec_ext
in '' $ac_executable_extensions; do
11543 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11544 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11555 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11556 if test -n "$orig_target_cpp"; then
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11558 $as_echo "$orig_target_cpp" >&6; }
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11561 $as_echo "no" >&6; }
11566 if test "$orig_target_cpp" = ""; then
11567 # Extract the first word of "cpp", so it can be a program name with args.
11568 set dummy cpp
; ac_word
=$2
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11570 $as_echo_n "checking for $ac_word... " >&6; }
11571 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11572 $as_echo_n "(cached) " >&6
11574 case $orig_target_cpp in
11576 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11580 for as_dir
in $PATH
11583 test -z "$as_dir" && as_dir
=.
11584 for ac_exec_ext
in '' $ac_executable_extensions; do
11585 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11586 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11597 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11598 if test -n "$orig_target_cpp"; then
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11600 $as_echo "$orig_target_cpp" >&6; }
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11603 $as_echo "no" >&6; }
11610 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" : '[^ ]* \(.*\)'`
11611 # Extract the first word of "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}", so it can be a program name with args.
11612 set dummy
${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}; ac_word
=$2
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11614 $as_echo_n "checking for $ac_word... " >&6; }
11615 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11616 $as_echo_n "(cached) " >&6
11618 case $orig_target_cpp in
11620 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11624 for as_dir
in $PATH
11627 test -z "$as_dir" && as_dir
=.
11628 for ac_exec_ext
in '' $ac_executable_extensions; do
11629 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11630 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11641 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11642 if test -n "$orig_target_cpp"; then
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11644 $as_echo "$orig_target_cpp" >&6; }
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11647 $as_echo "no" >&6; }
11651 orig_target_cpp
="$orig_target_cpp $ac_tool_optarg"
11655 if test "$orig_target_cpp" = ""; then
11658 if test "$orig_target_cpp" = "no"; then
11661 if test "$req_avail" = "no"; then
11662 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
11665 if test "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" = ""; then
11666 if test "$cross_compiling" = "yes" ; then
11667 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11668 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11670 $as_echo_n "checking for $ac_word... " >&6; }
11671 if ${ac_cv_path_orig_target_cc+:} false
; then :
11672 $as_echo_n "(cached) " >&6
11674 case $orig_target_cc in
11676 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11680 for as_dir
in $PATH
11683 test -z "$as_dir" && as_dir
=.
11684 for ac_exec_ext
in '' $ac_executable_extensions; do
11685 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11686 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11697 orig_target_cc
=$ac_cv_path_orig_target_cc
11698 if test -n "$orig_target_cc"; then
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11700 $as_echo "$orig_target_cc" >&6; }
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11703 $as_echo "no" >&6; }
11708 if test "$GCC" = "yes"; then
11709 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11710 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11711 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11713 $as_echo_n "checking for $ac_word... " >&6; }
11714 if ${ac_cv_path_orig_target_cc+:} false
; then :
11715 $as_echo_n "(cached) " >&6
11717 case $orig_target_cc in
11719 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11723 for as_dir
in `dirname $aros_gcc_gcc`
11726 test -z "$as_dir" && as_dir
=.
11727 for ac_exec_ext
in '' $ac_executable_extensions; do
11728 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11729 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11740 orig_target_cc
=$ac_cv_path_orig_target_cc
11741 if test -n "$orig_target_cc"; then
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11743 $as_echo "$orig_target_cc" >&6; }
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11746 $as_echo "no" >&6; }
11751 if test "$orig_target_cc" = ""; then
11752 # Extract the first word of "gcc", so it can be a program name with args.
11753 set dummy gcc
; ac_word
=$2
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11755 $as_echo_n "checking for $ac_word... " >&6; }
11756 if ${ac_cv_path_orig_target_cc+:} false
; then :
11757 $as_echo_n "(cached) " >&6
11759 case $orig_target_cc in
11761 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11765 for as_dir
in $PATH
11768 test -z "$as_dir" && as_dir
=.
11769 for ac_exec_ext
in '' $ac_executable_extensions; do
11770 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11771 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11782 orig_target_cc
=$ac_cv_path_orig_target_cc
11783 if test -n "$orig_target_cc"; then
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11785 $as_echo "$orig_target_cc" >&6; }
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11788 $as_echo "no" >&6; }
11795 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
11796 # Extract the first word of "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}", so it can be a program name with args.
11797 set dummy
${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}; ac_word
=$2
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11799 $as_echo_n "checking for $ac_word... " >&6; }
11800 if ${ac_cv_path_orig_target_cc+:} false
; then :
11801 $as_echo_n "(cached) " >&6
11803 case $orig_target_cc in
11805 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11809 for as_dir
in $PATH
11812 test -z "$as_dir" && as_dir
=.
11813 for ac_exec_ext
in '' $ac_executable_extensions; do
11814 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11815 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11826 orig_target_cc
=$ac_cv_path_orig_target_cc
11827 if test -n "$orig_target_cc"; then
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11829 $as_echo "$orig_target_cc" >&6; }
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11832 $as_echo "no" >&6; }
11836 orig_target_cc
="$orig_target_cc $ac_tool_optarg"
11840 if test "$orig_target_cc" = ""; then
11843 if test "$orig_target_cc" = "no"; then
11846 if test "$req_avail" = "no"; then
11847 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11850 if test "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" = ""; then
11851 if test "$cross_compiling" = "yes" ; then
11852 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11853 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11855 $as_echo_n "checking for $ac_word... " >&6; }
11856 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11857 $as_echo_n "(cached) " >&6
11859 case $orig_target_cxx in
11861 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11865 for as_dir
in $PATH
11868 test -z "$as_dir" && as_dir
=.
11869 for ac_exec_ext
in '' $ac_executable_extensions; do
11870 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11871 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11882 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11883 if test -n "$orig_target_cxx"; then
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11885 $as_echo "$orig_target_cxx" >&6; }
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11888 $as_echo "no" >&6; }
11893 if test "$GCC" = "yes"; then
11894 aros_gcc_g
++=`$CC -print-prog-name=g++`
11895 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11896 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11898 $as_echo_n "checking for $ac_word... " >&6; }
11899 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11900 $as_echo_n "(cached) " >&6
11902 case $orig_target_cxx in
11904 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11908 for as_dir
in `dirname $aros_gcc_g++`
11911 test -z "$as_dir" && as_dir
=.
11912 for ac_exec_ext
in '' $ac_executable_extensions; do
11913 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11914 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11925 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11926 if test -n "$orig_target_cxx"; then
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11928 $as_echo "$orig_target_cxx" >&6; }
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11931 $as_echo "no" >&6; }
11936 if test "$orig_target_cxx" = ""; then
11937 # Extract the first word of "g++", so it can be a program name with args.
11938 set dummy g
++; ac_word
=$2
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11940 $as_echo_n "checking for $ac_word... " >&6; }
11941 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11942 $as_echo_n "(cached) " >&6
11944 case $orig_target_cxx in
11946 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11950 for as_dir
in $PATH
11953 test -z "$as_dir" && as_dir
=.
11954 for ac_exec_ext
in '' $ac_executable_extensions; do
11955 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11956 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11967 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11968 if test -n "$orig_target_cxx"; then
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11970 $as_echo "$orig_target_cxx" >&6; }
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11973 $as_echo "no" >&6; }
11980 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
11981 # Extract the first word of "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}", so it can be a program name with args.
11982 set dummy
${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}; ac_word
=$2
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11984 $as_echo_n "checking for $ac_word... " >&6; }
11985 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11986 $as_echo_n "(cached) " >&6
11988 case $orig_target_cxx in
11990 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11994 for as_dir
in $PATH
11997 test -z "$as_dir" && as_dir
=.
11998 for ac_exec_ext
in '' $ac_executable_extensions; do
11999 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12000 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12011 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12012 if test -n "$orig_target_cxx"; then
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12014 $as_echo "$orig_target_cxx" >&6; }
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12017 $as_echo "no" >&6; }
12021 orig_target_cxx
="$orig_target_cxx $ac_tool_optarg"
12025 if test "$orig_target_cxx" = ""; then
12028 if test "$orig_target_cxx" = "no"; then
12031 if test "$req_avail" = "no"; then
12032 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
12035 if test "${aros_tool_prefix}${toolchain_ld}" = ""; then
12036 if test "$cross_compiling" = "yes" ; then
12037 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
12038 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12040 $as_echo_n "checking for $ac_word... " >&6; }
12041 if ${ac_cv_path_orig_target_ld+:} false
; then :
12042 $as_echo_n "(cached) " >&6
12044 case $orig_target_ld in
12046 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12050 for as_dir
in $PATH
12053 test -z "$as_dir" && as_dir
=.
12054 for ac_exec_ext
in '' $ac_executable_extensions; do
12055 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12056 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12067 orig_target_ld
=$ac_cv_path_orig_target_ld
12068 if test -n "$orig_target_ld"; then
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12070 $as_echo "$orig_target_ld" >&6; }
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12073 $as_echo "no" >&6; }
12078 if test "$GCC" = "yes"; then
12079 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
12080 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
12081 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12083 $as_echo_n "checking for $ac_word... " >&6; }
12084 if ${ac_cv_path_orig_target_ld+:} false
; then :
12085 $as_echo_n "(cached) " >&6
12087 case $orig_target_ld in
12089 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12093 for as_dir
in `dirname $aros_gcc_gcc`
12096 test -z "$as_dir" && as_dir
=.
12097 for ac_exec_ext
in '' $ac_executable_extensions; do
12098 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12099 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12110 orig_target_ld
=$ac_cv_path_orig_target_ld
12111 if test -n "$orig_target_ld"; then
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12113 $as_echo "$orig_target_ld" >&6; }
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12116 $as_echo "no" >&6; }
12121 if test "$orig_target_ld" = ""; then
12122 # Extract the first word of "gcc", so it can be a program name with args.
12123 set dummy gcc
; ac_word
=$2
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12125 $as_echo_n "checking for $ac_word... " >&6; }
12126 if ${ac_cv_path_orig_target_ld+:} false
; then :
12127 $as_echo_n "(cached) " >&6
12129 case $orig_target_ld in
12131 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12135 for as_dir
in $PATH
12138 test -z "$as_dir" && as_dir
=.
12139 for ac_exec_ext
in '' $ac_executable_extensions; do
12140 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12141 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12152 orig_target_ld
=$ac_cv_path_orig_target_ld
12153 if test -n "$orig_target_ld"; then
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12155 $as_echo "$orig_target_ld" >&6; }
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12158 $as_echo "no" >&6; }
12165 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ld}" : '[^ ]* \(.*\)'`
12166 # Extract the first word of "${aros_tool_prefix}${toolchain_ld}", so it can be a program name with args.
12167 set dummy
${aros_tool_prefix}${toolchain_ld}; ac_word
=$2
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12169 $as_echo_n "checking for $ac_word... " >&6; }
12170 if ${ac_cv_path_orig_target_ld+:} false
; then :
12171 $as_echo_n "(cached) " >&6
12173 case $orig_target_ld in
12175 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12179 for as_dir
in $PATH
12182 test -z "$as_dir" && as_dir
=.
12183 for ac_exec_ext
in '' $ac_executable_extensions; do
12184 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12185 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12196 orig_target_ld
=$ac_cv_path_orig_target_ld
12197 if test -n "$orig_target_ld"; then
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12199 $as_echo "$orig_target_ld" >&6; }
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12202 $as_echo "no" >&6; }
12206 orig_target_ld
="$orig_target_ld $ac_tool_optarg"
12210 if test "$orig_target_ld" = ""; then
12213 if test "$orig_target_ld" = "no"; then
12216 if test "$req_avail" = "no"; then
12217 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
12220 if test "aros_tool_prefix}${toolchain_as}" = ""; then
12221 if test "$cross_compiling" = "yes" ; then
12222 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
12223 set dummy
${target_tool_prefix}as
; ac_word
=$2
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12225 $as_echo_n "checking for $ac_word... " >&6; }
12226 if ${ac_cv_path_orig_target_as+:} false
; then :
12227 $as_echo_n "(cached) " >&6
12229 case $orig_target_as in
12231 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12235 for as_dir
in $PATH
12238 test -z "$as_dir" && as_dir
=.
12239 for ac_exec_ext
in '' $ac_executable_extensions; do
12240 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12241 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12252 orig_target_as
=$ac_cv_path_orig_target_as
12253 if test -n "$orig_target_as"; then
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12255 $as_echo "$orig_target_as" >&6; }
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12258 $as_echo "no" >&6; }
12263 if test "$GCC" = "yes"; then
12264 aros_gcc_as
=`$CC -print-prog-name=as`
12265 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
12266 set dummy
`basename $aros_gcc_as`; ac_word
=$2
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12268 $as_echo_n "checking for $ac_word... " >&6; }
12269 if ${ac_cv_path_orig_target_as+:} false
; then :
12270 $as_echo_n "(cached) " >&6
12272 case $orig_target_as in
12274 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12278 for as_dir
in `dirname $aros_gcc_as`
12281 test -z "$as_dir" && as_dir
=.
12282 for ac_exec_ext
in '' $ac_executable_extensions; do
12283 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12284 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12295 orig_target_as
=$ac_cv_path_orig_target_as
12296 if test -n "$orig_target_as"; then
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12298 $as_echo "$orig_target_as" >&6; }
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12301 $as_echo "no" >&6; }
12306 if test "$orig_target_as" = ""; then
12307 # Extract the first word of "as", so it can be a program name with args.
12308 set dummy as
; ac_word
=$2
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12310 $as_echo_n "checking for $ac_word... " >&6; }
12311 if ${ac_cv_path_orig_target_as+:} false
; then :
12312 $as_echo_n "(cached) " >&6
12314 case $orig_target_as in
12316 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12320 for as_dir
in $PATH
12323 test -z "$as_dir" && as_dir
=.
12324 for ac_exec_ext
in '' $ac_executable_extensions; do
12325 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12326 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12337 orig_target_as
=$ac_cv_path_orig_target_as
12338 if test -n "$orig_target_as"; then
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12340 $as_echo "$orig_target_as" >&6; }
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12343 $as_echo "no" >&6; }
12350 ac_tool_optarg
=`expr "Xaros_tool_prefix}${toolchain_as}" : '[^ ]* \(.*\)'`
12351 # Extract the first word of "aros_tool_prefix}${toolchain_as}", so it can be a program name with args.
12352 set dummy aros_tool_prefix
}${toolchain_as}; ac_word
=$2
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12354 $as_echo_n "checking for $ac_word... " >&6; }
12355 if ${ac_cv_path_orig_target_as+:} false
; then :
12356 $as_echo_n "(cached) " >&6
12358 case $orig_target_as in
12360 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12364 for as_dir
in $PATH
12367 test -z "$as_dir" && as_dir
=.
12368 for ac_exec_ext
in '' $ac_executable_extensions; do
12369 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12370 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12381 orig_target_as
=$ac_cv_path_orig_target_as
12382 if test -n "$orig_target_as"; then
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12384 $as_echo "$orig_target_as" >&6; }
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12387 $as_echo "no" >&6; }
12391 orig_target_as
="$orig_target_as $ac_tool_optarg"
12395 if test "$orig_target_as" = ""; then
12398 if test "$orig_target_as" = "no"; then
12401 if test "$req_avail" = "no"; then
12402 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
12405 if test "${aros_tool_prefix}${toolchain_ar}" = ""; then
12406 if test "$cross_compiling" = "yes" ; then
12407 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
12408 set dummy
${target_tool_prefix}ar; ac_word
=$2
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12410 $as_echo_n "checking for $ac_word... " >&6; }
12411 if ${ac_cv_path_orig_target_ar+:} false
; then :
12412 $as_echo_n "(cached) " >&6
12414 case $orig_target_ar in
12416 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12420 for as_dir
in $PATH
12423 test -z "$as_dir" && as_dir
=.
12424 for ac_exec_ext
in '' $ac_executable_extensions; do
12425 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12426 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12437 orig_target_ar
=$ac_cv_path_orig_target_ar
12438 if test -n "$orig_target_ar"; then
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12440 $as_echo "$orig_target_ar" >&6; }
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12443 $as_echo "no" >&6; }
12448 if test "$GCC" = "yes"; then
12449 aros_gcc_ar
=`$CC -print-prog-name=ar`
12450 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
12451 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12453 $as_echo_n "checking for $ac_word... " >&6; }
12454 if ${ac_cv_path_orig_target_ar+:} false
; then :
12455 $as_echo_n "(cached) " >&6
12457 case $orig_target_ar in
12459 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12463 for as_dir
in `dirname $aros_gcc_ar`
12466 test -z "$as_dir" && as_dir
=.
12467 for ac_exec_ext
in '' $ac_executable_extensions; do
12468 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12469 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12480 orig_target_ar
=$ac_cv_path_orig_target_ar
12481 if test -n "$orig_target_ar"; then
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12483 $as_echo "$orig_target_ar" >&6; }
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12486 $as_echo "no" >&6; }
12491 if test "$orig_target_ar" = ""; then
12492 # Extract the first word of "ar", so it can be a program name with args.
12493 set dummy
ar; ac_word
=$2
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12495 $as_echo_n "checking for $ac_word... " >&6; }
12496 if ${ac_cv_path_orig_target_ar+:} false
; then :
12497 $as_echo_n "(cached) " >&6
12499 case $orig_target_ar in
12501 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12505 for as_dir
in $PATH
12508 test -z "$as_dir" && as_dir
=.
12509 for ac_exec_ext
in '' $ac_executable_extensions; do
12510 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12511 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12522 orig_target_ar
=$ac_cv_path_orig_target_ar
12523 if test -n "$orig_target_ar"; then
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12525 $as_echo "$orig_target_ar" >&6; }
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12528 $as_echo "no" >&6; }
12535 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ar}" : '[^ ]* \(.*\)'`
12536 # Extract the first word of "${aros_tool_prefix}${toolchain_ar}", so it can be a program name with args.
12537 set dummy
${aros_tool_prefix}${toolchain_ar}; ac_word
=$2
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12539 $as_echo_n "checking for $ac_word... " >&6; }
12540 if ${ac_cv_path_orig_target_ar+:} false
; then :
12541 $as_echo_n "(cached) " >&6
12543 case $orig_target_ar in
12545 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12549 for as_dir
in $PATH
12552 test -z "$as_dir" && as_dir
=.
12553 for ac_exec_ext
in '' $ac_executable_extensions; do
12554 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12555 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12566 orig_target_ar
=$ac_cv_path_orig_target_ar
12567 if test -n "$orig_target_ar"; then
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12569 $as_echo "$orig_target_ar" >&6; }
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12572 $as_echo "no" >&6; }
12576 orig_target_ar
="$orig_target_ar $ac_tool_optarg"
12580 if test "$orig_target_ar" = ""; then
12583 if test "$orig_target_ar" = "no"; then
12586 if test "$req_avail" = "no"; then
12587 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
12590 if test "${aros_tool_prefix}${toolchain_ranlib}" = ""; then
12591 if test "$cross_compiling" = "yes" ; then
12592 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
12593 set dummy
${target_tool_prefix}ar; ac_word
=$2
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12595 $as_echo_n "checking for $ac_word... " >&6; }
12596 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12597 $as_echo_n "(cached) " >&6
12599 case $orig_target_ranlib in
12601 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12605 for as_dir
in $PATH
12608 test -z "$as_dir" && as_dir
=.
12609 for ac_exec_ext
in '' $ac_executable_extensions; do
12610 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12611 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12622 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12623 if test -n "$orig_target_ranlib"; then
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12625 $as_echo "$orig_target_ranlib" >&6; }
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12628 $as_echo "no" >&6; }
12633 if test "$GCC" = "yes"; then
12634 aros_gcc_ar
=`$CC -print-prog-name=ar`
12635 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
12636 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12638 $as_echo_n "checking for $ac_word... " >&6; }
12639 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12640 $as_echo_n "(cached) " >&6
12642 case $orig_target_ranlib in
12644 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12648 for as_dir
in `dirname $aros_gcc_ar`
12651 test -z "$as_dir" && as_dir
=.
12652 for ac_exec_ext
in '' $ac_executable_extensions; do
12653 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12654 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12665 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12666 if test -n "$orig_target_ranlib"; then
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12668 $as_echo "$orig_target_ranlib" >&6; }
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12671 $as_echo "no" >&6; }
12676 if test "$orig_target_ranlib" = ""; then
12677 # Extract the first word of "ar", so it can be a program name with args.
12678 set dummy
ar; ac_word
=$2
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12680 $as_echo_n "checking for $ac_word... " >&6; }
12681 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12682 $as_echo_n "(cached) " >&6
12684 case $orig_target_ranlib in
12686 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12690 for as_dir
in $PATH
12693 test -z "$as_dir" && as_dir
=.
12694 for ac_exec_ext
in '' $ac_executable_extensions; do
12695 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12696 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12707 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12708 if test -n "$orig_target_ranlib"; then
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12710 $as_echo "$orig_target_ranlib" >&6; }
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12713 $as_echo "no" >&6; }
12720 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ranlib}" : '[^ ]* \(.*\)'`
12721 # Extract the first word of "${aros_tool_prefix}${toolchain_ranlib}", so it can be a program name with args.
12722 set dummy
${aros_tool_prefix}${toolchain_ranlib}; ac_word
=$2
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12724 $as_echo_n "checking for $ac_word... " >&6; }
12725 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12726 $as_echo_n "(cached) " >&6
12728 case $orig_target_ranlib in
12730 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12734 for as_dir
in $PATH
12737 test -z "$as_dir" && as_dir
=.
12738 for ac_exec_ext
in '' $ac_executable_extensions; do
12739 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12740 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12751 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12752 if test -n "$orig_target_ranlib"; then
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12754 $as_echo "$orig_target_ranlib" >&6; }
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12757 $as_echo "no" >&6; }
12761 orig_target_ranlib
="$orig_target_ranlib $ac_tool_optarg"
12765 if test "$orig_target_ranlib" = ""; then
12768 if test "$orig_target_ranlib" = "no"; then
12771 if test "$req_avail" = "no"; then
12772 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
12775 if test "${aros_tool_prefix}${toolchain_nm}" = ""; then
12776 if test "$cross_compiling" = "yes" ; then
12777 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
12778 set dummy
${target_tool_prefix}nm
; ac_word
=$2
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12780 $as_echo_n "checking for $ac_word... " >&6; }
12781 if ${ac_cv_path_orig_target_nm+:} false
; then :
12782 $as_echo_n "(cached) " >&6
12784 case $orig_target_nm in
12786 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12790 for as_dir
in $PATH
12793 test -z "$as_dir" && as_dir
=.
12794 for ac_exec_ext
in '' $ac_executable_extensions; do
12795 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12796 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12807 orig_target_nm
=$ac_cv_path_orig_target_nm
12808 if test -n "$orig_target_nm"; then
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12810 $as_echo "$orig_target_nm" >&6; }
12812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12813 $as_echo "no" >&6; }
12818 if test "$GCC" = "yes"; then
12819 aros_gcc_nm
=`$CC -print-prog-name=nm`
12820 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
12821 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12823 $as_echo_n "checking for $ac_word... " >&6; }
12824 if ${ac_cv_path_orig_target_nm+:} false
; then :
12825 $as_echo_n "(cached) " >&6
12827 case $orig_target_nm in
12829 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12833 for as_dir
in `dirname $aros_gcc_nm`
12836 test -z "$as_dir" && as_dir
=.
12837 for ac_exec_ext
in '' $ac_executable_extensions; do
12838 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12839 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12850 orig_target_nm
=$ac_cv_path_orig_target_nm
12851 if test -n "$orig_target_nm"; then
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12853 $as_echo "$orig_target_nm" >&6; }
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12856 $as_echo "no" >&6; }
12861 if test "$orig_target_nm" = ""; then
12862 # Extract the first word of "nm", so it can be a program name with args.
12863 set dummy nm
; ac_word
=$2
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12865 $as_echo_n "checking for $ac_word... " >&6; }
12866 if ${ac_cv_path_orig_target_nm+:} false
; then :
12867 $as_echo_n "(cached) " >&6
12869 case $orig_target_nm in
12871 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12875 for as_dir
in $PATH
12878 test -z "$as_dir" && as_dir
=.
12879 for ac_exec_ext
in '' $ac_executable_extensions; do
12880 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12881 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12892 orig_target_nm
=$ac_cv_path_orig_target_nm
12893 if test -n "$orig_target_nm"; then
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12895 $as_echo "$orig_target_nm" >&6; }
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12898 $as_echo "no" >&6; }
12905 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_nm}" : '[^ ]* \(.*\)'`
12906 # Extract the first word of "${aros_tool_prefix}${toolchain_nm}", so it can be a program name with args.
12907 set dummy
${aros_tool_prefix}${toolchain_nm}; ac_word
=$2
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12909 $as_echo_n "checking for $ac_word... " >&6; }
12910 if ${ac_cv_path_orig_target_nm+:} false
; then :
12911 $as_echo_n "(cached) " >&6
12913 case $orig_target_nm in
12915 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12919 for as_dir
in $PATH
12922 test -z "$as_dir" && as_dir
=.
12923 for ac_exec_ext
in '' $ac_executable_extensions; do
12924 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12925 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12936 orig_target_nm
=$ac_cv_path_orig_target_nm
12937 if test -n "$orig_target_nm"; then
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12939 $as_echo "$orig_target_nm" >&6; }
12941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12942 $as_echo "no" >&6; }
12946 orig_target_nm
="$orig_target_nm $ac_tool_optarg"
12950 if test "$orig_target_nm" = ""; then
12953 if test "$orig_target_nm" = "no"; then
12956 if test "$req_avail" = "no"; then
12957 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
12960 if test "${aros_tool_prefix}${toolchain_strip}" = ""; then
12961 if test "$cross_compiling" = "yes" ; then
12962 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
12963 set dummy
${target_tool_prefix}strip
; ac_word
=$2
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12965 $as_echo_n "checking for $ac_word... " >&6; }
12966 if ${ac_cv_path_orig_target_strip+:} false
; then :
12967 $as_echo_n "(cached) " >&6
12969 case $orig_target_strip in
12971 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12975 for as_dir
in $PATH
12978 test -z "$as_dir" && as_dir
=.
12979 for ac_exec_ext
in '' $ac_executable_extensions; do
12980 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12981 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12992 orig_target_strip
=$ac_cv_path_orig_target_strip
12993 if test -n "$orig_target_strip"; then
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12995 $as_echo "$orig_target_strip" >&6; }
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12998 $as_echo "no" >&6; }
13003 if test "$GCC" = "yes"; then
13004 aros_gcc_strip
=`$CC -print-prog-name=strip`
13005 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
13006 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13008 $as_echo_n "checking for $ac_word... " >&6; }
13009 if ${ac_cv_path_orig_target_strip+:} false
; then :
13010 $as_echo_n "(cached) " >&6
13012 case $orig_target_strip in
13014 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13018 for as_dir
in `dirname $aros_gcc_strip`
13021 test -z "$as_dir" && as_dir
=.
13022 for ac_exec_ext
in '' $ac_executable_extensions; do
13023 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13024 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13035 orig_target_strip
=$ac_cv_path_orig_target_strip
13036 if test -n "$orig_target_strip"; then
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13038 $as_echo "$orig_target_strip" >&6; }
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13041 $as_echo "no" >&6; }
13046 if test "$orig_target_strip" = ""; then
13047 # Extract the first word of "strip", so it can be a program name with args.
13048 set dummy strip
; ac_word
=$2
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13050 $as_echo_n "checking for $ac_word... " >&6; }
13051 if ${ac_cv_path_orig_target_strip+:} false
; then :
13052 $as_echo_n "(cached) " >&6
13054 case $orig_target_strip in
13056 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13060 for as_dir
in $PATH
13063 test -z "$as_dir" && as_dir
=.
13064 for ac_exec_ext
in '' $ac_executable_extensions; do
13065 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13066 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13077 orig_target_strip
=$ac_cv_path_orig_target_strip
13078 if test -n "$orig_target_strip"; then
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13080 $as_echo "$orig_target_strip" >&6; }
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13083 $as_echo "no" >&6; }
13090 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_strip}" : '[^ ]* \(.*\)'`
13091 # Extract the first word of "${aros_tool_prefix}${toolchain_strip}", so it can be a program name with args.
13092 set dummy
${aros_tool_prefix}${toolchain_strip}; ac_word
=$2
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13094 $as_echo_n "checking for $ac_word... " >&6; }
13095 if ${ac_cv_path_orig_target_strip+:} false
; then :
13096 $as_echo_n "(cached) " >&6
13098 case $orig_target_strip in
13100 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13104 for as_dir
in $PATH
13107 test -z "$as_dir" && as_dir
=.
13108 for ac_exec_ext
in '' $ac_executable_extensions; do
13109 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13110 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13121 orig_target_strip
=$ac_cv_path_orig_target_strip
13122 if test -n "$orig_target_strip"; then
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13124 $as_echo "$orig_target_strip" >&6; }
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13127 $as_echo "no" >&6; }
13131 orig_target_strip
="$orig_target_strip $ac_tool_optarg"
13135 if test "$orig_target_strip" = ""; then
13138 if test "$orig_target_strip" = "no"; then
13141 if test "$req_avail" = "no"; then
13142 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
13145 if test "${aros_tool_prefix}${toolchain_objcopy}" = ""; then
13146 if test "$cross_compiling" = "yes" ; then
13147 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
13148 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13150 $as_echo_n "checking for $ac_word... " >&6; }
13151 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13152 $as_echo_n "(cached) " >&6
13154 case $orig_target_objcopy in
13156 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13160 for as_dir
in $PATH
13163 test -z "$as_dir" && as_dir
=.
13164 for ac_exec_ext
in '' $ac_executable_extensions; do
13165 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13166 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13177 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13178 if test -n "$orig_target_objcopy"; then
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13180 $as_echo "$orig_target_objcopy" >&6; }
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13183 $as_echo "no" >&6; }
13188 if test "$GCC" = "yes"; then
13189 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
13190 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
13191 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13193 $as_echo_n "checking for $ac_word... " >&6; }
13194 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13195 $as_echo_n "(cached) " >&6
13197 case $orig_target_objcopy in
13199 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13203 for as_dir
in `dirname $aros_gcc_objcopy`
13206 test -z "$as_dir" && as_dir
=.
13207 for ac_exec_ext
in '' $ac_executable_extensions; do
13208 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13209 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13220 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13221 if test -n "$orig_target_objcopy"; then
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13223 $as_echo "$orig_target_objcopy" >&6; }
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13226 $as_echo "no" >&6; }
13231 if test "$orig_target_objcopy" = ""; then
13232 # Extract the first word of "objcopy", so it can be a program name with args.
13233 set dummy objcopy
; ac_word
=$2
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13235 $as_echo_n "checking for $ac_word... " >&6; }
13236 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13237 $as_echo_n "(cached) " >&6
13239 case $orig_target_objcopy in
13241 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13245 for as_dir
in $PATH
13248 test -z "$as_dir" && as_dir
=.
13249 for ac_exec_ext
in '' $ac_executable_extensions; do
13250 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13251 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13262 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13263 if test -n "$orig_target_objcopy"; then
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13265 $as_echo "$orig_target_objcopy" >&6; }
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13268 $as_echo "no" >&6; }
13275 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objcopy}" : '[^ ]* \(.*\)'`
13276 # Extract the first word of "${aros_tool_prefix}${toolchain_objcopy}", so it can be a program name with args.
13277 set dummy
${aros_tool_prefix}${toolchain_objcopy}; ac_word
=$2
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13279 $as_echo_n "checking for $ac_word... " >&6; }
13280 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13281 $as_echo_n "(cached) " >&6
13283 case $orig_target_objcopy in
13285 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13289 for as_dir
in $PATH
13292 test -z "$as_dir" && as_dir
=.
13293 for ac_exec_ext
in '' $ac_executable_extensions; do
13294 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13295 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13306 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13307 if test -n "$orig_target_objcopy"; then
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13309 $as_echo "$orig_target_objcopy" >&6; }
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13312 $as_echo "no" >&6; }
13316 orig_target_objcopy
="$orig_target_objcopy $ac_tool_optarg"
13320 if test "$orig_target_objcopy" = ""; then
13323 if test "$orig_target_objcopy" = "no"; then
13326 if test "$req_avail" = "no"; then
13327 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
13330 if test "${aros_tool_prefix}${toolchain_objdump}" = ""; then
13331 if test "$cross_compiling" = "yes" ; then
13332 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
13333 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13335 $as_echo_n "checking for $ac_word... " >&6; }
13336 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13337 $as_echo_n "(cached) " >&6
13339 case $orig_target_objdump in
13341 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13345 for as_dir
in $PATH
13348 test -z "$as_dir" && as_dir
=.
13349 for ac_exec_ext
in '' $ac_executable_extensions; do
13350 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13351 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13362 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13363 if test -n "$orig_target_objdump"; then
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13365 $as_echo "$orig_target_objdump" >&6; }
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13368 $as_echo "no" >&6; }
13373 if test "$GCC" = "yes"; then
13374 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
13375 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
13376 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13378 $as_echo_n "checking for $ac_word... " >&6; }
13379 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13380 $as_echo_n "(cached) " >&6
13382 case $orig_target_objdump in
13384 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13388 for as_dir
in `dirname $aros_gcc_objdump`
13391 test -z "$as_dir" && as_dir
=.
13392 for ac_exec_ext
in '' $ac_executable_extensions; do
13393 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13394 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13405 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13406 if test -n "$orig_target_objdump"; then
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13408 $as_echo "$orig_target_objdump" >&6; }
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13411 $as_echo "no" >&6; }
13416 if test "$orig_target_objdump" = ""; then
13417 # Extract the first word of "objdump", so it can be a program name with args.
13418 set dummy objdump
; ac_word
=$2
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13420 $as_echo_n "checking for $ac_word... " >&6; }
13421 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13422 $as_echo_n "(cached) " >&6
13424 case $orig_target_objdump in
13426 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13430 for as_dir
in $PATH
13433 test -z "$as_dir" && as_dir
=.
13434 for ac_exec_ext
in '' $ac_executable_extensions; do
13435 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13436 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13447 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13448 if test -n "$orig_target_objdump"; then
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13450 $as_echo "$orig_target_objdump" >&6; }
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13453 $as_echo "no" >&6; }
13460 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objdump}" : '[^ ]* \(.*\)'`
13461 # Extract the first word of "${aros_tool_prefix}${toolchain_objdump}", so it can be a program name with args.
13462 set dummy
${aros_tool_prefix}${toolchain_objdump}; ac_word
=$2
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13464 $as_echo_n "checking for $ac_word... " >&6; }
13465 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13466 $as_echo_n "(cached) " >&6
13468 case $orig_target_objdump in
13470 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13474 for as_dir
in $PATH
13477 test -z "$as_dir" && as_dir
=.
13478 for ac_exec_ext
in '' $ac_executable_extensions; do
13479 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13480 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13491 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13492 if test -n "$orig_target_objdump"; then
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13494 $as_echo "$orig_target_objdump" >&6; }
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13497 $as_echo "no" >&6; }
13501 orig_target_objdump
="$orig_target_objdump $ac_tool_optarg"
13505 if test "$orig_target_objdump" = ""; then
13508 if test "$orig_target_objdump" = "no"; then
13511 if test "$req_avail" = "no"; then
13512 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
13516 if test "$kernel_tool_prefix" = "none" ; then
13517 # No kernel tools specified
13518 # Assume target tools == kernel tools with ELF wrapper
13519 aros_kernel_cc
=$orig_target_cc
13520 aros_kernel_cxx
=$orig_target_cxx
13521 aros_kernel_cpp
=$orig_target_cpp
13522 aros_kernel_ld
=$orig_target_ld
13523 aros_kernel_as
=$orig_target_as
13524 aros_kernel_ar
=$orig_target_ar
13525 aros_kernel_ranlib
=$orig_target_ranlib
13526 aros_kernel_nm
=$orig_target_nm
13527 aros_kernel_strip
=$orig_target_strip
13528 aros_kernel_objcopy
=$orig_target_objcopy
13529 aros_kernel_objdump
=$orig_target_objdump
13530 use_kernel_cc_wrapper
=yes
13533 # At this point, all aros_kernel_* and aros_target_*
13534 # tools should be set up correctly
13536 CC
="$aros_kernel_cc $kernel_tool_flags"
13537 CPP
="$aros_kernel_cpp"
13539 #-----------------------------------------------------------------------------
13541 # Find all the tools we need to compile. This could be cross-compiling
13542 # though! If that is the case we use the GNU form of the target and
13543 # simply add this to the front of the binary name. This is rather simple,
13544 # but it should work under most circumstances.
13546 # The default tools are to use the same as the host, but only if the
13547 # host and target CPU are the same. With GCC this is normally enough.
13551 aros_shared_ld
="$aros_host_ld"
13553 aros_target_mkdep
="$aros_host_mkdep"
13555 # The default tools executables to be linked to.
13556 if test "$rescomp" != ""; then
13557 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
13558 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13560 $as_echo_n "checking for $ac_word... " >&6; }
13561 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
13562 $as_echo_n "(cached) " >&6
13564 case $aros_kernel_rescomp in
13566 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
13569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13570 for as_dir
in $PATH
13573 test -z "$as_dir" && as_dir
=.
13574 for ac_exec_ext
in '' $ac_executable_extensions; do
13575 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13576 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
13577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13587 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
13588 if test -n "$aros_kernel_rescomp"; then
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
13590 $as_echo "$aros_kernel_rescomp" >&6; }
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13593 $as_echo "no" >&6; }
13598 if test "$aros_kernel_rescomp" = ""; then
13601 if test "$aros_kernel_rescomp" = "no"; then
13604 if test "$req_avail" = "no"; then
13605 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
13609 # Set up the sources for the symlink farm
13610 if test "$crosstools" = "yes"; then
13611 crosstools_target
=tools-crosstools
13614 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
13615 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
13617 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/host/config"
13618 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
13619 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
13620 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
13621 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
13622 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
13623 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
13625 # aros_cc_pre is a variable that is added to the front of the compiler name
13626 # in the generated aros-gcc shell script. We need this to enable the cache
13627 # to work across cleaned builds. Also, support DISTCC using the correct
13628 # environment variable.
13631 if test "x${DISTCC}" != "x" ; then
13632 if test "x${CCACHE}" != "x" ; then
13633 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
13635 aros_cc_pre
="${DISTCC} "
13638 if test "x${CCACHE}" != "x" ; then
13639 aros_cc_pre
="${CCACHE} "
13643 aros_target_nostdinc_cflags
=-nostdinc
13645 aros_target_nostartup_ldflags
=-nostartfiles
13647 aros_target_nix_ldflags
=-nix
13649 aros_target_detach_ldflags
=-detach
13651 aros_target_nostdlib_ldflags
=-nostdlib
13656 if test "$aros_target_toolchain" != "yes"; then
13657 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
13658 if test "$GCC" = "yes"; then
13659 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
13662 # We do not know which c compiler version we are going to build and what we need to know
13663 # here is different for different versions so this will be set later during the
13664 # build of crosstools.
13665 if test "$aros_toolchain" = "gnu" ; then
13666 prefix
="$AROS_CROSSTOOLSDIR/${aros_target_cpu}-aros-"
13667 elif test "$aros_toolchain" = "llvm" ; then
13668 prefix
="$AROS_CROSSTOOLSDIR/bin/"
13670 aros_target_cc_path
=@aros_target_cc_path@
13672 aros_target_cpp
="${prefix}${toolchain_cpp_preprocessor}"
13673 aros_target_cc
="${prefix}${toolchain_c_compiler}"
13674 aros_target_cxx
="${prefix}${toolchain_cxx_compiler}"
13675 aros_target_as
="${prefix}${toolchain_as}"
13676 aros_target_ld
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${toolchain_ld}"
13677 aros_target_ar
="${prefix}${toolchain_ar} $aros_target_ar_flags"
13678 aros_target_objcopy
="${prefix}${toolchain_objcopy}"
13679 aros_target_objdump
="${prefix}${toolchain_objdump}"
13680 aros_target_ranlib
="${prefix}${toolchain_ranlib} $aros_target_ranlib_flags"
13681 aros_target_nm
="${prefix}${toolchain_nm} $aros_target_nm_flags"
13682 aros_target_strip
="${prefix}${toolchain_strip}"
13683 aros_plain_nm
="${prefix}${toolchain_nm}"
13684 aros_plain_ar
="${prefix}${toolchain_ar}"
13686 # Check whether --enable-includes was given.
13687 if test "${enable_includes+set}" = set; then :
13688 enableval
=$enable_includes; aros_target_incl
=$enable_includes
13690 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
13694 if test "$aros_kernel_includes" = ""; then
13695 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13696 aros_kernel_includes
="-isystem $aros_target_incl"
13700 if test "$aros_kernel_includes" != "" ; then
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
13702 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
13703 if test "$aros_kernel_cc_includes" = "" ; then
13704 # Try to guess where the directory is.
13705 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
13706 if test -d $aros_kernel_cc_includes; then
13707 # Check if there is also an include-fixed directory and add it
13708 # to kernel compiler's include path as it may contain some of
13709 # the headers we need.
13710 if test -d "$aros_kernel_cc_includes"-fixed; then
13711 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
13713 # Check for specific includes directory. Needed for Ubuntu 11.10 and Debian
13714 if test -d "/usr/include/${aros_target_cpu}-linux-gnu"; then
13715 aros_kernel_cc_includes
+=" -isystem /usr/include/${aros_target_cpu}-linux-gnu"
13718 # The directory doesn't exist, we need to do some more work.
13719 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
13721 # These are the headers we're looking for.
13722 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13723 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13727 for h
in $headers; do
13728 # Which other headers are needed by each of the above?
13729 deps
=$
(echo "#include <$h>" | \
13730 $aros_kernel_cc -E -M - 2>/dev
/null | \
13731 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13733 # Copy all the needed headers to a directory beneath gendir.
13736 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
13737 sed -n "s,^.*/include\(/.*\),\1,p")
13738 ! test -d $dir && mkdir
-p $dir
13739 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
13745 $as_echo "$aros_kernel_cc_includes" >&6; }
13746 # Adding -nostdinc to kernel includes as they are always used together.
13747 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
13750 if test "$crosstools" != "yes"; then
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
13752 $as_echo_n "checking for the target compiler's include path... " >&6; }
13753 if test "$aros_target_cc_includes" = "" ; then
13754 #try to guess where the directory is
13755 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
13756 if ! test -d $aros_target_cc_includes; then
13757 #the directory doesn't exist, we need to do some more work
13758 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
13760 #these are the headers we're looking for
13761 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13762 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13766 for h
in $headers; do
13767 #which other headers each of the above headers needs?
13768 deps
=$
(echo "#include <$h>" | \
13769 $orig_target_cc -E -M - 2>/dev
/null | \
13770 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13772 #copy all the needed headers to a directory beneath gendir
13775 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
13776 sed -n "s,^.*/include\(/.*\),\1,p")
13777 ! test -d $dir && mkdir
-p $dir
13778 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
13784 $as_echo "$aros_target_cc_includes" >&6; }
13786 # We do not know which c compiler version we are going to build and what we need to know
13787 # here is different for different versions so this will be set later during the
13788 # build of crosstools.
13789 aros_target_cc_includes
=@aros_target_cc_includes@
13793 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
13794 # On GCC >= 4.0 -iquote should be used
13798 save_cflags
="$CFLAGS"
13800 kernel_cflags_iquote
=$host_cflags_iquote
13801 kernel_cflags_iquote_end
=$host_cflags_iquote_end
13802 if test "x-$cross_compiling" = "x-yes"; then
13803 CC
="$aros_kernel_cc"
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
13805 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
13806 if test "x-$crosstools" != "x-yes"; then
13807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13808 /* end confdefs.h. */
13818 if ac_fn_c_try_compile
"$LINENO"; then :
13819 use_no_stack_protector
="yes"
13821 use_no_stack_protector
="no"
13823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13825 # we do know it is supported for the smallest version of gcc we are going to build
13826 # we assume it's also supported by later versions
13827 use_no_stack_protector
=yes
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
13830 $as_echo "$use_no_stack_protector" >&6; }
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13832 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13833 if test "x-$crosstools" != "x-yes"; then
13834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13835 /* end confdefs.h. */
13845 if ac_fn_c_try_compile
"$LINENO"; then :
13850 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13852 # we do know it is supported for the smallest version of gcc we are going to build
13853 # we assume it's also supported by later versions
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13857 $as_echo "$has_iquote" >&6; }
13858 if test "x-$has_iquote" = "x-yes" ; then
13859 kernel_cflags_iquote
=-iquote
13860 kernel_cflags_iquote_end
=
13862 kernel_cflags_iquote
=-I
13863 kernel_cflags_iquote_end
=-I-
13866 if test "x-$use_no_stack_protector" = "x-yes" ; then
13867 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13870 #-----------------------------------------------------------------------------
13872 # Check if we can explicitly choose older version of symbol hashing
13874 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13875 CC
="$aros_kernel_cc"
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13877 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13879 /* end confdefs.h. */
13889 if ac_fn_c_try_link
"$LINENO"; then :
13890 use_hash_style
="yes"
13892 use_hash_style
="no"
13894 rm -f core conftest.err conftest.
$ac_objext \
13895 conftest
$ac_exeext conftest.
$ac_ext
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13897 $as_echo "$use_hash_style" >&6; }
13898 if test "x-$use_hash_style" = "x-yes" ; then
13899 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13902 CFLAGS
="$save_cflags"
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13911 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13913 # Check whether --with-resolution was given.
13914 if test "${with_resolution+set}" = set; then :
13915 withval
=$with_resolution; resolution
=$withval
13920 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13921 if test "$resolution" = "yes" ; then
13924 if test "$resolution" = "no" ; then
13927 if test "$resolution" != "none" ; then
13928 aros_nominal_width
=`echo $resolution | cut -d'x' -f1`
13929 aros_nominal_height
=`echo $resolution | cut -d'x' -f2`
13930 aros_nominal_depth
=`echo $resolution | cut -d'x' -f3`
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&5
13933 $as_echo "$aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&6; }
13934 aros_cv_nominal_width
=$aros_nominal_width
13935 aros_cv_nominal_height
=$aros_nominal_height
13936 aros_cv_nominal_depth
=$aros_nominal_depth
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether serial debug is enabled" >&5
13939 $as_echo_n "checking whether serial debug is enabled... " >&6; }
13941 # Check whether --with-serial-debug was given.
13942 if test "${with_serial_debug+set}" = set; then :
13943 withval
=$with_serial_debug; serial_debug
=$withval
13948 if test "$aros_serial_debug" = 0 ; then
13949 serial_debug_forced
=""
13950 if test "$serial_debug" = "yes" ; then
13953 if test "$serial_debug" = "no" ; then
13954 serial_debug
="none"
13957 serial_debug_forced
="(forced)"
13958 serial_debug
=$aros_serial_debug
13960 if test "$serial_debug" != "none" ; then
13961 aros_serial_debug
=$serial_debug
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13963 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13966 $as_echo "no" >&6; }
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether palm debug hack is enabled" >&5
13970 $as_echo_n "checking whether palm debug hack is enabled... " >&6; }
13971 # Check whether --enable-palm_debug_hack was given.
13972 if test "${enable_palm_debug_hack+set}" = set; then :
13973 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13975 palm_debug_hack
="no"
13978 if test "$palm_debug_hack" = "yes" ; then
13979 aros_palm_debug_hack
="1"
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13982 $as_echo "$palm_debug_hack" >&6; }
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usb3.0 code is enabled" >&5
13985 $as_echo_n "checking whether usb3.0 code is enabled... " >&6; }
13986 # Check whether --enable-usb30_code was given.
13987 if test "${enable_usb30_code+set}" = set; then :
13988 enableval
=$enable_usb30_code; usb30_code
="yes"
13993 if test "$usb30_code" = "yes" ; then
13994 aros_config_cflags
="$aros_config_cflags -DAROS_USB30_CODE"
13995 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
13998 $as_echo "$usb30_code" >&6; }
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether nesting supervisor support is enabled" >&5
14001 $as_echo_n "checking whether nesting supervisor support is enabled... " >&6; }
14002 # Check whether --enable-nesting_supervisor was given.
14003 if test "${enable_nesting_supervisor+set}" = set; then :
14004 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
14006 nesting_supervisor
="no"
14009 if test "$nesting_supervisor" = "yes" ; then
14010 aros_nesting_supervisor
="1"
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
14013 $as_echo "$nesting_supervisor" >&6; }
14015 if test "$aros_enable_mmu" = "" ; then
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MMU support is enabled" >&5
14017 $as_echo_n "checking whether MMU support is enabled... " >&6; }
14018 # Check whether --enable-mmu was given.
14019 if test "${enable_mmu+set}" = set; then :
14020 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
14022 aros_enable_mmu
="yes"
14025 if test "$aros_enable_mmu" = "" ; then
14026 aros_enable_mmu
="yes"
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
14029 $as_echo "$aros_enable_mmu" >&6; }
14031 if test "$aros_enable_mmu" = "no" ; then
14032 aros_enable_mmu
="0"
14034 aros_enable_mmu
="1"
14038 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
14040 if test "x-$need_dlopen" != "x-no" ; then
14043 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
14044 if test "x$ac_cv_func_dlopen" = xyes
; then :
14050 if test "x-$have_dl" = "x-no" ; then
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14052 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14053 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14054 $as_echo_n "(cached) " >&6
14056 ac_check_lib_save_LIBS
=$LIBS
14058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14059 /* end confdefs.h. */
14061 /* Override any GCC internal prototype to avoid an error.
14062 Use char because int might match the return type of a GCC
14063 builtin and then its argument prototype would still apply. */
14076 if ac_fn_c_try_link
"$LINENO"; then :
14077 ac_cv_lib_dl_dlopen
=yes
14079 ac_cv_lib_dl_dlopen
=no
14081 rm -f core conftest.err conftest.
$ac_objext \
14082 conftest
$ac_exeext conftest.
$ac_ext
14083 LIBS
=$ac_check_lib_save_LIBS
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14086 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14087 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14089 aros_host_ldflags
="$aros_host_ldflags -ldl"
14095 if test "x-$have_dl" = "x-no" ; then
14096 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
14102 # Check whether --enable-x11_hidd was given.
14103 if test "${enable_x11_hidd+set}" = set; then :
14104 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
14106 x11_hidd
="$need_x11"
14109 case "x-$x11_hidd" in
14110 x-yes|x-no|x-auto
) ;;
14111 *) x11_hidd
="$need_x11" ;;
14116 if test "x-$x11_hidd" != "x-no" ; then
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
14119 $as_echo_n "checking for X... " >&6; }
14122 # Check whether --with-x was given.
14123 if test "${with_x+set}" = set; then :
14127 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
14128 if test "x$with_x" = xno
; then
14129 # The user explicitly disabled X.
14132 case $x_includes,$x_libraries in #(
14133 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
14134 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
14135 $as_echo_n "(cached) " >&6
14137 # One or both of the vars are not set, and there is no cached value.
14138 ac_x_includes
=no ac_x_libraries
=no
14139 rm -f -r conftest.dir
14140 if mkdir conftest.dir
; then
14142 cat >Imakefile
<<'_ACEOF'
14144 @echo incroot='${INCROOT}'
14146 @echo usrlibdir='${USRLIBDIR}'
14148 @echo libdir='${LIBDIR}'
14150 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
14151 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14152 for ac_var
in incroot usrlibdir libdir
; do
14153 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14155 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14156 for ac_extension
in a so sl dylib la dll
; do
14157 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14158 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14159 ac_im_usrlibdir
=$ac_im_libdir; break
14162 # Screen out bogus values from the imake configuration. They are
14163 # bogus both because they are the default anyway, and because
14164 # using them would break gcc on systems where it needs fixed includes.
14165 case $ac_im_incroot in
14166 /usr
/include
) ac_x_includes
= ;;
14167 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
14169 case $ac_im_usrlibdir in
14170 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
14171 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
14175 rm -f -r conftest.dir
14178 # Standard set of common directories for X headers.
14179 # Check X11 before X11Rn because it is often a symlink to the current release.
14193 /usr/local/X11/include
14194 /usr/local/X11R7/include
14195 /usr/local/X11R6/include
14196 /usr/local/X11R5/include
14197 /usr/local/X11R4/include
14199 /usr/local/include/X11
14200 /usr/local/include/X11R7
14201 /usr/local/include/X11R6
14202 /usr/local/include/X11R5
14203 /usr/local/include/X11R4
14207 /usr/XFree86/include/X11
14211 /usr/unsupported/include
14212 /usr/athena/include
14213 /usr/local/x11r5/include
14214 /usr/lpp/Xamples/include
14216 /usr/openwin/include
14217 /usr/openwin/share/include'
14219 if test "$ac_x_includes" = no
; then
14220 # Guess where to find include files, by looking for Xlib.h.
14221 # First, try using that file with no special directory specified.
14222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14223 /* end confdefs.h. */
14224 #include <X11/Xlib.h>
14226 if ac_fn_c_try_cpp
"$LINENO"; then :
14227 # We can compile using X headers with no special include directory.
14230 for ac_dir
in $ac_x_header_dirs; do
14231 if test -r "$ac_dir/X11/Xlib.h"; then
14232 ac_x_includes
=$ac_dir
14237 rm -f conftest.err conftest.i conftest.
$ac_ext
14238 fi # $ac_x_includes = no
14240 if test "$ac_x_libraries" = no
; then
14241 # Check for the libraries.
14242 # See if we find them without any special options.
14243 # Don't add to $LIBS permanently.
14246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14247 /* end confdefs.h. */
14248 #include <X11/Xlib.h>
14257 if ac_fn_c_try_link
"$LINENO"; then :
14259 # We can link X programs with no special library path.
14263 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14265 # Don't even attempt the hair of trying to link an X program!
14266 for ac_extension
in a so sl dylib la dll
; do
14267 if test -r "$ac_dir/libX11.$ac_extension"; then
14268 ac_x_libraries
=$ac_dir
14274 rm -f core conftest.err conftest.
$ac_objext \
14275 conftest
$ac_exeext conftest.
$ac_ext
14276 fi # $ac_x_libraries = no
14278 case $ac_x_includes,$ac_x_libraries in #(
14279 no
,* |
*,no |
*\'*)
14280 # Didn't find X, or a directory has "'" in its name.
14281 ac_cv_have_x
="have_x=no";; #(
14283 # Record where we found X for the cache.
14284 ac_cv_have_x
="have_x=yes\
14285 ac_x_includes='$ac_x_includes'\
14286 ac_x_libraries='$ac_x_libraries'"
14292 eval "$ac_cv_have_x"
14295 if test "$have_x" != yes; then
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14297 $as_echo "$have_x" >&6; }
14300 # If each of the values was on the command line, it overrides each guess.
14301 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
14302 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
14303 # Update the cache value to reflect the command line values.
14304 ac_cv_have_x
="have_x=yes\
14305 ac_x_includes='$x_includes'\
14306 ac_x_libraries='$x_libraries'"
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14308 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
14312 if test -n "$x_includes"; then
14313 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14316 if test -n "$x_libraries"; then
14317 X_LIBS
="$X_LIBS -L$x_libraries"
14320 if test "x-$no_x" = "x-yes" ; then
14322 if test "x-$x11_hidd" != "x-auto" ; then
14323 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
14330 aros_host_x11_cflags
="$X_CFLAGS"
14331 aros_host_x11_ldflags
="$X_LIBS -lX11"
14333 # Check whether --enable-x11_shm was given.
14334 if test "${enable_x11_shm+set}" = set; then :
14335 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
14337 x11_hidd_shm
="auto"
14340 case "x-$x11_hidd_shm" in
14341 x-yes|x-no|x-auto
) ;;
14342 *) x11_hidd_shm
="auto" ;;
14347 if test "x-$x11_hidd_shm" != "x-no" ; then
14349 for ac_header
in sys
/ipc.h
14351 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
14352 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
14353 cat >>confdefs.h
<<_ACEOF
14354 #define HAVE_SYS_IPC_H 1
14361 for ac_header
in sys
/shm.h
14363 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
14364 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
14365 cat >>confdefs.h
<<_ACEOF
14366 #define HAVE_SYS_SHM_H 1
14374 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
14376 save_cflags
="$CFLAGS"
14377 save_ldflags
="$LDFLAGS"
14378 CFLAGS
="$CFLAGS $X_CFLAGS"
14379 LDFLAGS
="$LDFLAGS $X_LIBS"
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14381 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
14382 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
14383 $as_echo_n "(cached) " >&6
14385 ac_check_lib_save_LIBS
=$LIBS
14386 LIBS
="-lXext $LIBS"
14387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14388 /* end confdefs.h. */
14390 /* Override any GCC internal prototype to avoid an error.
14391 Use char because int might match the return type of a GCC
14392 builtin and then its argument prototype would still apply. */
14396 char XShmQueryExtension ();
14400 return XShmQueryExtension ();
14405 if ac_fn_c_try_link
"$LINENO"; then :
14406 ac_cv_lib_Xext_XShmQueryExtension
=yes
14408 ac_cv_lib_Xext_XShmQueryExtension
=no
14410 rm -f core conftest.err conftest.
$ac_objext \
14411 conftest
$ac_exeext conftest.
$ac_ext
14412 LIBS
=$ac_check_lib_save_LIBS
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14415 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14416 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
14420 CFLAGS
="$save_cflags"
14421 LDFLAGS
="$save_ldflags"
14425 if test "x-$have_xshm" = "x-yes" ; then
14426 DO_XSHM_SUPPORT
="1"
14427 elif test "x-$x11_hidd_shm" = "x-yes" ; then
14428 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
14430 DO_XSHM_SUPPORT
="0"
14434 # Check whether --enable-x11_vidmode was given.
14435 if test "${enable_x11_vidmode+set}" = set; then :
14436 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
14438 x11_hidd_vidmode
="auto"
14441 case "x-$x11_hidd_vidmode" in
14442 x-yes|x-no|x-auto
) ;;
14443 *) x11_hidd_vidmode
="auto" ;;
14448 if test "x-$x11_hidd_vidmode" != "x-no" ; then
14450 save_cflags
="$CFLAGS"
14451 save_ldflags
="$LDFLAGS"
14452 CFLAGS
="$CFLAGS $X_CFLAGS"
14453 LDFLAGS
="$LDFLAGS $X_LIBS"
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
14455 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
14456 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
14457 $as_echo_n "(cached) " >&6
14459 ac_check_lib_save_LIBS
=$LIBS
14460 LIBS
="-lXxf86vm $LIBS"
14461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14462 /* end confdefs.h. */
14464 /* Override any GCC internal prototype to avoid an error.
14465 Use char because int might match the return type of a GCC
14466 builtin and then its argument prototype would still apply. */
14470 char XF86VidModeQueryExtension ();
14474 return XF86VidModeQueryExtension ();
14479 if ac_fn_c_try_link
"$LINENO"; then :
14480 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
14482 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
14484 rm -f core conftest.err conftest.
$ac_objext \
14485 conftest
$ac_exeext conftest.
$ac_ext
14486 LIBS
=$ac_check_lib_save_LIBS
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
14489 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
14490 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
14494 CFLAGS
="$save_cflags"
14495 LDFLAGS
="$save_ldflags"
14498 if test "x-$have_vidmode" = "x-yes" ; then
14499 DO_VIDMODE_SUPPORT
="1"
14500 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
14501 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
14503 DO_VIDMODE_SUPPORT
="0"
14508 # Check whether --enable-sdl_hidd was given.
14509 if test "${enable_sdl_hidd+set}" = set; then :
14510 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
14515 case "x-$sdl_hidd" in
14516 x-yes|x-no|x-auto
) ;;
14517 *) sdl_hidd
="auto" ;;
14520 if test "x-$sdl_hidd" != "x-no" ; then
14524 # Check whether --with-sdl-prefix was given.
14525 if test "${with_sdl_prefix+set}" = set; then :
14526 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
14532 # Check whether --with-sdl-exec-prefix was given.
14533 if test "${with_sdl_exec_prefix+set}" = set; then :
14534 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
14539 # Check whether --enable-sdltest was given.
14540 if test "${enable_sdltest+set}" = set; then :
14541 enableval
=$enable_sdltest;
14547 if test x
$sdl_exec_prefix != x
; then
14548 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
14549 if test x
${SDL_CONFIG+set} != xset
; then
14550 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
14553 if test x
$sdl_prefix != x
; then
14554 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
14555 if test x
${SDL_CONFIG+set} != xset
; then
14556 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
14560 as_save_PATH
="$PATH"
14561 if test "x$prefix" != xNONE
; then
14562 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
14564 # Extract the first word of "sdl-config", so it can be a program name with args.
14565 set dummy sdl-config
; ac_word
=$2
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14567 $as_echo_n "checking for $ac_word... " >&6; }
14568 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
14569 $as_echo_n "(cached) " >&6
14571 case $SDL_CONFIG in
14573 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
14576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14577 for as_dir
in $PATH
14580 test -z "$as_dir" && as_dir
=.
14581 for ac_exec_ext
in '' $ac_executable_extensions; do
14582 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14583 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14591 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
14595 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
14596 if test -n "$SDL_CONFIG"; then
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
14598 $as_echo "$SDL_CONFIG" >&6; }
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14601 $as_echo "no" >&6; }
14605 PATH
="$as_save_PATH"
14606 min_sdl_version
=$SDL_VERSION
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
14608 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
14610 if test "$SDL_CONFIG" = "no" ; then
14613 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
14614 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
14616 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
14617 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
14618 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
14619 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
14620 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
14621 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
14622 if test "x$enable_sdltest" = "xyes" ; then
14623 ac_save_CFLAGS
="$CFLAGS"
14624 ac_save_CXXFLAGS
="$CXXFLAGS"
14625 ac_save_LIBS
="$LIBS"
14626 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14627 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14628 LIBS
="$LIBS $SDL_LIBS"
14630 if test "$cross_compiling" = yes; then :
14631 echo $ac_n "cross compiling; assumed OK... $ac_c"
14633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14634 /* end confdefs.h. */
14637 #include <stdlib.h>
14638 #include <string.h>
14642 my_strdup (char *str)
14648 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14649 strcpy (new_str, str);
14657 int main (int argc, char *argv[])
14659 int major, minor, micro;
14662 /* This hangs on some systems (?)
14663 system ("touch conf.sdltest");
14665 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14667 /* HP/UX 9 (%@#!) writes to sscanf strings */
14668 tmp_version = my_strdup("$min_sdl_version");
14669 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14670 printf("%s, bad version string\n", "$min_sdl_version");
14674 if (($sdl_major_version > major) ||
14675 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14676 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14682 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14683 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14684 printf("*** best to upgrade to the required version.\n");
14685 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14686 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14687 printf("*** config.cache before re-running configure\n");
14694 if ac_fn_c_try_run
"$LINENO"; then :
14699 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14700 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14703 CFLAGS
="$ac_save_CFLAGS"
14704 CXXFLAGS
="$ac_save_CXXFLAGS"
14705 LIBS
="$ac_save_LIBS"
14708 if test "x$no_sdl" = x
; then
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14710 $as_echo "yes" >&6; }
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14714 $as_echo "no" >&6; }
14715 if test "$SDL_CONFIG" = "no" ; then
14716 echo "*** The sdl-config script installed by SDL could not be found"
14717 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14718 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14719 echo "*** full path to sdl-config."
14721 if test -f conf.sdltest
; then
14724 echo "*** Could not run SDL test program, checking why..."
14725 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14726 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14727 LIBS
="$LIBS $SDL_LIBS"
14728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14729 /* end confdefs.h. */
14734 int main(int argc, char *argv[])
14737 #define main K_and_R_C_main
14747 if ac_fn_c_try_link
"$LINENO"; then :
14748 echo "*** The test program compiled, but did not run. This usually means"
14749 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14750 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14751 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14752 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14753 echo "*** is required on your system"
14755 echo "*** If you have an old version installed, it is best to remove it, although"
14756 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14758 echo "*** The test program failed to compile or link. See the file config.log for the"
14759 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14760 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14761 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14763 rm -f core conftest.err conftest.
$ac_objext \
14764 conftest
$ac_exeext conftest.
$ac_ext
14765 CFLAGS
="$ac_save_CFLAGS"
14766 CXXFLAGS
="$ac_save_CXXFLAGS"
14767 LIBS
="$ac_save_LIBS"
14779 if test "x-$have_sdl" != "x-yes" ; then
14781 if test "x-$sdl_hidd" != "x-auto" ; then
14782 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14787 aros_host_sdl_cflags
=$SDL_CFLAGS
14788 aros_host_sdl_libs
=$SDL_LIBS
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether building of dbus.library is enabled" >&5
14796 $as_echo_n "checking whether building of dbus.library is enabled... " >&6; }
14797 # Check whether --enable-dbus was given.
14798 if test "${enable_dbus+set}" = set; then :
14799 enableval
=$enable_dbus; dbus
="yes"
14804 if test "$dbus" = "yes" ; then
14806 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14807 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14808 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14809 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14814 $as_echo "$dbus" >&6; }
14816 if test "$use_kernel_cc_wrapper" = "yes" ; then
14817 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-${toolchain_c_compiler}"
14834 # Compatability with other Amiga-like operation systems
14939 # Hosted Graphics Related
14957 # Native version related
14961 # Palm native version related
14964 # Unix/Hosted version related
14970 # Apple iOS related
14975 # ARM default GCC target related
15003 # Collect-aros stuff: "-ius" to ignore undefined symbols
15006 # C compiler related
15011 #ObjC compiler related
15020 case "$aros_flavour" in
15021 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
15022 aros_flavour
="emulation" ;;
15023 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
15024 aros_flavour
="emulation" ;;
15025 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
15026 aros_flavour
="standalone";;
15027 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15028 aros_flavour
="standalone";;
15029 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
15030 aros_flavour
="native" ;;
15031 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
15032 aros_flavour
="native" ;;
15033 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
15034 aros_flavour
="linklib" ;;
15035 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15036 aros_flavour
="palmnative" ;;
15037 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15038 aros_flavour
="mac68knative" ;;
15039 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15040 aros_flavour
="ppcnative" ;;
15043 if test ! -d ${aros_inc_dir} ; then
15044 ${MKDIR} ${aros_inc_dir}
15046 if test ! -d ${aros_geninc_dir} ; then
15047 ${MKDIR} ${aros_geninc_dir}
15049 if test ! -d ${aros_hostcfg_dir} ; then
15050 ${MKDIR} ${aros_hostcfg_dir}
15052 if test ! -d ${aros_targetcfg_dir} ; then
15053 ${MKDIR} ${aros_targetcfg_dir}
15055 if test ! -d ${aros_tools_dir} ; then
15056 ${MKDIR} ${aros_tools_dir}
15058 if test ! -d ${aros_scripts_dir} ; then
15059 ${MKDIR} ${aros_scripts_dir}
15062 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
15065 # Generic build tools (metamake, etc)
15066 ac_config_commands
="$ac_config_commands genmf-executable-support"
15068 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 ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py tools/collect-aros/env.h"
15072 ac_config_commands
="$ac_config_commands binutils-support"
15074 ac_config_files
="$ac_config_files ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld:scripts/aros-ld.in"
15077 # Bare Elf support script and spec
15078 if test "${use_kernel_cc_wrapper}" = "yes"; then
15079 ac_config_commands
="$ac_config_commands elf-compiler-support"
15081 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"
15085 # Host compiler support scripts and spec
15086 if test "${aros_target_toolchain}" = "no"; then
15087 ac_config_commands
="$ac_config_commands host-compiler-wrapper-support"
15089 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"
15094 if test "$aros_target_variant" == "android"; then
15095 ac_config_files
="$ac_config_files ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in"
15100 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in"
15103 cat >confcache
<<\_ACEOF
15104 # This file is a shell script that caches the results of configure
15105 # tests run on this system so they can be shared between configure
15106 # scripts and configure runs, see configure's option --config-cache.
15107 # It is not useful on other systems. If it contains results you don't
15108 # want to keep, you may remove or edit it.
15110 # config.status only pays attention to the cache file if you give it
15111 # the --recheck option to rerun configure.
15113 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15114 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15115 # following values.
15119 # The following way of writing the cache mishandles newlines in values,
15120 # but we know of no workaround that is simple, portable, and efficient.
15121 # So, we kill variables containing newlines.
15122 # Ultrix sh set writes to stderr and can't be redirected directly,
15123 # and sets the high bit in the cache file unless we assign to the vars.
15125 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15126 eval ac_val
=\$
$ac_var
15130 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15131 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15134 _ | IFS | as_nl
) ;; #(
15135 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15136 *) { eval $ac_var=; unset $ac_var;} ;;
15142 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15143 *${as_nl}ac_space
=\
*)
15144 # `set' does not quote correctly, so add quotes: double-quote
15145 # substitution turns \\\\ into \\, and sed turns \\ into \.
15148 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15151 # `set' quotes correctly as required by POSIX, so do not add quotes.
15152 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15161 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15163 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15165 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15166 if test -w "$cache_file"; then
15167 if test "x$cache_file" != "x/dev/null"; then
15168 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15169 $as_echo "$as_me: updating cache $cache_file" >&6;}
15170 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15171 cat confcache
>"$cache_file"
15173 case $cache_file in #(
15175 mv -f confcache
"$cache_file"$$
&&
15176 mv -f "$cache_file"$$
"$cache_file" ;; #(
15178 mv -f confcache
"$cache_file" ;;
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15184 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15189 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15190 # Let make expand exec_prefix.
15191 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15193 DEFS
=-DHAVE_CONFIG_H
15198 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15199 # 1. Remove the extension, and $U if already installed.
15200 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15201 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15202 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15203 # will be set to the directory where LIBOBJS objects are built.
15204 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15205 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15207 LIBOBJS
=$ac_libobjs
15209 LTLIBOBJS
=$ac_ltlibobjs
15213 : "${CONFIG_STATUS=./config.status}"
15215 ac_clean_files_save
=$ac_clean_files
15216 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15218 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15220 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15222 # Generated by $as_me.
15223 # Run this file to recreate the current configuration.
15224 # Compiler output produced by configure, useful for debugging
15225 # configure, is in config.log if it exists.
15228 ac_cs_recheck=false
15231 SHELL=\${CONFIG_SHELL-$SHELL}
15234 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15235 ## -------------------- ##
15236 ## M4sh Initialization. ##
15237 ## -------------------- ##
15239 # Be more Bourne compatible
15240 DUALCASE
=1; export DUALCASE
# for MKS sh
15241 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15244 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15245 # is contrary to our usage. Disable this feature.
15246 alias -g '${1+"$@"}'='"$@"'
15247 setopt NO_GLOB_SUBST
15249 case `(set -o) 2>/dev/null` in #(
15261 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15262 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15263 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15264 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15265 # Prefer a ksh shell builtin over an external printf program on Solaris,
15266 # but without wasting forks for bash or zsh.
15267 if test -z "$BASH_VERSION$ZSH_VERSION" \
15268 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15269 as_echo='print
-r --'
15270 as_echo_n='print
-rn --'
15271 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15272 as_echo='printf %s
\n'
15273 as_echo_n='printf %s
'
15275 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15276 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15277 as_echo_n='/usr
/ucb
/echo -n'
15279 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15280 as_echo_n_body='eval
15284 expr "X$arg" : "X\\(.*\\)$as_nl";
15285 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15287 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15289 export as_echo_n_body
15290 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15292 export as_echo_body
15293 as_echo='sh
-c $as_echo_body as_echo
'
15296 # The user is always right.
15297 if test "${PATH_SEPARATOR+set}" != set; then
15299 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15300 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15307 # We need space, tab and new line, in precisely that order. Quoting is
15308 # there to prevent editors from complaining about space-tab.
15309 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15310 # splitting by setting IFS to empty value.)
15313 # Find who we are. Look in the path if we contain no directory separator.
15316 *[\\/]* ) as_myself=$0 ;;
15317 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15318 for as_dir in $PATH
15321 test -z "$as_dir" && as_dir=.
15322 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15328 # We did not find ourselves, most probably we were run as `sh COMMAND'
15329 # in which case we are not to be found in the path.
15330 if test "x$as_myself" = x
; then
15333 if test ! -f "$as_myself"; then
15334 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15338 # Unset variables that we do not need and which cause bugs (e.g. in
15339 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15340 # suppresses any "Segmentation fault" message there. '((' could
15341 # trigger a bug in pdksh 5.2.14.
15342 for as_var
in BASH_ENV ENV MAIL MAILPATH
15343 do eval test x\
${$as_var+set} = xset \
15344 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15357 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15360 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15361 # ----------------------------------------
15362 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15363 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15364 # script with STATUS, using 1 if that was 0.
15367 as_status
=$1; test $as_status -eq 0 && as_status
=1
15369 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15370 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15372 $as_echo "$as_me: error: $2" >&2
15373 as_fn_exit
$as_status
15377 # as_fn_set_status STATUS
15378 # -----------------------
15379 # Set $? to STATUS, without forking.
15380 as_fn_set_status
()
15383 } # as_fn_set_status
15385 # as_fn_exit STATUS
15386 # -----------------
15387 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15391 as_fn_set_status
$1
15397 # Portably unset VAR.
15400 { eval $1=; unset $1;}
15402 as_unset
=as_fn_unset
15403 # as_fn_append VAR VALUE
15404 # ----------------------
15405 # Append the text in VALUE to the end of the definition contained in VAR. Take
15406 # advantage of any shell optimizations that allow amortized linear growth over
15407 # repeated appends, instead of the typical quadratic growth present in naive
15409 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15410 eval 'as_fn_append ()
15421 # as_fn_arith ARG...
15422 # ------------------
15423 # Perform arithmetic evaluation on the ARGs, and store the result in the
15424 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15425 # must be portable across $(()) and expr.
15426 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15427 eval 'as_fn_arith ()
15434 as_val
=`expr "$@" || test $? -eq 1`
15439 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15440 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15446 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15447 as_basename
=basename
15452 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15458 as_me
=`$as_basename -- "$0" ||
15459 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15460 X"$0" : 'X\(//\)$' \| \
15461 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15463 sed '/^.*\/\([^/][^/]*\)\/*$/{
15477 # Avoid depending upon Character Ranges.
15478 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15479 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15480 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15481 as_cr_digits
='0123456789'
15482 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15484 ECHO_C
= ECHO_N
= ECHO_T
=
15485 case `echo -n x` in #(((((
15487 case `echo 'xy\c'` in
15488 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15490 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15497 rm -f conf$$ conf$$.exe conf$$.
file
15498 if test -d conf$$.dir
; then
15499 rm -f conf$$.dir
/conf$$.
file
15502 mkdir conf$$.dir
2>/dev
/null
15504 if (echo >conf$$.
file) 2>/dev
/null
; then
15505 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15507 # ... but there are two gotchas:
15508 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15509 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15510 # In both cases, we have to default to `cp -pR'.
15511 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15513 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15521 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15522 rmdir conf$$.dir
2>/dev
/null
15527 # Create "$as_dir" as a directory, including parents if necessary.
15532 -*) as_dir
=.
/$as_dir;;
15534 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15538 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15539 *) as_qdir
=$as_dir;;
15541 as_dirs
="'$as_qdir' $as_dirs"
15542 as_dir
=`$as_dirname -- "$as_dir" ||
15543 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15544 X"$as_dir" : 'X\(//\)[^/]' \| \
15545 X"$as_dir" : 'X\(//\)$' \| \
15546 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15547 $as_echo X"$as_dir" |
15548 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15552 /^X\(\/\/\)[^/].*/{
15565 test -d "$as_dir" && break
15567 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15568 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15572 if mkdir
-p .
2>/dev
/null
; then
15573 as_mkdir_p
='mkdir -p "$as_dir"'
15575 test -d .
/-p && rmdir .
/-p
15580 # as_fn_executable_p FILE
15581 # -----------------------
15582 # Test if FILE is an executable regular file.
15583 as_fn_executable_p
()
15585 test -f "$1" && test -x "$1"
15586 } # as_fn_executable_p
15587 as_test_x
='test -x'
15588 as_executable_p
=as_fn_executable_p
15590 # Sed expression to map a string onto a valid CPP name.
15591 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15593 # Sed expression to map a string onto a valid variable name.
15594 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15598 ## ----------------------------------- ##
15599 ## Main body of $CONFIG_STATUS script. ##
15600 ## ----------------------------------- ##
15602 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15605 # Save the log message, to keep $0 and so on meaningful, and to
15606 # report actual input values of CONFIG_FILES etc. instead of their
15607 # values after options handling.
15609 This file was extended by $as_me, which was
15610 generated by GNU Autoconf 2.69. Invocation command line was
15612 CONFIG_FILES = $CONFIG_FILES
15613 CONFIG_HEADERS = $CONFIG_HEADERS
15614 CONFIG_LINKS = $CONFIG_LINKS
15615 CONFIG_COMMANDS = $CONFIG_COMMANDS
15618 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15623 case $ac_config_files in *"
15624 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15627 case $ac_config_headers in *"
15628 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15633 # Files that config.status was made for.
15634 config_files="$ac_config_files"
15635 config_headers="$ac_config_headers"
15636 config_commands="$ac_config_commands"
15640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15642 \`$as_me' instantiates files and other configuration actions
15643 from templates according to the current configuration. Unless the files
15644 and actions are specified as TAGs, all are instantiated by default.
15646 Usage: $0 [OPTION]... [TAG]...
15648 -h, --help print this help, then exit
15649 -V, --version print version number and configuration settings, then exit
15650 --config print configuration, then exit
15651 -q, --quiet, --silent
15652 do not print progress messages
15653 -d, --debug don't remove temporary files
15654 --recheck update $as_me by reconfiguring in the same conditions
15655 --file=FILE[:TEMPLATE]
15656 instantiate the configuration file FILE
15657 --header=FILE[:TEMPLATE]
15658 instantiate the configuration header FILE
15660 Configuration files:
15663 Configuration headers:
15666 Configuration commands:
15669 Report bugs to the package provider."
15672 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15673 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15676 configured by $0, generated by GNU Autoconf 2.69,
15677 with options \\"\$ac_cs_config\\"
15679 Copyright (C) 2012 Free Software Foundation, Inc.
15680 This config.status script is free software; the Free Software Foundation
15681 gives unlimited permission to copy, distribute and modify it."
15685 test -n "\$AWK" || AWK=awk
15688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15689 # The default lists apply if the user does not specify any file.
15695 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15696 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15700 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15712 # Handling of the options.
15713 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15715 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15716 $as_echo "$ac_cs_version"; exit ;;
15717 --config |
--confi |
--conf |
--con |
--co |
--c )
15718 $as_echo "$ac_cs_config"; exit ;;
15719 --debug |
--debu |
--deb |
--de |
--d |
-d )
15721 --file |
--fil |
--fi |
--f )
15724 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15725 '') as_fn_error $?
"missing file argument" ;;
15727 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15728 ac_need_defaults
=false
;;
15729 --header |
--heade |
--head |
--hea )
15732 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15734 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15735 ac_need_defaults
=false
;;
15737 # Conflict between --help and --header
15738 as_fn_error $?
"ambiguous option: \`$1'
15739 Try \`$0 --help' for more information.";;
15740 --help |
--hel |
-h )
15741 $as_echo "$ac_cs_usage"; exit ;;
15742 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15743 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15746 # This is an error.
15747 -*) as_fn_error $?
"unrecognized option: \`$1'
15748 Try \`$0 --help' for more information." ;;
15750 *) as_fn_append ac_config_targets
" $1"
15751 ac_need_defaults
=false
;;
15757 ac_configure_extra_args
=
15759 if $ac_cs_silent; then
15761 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15765 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15766 if \$ac_cs_recheck; then
15767 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15769 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15770 CONFIG_SHELL='$SHELL'
15771 export CONFIG_SHELL
15776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15780 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15781 ## Running $as_me. ##
15787 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15791 aros_tools_dir=${aros_tools_dir}
15794 aros_host_exe_suffix=${aros_host_exe_suffix}
15795 aros_tools_dir=${aros_tools_dir}
15796 aros_target_cpu=${aros_target_cpu}
15797 aros_target_arch=${aros_target_arch}
15798 aros_target_suffix=${aros_target_suffix}
15799 orig_target_nm=${orig_target_nm}
15800 orig_target_as=${orig_target_as}
15801 orig_target_ar=${orig_target_ar}
15802 orig_target_ranlib=${orig_target_ranlib}
15803 orig_target_objdump=${orig_target_objdump}
15804 orig_target_objcopy=${orig_target_objcopy}
15805 orig_target_strip=${orig_target_strip}
15806 aros_kernel_ld=${aros_kernel_ld}
15810 aros_host_exe_suffix=${aros_host_exe_suffix}
15811 aros_tools_dir=${aros_tools_dir}
15812 aros_target_cpu=${aros_target_cpu}
15813 aros_target_arch=${aros_target_arch}
15814 aros_target_suffix=${aros_target_suffix}
15815 aros_kernel_ld=${aros_kernel_ld}
15819 aros_host_exe_suffix=${aros_host_exe_suffix}
15820 aros_tools_dir=${aros_tools_dir}
15821 aros_target_cpu=${aros_target_cpu}
15822 aros_target_arch=${aros_target_arch}
15823 aros_target_suffix=${aros_target_suffix}
15829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15831 # Handling of arguments.
15832 for ac_config_target
in $ac_config_targets
15834 case $ac_config_target in
15835 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15836 "genmf-executable-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf-executable-support" ;;
15837 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15838 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15839 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15840 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15841 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15842 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15843 "${aros_targetcfg_dir}/build.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/build.cfg:config/build.cfg.in" ;;
15844 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15845 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15846 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15847 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15848 "binutils-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS binutils-support" ;;
15849 "${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld") CONFIG_FILES="$CONFIG_FILES ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld:scripts/aros-ld.in" ;;
15850 "elf-compiler-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS elf-compiler-support" ;;
15851 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15852 "${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" ;;
15853 "host-compiler-wrapper-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS host-compiler-wrapper-support" ;;
15854 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15855 "${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" ;;
15856 "${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" ;;
15857 "${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" ;;
15858 "${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" ;;
15859 "${aros_targetcfg_dir}/conf.cmake") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in" ;;
15861 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15866 # If the user did not use the arguments to specify the items to instantiate,
15867 # then the envvar interface is used. Set only those that are not.
15868 # We use the long form for the default assignment because of an extremely
15869 # bizarre bug on SunOS 4.1.3.
15870 if $ac_need_defaults; then
15871 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15872 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15873 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15876 # Have a temporary directory for convenience. Make it in the build tree
15877 # simply because there is no reason against having it here, and in addition,
15878 # creating and moving files from /tmp can sometimes cause problems.
15879 # Hook for its removal unless debugging.
15880 # Note that there is a small window in which the directory will not be cleaned:
15881 # after its creation but before its name has been assigned to `$tmp'.
15885 trap 'exit_status=$?
15886 : "${ac_tmp:=$tmp}"
15887 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15889 trap 'as_fn_exit 1' 1 2 13 15
15891 # Create a (secure) tmp directory for tmp files.
15894 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15898 tmp
=.
/conf$$
-$RANDOM
15899 (umask 077 && mkdir
"$tmp")
15900 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15903 # Set up the scripts for CONFIG_FILES section.
15904 # No need to generate them if there are no CONFIG_FILES.
15905 # This happens for instance with `./config.status config.h'.
15906 if test -n "$CONFIG_FILES"; then
15909 ac_cr
=`echo X | tr X '\015'`
15910 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15911 # But we know of no other shell where ac_cr would be empty at this
15912 # point, so we can use a bashism as a fallback.
15913 if test "x$ac_cr" = x
; then
15914 eval ac_cr
=\$
\'\\r
\'
15916 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15917 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15920 ac_cs_awk_cr
=$ac_cr
15923 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15928 echo "cat >conf$$subs.awk <<_ACEOF" &&
15929 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15931 } >conf$$subs.sh ||
15932 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15933 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15935 for ac_last_try in false false false false false :; do
15936 . ./conf$$subs.sh ||
15937 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15939 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15940 if test $ac_delim_n = $ac_delim_num; then
15942 elif $ac_last_try; then
15943 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15945 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15948 rm -f conf$$subs.sh
15950 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15951 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15955 s/^/S["/; s
/!.
*/"]=/
15965 s/\(.\{148\}\)..*/\1/
15967 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15972 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15979 s/\(.\{148\}\)..*/\1/
15981 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15985 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15990 ' <conf$$subs.awk | sed '
15995 ' >>$CONFIG_STATUS || ac_write_fail=1
15996 rm -f conf$$subs.awk
15997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15999 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16000 for (key in S) S_is_set[key] = 1
16006 nfields = split(line, field, "@
")
16008 len = length(field[1])
16009 for (i = 2; i < nfields; i++) {
16011 keylen = length(key)
16012 if (S_is_set[key]) {
16014 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16015 len += length(value) + length(field[++i])
16026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16027 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16028 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16031 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16032 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16035 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16036 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16037 # trailing colons and then remove the whole line if VPATH becomes empty
16038 # (actually we leave an empty line to preserve line numbers).
16039 if test "x
$srcdir" = x.; then
16040 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16059 fi # test -n "$CONFIG_FILES"
16061 # Set up the scripts for CONFIG_HEADERS section.
16062 # No need to generate them if there are no CONFIG_HEADERS.
16063 # This happens for instance with `./config.status Makefile'.
16064 if test -n "$CONFIG_HEADERS"; then
16065 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16069 # Transform confdefs.h into an awk script `defines.awk', embedded as
16070 # here-document in config.status, that substitutes the proper values into
16071 # config.h.in to produce config.h.
16073 # Create a delimiter string that does not exist in confdefs.h, to ease
16074 # handling of long lines.
16076 for ac_last_try in false false :; do
16077 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16078 if test -z "$ac_tt"; then
16080 elif $ac_last_try; then
16081 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16083 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16087 # For the awk script, D is an array of macro values keyed by name,
16088 # likewise P contains macro parameters if any. Preserve backslash
16089 # newline sequences.
16091 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16093 s/.\{148\}/&'"$ac_delim"'/g
16096 s/^[ ]*#[ ]*define[ ][ ]*/ /
16103 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16105 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16109 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16110 D["\
1"]=" \
3\\\\\\n
"\\/p
16112 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16117 s/.\{148\}/&'"$ac_delim"'/g
16122 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16125 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16127 ' <confdefs.h | sed '
16128 s/'"$ac_delim"'/"\\\
16129 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16132 for (key in D) D_is_set[key] = 1
16135 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16137 split(line, arg, " ")
16138 if (arg[1] == "#") {
16142 defundef
= substr
(arg
[1], 2)
16145 split(mac1
, mac2
, "(") #)
16147 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16148 if (D_is_set
[macro
]) {
16149 # Preserve the white space surrounding the "#".
16150 print prefix
"define", macro P
[macro
] D
[macro
]
16153 # Replace #undef with comments. This is necessary, for example,
16154 # in the case of _POSIX_SOURCE, which is predefined and required
16155 # on some systems where configure will not decide to define it.
16156 if (defundef
== "undef") {
16157 print
"/*", prefix defundef
, macro
, "*/"
16165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16166 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16167 fi # test -n "$CONFIG_HEADERS"
16170 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16175 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16177 case $ac_mode$ac_tag in
16179 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16180 :[FH
]-) ac_tag
=-:-;;
16181 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16198 -) ac_f
="$ac_tmp/stdin";;
16199 *) # Look for the file first in the build tree, then in the source tree
16200 # (if the path is not absolute). The absolute path cannot be DOS-style,
16201 # because $ac_f cannot contain `:'.
16205 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16207 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16209 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16210 as_fn_append ac_file_inputs
" '$ac_f'"
16213 # Let's still pretend it is `configure' which instantiates (i.e., don't
16214 # use $as_me), people would be surprised to read:
16215 # /* config.h. Generated by config.status. */
16216 configure_input
='Generated from '`
16217 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16219 if test x
"$ac_file" != x-
; then
16220 configure_input
="$ac_file. $configure_input"
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16222 $as_echo "$as_me: creating $ac_file" >&6;}
16224 # Neutralize special characters interpreted by sed in replacement strings.
16225 case $configure_input in #(
16226 *\
&* |
*\|
* |
*\\* )
16227 ac_sed_conf_input
=`$as_echo "$configure_input" |
16228 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16229 *) ac_sed_conf_input
=$configure_input;;
16233 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16234 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16239 ac_dir
=`$as_dirname -- "$ac_file" ||
16240 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16241 X"$ac_file" : 'X\(//\)[^/]' \| \
16242 X"$ac_file" : 'X\(//\)$' \| \
16243 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16244 $as_echo X"$ac_file" |
16245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16249 /^X\(\/\/\)[^/].*/{
16262 as_dir
="$ac_dir"; as_fn_mkdir_p
16266 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16268 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16269 # A ".." for each directory in $ac_dir_suffix.
16270 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16271 case $ac_top_builddir_sub in
16272 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16273 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16276 ac_abs_top_builddir
=$ac_pwd
16277 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16278 # for backward compatibility:
16279 ac_top_builddir
=$ac_top_build_prefix
16282 .
) # We are building in place.
16284 ac_top_srcdir
=$ac_top_builddir_sub
16285 ac_abs_top_srcdir
=$ac_pwd ;;
16286 [\\/]* | ?
:[\\/]* ) # Absolute name.
16287 ac_srcdir
=$srcdir$ac_dir_suffix;
16288 ac_top_srcdir
=$srcdir
16289 ac_abs_top_srcdir
=$srcdir ;;
16290 *) # Relative name.
16291 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16292 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16293 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16295 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16307 # If the template does not know about datarootdir, expand it.
16308 # FIXME: This hack should be removed a few years after 2.60.
16309 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16320 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16321 *datarootdir
*) ac_datarootdir_seen
=yes;;
16322 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16324 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16326 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16327 ac_datarootdir_hack='
16328 s&@datadir@&$datadir&g
16329 s&@docdir@&$docdir&g
16330 s&@infodir@&$infodir&g
16331 s&@localedir@&$localedir&g
16332 s&@mandir@&$mandir&g
16333 s&\\\${datarootdir}&$datarootdir&g' ;;
16337 # Neutralize VPATH when `$srcdir' = `.'.
16338 # Shell code in configure.ac might set extrasub.
16339 # FIXME: do we really want to maintain this feature?
16340 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16341 ac_sed_extra="$ac_vpsub
16344 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16346 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16347 s|@configure_input@|
$ac_sed_conf_input|
;t t
16348 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16349 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16350 s
&@srcdir@
&$ac_srcdir&;t t
16351 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16352 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16353 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16354 s
&@builddir@
&$ac_builddir&;t t
16355 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16356 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16357 $ac_datarootdir_hack
16359 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16360 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16362 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16363 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16364 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16365 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16367 which seems to be undefined. Please make sure it is defined" >&5
16368 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16369 which seems to be undefined. Please make sure it is defined" >&2;}
16371 rm -f "$ac_tmp/stdin"
16373 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16374 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16376 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16382 if test x"$ac_file" != x-; then
16384 $as_echo "/* $configure_input */" \
16385 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16386 } >"$ac_tmp/config.h" \
16387 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16388 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16390 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16393 mv "$ac_tmp/config.h" "$ac_file" \
16394 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16397 $as_echo "/* $configure_input */" \
16398 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16399 || as_fn_error $? "could not create -" "$LINENO" 5
16403 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16404 $as_echo "$as_me: executing $ac_file commands" >&6;}
16409 case $ac_file$ac_mode in
16410 "genmf-executable-support":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
16411 "binutils-support":C)
16412 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16414 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
16416 chmod a+x ${prefix2}-ld
16418 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
16419 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
16420 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
16421 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
16422 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
16423 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
16424 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
16426 "elf-compiler-support":C)
16427 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16429 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
16431 chmod a+x ${prefix2}-gcc
16433 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix2}-ld$aros_host_exe_suffix
16435 "host-compiler-wrapper-support":C)
16436 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16438 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
16440 chmod a+x ${prefix2}-${toolchain_c_compiler} ${prefix2}-${toolchain_cxx_compiler} ${prefix2}-${toolchain_cpp_preprocessor}
16449 ac_clean_files=$ac_clean_files_save
16451 test $ac_write_fail = 0 ||
16452 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16455 # configure is writing to config.log, and then calls config.status.
16456 # config.status does its own redirection, appending to config.log.
16457 # Unfortunately, on DOS this fails, as config.log is still kept open
16458 # by configure, so config.status won't be able to
write to it
; its
16459 # output is simply discarded. So we exec the FD to /dev/null,
16460 # effectively closing config.log, so it can be properly (re)opened and
16461 # appended to by config.status. When coming back to configure, we
16462 # need to make the FD available again.
16463 if test "$no_create" != yes; then
16465 ac_config_status_args
=
16466 test "$silent" = yes &&
16467 ac_config_status_args
="$ac_config_status_args --quiet"
16469 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16471 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16472 # would make configure fail if this is the last instruction.
16473 $ac_cs_success || as_fn_exit
1
16475 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16477 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16482 #XXX compatability...
16483 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
16485 if test -n "$aros_shared_cflags" ; then
16486 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
16487 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg