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_libdirs
658 aros_host_x11_includes
668 crosstools_cxx_target
671 aros_optimization_cflags
672 aros_target_strip_flags
679 aros_kernel_objcflags
701 aros_target_cc_includes
717 aros_target_bootloader
738 aros_amigaos_compliance
745 aros_target_toolchain
754 aros_cflags_iquote_end
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
883 program_transform_name
896 enable_option_checking
904 with_kernel_gcc_version
907 enable_target_variant
914 enable_amigaos_compliance
915 with_kernel_toolchain_prefix
916 with_elf_toolchain_prefix
919 with_aros_toolchain_install
920 with_binutils_version
934 enable_palm_debug_hack
936 enable_nesting_supervisor
948 ac_precious_vars
='build_alias
964 # Initialize some variables set by options.
966 ac_init_version
=false
967 ac_unrecognized_opts
=
969 # The variables have the same names as the options, with
970 # dashes changed to underlines.
978 program_transform_name
=s
,x
,x
,
986 # Installation directory options.
987 # These are left unexpanded so users can "make install exec_prefix=/foo"
988 # and all the variables that are supposed to be based on exec_prefix
989 # by default will actually change.
990 # Use braces instead of parens because sh, perl, etc. also accept them.
991 # (The list follows the same order as the GNU Coding Standards.)
992 bindir
='${exec_prefix}/bin'
993 sbindir
='${exec_prefix}/sbin'
994 libexecdir
='${exec_prefix}/libexec'
995 datarootdir
='${prefix}/share'
996 datadir
='${datarootdir}'
997 sysconfdir
='${prefix}/etc'
998 sharedstatedir
='${prefix}/com'
999 localstatedir
='${prefix}/var'
1000 includedir
='${prefix}/include'
1001 oldincludedir
='/usr/include'
1002 docdir
='${datarootdir}/doc/${PACKAGE}'
1003 infodir
='${datarootdir}/info'
1008 libdir
='${exec_prefix}/lib'
1009 localedir
='${datarootdir}/locale'
1010 mandir
='${datarootdir}/man'
1016 # If the previous option needs an argument, assign it.
1017 if test -n "$ac_prev"; then
1018 eval $ac_prev=\
$ac_option
1024 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1029 # Accept the important Cygnus configure options, so we can diagnose typos.
1031 case $ac_dashdash$ac_option in
1035 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1037 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1038 bindir
=$ac_optarg ;;
1040 -build |
--build |
--buil |
--bui |
--bu)
1041 ac_prev
=build_alias
;;
1042 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1043 build_alias
=$ac_optarg ;;
1045 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1046 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1047 ac_prev
=cache_file
;;
1048 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1049 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1050 cache_file
=$ac_optarg ;;
1052 --config-cache |
-C)
1053 cache_file
=config.cache
;;
1055 -datadir |
--datadir |
--datadi |
--datad)
1057 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1058 datadir
=$ac_optarg ;;
1060 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1061 |
--dataroo |
--dataro |
--datar)
1062 ac_prev
=datarootdir
;;
1063 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1064 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1065 datarootdir
=$ac_optarg ;;
1067 -disable-* |
--disable-*)
1068 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1069 # Reject names that are not valid shell variable names.
1070 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1071 as_fn_error $?
"invalid feature name: $ac_useropt"
1072 ac_useropt_orig
=$ac_useropt
1073 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1074 case $ac_user_opts in
1076 "enable_
$ac_useropt"
1078 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1079 ac_unrecognized_sep
=', ';;
1081 eval enable_
$ac_useropt=no
;;
1083 -docdir |
--docdir |
--docdi |
--doc |
--do)
1085 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1086 docdir
=$ac_optarg ;;
1088 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1090 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1091 dvidir
=$ac_optarg ;;
1093 -enable-* |
--enable-*)
1094 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1095 # Reject names that are not valid shell variable names.
1096 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1097 as_fn_error $?
"invalid feature name: $ac_useropt"
1098 ac_useropt_orig
=$ac_useropt
1099 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1100 case $ac_user_opts in
1102 "enable_
$ac_useropt"
1104 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1105 ac_unrecognized_sep
=', ';;
1107 eval enable_
$ac_useropt=\
$ac_optarg ;;
1109 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1110 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1111 |
--exec |
--exe |
--ex)
1112 ac_prev
=exec_prefix
;;
1113 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1114 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1115 |
--exec=* |
--exe=* |
--ex=*)
1116 exec_prefix
=$ac_optarg ;;
1118 -gas |
--gas |
--ga |
--g)
1119 # Obsolete; use --with-gas.
1122 -help |
--help |
--hel |
--he |
-h)
1123 ac_init_help
=long
;;
1124 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1125 ac_init_help
=recursive
;;
1126 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1127 ac_init_help
=short
;;
1129 -host |
--host |
--hos |
--ho)
1130 ac_prev
=host_alias
;;
1131 -host=* |
--host=* |
--hos=* |
--ho=*)
1132 host_alias
=$ac_optarg ;;
1134 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1136 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1138 htmldir
=$ac_optarg ;;
1140 -includedir |
--includedir |
--includedi |
--included |
--include \
1141 |
--includ |
--inclu |
--incl |
--inc)
1142 ac_prev
=includedir
;;
1143 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1144 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1145 includedir
=$ac_optarg ;;
1147 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1149 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1150 infodir
=$ac_optarg ;;
1152 -libdir |
--libdir |
--libdi |
--libd)
1154 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1155 libdir
=$ac_optarg ;;
1157 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1158 |
--libexe |
--libex |
--libe)
1159 ac_prev
=libexecdir
;;
1160 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1161 |
--libexe=* |
--libex=* |
--libe=*)
1162 libexecdir
=$ac_optarg ;;
1164 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1165 ac_prev
=localedir
;;
1166 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1167 localedir
=$ac_optarg ;;
1169 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1170 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1171 ac_prev
=localstatedir
;;
1172 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1173 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1174 localstatedir
=$ac_optarg ;;
1176 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1178 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1179 mandir
=$ac_optarg ;;
1181 -nfp |
--nfp |
--nf)
1182 # Obsolete; use --without-fp.
1185 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1186 |
--no-cr |
--no-c |
-n)
1189 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1190 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1193 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1194 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1195 |
--oldin |
--oldi |
--old |
--ol |
--o)
1196 ac_prev
=oldincludedir
;;
1197 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1198 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1199 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1200 oldincludedir
=$ac_optarg ;;
1202 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1204 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1205 prefix
=$ac_optarg ;;
1207 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1208 |
--program-pre |
--program-pr |
--program-p)
1209 ac_prev
=program_prefix
;;
1210 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1211 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1212 program_prefix
=$ac_optarg ;;
1214 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1215 |
--program-suf |
--program-su |
--program-s)
1216 ac_prev
=program_suffix
;;
1217 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1218 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1219 program_suffix
=$ac_optarg ;;
1221 -program-transform-name |
--program-transform-name \
1222 |
--program-transform-nam |
--program-transform-na \
1223 |
--program-transform-n |
--program-transform- \
1224 |
--program-transform |
--program-transfor \
1225 |
--program-transfo |
--program-transf \
1226 |
--program-trans |
--program-tran \
1227 |
--progr-tra |
--program-tr |
--program-t)
1228 ac_prev
=program_transform_name
;;
1229 -program-transform-name=* |
--program-transform-name=* \
1230 |
--program-transform-nam=* |
--program-transform-na=* \
1231 |
--program-transform-n=* |
--program-transform-=* \
1232 |
--program-transform=* |
--program-transfor=* \
1233 |
--program-transfo=* |
--program-transf=* \
1234 |
--program-trans=* |
--program-tran=* \
1235 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1236 program_transform_name
=$ac_optarg ;;
1238 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1240 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1241 pdfdir
=$ac_optarg ;;
1243 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1245 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1248 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1249 |
-silent |
--silent |
--silen |
--sile |
--sil)
1252 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1254 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1256 sbindir
=$ac_optarg ;;
1258 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1259 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1260 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1262 ac_prev
=sharedstatedir
;;
1263 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1264 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1265 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1267 sharedstatedir
=$ac_optarg ;;
1269 -site |
--site |
--sit)
1271 -site=* |
--site=* |
--sit=*)
1274 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1276 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1277 srcdir
=$ac_optarg ;;
1279 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1280 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1281 ac_prev
=sysconfdir
;;
1282 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1283 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1284 sysconfdir
=$ac_optarg ;;
1286 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1287 ac_prev
=target_alias
;;
1288 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1289 target_alias
=$ac_optarg ;;
1291 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1294 -version |
--version |
--versio |
--versi |
--vers |
-V)
1295 ac_init_version
=: ;;
1298 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1299 # Reject names that are not valid shell variable names.
1300 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1301 as_fn_error $?
"invalid package name: $ac_useropt"
1302 ac_useropt_orig
=$ac_useropt
1303 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1304 case $ac_user_opts in
1308 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1309 ac_unrecognized_sep
=', ';;
1311 eval with_
$ac_useropt=\
$ac_optarg ;;
1313 -without-* |
--without-*)
1314 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1315 # Reject names that are not valid shell variable names.
1316 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1317 as_fn_error $?
"invalid package name: $ac_useropt"
1318 ac_useropt_orig
=$ac_useropt
1319 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1320 case $ac_user_opts in
1324 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1325 ac_unrecognized_sep
=', ';;
1327 eval with_
$ac_useropt=no
;;
1330 # Obsolete; use --with-x.
1333 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1334 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1335 ac_prev
=x_includes
;;
1336 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1337 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1338 x_includes
=$ac_optarg ;;
1340 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1341 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1342 ac_prev
=x_libraries
;;
1343 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1344 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1345 x_libraries
=$ac_optarg ;;
1347 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1348 Try \`$0 --help' for more information"
1352 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1353 # Reject names that are not valid shell variable names.
1354 case $ac_envvar in #(
1355 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1356 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1358 eval $ac_envvar=\
$ac_optarg
1359 export $ac_envvar ;;
1362 # FIXME: should be removed in autoconf 3.0.
1363 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1364 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1365 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1366 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1372 if test -n "$ac_prev"; then
1373 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1374 as_fn_error $?
"missing argument to $ac_option"
1377 if test -n "$ac_unrecognized_opts"; then
1378 case $enable_option_checking in
1380 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1381 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1385 # Check all directory arguments for consistency.
1386 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1387 datadir sysconfdir sharedstatedir localstatedir includedir \
1388 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1389 libdir localedir mandir
1391 eval ac_val
=\$
$ac_var
1392 # Remove trailing slashes.
1395 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1396 eval $ac_var=\
$ac_val;;
1398 # Be sure to have absolute directory names.
1400 [\\/$
]* | ?
:[\\/]* ) continue;;
1401 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1403 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1406 # There might be people who depend on the old broken behavior: `$host'
1407 # used to hold the argument of --host etc.
1408 # FIXME: To remove some day.
1411 target
=$target_alias
1413 # FIXME: To remove some day.
1414 if test "x$host_alias" != x
; then
1415 if test "x$build_alias" = x
; then
1416 cross_compiling
=maybe
1417 elif test "x$build_alias" != "x$host_alias"; then
1423 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1425 test "$silent" = yes && exec 6>/dev
/null
1428 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1429 ac_ls_di
=`ls -di .` &&
1430 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1431 as_fn_error $?
"working directory cannot be determined"
1432 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1433 as_fn_error $?
"pwd does not report name of working directory"
1436 # Find the source files, if location was not specified.
1437 if test -z "$srcdir"; then
1438 ac_srcdir_defaulted
=yes
1439 # Try the directory containing this script, then the parent directory.
1440 ac_confdir
=`$as_dirname -- "$as_myself" ||
1441 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1442 X"$as_myself" : 'X\(//\)[^/]' \| \
1443 X"$as_myself" : 'X\(//\)$' \| \
1444 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1445 $as_echo X"$as_myself" |
1446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1464 if test ! -r "$srcdir/$ac_unique_file"; then
1468 ac_srcdir_defaulted
=no
1470 if test ! -r "$srcdir/$ac_unique_file"; then
1471 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1472 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1474 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1476 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1478 # When building in place, set srcdir=.
1479 if test "$ac_abs_confdir" = "$ac_pwd"; then
1482 # Remove unnecessary trailing slashes from srcdir.
1483 # Double slashes in file names in object file debugging info
1484 # mess up M-x gdb in Emacs.
1486 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1488 for ac_var
in $ac_precious_vars; do
1489 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1490 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1491 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1492 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1496 # Report the --help message.
1498 if test "$ac_init_help" = "long"; then
1499 # Omit some internal or obsolete options to make the list less imposing.
1500 # This message is too long to be a string in the A/UX 3.1 sh.
1502 \`configure' configures this package to adapt to many kinds of systems.
1504 Usage: $0 [OPTION]... [VAR=VALUE]...
1506 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1507 VAR=VALUE. See below for descriptions of some of the useful variables.
1509 Defaults for the options are specified in brackets.
1512 -h, --help display this help and exit
1513 --help=short display options specific to this package
1514 --help=recursive display the short help of all the included packages
1515 -V, --version display version information and exit
1516 -q, --quiet, --silent do not print \`checking ...' messages
1517 --cache-file=FILE cache test results in FILE [disabled]
1518 -C, --config-cache alias for \`--cache-file=config.cache'
1519 -n, --no-create do not create output files
1520 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1522 Installation directories:
1523 --prefix=PREFIX install architecture-independent files in PREFIX
1524 [$ac_default_prefix]
1525 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1528 By default, \`make install' will install all the files in
1529 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1530 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1531 for instance \`--prefix=\$HOME'.
1533 For better control, use the options below.
1535 Fine tuning of the installation directories:
1536 --bindir=DIR user executables [EPREFIX/bin]
1537 --sbindir=DIR system admin executables [EPREFIX/sbin]
1538 --libexecdir=DIR program executables [EPREFIX/libexec]
1539 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1540 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1541 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1542 --libdir=DIR object code libraries [EPREFIX/lib]
1543 --includedir=DIR C header files [PREFIX/include]
1544 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1545 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1546 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1547 --infodir=DIR info documentation [DATAROOTDIR/info]
1548 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1549 --mandir=DIR man documentation [DATAROOTDIR/man]
1550 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1551 --htmldir=DIR html documentation [DOCDIR]
1552 --dvidir=DIR dvi documentation [DOCDIR]
1553 --pdfdir=DIR pdf documentation [DOCDIR]
1554 --psdir=DIR ps documentation [DOCDIR]
1560 --x-includes=DIR X include files are
in DIR
1561 --x-libraries=DIR X library files are
in DIR
1564 --build=BUILD configure
for building on BUILD
[guessed
]
1565 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1569 if test -n "$ac_init_help"; then
1574 --disable-option-checking ignore unrecognized
--enable/--with options
1575 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1576 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1577 --enable-build-type=TYPE
1578 Select the build
type. Available types are
:
1579 personal
, nightly
, snapshot
, milestone
, release. Do
1580 NOT use this option unless you know what you are
1581 doing
! (default
=personal
)
1582 --enable-debug=list Enable different types of debug. Commas or
1583 whitespaces can be used to separate the items
in the
1584 list. Available types of debug are
: all
, none
,
1585 messages
, stack
, mungwall
, modules
, symbols. If no
1586 list is provided
then "all" is assumed.
1588 --enable-distcc Use distcc as a front end to the compiler
1590 --enable-ccache Use ccache as a front end to the compiler
1592 --enable-target-variant=NAME
1593 Enable a specific target variant
(default
=none
)
1594 --enable-amigaos-compliance=VERSION
1595 Enforce userspace AmigaOS compliance to a specific
1596 KickStart version
(default
=none
).
1597 --disable-crosstools Do not build cross-compiler toolchain
1598 --enable-objc Enable Objectve-C support
(default
=no
)
1599 --enable-java Enable Java support
(default
=no
)
1600 --enable-includes=dir Alternative system include directory
1601 --enable-palm-debug-hack
1602 Enable palm debug output hack
in palm native
1604 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1605 --enable-nesting-supervisor
1606 Enable nesting supervisor support
in unix
1608 --disable-mmu Disable MMU support
(default
=enabled
)
1609 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1610 --enable-x11-shm use X11 shared memory
(default
=auto
)
1611 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1612 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1613 --disable-sdltest Do not try to compile and run a
test SDL program
1614 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1617 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1618 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1619 --with-c-compiler=VERSION
1620 Use specified c compiler
for building AROS
1621 --with-cxx-compiler=VERSION
1622 Use specified c
++ compiler building AROS
1623 --with-toolchain=family Which toolchain family to crosscompile with
1625 --with-kernel-gcc-version=VERSION
1626 Use gcc-VERSION
for building bootstrap
1627 --with-optimization=FLAGS
1628 Use optimization flags FLAGS
(default
=-O2).
1629 --with-paranoia=FLAGS CC flags to
enable paranoia
1630 --with-xcode=PATH Specify XCode path
for iOS targets
1631 (default
=/Developer
).
1632 --with-sdk-version=VERSION
1633 Use iOS SDK version VERSION
(default
=4.1).
1634 --with-sdk=PATH Specify Android SDK path
1635 (default
=$default_android_sdk).
1636 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1637 --with-sdk-version=LEVEL
1638 Use Android SDK
for API LEVEL
(default
=12).
1639 --with-ndk-version=LEVEL
1640 Use Android NDK
for API LEVEL
(default
=9).
1641 --with-apk-version=(release|debug
)
1642 Which version of AROSBootstrap.apk to compile.
1643 Release version needs key
for signing
, debug version
1644 will only run
in emulator.
(default
=release
)
1645 --with-kernel-toolchain-prefix=...
1646 Specify crosscompile toolchain prefix
for kernel
1648 --with-elf-toolchain-prefix=...
1649 Specify crosscompile toolchain prefix to wrap
for
1651 --with-aros-toolchain=PREFIX
1652 Specify prebuilt AROS toolchain. Use
yes for default
1654 --with-aros-toolchain-install=DIR
1655 Where to
install or search
for cross tools binaries
1656 --with-binutils-version=VERSION
1657 Use binutils-VERSION
for building AROS
1658 --with-gcc-version=VERSION
1659 Use gcc-VERSION
for building AROS
1660 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1661 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1662 --with-float=<spec
> Specify floating point ABI
1663 (default
=$gcc_default_float_abi).
1664 --with-portssources=DIR Where to download sourcecode
for external ports
1665 --with-bootloader=NAME Use a specific bootloader
1666 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1667 --with-theme=NAME Use a specific GUI Theme
1668 --with-resolution=XRESxYRESxDEPTH
1669 Default resolution of the initial WorkbenchScreen
1670 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1671 --with-x use the X Window System
1672 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1673 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1675 Some influential environment variables
:
1676 CXX C
++ compiler
command
1677 CXXFLAGS C
++ compiler flags
1678 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1679 nonstandard directory
<lib dir
>
1680 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1681 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1682 you have headers
in a nonstandard directory
<include dir
>
1683 CC C compiler
command
1684 CFLAGS C compiler flags
1686 PYTHON the Python interpreter
1687 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1689 Use these variables to override the choices made by
`configure' or to help
1690 it to find libraries and programs with nonstandard names/locations.
1692 Report bugs to the package provider.
1697 if test "$ac_init_help" = "recursive"; then
1698 # If there are subdirs, report their specific --help.
1699 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1700 test -d "$ac_dir" ||
1701 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1706 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1708 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1709 # A ".." for each directory in $ac_dir_suffix.
1710 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1711 case $ac_top_builddir_sub in
1712 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1713 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1716 ac_abs_top_builddir=$ac_pwd
1717 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1718 # for backward compatibility:
1719 ac_top_builddir=$ac_top_build_prefix
1722 .) # We are building in place.
1724 ac_top_srcdir=$ac_top_builddir_sub
1725 ac_abs_top_srcdir=$ac_pwd ;;
1726 [\\/]* | ?:[\\/]* ) # Absolute name.
1727 ac_srcdir=$srcdir$ac_dir_suffix;
1728 ac_top_srcdir=$srcdir
1729 ac_abs_top_srcdir=$srcdir ;;
1731 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1732 ac_top_srcdir=$ac_top_build_prefix$srcdir
1733 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1735 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1737 cd "$ac_dir" || { ac_status=$?; continue; }
1738 # Check for guested configure.
1739 if test -f "$ac_srcdir/configure.gnu"; then
1741 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1742 elif test -f "$ac_srcdir/configure"; then
1744 $SHELL "$ac_srcdir/configure" --help=recursive
1746 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1748 cd "$ac_pwd" || { ac_status=$?; break; }
1752 test -n "$ac_init_help" && exit $ac_status
1753 if $ac_init_version; then
1756 generated by GNU Autoconf 2.69
1758 Copyright (C) 2012 Free Software Foundation, Inc.
1759 This configure script is free software; the Free Software Foundation
1760 gives unlimited permission to copy, distribute and modify it.
1765 ## ------------------------ ##
1766 ## Autoconf initialization. ##
1767 ## ------------------------ ##
1769 # ac_fn_cxx_try_compile LINENO
1770 # ----------------------------
1771 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1772 ac_fn_cxx_try_compile ()
1774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775 rm -f conftest.$ac_objext
1776 if { { ac_try="$ac_compile"
1778 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1779 *) ac_try_echo
=$ac_try;;
1781 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1782 $as_echo "$ac_try_echo"; } >&5
1783 (eval "$ac_compile") 2>conftest.err
1785 if test -s conftest.err
; then
1786 grep -v '^ *+' conftest.err
>conftest.er1
1787 cat conftest.er1
>&5
1788 mv -f conftest.er1 conftest.err
1790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1791 test $ac_status = 0; } && {
1792 test -z "$ac_cxx_werror_flag" ||
1793 test ! -s conftest.err
1794 } && test -s conftest.
$ac_objext; then :
1797 $as_echo "$as_me: failed program was:" >&5
1798 sed 's/^/| /' conftest.
$ac_ext >&5
1802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1803 as_fn_set_status
$ac_retval
1805 } # ac_fn_cxx_try_compile
1807 # ac_fn_c_try_compile LINENO
1808 # --------------------------
1809 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1810 ac_fn_c_try_compile
()
1812 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1813 rm -f conftest.
$ac_objext
1814 if { { ac_try
="$ac_compile"
1816 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1817 *) ac_try_echo=$ac_try;;
1819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1820 $as_echo "$ac_try_echo"; } >&5
1821 (eval "$ac_compile") 2>conftest.err
1823 if test -s conftest.err; then
1824 grep -v '^ *+' conftest.err >conftest.er1
1825 cat conftest.er1 >&5
1826 mv -f conftest.er1 conftest.err
1828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1829 test $ac_status = 0; } && {
1830 test -z "$ac_c_werror_flag" ||
1831 test ! -s conftest.err
1832 } && test -s conftest.$ac_objext; then :
1835 $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.$ac_ext >&5
1840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1841 as_fn_set_status $ac_retval
1843 } # ac_fn_c_try_compile
1845 # ac_fn_c_try_cpp LINENO
1846 # ----------------------
1847 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1851 if { { ac_try="$ac_cpp conftest.$ac_ext"
1853 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1854 *) ac_try_echo
=$ac_try;;
1856 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1857 $as_echo "$ac_try_echo"; } >&5
1858 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1860 if test -s conftest.err
; then
1861 grep -v '^ *+' conftest.err
>conftest.er1
1862 cat conftest.er1
>&5
1863 mv -f conftest.er1 conftest.err
1865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1866 test $ac_status = 0; } > conftest.i
&& {
1867 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1868 test ! -s conftest.err
1872 $as_echo "$as_me: failed program was:" >&5
1873 sed 's/^/| /' conftest.
$ac_ext >&5
1877 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1878 as_fn_set_status
$ac_retval
1882 # ac_fn_c_try_link LINENO
1883 # -----------------------
1884 # Try to link conftest.$ac_ext, and return whether this succeeded.
1887 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1888 rm -f conftest.
$ac_objext conftest
$ac_exeext
1889 if { { ac_try
="$ac_link"
1891 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1892 *) ac_try_echo=$ac_try;;
1894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1895 $as_echo "$ac_try_echo"; } >&5
1896 (eval "$ac_link") 2>conftest.err
1898 if test -s conftest.err; then
1899 grep -v '^ *+' conftest.err >conftest.er1
1900 cat conftest.er1 >&5
1901 mv -f conftest.er1 conftest.err
1903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1904 test $ac_status = 0; } && {
1905 test -z "$ac_c_werror_flag" ||
1906 test ! -s conftest.err
1907 } && test -s conftest$ac_exeext && {
1908 test "$cross_compiling" = yes ||
1909 test -x conftest$ac_exeext
1913 $as_echo "$as_me: failed program was:" >&5
1914 sed 's/^/| /' conftest.$ac_ext >&5
1918 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1919 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1920 # interfere with the next link command; also delete a directory that is
1921 # left behind by Apple's compiler. We do this before executing the actions.
1922 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1923 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1924 as_fn_set_status $ac_retval
1926 } # ac_fn_c_try_link
1928 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1929 # -------------------------------------------------------
1930 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1931 # the include files in INCLUDES and setting the cache variable VAR
1933 ac_fn_c_check_header_mongrel ()
1935 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1936 if eval \${$3+:} false; then :
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1938 $as_echo_n "checking for $2... " >&6; }
1939 if eval \${$3+:} false; then :
1940 $as_echo_n "(cached) " >&6
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1944 $as_echo "$ac_res" >&6; }
1946 # Is the header compilable?
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1948 $as_echo_n "checking $2 usability... " >&6; }
1949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1950 /* end confdefs.h. */
1954 if ac_fn_c_try_compile "$LINENO"; then :
1955 ac_header_compiler=yes
1957 ac_header_compiler=no
1959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1961 $as_echo "$ac_header_compiler" >&6; }
1963 # Is the header present?
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1965 $as_echo_n "checking $2 presence... " >&6; }
1966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1967 /* end confdefs.h. */
1970 if ac_fn_c_try_cpp "$LINENO"; then :
1971 ac_header_preproc=yes
1973 ac_header_preproc=no
1975 rm -f conftest.err conftest.i conftest.$ac_ext
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1977 $as_echo "$ac_header_preproc" >&6; }
1979 # So? What about this header?
1980 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1983 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1985 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1989 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1991 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1993 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1995 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1997 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2001 $as_echo_n "checking for $2... " >&6; }
2002 if eval \${$3+:} false; then :
2003 $as_echo_n "(cached) " >&6
2005 eval "$3=\$ac_header_compiler"
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2009 $as_echo "$ac_res" >&6; }
2011 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2013 } # ac_fn_c_check_header_mongrel
2015 # ac_fn_c_try_run LINENO
2016 # ----------------------
2017 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2018 # that executables *can* be run.
2021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022 if { { ac_try="$ac_link"
2024 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2025 *) ac_try_echo
=$ac_try;;
2027 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2028 $as_echo "$ac_try_echo"; } >&5
2029 (eval "$ac_link") 2>&5
2031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2032 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2033 { { case "(($ac_try" in
2034 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2035 *) ac_try_echo=$ac_try;;
2037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2038 $as_echo "$ac_try_echo"; } >&5
2039 (eval "$ac_try") 2>&5
2041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2042 test $ac_status = 0; }; }; then :
2045 $as_echo "$as_me: program exited with status $ac_status" >&5
2046 $as_echo "$as_me: failed program was:" >&5
2047 sed 's/^/| /' conftest.$ac_ext >&5
2049 ac_retval=$ac_status
2051 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2052 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2053 as_fn_set_status $ac_retval
2057 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2058 # -------------------------------------------------------
2059 # Tests whether HEADER exists and can be compiled using the include files in
2060 # INCLUDES, setting the cache variable VAR accordingly.
2061 ac_fn_c_check_header_compile ()
2063 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2065 $as_echo_n "checking for $2... " >&6; }
2066 if eval \${$3+:} false; then :
2067 $as_echo_n "(cached) " >&6
2069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2070 /* end confdefs.h. */
2074 if ac_fn_c_try_compile "$LINENO"; then :
2079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2083 $as_echo "$ac_res" >&6; }
2084 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2086 } # ac_fn_c_check_header_compile
2088 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2089 # ----------------------------------------------------
2090 # Tries to find if the field MEMBER exists in type AGGR, after including
2091 # INCLUDES, setting cache variable VAR accordingly.
2092 ac_fn_c_check_member ()
2094 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2096 $as_echo_n "checking for $2.$3... " >&6; }
2097 if eval \${$4+:} false; then :
2098 $as_echo_n "(cached) " >&6
2100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2101 /* end confdefs.h. */
2113 if ac_fn_c_try_compile "$LINENO"; then :
2116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2117 /* end confdefs.h. */
2123 if (sizeof ac_aggr.$3)
2129 if ac_fn_c_try_compile "$LINENO"; then :
2134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2140 $as_echo "$ac_res" >&6; }
2141 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2143 } # ac_fn_c_check_member
2145 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2146 # ---------------------------------------------
2147 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2149 ac_fn_c_check_decl ()
2151 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2152 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2153 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2155 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2156 if eval \${$3+:} false; then :
2157 $as_echo_n "(cached) " >&6
2159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2160 /* end confdefs.h. */
2165 #ifndef $as_decl_name
2167 (void) $as_decl_use;
2169 (void) $as_decl_name;
2177 if ac_fn_c_try_compile "$LINENO"; then :
2182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2186 $as_echo "$ac_res" >&6; }
2187 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2189 } # ac_fn_c_check_decl
2191 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2192 # -------------------------------------------
2193 # Tests whether TYPE exists after having included INCLUDES, setting cache
2194 # variable VAR accordingly.
2195 ac_fn_c_check_type ()
2197 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2199 $as_echo_n "checking for $2... " >&6; }
2200 if eval \${$3+:} false; then :
2201 $as_echo_n "(cached) " >&6
2204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2205 /* end confdefs.h. */
2216 if ac_fn_c_try_compile "$LINENO"; then :
2217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2218 /* end confdefs.h. */
2229 if ac_fn_c_try_compile "$LINENO"; then :
2234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2240 $as_echo "$ac_res" >&6; }
2241 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2243 } # ac_fn_c_check_type
2245 # ac_fn_c_check_func LINENO FUNC VAR
2246 # ----------------------------------
2247 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2248 ac_fn_c_check_func ()
2250 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2252 $as_echo_n "checking for $2... " >&6; }
2253 if eval \${$3+:} false; then :
2254 $as_echo_n "(cached) " >&6
2256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2257 /* end confdefs.h. */
2258 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2260 #define $2 innocuous_$2
2262 /* System header to define __stub macros and hopefully few prototypes,
2263 which can conflict with char $2 (); below.
2264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2265 <limits.h> exists even on freestanding compilers. */
2268 # include <limits.h>
2270 # include <assert.h>
2275 /* Override any GCC internal prototype to avoid an error.
2276 Use char because int might match the return type of a GCC
2277 builtin and then its argument prototype would still apply. */
2282 /* The GNU C library defines this for functions which it implements
2283 to always fail with ENOSYS. Some functions are actually named
2284 something starting with __ and the normal name is an alias. */
2285 #if defined __stub_$2 || defined __stub___$2
2297 if ac_fn_c_try_link "$LINENO"; then :
2302 rm -f core conftest.err conftest.$ac_objext \
2303 conftest$ac_exeext conftest.$ac_ext
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2307 $as_echo "$ac_res" >&6; }
2308 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2310 } # ac_fn_c_check_func
2311 cat >config.log <<_ACEOF
2312 This file contains any messages produced by compilers while
2313 running configure, to aid debugging if configure makes a mistake.
2315 It was created by $as_me, which was
2316 generated by GNU Autoconf 2.69. Invocation command line was
2328 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2329 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2330 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2331 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2332 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2334 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2335 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2337 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2338 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2339 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2340 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2341 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2342 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2343 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2351 test -z "$as_dir" && as_dir=.
2352 $as_echo "PATH: $as_dir"
2368 # Keep a trace of the command line.
2369 # Strip out --no-create and --no-recursion so they do not pile up.
2370 # Strip out --silent because we don't want to record it for future runs.
2371 # Also quote any args containing shell meta-characters.
2372 # Make two passes to allow for proper duplicate-argument suppression.
2376 ac_must_keep_next=false
2382 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2383 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2384 | -silent | --silent | --silen | --sile | --sil)
2387 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2390 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2392 as_fn_append ac_configure_args1 " '$ac_arg'"
2393 if test $ac_must_keep_next = true; then
2394 ac_must_keep_next=false # Got value, back to normal.
2397 *=* | --config-cache | -C | -disable-* | --disable-* \
2398 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2399 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2400 | -with-* | --with-* | -without-* | --without-* | --x)
2401 case "$ac_configure_args0 " in
2402 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2405 -* ) ac_must_keep_next=true ;;
2408 as_fn_append ac_configure_args " '$ac_arg'"
2413 { ac_configure_args0=; unset ac_configure_args0;}
2414 { ac_configure_args1=; unset ac_configure_args1;}
2416 # When interrupted or exit'd, cleanup temporary files, and complete
2417 # config.log. We remove comments because anyway the quotes in there
2418 # would cause problems or look ugly.
2419 # WARNING: Use '\'' to represent an apostrophe within the trap.
2420 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2421 trap 'exit_status=$?
2422 # Save into config.log some information that might help in debugging.
2426 $as_echo "## ---------------- ##
2427 ## Cache variables. ##
2428 ## ---------------- ##"
2430 # The following way of writing the cache mishandles newlines in values,
2432 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2433 eval ac_val=\$$ac_var
2437 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2438 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2441 _ | IFS | as_nl) ;; #(
2442 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2443 *) { eval $ac_var=; unset $ac_var;} ;;
2448 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2449 *${as_nl}ac_space=\ *)
2451 "s/'\''/'\''\\\\'\'''\''/g;
2452 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2455 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2462 $as_echo "## ----------------- ##
2463 ## Output variables. ##
2464 ## ----------------- ##"
2466 for ac_var in $ac_subst_vars
2468 eval ac_val=\$$ac_var
2470 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2472 $as_echo "$ac_var='\''$ac_val'\''"
2476 if test -n "$ac_subst_files"; then
2477 $as_echo "## ------------------- ##
2478 ## File substitutions. ##
2479 ## ------------------- ##"
2481 for ac_var in $ac_subst_files
2483 eval ac_val=\$$ac_var
2485 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2487 $as_echo "$ac_var='\''$ac_val'\''"
2492 if test -s confdefs.h; then
2493 $as_echo "## ----------- ##
2500 test "$ac_signal" != 0 &&
2501 $as_echo "$as_me: caught signal $ac_signal"
2502 $as_echo "$as_me: exit $exit_status"
2504 rm -f core *.core core.conftest.* &&
2505 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2508 for ac_signal in 1 2 13 15; do
2509 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2513 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2514 rm -f -r conftest* confdefs.h
2516 $as_echo "/* confdefs.h */" > confdefs.h
2518 # Predefined preprocessor variables.
2520 cat >>confdefs.h <<_ACEOF
2521 #define PACKAGE_NAME "$PACKAGE_NAME"
2524 cat >>confdefs.h <<_ACEOF
2525 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2528 cat >>confdefs.h <<_ACEOF
2529 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2532 cat >>confdefs.h <<_ACEOF
2533 #define PACKAGE_STRING "$PACKAGE_STRING"
2536 cat >>confdefs.h <<_ACEOF
2537 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2540 cat >>confdefs.h <<_ACEOF
2541 #define PACKAGE_URL "$PACKAGE_URL"
2545 # Let the site file select an alternate cache file if it wants to.
2546 # Prefer an explicitly selected file to automatically selected ones.
2549 if test -n "$CONFIG_SITE"; then
2550 # We do not want a PATH search for config.site.
2551 case $CONFIG_SITE in #((
2552 -*) ac_site_file1=./$CONFIG_SITE;;
2553 */*) ac_site_file1=$CONFIG_SITE;;
2554 *) ac_site_file1=./$CONFIG_SITE;;
2556 elif test "x$prefix" != xNONE; then
2557 ac_site_file1=$prefix/share/config.site
2558 ac_site_file2=$prefix/etc/config.site
2560 ac_site_file1=$ac_default_prefix/share/config.site
2561 ac_site_file2=$ac_default_prefix/etc/config.site
2563 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2565 test "x$ac_site_file" = xNONE && continue
2566 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2568 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2569 sed 's/^/| /' "$ac_site_file" >&5
2571 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2572 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2573 as_fn_error $? "failed to load site
script $ac_site_file
2574 See \
`config.log' for more details" "$LINENO" 5; }
2578 if test -r "$cache_file"; then
2579 # Some versions of bash will fail to source /dev/null (special files
2580 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2581 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2583 $as_echo "$as_me: loading cache $cache_file" >&6;}
2585 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2586 *) . "./$cache_file";;
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2591 $as_echo "$as_me: creating cache $cache_file" >&6;}
2595 as_fn_append ac_header_list " stdlib.h"
2596 as_fn_append ac_header_list " unistd.h"
2597 as_fn_append ac_header_list " sys/param.h"
2598 # Check that the precious variables saved in the cache have kept the same
2600 ac_cache_corrupted=false
2601 for ac_var in $ac_precious_vars; do
2602 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2603 eval ac_new_set=\$ac_env_${ac_var}_set
2604 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2605 eval ac_new_val=\$ac_env_${ac_var}_value
2606 case $ac_old_set,$ac_new_set in
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2609 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2610 ac_cache_corrupted=: ;;
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2613 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2614 ac_cache_corrupted=: ;;
2617 if test "x$ac_old_val" != "x$ac_new_val"; then
2618 # differences in whitespace do not lead to failure.
2619 ac_old_val_w=`echo x
$ac_old_val`
2620 ac_new_val_w=`echo x
$ac_new_val`
2621 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2623 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2624 ac_cache_corrupted=:
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2627 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2628 eval $ac_var=\$ac_old_val
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2631 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2633 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2636 # Pass precious variables to config.status.
2637 if test "$ac_new_set" = set; then
2639 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2640 *) ac_arg=$ac_var=$ac_new_val ;;
2642 case " $ac_configure_args " in
2643 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2644 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2648 if $ac_cache_corrupted; then
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2650 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2652 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2653 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2655 ## -------------------- ##
2656 ## Main body of script. ##
2657 ## -------------------- ##
2660 ac_cpp='$CPP $CPPFLAGS'
2661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2668 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2669 if test -f "$ac_dir/install-sh"; then
2671 ac_install_sh="$ac_aux_dir/install-sh -c"
2673 elif test -f "$ac_dir/install.sh"; then
2675 ac_install_sh="$ac_aux_dir/install.sh -c"
2677 elif test -f "$ac_dir/shtool"; then
2679 ac_install_sh="$ac_aux_dir/shtool install -c"
2683 if test -z "$ac_aux_dir"; then
2684 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2687 # These three variables are undocumented and unsupported,
2688 # and are intended to be withdrawn in a future Autoconf release.
2689 # They can cause serious problems if a builder's source tree is in a directory
2690 # whose full name contains unusual characters.
2691 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2692 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2693 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2697 # Check what host we are running on.
2698 # If a target is not suggested, we use this one.
2699 # Note that what we call a target, Autoconf calls a host.
2700 # Make sure we can run config.sub.
2701 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2702 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2705 $as_echo_n "checking build system type... " >&6; }
2706 if ${ac_cv_build+:} false; then :
2707 $as_echo_n "(cached) " >&6
2709 ac_build_alias=$build_alias
2710 test "x$ac_build_alias" = x &&
2711 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2712 test "x$ac_build_alias" = x &&
2713 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2714 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2715 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2719 $as_echo "$ac_cv_build" >&6; }
2720 case $ac_cv_build in
2722 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2725 ac_save_IFS=$IFS; IFS='-'
2731 # Remember, the first character of IFS is used to create $*,
2732 # except with old shells:
2735 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2739 $as_echo_n "checking host system type... " >&6; }
2740 if ${ac_cv_host+:} false; then :
2741 $as_echo_n "(cached) " >&6
2743 if test "x$host_alias" = x; then
2744 ac_cv_host=$ac_cv_build
2746 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2747 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2752 $as_echo "$ac_cv_host" >&6; }
2755 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2758 ac_save_IFS=$IFS; IFS='-'
2764 # Remember, the first character of IFS is used to create $*,
2765 # except with old shells:
2768 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2772 # Default versions for the gnu tools we build
2773 default_gcc_version="4.6.4"
2774 default_binutils_version="2.23.2"
2775 toolchain_needs_sysroot=no
2777 # The AROS target is slightly different to the normal GNU style
2778 # format. We don't have the middle part, and we reverse the order
2779 # of the $(CPU) and $(OS) bits.
2781 # Don't strip the version of the target yet, it might be
2782 # useful on some systems.
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2785 $as_echo_n "checking for AROS style target... " >&6; }
2787 if test "$target" = "NONE" ; then
2788 target=$host_os-$host_cpu
2790 if test "$target" = "" ; then
2791 target=$host_os-$host_cpu
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2795 $as_echo "$target" >&6; }
2797 if test "$host_os" = "mingw32" ; then
2801 # Don't know where else to put this...
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2803 $as_echo_n "checking building AROS in... " >&6; }
2804 AROS_BUILDDIR=`${PWDCMD-pwd}`
2805 AROS_BUILDDIR_UNIX=${PWD}
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2807 $as_echo "$AROS_BUILDDIR" >&6; }
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2810 $as_echo_n "checking AROS source in... " >&6; }
2811 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2814 $as_echo "$SRCDIR" >&6; }
2816 # Parse the target field into something useful.
2818 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2819 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2822 # Some debug output, to be removed again.
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2824 $as_echo_n "checking for target system (debug output)... " >&6; }
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2826 $as_echo "$target_os" >&6; }
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2828 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2830 $as_echo "$target_cpu" >&6; }
2832 aros_nominal_width=800
2833 aros_nominal_height=600
2834 aros_nominal_depth=4
2837 default_c_compilers="gcc clang cc"
2839 # Check whether --with-c-compiler was given.
2840 if test "${with_c_compiler+set}" = set; then :
2841 withval=$with_c_compiler; use_c_compiler="$withval"
2846 if test "$use_c_compiler" = ""; then
2847 host_c_compilers="$default_c_compilers"
2849 host_c_compilers="$use_c_compiler"
2852 default_cxx_compilers="g++ clang++ c++"
2854 # Check whether --with-cxx-compiler was given.
2855 if test "${with_cxx_compiler+set}" = set; then :
2856 withval=$with_cxx_compiler; use_cxx_compiler="$withval"
2861 if test "$use_cxx_compiler" = ""; then
2862 host_cxx_compilers="$default_cxx_compilers"
2864 host_cxx_compilers="$use_cxx_compiler"
2868 # The first step is to find the host binaries.
2869 # Check for a compiler.
2870 # Due to a bug in autoconf check for c++ compiler first.
2871 # For mor info see, http://osdir.com/ml/bug-autoconf-gnu/2010-05/msg00001.html.
2873 ac_cpp='$CXXCPP $CPPFLAGS'
2874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2877 if test -z "$CXX"; then
2878 if test -n "$CCC"; then
2881 if test -n "$ac_tool_prefix"; then
2882 for ac_prog in ${host_cxx_compilers}
2884 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2885 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2887 $as_echo_n "checking for $ac_word... " >&6; }
2888 if ${ac_cv_prog_CXX+:} false; then :
2889 $as_echo_n "(cached) " >&6
2891 if test -n "$CXX"; then
2892 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2898 test -z "$as_dir" && as_dir=.
2899 for ac_exec_ext in '' $ac_executable_extensions; do
2900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2901 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2912 if test -n "$CXX"; then
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2914 $as_echo "$CXX" >&6; }
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2917 $as_echo "no" >&6; }
2921 test -n "$CXX" && break
2924 if test -z "$CXX"; then
2926 for ac_prog in ${host_cxx_compilers}
2928 # Extract the first word of "$ac_prog", so it can be a program name with args.
2929 set dummy $ac_prog; ac_word=$2
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2931 $as_echo_n "checking for $ac_word... " >&6; }
2932 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2933 $as_echo_n "(cached) " >&6
2935 if test -n "$ac_ct_CXX"; then
2936 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2942 test -z "$as_dir" && as_dir=.
2943 for ac_exec_ext in '' $ac_executable_extensions; do
2944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2945 ac_cv_prog_ac_ct_CXX="$ac_prog"
2946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2955 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2956 if test -n "$ac_ct_CXX"; then
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2958 $as_echo "$ac_ct_CXX" >&6; }
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2961 $as_echo "no" >&6; }
2965 test -n "$ac_ct_CXX" && break
2968 if test "x$ac_ct_CXX" = x; then
2971 case $cross_compiling:$ac_tool_warned in
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2975 ac_tool_warned=yes ;;
2983 # Provide some information about the compiler.
2984 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2987 for ac_option in --version -v -V -qversion; do
2988 { { ac_try="$ac_compiler $ac_option >&5"
2990 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2991 *) ac_try_echo
=$ac_try;;
2993 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2994 $as_echo "$ac_try_echo"; } >&5
2995 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2997 if test -s conftest.err
; then
2999 ... rest of stderr output deleted ...
3000 10q' conftest.err
>conftest.er1
3001 cat conftest.er1
>&5
3003 rm -f conftest.er1 conftest.err
3004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3005 test $ac_status = 0; }
3008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3009 /* end confdefs.h. */
3019 ac_clean_files_save
=$ac_clean_files
3020 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3021 # Try to create an executable without -o first, disregard a.out.
3022 # It will help us diagnose broken compilers, and finding out an intuition
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3025 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3026 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3028 # The possible output files:
3029 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3032 for ac_file
in $ac_files
3035 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3036 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3041 if { { ac_try
="$ac_link_default"
3043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3044 *) ac_try_echo=$ac_try;;
3046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3047 $as_echo "$ac_try_echo"; } >&5
3048 (eval "$ac_link_default") 2>&5
3050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3051 test $ac_status = 0; }; then :
3052 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3053 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3054 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3055 # so that the user can short-circuit this test for compilers unknown to
3057 for ac_file in $ac_files ''
3059 test -f "$ac_file" || continue
3061 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3064 # We found the default executable, but exeext='' is most
3068 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3070 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3072 # We set ac_cv_exeext here because the later test for it is not
3073 # safe: cross compilers may not add the suffix if given an `-o'
3074 # argument, so we may need to know it at that point already.
3075 # Even if this section looks crufty: it has the advantage of
3082 test "$ac_cv_exeext" = no && ac_cv_exeext=
3087 if test -z "$ac_file"; then :
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3089 $as_echo "no" >&6; }
3090 $as_echo "$as_me: failed program was:" >&5
3091 sed 's
/^
/|
/' conftest.$ac_ext >&5
3093 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3094 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3095 as_fn_error 77 "C++ compiler cannot create executables
3096 See \`config.log
' for more details" "$LINENO" 5; }
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3099 $as_echo "yes" >&6; }
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3102 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3104 $as_echo "$ac_file" >&6; }
3105 ac_exeext=$ac_cv_exeext
3107 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3108 ac_clean_files=$ac_clean_files_save
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3110 $as_echo_n "checking for suffix of executables... " >&6; }
3111 if { { ac_try="$ac_link"
3113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3114 *) ac_try_echo=$ac_try;;
3116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3117 $as_echo "$ac_try_echo"; } >&5
3118 (eval "$ac_link") 2>&5
3120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3121 test $ac_status = 0; }; then :
3122 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3123 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3124 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3126 for ac_file
in conftest.exe conftest conftest.
*; do
3127 test -f "$ac_file" ||
continue
3129 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3130 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3136 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3138 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3139 See \`config.log' for more details" "$LINENO" 5; }
3141 rm -f conftest conftest
$ac_cv_exeext
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3143 $as_echo "$ac_cv_exeext" >&6; }
3145 rm -f conftest.
$ac_ext
3146 EXEEXT
=$ac_cv_exeext
3148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3149 /* end confdefs.h. */
3154 FILE *f = fopen ("conftest.out", "w");
3155 return ferror (f) || fclose (f) != 0;
3161 ac_clean_files
="$ac_clean_files conftest.out"
3162 # Check that the compiler produces executables we can run. If not, either
3163 # the compiler is broken, or we cross compile.
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3165 $as_echo_n "checking whether we are cross compiling... " >&6; }
3166 if test "$cross_compiling" != yes; then
3167 { { ac_try
="$ac_link"
3169 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3170 *) ac_try_echo=$ac_try;;
3172 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3173 $as_echo "$ac_try_echo"; } >&5
3174 (eval "$ac_link") 2>&5
3176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3177 test $ac_status = 0; }
3178 if { ac_try='./conftest$ac_cv_exeext'
3179 { { case "(($ac_try" in
3180 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3181 *) ac_try_echo
=$ac_try;;
3183 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3184 $as_echo "$ac_try_echo"; } >&5
3185 (eval "$ac_try") 2>&5
3187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3188 test $ac_status = 0; }; }; then
3191 if test "$cross_compiling" = maybe
; then
3194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3196 as_fn_error $?
"cannot run C++ compiled programs.
3197 If you meant to cross compile, use \`--host'.
3198 See \`config.log' for more details" "$LINENO" 5; }
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3203 $as_echo "$cross_compiling" >&6; }
3205 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3206 ac_clean_files
=$ac_clean_files_save
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3208 $as_echo_n "checking for suffix of object files... " >&6; }
3209 if ${ac_cv_objext+:} false
; then :
3210 $as_echo_n "(cached) " >&6
3212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3213 /* end confdefs.h. */
3223 rm -f conftest.o conftest.obj
3224 if { { ac_try
="$ac_compile"
3226 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3227 *) ac_try_echo=$ac_try;;
3229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3230 $as_echo "$ac_try_echo"; } >&5
3231 (eval "$ac_compile") 2>&5
3233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3234 test $ac_status = 0; }; then :
3235 for ac_file in conftest.o conftest.obj conftest.*; do
3236 test -f "$ac_file" || continue;
3238 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3239 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3244 $as_echo "$as_me: failed program was:" >&5
3245 sed 's/^/| /' conftest.$ac_ext >&5
3247 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3249 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3250 See \
`config.log' for more details" "$LINENO" 5; }
3252 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3255 $as_echo "$ac_cv_objext" >&6; }
3256 OBJEXT=$ac_cv_objext
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3259 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3260 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3261 $as_echo_n "(cached) " >&6
3263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3264 /* end confdefs.h. */
3277 if ac_fn_cxx_try_compile "$LINENO"; then :
3282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3283 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3287 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3288 if test $ac_compiler_gnu = yes; then
3293 ac_test_CXXFLAGS=${CXXFLAGS+set}
3294 ac_save_CXXFLAGS=$CXXFLAGS
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3296 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3297 if ${ac_cv_prog_cxx_g+:} false; then :
3298 $as_echo_n "(cached) " >&6
3300 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3301 ac_cxx_werror_flag=yes
3304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3305 /* end confdefs.h. */
3315 if ac_fn_cxx_try_compile "$LINENO"; then :
3316 ac_cv_prog_cxx_g=yes
3319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3320 /* end confdefs.h. */
3330 if ac_fn_cxx_try_compile "$LINENO"; then :
3333 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3336 /* end confdefs.h. */
3346 if ac_fn_cxx_try_compile "$LINENO"; then :
3347 ac_cv_prog_cxx_g=yes
3349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3354 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3357 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3358 if test "$ac_test_CXXFLAGS" = set; then
3359 CXXFLAGS=$ac_save_CXXFLAGS
3360 elif test $ac_cv_prog_cxx_g = yes; then
3361 if test "$GXX" = yes; then
3367 if test "$GXX" = yes; then
3374 ac_cpp='$CPP $CPPFLAGS'
3375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3380 ac_cpp='$CPP $CPPFLAGS'
3381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3384 if test -n "$ac_tool_prefix"; then
3385 for ac_prog in ${host_c_compilers}
3387 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3388 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3390 $as_echo_n "checking for $ac_word... " >&6; }
3391 if ${ac_cv_prog_CC+:} false; then :
3392 $as_echo_n "(cached) " >&6
3394 if test -n "$CC"; then
3395 ac_cv_prog_CC="$CC" # Let the user override the test.
3397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3401 test -z "$as_dir" && as_dir=.
3402 for ac_exec_ext in '' $ac_executable_extensions; do
3403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3404 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3415 if test -n "$CC"; then
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3417 $as_echo "$CC" >&6; }
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3420 $as_echo "no" >&6; }
3424 test -n "$CC" && break
3427 if test -z "$CC"; then
3429 for ac_prog in ${host_c_compilers}
3431 # Extract the first word of "$ac_prog", so it can be a program name with args.
3432 set dummy $ac_prog; ac_word=$2
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3434 $as_echo_n "checking for $ac_word... " >&6; }
3435 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3436 $as_echo_n "(cached) " >&6
3438 if test -n "$ac_ct_CC"; then
3439 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3445 test -z "$as_dir" && as_dir=.
3446 for ac_exec_ext in '' $ac_executable_extensions; do
3447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3448 ac_cv_prog_ac_ct_CC="$ac_prog"
3449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3458 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3459 if test -n "$ac_ct_CC"; then
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3461 $as_echo "$ac_ct_CC" >&6; }
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3464 $as_echo "no" >&6; }
3468 test -n "$ac_ct_CC" && break
3471 if test "x$ac_ct_CC" = x; then
3474 case $cross_compiling:$ac_tool_warned in
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3477 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3478 ac_tool_warned=yes ;;
3485 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3487 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3488 See \
`config.log' for more details" "$LINENO" 5; }
3490 # Provide some information about the compiler.
3491 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3494 for ac_option in --version -v -V -qversion; do
3495 { { ac_try="$ac_compiler $ac_option >&5"
3497 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3498 *) ac_try_echo
=$ac_try;;
3500 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3501 $as_echo "$ac_try_echo"; } >&5
3502 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3504 if test -s conftest.err
; then
3506 ... rest of stderr output deleted ...
3507 10q' conftest.err
>conftest.er1
3508 cat conftest.er1
>&5
3510 rm -f conftest.er1 conftest.err
3511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3512 test $ac_status = 0; }
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3516 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3517 if ${ac_cv_c_compiler_gnu+:} false
; then :
3518 $as_echo_n "(cached) " >&6
3520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3521 /* end confdefs.h. */
3534 if ac_fn_c_try_compile
"$LINENO"; then :
3539 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3540 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3544 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3545 if test $ac_compiler_gnu = yes; then
3550 ac_test_CFLAGS
=${CFLAGS+set}
3551 ac_save_CFLAGS
=$CFLAGS
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3553 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3554 if ${ac_cv_prog_cc_g+:} false
; then :
3555 $as_echo_n "(cached) " >&6
3557 ac_save_c_werror_flag
=$ac_c_werror_flag
3558 ac_c_werror_flag
=yes
3561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3562 /* end confdefs.h. */
3572 if ac_fn_c_try_compile
"$LINENO"; then :
3576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3577 /* end confdefs.h. */
3587 if ac_fn_c_try_compile
"$LINENO"; then :
3590 ac_c_werror_flag
=$ac_save_c_werror_flag
3592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3593 /* end confdefs.h. */
3603 if ac_fn_c_try_compile
"$LINENO"; then :
3606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3608 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3611 ac_c_werror_flag
=$ac_save_c_werror_flag
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3614 $as_echo "$ac_cv_prog_cc_g" >&6; }
3615 if test "$ac_test_CFLAGS" = set; then
3616 CFLAGS
=$ac_save_CFLAGS
3617 elif test $ac_cv_prog_cc_g = yes; then
3618 if test "$GCC" = yes; then
3624 if test "$GCC" = yes; then
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3631 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3632 if ${ac_cv_prog_cc_c89+:} false
; then :
3633 $as_echo_n "(cached) " >&6
3635 ac_cv_prog_cc_c89
=no
3637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3638 /* end confdefs.h. */
3642 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3643 struct buf { int x; };
3644 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3645 static char *e (p, i)
3651 static char *f (char * (*g) (char **, int), char **p, ...)
3656 s = g (p, va_arg (v,int));
3661 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3662 function prototypes and stuff, but not '\xHH' hex character constants.
3663 These don't provoke an error unfortunately, instead are silently treated
3664 as 'x'. The following induces an error, until -std is added to get
3665 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3666 array size at least. It's necessary to write '\x00'==0 to get something
3667 that's true only with -std. */
3668 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3670 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3671 inside strings and character constants. */
3673 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3675 int test (int i, double x);
3676 struct s1 {int (*f) (int a);};
3677 struct s2 {int (*f) (double a);};
3678 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3684 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3689 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3690 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3692 CC
="$ac_save_CC $ac_arg"
3693 if ac_fn_c_try_compile
"$LINENO"; then :
3694 ac_cv_prog_cc_c89
=$ac_arg
3696 rm -f core conftest.err conftest.
$ac_objext
3697 test "x$ac_cv_prog_cc_c89" != "xno" && break
3699 rm -f conftest.
$ac_ext
3704 case "x$ac_cv_prog_cc_c89" in
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3707 $as_echo "none needed" >&6; } ;;
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3710 $as_echo "unsupported" >&6; } ;;
3712 CC
="$CC $ac_cv_prog_cc_c89"
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3714 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3716 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3721 ac_cpp
='$CPP $CPPFLAGS'
3722 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3723 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3724 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3726 aros_host_def_cc
="$CC"
3727 case $ac_cv_prog_cc_stdc in #(
3729 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3732 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3733 if ${ac_cv_prog_cc_c99+:} false
; then :
3734 $as_echo_n "(cached) " >&6
3736 ac_cv_prog_cc_c99
=no
3738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3739 /* end confdefs.h. */
3741 #include <stdbool.h>
3746 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3747 #define debug(...) fprintf (stderr, __VA_ARGS__)
3748 #define showlist(...) puts (#__VA_ARGS__)
3749 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3751 test_varargs_macros (void)
3756 debug ("X = %d\n", x);
3757 showlist (The first, second, and third items.);
3758 report (x>y, "x is %d but y is %d", x, y);
3761 // Check long long types.
3762 #define BIG64 18446744073709551615ull
3763 #define BIG32 4294967295ul
3764 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3766 your preprocessor is broken;
3770 your preprocessor is broken;
3772 static long long int bignum = -9223372036854775807LL;
3773 static unsigned long long int ubignum = BIG64;
3775 struct incomplete_array
3783 const wchar_t *name;
3787 typedef const char *ccp;
3790 test_restrict (ccp restrict text)
3792 // See if C++-style comments work.
3793 // Iterate through items via the restricted pointer.
3794 // Also check for declarations in for loops.
3795 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3800 // Check varargs and va_copy.
3802 test_varargs (const char *format, ...)
3805 va_start (args, format);
3807 va_copy (args_copy, args);
3818 str = va_arg (args_copy, const char *);
3821 number = va_arg (args_copy, int);
3824 fnumber = va_arg (args_copy, double);
3839 _Bool success = false;
3842 if (test_restrict ("String literal") == 0)
3844 char *restrict newvar = "Another string";
3847 test_varargs ("s, d' f .", "string", 65, 34.234);
3848 test_varargs_macros ();
3850 // Check flexible array members.
3851 struct incomplete_array *ia =
3852 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3854 for (int i = 0; i < ia->datasize; ++i)
3855 ia->data[i] = i * 1.234;
3857 // Check named initializers.
3858 struct named_init ni = {
3860 .name = L"Test wide string",
3861 .average = 543.34343,
3866 int dynamic_array[ni.number];
3867 dynamic_array[ni.number - 1] = 543;
3869 // work around unused variable warnings
3870 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3871 || dynamic_array[ni.number - 1] != 543);
3877 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
3879 CC
="$ac_save_CC $ac_arg"
3880 if ac_fn_c_try_compile
"$LINENO"; then :
3881 ac_cv_prog_cc_c99
=$ac_arg
3883 rm -f core conftest.err conftest.
$ac_objext
3884 test "x$ac_cv_prog_cc_c99" != "xno" && break
3886 rm -f conftest.
$ac_ext
3891 case "x$ac_cv_prog_cc_c99" in
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3894 $as_echo "none needed" >&6; } ;;
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3897 $as_echo "unsupported" >&6; } ;;
3899 CC
="$CC $ac_cv_prog_cc_c99"
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3901 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3903 if test "x$ac_cv_prog_cc_c99" != xno
; then :
3904 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3907 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3908 if ${ac_cv_prog_cc_c89+:} false
; then :
3909 $as_echo_n "(cached) " >&6
3911 ac_cv_prog_cc_c89
=no
3913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3914 /* end confdefs.h. */
3918 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3919 struct buf { int x; };
3920 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3921 static char *e (p, i)
3927 static char *f (char * (*g) (char **, int), char **p, ...)
3932 s = g (p, va_arg (v,int));
3937 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3938 function prototypes and stuff, but not '\xHH' hex character constants.
3939 These don't provoke an error unfortunately, instead are silently treated
3940 as 'x'. The following induces an error, until -std is added to get
3941 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3942 array size at least. It's necessary to write '\x00'==0 to get something
3943 that's true only with -std. */
3944 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3946 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3947 inside strings and character constants. */
3949 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3951 int test (int i, double x);
3952 struct s1 {int (*f) (int a);};
3953 struct s2 {int (*f) (double a);};
3954 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3960 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3965 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3966 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3968 CC
="$ac_save_CC $ac_arg"
3969 if ac_fn_c_try_compile
"$LINENO"; then :
3970 ac_cv_prog_cc_c89
=$ac_arg
3972 rm -f core conftest.err conftest.
$ac_objext
3973 test "x$ac_cv_prog_cc_c89" != "xno" && break
3975 rm -f conftest.
$ac_ext
3980 case "x$ac_cv_prog_cc_c89" in
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3983 $as_echo "none needed" >&6; } ;;
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3986 $as_echo "unsupported" >&6; } ;;
3988 CC
="$CC $ac_cv_prog_cc_c89"
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3990 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3992 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3993 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
3995 ac_cv_prog_cc_stdc
=no
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4002 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4003 if ${ac_cv_prog_cc_stdc+:} false
; then :
4004 $as_echo_n "(cached) " >&6
4007 case $ac_cv_prog_cc_stdc in #(
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4010 $as_echo "unsupported" >&6; } ;; #(
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4013 $as_echo "none needed" >&6; } ;; #(
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4016 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4020 ac_cpp
='$CPP $CPPFLAGS'
4021 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4022 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4023 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4025 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4026 # On Suns, sometimes $CPP names a directory.
4027 if test -n "$CPP" && test -d "$CPP"; then
4030 if test -z "$CPP"; then
4031 if ${ac_cv_prog_CPP+:} false
; then :
4032 $as_echo_n "(cached) " >&6
4034 # Double quotes because CPP needs to be expanded
4035 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4038 for ac_c_preproc_warn_flag
in '' yes
4040 # Use a header file that comes with gcc, so configuring glibc
4041 # with a fresh cross-compiler works.
4042 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4043 # <limits.h> exists even on freestanding compilers.
4044 # On the NeXT, cc -E runs the code through the compiler's parser,
4045 # not just through cpp. "Syntax error" is here to catch this case.
4046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4047 /* end confdefs.h. */
4049 # include <limits.h>
4051 # include <assert.h>
4055 if ac_fn_c_try_cpp
"$LINENO"; then :
4058 # Broken: fails on valid input.
4061 rm -f conftest.err conftest.i conftest.
$ac_ext
4063 # OK, works on sane cases. Now check whether nonexistent headers
4064 # can be detected and how.
4065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4066 /* end confdefs.h. */
4067 #include <ac_nonexistent.h>
4069 if ac_fn_c_try_cpp
"$LINENO"; then :
4070 # Broken: success on invalid input.
4073 # Passes both tests.
4077 rm -f conftest.err conftest.i conftest.
$ac_ext
4080 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4081 rm -f conftest.i conftest.err conftest.
$ac_ext
4082 if $ac_preproc_ok; then :
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4095 $as_echo "$CPP" >&6; }
4097 for ac_c_preproc_warn_flag
in '' yes
4099 # Use a header file that comes with gcc, so configuring glibc
4100 # with a fresh cross-compiler works.
4101 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4102 # <limits.h> exists even on freestanding compilers.
4103 # On the NeXT, cc -E runs the code through the compiler's parser,
4104 # not just through cpp. "Syntax error" is here to catch this case.
4105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4106 /* end confdefs.h. */
4108 # include <limits.h>
4110 # include <assert.h>
4114 if ac_fn_c_try_cpp
"$LINENO"; then :
4117 # Broken: fails on valid input.
4120 rm -f conftest.err conftest.i conftest.
$ac_ext
4122 # OK, works on sane cases. Now check whether nonexistent headers
4123 # can be detected and how.
4124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4125 /* end confdefs.h. */
4126 #include <ac_nonexistent.h>
4128 if ac_fn_c_try_cpp
"$LINENO"; then :
4129 # Broken: success on invalid input.
4132 # Passes both tests.
4136 rm -f conftest.err conftest.i conftest.
$ac_ext
4139 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4140 rm -f conftest.i conftest.err conftest.
$ac_ext
4141 if $ac_preproc_ok; then :
4144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4146 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4147 See \`config.log' for more details" "$LINENO" 5; }
4151 ac_cpp
='$CPP $CPPFLAGS'
4152 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4153 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4154 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4157 # Check for a compatible awk
4158 for ac_prog
in gawk nawk
4160 # Extract the first word of "$ac_prog", so it can be a program name with args.
4161 set dummy
$ac_prog; ac_word
=$2
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4163 $as_echo_n "checking for $ac_word... " >&6; }
4164 if ${ac_cv_prog_AWK+:} false
; then :
4165 $as_echo_n "(cached) " >&6
4167 if test -n "$AWK"; then
4168 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4174 test -z "$as_dir" && as_dir
=.
4175 for ac_exec_ext
in '' $ac_executable_extensions; do
4176 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4177 ac_cv_prog_AWK
="$ac_prog"
4178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4188 if test -n "$AWK"; then
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4190 $as_echo "$AWK" >&6; }
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4193 $as_echo "no" >&6; }
4197 test -n "$AWK" && break
4200 if test "$AWK" = ""; then
4201 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4203 # Extract the first word of "mmake", so it can be a program name with args.
4204 set dummy mmake
; ac_word
=$2
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4206 $as_echo_n "checking for $ac_word... " >&6; }
4207 if ${ac_cv_prog_MMAKE+:} false
; then :
4208 $as_echo_n "(cached) " >&6
4210 if test -n "$MMAKE"; then
4211 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4217 test -z "$as_dir" && as_dir
=.
4218 for ac_exec_ext
in '' $ac_executable_extensions; do
4219 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4220 ac_cv_prog_MMAKE
="mmake "
4221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4230 MMAKE
=$ac_cv_prog_MMAKE
4231 if test -n "$MMAKE"; then
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4233 $as_echo "$MMAKE" >&6; }
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4236 $as_echo "no" >&6; }
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which toolchain family to use ..." >&5
4242 $as_echo_n "checking Which toolchain family to use ...... " >&6; }
4244 # Check whether --with-toolchain was given.
4245 if test "${with_toolchain+set}" = set; then :
4246 withval
=$with_toolchain; aros_toolchain
="$withval"
4248 aros_toolchain
="gnu"
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_toolchain" >&5
4252 $as_echo "$aros_toolchain" >&6; }
4254 case "$aros_toolchain" in
4256 toolchain_needs_sysroot
=yes
4257 toolchain_c_compiler
="clang"
4258 toolchain_cxx_compiler
="clang++"
4259 toolchain_cpp_preprocessor
="clang"
4262 toolchain_c_compiler
="gcc"
4263 toolchain_cxx_compiler
="g++"
4264 toolchain_cpp_preprocessor
="cpp"
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown toolchain family!\"" >&5
4268 $as_echo "$as_me: WARNING: \"Unknown toolchain family!\"" >&2;}
4269 toolchain_c_compiler
="cc"
4270 toolchain_cxx_compiler
="c++"
4271 toolchain_cpp_preprocessor
="cpp"
4276 # Perform some default variable assignments. Note all of these will be
4277 # Regenerated from the script, so there is no need to cache them.
4279 aros_build_host
=$host
4280 aros_host_cpp
="$CPP"
4282 aros_host_cxx
="$CXX"
4283 if test "$GCC" = "yes"; then
4284 aros_gcc_ld
=`$CC -print-prog-name=ld`
4285 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4286 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4288 $as_echo_n "checking for $ac_word... " >&6; }
4289 if ${ac_cv_path_aros_host_ld+:} false
; then :
4290 $as_echo_n "(cached) " >&6
4292 case $aros_host_ld in
4294 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4298 for as_dir
in `dirname $aros_gcc_ld`
4301 test -z "$as_dir" && as_dir
=.
4302 for ac_exec_ext
in '' $ac_executable_extensions; do
4303 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4304 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4315 aros_host_ld
=$ac_cv_path_aros_host_ld
4316 if test -n "$aros_host_ld"; then
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4318 $as_echo "$aros_host_ld" >&6; }
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4321 $as_echo "no" >&6; }
4326 if test "$aros_host_ld" = ""; then
4327 # Extract the first word of "ld", so it can be a program name with args.
4328 set dummy ld
; ac_word
=$2
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4330 $as_echo_n "checking for $ac_word... " >&6; }
4331 if ${ac_cv_path_aros_host_ld+:} false
; then :
4332 $as_echo_n "(cached) " >&6
4334 case $aros_host_ld in
4336 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4343 test -z "$as_dir" && as_dir
=.
4344 for ac_exec_ext
in '' $ac_executable_extensions; do
4345 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4346 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4357 aros_host_ld
=$ac_cv_path_aros_host_ld
4358 if test -n "$aros_host_ld"; then
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4360 $as_echo "$aros_host_ld" >&6; }
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4363 $as_echo "no" >&6; }
4368 if test "$aros_host_ld" = ""; then
4369 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4371 aros_host_make
="make"
4372 aros_host_cflags
="$CFLAGS"
4373 aros_host_cxxflags
="$CXXFLAGS"
4374 aros_host_ldflags
="$LDFLAGS"
4375 aros_host_debug
="-g -O0"
4376 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4377 aros_host_mkargs
="--no-print-directory"
4378 aros_host_exe_suffix
="$EXEEXT"
4379 aros_host_lib_suffix
=""
4381 # Ignore all compliance, AROS ROMs = 0
4382 # KickStart v1.0 = 30
4383 # KickStart v1.3 = 34
4384 # KickStart v2.0 = 37
4385 # KickStart v3.0 = 39
4386 # KickStart v3.1 = 40
4388 aros_amigaos_compliance
=0
4390 for ac_prog
in aclocal aclocal19 aclocal-1.9
4392 # Extract the first word of "$ac_prog", so it can be a program name with args.
4393 set dummy
$ac_prog; ac_word
=$2
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4395 $as_echo_n "checking for $ac_word... " >&6; }
4396 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4397 $as_echo_n "(cached) " >&6
4399 if test -n "$aros_host_aclocal"; then
4400 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4406 test -z "$as_dir" && as_dir
=.
4407 for ac_exec_ext
in '' $ac_executable_extensions; do
4408 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4409 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4419 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4420 if test -n "$aros_host_aclocal"; then
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4422 $as_echo "$aros_host_aclocal" >&6; }
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4425 $as_echo "no" >&6; }
4429 test -n "$aros_host_aclocal" && break
4432 for ac_prog
in autoconf autoconf259 autoconf253
4434 # Extract the first word of "$ac_prog", so it can be a program name with args.
4435 set dummy
$ac_prog; ac_word
=$2
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4437 $as_echo_n "checking for $ac_word... " >&6; }
4438 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4439 $as_echo_n "(cached) " >&6
4441 if test -n "$aros_host_autoconf"; then
4442 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4448 test -z "$as_dir" && as_dir
=.
4449 for ac_exec_ext
in '' $ac_executable_extensions; do
4450 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4451 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4461 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4462 if test -n "$aros_host_autoconf"; then
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4464 $as_echo "$aros_host_autoconf" >&6; }
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4467 $as_echo "no" >&6; }
4471 test -n "$aros_host_autoconf" && break
4474 for ac_prog
in autoheader autoheader259 autoheader253
4476 # Extract the first word of "$ac_prog", so it can be a program name with args.
4477 set dummy
$ac_prog; ac_word
=$2
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4479 $as_echo_n "checking for $ac_word... " >&6; }
4480 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4481 $as_echo_n "(cached) " >&6
4483 if test -n "$aros_host_autoheader"; then
4484 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4490 test -z "$as_dir" && as_dir
=.
4491 for ac_exec_ext
in '' $ac_executable_extensions; do
4492 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4493 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4503 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4504 if test -n "$aros_host_autoheader"; then
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4506 $as_echo "$aros_host_autoheader" >&6; }
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4509 $as_echo "no" >&6; }
4513 test -n "$aros_host_autoheader" && break
4516 for ac_prog
in automake automake19 automake-1.9
4518 # Extract the first word of "$ac_prog", so it can be a program name with args.
4519 set dummy
$ac_prog; ac_word
=$2
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4521 $as_echo_n "checking for $ac_word... " >&6; }
4522 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4523 $as_echo_n "(cached) " >&6
4525 if test -n "$aros_host_automake"; then
4526 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4532 test -z "$as_dir" && as_dir
=.
4533 for ac_exec_ext
in '' $ac_executable_extensions; do
4534 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4535 ac_cv_prog_aros_host_automake
="$ac_prog"
4536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4545 aros_host_automake
=$ac_cv_prog_aros_host_automake
4546 if test -n "$aros_host_automake"; then
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4548 $as_echo "$aros_host_automake" >&6; }
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4551 $as_echo "no" >&6; }
4555 test -n "$aros_host_automake" && break
4559 if test "$aros_host_aclocal" = ""; then
4560 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4562 if test "$aros_host_automake" = ""; then
4563 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4566 case "$aros_host_cc" in
4568 aros_host_cc_pipe
=""
4571 aros_host_cc_pipe
="-pipe"
4574 aros_host_cc_pipe
=""
4577 aros_host_cc_pipe
=""
4581 aros_kernel_cc_includes
=""
4582 aros_target_cc_includes
=""
4585 # ----------------------------------------------------------------------------------------
4586 # Host-specific defaults
4588 # This is the main host configuration section. It is where the host
4589 # can change the values of any variables it needs to change. We do
4590 # not look at anything that compiles to the target yet, we'll get
4595 aros_host_arch
="aros"
4596 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4599 aros_host_cpu
="i386"
4602 aros_host_cpu
="x86_64"
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4609 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4610 aros_host_cpu
="$host_cpu"
4616 aros_host_arch
="linux"
4617 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4618 android_build_os
="linux-x86"
4619 android_tool
="android"
4620 default_android_sdk
="/opt/android-sdk-linux_x86"
4623 aros_host_cpu
="i386"
4626 aros_host_cpu
="x86_64"
4629 aros_host_cpu
="m68k"
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4639 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4640 aros_host_cpu
="$host_cpu"
4646 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe -I/usr/local/include"
4647 aros_host_make
="gmake"
4648 aros_host_arch
="freebsd"
4649 aros_host_cpu
="i386"
4651 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4655 aros_object_format
="elf_i386"
4659 aros_object_format
="elf_i386_fbsd"
4666 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4667 aros_host_arch
="darwin"
4669 if [ -z ${SED+x} ]; then SED
="gsed"; fi
4670 android_build_os
="darwin-x86"
4671 android_tool
="android"
4672 default_android_sdk
="/android-sdk-mac_x86"
4675 aros_host_cpu
="i386"
4678 aros_host_cpu
="x86_64"
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4685 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4686 aros_host_cpu
="$host_cpu"
4690 aros_host_ldflags
="$aros_host_ldflags -liconv"
4695 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4696 aros_host_make
="gmake"
4697 aros_host_arch
="dragonfly"
4700 aros_host_cpu
="i386"
4703 aros_host_cpu
="x86_64"
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4707 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4708 aros_host_cpu
="$host_cpu"
4714 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4715 aros_host_make
="gmake"
4716 aros_host_arch
="netbsd"
4719 aros_host_cpu
="i386"
4722 aros_host_cpu
="m68k"
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4726 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4727 aros_host_cpu
="$host_cpu"
4730 aros_host_lib_suffix
=".0.0"
4734 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4735 aros_host_make
="gmake"
4736 aros_host_arch
="openbsd"
4739 aros_host_cpu
="i386"
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4743 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4744 aros_host_cpu
="$host_cpu"
4750 aros_host_arch
="solaris"
4751 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4754 aros_host_cpu
="i386"
4757 aros_host_cpu
="sparc"
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4761 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4762 aros_host_cpu
="$host_cpu"
4768 aros_host_arch
="morphos"
4774 aros_host_arch
="amiga"
4780 TOUCH
="/gg/bin/touch"
4783 aros_host_cpu
="m68k"
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4790 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4791 aros_host_cpu
="$host_cpu"
4797 aros_host_arch
="cygwin"
4798 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4800 android_build_os
="windows"
4801 android_tool
="android.bat"
4802 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4806 aros_host_cpu
="i386"
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4810 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4811 aros_host_cpu
="$host_cpu"
4817 aros_host_arch
="mingw32"
4818 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4820 android_build_os
="windows"
4821 android_tool
="android.bat"
4822 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4828 $as_echo_n "checking for Windows native gcc target... " >&6; }
4829 host_cpu
=`gcc -dumpmachine`
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4831 $as_echo "$host_cpu" >&6; }
4838 aros_host_cpu
="i386"
4842 aros_host_cpu
="i386"
4846 aros_host_cpu
="x86_64"
4847 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4852 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4853 aros_host_cpu
="$host_cpu"
4858 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4862 # Extract the first word of "ar", so it can be a program name with args.
4863 set dummy
ar; ac_word
=$2
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4865 $as_echo_n "checking for $ac_word... " >&6; }
4866 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4867 $as_echo_n "(cached) " >&6
4869 if test -n "$aros_host_ar"; then
4870 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4876 test -z "$as_dir" && as_dir
=.
4877 for ac_exec_ext
in '' $ac_executable_extensions; do
4878 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4879 ac_cv_prog_aros_host_ar
="ar cr"
4880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4889 aros_host_ar
=$ac_cv_prog_aros_host_ar
4890 if test -n "$aros_host_ar"; then
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4892 $as_echo "$aros_host_ar" >&6; }
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4895 $as_echo "no" >&6; }
4899 if test "$aros_host_ar" = ""; then
4900 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4902 # Extract the first word of "ranlib", so it can be a program name with args.
4903 set dummy ranlib
; ac_word
=$2
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4905 $as_echo_n "checking for $ac_word... " >&6; }
4906 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4907 $as_echo_n "(cached) " >&6
4909 if test -n "$aros_host_ranlib"; then
4910 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4916 test -z "$as_dir" && as_dir
=.
4917 for ac_exec_ext
in '' $ac_executable_extensions; do
4918 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4919 ac_cv_prog_aros_host_ranlib
="ranlib "
4920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4929 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4930 if test -n "$aros_host_ranlib"; then
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4932 $as_echo "$aros_host_ranlib" >&6; }
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4935 $as_echo "no" >&6; }
4939 if test "$aros_host_ranlib" = ""; then
4940 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4942 # Extract the first word of "strip", so it can be a program name with args.
4943 set dummy strip
; ac_word
=$2
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4945 $as_echo_n "checking for $ac_word... " >&6; }
4946 if ${ac_cv_prog_aros_host_strip+:} false
; then :
4947 $as_echo_n "(cached) " >&6
4949 if test -n "$aros_host_strip"; then
4950 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4956 test -z "$as_dir" && as_dir
=.
4957 for ac_exec_ext
in '' $ac_executable_extensions; do
4958 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4959 ac_cv_prog_aros_host_strip
="strip "
4960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4969 aros_host_strip
=$ac_cv_prog_aros_host_strip
4970 if test -n "$aros_host_strip"; then
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
4972 $as_echo "$aros_host_strip" >&6; }
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4975 $as_echo "no" >&6; }
4979 if test "$aros_host_strip" = ""; then
4980 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
4983 # Extract the first word of "rm", so it can be a program name with args.
4984 set dummy
rm; ac_word
=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if ${ac_cv_prog_RM+:} false
; then :
4988 $as_echo_n "(cached) " >&6
4990 if test -n "$RM"; then
4991 ac_cv_prog_RM
="$RM" # Let the user override the test.
4993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4997 test -z "$as_dir" && as_dir
=.
4998 for ac_exec_ext
in '' $ac_executable_extensions; do
4999 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5000 ac_cv_prog_RM
="rm -rf"
5001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5011 if test -n "$RM"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5013 $as_echo "$RM" >&6; }
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5020 if test "$RM" = ""; then
5021 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5023 # Extract the first word of "cp", so it can be a program name with args.
5024 set dummy
cp; ac_word
=$2
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5026 $as_echo_n "checking for $ac_word... " >&6; }
5027 if ${ac_cv_prog_CP+:} false
; then :
5028 $as_echo_n "(cached) " >&6
5030 if test -n "$CP"; then
5031 ac_cv_prog_CP
="$CP" # Let the user override the test.
5033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5037 test -z "$as_dir" && as_dir
=.
5038 for ac_exec_ext
in '' $ac_executable_extensions; do
5039 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5051 if test -n "$CP"; then
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5053 $as_echo "$CP" >&6; }
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5056 $as_echo "no" >&6; }
5060 if test "$CP" = ""; then
5061 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5063 # Extract the first word of "mv", so it can be a program name with args.
5064 set dummy
mv; ac_word
=$2
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5066 $as_echo_n "checking for $ac_word... " >&6; }
5067 if ${ac_cv_prog_MV+:} false
; then :
5068 $as_echo_n "(cached) " >&6
5070 if test -n "$MV"; then
5071 ac_cv_prog_MV
="$MV" # Let the user override the test.
5073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5077 test -z "$as_dir" && as_dir
=.
5078 for ac_exec_ext
in '' $ac_executable_extensions; do
5079 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5091 if test -n "$MV"; then
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5093 $as_echo "$MV" >&6; }
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5096 $as_echo "no" >&6; }
5100 if test "$MV" = ""; then
5101 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5103 # Extract the first word of "echo", so it can be a program name with args.
5104 set dummy
echo; ac_word
=$2
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5106 $as_echo_n "checking for $ac_word... " >&6; }
5107 if ${ac_cv_prog_ECHO+:} false
; then :
5108 $as_echo_n "(cached) " >&6
5110 if test -n "$ECHO"; then
5111 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5117 test -z "$as_dir" && as_dir
=.
5118 for ac_exec_ext
in '' $ac_executable_extensions; do
5119 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5120 ac_cv_prog_ECHO
="echo "
5121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5130 ECHO
=$ac_cv_prog_ECHO
5131 if test -n "$ECHO"; then
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5133 $as_echo "$ECHO" >&6; }
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5136 $as_echo "no" >&6; }
5140 if test "$ECHO" = ""; then
5141 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5143 # Extract the first word of "mkdir", so it can be a program name with args.
5144 set dummy mkdir
; ac_word
=$2
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5146 $as_echo_n "checking for $ac_word... " >&6; }
5147 if ${ac_cv_prog_MKDIR+:} false
; then :
5148 $as_echo_n "(cached) " >&6
5150 if test -n "$MKDIR"; then
5151 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5157 test -z "$as_dir" && as_dir
=.
5158 for ac_exec_ext
in '' $ac_executable_extensions; do
5159 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5160 ac_cv_prog_MKDIR
="mkdir -p"
5161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5170 MKDIR
=$ac_cv_prog_MKDIR
5171 if test -n "$MKDIR"; then
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5173 $as_echo "$MKDIR" >&6; }
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176 $as_echo "no" >&6; }
5180 if test "$MKDIR" = ""; then
5181 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5183 # Extract the first word of "touch", so it can be a program name with args.
5184 set dummy
touch; ac_word
=$2
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5186 $as_echo_n "checking for $ac_word... " >&6; }
5187 if ${ac_cv_prog_TOUCH+:} false
; then :
5188 $as_echo_n "(cached) " >&6
5190 if test -n "$TOUCH"; then
5191 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5197 test -z "$as_dir" && as_dir
=.
5198 for ac_exec_ext
in '' $ac_executable_extensions; do
5199 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5200 ac_cv_prog_TOUCH
="touch "
5201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5210 TOUCH
=$ac_cv_prog_TOUCH
5211 if test -n "$TOUCH"; then
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5213 $as_echo "$TOUCH" >&6; }
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5216 $as_echo "no" >&6; }
5220 if test "$TOUCH" = ""; then
5221 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5223 # Extract the first word of "sort", so it can be a program name with args.
5224 set dummy
sort; ac_word
=$2
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5226 $as_echo_n "checking for $ac_word... " >&6; }
5227 if ${ac_cv_prog_SORT+:} false
; then :
5228 $as_echo_n "(cached) " >&6
5230 if test -n "$SORT"; then
5231 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5237 test -z "$as_dir" && as_dir
=.
5238 for ac_exec_ext
in '' $ac_executable_extensions; do
5239 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5240 ac_cv_prog_SORT
="sort "
5241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5250 SORT
=$ac_cv_prog_SORT
5251 if test -n "$SORT"; then
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5253 $as_echo "$SORT" >&6; }
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5256 $as_echo "no" >&6; }
5260 if test "$SORT" = ""; then
5261 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5263 # Extract the first word of "uniq", so it can be a program name with args.
5264 set dummy
uniq; ac_word
=$2
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5266 $as_echo_n "checking for $ac_word... " >&6; }
5267 if ${ac_cv_prog_UNIQ+:} false
; then :
5268 $as_echo_n "(cached) " >&6
5270 if test -n "$UNIQ"; then
5271 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5277 test -z "$as_dir" && as_dir
=.
5278 for ac_exec_ext
in '' $ac_executable_extensions; do
5279 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5280 ac_cv_prog_UNIQ
="uniq "
5281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5290 UNIQ
=$ac_cv_prog_UNIQ
5291 if test -n "$UNIQ"; then
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5293 $as_echo "$UNIQ" >&6; }
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5296 $as_echo "no" >&6; }
5300 if test "$UNIQ" = ""; then
5301 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5303 # Extract the first word of "true", so it can be a program name with args.
5304 set dummy true
; ac_word
=$2
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5306 $as_echo_n "checking for $ac_word... " >&6; }
5307 if ${ac_cv_prog_NOP+:} false
; then :
5308 $as_echo_n "(cached) " >&6
5310 if test -n "$NOP"; then
5311 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5317 test -z "$as_dir" && as_dir
=.
5318 for ac_exec_ext
in '' $ac_executable_extensions; do
5319 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5320 ac_cv_prog_NOP
="true "
5321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5331 if test -n "$NOP"; then
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5333 $as_echo "$NOP" >&6; }
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5336 $as_echo "no" >&6; }
5340 if test "$NOP" = ""; then
5341 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5343 # Extract the first word of "cat", so it can be a program name with args.
5344 set dummy
cat; ac_word
=$2
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5346 $as_echo_n "checking for $ac_word... " >&6; }
5347 if ${ac_cv_prog_CAT+:} false
; then :
5348 $as_echo_n "(cached) " >&6
5350 if test -n "$CAT"; then
5351 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5357 test -z "$as_dir" && as_dir
=.
5358 for ac_exec_ext
in '' $ac_executable_extensions; do
5359 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5360 ac_cv_prog_CAT
="cat "
5361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5371 if test -n "$CAT"; then
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5373 $as_echo "$CAT" >&6; }
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5376 $as_echo "no" >&6; }
5380 if test "$CAT" = ""; then
5381 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5383 # Extract the first word of "bison", so it can be a program name with args.
5384 set dummy bison
; ac_word
=$2
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5386 $as_echo_n "checking for $ac_word... " >&6; }
5387 if ${ac_cv_prog_BISON+:} false
; then :
5388 $as_echo_n "(cached) " >&6
5390 if test -n "$BISON"; then
5391 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5397 test -z "$as_dir" && as_dir
=.
5398 for ac_exec_ext
in '' $ac_executable_extensions; do
5399 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5400 ac_cv_prog_BISON
="bison "
5401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5410 BISON
=$ac_cv_prog_BISON
5411 if test -n "$BISON"; then
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5413 $as_echo "$BISON" >&6; }
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5416 $as_echo "no" >&6; }
5420 if test "$BISON" = ""; then
5421 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5423 # Extract the first word of "flex", so it can be a program name with args.
5424 set dummy flex
; ac_word
=$2
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5426 $as_echo_n "checking for $ac_word... " >&6; }
5427 if ${ac_cv_prog_FLEX+:} false
; then :
5428 $as_echo_n "(cached) " >&6
5430 if test -n "$FLEX"; then
5431 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5437 test -z "$as_dir" && as_dir
=.
5438 for ac_exec_ext
in '' $ac_executable_extensions; do
5439 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5440 ac_cv_prog_FLEX
="flex "
5441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5450 FLEX
=$ac_cv_prog_FLEX
5451 if test -n "$FLEX"; then
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5453 $as_echo "$FLEX" >&6; }
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5456 $as_echo "no" >&6; }
5460 if test "$FLEX" = ""; then
5461 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5463 # Extract the first word of "pngtopnm", so it can be a program name with args.
5464 set dummy pngtopnm
; ac_word
=$2
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5466 $as_echo_n "checking for $ac_word... " >&6; }
5467 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5468 $as_echo_n "(cached) " >&6
5470 if test -n "$PNGTOPNM"; then
5471 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5477 test -z "$as_dir" && as_dir
=.
5478 for ac_exec_ext
in '' $ac_executable_extensions; do
5479 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5480 ac_cv_prog_PNGTOPNM
="pngtopnm "
5481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5490 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5491 if test -n "$PNGTOPNM"; then
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5493 $as_echo "$PNGTOPNM" >&6; }
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5496 $as_echo "no" >&6; }
5500 if test "$PNGTOPNM" = ""; then
5501 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5503 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5504 set dummy ppmtoilbm
; 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_PPMTOILBM+:} false
; then :
5508 $as_echo_n "(cached) " >&6
5510 if test -n "$PPMTOILBM"; then
5511 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # 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_PPMTOILBM
="ppmtoilbm "
5521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5530 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5531 if test -n "$PPMTOILBM"; then
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5533 $as_echo "$PPMTOILBM" >&6; }
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5536 $as_echo "no" >&6; }
5540 if test "$PPMTOILBM" = ""; then
5541 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5543 # Extract the first word of "sed", so it can be a program name with args.
5544 set dummy
sed; ac_word
=$2
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5546 $as_echo_n "checking for $ac_word... " >&6; }
5547 if ${ac_cv_prog_SED+:} false
; then :
5548 $as_echo_n "(cached) " >&6
5550 if test -n "$SED"; then
5551 ac_cv_prog_SED
="$SED" # Let the user override the test.
5553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5557 test -z "$as_dir" && as_dir
=.
5558 for ac_exec_ext
in '' $ac_executable_extensions; do
5559 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5560 ac_cv_prog_SED
="sed "
5561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5571 if test -n "$SED"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5573 $as_echo "$SED" >&6; }
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5576 $as_echo "no" >&6; }
5580 if test "$SED" = ""; then
5581 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5583 # Extract the first word of "chmod", so it can be a program name with args.
5584 set dummy
chmod; ac_word
=$2
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5586 $as_echo_n "checking for $ac_word... " >&6; }
5587 if ${ac_cv_prog_CHMOD+:} false
; then :
5588 $as_echo_n "(cached) " >&6
5590 if test -n "$CHMOD"; then
5591 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5597 test -z "$as_dir" && as_dir
=.
5598 for ac_exec_ext
in '' $ac_executable_extensions; do
5599 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5600 ac_cv_prog_CHMOD
="chmod "
5601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5610 CHMOD
=$ac_cv_prog_CHMOD
5611 if test -n "$CHMOD"; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5613 $as_echo "$CHMOD" >&6; }
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5616 $as_echo "no" >&6; }
5620 if test "$CHMOD" = ""; then
5621 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5623 # Extract the first word of "patch", so it can be a program name with args.
5624 set dummy
patch; ac_word
=$2
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5626 $as_echo_n "checking for $ac_word... " >&6; }
5627 if ${ac_cv_prog_PATCH+:} false
; then :
5628 $as_echo_n "(cached) " >&6
5630 if test -n "$PATCH"; then
5631 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5637 test -z "$as_dir" && as_dir
=.
5638 for ac_exec_ext
in '' $ac_executable_extensions; do
5639 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5640 ac_cv_prog_PATCH
="patch "
5641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5650 PATCH
=$ac_cv_prog_PATCH
5651 if test -n "$PATCH"; then
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5653 $as_echo "$PATCH" >&6; }
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5656 $as_echo "no" >&6; }
5660 if test "$PATCH" = ""; then
5661 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5670 if test -n "$PYTHON"; then
5671 # If the user set $PYTHON, use it and don't search something else.
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
5673 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
5675 # split strings by '.' and convert to numeric. Append some zeros
5676 # because we need at least 4 digits for the hex conversion.
5677 # map returns an iterator in Python 3.0 and a list in 2.x
5678 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5680 # xrange is not present in Python 3.0 and range returns an iterator
5681 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5682 sys.exit(sys.hexversion < minverhex)"
5683 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5684 ($PYTHON -c "$prog") >&5 2>&5
5686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5687 (exit $ac_status); }; then :
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5689 $as_echo "yes" >&6; }
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5692 $as_echo "no" >&6; }
5693 as_fn_error $?
"Python interpreter is too old" "$LINENO" 5
5695 am_display_PYTHON
=$PYTHON
5697 # Otherwise, try each interpreter until we find one that satisfies
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5700 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5701 if ${am_cv_pathless_PYTHON+:} false
; then :
5702 $as_echo_n "(cached) " >&6
5705 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
5706 test "$am_cv_pathless_PYTHON" = none
&& break
5708 # split strings by '.' and convert to numeric. Append some zeros
5709 # because we need at least 4 digits for the hex conversion.
5710 # map returns an iterator in Python 3.0 and a list in 2.x
5711 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5713 # xrange is not present in Python 3.0 and range returns an iterator
5714 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5715 sys.exit(sys.hexversion < minverhex)"
5716 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5717 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720 (exit $ac_status); }; then :
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5726 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5727 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5728 if test "$am_cv_pathless_PYTHON" = none
; then
5731 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5732 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5734 $as_echo_n "checking for $ac_word... " >&6; }
5735 if ${ac_cv_path_PYTHON+:} false
; then :
5736 $as_echo_n "(cached) " >&6
5740 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5747 test -z "$as_dir" && as_dir
=.
5748 for ac_exec_ext
in '' $ac_executable_extensions; do
5749 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5750 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5761 PYTHON
=$ac_cv_path_PYTHON
5762 if test -n "$PYTHON"; then
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5764 $as_echo "$PYTHON" >&6; }
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5767 $as_echo "no" >&6; }
5772 am_display_PYTHON
=$am_cv_pathless_PYTHON
5776 if test "$PYTHON" = :; then
5777 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5782 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5783 if ${am_cv_python_version+:} false
; then :
5784 $as_echo_n "(cached) " >&6
5786 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5789 $as_echo "$am_cv_python_version" >&6; }
5790 PYTHON_VERSION
=$am_cv_python_version
5794 PYTHON_PREFIX
='${prefix}'
5796 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5801 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5802 if ${am_cv_python_platform+:} false
; then :
5803 $as_echo_n "(cached) " >&6
5805 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5808 $as_echo "$am_cv_python_platform" >&6; }
5809 PYTHON_PLATFORM
=$am_cv_python_platform
5812 # Just factor out some code duplication.
5813 am_python_setup_sysconfig
="\
5815 # Prefer sysconfig over distutils.sysconfig, for better compatibility
5816 # with python 3.x. See automake bug#10227.
5820 can_use_sysconfig = 0
5822 can_use_sysconfig = 1
5823 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
5824 # <https://github.com/pypa/virtualenv/issues/118>
5826 from platform import python_implementation
5827 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
5828 can_use_sysconfig = 0
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5834 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5835 if ${am_cv_python_pythondir+:} false
; then :
5836 $as_echo_n "(cached) " >&6
5838 if test "x$prefix" = xNONE
5840 am_py_prefix
=$ac_default_prefix
5842 am_py_prefix
=$prefix
5844 am_cv_python_pythondir
=`$PYTHON -c "
5845 $am_python_setup_sysconfig
5846 if can_use_sysconfig:
5847 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
5849 from distutils import sysconfig
5850 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
5851 sys.stdout.write(sitedir)"`
5852 case $am_cv_python_pythondir in
5854 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
5855 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
5858 case $am_py_prefix in
5861 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5869 $as_echo "$am_cv_python_pythondir" >&6; }
5870 pythondir
=$am_cv_python_pythondir
5874 pkgpythondir
=\
${pythondir}/$PACKAGE
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5878 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5879 if ${am_cv_python_pyexecdir+:} false
; then :
5880 $as_echo_n "(cached) " >&6
5882 if test "x$exec_prefix" = xNONE
5884 am_py_exec_prefix
=$am_py_prefix
5886 am_py_exec_prefix
=$exec_prefix
5888 am_cv_python_pyexecdir
=`$PYTHON -c "
5889 $am_python_setup_sysconfig
5890 if can_use_sysconfig:
5891 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
5893 from distutils import sysconfig
5894 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
5895 sys.stdout.write(sitedir)"`
5896 case $am_cv_python_pyexecdir in
5897 $am_py_exec_prefix*)
5898 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
5899 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
5902 case $am_py_exec_prefix in
5905 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5913 $as_echo "$am_cv_python_pyexecdir" >&6; }
5914 pyexecdir
=$am_cv_python_pyexecdir
5918 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
5928 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
5929 if ${ac_cv_lib_png_png_read_png+:} false
; then :
5930 $as_echo_n "(cached) " >&6
5932 ac_check_lib_save_LIBS
=$LIBS
5934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5935 /* end confdefs.h. */
5937 /* Override any GCC internal prototype to avoid an error.
5938 Use char because int might match the return type of a GCC
5939 builtin and then its argument prototype would still apply. */
5943 char png_read_png ();
5947 return png_read_png ();
5952 if ac_fn_c_try_link
"$LINENO"; then :
5953 ac_cv_lib_png_png_read_png
=yes
5955 ac_cv_lib_png_png_read_png
=no
5957 rm -f core conftest.err conftest.
$ac_objext \
5958 conftest
$ac_exeext conftest.
$ac_ext
5959 LIBS
=$ac_check_lib_save_LIBS
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
5962 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
5963 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
5964 cat >>confdefs.h
<<_ACEOF
5965 #define HAVE_LIBPNG 1
5972 if test "$ac_cv_lib_png_png_read_png" = ""; then
5973 as_fn_error $?
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
5986 # Check for some includes for the X11 HIDD and the kernel
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5989 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5990 if ${ac_cv_path_GREP+:} false
; then :
5991 $as_echo_n "(cached) " >&6
5993 if test -z "$GREP"; then
5994 ac_path_GREP_found
=false
5995 # Loop through the user's path and test for each of PROGNAME-LIST
5996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5997 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6000 test -z "$as_dir" && as_dir
=.
6001 for ac_prog
in grep ggrep
; do
6002 for ac_exec_ext
in '' $ac_executable_extensions; do
6003 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6004 as_fn_executable_p
"$ac_path_GREP" ||
continue
6005 # Check for GNU ac_path_GREP and select it if it is found.
6006 # Check for GNU $ac_path_GREP
6007 case `"$ac_path_GREP" --version 2>&1` in
6009 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6012 $as_echo_n 0123456789 >"conftest.in"
6015 cat "conftest.in" "conftest.in" >"conftest.tmp"
6016 mv "conftest.tmp" "conftest.in"
6017 cp "conftest.in" "conftest.nl"
6018 $as_echo 'GREP' >> "conftest.nl"
6019 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6020 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6021 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6022 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6023 # Best one so far, save it but keep looking for a better one
6024 ac_cv_path_GREP
="$ac_path_GREP"
6025 ac_path_GREP_max
=$ac_count
6027 # 10*(2^10) chars as input seems more than enough
6028 test $ac_count -gt 10 && break
6030 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6033 $ac_path_GREP_found && break 3
6038 if test -z "$ac_cv_path_GREP"; then
6039 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6042 ac_cv_path_GREP
=$GREP
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6047 $as_echo "$ac_cv_path_GREP" >&6; }
6048 GREP
="$ac_cv_path_GREP"
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6052 $as_echo_n "checking for egrep... " >&6; }
6053 if ${ac_cv_path_EGREP+:} false
; then :
6054 $as_echo_n "(cached) " >&6
6056 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6057 then ac_cv_path_EGREP
="$GREP -E"
6059 if test -z "$EGREP"; then
6060 ac_path_EGREP_found
=false
6061 # Loop through the user's path and test for each of PROGNAME-LIST
6062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6063 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6066 test -z "$as_dir" && as_dir
=.
6067 for ac_prog
in egrep; do
6068 for ac_exec_ext
in '' $ac_executable_extensions; do
6069 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6070 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6071 # Check for GNU ac_path_EGREP and select it if it is found.
6072 # Check for GNU $ac_path_EGREP
6073 case `"$ac_path_EGREP" --version 2>&1` in
6075 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6078 $as_echo_n 0123456789 >"conftest.in"
6081 cat "conftest.in" "conftest.in" >"conftest.tmp"
6082 mv "conftest.tmp" "conftest.in"
6083 cp "conftest.in" "conftest.nl"
6084 $as_echo 'EGREP' >> "conftest.nl"
6085 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6086 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6087 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6088 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6089 # Best one so far, save it but keep looking for a better one
6090 ac_cv_path_EGREP
="$ac_path_EGREP"
6091 ac_path_EGREP_max
=$ac_count
6093 # 10*(2^10) chars as input seems more than enough
6094 test $ac_count -gt 10 && break
6096 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6099 $ac_path_EGREP_found && break 3
6104 if test -z "$ac_cv_path_EGREP"; then
6105 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6108 ac_cv_path_EGREP
=$EGREP
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6114 $as_echo "$ac_cv_path_EGREP" >&6; }
6115 EGREP
="$ac_cv_path_EGREP"
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6119 $as_echo_n "checking for ANSI C header files... " >&6; }
6120 if ${ac_cv_header_stdc+:} false
; then :
6121 $as_echo_n "(cached) " >&6
6123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6124 /* end confdefs.h. */
6138 if ac_fn_c_try_compile
"$LINENO"; then :
6139 ac_cv_header_stdc
=yes
6141 ac_cv_header_stdc
=no
6143 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6145 if test $ac_cv_header_stdc = yes; then
6146 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6148 /* end confdefs.h. */
6152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6153 $EGREP "memchr" >/dev
/null
2>&1; then :
6156 ac_cv_header_stdc
=no
6162 if test $ac_cv_header_stdc = yes; then
6163 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6165 /* end confdefs.h. */
6169 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6170 $EGREP "free" >/dev
/null
2>&1; then :
6173 ac_cv_header_stdc
=no
6179 if test $ac_cv_header_stdc = yes; then
6180 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6181 if test "$cross_compiling" = yes; then :
6184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6185 /* end confdefs.h. */
6188 #if ((' ' & 0x0FF) == 0x020)
6189 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6190 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6192 # define ISLOWER(c) \
6193 (('a' <= (c) && (c) <= 'i') \
6194 || ('j' <= (c) && (c) <= 'r') \
6195 || ('s' <= (c) && (c) <= 'z'))
6196 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6199 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6204 for (i = 0; i < 256; i++)
6205 if (XOR (islower (i), ISLOWER (i))
6206 || toupper (i) != TOUPPER (i))
6211 if ac_fn_c_try_run
"$LINENO"; then :
6214 ac_cv_header_stdc
=no
6216 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6217 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6223 $as_echo "$ac_cv_header_stdc" >&6; }
6224 if test $ac_cv_header_stdc = yes; then
6226 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6230 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6231 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6232 inttypes.h stdint.h unistd.h
6234 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6235 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6237 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6238 cat >>confdefs.h
<<_ACEOF
6239 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6247 for ac_header
in sys
/ipc.h sys
/shm.h \
6248 sys
/mmap.h sys
/mman.h sysexits.h \
6249 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6252 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6253 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6254 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6255 cat >>confdefs.h
<<_ACEOF
6256 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6264 for ac_header
in sys
/mount.h
6266 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6268 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6269 cat >>confdefs.h
<<_ACEOF
6270 #define HAVE_SYS_MOUNT_H 1
6279 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6280 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6282 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6283 if eval \
${$as_ac_Header+:} false
; then :
6284 $as_echo_n "(cached) " >&6
6286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6287 /* end confdefs.h. */
6288 #include <sys/types.h>
6300 if ac_fn_c_try_compile
"$LINENO"; then :
6301 eval "$as_ac_Header=yes"
6303 eval "$as_ac_Header=no"
6305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6307 eval ac_res
=\$
$as_ac_Header
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6309 $as_echo "$ac_res" >&6; }
6310 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6311 cat >>confdefs.h
<<_ACEOF
6312 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6315 ac_header_dirent
=$ac_hdr; break
6319 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6320 if test $ac_header_dirent = dirent.h
; then
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6322 $as_echo_n "checking for library containing opendir... " >&6; }
6323 if ${ac_cv_search_opendir+:} false
; then :
6324 $as_echo_n "(cached) " >&6
6326 ac_func_search_save_LIBS
=$LIBS
6327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6328 /* end confdefs.h. */
6330 /* Override any GCC internal prototype to avoid an error.
6331 Use char because int might match the return type of a GCC
6332 builtin and then its argument prototype would still apply. */
6345 for ac_lib
in '' dir
; do
6346 if test -z "$ac_lib"; then
6347 ac_res
="none required"
6350 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6352 if ac_fn_c_try_link
"$LINENO"; then :
6353 ac_cv_search_opendir
=$ac_res
6355 rm -f core conftest.err conftest.
$ac_objext \
6357 if ${ac_cv_search_opendir+:} false
; then :
6361 if ${ac_cv_search_opendir+:} false
; then :
6364 ac_cv_search_opendir
=no
6367 LIBS
=$ac_func_search_save_LIBS
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6370 $as_echo "$ac_cv_search_opendir" >&6; }
6371 ac_res
=$ac_cv_search_opendir
6372 if test "$ac_res" != no
; then :
6373 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6379 $as_echo_n "checking for library containing opendir... " >&6; }
6380 if ${ac_cv_search_opendir+:} false
; then :
6381 $as_echo_n "(cached) " >&6
6383 ac_func_search_save_LIBS
=$LIBS
6384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6385 /* end confdefs.h. */
6387 /* Override any GCC internal prototype to avoid an error.
6388 Use char because int might match the return type of a GCC
6389 builtin and then its argument prototype would still apply. */
6402 for ac_lib
in '' x
; do
6403 if test -z "$ac_lib"; then
6404 ac_res
="none required"
6407 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6409 if ac_fn_c_try_link
"$LINENO"; then :
6410 ac_cv_search_opendir
=$ac_res
6412 rm -f core conftest.err conftest.
$ac_objext \
6414 if ${ac_cv_search_opendir+:} false
; then :
6418 if ${ac_cv_search_opendir+:} false
; then :
6421 ac_cv_search_opendir
=no
6424 LIBS
=$ac_func_search_save_LIBS
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6427 $as_echo "$ac_cv_search_opendir" >&6; }
6428 ac_res
=$ac_cv_search_opendir
6429 if test "$ac_res" != no
; then :
6430 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6437 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6438 if ${ac_cv_header_stat_broken+:} false
; then :
6439 $as_echo_n "(cached) " >&6
6441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6442 /* end confdefs.h. */
6443 #include <sys/types.h>
6444 #include <sys/stat.h>
6446 #if defined S_ISBLK && defined S_IFDIR
6447 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6450 #if defined S_ISBLK && defined S_IFCHR
6451 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6454 #if defined S_ISLNK && defined S_IFREG
6455 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6458 #if defined S_ISSOCK && defined S_IFREG
6459 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6463 if ac_fn_c_try_compile
"$LINENO"; then :
6464 ac_cv_header_stat_broken
=no
6466 ac_cv_header_stat_broken
=yes
6468 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6471 $as_echo "$ac_cv_header_stat_broken" >&6; }
6472 if test $ac_cv_header_stat_broken = yes; then
6474 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6479 $as_echo_n "checking for ANSI C header files... " >&6; }
6480 if ${ac_cv_header_stdc+:} false
; then :
6481 $as_echo_n "(cached) " >&6
6483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6484 /* end confdefs.h. */
6498 if ac_fn_c_try_compile
"$LINENO"; then :
6499 ac_cv_header_stdc
=yes
6501 ac_cv_header_stdc
=no
6503 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6505 if test $ac_cv_header_stdc = yes; then
6506 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6508 /* end confdefs.h. */
6512 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6513 $EGREP "memchr" >/dev
/null
2>&1; then :
6516 ac_cv_header_stdc
=no
6522 if test $ac_cv_header_stdc = yes; then
6523 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6525 /* end confdefs.h. */
6529 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6530 $EGREP "free" >/dev
/null
2>&1; then :
6533 ac_cv_header_stdc
=no
6539 if test $ac_cv_header_stdc = yes; then
6540 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6541 if test "$cross_compiling" = yes; then :
6544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6545 /* end confdefs.h. */
6548 #if ((' ' & 0x0FF) == 0x020)
6549 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6550 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6552 # define ISLOWER(c) \
6553 (('a' <= (c) && (c) <= 'i') \
6554 || ('j' <= (c) && (c) <= 'r') \
6555 || ('s' <= (c) && (c) <= 'z'))
6556 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6559 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6564 for (i = 0; i < 256; i++)
6565 if (XOR (islower (i), ISLOWER (i))
6566 || toupper (i) != TOUPPER (i))
6571 if ac_fn_c_try_run
"$LINENO"; then :
6574 ac_cv_header_stdc
=no
6576 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6577 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6583 $as_echo "$ac_cv_header_stdc" >&6; }
6584 if test $ac_cv_header_stdc = yes; then
6586 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6591 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6592 if ${ac_cv_header_sys_wait_h+:} false
; then :
6593 $as_echo_n "(cached) " >&6
6595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6596 /* end confdefs.h. */
6597 #include <sys/types.h>
6598 #include <sys/wait.h>
6600 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6603 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6611 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6616 if ac_fn_c_try_compile
"$LINENO"; then :
6617 ac_cv_header_sys_wait_h
=yes
6619 ac_cv_header_sys_wait_h
=no
6621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6624 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6625 if test $ac_cv_header_sys_wait_h = yes; then
6627 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6632 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6633 if ${ac_cv_header_time+:} false
; then :
6634 $as_echo_n "(cached) " >&6
6636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6637 /* end confdefs.h. */
6638 #include <sys/types.h>
6639 #include <sys/time.h>
6645 if ((struct tm *) 0)
6651 if ac_fn_c_try_compile
"$LINENO"; then :
6652 ac_cv_header_time
=yes
6654 ac_cv_header_time
=no
6656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6659 $as_echo "$ac_cv_header_time" >&6; }
6660 if test $ac_cv_header_time = yes; then
6662 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6666 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6667 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6669 cat >>confdefs.h
<<_ACEOF
6670 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6674 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6679 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6680 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6682 cat >>confdefs.h
<<_ACEOF
6683 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6687 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6690 case " $LIBOBJS " in
6691 *" fileblocks.$ac_objext "* ) ;;
6692 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6699 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6700 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6702 cat >>confdefs.h
<<_ACEOF
6703 #define HAVE_STRUCT_STAT_ST_RDEV 1
6707 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6713 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6714 if ${ac_cv_struct_tm+:} false
; then :
6715 $as_echo_n "(cached) " >&6
6717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6718 /* end confdefs.h. */
6719 #include <sys/types.h>
6726 int *p = &tm.tm_sec;
6732 if ac_fn_c_try_compile
"$LINENO"; then :
6733 ac_cv_struct_tm
=time.h
6735 ac_cv_struct_tm
=sys
/time.h
6737 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6740 $as_echo "$ac_cv_struct_tm" >&6; }
6741 if test $ac_cv_struct_tm = sys
/time.h
; then
6743 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6747 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6748 #include <$ac_cv_struct_tm>
6751 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6753 cat >>confdefs.h
<<_ACEOF
6754 #define HAVE_STRUCT_TM_TM_ZONE 1
6760 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6762 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6765 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6767 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6773 cat >>confdefs.h
<<_ACEOF
6774 #define HAVE_DECL_TZNAME $ac_have_decl
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6778 $as_echo_n "checking for tzname... " >&6; }
6779 if ${ac_cv_var_tzname+:} false
; then :
6780 $as_echo_n "(cached) " >&6
6782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6783 /* end confdefs.h. */
6785 #if !HAVE_DECL_TZNAME
6786 extern char *tzname[];
6792 return tzname[0][0];
6797 if ac_fn_c_try_link
"$LINENO"; then :
6798 ac_cv_var_tzname
=yes
6802 rm -f core conftest.err conftest.
$ac_objext \
6803 conftest
$ac_exeext conftest.
$ac_ext
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6806 $as_echo "$ac_cv_var_tzname" >&6; }
6807 if test $ac_cv_var_tzname = yes; then
6809 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6814 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6815 if test "x$ac_cv_type_off_t" = xyes
; then :
6819 cat >>confdefs.h
<<_ACEOF
6820 #define off_t long int
6825 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6826 if test "x$ac_cv_type_pid_t" = xyes
; then :
6830 cat >>confdefs.h
<<_ACEOF
6836 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6837 if test "x$ac_cv_type_size_t" = xyes
; then :
6841 cat >>confdefs.h
<<_ACEOF
6842 #define size_t unsigned int
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6848 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6849 if ${ac_cv_type_uid_t+:} false
; then :
6850 $as_echo_n "(cached) " >&6
6852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6853 /* end confdefs.h. */
6854 #include <sys/types.h>
6857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6858 $EGREP "uid_t" >/dev
/null
2>&1; then :
6859 ac_cv_type_uid_t
=yes
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6867 $as_echo "$ac_cv_type_uid_t" >&6; }
6868 if test $ac_cv_type_uid_t = no
; then
6870 $as_echo "#define uid_t int" >>confdefs.h
6873 $as_echo "#define gid_t int" >>confdefs.h
6878 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6879 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6881 cat >>confdefs.h
<<_ACEOF
6882 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6889 # Look for some functions
6890 for ac_func
in getpagesize kqueue statfs statvfs \
6891 clone kse_create rfork_thread thr_create sa_register \
6892 getcontext makecontext setcontext sigaltstack swapcontext
6894 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6895 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6896 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6897 cat >>confdefs.h
<<_ACEOF
6898 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6908 for ac_header
in $ac_header_list
6910 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6911 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6913 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6914 cat >>confdefs.h
<<_ACEOF
6915 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6929 for ac_func
in getpagesize
6931 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6932 if test "x$ac_cv_func_getpagesize" = xyes
; then :
6933 cat >>confdefs.h
<<_ACEOF
6934 #define HAVE_GETPAGESIZE 1
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6941 $as_echo_n "checking for working mmap... " >&6; }
6942 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
6943 $as_echo_n "(cached) " >&6
6945 if test "$cross_compiling" = yes; then :
6946 ac_cv_func_mmap_fixed_mapped
=no
6948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6949 /* end confdefs.h. */
6950 $ac_includes_default
6951 /* malloc might have been renamed as rpl_malloc. */
6954 /* Thanks to Mike Haertel and Jim Avera for this test.
6955 Here is a matrix of mmap possibilities:
6956 mmap private not fixed
6957 mmap private fixed at somewhere currently unmapped
6958 mmap private fixed at somewhere already mapped
6959 mmap shared not fixed
6960 mmap shared fixed at somewhere currently unmapped
6961 mmap shared fixed at somewhere already mapped
6962 For private mappings, we should verify that changes cannot be read()
6963 back from the file, nor mmap's back from the file at a different
6964 address. (There have been systems where private was not correctly
6965 implemented like the infamous i386 svr4.0, and systems where the
6966 VM page cache was not coherent with the file system buffer cache
6967 like early versions of FreeBSD and possibly contemporary NetBSD.)
6968 For shared mappings, we should conversely verify that changes get
6969 propagated back to all the places they're supposed to be.
6971 Grep wants private fixed already mapped.
6972 The main things grep needs to know about mmap are:
6973 * does it exist and is it safe to write into the mmap'd area
6974 * how to use it (BSD variants) */
6977 #include <sys/mman.h>
6979 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6983 /* This mess was copied from the GNU getpagesize.h. */
6984 #ifndef HAVE_GETPAGESIZE
6985 # ifdef _SC_PAGESIZE
6986 # define getpagesize() sysconf(_SC_PAGESIZE)
6987 # else /* no _SC_PAGESIZE */
6988 # ifdef HAVE_SYS_PARAM_H
6989 # include <sys/param.h>
6990 # ifdef EXEC_PAGESIZE
6991 # define getpagesize() EXEC_PAGESIZE
6992 # else /* no EXEC_PAGESIZE */
6994 # define getpagesize() NBPG * CLSIZE
6997 # endif /* no CLSIZE */
6998 # else /* no NBPG */
7000 # define getpagesize() NBPC
7001 # else /* no NBPC */
7003 # define getpagesize() PAGESIZE
7004 # endif /* PAGESIZE */
7005 # endif /* no NBPC */
7006 # endif /* no NBPG */
7007 # endif /* no EXEC_PAGESIZE */
7008 # else /* no HAVE_SYS_PARAM_H */
7009 # define getpagesize() 8192 /* punt totally */
7010 # endif /* no HAVE_SYS_PARAM_H */
7011 # endif /* no _SC_PAGESIZE */
7013 #endif /* no HAVE_GETPAGESIZE */
7018 char *data, *data2, *data3;
7023 pagesize = getpagesize ();
7025 /* First, make a file with some known garbage in it. */
7026 data = (char *) malloc (pagesize);
7029 for (i = 0; i < pagesize; ++i)
7030 *(data + i) = rand ();
7032 fd = creat ("conftest.mmap", 0600);
7035 if (write (fd, data, pagesize) != pagesize)
7039 /* Next, check that the tail of a page is zero-filled. File must have
7040 non-zero length, otherwise we risk SIGBUS for entire page. */
7041 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7045 if (write (fd2, cdata2, 1) != 1)
7047 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7048 if (data2 == MAP_FAILED)
7050 for (i = 0; i < pagesize; ++i)
7054 if (munmap (data2, pagesize))
7057 /* Next, try to mmap the file at a fixed address which already has
7058 something else allocated at it. If we can, also make sure that
7059 we see the same garbage. */
7060 fd = open ("conftest.mmap", O_RDWR);
7063 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7064 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7066 for (i = 0; i < pagesize; ++i)
7067 if (*(data + i) != *(data2 + i))
7070 /* Finally, make sure that changes to the mapped area do not
7071 percolate back to the file as seen by read(). (This is a bug on
7072 some variants of i386 svr4.0.) */
7073 for (i = 0; i < pagesize; ++i)
7074 *(data2 + i) = *(data2 + i) + 1;
7075 data3 = (char *) malloc (pagesize);
7078 if (read (fd, data3, pagesize) != pagesize)
7080 for (i = 0; i < pagesize; ++i)
7081 if (*(data + i) != *(data3 + i))
7087 if ac_fn_c_try_run
"$LINENO"; then :
7088 ac_cv_func_mmap_fixed_mapped
=yes
7090 ac_cv_func_mmap_fixed_mapped
=no
7092 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7093 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7098 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7099 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7101 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7104 rm -f conftest.mmap conftest.txt
7109 aros_config_cflags
="-Wall -Werror-implicit-function-declaration -Wno-parentheses"
7110 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7111 aros_config_ldflags
=""
7113 aros_shared_default
=yes
7115 aros_shared_cflags
="-fPIC"
7116 aros_shared_aflags
=""
7117 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7118 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7120 aros_kernel_ar_flags
="cr"
7121 aros_target_ar_flags
="cr"
7122 aros_target_nm_flags
="-C -ul"
7123 aros_target_strip_flags
="--strip-unneeded -R.comment"
7128 aros_target_genmap
="-Wl,-Map -Xlinker"
7130 # Native flavour stuff
7131 aros_serial_debug
="0"
7133 # Palm native flavour stuff
7134 aros_palm_debug_hack
="0"
7136 # Unix flavour stuff
7137 aros_nesting_supervisor
="0"
7139 # Collect-aros stuff: "-ius" to ignore undefined symbols
7140 ignore_undefined_symbols
=""
7142 # Check for X11 by default
7149 #-----------------------------------------------------------------------------
7152 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7153 # it switched on by default, and we use the host compiler, so it compiles AROS
7154 # code with this enabled resulting in link failures as we don't have support
7157 # We use two methods to disable it. For the host compiler (used to compile
7158 # some hosted modules), we test to see if the compiler supports stack
7159 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7160 # work on all platforms.
7162 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7163 # (this is done unconditionally, as it should have no effect on compilers
7164 # without the stack protection feature). This may be specific to the way that
7165 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7166 # strong enough to disable it in a generic way though, so we'll live with it
7167 # until another vendor ships GCC with it enabled in a different way, and deal
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7172 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7173 save_cflags
="$CFLAGS"
7174 CFLAGS
="$CFLAGS -fno-stack-protector"
7175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7176 /* end confdefs.h. */
7186 if ac_fn_c_try_compile
"$LINENO"; then :
7187 use_no_stack_protector
="yes"
7189 use_no_stack_protector
="no"
7191 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7193 $as_echo "$use_no_stack_protector" >&6; }
7194 if test "x-$use_no_stack_protector" = "x-yes" ; then
7195 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7197 CFLAGS
="$save_cflags"
7199 #-----------------------------------------------------------------------------
7201 # Disable pointer-signedness warnings if the compiler recognises the option
7202 # (this only works for the host compiler at the moment)
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7205 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7206 save_cflags
="$CFLAGS"
7207 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7209 /* end confdefs.h. */
7219 if ac_fn_c_try_compile
"$LINENO"; then :
7220 use_no_sign_warning
="yes"
7222 use_no_sign_warning
="no"
7224 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7226 $as_echo "$use_no_sign_warning" >&6; }
7227 if test "x-$use_no_sign_warning" = "x-yes" ; then
7228 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7230 CFLAGS
="$save_cflags"
7232 #-----------------------------------------------------------------------------
7234 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7237 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7238 save_cflags
="$CFLAGS"
7239 CFLAGS
="$CFLAGS -fgnu89-inline"
7240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7241 /* end confdefs.h. */
7251 if ac_fn_c_try_compile
"$LINENO"; then :
7252 use_gnu89_inline
="yes"
7254 use_gnu89_inline
="no"
7256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7258 $as_echo "$use_gnu89_inline" >&6; }
7259 if test "x-$use_gnu89_inline" = "x-yes" ; then
7260 gnu89_inline
="-fgnu89-inline"
7262 CFLAGS
="$save_cflags"
7264 #-----------------------------------------------------------------------------
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
7267 $as_echo_n "checking for type of build... " >&6; }
7268 # Check whether --enable-build_type was given.
7269 if test "${enable_build_type+set}" = set; then :
7270 enableval
=$enable_build_type; build_type
=$enableval
7272 build_type
="personal"
7276 if test "$build_type" = "nightly"; then
7277 build_type_string
="NIGHTLY"
7278 elif test "$build_type" = "snapshot"; then
7279 build_type_string
="SNAPSHOT"
7280 elif test "$build_type" = "milestone"; then
7281 build_type_string
="MILESTONE"
7282 elif test "$build_type" = "release"; then
7283 build_type_string
="RELEASE"
7285 build_type_string
="PERSONAL"
7286 build_type
="personal"
7289 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7292 $as_echo "$build_type" >&6; }
7294 #-----------------------------------------------------------------------------
7295 all_debug_types
="messages stack modules mungwall symbols"
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7298 $as_echo_n "checking which debug types to enable... " >&6; }
7299 # Check whether --enable-debug was given.
7300 if test "${enable_debug+set}" = set; then :
7301 enableval
=$enable_debug; debug
="$enableval"
7307 if test "$debug" = "" -o "$debug" = "no"; then
7309 elif test "$debug" = "yes"; then
7313 if test "$debug" = "all" ; then
7314 debug
="messages stack modules symbols"
7315 for d
in $all_debug_types; do
7316 export aros_
${d}_debug
="1"
7319 for d
in $all_debug_types; do
7320 export aros_
${d}_debug
="0"
7324 if test "$debug" != "none"; then
7325 debug
=`echo $debug | sed s/,/\ /g`
7328 for d2
in $all_debug_types; do
7329 if test "$d2" = "$d"; then
7334 if test "$found" = "0"; then
7335 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7337 export aros_
${d}_debug
="1"
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7342 $as_echo "$debug" >&6; }
7344 if test "$aros_messages_debug" = "1"; then
7345 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7347 aros_messages_debug
=""
7349 if test "$aros_symbols_debug" = "1"; then
7350 aros_symbols_debug
="-g"
7352 aros_symbols_debug
=""
7355 # These are the flags to pass when compiling debugged programs
7356 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7357 aros_debug_aflags
=""
7358 aros_debug_ldflags
="$aros_symbols_debug"
7360 #-----------------------------------------------------------------------------
7361 # Checking for distcc and ccache.
7363 # Always apply the transforms in this particular order. Basically you should
7364 # always run 'ccache distcc compiler' in that order for the best performance.
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7367 $as_echo_n "checking whether to enable distcc... " >&6; }
7368 # Check whether --enable-distcc was given.
7369 if test "${enable_distcc+set}" = set; then :
7370 enableval
=$enable_distcc; distcc
="$enableval"
7375 if test "$distcc" != "" -a "$distcc" != "no"; then
7376 # AC_CHECK_PROG will print out the result in this case
7377 # Extract the first word of "distcc", so it can be a program name with args.
7378 set dummy distcc
; ac_word
=$2
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7380 $as_echo_n "checking for $ac_word... " >&6; }
7381 if ${ac_cv_path_DISTCC+:} false
; then :
7382 $as_echo_n "(cached) " >&6
7386 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7393 test -z "$as_dir" && as_dir
=.
7394 for ac_exec_ext
in '' $ac_executable_extensions; do
7395 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7396 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7404 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7408 DISTCC
=$ac_cv_path_DISTCC
7409 if test -n "$DISTCC"; then
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7411 $as_echo "$DISTCC" >&6; }
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7414 $as_echo "no" >&6; }
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7424 $as_echo_n "checking whether to enable ccache... " >&6; }
7425 # Check whether --enable-ccache was given.
7426 if test "${enable_ccache+set}" = set; then :
7427 enableval
=$enable_ccache; ccache
="$enableval"
7432 if test "$ccache" != "" -a "$ccache" != "no"; then
7433 # AC_CHECK_PROG will print out the result in this case
7434 # Extract the first word of "ccache", so it can be a program name with args.
7435 set dummy ccache
; ac_word
=$2
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7437 $as_echo_n "checking for $ac_word... " >&6; }
7438 if ${ac_cv_prog_CCACHE+:} false
; then :
7439 $as_echo_n "(cached) " >&6
7441 if test -n "$CCACHE"; then
7442 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7448 test -z "$as_dir" && as_dir
=.
7449 for ac_exec_ext
in '' $ac_executable_extensions; do
7450 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7451 ac_cv_prog_CCACHE
="ccache"
7452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7461 CCACHE
=$ac_cv_prog_CCACHE
7462 if test -n "$CCACHE"; then
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7464 $as_echo "$CCACHE" >&6; }
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7467 $as_echo "no" >&6; }
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7473 $as_echo "no" >&6; }
7476 #-----------------------------------------------------------------------------
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7478 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7480 # Check whether --with-kernel-gcc-version was given.
7481 if test "${with_kernel_gcc_version+set}" = set; then :
7482 withval
=$with_kernel_gcc_version; kernel_tool_version
="$withval"
7484 kernel_tool_version
=""
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_version" >&5
7488 $as_echo "$kernel_tool_version" >&6; }
7490 #-----------------------------------------------------------------------------
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7492 $as_echo_n "checking what optimization flags to use... " >&6; }
7494 # Check whether --with-optimization was given.
7495 if test "${with_optimization+set}" = set; then :
7496 withval
=$with_optimization; optimization
="$withval"
7498 optimization
="unknown"
7501 if test "$optimization" = "unknown"; then
7502 if test "$debug" != "none"; then
7508 aros_optimization_cflags
="$optimization"
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7510 $as_echo "$optimization" >&6; }
7512 #-----------------------------------------------------------------------------
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7514 $as_echo_n "checking what paranoia flags to use... " >&6; }
7516 # Check whether --with-paranoia was given.
7517 if test "${with_paranoia+set}" = set; then :
7518 withval
=$with_paranoia; paranoia_flags
="$withval"
7520 paranoia_flags
="default"
7523 if test "$paranoia_flags" = "default"; then
7525 else if test "$paranoia_flags" = "yes"; then
7526 paranoia_flags
="-Wall -Werror"
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7529 $as_echo "$paranoia_flags" >&6; }
7530 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7532 #-----------------------------------------------------------------------------
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7534 $as_echo_n "checking what target variant to enable... " >&6; }
7535 # Check whether --enable-target_variant was given.
7536 if test "${enable_target_variant+set}" = set; then :
7537 enableval
=$enable_target_variant; target_variant
=$enableval
7542 if test "$target_variant" = ""; then
7543 aros_target_variant
=""
7544 aros_target_suffix
=""
7547 aros_target_variant
="$target_variant"
7548 aros_target_suffix
="-$target_variant"
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7551 $as_echo "$enableval" >&6; }
7553 #-----------------------------------------------------------------------------
7554 # Target-specific defaults. You can override then on a per-target basis.
7556 # Bootloader name. Currently used by PC target.
7557 target_bootloader
="none"
7560 #-----------------------------------------------------------------------------
7561 # Additional options for some specific targets
7563 case "$aros_target_variant" in
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7566 $as_echo_n "checking XCode path... " >&6; }
7568 # Check whether --with-xcode was given.
7569 if test "${with_xcode+set}" = set; then :
7570 withval
=$with_xcode; aros_xcode_path
="$withval"
7572 aros_xcode_path
="/Developer"
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7576 $as_echo "$aros_xcode_path" >&6; }
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7579 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7581 # Check whether --with-sdk-version was given.
7582 if test "${with_sdk_version+set}" = set; then :
7583 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7585 aros_sdk_version
="4.1"
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7589 $as_echo "$aros_sdk_version" >&6; }
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7595 $as_echo_n "checking Android SDK path... " >&6; }
7597 # Check whether --with-sdk was given.
7598 if test "${with_sdk+set}" = set; then :
7599 withval
=$with_sdk; aros_android_sdk
="$withval"
7601 aros_android_sdk
=$default_android_sdk
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7605 $as_echo "$aros_android_sdk" >&6; }
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7608 $as_echo_n "checking Android NDK path... " >&6; }
7610 # Check whether --with-ndk was given.
7611 if test "${with_ndk+set}" = set; then :
7612 withval
=$with_ndk; aros_android_ndk
="$withval"
7614 aros_android_ndk
="none"
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7618 $as_echo "$aros_android_ndk" >&6; }
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7621 $as_echo_n "checking what Android SDK version to use... " >&6; }
7623 # Check whether --with-sdk-version was given.
7624 if test "${with_sdk_version+set}" = set; then :
7625 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7627 aros_sdk_version
="12"
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7631 $as_echo "$aros_sdk_version" >&6; }
7633 aros_android_level
=android-
$aros_sdk_version
7634 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7635 echo "Platform $aros_android_level is not installed in your SDK"
7636 echo "Use --with-sdk-version=<API level number> to select another platform version"
7637 echo "You can check what plaform versions are installed in your SDK"
7638 echo "by examining contents of $aros_android_sdk/platforms directory"
7639 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7642 export PATH
="$aros_android_sdk/tools:$PATH"
7643 # Extract the first word of "$android_tool", so it can be a program name with args.
7644 set dummy
$android_tool; ac_word
=$2
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7646 $as_echo_n "checking for $ac_word... " >&6; }
7647 if ${ac_cv_path_android_tool+:} false
; then :
7648 $as_echo_n "(cached) " >&6
7650 case $android_tool in
7652 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7659 test -z "$as_dir" && as_dir
=.
7660 for ac_exec_ext
in '' $ac_executable_extensions; do
7661 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7662 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7673 android_tool
=$ac_cv_path_android_tool
7674 if test -n "$android_tool"; then
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7676 $as_echo "$android_tool" >&6; }
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7679 $as_echo "no" >&6; }
7683 if test "$android_tool" = ""; then
7684 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7687 if test "$aros_android_ndk" != "none"; then
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7689 $as_echo_n "checking what Android NDK version to use... " >&6; }
7691 # Check whether --with-ndk-version was given.
7692 if test "${with_ndk_version+set}" = set; then :
7693 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7695 aros_ndk_version
="9"
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7699 $as_echo "$aros_ndk_version" >&6; }
7702 # Extract the first word of "ant", so it can be a program name with args.
7703 set dummy ant
; ac_word
=$2
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7705 $as_echo_n "checking for $ac_word... " >&6; }
7706 if ${ac_cv_path_ant+:} false
; then :
7707 $as_echo_n "(cached) " >&6
7711 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7718 test -z "$as_dir" && as_dir
=.
7719 for ac_exec_ext
in '' $ac_executable_extensions; do
7720 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7721 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7733 if test -n "$ant"; then
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7735 $as_echo "$ant" >&6; }
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7738 $as_echo "no" >&6; }
7742 if test "$ant" = ""; then
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7744 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Build debug or release apk" >&5
7748 $as_echo_n "checking Build debug or release apk... " >&6; }
7750 # Check whether --with-apk-version was given.
7751 if test "${with_apk_version+set}" = set; then :
7752 withval
=$with_apk_version; aros_android_antapk
=$withval
7754 aros_android_antapk
=release
7757 if test $aros_android_antapk != release
-a $aros_android_antapk != debug
; then
7758 as_fn_error $?
"apk-version has to be release or debug" "$LINENO" 5
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_antapk" >&5
7761 $as_echo "$aros_android_antapk" >&6; }
7763 if test "$host_os" = "mingw32"; then
7764 android_tool
="cmd //c $android_tool"
7772 #-----------------------------------------------------------------------------
7773 # External toolchains
7774 kernel_tool_prefix
="none"
7775 aros_tool_prefix
="none"
7776 elf_tool_prefix
="${target_cpu}-elf-"
7778 # This is the target configuration switch.
7779 case "$target_os" in
7781 aros_target_arch
="linux"
7782 aros_target_family
="unix"
7783 case "$target_cpu" in
7785 aros_target_cpu
="m68k"
7786 aros_object_format
="m68kelf"
7787 aros_flavour
="emulcompat"
7788 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7789 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7790 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7791 gcc_target_cpu
="mc68000"
7794 aros_target_cpu
="i386"
7795 aros_object_format
="elf_i386"
7796 aros_flavour
="emulation"
7797 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7798 aros_kernel_ldflags
="-Wl,-melf_i386"
7799 aros_nominal_depth
=8
7800 gcc_target_cpu
="i386"
7801 pci_hidd_target
="hidd-pci-linux"
7802 android_tool_dir_prefix
="x86"
7803 android_tool_prefix
="i686-android-linux"
7804 android_ndk_arch
="x86"
7807 aros_target_cpu
="x86_64"
7808 aros_object_format
="elf_x86_64"
7809 aros_flavour
="emulation"
7810 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7811 aros_config_cflags
="$aros_config_cflags -mcmodel=large -mno-red-zone -fno-omit-frame-pointer"
7812 aros_nominal_depth
=8
7813 pci_hidd_target
="hidd-pci-linux"
7816 aros_target_cpu
="ppc"
7817 aros_object_format
="elf32ppc"
7818 aros_flavour
="emulation"
7819 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7820 aros_nominal_depth
=8
7821 gcc_target_cpu
="ppc"
7824 # Same as powerpc, but I need this for the nightly build to work again.
7825 # Actually, the nightly should be made working with powerpc target.
7826 # That just was too much work for the moment, another week or two.
7828 aros_target_cpu
="ppc"
7829 aros_object_format
="elf32ppc"
7830 aros_flavour
="emulation"
7831 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7832 aros_nominal_depth
=8
7833 gcc_target_cpu
="ppc"
7836 aros_target_cpu
="arm"
7838 aros_object_format
="armelf_aros"
7839 aros_flavour
="emulation"
7840 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7841 gcc_target_cpu
="arm"
7842 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7843 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7844 aros_arch_libs
="-laeabi"
7845 gcc_default_float_abi
="hard"
7846 android_tool_dir_prefix
="arm-linux-androideabi"
7847 android_tool_prefix
="arm-linux-androideabi"
7848 android_ndk_arch
="arm"
7849 kernel_tool_prefix
="arm-linux-gnueabihf-"
7852 aros_target_cpu
="arm"
7853 aros_object_format
="armelf_aros"
7854 aros_flavour
="emulation"
7855 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7856 gcc_target_cpu
="arm"
7857 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
7858 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
7859 aros_arch_libs
="-laeabi"
7860 android_tool_dir_prefix
="arm-linux-androideabi"
7861 android_tool_prefix
="arm-linux-androideabi"
7862 android_ndk_arch
="arm"
7863 kernel_tool_prefix
="arm-linux-gnueabi-"
7866 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7869 case "$aros_target_variant" in
7872 if test "$android_ndk_arch" = ""; then
7873 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7876 aros_nominal_width
=320
7877 aros_nominal_height
=480
7878 if test "$aros_android_ndk" = "none"; then
7879 aros_kernel_cflags
="-mandroid"
7880 aros_kernel_ldflags
="-mandroid"
7883 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$kernel_tool_version/prebuilt/$android_build_os/bin:$PATH"
7884 kernel_tool_version
=""
7885 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7886 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7887 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7888 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7889 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7892 host_android_gfx
=yes
7893 # Disable implicit PIC mode
7894 aros_target_cflags
="$aros_target_cflags -fno-pic"
7895 kernel_tool_prefix
="$android_tool_prefix-"
7901 aros_target_arch
="pc"
7902 aros_shared_default
="no"
7903 target_bootloader
="grub2"
7904 case "$target_cpu" in
7906 aros_target_cpu
="i386"
7909 if test "$aros_object_format" = "" ; then
7910 aros_object_format
="elf_i386"
7912 aros_flavour
="standalone"
7913 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7914 aros_kernel_ldflags
="-Wl,-melf_i386"
7915 aros_nominal_width
=640
7916 aros_nominal_height
=480
7917 gcc_target_cpu
="i386"
7920 aros_target_cpu
="x86_64"
7922 if test "$aros_object_format" = "" ; then
7923 aros_object_format
="elf_x86_64"
7925 aros_flavour
="standalone"
7926 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7927 aros_config_cflags
="$aros_config_cflags -mcmodel=large -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7928 aros_kernel_ldflags
=""
7929 aros_nominal_width
=640
7930 aros_nominal_height
=480
7931 case "$aros_target_variant" in
7933 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
7938 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7944 aros_target_arch
="prep"
7945 aros_shared_default
="no"
7946 aros_target_cpu
="ppc"
7947 aros_object_format
="elf32ppc"
7948 aros_flavour
="ppcnative"
7949 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7950 aros_kernel_ldflags
=""
7951 aros_nominal_width
=640
7952 aros_nominal_height
=480
7953 gcc_target_cpu
="ppc"
7957 aros_target_arch
="freebsd"
7958 aros_target_family
="unix"
7959 aros_target_cpu
="i386"
7960 aros_flavour
="emulation"
7961 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7962 gcc_target_cpu
="i386"
7964 aros_target_strip_flags
="-x"
7968 aros_target_arch
="darwin"
7969 aros_target_family
="unix"
7970 aros_flavour
="emulation"
7971 case "$target_cpu" in
7973 aros_ios_platform
="iPhoneSimulator"
7974 aros_target_cpu
="i386"
7975 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7976 aros_kernel_ldflags
=""
7977 aros_macosx_version
="10.4"
7978 aros_nominal_depth
=8
7979 gcc_target_cpu
="i386"
7980 aros_object_format
="elf_i386"
7981 aros_kernel_ar_flags
="-cr"
7982 aros_target_strip_flags
="-x"
7983 kernel_tool_flags
="-m32"
7986 aros_target_cpu
="x86_64"
7987 aros_object_format
="elf_x86_64"
7988 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7989 aros_macosx_version
="10.6"
7990 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7991 aros_kernel_cflags
="-m64"
7992 aros_kernel_ldflags
="-m64"
7993 aros_target_cflags
="-mcmodel=large"
7994 aros_nominal_depth
=8
7996 aros_kernel_ar_flags
="-cr"
7999 aros_kernel_ranlib
="ranlib"
8001 aros_kernel_strip
="strip"
8002 kernel_tool_prefix
="i686-apple-darwin10-"
8005 aros_target_cpu
="ppc"
8006 aros_object_format
="elf32ppc"
8007 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8008 aros_kernel_ldflags
=""
8009 aros_macosx_version
="10.0"
8010 aros_nominal_depth
=8
8011 gcc_target_cpu
="ppc"
8013 aros_kernel_ar_flags
="-cr"
8014 aros_kernel_ld
="ld -arch ppc"
8015 aros_kernel_as
="as -arch ppc"
8016 aros_kernel_ranlib
="ranlib -arch ppc"
8017 aros_kernel_nm
="nm -arch ppc"
8018 aros_kernel_strip
="strip -arch ppc"
8019 kernel_tool_prefix
="powerpc-apple-darwin10-"
8022 aros_ios_platform
="iPhoneOS"
8023 aros_target_cpu
="arm"
8024 aros_object_format
="armelf_aros"
8025 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8026 aros_arch_libs
="-laeabi"
8027 aros_nominal_depth
=8
8028 gcc_target_cpu
="arm"
8030 aros_kernel_ar_flags
="-cr"
8031 aros_kernel_ld
="ld -arch arm"
8032 aros_kernel_ranlib
="ranlib -arch arm"
8033 kernel_tool_prefix
="arm-apple-darwin10-"
8034 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8037 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8040 case "$aros_target_variant" in
8042 aros_ios_version
="3.0"
8043 aros_nominal_width
=320
8044 aros_nominal_height
=480
8045 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8046 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8047 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8049 # This is here because it may depend on iOS or SDK version
8050 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8051 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8052 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8055 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8056 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8062 aros_target_arch
="dragonfly"
8063 aros_target_family
="unix"
8064 aros_flavour
="emulation"
8065 case "$target_cpu" in
8067 aros_target_cpu
="i386"
8068 aros_object_format
="elf_i386"
8069 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8072 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8073 aros_target_cpu
="x86_64"
8074 aros_object_format
="elf_x86_64"
8075 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8078 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8084 aros_target_arch
="netbsd"
8085 aros_target_family
="unix"
8086 case "$target_cpu" in
8088 aros_target_cpu
="m68k"
8089 aros_object_format
="m68kelf"
8090 aros_flavour
="emulcompat"
8091 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8092 gcc_target_cpu
="mc68000"
8095 aros_target_cpu
="i386"
8096 aros_object_format
="elf_i386"
8097 aros_flavour
="emulation"
8098 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8099 aros_nominal_depth
=8
8100 gcc_target_cpu
="i386"
8103 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8106 aros_target_genmap
="-Wl,-M -Xlinker >"
8107 aros_flavour
="emulation"
8108 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8112 aros_target_arch
="openbsd"
8113 aros_target_family
="unix"
8114 case "$target_cpu" in
8116 aros_target_cpu
="i386"
8117 aros_object_format
="elf_i386"
8118 aros_flavour
="emulation"
8119 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8120 gcc_target_cpu
="i386"
8123 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8126 aros_target_genmap
="-Wl,-M -Xlinker >"
8127 aros_target_nm_flags
="-u"
8128 aros_flavour
="emulation"
8132 aros_target_arch
="solaris"
8133 aros_target_family
="unix"
8134 case "$target_cpu" in
8136 aros_target_cpu
="i386"
8137 aros_object_format
="elf_i386"
8138 aros_flavour
="emulation"
8139 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8140 aros_nominal_depth
=8
8141 gcc_target_cpu
="i386"
8144 aros_target_cpu
="sparc"
8145 aros_object_format
="elf_sparc"
8146 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8147 gcc_target_cpu
="sparc"
8150 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8153 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8154 aros_flavour
="emulation"
8158 aros_target_arch
="morphos"
8159 aros_shared_default
="no"
8160 aros_target_cpu
="ppc"
8161 aros_object_format
="elf_ppc"
8162 aros_flavour
="nativecompat"
8163 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8164 gcc_target_cpu
="ppc"
8168 aros_target_arch
="sam440"
8169 aros_shared_default
="no"
8170 aros_target_cpu
="ppc"
8171 aros_object_format
="elf32ppc"
8172 aros_flavour
="ppcnative"
8173 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8174 aros_kernel_ldflags
=""
8175 aros_nominal_width
=1024
8176 aros_nominal_height
=768
8177 aros_nominal_depth
=24
8178 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8179 gcc_target_cpu
="powerpc"
8183 aros_target_arch
="efika"
8184 aros_shared_default
="no"
8185 aros_target_cpu
="arm"
8186 aros_object_format
="armelf_aros"
8187 aros_flavour
="standalone"
8188 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8189 aros_kernel_ldflags
=""
8190 aros_nominal_width
=1024
8191 aros_nominal_height
=600
8192 aros_arch_libs
="-laeabi"
8193 gcc_default_cpu
="armv7-a"
8194 gcc_default_fpu
="vfpv3"
8195 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8196 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8197 aros_optimization_cflags
="$aros_optimization_cflags -Os"
8198 case "$target_cpu" in
8200 gcc_default_float_abi
="hard"
8205 gcc_default_float_abi
="softfp"
8208 as_fn_error $?
"\"Unknown CPU for EfikaMX $target_cpu\"" "$LINENO" 5
8214 aros_target_arch
="chrp"
8215 aros_shared_default
="no"
8216 aros_target_cpu
="ppc"
8217 aros_object_format
="elf32ppc"
8218 aros_flavour
="ppcnative"
8219 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8220 aros_kernel_ldflags
=""
8221 aros_nominal_width
=640
8222 aros_nominal_height
=480
8223 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8224 gcc_target_cpu
="powerpc"
8225 case "$aros_target_variant" in
8227 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8233 aros_flavour
="standalone"
8234 aros_target_arch
="raspi"
8235 aros_target_cpu
="arm"
8236 aros_object_format
="armelf_aros"
8237 aros_shared_default
="no"
8238 aros_arch_libs
="-laeabi"
8240 gcc_default_cpu
="armv6zk"
8241 gcc_default_cpu_tune
="arm1176jzf-s"
8243 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8244 aros_config_cflags
="$aros_config_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8245 aros_config_aflags
="$aros_config_aflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8246 aros_kernel_cflags
="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8247 aros_target_cflags
="$aros_kernel_cflags -marm -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8248 case "$aros_target_variant" in
8250 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8256 aros_flavour
="standalone"
8257 aros_target_arch
="stm32f7_discovery"
8258 aros_target_cpu
="arm"
8259 aros_target_cpu_mode
="thumb2"
8260 aros_object_format
="armelf_aros"
8261 aros_shared_default
="no"
8263 # stm32f7 has DSP opcode support
8264 gcc_default_cpu
="armv7e-m"
8265 # gcc_default_cpu="armv7-m"
8266 gcc_default_cpu_tune
="cortex-m7"
8267 gcc_default_fpu
="fpv4-sp-d16"
8268 # GCC does not recognize fpv5-sp-d16 which should be the correct one to use, or not...
8269 # gcc_default_fpu="fpv5-sp-d16"
8270 gcc_default_float_abi
="hard"
8272 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dthumb"
8276 aros_target_arch
="amiga"
8277 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8278 aros_shared_default
="no"
8280 case "$target_cpu" in
8282 # Check whether --enable-amigaos_compliance was given.
8283 if test "${enable_amigaos_compliance+set}" = set; then :
8284 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8288 aros_target_cpu
="m68k"
8289 aros_object_format
="m68kelf"
8290 aros_flavour
="standcompat"
8291 gcc_target_cpu
="m68000"
8292 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -Wno-volatile-register-var -DNOLIBINLINE"
8293 aros_optimization_cflags
="$aros_optimization_cflags -Os"
8294 aros_config_aflags
="$aros_config_aflags"
8295 aros_target_strip_flags
="-R.comment --strip-debug"
8296 aros_nominal_width
=640
8297 aros_nominal_height
=256
8298 aros_nominal_depth
=2
8302 aros_flavour
="native"
8303 gcc_target_cpu
="ppc"
8306 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8312 aros_target_arch
="mingw32"
8313 aros_shared_default
="no"
8314 aros_flavour
="emulation"
8315 aros_shared_cflags
=""
8316 need_crosstools
="yes"
8319 case "$target_cpu" in
8321 aros_target_cpu
="i386"
8322 aros_object_format
="elf_i386"
8323 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8324 aros_nominal_depth
=8
8325 gcc_target_cpu
="i386"
8327 kernel_tool_prefix
="i386-mingw32-"
8330 aros_target_cpu
="x86_64"
8331 aros_object_format
="elf_x86_64"
8332 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8333 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8334 aros_nominal_depth
=8
8335 kernel_tool_prefix
="x86_64-w64-mingw32-"
8338 aros_target_cpu
="arm"
8339 aros_object_format
="armelf_aros"
8340 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8341 aros_arch_libs
="-laeabi"
8342 aros_nominal_depth
=8
8343 gcc_target_cpu
="arm"
8344 gcc_default_float_abi
="soft"
8345 kernel_tool_prefix
="arm-mingw32ce-"
8346 aros_nominal_width
=160
8347 aros_nominal_height
=160
8350 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8353 if test $host_os = "cygwin"; then
8354 aros_kernel_cflags
="-mno-cygwin"
8358 aros_target_arch
="pp"
8359 aros_shared_default
="no"
8360 case "$target_cpu" in
8362 aros_target_cpu
="m68k"
8363 aros_object_format
="m68kelf"
8364 aros_flavour
="palmnative"
8365 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8366 aros_nominal_width
=160
8367 aros_nominal_height
=160
8368 aros_nominal_depth
=1
8369 aros_target_ar_flags
="cru"
8370 aros_compiler_libs
="-lgcc1"
8371 aros_shared_default
=no
8372 aros_shared_cflags
="-fpic"
8373 aros_shared_aflags
=""
8374 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8375 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8376 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8377 aros_debug_aflags
=""
8378 aros_debug_ldflags
="$aros_symbols_debug"
8379 aros_mungwall_debug
="0"
8380 aros_modules_debug
="0"
8381 gcc_target_cpu
="mc68000"
8382 ignore_undefined_symbols
="-ius"
8385 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8391 aros_target_arch
="mac"
8392 aros_shared_default
="no"
8393 case "$target_cpu" in
8395 aros_target_cpu
="m68k"
8396 aros_object_format
="m68kelf"
8397 aros_flavour
="mac68knative"
8398 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8399 aros_nominal_width
=512
8400 aros_nominal_height
=384
8401 aros_nominal_depth
=8
8402 aros_target_ar_flags
="cru"
8403 aros_compiler_libs
="-lgcc1"
8404 aros_shared_default
=no
8405 aros_shared_cflags
="-fpic"
8406 aros_shared_aflags
=""
8407 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8408 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8409 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8410 aros_debug_aflags
=""
8411 aros_debug_ldflags
="$aros_symbols_debug"
8412 aros_mungwall_debug
="0"
8413 aros_modules_debug
="0"
8414 gcc_target_cpu
="mc68000"
8415 ignore_undefined_symbols
="-ius"
8418 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8424 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8428 #-----------------------------------------------------------------------------
8429 crosstools_guess
="yes"
8430 aros_target_toolchain
="no"
8431 aros_config_sysroot
=""
8432 aros_kernel_sysroot
=""
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8435 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8437 # Check whether --with-kernel-toolchain-prefix was given.
8438 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8439 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8443 $as_echo "$kernel_tool_prefix" >&6; }
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8446 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8448 # Check whether --with-elf-toolchain-prefix was given.
8449 if test "${with_elf_toolchain_prefix+set}" = set; then :
8450 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8451 crosstools_guess
="no"
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8455 $as_echo "$elf_tool_prefix" >&6; }
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8458 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8460 # Check whether --with-aros-toolchain was given.
8461 if test "${with_aros_toolchain+set}" = set; then :
8462 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8463 crosstools_guess
="no"
8466 if test "$aros_tool_prefix" = "yes" ; then
8467 aros_tool_prefix
=$aros_target_cpu-aros-
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8470 $as_echo "$aros_tool_prefix" >&6; }
8472 #-----------------------------------------------------------------------------
8473 # Checking if we should build crosstools..
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8475 $as_echo_n "checking whether to build crosstools... " >&6; }
8476 # Check whether --enable-crosstools was given.
8477 if test "${enable_crosstools+set}" = set; then :
8478 enableval
=$enable_crosstools; crosstools
="$enableval"
8480 crosstools
="$crosstools_guess"
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8484 $as_echo "$crosstools" >&6; }
8486 if test "${crosstools}" = "yes"; then
8487 if test "${crosstools_guess}" = "no"; then
8488 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8492 if test "${crosstools}" = "yes" ||
test "${crosstools_guess}" = "no"; then
8493 aros_target_toolchain
="yes"
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8497 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8499 # Check whether --with-aros-toolchain-install was given.
8500 if test "${with_aros_toolchain_install+set}" = set; then :
8501 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8504 if test "x$aros_toolchain_install" = "x"; then
8505 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8507 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8508 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8509 if test "$crosstools_guess" = "no" ; then
8510 toolchain_needs_sysroot
=yes
8512 if test "x-$aros_flavour" != "x-emulation" -a "x-$aros_flavour" != "x-emulcompat" ; then
8513 aros_kernel_sysroot
= $aros_config_sysroot
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8518 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking If we need to use --sysroot" >&5
8521 $as_echo_n "checking If we need to use --sysroot... " >&6; }
8522 if test "$toolchain_needs_sysroot" = "yes" ; then
8523 aros_config_sysroot
="--sysroot $AROS_BUILDDIR_UNIX/bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development"
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolchain_needs_sysroot" >&5
8526 $as_echo "$toolchain_needs_sysroot" >&6; }
8528 #-----------------------------------------------------------------------------
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target binutils version to use" >&5
8530 $as_echo_n "checking what specific target binutils version to use... " >&6; }
8532 # Check whether --with-binutils-version was given.
8533 if test "${with_binutils_version+set}" = set; then :
8534 withval
=$with_binutils_version; use_binutils_version
="$withval"
8536 use_binutils_version
=""
8539 if test "$use_binutils_version" = ""; then
8540 target_binutils_version
="$default_binutils_version"
8542 target_binutils_version
="$use_binutils_version"
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_binutils_version" >&5
8545 $as_echo "$target_binutils_version" >&6; }
8548 # Helper to identify gcc version
8551 #-----------------------------------------------------------------------------
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
8553 $as_echo_n "checking what specific target gcc version to use... " >&6; }
8555 # Check whether --with-gcc-version was given.
8556 if test "${with_gcc_version+set}" = set; then :
8557 withval
=$with_gcc_version; use_gcc_version
="$withval"
8562 if test "$use_gcc_version" = ""; then
8563 if test "${crosstools}" = "no"; then
8564 if test "x$aros_toolchain_install" != "x"; then
8566 target_gcc_version
=""
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
8568 $as_echo_n "checking gcc version... " >&6; }
8569 if ${ax_cv_gcc_version+:} false
; then :
8570 $as_echo_n "(cached) " >&6
8573 ax_cv_gcc_version
="`$AROS_CROSSTOOLSDIR/${aros_tool_prefix}${toolchain_cpp_preprocessor} -dumpversion`"
8574 if test "x$ax_cv_gcc_version" = "x"; then :
8576 ax_cv_gcc_version
=""
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_version" >&5
8582 $as_echo "$ax_cv_gcc_version" >&6; }
8583 target_gcc_version
=$ax_cv_gcc_version
8588 if test "$use_gcc_version" = ""; then
8589 target_gcc_version
="$default_gcc_version"
8592 target_gcc_version
="$use_gcc_version"
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_gcc_version" >&5
8595 $as_echo "$target_gcc_version" >&6; }
8597 GCC_VERSION_MAJOR
=$
(echo $target_gcc_version | cut
-d'.' -f1)
8598 GCC_VERSION_MINOR
=$
(echo $target_gcc_version | cut
-d'.' -f2)
8599 GCC_VERSION_PATCH
=$
(echo $target_gcc_version | cut
-d'.' -f3)
8601 gcc_fix_bitfields
="false"
8602 if test "$GCC_VERSION_MAJOR" -gt "4" ; then
8603 gcc_fix_bitfields
="true"
8605 if test "$GCC_VERSION_MAJOR" -gt "3" ; then
8606 if test "$GCC_VERSION_MINOR" -gt "6" ; then
8607 gcc_fix_bitfields
="true"
8612 if test "$gcc_fix_bitfields" = "true" ; then
8613 case "$aros_target_cpu" in
8615 aros_kernel_cflags
="$aros_kernel_cflags -mno-ms-bitfields"
8616 aros_target_cflags
="$aros_target_cflags -mno-ms-bitfields"
8619 aros_kernel_cflags
="$aros_kernel_cflags -mno-ms-bitfields"
8620 aros_target_cflags
="$aros_target_cflags -mno-ms-bitfields"
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Objective-C suppport" >&5
8626 $as_echo_n "checking whether to enable Objective-C suppport... " >&6; }
8627 # Check whether --enable-objc was given.
8628 if test "${enable_objc+set}" = set; then :
8629 enableval
=$enable_objc; objc
="$enableval"
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objc" >&5
8635 $as_echo "$objc" >&6; }
8636 if test "x$objc" = "xyes"; then
8639 objc_target
="no-objc"
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Java suppport" >&5
8643 $as_echo_n "checking whether to enable Java suppport... " >&6; }
8644 # Check whether --enable-java was given.
8645 if test "${enable_java+set}" = set; then :
8646 enableval
=$enable_java; java
="$enableval"
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $java" >&5
8652 $as_echo "$java" >&6; }
8653 if test "x$java" != "xno"; then
8656 java_target
="no-java"
8659 spec_obj_format
="-m $aros_object_format"
8660 # Now process extra architecture-specific options.
8661 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
8662 # as well as floating-point ABI.
8663 case "$aros_target_cpu" in
8665 spec_obj_format
="%{!m32:-m elf_x86_64} %{m32:-m elf_i386}"
8668 if test "$gcc_default_cpu" = ""; then
8669 gcc_default_cpu
="armv6"
8671 if test "$gcc_default_fpu" = ""; then
8672 gcc_default_fpu
="vfp"
8674 if test "$gcc_default_float_abi" = ""; then
8675 if test "$target_cpu" = "armhf"; then
8676 gcc_default_float_abi
="hard"
8678 gcc_default_float_abi
="softfp"
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
8683 $as_echo_n "checking Which minimum CPU to use... " >&6; }
8685 # Check whether --with-cpu was given.
8686 if test "${with_cpu+set}" = set; then :
8687 withval
=$with_cpu; aros_gcc_cpu
="$withval"
8689 aros_gcc_cpu
=$gcc_default_cpu
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
8693 $as_echo "$aros_gcc_cpu" >&6; }
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
8696 $as_echo_n "checking Which minimum FPU to use... " >&6; }
8698 # Check whether --with-fpu was given.
8699 if test "${with_fpu+set}" = set; then :
8700 withval
=$with_fpu; aros_gcc_fpu
="$withval"
8702 aros_gcc_fpu
=$gcc_default_fpu
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
8706 $as_echo "$aros_gcc_fpu" >&6; }
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
8709 $as_echo_n "checking Which floating point ABI to use... " >&6; }
8711 # Check whether --with-float was given.
8712 if test "${with_float+set}" = set; then :
8713 withval
=$with_float; aros_gcc_float_abi
="$withval"
8715 aros_gcc_float_abi
=$gcc_default_float_abi
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
8719 $as_echo "$aros_gcc_float_abi" >&6; }
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which ARM mode to use" >&5
8722 $as_echo_n "checking Which ARM mode to use... " >&6; }
8723 if test "$aros_target_cpu_mode" = ""; then
8724 aros_target_cpu_mode
="arm32"
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Defaulting to $aros_target_cpu_mode" >&5
8726 $as_echo "Defaulting to $aros_target_cpu_mode" >&6; }
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cpu_mode" >&5
8729 $as_echo "$aros_target_cpu_mode" >&6; }
8732 case "$aros_target_cpu_mode" in
8734 gcc_default_mode
="arm"
8735 aros_isa_flags
="-m$gcc_default_mode -mthumb-interwork -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi"
8738 as_fn_error $?
"ARM 64-bit mode is unsupported" "$LINENO" 5
8741 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
8744 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
8747 gcc_default_mode
="thumb"
8748 # Do not specify -mthumb-interwork as it may add extra code to support arm/thumb interwork
8749 aros_isa_flags
="-m$gcc_default_mode -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi"
8752 as_fn_error $?
"Unsupported ARM mode specified $aros_target_cpu_mode" "$LINENO" 5
8756 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -fno-exceptions"
8757 aros_config_aflags
="$aros_config_aflags -fno-asynchronous-unwind-tables -fno-exceptions"
8760 aros_isa_flags
="-m32 -march=i486"
8761 aros_kernel_cflags
="$aros_kernel_cflags $aros_isa_flags"
8762 aros_kernel_ldflags
="$aros_kernel_ldflags -m32"
8766 # Some architectures may need custom ELF specs.
8767 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
8768 elf_specs_in
=config
/${aros_object_format}-specs.
in
8770 elf_specs_in
=config
/elf-specs.
in
8773 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
8774 # Since we override specs, we may need to put these defines there
8775 if test "$gcc_target_cpu" != ""; then
8776 gcc_target_cpu
="-D__${gcc_target_cpu}__"
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
8780 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
8782 # Check whether --with-portssources was given.
8783 if test "${with_portssources+set}" = set; then :
8784 withval
=$with_portssources; with_portssrcdir
=$withval
8786 with_portssrcdir
="default"
8789 if test "$with_portssrcdir" = "default"; then
8790 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8792 AROS_PORTSSRCDIR
="$with_portssrcdir"
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8795 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8798 $as_echo_n "checking which bootloader to use... " >&6; }
8800 # Check whether --with-bootloader was given.
8801 if test "${with_bootloader+set}" = set; then :
8802 withval
=$with_bootloader; target_bootloader
=$withval
8804 target_bootloader
=$target_bootloader
8807 if test "$target_bootloader" = "none"; then
8808 aros_target_bootloader
=""
8810 aros_target_bootloader
="$target_bootloader"
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8813 $as_echo "$target_bootloader" >&6; }
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8816 $as_echo_n "checking which icon-set to use... " >&6; }
8818 # Check whether --with-iconset was given.
8819 if test "${with_iconset+set}" = set; then :
8820 withval
=$with_iconset; target_iconset
=$withval
8822 target_iconset
="default"
8825 if test "$target_iconset" = "default"; then
8826 aros_target_iconset
="Gorilla"
8827 target_iconset
="default (Gorilla)"
8829 aros_target_iconset
="$target_iconset"
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8832 $as_echo "$target_iconset" >&6; }
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8835 $as_echo_n "checking which GUI Theme to use... " >&6; }
8837 # Check whether --with-theme was given.
8838 if test "${with_theme+set}" = set; then :
8839 withval
=$with_theme; target_guitheme
=$withval
8841 target_guitheme
="default"
8844 if test "$target_guitheme" = "default"; then
8845 aros_target_guitheme
="Ice"
8847 aros_target_guitheme
="$target_guitheme"
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8850 $as_echo "$aros_target_guitheme" >&6; }
8852 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8856 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8860 if test "$aros_host_cpu" == "x86_64" ; then
8861 if test "$aros_target_cpu" == "i386" ; then
8866 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8867 if test "$aros_host_arch" != "$aros_target_arch" ; then
8871 if test "$host_cc_elf" = "no" ; then
8876 if test "$cross_compiling" = "no" ; then
8877 kernel_tool_prefix
=""
8878 if test "$host_cc_elf" = "yes" ; then
8883 if test "$kernel_tool_version" != ""; then
8884 kernel_tool_version
="-$kernel_tool_version"
8887 #######################################################################
8888 ## Compute what toolchains to use, and their paths ##
8889 #######################################################################
8891 # This takes, as input:
8892 # crosstools {yes,no}
8893 # kernel_tool_version {"",[version]}
8894 # target_tool_version {"",[version]}
8895 # kernel_tool_prefix {none,[some-arch-os-]}
8897 # target_tool_prefix ${aros_target_cpu}-aros-
8898 # aros_tool_prefix ${aros_target_cpu}-aros-
8901 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8902 # Where the 'kernel' binaries are located
8903 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
8904 # Where the 'target' binaries are located
8905 # (not the symlink farm - that is aros_target_*!)
8908 # if crosstools then
8909 # if kernel_tools_prefix = "no-kernel-prefix-"
8910 # aros_kernel_* = crosstools cc paths
8911 # aros_kernel_cc = elf cc wrapper around crosstools cc
8913 # VALIDATE(${kernel_tools_prefix}*)
8914 # aros_kernel_* = ${kernel_tools_prefix}*
8915 # if ${kernel_tools_prefix}cc is an AROS gcc
8916 # aros_kernel_cc = ${kernel_tools_prefix}cc
8918 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
8922 # orig_target_* = aros built crosstools
8923 # orig_target_cc = elf cc wrapper around crosstools cc
8925 # VALIDATE(${kernel_tools_prefix}*)
8927 # orig_target_* = aros_kernel_*
8928 # if aros_kernel_cc is an AROS gcc
8929 # orig_target_cc = aros_kernel_cc
8931 # orig_target_cc = aros cc wrapper around aros_kernel_cc
8935 if test "$aros_toolchain" = "gnu" ; then
8936 target_tool_prefix
="${aros_target_cpu}-aros-"
8937 elif test "$aros_toolchain" = "llvm" ; then
8938 target_tool_prefix
="bin/"
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
8942 $as_echo_n "checking which kernel tools... " >&6; }
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8944 $as_echo "$kernel_tool_prefix" >&6; };
8946 if test "$kernel_tool_prefix" = "none" ; then
8947 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8948 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
8951 # Kernel tools required - find them
8952 # Note that 'normally', aros_kernel_* overrides will be
8953 # empty, unless specified in the per-arch sections above.
8954 if test "x$aros_kernel_cpp" = "x"; then
8955 aros_kernel_cpp
=${kernel_tool_prefix}${CPP}
8958 if test "$aros_kernel_cpp${kernel_tool_version}" = ""; then
8959 if test "$cross_compiling" = "yes" ; then
8960 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
8961 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8963 $as_echo_n "checking for $ac_word... " >&6; }
8964 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
8965 $as_echo_n "(cached) " >&6
8967 case $aros_kernel_cpp in
8969 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
8972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8976 test -z "$as_dir" && as_dir
=.
8977 for ac_exec_ext
in '' $ac_executable_extensions; do
8978 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8979 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
8980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8990 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
8991 if test -n "$aros_kernel_cpp"; then
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
8993 $as_echo "$aros_kernel_cpp" >&6; }
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8996 $as_echo "no" >&6; }
9001 if test "$GCC" = "yes"; then
9002 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
9003 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
9004 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9006 $as_echo_n "checking for $ac_word... " >&6; }
9007 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9008 $as_echo_n "(cached) " >&6
9010 case $aros_kernel_cpp in
9012 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9016 for as_dir
in `dirname $aros_gcc_cpp`
9019 test -z "$as_dir" && as_dir
=.
9020 for ac_exec_ext
in '' $ac_executable_extensions; do
9021 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9022 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9033 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9034 if test -n "$aros_kernel_cpp"; then
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9036 $as_echo "$aros_kernel_cpp" >&6; }
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9039 $as_echo "no" >&6; }
9044 if test "$aros_kernel_cpp" = ""; then
9045 # Extract the first word of "cpp", so it can be a program name with args.
9046 set dummy cpp
; ac_word
=$2
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9048 $as_echo_n "checking for $ac_word... " >&6; }
9049 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9050 $as_echo_n "(cached) " >&6
9052 case $aros_kernel_cpp in
9054 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9061 test -z "$as_dir" && as_dir
=.
9062 for ac_exec_ext
in '' $ac_executable_extensions; do
9063 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9064 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9075 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9076 if test -n "$aros_kernel_cpp"; then
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9078 $as_echo "$aros_kernel_cpp" >&6; }
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9081 $as_echo "no" >&6; }
9088 # Extract the first word of "$aros_kernel_cpp${kernel_tool_version}", so it can be a program name with args.
9089 set dummy
$aros_kernel_cpp${kernel_tool_version}; ac_word
=$2
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9091 $as_echo_n "checking for $ac_word... " >&6; }
9092 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9093 $as_echo_n "(cached) " >&6
9095 case $aros_kernel_cpp in
9097 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9104 test -z "$as_dir" && as_dir
=.
9105 for ac_exec_ext
in '' $ac_executable_extensions; do
9106 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9107 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9118 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9119 if test -n "$aros_kernel_cpp"; then
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9121 $as_echo "$aros_kernel_cpp" >&6; }
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9124 $as_echo "no" >&6; }
9130 if test "$aros_kernel_cpp" = ""; then
9131 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
9133 if test "x$aros_kernel_cc" = "x"; then
9134 aros_kernel_cc
=${kernel_tool_prefix}${CC}
9137 if test "$aros_kernel_cc${kernel_tool_version}" = ""; then
9138 if test "$cross_compiling" = "yes" ; then
9139 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
9140 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9142 $as_echo_n "checking for $ac_word... " >&6; }
9143 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9144 $as_echo_n "(cached) " >&6
9146 case $aros_kernel_cc in
9148 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9155 test -z "$as_dir" && as_dir
=.
9156 for ac_exec_ext
in '' $ac_executable_extensions; do
9157 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9158 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9169 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9170 if test -n "$aros_kernel_cc"; then
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9172 $as_echo "$aros_kernel_cc" >&6; }
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9175 $as_echo "no" >&6; }
9180 if test "$GCC" = "yes"; then
9181 aros_gcc_cc
=`$CC -print-prog-name=cc`
9182 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
9183 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9185 $as_echo_n "checking for $ac_word... " >&6; }
9186 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9187 $as_echo_n "(cached) " >&6
9189 case $aros_kernel_cc in
9191 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9195 for as_dir
in `dirname $aros_gcc_cc`
9198 test -z "$as_dir" && as_dir
=.
9199 for ac_exec_ext
in '' $ac_executable_extensions; do
9200 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9201 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9212 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9213 if test -n "$aros_kernel_cc"; then
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9215 $as_echo "$aros_kernel_cc" >&6; }
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9218 $as_echo "no" >&6; }
9223 if test "$aros_kernel_cc" = ""; then
9224 # Extract the first word of "cc", so it can be a program name with args.
9225 set dummy cc
; ac_word
=$2
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9227 $as_echo_n "checking for $ac_word... " >&6; }
9228 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9229 $as_echo_n "(cached) " >&6
9231 case $aros_kernel_cc in
9233 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9240 test -z "$as_dir" && as_dir
=.
9241 for ac_exec_ext
in '' $ac_executable_extensions; do
9242 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9243 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9254 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9255 if test -n "$aros_kernel_cc"; then
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9257 $as_echo "$aros_kernel_cc" >&6; }
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9260 $as_echo "no" >&6; }
9267 # Extract the first word of "$aros_kernel_cc${kernel_tool_version}", so it can be a program name with args.
9268 set dummy
$aros_kernel_cc${kernel_tool_version}; ac_word
=$2
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9270 $as_echo_n "checking for $ac_word... " >&6; }
9271 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9272 $as_echo_n "(cached) " >&6
9274 case $aros_kernel_cc in
9276 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9283 test -z "$as_dir" && as_dir
=.
9284 for ac_exec_ext
in '' $ac_executable_extensions; do
9285 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9286 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9297 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9298 if test -n "$aros_kernel_cc"; then
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9300 $as_echo "$aros_kernel_cc" >&6; }
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9303 $as_echo "no" >&6; }
9309 if test "$aros_kernel_cc" = ""; then
9310 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9312 if test "x$aros_kernel_cxx" = "x"; then
9313 aros_kernel_cxx
=${kernel_tool_prefix}${CXX}
9316 if test "$aros_kernel_cxx${kernel_tool_version}" = ""; then
9317 if test "$cross_compiling" = "yes" ; then
9318 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9319 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9321 $as_echo_n "checking for $ac_word... " >&6; }
9322 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9323 $as_echo_n "(cached) " >&6
9325 case $aros_kernel_cxx in
9327 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9334 test -z "$as_dir" && as_dir
=.
9335 for ac_exec_ext
in '' $ac_executable_extensions; do
9336 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9337 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9348 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9349 if test -n "$aros_kernel_cxx"; then
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9351 $as_echo "$aros_kernel_cxx" >&6; }
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9354 $as_echo "no" >&6; }
9359 if test "$GCC" = "yes"; then
9360 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9361 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9362 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9364 $as_echo_n "checking for $ac_word... " >&6; }
9365 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9366 $as_echo_n "(cached) " >&6
9368 case $aros_kernel_cxx in
9370 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9374 for as_dir
in `dirname $aros_gcc_cxx`
9377 test -z "$as_dir" && as_dir
=.
9378 for ac_exec_ext
in '' $ac_executable_extensions; do
9379 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9380 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9391 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9392 if test -n "$aros_kernel_cxx"; then
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9394 $as_echo "$aros_kernel_cxx" >&6; }
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9397 $as_echo "no" >&6; }
9402 if test "$aros_kernel_cxx" = ""; then
9403 # Extract the first word of "cxx", so it can be a program name with args.
9404 set dummy cxx
; ac_word
=$2
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9406 $as_echo_n "checking for $ac_word... " >&6; }
9407 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9408 $as_echo_n "(cached) " >&6
9410 case $aros_kernel_cxx in
9412 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9419 test -z "$as_dir" && as_dir
=.
9420 for ac_exec_ext
in '' $ac_executable_extensions; do
9421 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9422 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9433 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9434 if test -n "$aros_kernel_cxx"; then
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9436 $as_echo "$aros_kernel_cxx" >&6; }
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9439 $as_echo "no" >&6; }
9446 # Extract the first word of "$aros_kernel_cxx${kernel_tool_version}", so it can be a program name with args.
9447 set dummy
$aros_kernel_cxx${kernel_tool_version}; ac_word
=$2
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9449 $as_echo_n "checking for $ac_word... " >&6; }
9450 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9451 $as_echo_n "(cached) " >&6
9453 case $aros_kernel_cxx in
9455 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9462 test -z "$as_dir" && as_dir
=.
9463 for ac_exec_ext
in '' $ac_executable_extensions; do
9464 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9465 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9476 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9477 if test -n "$aros_kernel_cxx"; then
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9479 $as_echo "$aros_kernel_cxx" >&6; }
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9482 $as_echo "no" >&6; }
9488 # If it's set, make sure it's really there
9489 if test "x$aros_kernel_cxx" != "x" ; then
9490 if test "$aros_kernel_cxx" = ""; then
9491 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9495 if test "$aros_kernel_ld" = ""; then
9496 if test "$cross_compiling" = "yes" ; then
9497 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9498 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9500 $as_echo_n "checking for $ac_word... " >&6; }
9501 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9502 $as_echo_n "(cached) " >&6
9504 case $aros_kernel_ld in
9506 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9513 test -z "$as_dir" && as_dir
=.
9514 for ac_exec_ext
in '' $ac_executable_extensions; do
9515 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9516 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9527 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9528 if test -n "$aros_kernel_ld"; then
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9530 $as_echo "$aros_kernel_ld" >&6; }
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9533 $as_echo "no" >&6; }
9538 if test "$GCC" = "yes"; then
9539 aros_gcc_ld
=`$CC -print-prog-name=ld`
9540 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9541 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9543 $as_echo_n "checking for $ac_word... " >&6; }
9544 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9545 $as_echo_n "(cached) " >&6
9547 case $aros_kernel_ld in
9549 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9553 for as_dir
in `dirname $aros_gcc_ld`
9556 test -z "$as_dir" && as_dir
=.
9557 for ac_exec_ext
in '' $ac_executable_extensions; do
9558 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9559 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9570 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9571 if test -n "$aros_kernel_ld"; then
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9573 $as_echo "$aros_kernel_ld" >&6; }
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9576 $as_echo "no" >&6; }
9581 if test "$aros_kernel_ld" = ""; then
9582 # Extract the first word of "ld", so it can be a program name with args.
9583 set dummy ld
; ac_word
=$2
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9585 $as_echo_n "checking for $ac_word... " >&6; }
9586 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9587 $as_echo_n "(cached) " >&6
9589 case $aros_kernel_ld in
9591 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9598 test -z "$as_dir" && as_dir
=.
9599 for ac_exec_ext
in '' $ac_executable_extensions; do
9600 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9601 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9612 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9613 if test -n "$aros_kernel_ld"; then
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9615 $as_echo "$aros_kernel_ld" >&6; }
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9618 $as_echo "no" >&6; }
9625 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9626 set dummy
$aros_kernel_ld; ac_word
=$2
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9628 $as_echo_n "checking for $ac_word... " >&6; }
9629 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9630 $as_echo_n "(cached) " >&6
9632 case $aros_kernel_ld in
9634 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9641 test -z "$as_dir" && as_dir
=.
9642 for ac_exec_ext
in '' $ac_executable_extensions; do
9643 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9644 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9655 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9656 if test -n "$aros_kernel_ld"; then
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9658 $as_echo "$aros_kernel_ld" >&6; }
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9661 $as_echo "no" >&6; }
9667 if test "$aros_kernel_ld" = ""; then
9668 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9671 if test "$aros_kernel_as" = ""; then
9672 if test "$cross_compiling" = "yes" ; then
9673 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
9674 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9676 $as_echo_n "checking for $ac_word... " >&6; }
9677 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9678 $as_echo_n "(cached) " >&6
9680 case $aros_kernel_as in
9682 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9689 test -z "$as_dir" && as_dir
=.
9690 for ac_exec_ext
in '' $ac_executable_extensions; do
9691 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9692 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9703 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9704 if test -n "$aros_kernel_as"; then
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9706 $as_echo "$aros_kernel_as" >&6; }
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9709 $as_echo "no" >&6; }
9714 if test "$GCC" = "yes"; then
9715 aros_gcc_as
=`$CC -print-prog-name=as`
9716 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9717 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9719 $as_echo_n "checking for $ac_word... " >&6; }
9720 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9721 $as_echo_n "(cached) " >&6
9723 case $aros_kernel_as in
9725 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9729 for as_dir
in `dirname $aros_gcc_as`
9732 test -z "$as_dir" && as_dir
=.
9733 for ac_exec_ext
in '' $ac_executable_extensions; do
9734 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9735 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9746 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9747 if test -n "$aros_kernel_as"; then
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9749 $as_echo "$aros_kernel_as" >&6; }
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9752 $as_echo "no" >&6; }
9757 if test "$aros_kernel_as" = ""; then
9758 # Extract the first word of "as", so it can be a program name with args.
9759 set dummy as
; ac_word
=$2
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9761 $as_echo_n "checking for $ac_word... " >&6; }
9762 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9763 $as_echo_n "(cached) " >&6
9765 case $aros_kernel_as in
9767 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9774 test -z "$as_dir" && as_dir
=.
9775 for ac_exec_ext
in '' $ac_executable_extensions; do
9776 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9777 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9788 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9789 if test -n "$aros_kernel_as"; then
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9791 $as_echo "$aros_kernel_as" >&6; }
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9794 $as_echo "no" >&6; }
9801 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
9802 set dummy
$aros_kernel_as; ac_word
=$2
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9804 $as_echo_n "checking for $ac_word... " >&6; }
9805 if ${ac_cv_path_aros_kernel_as+:} false
; then :
9806 $as_echo_n "(cached) " >&6
9808 case $aros_kernel_as in
9810 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
9813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9817 test -z "$as_dir" && as_dir
=.
9818 for ac_exec_ext
in '' $ac_executable_extensions; do
9819 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9820 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
9821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9831 aros_kernel_as
=$ac_cv_path_aros_kernel_as
9832 if test -n "$aros_kernel_as"; then
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
9834 $as_echo "$aros_kernel_as" >&6; }
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9837 $as_echo "no" >&6; }
9843 if test "$aros_kernel_as" = ""; then
9844 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9847 if test "$aros_kernel_ar" = ""; then
9848 if test "$cross_compiling" = "yes" ; then
9849 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
9850 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9852 $as_echo_n "checking for $ac_word... " >&6; }
9853 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9854 $as_echo_n "(cached) " >&6
9856 case $aros_kernel_ar in
9858 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9865 test -z "$as_dir" && as_dir
=.
9866 for ac_exec_ext
in '' $ac_executable_extensions; do
9867 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9868 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9879 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9880 if test -n "$aros_kernel_ar"; then
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9882 $as_echo "$aros_kernel_ar" >&6; }
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9885 $as_echo "no" >&6; }
9890 if test "$GCC" = "yes"; then
9891 aros_gcc_ar
=`$CC -print-prog-name=ar`
9892 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9893 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9895 $as_echo_n "checking for $ac_word... " >&6; }
9896 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9897 $as_echo_n "(cached) " >&6
9899 case $aros_kernel_ar in
9901 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9905 for as_dir
in `dirname $aros_gcc_ar`
9908 test -z "$as_dir" && as_dir
=.
9909 for ac_exec_ext
in '' $ac_executable_extensions; do
9910 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9911 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9922 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9923 if test -n "$aros_kernel_ar"; then
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9925 $as_echo "$aros_kernel_ar" >&6; }
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9928 $as_echo "no" >&6; }
9933 if test "$aros_kernel_ar" = ""; then
9934 # Extract the first word of "ar", so it can be a program name with args.
9935 set dummy
ar; ac_word
=$2
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9937 $as_echo_n "checking for $ac_word... " >&6; }
9938 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9939 $as_echo_n "(cached) " >&6
9941 case $aros_kernel_ar in
9943 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9950 test -z "$as_dir" && as_dir
=.
9951 for ac_exec_ext
in '' $ac_executable_extensions; do
9952 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9953 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9964 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
9965 if test -n "$aros_kernel_ar"; then
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
9967 $as_echo "$aros_kernel_ar" >&6; }
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9970 $as_echo "no" >&6; }
9977 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
9978 set dummy
$aros_kernel_ar; ac_word
=$2
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9980 $as_echo_n "checking for $ac_word... " >&6; }
9981 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
9982 $as_echo_n "(cached) " >&6
9984 case $aros_kernel_ar in
9986 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
9989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9993 test -z "$as_dir" && as_dir
=.
9994 for ac_exec_ext
in '' $ac_executable_extensions; do
9995 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9996 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
9997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10007 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10008 if test -n "$aros_kernel_ar"; then
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10010 $as_echo "$aros_kernel_ar" >&6; }
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10013 $as_echo "no" >&6; }
10019 if test "$aros_kernel_ar" = ""; then
10020 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
10023 if test "$aros_kernel_ranlib" = ""; then
10024 if test "$cross_compiling" = "yes" ; then
10025 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
10026 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10028 $as_echo_n "checking for $ac_word... " >&6; }
10029 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10030 $as_echo_n "(cached) " >&6
10032 case $aros_kernel_ranlib in
10034 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10038 for as_dir
in $PATH
10041 test -z "$as_dir" && as_dir
=.
10042 for ac_exec_ext
in '' $ac_executable_extensions; do
10043 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10044 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10055 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10056 if test -n "$aros_kernel_ranlib"; then
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10058 $as_echo "$aros_kernel_ranlib" >&6; }
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10061 $as_echo "no" >&6; }
10066 if test "$GCC" = "yes"; then
10067 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10068 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10069 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10071 $as_echo_n "checking for $ac_word... " >&6; }
10072 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10073 $as_echo_n "(cached) " >&6
10075 case $aros_kernel_ranlib in
10077 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10081 for as_dir
in `dirname $aros_gcc_ranlib`
10084 test -z "$as_dir" && as_dir
=.
10085 for ac_exec_ext
in '' $ac_executable_extensions; do
10086 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10087 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10098 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10099 if test -n "$aros_kernel_ranlib"; then
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10101 $as_echo "$aros_kernel_ranlib" >&6; }
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10104 $as_echo "no" >&6; }
10109 if test "$aros_kernel_ranlib" = ""; then
10110 # Extract the first word of "ranlib", so it can be a program name with args.
10111 set dummy ranlib
; ac_word
=$2
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10113 $as_echo_n "checking for $ac_word... " >&6; }
10114 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10115 $as_echo_n "(cached) " >&6
10117 case $aros_kernel_ranlib in
10119 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10123 for as_dir
in $PATH
10126 test -z "$as_dir" && as_dir
=.
10127 for ac_exec_ext
in '' $ac_executable_extensions; do
10128 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10129 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10140 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10141 if test -n "$aros_kernel_ranlib"; then
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10143 $as_echo "$aros_kernel_ranlib" >&6; }
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10146 $as_echo "no" >&6; }
10153 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
10154 set dummy
$aros_kernel_ranlib; ac_word
=$2
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10156 $as_echo_n "checking for $ac_word... " >&6; }
10157 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10158 $as_echo_n "(cached) " >&6
10160 case $aros_kernel_ranlib in
10162 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10166 for as_dir
in $PATH
10169 test -z "$as_dir" && as_dir
=.
10170 for ac_exec_ext
in '' $ac_executable_extensions; do
10171 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10172 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10183 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10184 if test -n "$aros_kernel_ranlib"; then
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10186 $as_echo "$aros_kernel_ranlib" >&6; }
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10189 $as_echo "no" >&6; }
10195 if test "$aros_kernel_ranlib" = ""; then
10196 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
10199 if test "$aros_kernel_nm" = ""; then
10200 if test "$cross_compiling" = "yes" ; then
10201 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
10202 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10204 $as_echo_n "checking for $ac_word... " >&6; }
10205 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10206 $as_echo_n "(cached) " >&6
10208 case $aros_kernel_nm in
10210 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10214 for as_dir
in $PATH
10217 test -z "$as_dir" && as_dir
=.
10218 for ac_exec_ext
in '' $ac_executable_extensions; do
10219 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10220 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10231 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10232 if test -n "$aros_kernel_nm"; then
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10234 $as_echo "$aros_kernel_nm" >&6; }
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10237 $as_echo "no" >&6; }
10242 if test "$GCC" = "yes"; then
10243 aros_gcc_nm
=`$CC -print-prog-name=nm`
10244 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10245 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10247 $as_echo_n "checking for $ac_word... " >&6; }
10248 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10249 $as_echo_n "(cached) " >&6
10251 case $aros_kernel_nm in
10253 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10257 for as_dir
in `dirname $aros_gcc_nm`
10260 test -z "$as_dir" && as_dir
=.
10261 for ac_exec_ext
in '' $ac_executable_extensions; do
10262 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10263 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10274 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10275 if test -n "$aros_kernel_nm"; then
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10277 $as_echo "$aros_kernel_nm" >&6; }
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10280 $as_echo "no" >&6; }
10285 if test "$aros_kernel_nm" = ""; then
10286 # Extract the first word of "nm", so it can be a program name with args.
10287 set dummy nm
; ac_word
=$2
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10289 $as_echo_n "checking for $ac_word... " >&6; }
10290 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10291 $as_echo_n "(cached) " >&6
10293 case $aros_kernel_nm in
10295 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10299 for as_dir
in $PATH
10302 test -z "$as_dir" && as_dir
=.
10303 for ac_exec_ext
in '' $ac_executable_extensions; do
10304 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10305 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10316 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10317 if test -n "$aros_kernel_nm"; then
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10319 $as_echo "$aros_kernel_nm" >&6; }
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10322 $as_echo "no" >&6; }
10329 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10330 set dummy
$aros_kernel_nm; ac_word
=$2
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10332 $as_echo_n "checking for $ac_word... " >&6; }
10333 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10334 $as_echo_n "(cached) " >&6
10336 case $aros_kernel_nm in
10338 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10342 for as_dir
in $PATH
10345 test -z "$as_dir" && as_dir
=.
10346 for ac_exec_ext
in '' $ac_executable_extensions; do
10347 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10348 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10359 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10360 if test -n "$aros_kernel_nm"; then
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10362 $as_echo "$aros_kernel_nm" >&6; }
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10365 $as_echo "no" >&6; }
10371 if test "$aros_kernel_nm" = ""; then
10372 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10375 if test "$aros_kernel_strip" = ""; then
10376 if test "$cross_compiling" = "yes" ; then
10377 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10378 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10380 $as_echo_n "checking for $ac_word... " >&6; }
10381 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10382 $as_echo_n "(cached) " >&6
10384 case $aros_kernel_strip in
10386 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10390 for as_dir
in $PATH
10393 test -z "$as_dir" && as_dir
=.
10394 for ac_exec_ext
in '' $ac_executable_extensions; do
10395 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10396 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10407 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10408 if test -n "$aros_kernel_strip"; then
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10410 $as_echo "$aros_kernel_strip" >&6; }
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10413 $as_echo "no" >&6; }
10418 if test "$GCC" = "yes"; then
10419 aros_gcc_strip
=`$CC -print-prog-name=strip`
10420 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10421 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10423 $as_echo_n "checking for $ac_word... " >&6; }
10424 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10425 $as_echo_n "(cached) " >&6
10427 case $aros_kernel_strip in
10429 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10433 for as_dir
in `dirname $aros_gcc_strip`
10436 test -z "$as_dir" && as_dir
=.
10437 for ac_exec_ext
in '' $ac_executable_extensions; do
10438 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10439 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10450 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10451 if test -n "$aros_kernel_strip"; then
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10453 $as_echo "$aros_kernel_strip" >&6; }
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10456 $as_echo "no" >&6; }
10461 if test "$aros_kernel_strip" = ""; then
10462 # Extract the first word of "strip", so it can be a program name with args.
10463 set dummy strip
; ac_word
=$2
10464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10465 $as_echo_n "checking for $ac_word... " >&6; }
10466 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10467 $as_echo_n "(cached) " >&6
10469 case $aros_kernel_strip in
10471 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10475 for as_dir
in $PATH
10478 test -z "$as_dir" && as_dir
=.
10479 for ac_exec_ext
in '' $ac_executable_extensions; do
10480 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10481 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10492 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10493 if test -n "$aros_kernel_strip"; then
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10495 $as_echo "$aros_kernel_strip" >&6; }
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10498 $as_echo "no" >&6; }
10505 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
10506 set dummy
$aros_kernel_strip; ac_word
=$2
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10508 $as_echo_n "checking for $ac_word... " >&6; }
10509 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10510 $as_echo_n "(cached) " >&6
10512 case $aros_kernel_strip in
10514 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10518 for as_dir
in $PATH
10521 test -z "$as_dir" && as_dir
=.
10522 for ac_exec_ext
in '' $ac_executable_extensions; do
10523 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10524 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10535 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10536 if test -n "$aros_kernel_strip"; then
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10538 $as_echo "$aros_kernel_strip" >&6; }
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10541 $as_echo "no" >&6; }
10547 if test "$aros_kernel_strip" = ""; then
10548 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10551 # Objcopy and objdump are not required for the kernel
10552 # toolchain on many architectures.
10553 # So we'll look for them, but not make them strictly required.
10555 if test "$aros_kernel_objcopy" = ""; then
10556 if test "$cross_compiling" = "yes" ; then
10557 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
10558 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10560 $as_echo_n "checking for $ac_word... " >&6; }
10561 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10562 $as_echo_n "(cached) " >&6
10564 case $aros_kernel_objcopy in
10566 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10570 for as_dir
in $PATH
10573 test -z "$as_dir" && as_dir
=.
10574 for ac_exec_ext
in '' $ac_executable_extensions; do
10575 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10576 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10587 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10588 if test -n "$aros_kernel_objcopy"; then
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10590 $as_echo "$aros_kernel_objcopy" >&6; }
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10593 $as_echo "no" >&6; }
10598 if test "$GCC" = "yes"; then
10599 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10600 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10601 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10603 $as_echo_n "checking for $ac_word... " >&6; }
10604 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10605 $as_echo_n "(cached) " >&6
10607 case $aros_kernel_objcopy in
10609 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10613 for as_dir
in `dirname $aros_gcc_objcopy`
10616 test -z "$as_dir" && as_dir
=.
10617 for ac_exec_ext
in '' $ac_executable_extensions; do
10618 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10619 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10630 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10631 if test -n "$aros_kernel_objcopy"; then
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10633 $as_echo "$aros_kernel_objcopy" >&6; }
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10636 $as_echo "no" >&6; }
10641 if test "$aros_kernel_objcopy" = ""; then
10642 # Extract the first word of "objcopy", so it can be a program name with args.
10643 set dummy objcopy
; ac_word
=$2
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10645 $as_echo_n "checking for $ac_word... " >&6; }
10646 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10647 $as_echo_n "(cached) " >&6
10649 case $aros_kernel_objcopy in
10651 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10655 for as_dir
in $PATH
10658 test -z "$as_dir" && as_dir
=.
10659 for ac_exec_ext
in '' $ac_executable_extensions; do
10660 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10661 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10672 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10673 if test -n "$aros_kernel_objcopy"; then
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10675 $as_echo "$aros_kernel_objcopy" >&6; }
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10678 $as_echo "no" >&6; }
10685 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
10686 set dummy
$aros_kernel_objcopy; ac_word
=$2
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10688 $as_echo_n "checking for $ac_word... " >&6; }
10689 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
10690 $as_echo_n "(cached) " >&6
10692 case $aros_kernel_objcopy in
10694 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
10697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10698 for as_dir
in $PATH
10701 test -z "$as_dir" && as_dir
=.
10702 for ac_exec_ext
in '' $ac_executable_extensions; do
10703 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10704 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
10705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10715 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
10716 if test -n "$aros_kernel_objcopy"; then
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
10718 $as_echo "$aros_kernel_objcopy" >&6; }
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10721 $as_echo "no" >&6; }
10728 if test "$aros_kernel_objdump" = ""; then
10729 if test "$cross_compiling" = "yes" ; then
10730 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
10731 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10733 $as_echo_n "checking for $ac_word... " >&6; }
10734 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10735 $as_echo_n "(cached) " >&6
10737 case $aros_kernel_objdump in
10739 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10743 for as_dir
in $PATH
10746 test -z "$as_dir" && as_dir
=.
10747 for ac_exec_ext
in '' $ac_executable_extensions; do
10748 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10749 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10760 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10761 if test -n "$aros_kernel_objdump"; then
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10763 $as_echo "$aros_kernel_objdump" >&6; }
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10766 $as_echo "no" >&6; }
10771 if test "$GCC" = "yes"; then
10772 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10773 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10774 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10776 $as_echo_n "checking for $ac_word... " >&6; }
10777 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10778 $as_echo_n "(cached) " >&6
10780 case $aros_kernel_objdump in
10782 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10786 for as_dir
in `dirname $aros_gcc_objdump`
10789 test -z "$as_dir" && as_dir
=.
10790 for ac_exec_ext
in '' $ac_executable_extensions; do
10791 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10792 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10803 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10804 if test -n "$aros_kernel_objdump"; then
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10806 $as_echo "$aros_kernel_objdump" >&6; }
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10809 $as_echo "no" >&6; }
10814 if test "$aros_kernel_objdump" = ""; then
10815 # Extract the first word of "objdump", so it can be a program name with args.
10816 set dummy objdump
; ac_word
=$2
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10818 $as_echo_n "checking for $ac_word... " >&6; }
10819 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10820 $as_echo_n "(cached) " >&6
10822 case $aros_kernel_objdump in
10824 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10828 for as_dir
in $PATH
10831 test -z "$as_dir" && as_dir
=.
10832 for ac_exec_ext
in '' $ac_executable_extensions; do
10833 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10834 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10845 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10846 if test -n "$aros_kernel_objdump"; then
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10848 $as_echo "$aros_kernel_objdump" >&6; }
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10851 $as_echo "no" >&6; }
10858 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
10859 set dummy
$aros_kernel_objdump; ac_word
=$2
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10861 $as_echo_n "checking for $ac_word... " >&6; }
10862 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
10863 $as_echo_n "(cached) " >&6
10865 case $aros_kernel_objdump in
10867 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
10870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10871 for as_dir
in $PATH
10874 test -z "$as_dir" && as_dir
=.
10875 for ac_exec_ext
in '' $ac_executable_extensions; do
10876 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10877 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
10878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10888 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
10889 if test -n "$aros_kernel_objdump"; then
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
10891 $as_echo "$aros_kernel_objdump" >&6; }
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10894 $as_echo "no" >&6; }
10900 if test "x${crosstools}" != "xyes" ; then
10901 if test "$aros_kernel_objcopy" = ""; then
10902 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
10904 if test "$aros_kernel_objdump" = ""; then
10905 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
10911 $as_echo_n "checking which target tools to use... " >&6; }
10912 if test "$aros_target_toolchain" = "yes"; then
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_prefix" >&5
10914 $as_echo "$target_tool_prefix" >&6; }
10915 # We are building AROS crosstools
10916 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
10917 orig_target_cc
="${tmp_tool_prefix}${toolchain_c_compiler}${target_tool_version}"
10918 orig_target_cxx
="${tmp_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}"
10919 orig_target_cpp
="${tmp_tool_prefix}${toolchain_cpp_preprocessor}"
10920 orig_target_ld
="${tmp_tool_prefix}ld"
10921 orig_target_as
="${tmp_tool_prefix}as"
10922 orig_target_ar
="${tmp_tool_prefix}ar"
10923 orig_target_ranlib
="${tmp_tool_prefix}ranlib"
10924 orig_target_nm
="${tmp_tool_prefix}nm"
10925 orig_target_strip
="${tmp_tool_prefix}strip"
10926 orig_target_objcopy
="${tmp_tool_prefix}objcopy"
10927 orig_target_objdump
="${tmp_tool_prefix}objdump"
10929 # Determine whether AROS or ELF tools should be used
10930 if test "$aros_tool_prefix" = "none"; then
10931 aros_tool_prefix
="${elf_tool_prefix}"
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
10935 $as_echo "$aros_tool_prefix" >&6; }
10936 # We are *not* building AROS crosstools - use the AROS or ELF tools
10938 if test "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" = ""; then
10939 if test "$cross_compiling" = "yes" ; then
10940 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
10941 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10943 $as_echo_n "checking for $ac_word... " >&6; }
10944 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10945 $as_echo_n "(cached) " >&6
10947 case $orig_target_cpp in
10949 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10953 for as_dir
in $PATH
10956 test -z "$as_dir" && as_dir
=.
10957 for ac_exec_ext
in '' $ac_executable_extensions; do
10958 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10959 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
10960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10970 orig_target_cpp
=$ac_cv_path_orig_target_cpp
10971 if test -n "$orig_target_cpp"; then
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
10973 $as_echo "$orig_target_cpp" >&6; }
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10976 $as_echo "no" >&6; }
10981 if test "$GCC" = "yes"; then
10982 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
10983 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
10984 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10986 $as_echo_n "checking for $ac_word... " >&6; }
10987 if ${ac_cv_path_orig_target_cpp+:} false
; then :
10988 $as_echo_n "(cached) " >&6
10990 case $orig_target_cpp in
10992 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
10995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10996 for as_dir
in `dirname $aros_gcc_cpp`
10999 test -z "$as_dir" && as_dir
=.
11000 for ac_exec_ext
in '' $ac_executable_extensions; do
11001 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11002 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11013 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11014 if test -n "$orig_target_cpp"; then
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11016 $as_echo "$orig_target_cpp" >&6; }
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11019 $as_echo "no" >&6; }
11024 if test "$orig_target_cpp" = ""; then
11025 # Extract the first word of "cpp", so it can be a program name with args.
11026 set dummy cpp
; ac_word
=$2
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11028 $as_echo_n "checking for $ac_word... " >&6; }
11029 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11030 $as_echo_n "(cached) " >&6
11032 case $orig_target_cpp in
11034 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11038 for as_dir
in $PATH
11041 test -z "$as_dir" && as_dir
=.
11042 for ac_exec_ext
in '' $ac_executable_extensions; do
11043 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11044 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11055 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11056 if test -n "$orig_target_cpp"; then
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11058 $as_echo "$orig_target_cpp" >&6; }
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11061 $as_echo "no" >&6; }
11068 # Extract the first word of "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}", so it can be a program name with args.
11069 set dummy
${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}; ac_word
=$2
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11071 $as_echo_n "checking for $ac_word... " >&6; }
11072 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11073 $as_echo_n "(cached) " >&6
11075 case $orig_target_cpp in
11077 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11081 for as_dir
in $PATH
11084 test -z "$as_dir" && as_dir
=.
11085 for ac_exec_ext
in '' $ac_executable_extensions; do
11086 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11087 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11098 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11099 if test -n "$orig_target_cpp"; then
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11101 $as_echo "$orig_target_cpp" >&6; }
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11104 $as_echo "no" >&6; }
11110 if test "$orig_target_cpp" = ""; then
11111 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
11114 if test "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" = ""; then
11115 if test "$cross_compiling" = "yes" ; then
11116 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11117 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11119 $as_echo_n "checking for $ac_word... " >&6; }
11120 if ${ac_cv_path_orig_target_cc+:} false
; then :
11121 $as_echo_n "(cached) " >&6
11123 case $orig_target_cc in
11125 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11129 for as_dir
in $PATH
11132 test -z "$as_dir" && as_dir
=.
11133 for ac_exec_ext
in '' $ac_executable_extensions; do
11134 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11135 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11146 orig_target_cc
=$ac_cv_path_orig_target_cc
11147 if test -n "$orig_target_cc"; then
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11149 $as_echo "$orig_target_cc" >&6; }
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11152 $as_echo "no" >&6; }
11157 if test "$GCC" = "yes"; then
11158 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11159 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11160 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11162 $as_echo_n "checking for $ac_word... " >&6; }
11163 if ${ac_cv_path_orig_target_cc+:} false
; then :
11164 $as_echo_n "(cached) " >&6
11166 case $orig_target_cc in
11168 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11172 for as_dir
in `dirname $aros_gcc_gcc`
11175 test -z "$as_dir" && as_dir
=.
11176 for ac_exec_ext
in '' $ac_executable_extensions; do
11177 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11178 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11189 orig_target_cc
=$ac_cv_path_orig_target_cc
11190 if test -n "$orig_target_cc"; then
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11192 $as_echo "$orig_target_cc" >&6; }
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11195 $as_echo "no" >&6; }
11200 if test "$orig_target_cc" = ""; then
11201 # Extract the first word of "gcc", so it can be a program name with args.
11202 set dummy gcc
; ac_word
=$2
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11204 $as_echo_n "checking for $ac_word... " >&6; }
11205 if ${ac_cv_path_orig_target_cc+:} false
; then :
11206 $as_echo_n "(cached) " >&6
11208 case $orig_target_cc in
11210 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11214 for as_dir
in $PATH
11217 test -z "$as_dir" && as_dir
=.
11218 for ac_exec_ext
in '' $ac_executable_extensions; do
11219 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11220 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11231 orig_target_cc
=$ac_cv_path_orig_target_cc
11232 if test -n "$orig_target_cc"; then
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11234 $as_echo "$orig_target_cc" >&6; }
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11237 $as_echo "no" >&6; }
11244 # Extract the first word of "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}", so it can be a program name with args.
11245 set dummy
${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}; ac_word
=$2
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11247 $as_echo_n "checking for $ac_word... " >&6; }
11248 if ${ac_cv_path_orig_target_cc+:} false
; then :
11249 $as_echo_n "(cached) " >&6
11251 case $orig_target_cc in
11253 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11257 for as_dir
in $PATH
11260 test -z "$as_dir" && as_dir
=.
11261 for ac_exec_ext
in '' $ac_executable_extensions; do
11262 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11263 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11274 orig_target_cc
=$ac_cv_path_orig_target_cc
11275 if test -n "$orig_target_cc"; then
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11277 $as_echo "$orig_target_cc" >&6; }
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11280 $as_echo "no" >&6; }
11286 if test "$orig_target_cc" = ""; then
11287 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11290 if test "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" = ""; then
11291 if test "$cross_compiling" = "yes" ; then
11292 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11293 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11295 $as_echo_n "checking for $ac_word... " >&6; }
11296 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11297 $as_echo_n "(cached) " >&6
11299 case $orig_target_cxx in
11301 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11305 for as_dir
in $PATH
11308 test -z "$as_dir" && as_dir
=.
11309 for ac_exec_ext
in '' $ac_executable_extensions; do
11310 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11311 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11322 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11323 if test -n "$orig_target_cxx"; then
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11325 $as_echo "$orig_target_cxx" >&6; }
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11328 $as_echo "no" >&6; }
11333 if test "$GCC" = "yes"; then
11334 aros_gcc_g
++=`$CC -print-prog-name=g++`
11335 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11336 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11338 $as_echo_n "checking for $ac_word... " >&6; }
11339 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11340 $as_echo_n "(cached) " >&6
11342 case $orig_target_cxx in
11344 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11348 for as_dir
in `dirname $aros_gcc_g++`
11351 test -z "$as_dir" && as_dir
=.
11352 for ac_exec_ext
in '' $ac_executable_extensions; do
11353 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11354 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11365 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11366 if test -n "$orig_target_cxx"; then
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11368 $as_echo "$orig_target_cxx" >&6; }
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11371 $as_echo "no" >&6; }
11376 if test "$orig_target_cxx" = ""; then
11377 # Extract the first word of "g++", so it can be a program name with args.
11378 set dummy g
++; ac_word
=$2
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11380 $as_echo_n "checking for $ac_word... " >&6; }
11381 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11382 $as_echo_n "(cached) " >&6
11384 case $orig_target_cxx in
11386 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11390 for as_dir
in $PATH
11393 test -z "$as_dir" && as_dir
=.
11394 for ac_exec_ext
in '' $ac_executable_extensions; do
11395 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11396 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11407 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11408 if test -n "$orig_target_cxx"; then
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11410 $as_echo "$orig_target_cxx" >&6; }
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11413 $as_echo "no" >&6; }
11420 # Extract the first word of "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}", so it can be a program name with args.
11421 set dummy
${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}; ac_word
=$2
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11423 $as_echo_n "checking for $ac_word... " >&6; }
11424 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11425 $as_echo_n "(cached) " >&6
11427 case $orig_target_cxx in
11429 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11433 for as_dir
in $PATH
11436 test -z "$as_dir" && as_dir
=.
11437 for ac_exec_ext
in '' $ac_executable_extensions; do
11438 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11439 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11450 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11451 if test -n "$orig_target_cxx"; then
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11453 $as_echo "$orig_target_cxx" >&6; }
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11456 $as_echo "no" >&6; }
11462 if test "$orig_target_cxx" = ""; then
11463 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
11466 if test "${aros_tool_prefix}ld" = ""; then
11467 if test "$cross_compiling" = "yes" ; then
11468 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11469 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11471 $as_echo_n "checking for $ac_word... " >&6; }
11472 if ${ac_cv_path_orig_target_ld+:} false
; then :
11473 $as_echo_n "(cached) " >&6
11475 case $orig_target_ld in
11477 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11481 for as_dir
in $PATH
11484 test -z "$as_dir" && as_dir
=.
11485 for ac_exec_ext
in '' $ac_executable_extensions; do
11486 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11487 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11498 orig_target_ld
=$ac_cv_path_orig_target_ld
11499 if test -n "$orig_target_ld"; then
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11501 $as_echo "$orig_target_ld" >&6; }
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11504 $as_echo "no" >&6; }
11509 if test "$GCC" = "yes"; then
11510 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11511 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11512 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11514 $as_echo_n "checking for $ac_word... " >&6; }
11515 if ${ac_cv_path_orig_target_ld+:} false
; then :
11516 $as_echo_n "(cached) " >&6
11518 case $orig_target_ld in
11520 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11524 for as_dir
in `dirname $aros_gcc_gcc`
11527 test -z "$as_dir" && as_dir
=.
11528 for ac_exec_ext
in '' $ac_executable_extensions; do
11529 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11530 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11541 orig_target_ld
=$ac_cv_path_orig_target_ld
11542 if test -n "$orig_target_ld"; then
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11544 $as_echo "$orig_target_ld" >&6; }
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11547 $as_echo "no" >&6; }
11552 if test "$orig_target_ld" = ""; then
11553 # Extract the first word of "gcc", so it can be a program name with args.
11554 set dummy gcc
; ac_word
=$2
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11556 $as_echo_n "checking for $ac_word... " >&6; }
11557 if ${ac_cv_path_orig_target_ld+:} false
; then :
11558 $as_echo_n "(cached) " >&6
11560 case $orig_target_ld in
11562 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11566 for as_dir
in $PATH
11569 test -z "$as_dir" && as_dir
=.
11570 for ac_exec_ext
in '' $ac_executable_extensions; do
11571 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11572 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11583 orig_target_ld
=$ac_cv_path_orig_target_ld
11584 if test -n "$orig_target_ld"; then
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11586 $as_echo "$orig_target_ld" >&6; }
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11589 $as_echo "no" >&6; }
11596 # Extract the first word of "${aros_tool_prefix}ld", so it can be a program name with args.
11597 set dummy
${aros_tool_prefix}ld
; ac_word
=$2
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11599 $as_echo_n "checking for $ac_word... " >&6; }
11600 if ${ac_cv_path_orig_target_ld+:} false
; then :
11601 $as_echo_n "(cached) " >&6
11603 case $orig_target_ld in
11605 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
11608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11609 for as_dir
in $PATH
11612 test -z "$as_dir" && as_dir
=.
11613 for ac_exec_ext
in '' $ac_executable_extensions; do
11614 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11615 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
11616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11626 orig_target_ld
=$ac_cv_path_orig_target_ld
11627 if test -n "$orig_target_ld"; then
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
11629 $as_echo "$orig_target_ld" >&6; }
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11632 $as_echo "no" >&6; }
11638 if test "$orig_target_ld" = ""; then
11639 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
11642 if test "${aros_tool_prefix}as" = ""; then
11643 if test "$cross_compiling" = "yes" ; then
11644 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
11645 set dummy
${target_tool_prefix}as
; ac_word
=$2
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11647 $as_echo_n "checking for $ac_word... " >&6; }
11648 if ${ac_cv_path_orig_target_as+:} false
; then :
11649 $as_echo_n "(cached) " >&6
11651 case $orig_target_as in
11653 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11657 for as_dir
in $PATH
11660 test -z "$as_dir" && as_dir
=.
11661 for ac_exec_ext
in '' $ac_executable_extensions; do
11662 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11663 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11674 orig_target_as
=$ac_cv_path_orig_target_as
11675 if test -n "$orig_target_as"; then
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11677 $as_echo "$orig_target_as" >&6; }
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11680 $as_echo "no" >&6; }
11685 if test "$GCC" = "yes"; then
11686 aros_gcc_as
=`$CC -print-prog-name=as`
11687 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
11688 set dummy
`basename $aros_gcc_as`; ac_word
=$2
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11690 $as_echo_n "checking for $ac_word... " >&6; }
11691 if ${ac_cv_path_orig_target_as+:} false
; then :
11692 $as_echo_n "(cached) " >&6
11694 case $orig_target_as in
11696 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11700 for as_dir
in `dirname $aros_gcc_as`
11703 test -z "$as_dir" && as_dir
=.
11704 for ac_exec_ext
in '' $ac_executable_extensions; do
11705 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11706 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11717 orig_target_as
=$ac_cv_path_orig_target_as
11718 if test -n "$orig_target_as"; then
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11720 $as_echo "$orig_target_as" >&6; }
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11723 $as_echo "no" >&6; }
11728 if test "$orig_target_as" = ""; then
11729 # Extract the first word of "as", so it can be a program name with args.
11730 set dummy as
; ac_word
=$2
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11732 $as_echo_n "checking for $ac_word... " >&6; }
11733 if ${ac_cv_path_orig_target_as+:} false
; then :
11734 $as_echo_n "(cached) " >&6
11736 case $orig_target_as in
11738 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11742 for as_dir
in $PATH
11745 test -z "$as_dir" && as_dir
=.
11746 for ac_exec_ext
in '' $ac_executable_extensions; do
11747 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11748 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11759 orig_target_as
=$ac_cv_path_orig_target_as
11760 if test -n "$orig_target_as"; then
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11762 $as_echo "$orig_target_as" >&6; }
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11765 $as_echo "no" >&6; }
11772 # Extract the first word of "${aros_tool_prefix}as", so it can be a program name with args.
11773 set dummy
${aros_tool_prefix}as
; ac_word
=$2
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11775 $as_echo_n "checking for $ac_word... " >&6; }
11776 if ${ac_cv_path_orig_target_as+:} false
; then :
11777 $as_echo_n "(cached) " >&6
11779 case $orig_target_as in
11781 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
11784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11785 for as_dir
in $PATH
11788 test -z "$as_dir" && as_dir
=.
11789 for ac_exec_ext
in '' $ac_executable_extensions; do
11790 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11791 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
11792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11802 orig_target_as
=$ac_cv_path_orig_target_as
11803 if test -n "$orig_target_as"; then
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
11805 $as_echo "$orig_target_as" >&6; }
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11808 $as_echo "no" >&6; }
11814 if test "$orig_target_as" = ""; then
11815 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
11818 if test "${aros_tool_prefix}ar" = ""; then
11819 if test "$cross_compiling" = "yes" ; then
11820 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11821 set dummy
${target_tool_prefix}ar; ac_word
=$2
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11823 $as_echo_n "checking for $ac_word... " >&6; }
11824 if ${ac_cv_path_orig_target_ar+:} false
; then :
11825 $as_echo_n "(cached) " >&6
11827 case $orig_target_ar in
11829 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11833 for as_dir
in $PATH
11836 test -z "$as_dir" && as_dir
=.
11837 for ac_exec_ext
in '' $ac_executable_extensions; do
11838 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11839 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11850 orig_target_ar
=$ac_cv_path_orig_target_ar
11851 if test -n "$orig_target_ar"; then
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11853 $as_echo "$orig_target_ar" >&6; }
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11856 $as_echo "no" >&6; }
11861 if test "$GCC" = "yes"; then
11862 aros_gcc_ar
=`$CC -print-prog-name=ar`
11863 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
11864 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11866 $as_echo_n "checking for $ac_word... " >&6; }
11867 if ${ac_cv_path_orig_target_ar+:} false
; then :
11868 $as_echo_n "(cached) " >&6
11870 case $orig_target_ar in
11872 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11876 for as_dir
in `dirname $aros_gcc_ar`
11879 test -z "$as_dir" && as_dir
=.
11880 for ac_exec_ext
in '' $ac_executable_extensions; do
11881 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11882 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11893 orig_target_ar
=$ac_cv_path_orig_target_ar
11894 if test -n "$orig_target_ar"; then
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11896 $as_echo "$orig_target_ar" >&6; }
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11899 $as_echo "no" >&6; }
11904 if test "$orig_target_ar" = ""; then
11905 # Extract the first word of "ar", so it can be a program name with args.
11906 set dummy
ar; ac_word
=$2
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11908 $as_echo_n "checking for $ac_word... " >&6; }
11909 if ${ac_cv_path_orig_target_ar+:} false
; then :
11910 $as_echo_n "(cached) " >&6
11912 case $orig_target_ar in
11914 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11918 for as_dir
in $PATH
11921 test -z "$as_dir" && as_dir
=.
11922 for ac_exec_ext
in '' $ac_executable_extensions; do
11923 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11924 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11935 orig_target_ar
=$ac_cv_path_orig_target_ar
11936 if test -n "$orig_target_ar"; then
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11938 $as_echo "$orig_target_ar" >&6; }
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11941 $as_echo "no" >&6; }
11948 # Extract the first word of "${aros_tool_prefix}ar", so it can be a program name with args.
11949 set dummy
${aros_tool_prefix}ar; ac_word
=$2
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11951 $as_echo_n "checking for $ac_word... " >&6; }
11952 if ${ac_cv_path_orig_target_ar+:} false
; then :
11953 $as_echo_n "(cached) " >&6
11955 case $orig_target_ar in
11957 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
11960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11961 for as_dir
in $PATH
11964 test -z "$as_dir" && as_dir
=.
11965 for ac_exec_ext
in '' $ac_executable_extensions; do
11966 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11967 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
11968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11978 orig_target_ar
=$ac_cv_path_orig_target_ar
11979 if test -n "$orig_target_ar"; then
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
11981 $as_echo "$orig_target_ar" >&6; }
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11984 $as_echo "no" >&6; }
11990 if test "$orig_target_ar" = ""; then
11991 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11994 if test "${aros_tool_prefix}ranlib" = ""; then
11995 if test "$cross_compiling" = "yes" ; then
11996 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
11997 set dummy
${target_tool_prefix}ar; ac_word
=$2
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11999 $as_echo_n "checking for $ac_word... " >&6; }
12000 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12001 $as_echo_n "(cached) " >&6
12003 case $orig_target_ranlib in
12005 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12009 for as_dir
in $PATH
12012 test -z "$as_dir" && as_dir
=.
12013 for ac_exec_ext
in '' $ac_executable_extensions; do
12014 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12015 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12026 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12027 if test -n "$orig_target_ranlib"; then
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12029 $as_echo "$orig_target_ranlib" >&6; }
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12032 $as_echo "no" >&6; }
12037 if test "$GCC" = "yes"; then
12038 aros_gcc_ar
=`$CC -print-prog-name=ar`
12039 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
12040 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12042 $as_echo_n "checking for $ac_word... " >&6; }
12043 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12044 $as_echo_n "(cached) " >&6
12046 case $orig_target_ranlib in
12048 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12052 for as_dir
in `dirname $aros_gcc_ar`
12055 test -z "$as_dir" && as_dir
=.
12056 for ac_exec_ext
in '' $ac_executable_extensions; do
12057 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12058 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12069 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12070 if test -n "$orig_target_ranlib"; then
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12072 $as_echo "$orig_target_ranlib" >&6; }
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12075 $as_echo "no" >&6; }
12080 if test "$orig_target_ranlib" = ""; then
12081 # Extract the first word of "ar", so it can be a program name with args.
12082 set dummy
ar; ac_word
=$2
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12084 $as_echo_n "checking for $ac_word... " >&6; }
12085 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12086 $as_echo_n "(cached) " >&6
12088 case $orig_target_ranlib in
12090 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12094 for as_dir
in $PATH
12097 test -z "$as_dir" && as_dir
=.
12098 for ac_exec_ext
in '' $ac_executable_extensions; do
12099 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12100 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12111 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12112 if test -n "$orig_target_ranlib"; then
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12114 $as_echo "$orig_target_ranlib" >&6; }
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12117 $as_echo "no" >&6; }
12124 # Extract the first word of "${aros_tool_prefix}ranlib", so it can be a program name with args.
12125 set dummy
${aros_tool_prefix}ranlib
; ac_word
=$2
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12127 $as_echo_n "checking for $ac_word... " >&6; }
12128 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12129 $as_echo_n "(cached) " >&6
12131 case $orig_target_ranlib in
12133 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12137 for as_dir
in $PATH
12140 test -z "$as_dir" && as_dir
=.
12141 for ac_exec_ext
in '' $ac_executable_extensions; do
12142 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12143 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12154 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12155 if test -n "$orig_target_ranlib"; then
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12157 $as_echo "$orig_target_ranlib" >&6; }
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12160 $as_echo "no" >&6; }
12166 if test "$orig_target_ranlib" = ""; then
12167 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
12170 if test "${aros_tool_prefix}nm" = ""; then
12171 if test "$cross_compiling" = "yes" ; then
12172 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
12173 set dummy
${target_tool_prefix}nm
; ac_word
=$2
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12175 $as_echo_n "checking for $ac_word... " >&6; }
12176 if ${ac_cv_path_orig_target_nm+:} false
; then :
12177 $as_echo_n "(cached) " >&6
12179 case $orig_target_nm in
12181 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12185 for as_dir
in $PATH
12188 test -z "$as_dir" && as_dir
=.
12189 for ac_exec_ext
in '' $ac_executable_extensions; do
12190 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12191 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12202 orig_target_nm
=$ac_cv_path_orig_target_nm
12203 if test -n "$orig_target_nm"; then
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12205 $as_echo "$orig_target_nm" >&6; }
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12208 $as_echo "no" >&6; }
12213 if test "$GCC" = "yes"; then
12214 aros_gcc_nm
=`$CC -print-prog-name=nm`
12215 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
12216 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12218 $as_echo_n "checking for $ac_word... " >&6; }
12219 if ${ac_cv_path_orig_target_nm+:} false
; then :
12220 $as_echo_n "(cached) " >&6
12222 case $orig_target_nm in
12224 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12228 for as_dir
in `dirname $aros_gcc_nm`
12231 test -z "$as_dir" && as_dir
=.
12232 for ac_exec_ext
in '' $ac_executable_extensions; do
12233 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12234 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12245 orig_target_nm
=$ac_cv_path_orig_target_nm
12246 if test -n "$orig_target_nm"; then
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12248 $as_echo "$orig_target_nm" >&6; }
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12251 $as_echo "no" >&6; }
12256 if test "$orig_target_nm" = ""; then
12257 # Extract the first word of "nm", so it can be a program name with args.
12258 set dummy nm
; ac_word
=$2
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12260 $as_echo_n "checking for $ac_word... " >&6; }
12261 if ${ac_cv_path_orig_target_nm+:} false
; then :
12262 $as_echo_n "(cached) " >&6
12264 case $orig_target_nm in
12266 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12270 for as_dir
in $PATH
12273 test -z "$as_dir" && as_dir
=.
12274 for ac_exec_ext
in '' $ac_executable_extensions; do
12275 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12276 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12287 orig_target_nm
=$ac_cv_path_orig_target_nm
12288 if test -n "$orig_target_nm"; then
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12290 $as_echo "$orig_target_nm" >&6; }
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12293 $as_echo "no" >&6; }
12300 # Extract the first word of "${aros_tool_prefix}nm", so it can be a program name with args.
12301 set dummy
${aros_tool_prefix}nm
; ac_word
=$2
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12303 $as_echo_n "checking for $ac_word... " >&6; }
12304 if ${ac_cv_path_orig_target_nm+:} false
; then :
12305 $as_echo_n "(cached) " >&6
12307 case $orig_target_nm in
12309 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12313 for as_dir
in $PATH
12316 test -z "$as_dir" && as_dir
=.
12317 for ac_exec_ext
in '' $ac_executable_extensions; do
12318 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12319 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12330 orig_target_nm
=$ac_cv_path_orig_target_nm
12331 if test -n "$orig_target_nm"; then
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12333 $as_echo "$orig_target_nm" >&6; }
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12336 $as_echo "no" >&6; }
12342 if test "$orig_target_nm" = ""; then
12343 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
12346 if test "${aros_tool_prefix}strip" = ""; then
12347 if test "$cross_compiling" = "yes" ; then
12348 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
12349 set dummy
${target_tool_prefix}strip
; ac_word
=$2
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12351 $as_echo_n "checking for $ac_word... " >&6; }
12352 if ${ac_cv_path_orig_target_strip+:} false
; then :
12353 $as_echo_n "(cached) " >&6
12355 case $orig_target_strip in
12357 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12361 for as_dir
in $PATH
12364 test -z "$as_dir" && as_dir
=.
12365 for ac_exec_ext
in '' $ac_executable_extensions; do
12366 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12367 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12378 orig_target_strip
=$ac_cv_path_orig_target_strip
12379 if test -n "$orig_target_strip"; then
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12381 $as_echo "$orig_target_strip" >&6; }
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12384 $as_echo "no" >&6; }
12389 if test "$GCC" = "yes"; then
12390 aros_gcc_strip
=`$CC -print-prog-name=strip`
12391 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
12392 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12394 $as_echo_n "checking for $ac_word... " >&6; }
12395 if ${ac_cv_path_orig_target_strip+:} false
; then :
12396 $as_echo_n "(cached) " >&6
12398 case $orig_target_strip in
12400 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12404 for as_dir
in `dirname $aros_gcc_strip`
12407 test -z "$as_dir" && as_dir
=.
12408 for ac_exec_ext
in '' $ac_executable_extensions; do
12409 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12410 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12421 orig_target_strip
=$ac_cv_path_orig_target_strip
12422 if test -n "$orig_target_strip"; then
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12424 $as_echo "$orig_target_strip" >&6; }
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12427 $as_echo "no" >&6; }
12432 if test "$orig_target_strip" = ""; then
12433 # Extract the first word of "strip", so it can be a program name with args.
12434 set dummy strip
; ac_word
=$2
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12436 $as_echo_n "checking for $ac_word... " >&6; }
12437 if ${ac_cv_path_orig_target_strip+:} false
; then :
12438 $as_echo_n "(cached) " >&6
12440 case $orig_target_strip in
12442 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12446 for as_dir
in $PATH
12449 test -z "$as_dir" && as_dir
=.
12450 for ac_exec_ext
in '' $ac_executable_extensions; do
12451 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12452 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12463 orig_target_strip
=$ac_cv_path_orig_target_strip
12464 if test -n "$orig_target_strip"; then
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12466 $as_echo "$orig_target_strip" >&6; }
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12469 $as_echo "no" >&6; }
12476 # Extract the first word of "${aros_tool_prefix}strip", so it can be a program name with args.
12477 set dummy
${aros_tool_prefix}strip
; ac_word
=$2
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12479 $as_echo_n "checking for $ac_word... " >&6; }
12480 if ${ac_cv_path_orig_target_strip+:} false
; then :
12481 $as_echo_n "(cached) " >&6
12483 case $orig_target_strip in
12485 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12489 for as_dir
in $PATH
12492 test -z "$as_dir" && as_dir
=.
12493 for ac_exec_ext
in '' $ac_executable_extensions; do
12494 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12495 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12506 orig_target_strip
=$ac_cv_path_orig_target_strip
12507 if test -n "$orig_target_strip"; then
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12509 $as_echo "$orig_target_strip" >&6; }
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12512 $as_echo "no" >&6; }
12518 if test "$orig_target_strip" = ""; then
12519 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
12522 if test "${aros_tool_prefix}objcopy" = ""; then
12523 if test "$cross_compiling" = "yes" ; then
12524 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
12525 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12527 $as_echo_n "checking for $ac_word... " >&6; }
12528 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12529 $as_echo_n "(cached) " >&6
12531 case $orig_target_objcopy in
12533 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12537 for as_dir
in $PATH
12540 test -z "$as_dir" && as_dir
=.
12541 for ac_exec_ext
in '' $ac_executable_extensions; do
12542 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12543 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12554 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12555 if test -n "$orig_target_objcopy"; then
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12557 $as_echo "$orig_target_objcopy" >&6; }
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12560 $as_echo "no" >&6; }
12565 if test "$GCC" = "yes"; then
12566 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
12567 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
12568 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12570 $as_echo_n "checking for $ac_word... " >&6; }
12571 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12572 $as_echo_n "(cached) " >&6
12574 case $orig_target_objcopy in
12576 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12580 for as_dir
in `dirname $aros_gcc_objcopy`
12583 test -z "$as_dir" && as_dir
=.
12584 for ac_exec_ext
in '' $ac_executable_extensions; do
12585 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12586 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12597 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12598 if test -n "$orig_target_objcopy"; then
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12600 $as_echo "$orig_target_objcopy" >&6; }
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12603 $as_echo "no" >&6; }
12608 if test "$orig_target_objcopy" = ""; then
12609 # Extract the first word of "objcopy", so it can be a program name with args.
12610 set dummy objcopy
; ac_word
=$2
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12612 $as_echo_n "checking for $ac_word... " >&6; }
12613 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12614 $as_echo_n "(cached) " >&6
12616 case $orig_target_objcopy in
12618 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12622 for as_dir
in $PATH
12625 test -z "$as_dir" && as_dir
=.
12626 for ac_exec_ext
in '' $ac_executable_extensions; do
12627 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12628 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12639 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12640 if test -n "$orig_target_objcopy"; then
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12642 $as_echo "$orig_target_objcopy" >&6; }
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12645 $as_echo "no" >&6; }
12652 # Extract the first word of "${aros_tool_prefix}objcopy", so it can be a program name with args.
12653 set dummy
${aros_tool_prefix}objcopy
; ac_word
=$2
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12655 $as_echo_n "checking for $ac_word... " >&6; }
12656 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
12657 $as_echo_n "(cached) " >&6
12659 case $orig_target_objcopy in
12661 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
12664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12665 for as_dir
in $PATH
12668 test -z "$as_dir" && as_dir
=.
12669 for ac_exec_ext
in '' $ac_executable_extensions; do
12670 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12671 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
12672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12682 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
12683 if test -n "$orig_target_objcopy"; then
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
12685 $as_echo "$orig_target_objcopy" >&6; }
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12688 $as_echo "no" >&6; }
12694 if test "$orig_target_objcopy" = ""; then
12695 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12698 if test "${aros_tool_prefix}objdump" = ""; then
12699 if test "$cross_compiling" = "yes" ; then
12700 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
12701 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12703 $as_echo_n "checking for $ac_word... " >&6; }
12704 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12705 $as_echo_n "(cached) " >&6
12707 case $orig_target_objdump in
12709 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12713 for as_dir
in $PATH
12716 test -z "$as_dir" && as_dir
=.
12717 for ac_exec_ext
in '' $ac_executable_extensions; do
12718 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12719 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12730 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12731 if test -n "$orig_target_objdump"; then
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12733 $as_echo "$orig_target_objdump" >&6; }
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12736 $as_echo "no" >&6; }
12741 if test "$GCC" = "yes"; then
12742 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
12743 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
12744 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12746 $as_echo_n "checking for $ac_word... " >&6; }
12747 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12748 $as_echo_n "(cached) " >&6
12750 case $orig_target_objdump in
12752 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12756 for as_dir
in `dirname $aros_gcc_objdump`
12759 test -z "$as_dir" && as_dir
=.
12760 for ac_exec_ext
in '' $ac_executable_extensions; do
12761 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12762 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12773 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12774 if test -n "$orig_target_objdump"; then
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12776 $as_echo "$orig_target_objdump" >&6; }
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12779 $as_echo "no" >&6; }
12784 if test "$orig_target_objdump" = ""; then
12785 # Extract the first word of "objdump", so it can be a program name with args.
12786 set dummy objdump
; ac_word
=$2
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12788 $as_echo_n "checking for $ac_word... " >&6; }
12789 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12790 $as_echo_n "(cached) " >&6
12792 case $orig_target_objdump in
12794 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12798 for as_dir
in $PATH
12801 test -z "$as_dir" && as_dir
=.
12802 for ac_exec_ext
in '' $ac_executable_extensions; do
12803 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12804 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12815 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12816 if test -n "$orig_target_objdump"; then
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12818 $as_echo "$orig_target_objdump" >&6; }
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12821 $as_echo "no" >&6; }
12828 # Extract the first word of "${aros_tool_prefix}objdump", so it can be a program name with args.
12829 set dummy
${aros_tool_prefix}objdump
; ac_word
=$2
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12831 $as_echo_n "checking for $ac_word... " >&6; }
12832 if ${ac_cv_path_orig_target_objdump+:} false
; then :
12833 $as_echo_n "(cached) " >&6
12835 case $orig_target_objdump in
12837 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
12840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12841 for as_dir
in $PATH
12844 test -z "$as_dir" && as_dir
=.
12845 for ac_exec_ext
in '' $ac_executable_extensions; do
12846 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12847 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
12848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12858 orig_target_objdump
=$ac_cv_path_orig_target_objdump
12859 if test -n "$orig_target_objdump"; then
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
12861 $as_echo "$orig_target_objdump" >&6; }
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12864 $as_echo "no" >&6; }
12870 if test "$orig_target_objdump" = ""; then
12871 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12875 if test "$kernel_tool_prefix" = "none" ; then
12876 # No kernel tools specified
12877 # Assume target tools == kernel tools with ELF wrapper
12878 aros_kernel_cc
=$orig_target_cc
12879 aros_kernel_cxx
=$orig_target_cxx
12880 aros_kernel_cpp
=$orig_target_cpp
12881 aros_kernel_ld
=$orig_target_ld
12882 aros_kernel_as
=$orig_target_as
12883 aros_kernel_ar
=$orig_target_ar
12884 aros_kernel_ranlib
=$orig_target_ranlib
12885 aros_kernel_nm
=$orig_target_nm
12886 aros_kernel_strip
=$orig_target_strip
12887 aros_kernel_objcopy
=$orig_target_objcopy
12888 aros_kernel_objdump
=$orig_target_objdump
12889 use_kernel_cc_wrapper
=yes
12892 # At this point, all aros_kernel_* and aros_target_*
12893 # tools should be set up correctly
12895 CC
="$aros_kernel_cc $kernel_tool_flags"
12896 CPP
="$aros_kernel_cpp"
12898 #-----------------------------------------------------------------------------
12900 # Find all the tools we need to compile. This could be cross-compiling
12901 # though! If that is the case we use the GNU form of the target and
12902 # simply add this to the front of the binary name. This is rather simple,
12903 # but it should work under most circumstances.
12905 # The default tools are to use the same as the host, but only if the
12906 # host and target CPU are the same. With GCC this is normally enough.
12910 aros_shared_ld
="$aros_host_ld"
12912 aros_target_mkdep
="$aros_host_mkdep"
12914 # The default tools executables to be linked to.
12915 if test "$rescomp" != ""; then
12916 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
12917 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12919 $as_echo_n "checking for $ac_word... " >&6; }
12920 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
12921 $as_echo_n "(cached) " >&6
12923 case $aros_kernel_rescomp in
12925 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
12928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12929 for as_dir
in $PATH
12932 test -z "$as_dir" && as_dir
=.
12933 for ac_exec_ext
in '' $ac_executable_extensions; do
12934 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12935 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
12936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12946 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
12947 if test -n "$aros_kernel_rescomp"; then
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
12949 $as_echo "$aros_kernel_rescomp" >&6; }
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12952 $as_echo "no" >&6; }
12956 if test "$aros_kernel_rescomp" = ""; then
12957 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
12961 # Set up the sources for the symlink farm
12962 if test "$crosstools" = "yes"; then
12963 crosstools_target
=tools-crosstools
12966 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
12967 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
12969 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/host/config"
12970 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
12971 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
12972 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
12973 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
12974 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
12975 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
12977 # aros_cc_pre is a variable that is added to the front of the compiler name
12978 # in the generated aros-gcc shell script. We need this to enable the cache
12979 # to work across cleaned builds. Also, support DISTCC using the correct
12980 # environment variable.
12983 if test "x${DISTCC}" != "x" ; then
12984 if test "x${CCACHE}" != "x" ; then
12985 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
12987 aros_cc_pre
="${DISTCC} "
12990 if test "x${CCACHE}" != "x" ; then
12991 aros_cc_pre
="${CCACHE} "
12995 aros_target_nostdinc_cflags
=-nostdinc
12997 aros_target_nostartup_ldflags
=-nostartfiles
12999 aros_target_nix_ldflags
=-nix
13001 aros_target_detach_ldflags
=-detach
13003 aros_target_nostdlib_ldflags
=-nostdlib
13008 if test "$aros_target_toolchain" != "yes"; then
13009 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
13010 if test "$GCC" = "yes"; then
13011 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
13014 # We do not know which c compiler version we are going to build and what we need to know
13015 # here is different for different versions so this will be set later during the
13016 # build of crosstools.
13017 if test "$aros_toolchain" = "gnu" ; then
13018 prefix
="$AROS_CROSSTOOLSDIR/${aros_target_cpu}-aros-"
13019 elif test "$aros_toolchain" = "llvm" ; then
13020 prefix
="$AROS_CROSSTOOLSDIR/bin/"
13022 aros_target_cc_path
=@aros_target_cc_path@
13024 aros_target_cpp
="${prefix}${toolchain_cpp_preprocessor}"
13025 aros_target_cc
="${prefix}${toolchain_c_compiler}"
13026 aros_target_cxx
="${prefix}${toolchain_cxx_compiler}"
13027 aros_target_as
="${prefix}as"
13028 aros_target_ld
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld"
13029 aros_target_ar
="${prefix}ar $aros_target_ar_flags"
13030 aros_target_objcopy
="${prefix}objcopy"
13031 aros_target_objdump
="${prefix}objdump"
13032 aros_target_ranlib
="${prefix}ranlib $aros_target_ranlib_flags"
13033 aros_target_nm
="${prefix}nm $aros_target_nm_flags"
13034 aros_target_strip
="${prefix}strip"
13035 aros_plain_nm
="${prefix}nm"
13036 aros_plain_ar
="${prefix}ar"
13038 # Check whether --enable-includes was given.
13039 if test "${enable_includes+set}" = set; then :
13040 enableval
=$enable_includes; aros_target_incl
=$enable_includes
13042 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
13046 if test "$aros_kernel_includes" = ""; then
13047 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13048 aros_kernel_includes
="-isystem $aros_target_incl"
13052 if test "$aros_kernel_includes" != "" ; then
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
13054 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
13055 if test "$aros_kernel_cc_includes" = "" ; then
13056 # Try to guess where the directory is.
13057 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
13058 if test -d $aros_kernel_cc_includes; then
13059 # Check if there is also an include-fixed directory and add it
13060 # to kernel compiler's include path as it may contain some of
13061 # the headers we need.
13062 if test -d "$aros_kernel_cc_includes"-fixed; then
13063 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
13065 # Check for specific includes directory. Needed for Ubuntu 11.10 and Debian
13066 case ${host_cpu} in
13068 host_cpu_glibc
=i386
13071 host_cpu_glibc
=${host_cpu}
13074 if test -d "/usr/include/${host_cpu_glibc}-linux-gnu"; then
13075 aros_kernel_cc_includes
+=" -isystem /usr/include/${host_cpu_glibc}-linux-gnu"
13078 # The directory doesn't exist, we need to do some more work.
13079 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
13081 # These are the headers we're looking for.
13082 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13083 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13087 for h
in $headers; do
13088 # Which other headers are needed by each of the above?
13089 deps
=$
(echo "#include <$h>" | \
13090 $aros_kernel_cc -E -M - 2>/dev
/null | \
13091 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13093 # Copy all the needed headers to a directory beneath gendir.
13096 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
13097 sed -n "s,^.*/include\(/.*\),\1,p")
13098 ! test -d $dir && mkdir
-p $dir
13099 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
13105 $as_echo "$aros_kernel_cc_includes" >&6; }
13106 # Adding -nostdinc to kernel includes as they are always used together.
13107 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
13110 if test "$crosstools" != "yes"; then
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
13112 $as_echo_n "checking for the target compiler's include path... " >&6; }
13113 if test "$aros_target_cc_includes" = "" ; then
13114 #try to guess where the directory is
13115 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
13116 if ! test -d $aros_target_cc_includes; then
13117 #the directory doesn't exist, we need to do some more work
13118 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
13120 #these are the headers we're looking for
13121 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13122 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13126 for h
in $headers; do
13127 #which other headers each of the above headers needs?
13128 deps
=$
(echo "#include <$h>" | \
13129 $orig_target_cc -E -M - 2>/dev
/null | \
13130 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13132 #copy all the needed headers to a directory beneath gendir
13135 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
13136 sed -n "s,^.*/include\(/.*\),\1,p")
13137 ! test -d $dir && mkdir
-p $dir
13138 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
13144 $as_echo "$aros_target_cc_includes" >&6; }
13146 # We do not know which c compiler version we are going to build and what we need to know
13147 # here is different for different versions so this will be set later during the
13148 # build of crosstools.
13149 aros_target_cc_includes
=@aros_target_cc_includes@
13153 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
13154 # On GCC >= 4.0 -iquote should be used
13158 save_cflags
="$CFLAGS"
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13161 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13162 if test "x-$crosstools" != "x-yes"; then
13163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13164 /* end confdefs.h. */
13174 if ac_fn_c_try_compile
"$LINENO"; then :
13179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13181 # we do know it is supported for the smallest version of ${toolchain_c_compiler} we are going to build
13182 # we assume it's also supported by later versions
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13186 $as_echo "$has_iquote" >&6; }
13187 if test "x-$has_iquote" = "x-yes" ; then
13188 host_cflags_iquote
=-iquote
13189 host_cflags_iquote_end
=
13191 host_cflags_iquote
=-I
13192 host_cflags_iquote_end
=-I-
13194 kernel_cflags_iquote
=$host_cflags_iquote
13195 kernel_cflags_iquote_end
=$host_cflags_iquote_end
13196 if test "x-$cross_compiling" = "x-yes"; then
13197 CC
="$aros_kernel_cc"
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
13199 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
13200 if test "x-$crosstools" != "x-yes"; then
13201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13202 /* end confdefs.h. */
13212 if ac_fn_c_try_compile
"$LINENO"; then :
13213 use_no_stack_protector
="yes"
13215 use_no_stack_protector
="no"
13217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13219 # we do know it is supported for the smallest version of gcc we are going to build
13220 # we assume it's also supported by later versions
13221 use_no_stack_protector
=yes
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
13224 $as_echo "$use_no_stack_protector" >&6; }
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13226 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13227 if test "x-$crosstools" != "x-yes"; then
13228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13229 /* end confdefs.h. */
13239 if ac_fn_c_try_compile
"$LINENO"; then :
13244 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13246 # we do know it is supported for the smallest version of gcc we are going to build
13247 # we assume it's also supported by later versions
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13251 $as_echo "$has_iquote" >&6; }
13252 if test "x-$has_iquote" = "x-yes" ; then
13253 kernel_cflags_iquote
=-iquote
13254 kernel_cflags_iquote_end
=
13256 kernel_cflags_iquote
=-I
13257 kernel_cflags_iquote_end
=-I-
13260 aros_cflags_iquote
=$kernel_cflags_iquote
13261 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
13262 if test "$orig_target_cc" != "$aros_kernel_cc"; then
13263 CC
="$orig_target_cc"
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13265 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13266 if test "x-$crosstools" != "x-yes"; then
13267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13268 /* end confdefs.h. */
13278 if ac_fn_c_try_compile
"$LINENO"; then :
13283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13285 # we do know it is supported for the smallest version of gcc we are going to build
13286 # we assume it's also supported by later versions
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13290 $as_echo "$has_iquote" >&6; }
13291 if test "x-$has_iquote" = "x-yes" ; then
13292 aros_cflags_iquote
=-iquote
13293 aros_cflags_iquote_end
=
13295 aros_cflags_iquote
=-I
13296 aros_cflags_iquote_end
=-I-
13299 if test "x-$use_no_stack_protector" = "x-yes" ; then
13300 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13303 #-----------------------------------------------------------------------------
13305 # Check if we can explicitly choose older version of symbol hashing
13307 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13308 CC
="$aros_kernel_cc"
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13310 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13312 /* end confdefs.h. */
13322 if ac_fn_c_try_link
"$LINENO"; then :
13323 use_hash_style
="yes"
13325 use_hash_style
="no"
13327 rm -f core conftest.err conftest.
$ac_objext \
13328 conftest
$ac_exeext conftest.
$ac_ext
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13330 $as_echo "$use_hash_style" >&6; }
13331 if test "x-$use_hash_style" = "x-yes" ; then
13332 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13335 CFLAGS
="$save_cflags"
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13346 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13348 # Check whether --with-resolution was given.
13349 if test "${with_resolution+set}" = set; then :
13350 withval
=$with_resolution; resolution
=$withval
13355 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13356 if test "$resolution" = "yes" ; then
13359 if test "$resolution" = "no" ; then
13362 if test "$resolution" != "none" ; then
13363 aros_nominal_width
=`echo $resolution | cut -d'x' -f1`
13364 aros_nominal_height
=`echo $resolution | cut -d'x' -f2`
13365 aros_nominal_depth
=`echo $resolution | cut -d'x' -f3`
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&5
13368 $as_echo "$aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&6; }
13369 aros_cv_nominal_width
=$aros_nominal_width
13370 aros_cv_nominal_height
=$aros_nominal_height
13371 aros_cv_nominal_depth
=$aros_nominal_depth
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
13374 $as_echo_n "checking if serial debug is enabled... " >&6; }
13376 # Check whether --with-serial-debug was given.
13377 if test "${with_serial_debug+set}" = set; then :
13378 withval
=$with_serial_debug; serial_debug
=$withval
13383 if test "$aros_serial_debug" = 0 ; then
13384 serial_debug_forced
=""
13385 if test "$serial_debug" = "yes" ; then
13388 if test "$serial_debug" = "no" ; then
13389 serial_debug
="none"
13392 serial_debug_forced
="(forced)"
13393 serial_debug
=$aros_serial_debug
13395 if test "$serial_debug" != "none" ; then
13396 aros_serial_debug
=$serial_debug
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13398 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13401 $as_echo "no" >&6; }
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
13405 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
13406 # Check whether --enable-palm_debug_hack was given.
13407 if test "${enable_palm_debug_hack+set}" = set; then :
13408 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13410 palm_debug_hack
="no"
13413 if test "$palm_debug_hack" = "yes" ; then
13414 aros_palm_debug_hack
="1"
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13417 $as_echo "$palm_debug_hack" >&6; }
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if usb3.0 code is enabled" >&5
13420 $as_echo_n "checking if usb3.0 code is enabled... " >&6; }
13421 # Check whether --enable-usb30_code was given.
13422 if test "${enable_usb30_code+set}" = set; then :
13423 enableval
=$enable_usb30_code; usb30_code
="yes"
13428 if test "$usb30_code" = "yes" ; then
13429 aros_config_cflags
="$aros_config_cflags -DAROS_USB30_CODE"
13430 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
13433 $as_echo "$usb30_code" >&6; }
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
13436 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
13437 # Check whether --enable-nesting_supervisor was given.
13438 if test "${enable_nesting_supervisor+set}" = set; then :
13439 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
13441 nesting_supervisor
="no"
13444 if test "$nesting_supervisor" = "yes" ; then
13445 aros_nesting_supervisor
="1"
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
13448 $as_echo "$nesting_supervisor" >&6; }
13450 if test "$aros_enable_mmu" = "" ; then
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
13452 $as_echo_n "checking if MMU support is enabled... " >&6; }
13453 # Check whether --enable-mmu was given.
13454 if test "${enable_mmu+set}" = set; then :
13455 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
13457 aros_enable_mmu
="yes"
13460 if test "$aros_enable_mmu" = "" ; then
13461 aros_enable_mmu
="yes"
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
13464 $as_echo "$aros_enable_mmu" >&6; }
13466 if test "$aros_enable_mmu" = "no" ; then
13467 aros_enable_mmu
="0"
13469 aros_enable_mmu
="1"
13473 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13475 if test "x-$need_dlopen" != "x-no" ; then
13478 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13479 if test "x$ac_cv_func_dlopen" = xyes
; then :
13485 if test "x-$have_dl" = "x-no" ; then
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13487 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13488 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13489 $as_echo_n "(cached) " >&6
13491 ac_check_lib_save_LIBS
=$LIBS
13493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13494 /* end confdefs.h. */
13496 /* Override any GCC internal prototype to avoid an error.
13497 Use char because int might match the return type of a GCC
13498 builtin and then its argument prototype would still apply. */
13511 if ac_fn_c_try_link
"$LINENO"; then :
13512 ac_cv_lib_dl_dlopen
=yes
13514 ac_cv_lib_dl_dlopen
=no
13516 rm -f core conftest.err conftest.
$ac_objext \
13517 conftest
$ac_exeext conftest.
$ac_ext
13518 LIBS
=$ac_check_lib_save_LIBS
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13521 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13522 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13524 aros_host_ldflags
="$aros_host_ldflags -ldl"
13530 if test "x-$have_dl" = "x-no" ; then
13531 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
13537 # Check whether --enable-x11_hidd was given.
13538 if test "${enable_x11_hidd+set}" = set; then :
13539 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
13541 x11_hidd
="$need_x11"
13544 case "x-$x11_hidd" in
13545 x-yes|x-no|x-auto
) ;;
13546 *) x11_hidd
="$need_x11" ;;
13551 if test "x-$x11_hidd" != "x-no" ; then
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13554 $as_echo_n "checking for X... " >&6; }
13557 # Check whether --with-x was given.
13558 if test "${with_x+set}" = set; then :
13562 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13563 if test "x$with_x" = xno
; then
13564 # The user explicitly disabled X.
13567 case $x_includes,$x_libraries in #(
13568 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13569 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
13570 $as_echo_n "(cached) " >&6
13572 # One or both of the vars are not set, and there is no cached value.
13573 ac_x_includes
=no ac_x_libraries
=no
13574 rm -f -r conftest.dir
13575 if mkdir conftest.dir
; then
13577 cat >Imakefile
<<'_ACEOF'
13579 @echo incroot='${INCROOT}'
13581 @echo usrlibdir='${USRLIBDIR}'
13583 @echo libdir='${LIBDIR}'
13585 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13586 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13587 for ac_var
in incroot usrlibdir libdir
; do
13588 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13590 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13591 for ac_extension
in a so sl dylib la dll
; do
13592 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13593 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13594 ac_im_usrlibdir
=$ac_im_libdir; break
13597 # Screen out bogus values from the imake configuration. They are
13598 # bogus both because they are the default anyway, and because
13599 # using them would break gcc on systems where it needs fixed includes.
13600 case $ac_im_incroot in
13601 /usr
/include
) ac_x_includes
= ;;
13602 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13604 case $ac_im_usrlibdir in
13605 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13606 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13610 rm -f -r conftest.dir
13613 # Standard set of common directories for X headers.
13614 # Check X11 before X11Rn because it is often a symlink to the current release.
13628 /usr/local/X11/include
13629 /usr/local/X11R7/include
13630 /usr/local/X11R6/include
13631 /usr/local/X11R5/include
13632 /usr/local/X11R4/include
13634 /usr/local/include/X11
13635 /usr/local/include/X11R7
13636 /usr/local/include/X11R6
13637 /usr/local/include/X11R5
13638 /usr/local/include/X11R4
13642 /usr/XFree86/include/X11
13646 /usr/unsupported/include
13647 /usr/athena/include
13648 /usr/local/x11r5/include
13649 /usr/lpp/Xamples/include
13651 /usr/openwin/include
13652 /usr/openwin/share/include'
13654 if test "$ac_x_includes" = no
; then
13655 # Guess where to find include files, by looking for Xlib.h.
13656 # First, try using that file with no special directory specified.
13657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13658 /* end confdefs.h. */
13659 #include <X11/Xlib.h>
13661 if ac_fn_c_try_cpp
"$LINENO"; then :
13662 # We can compile using X headers with no special include directory.
13665 for ac_dir
in $ac_x_header_dirs; do
13666 if test -r "$ac_dir/X11/Xlib.h"; then
13667 ac_x_includes
=$ac_dir
13672 rm -f conftest.err conftest.i conftest.
$ac_ext
13673 fi # $ac_x_includes = no
13675 if test "$ac_x_libraries" = no
; then
13676 # Check for the libraries.
13677 # See if we find them without any special options.
13678 # Don't add to $LIBS permanently.
13681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13682 /* end confdefs.h. */
13683 #include <X11/Xlib.h>
13692 if ac_fn_c_try_link
"$LINENO"; then :
13694 # We can link X programs with no special library path.
13698 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13700 # Don't even attempt the hair of trying to link an X program!
13701 for ac_extension
in a so sl dylib la dll
; do
13702 if test -r "$ac_dir/libX11.$ac_extension"; then
13703 ac_x_libraries
=$ac_dir
13709 rm -f core conftest.err conftest.
$ac_objext \
13710 conftest
$ac_exeext conftest.
$ac_ext
13711 fi # $ac_x_libraries = no
13713 case $ac_x_includes,$ac_x_libraries in #(
13714 no
,* |
*,no |
*\'*)
13715 # Didn't find X, or a directory has "'" in its name.
13716 ac_cv_have_x
="have_x=no";; #(
13718 # Record where we found X for the cache.
13719 ac_cv_have_x
="have_x=yes\
13720 ac_x_includes='$ac_x_includes'\
13721 ac_x_libraries='$ac_x_libraries'"
13727 eval "$ac_cv_have_x"
13730 if test "$have_x" != yes; then
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13732 $as_echo "$have_x" >&6; }
13735 # If each of the values was on the command line, it overrides each guess.
13736 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13737 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13738 # Update the cache value to reflect the command line values.
13739 ac_cv_have_x
="have_x=yes\
13740 ac_x_includes='$x_includes'\
13741 ac_x_libraries='$x_libraries'"
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13743 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13748 for path
in $x_libraries
13750 x_cflags
="$x_cflags -L$path"
13753 for path
in $x_includes
13755 x_cflags
="$x_cflags -I$path"
13758 if test "x-$no_x" = "x-yes" ; then
13760 if test "x-$x11_hidd" != "x-auto" ; then
13761 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
13768 # Check whether --enable-x11_shm was given.
13769 if test "${enable_x11_shm+set}" = set; then :
13770 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
13772 x11_hidd_shm
="auto"
13775 case "x-$x11_hidd_shm" in
13776 x-yes|x-no|x-auto
) ;;
13777 *) x11_hidd_shm
="auto" ;;
13782 if test "x-$x11_hidd_shm" != "x-no" ; then
13784 for ac_header
in sys
/ipc.h
13786 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
13787 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
13788 cat >>confdefs.h
<<_ACEOF
13789 #define HAVE_SYS_IPC_H 1
13796 for ac_header
in sys
/shm.h
13798 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
13799 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
13800 cat >>confdefs.h
<<_ACEOF
13801 #define HAVE_SYS_SHM_H 1
13809 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
13811 save_cflags
="$CFLAGS"
13812 CFLAGS
="$CFLAGS $x_cflags"
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13814 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
13815 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
13816 $as_echo_n "(cached) " >&6
13818 ac_check_lib_save_LIBS
=$LIBS
13819 LIBS
="-lXext $LIBS"
13820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13821 /* end confdefs.h. */
13823 /* Override any GCC internal prototype to avoid an error.
13824 Use char because int might match the return type of a GCC
13825 builtin and then its argument prototype would still apply. */
13829 char XShmQueryExtension ();
13833 return XShmQueryExtension ();
13838 if ac_fn_c_try_link
"$LINENO"; then :
13839 ac_cv_lib_Xext_XShmQueryExtension
=yes
13841 ac_cv_lib_Xext_XShmQueryExtension
=no
13843 rm -f core conftest.err conftest.
$ac_objext \
13844 conftest
$ac_exeext conftest.
$ac_ext
13845 LIBS
=$ac_check_lib_save_LIBS
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
13848 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
13849 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
13853 CFLAGS
="$save_cflags"
13857 if test "x-$have_xshm" = "x-yes" ; then
13858 DO_XSHM_SUPPORT
="1"
13859 elif test "x-$x11_hidd_shm" = "x-yes" ; then
13860 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
13862 DO_XSHM_SUPPORT
="0"
13866 # Check whether --enable-x11_vidmode was given.
13867 if test "${enable_x11_vidmode+set}" = set; then :
13868 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
13870 x11_hidd_vidmode
="auto"
13873 case "x-$x11_hidd_vidmode" in
13874 x-yes|x-no|x-auto
) ;;
13875 *) x11_hidd_vidmode
="auto" ;;
13880 if test "x-$x11_hidd_vidmode" != "x-no" ; then
13882 save_cflags
="$CFLAGS"
13883 CFLAGS
="$CFLAGS $x_cflags"
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
13885 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
13886 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
13887 $as_echo_n "(cached) " >&6
13889 ac_check_lib_save_LIBS
=$LIBS
13890 LIBS
="-lXxf86vm $LIBS"
13891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13892 /* end confdefs.h. */
13894 /* Override any GCC internal prototype to avoid an error.
13895 Use char because int might match the return type of a GCC
13896 builtin and then its argument prototype would still apply. */
13900 char XF86VidModeQueryExtension ();
13904 return XF86VidModeQueryExtension ();
13909 if ac_fn_c_try_link
"$LINENO"; then :
13910 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
13912 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
13914 rm -f core conftest.err conftest.
$ac_objext \
13915 conftest
$ac_exeext conftest.
$ac_ext
13916 LIBS
=$ac_check_lib_save_LIBS
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
13919 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
13920 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
13924 CFLAGS
="$save_cflags"
13927 if test "x-$have_vidmode" = "x-yes" ; then
13928 DO_VIDMODE_SUPPORT
="1"
13929 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
13930 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
13932 DO_VIDMODE_SUPPORT
="0"
13936 aros_host_x11_includes
=$x_includes
13937 aros_host_x11_libdirs
=$x_libraries
13941 # Check whether --enable-sdl_hidd was given.
13942 if test "${enable_sdl_hidd+set}" = set; then :
13943 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
13948 case "x-$sdl_hidd" in
13949 x-yes|x-no|x-auto
) ;;
13950 *) sdl_hidd
="auto" ;;
13953 if test "x-$sdl_hidd" != "x-no" ; then
13957 # Check whether --with-sdl-prefix was given.
13958 if test "${with_sdl_prefix+set}" = set; then :
13959 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
13965 # Check whether --with-sdl-exec-prefix was given.
13966 if test "${with_sdl_exec_prefix+set}" = set; then :
13967 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
13972 # Check whether --enable-sdltest was given.
13973 if test "${enable_sdltest+set}" = set; then :
13974 enableval
=$enable_sdltest;
13980 if test x
$sdl_exec_prefix != x
; then
13981 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
13982 if test x
${SDL_CONFIG+set} != xset
; then
13983 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
13986 if test x
$sdl_prefix != x
; then
13987 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
13988 if test x
${SDL_CONFIG+set} != xset
; then
13989 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
13993 as_save_PATH
="$PATH"
13994 if test "x$prefix" != xNONE
; then
13995 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
13997 # Extract the first word of "sdl-config", so it can be a program name with args.
13998 set dummy sdl-config
; ac_word
=$2
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14000 $as_echo_n "checking for $ac_word... " >&6; }
14001 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
14002 $as_echo_n "(cached) " >&6
14004 case $SDL_CONFIG in
14006 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
14009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14010 for as_dir
in $PATH
14013 test -z "$as_dir" && as_dir
=.
14014 for ac_exec_ext
in '' $ac_executable_extensions; do
14015 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14016 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14024 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
14028 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
14029 if test -n "$SDL_CONFIG"; then
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
14031 $as_echo "$SDL_CONFIG" >&6; }
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14034 $as_echo "no" >&6; }
14038 PATH
="$as_save_PATH"
14039 min_sdl_version
=$SDL_VERSION
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
14041 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
14043 if test "$SDL_CONFIG" = "no" ; then
14046 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
14047 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
14049 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
14050 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
14051 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
14052 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
14053 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
14054 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
14055 if test "x$enable_sdltest" = "xyes" ; then
14056 ac_save_CFLAGS
="$CFLAGS"
14057 ac_save_CXXFLAGS
="$CXXFLAGS"
14058 ac_save_LIBS
="$LIBS"
14059 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14060 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14061 LIBS
="$LIBS $SDL_LIBS"
14063 if test "$cross_compiling" = yes; then :
14064 echo $ac_n "cross compiling; assumed OK... $ac_c"
14066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14067 /* end confdefs.h. */
14070 #include <stdlib.h>
14071 #include <string.h>
14075 my_strdup (char *str)
14081 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14082 strcpy (new_str, str);
14090 int main (int argc, char *argv[])
14092 int major, minor, micro;
14095 /* This hangs on some systems (?)
14096 system ("touch conf.sdltest");
14098 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14100 /* HP/UX 9 (%@#!) writes to sscanf strings */
14101 tmp_version = my_strdup("$min_sdl_version");
14102 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14103 printf("%s, bad version string\n", "$min_sdl_version");
14107 if (($sdl_major_version > major) ||
14108 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14109 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14115 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14116 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14117 printf("*** best to upgrade to the required version.\n");
14118 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14119 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14120 printf("*** config.cache before re-running configure\n");
14127 if ac_fn_c_try_run
"$LINENO"; then :
14132 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14133 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14136 CFLAGS
="$ac_save_CFLAGS"
14137 CXXFLAGS
="$ac_save_CXXFLAGS"
14138 LIBS
="$ac_save_LIBS"
14141 if test "x$no_sdl" = x
; then
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14143 $as_echo "yes" >&6; }
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14147 $as_echo "no" >&6; }
14148 if test "$SDL_CONFIG" = "no" ; then
14149 echo "*** The sdl-config script installed by SDL could not be found"
14150 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14151 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14152 echo "*** full path to sdl-config."
14154 if test -f conf.sdltest
; then
14157 echo "*** Could not run SDL test program, checking why..."
14158 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14159 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14160 LIBS
="$LIBS $SDL_LIBS"
14161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14162 /* end confdefs.h. */
14167 int main(int argc, char *argv[])
14170 #define main K_and_R_C_main
14180 if ac_fn_c_try_link
"$LINENO"; then :
14181 echo "*** The test program compiled, but did not run. This usually means"
14182 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14183 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14184 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14185 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14186 echo "*** is required on your system"
14188 echo "*** If you have an old version installed, it is best to remove it, although"
14189 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14191 echo "*** The test program failed to compile or link. See the file config.log for the"
14192 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14193 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14194 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14196 rm -f core conftest.err conftest.
$ac_objext \
14197 conftest
$ac_exeext conftest.
$ac_ext
14198 CFLAGS
="$ac_save_CFLAGS"
14199 CXXFLAGS
="$ac_save_CXXFLAGS"
14200 LIBS
="$ac_save_LIBS"
14212 if test "x-$have_sdl" != "x-yes" ; then
14214 if test "x-$sdl_hidd" != "x-auto" ; then
14215 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14220 aros_host_sdl_cflags
=$SDL_CFLAGS
14221 aros_host_sdl_libs
=$SDL_LIBS
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
14229 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
14230 # Check whether --enable-dbus was given.
14231 if test "${enable_dbus+set}" = set; then :
14232 enableval
=$enable_dbus; dbus
="yes"
14237 if test "$dbus" = "yes" ; then
14239 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14240 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14241 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14242 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14247 $as_echo "$dbus" >&6; }
14249 if test "$use_kernel_cc_wrapper" = "yes" ; then
14250 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-${toolchain_c_compiler}"
14267 # Compatability with other Amiga-like operation systems
14370 # Hosted Graphics Related
14388 # Native version related
14392 # Palm native version related
14395 # Unix/Hosted version related
14401 # Apple iOS related
14406 # ARM default GCC target related
14434 # Collect-aros stuff: "-ius" to ignore undefined symbols
14437 # C compiler related
14442 #ObjC compiler related
14451 case "$aros_flavour" in
14452 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
14453 aros_flavour
="emulation" ;;
14454 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
14455 aros_flavour
="emulation" ;;
14456 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
14457 aros_flavour
="standalone";;
14458 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14459 aros_flavour
="standalone";;
14460 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
14461 aros_flavour
="native" ;;
14462 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
14463 aros_flavour
="native" ;;
14464 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
14465 aros_flavour
="linklib" ;;
14466 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14467 aros_flavour
="palmnative" ;;
14468 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
14469 aros_flavour
="mac68knative" ;;
14470 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
14471 aros_flavour
="ppcnative" ;;
14474 if test ! -d ${aros_inc_dir} ; then
14475 ${MKDIR} ${aros_inc_dir}
14477 if test ! -d ${aros_geninc_dir} ; then
14478 ${MKDIR} ${aros_geninc_dir}
14480 if test ! -d ${aros_hostcfg_dir} ; then
14481 ${MKDIR} ${aros_hostcfg_dir}
14483 if test ! -d ${aros_targetcfg_dir} ; then
14484 ${MKDIR} ${aros_targetcfg_dir}
14486 if test ! -d ${aros_tools_dir} ; then
14487 ${MKDIR} ${aros_tools_dir}
14489 if test ! -d ${aros_scripts_dir} ; then
14490 ${MKDIR} ${aros_scripts_dir}
14493 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
14496 # Generic build tools (metamake, etc)
14497 ac_config_commands
="$ac_config_commands genmf-executable-support"
14499 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"
14503 ac_config_commands
="$ac_config_commands binutils-support"
14505 ac_config_files
="$ac_config_files ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld:scripts/aros-ld.in"
14508 # Bare Elf support script and spec
14509 if test "${use_kernel_cc_wrapper}" = "yes"; then
14510 ac_config_commands
="$ac_config_commands elf-compiler-support"
14512 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"
14516 # Host compiler support scripts and spec
14517 if test "${aros_target_toolchain}" = "no"; then
14518 ac_config_commands
="$ac_config_commands host-compiler-wrapper-support"
14520 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"
14525 if test "$aros_target_variant" == "android"; then
14526 ac_config_files
="$ac_config_files ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in"
14531 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in"
14534 cat >confcache
<<\_ACEOF
14535 # This file is a shell script that caches the results of configure
14536 # tests run on this system so they can be shared between configure
14537 # scripts and configure runs, see configure's option --config-cache.
14538 # It is not useful on other systems. If it contains results you don't
14539 # want to keep, you may remove or edit it.
14541 # config.status only pays attention to the cache file if you give it
14542 # the --recheck option to rerun configure.
14544 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14545 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14546 # following values.
14550 # The following way of writing the cache mishandles newlines in values,
14551 # but we know of no workaround that is simple, portable, and efficient.
14552 # So, we kill variables containing newlines.
14553 # Ultrix sh set writes to stderr and can't be redirected directly,
14554 # and sets the high bit in the cache file unless we assign to the vars.
14556 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14557 eval ac_val
=\$
$ac_var
14561 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14562 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14565 _ | IFS | as_nl
) ;; #(
14566 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14567 *) { eval $ac_var=; unset $ac_var;} ;;
14573 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14574 *${as_nl}ac_space
=\
*)
14575 # `set' does not quote correctly, so add quotes: double-quote
14576 # substitution turns \\\\ into \\, and sed turns \\ into \.
14579 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14582 # `set' quotes correctly as required by POSIX, so do not add quotes.
14583 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14592 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14594 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14596 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14597 if test -w "$cache_file"; then
14598 if test "x$cache_file" != "x/dev/null"; then
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14600 $as_echo "$as_me: updating cache $cache_file" >&6;}
14601 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14602 cat confcache
>"$cache_file"
14604 case $cache_file in #(
14606 mv -f confcache
"$cache_file"$$
&&
14607 mv -f "$cache_file"$$
"$cache_file" ;; #(
14609 mv -f confcache
"$cache_file" ;;
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14615 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14620 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14621 # Let make expand exec_prefix.
14622 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14624 DEFS
=-DHAVE_CONFIG_H
14629 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14630 # 1. Remove the extension, and $U if already installed.
14631 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14632 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14633 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14634 # will be set to the directory where LIBOBJS objects are built.
14635 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14636 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14638 LIBOBJS
=$ac_libobjs
14640 LTLIBOBJS
=$ac_ltlibobjs
14644 : "${CONFIG_STATUS=./config.status}"
14646 ac_clean_files_save
=$ac_clean_files
14647 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14649 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14651 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14653 # Generated by $as_me.
14654 # Run this file to recreate the current configuration.
14655 # Compiler output produced by configure, useful for debugging
14656 # configure, is in config.log if it exists.
14659 ac_cs_recheck=false
14662 SHELL=\${CONFIG_SHELL-$SHELL}
14665 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14666 ## -------------------- ##
14667 ## M4sh Initialization. ##
14668 ## -------------------- ##
14670 # Be more Bourne compatible
14671 DUALCASE
=1; export DUALCASE
# for MKS sh
14672 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14675 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14676 # is contrary to our usage. Disable this feature.
14677 alias -g '${1+"$@"}'='"$@"'
14678 setopt NO_GLOB_SUBST
14680 case `(set -o) 2>/dev/null` in #(
14692 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14693 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14694 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14695 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14696 # Prefer a ksh shell builtin over an external printf program on Solaris,
14697 # but without wasting forks for bash or zsh.
14698 if test -z "$BASH_VERSION$ZSH_VERSION" \
14699 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14700 as_echo='print
-r --'
14701 as_echo_n='print
-rn --'
14702 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14703 as_echo='printf %s
\n'
14704 as_echo_n='printf %s
'
14706 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14707 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14708 as_echo_n='/usr
/ucb
/echo -n'
14710 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14711 as_echo_n_body='eval
14715 expr "X$arg" : "X\\(.*\\)$as_nl";
14716 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14718 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14720 export as_echo_n_body
14721 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14723 export as_echo_body
14724 as_echo='sh
-c $as_echo_body as_echo
'
14727 # The user is always right.
14728 if test "${PATH_SEPARATOR+set}" != set; then
14730 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14731 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14738 # We need space, tab and new line, in precisely that order. Quoting is
14739 # there to prevent editors from complaining about space-tab.
14740 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14741 # splitting by setting IFS to empty value.)
14744 # Find who we are. Look in the path if we contain no directory separator.
14747 *[\\/]* ) as_myself=$0 ;;
14748 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14749 for as_dir in $PATH
14752 test -z "$as_dir" && as_dir=.
14753 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14759 # We did not find ourselves, most probably we were run as `sh COMMAND'
14760 # in which case we are not to be found in the path.
14761 if test "x$as_myself" = x
; then
14764 if test ! -f "$as_myself"; then
14765 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14769 # Unset variables that we do not need and which cause bugs (e.g. in
14770 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14771 # suppresses any "Segmentation fault" message there. '((' could
14772 # trigger a bug in pdksh 5.2.14.
14773 for as_var
in BASH_ENV ENV MAIL MAILPATH
14774 do eval test x\
${$as_var+set} = xset \
14775 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14788 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14791 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14792 # ----------------------------------------
14793 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14794 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14795 # script with STATUS, using 1 if that was 0.
14798 as_status
=$1; test $as_status -eq 0 && as_status
=1
14800 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14801 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14803 $as_echo "$as_me: error: $2" >&2
14804 as_fn_exit
$as_status
14808 # as_fn_set_status STATUS
14809 # -----------------------
14810 # Set $? to STATUS, without forking.
14811 as_fn_set_status
()
14814 } # as_fn_set_status
14816 # as_fn_exit STATUS
14817 # -----------------
14818 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14822 as_fn_set_status
$1
14828 # Portably unset VAR.
14831 { eval $1=; unset $1;}
14833 as_unset
=as_fn_unset
14834 # as_fn_append VAR VALUE
14835 # ----------------------
14836 # Append the text in VALUE to the end of the definition contained in VAR. Take
14837 # advantage of any shell optimizations that allow amortized linear growth over
14838 # repeated appends, instead of the typical quadratic growth present in naive
14840 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14841 eval 'as_fn_append ()
14852 # as_fn_arith ARG...
14853 # ------------------
14854 # Perform arithmetic evaluation on the ARGs, and store the result in the
14855 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14856 # must be portable across $(()) and expr.
14857 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14858 eval 'as_fn_arith ()
14865 as_val
=`expr "$@" || test $? -eq 1`
14870 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14871 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14877 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14878 as_basename
=basename
14883 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14889 as_me
=`$as_basename -- "$0" ||
14890 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14891 X"$0" : 'X\(//\)$' \| \
14892 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14894 sed '/^.*\/\([^/][^/]*\)\/*$/{
14908 # Avoid depending upon Character Ranges.
14909 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14910 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14911 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14912 as_cr_digits
='0123456789'
14913 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14915 ECHO_C
= ECHO_N
= ECHO_T
=
14916 case `echo -n x` in #(((((
14918 case `echo 'xy\c'` in
14919 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14921 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14928 rm -f conf$$ conf$$.exe conf$$.
file
14929 if test -d conf$$.dir
; then
14930 rm -f conf$$.dir
/conf$$.
file
14933 mkdir conf$$.dir
2>/dev
/null
14935 if (echo >conf$$.
file) 2>/dev
/null
; then
14936 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14938 # ... but there are two gotchas:
14939 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14940 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14941 # In both cases, we have to default to `cp -pR'.
14942 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14944 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14952 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14953 rmdir conf$$.dir
2>/dev
/null
14958 # Create "$as_dir" as a directory, including parents if necessary.
14963 -*) as_dir
=.
/$as_dir;;
14965 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14969 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14970 *) as_qdir
=$as_dir;;
14972 as_dirs
="'$as_qdir' $as_dirs"
14973 as_dir
=`$as_dirname -- "$as_dir" ||
14974 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14975 X"$as_dir" : 'X\(//\)[^/]' \| \
14976 X"$as_dir" : 'X\(//\)$' \| \
14977 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14978 $as_echo X"$as_dir" |
14979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14983 /^X\(\/\/\)[^/].*/{
14996 test -d "$as_dir" && break
14998 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14999 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15003 if mkdir
-p .
2>/dev
/null
; then
15004 as_mkdir_p
='mkdir -p "$as_dir"'
15006 test -d .
/-p && rmdir .
/-p
15011 # as_fn_executable_p FILE
15012 # -----------------------
15013 # Test if FILE is an executable regular file.
15014 as_fn_executable_p
()
15016 test -f "$1" && test -x "$1"
15017 } # as_fn_executable_p
15018 as_test_x
='test -x'
15019 as_executable_p
=as_fn_executable_p
15021 # Sed expression to map a string onto a valid CPP name.
15022 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15024 # Sed expression to map a string onto a valid variable name.
15025 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15029 ## ----------------------------------- ##
15030 ## Main body of $CONFIG_STATUS script. ##
15031 ## ----------------------------------- ##
15033 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15036 # Save the log message, to keep $0 and so on meaningful, and to
15037 # report actual input values of CONFIG_FILES etc. instead of their
15038 # values after options handling.
15040 This file was extended by $as_me, which was
15041 generated by GNU Autoconf 2.69. Invocation command line was
15043 CONFIG_FILES = $CONFIG_FILES
15044 CONFIG_HEADERS = $CONFIG_HEADERS
15045 CONFIG_LINKS = $CONFIG_LINKS
15046 CONFIG_COMMANDS = $CONFIG_COMMANDS
15049 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15054 case $ac_config_files in *"
15055 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15058 case $ac_config_headers in *"
15059 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15064 # Files that config.status was made for.
15065 config_files="$ac_config_files"
15066 config_headers="$ac_config_headers"
15067 config_commands="$ac_config_commands"
15071 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15073 \`$as_me' instantiates files and other configuration actions
15074 from templates according to the current configuration. Unless the files
15075 and actions are specified as TAGs, all are instantiated by default.
15077 Usage: $0 [OPTION]... [TAG]...
15079 -h, --help print this help, then exit
15080 -V, --version print version number and configuration settings, then exit
15081 --config print configuration, then exit
15082 -q, --quiet, --silent
15083 do not print progress messages
15084 -d, --debug don't remove temporary files
15085 --recheck update $as_me by reconfiguring in the same conditions
15086 --file=FILE[:TEMPLATE]
15087 instantiate the configuration file FILE
15088 --header=FILE[:TEMPLATE]
15089 instantiate the configuration header FILE
15091 Configuration files:
15094 Configuration headers:
15097 Configuration commands:
15100 Report bugs to the package provider."
15103 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15104 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15107 configured by $0, generated by GNU Autoconf 2.69,
15108 with options \\"\$ac_cs_config\\"
15110 Copyright (C) 2012 Free Software Foundation, Inc.
15111 This config.status script is free software; the Free Software Foundation
15112 gives unlimited permission to copy, distribute and modify it."
15116 test -n "\$AWK" || AWK=awk
15119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15120 # The default lists apply if the user does not specify any file.
15126 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15127 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15131 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15143 # Handling of the options.
15144 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15146 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15147 $as_echo "$ac_cs_version"; exit ;;
15148 --config |
--confi |
--conf |
--con |
--co |
--c )
15149 $as_echo "$ac_cs_config"; exit ;;
15150 --debug |
--debu |
--deb |
--de |
--d |
-d )
15152 --file |
--fil |
--fi |
--f )
15155 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15156 '') as_fn_error $?
"missing file argument" ;;
15158 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15159 ac_need_defaults
=false
;;
15160 --header |
--heade |
--head |
--hea )
15163 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15165 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15166 ac_need_defaults
=false
;;
15168 # Conflict between --help and --header
15169 as_fn_error $?
"ambiguous option: \`$1'
15170 Try \`$0 --help' for more information.";;
15171 --help |
--hel |
-h )
15172 $as_echo "$ac_cs_usage"; exit ;;
15173 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15174 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15177 # This is an error.
15178 -*) as_fn_error $?
"unrecognized option: \`$1'
15179 Try \`$0 --help' for more information." ;;
15181 *) as_fn_append ac_config_targets
" $1"
15182 ac_need_defaults
=false
;;
15188 ac_configure_extra_args
=
15190 if $ac_cs_silent; then
15192 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15196 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15197 if \$ac_cs_recheck; then
15198 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15200 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15201 CONFIG_SHELL='$SHELL'
15202 export CONFIG_SHELL
15207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15211 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15212 ## Running $as_me. ##
15218 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15222 aros_tools_dir=${aros_tools_dir}
15225 aros_host_exe_suffix=${aros_host_exe_suffix}
15226 aros_tools_dir=${aros_tools_dir}
15227 aros_target_cpu=${aros_target_cpu}
15228 aros_target_arch=${aros_target_arch}
15229 aros_target_suffix=${aros_target_suffix}
15230 orig_target_nm=${orig_target_nm}
15231 orig_target_as=${orig_target_as}
15232 orig_target_ar=${orig_target_ar}
15233 orig_target_ranlib=${orig_target_ranlib}
15234 orig_target_objdump=${orig_target_objdump}
15235 orig_target_objcopy=${orig_target_objcopy}
15236 orig_target_strip=${orig_target_strip}
15237 aros_kernel_ld=${aros_kernel_ld}
15241 aros_host_exe_suffix=${aros_host_exe_suffix}
15242 aros_tools_dir=${aros_tools_dir}
15243 aros_target_cpu=${aros_target_cpu}
15244 aros_target_arch=${aros_target_arch}
15245 aros_target_suffix=${aros_target_suffix}
15246 aros_kernel_ld=${aros_kernel_ld}
15250 aros_host_exe_suffix=${aros_host_exe_suffix}
15251 aros_tools_dir=${aros_tools_dir}
15252 aros_target_cpu=${aros_target_cpu}
15253 aros_target_arch=${aros_target_arch}
15254 aros_target_suffix=${aros_target_suffix}
15260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15262 # Handling of arguments.
15263 for ac_config_target
in $ac_config_targets
15265 case $ac_config_target in
15266 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15267 "genmf-executable-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf-executable-support" ;;
15268 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15269 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15270 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15271 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15272 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15273 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15274 "${aros_targetcfg_dir}/build.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/build.cfg:config/build.cfg.in" ;;
15275 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15276 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15277 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15278 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15279 "binutils-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS binutils-support" ;;
15280 "${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" ;;
15281 "elf-compiler-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS elf-compiler-support" ;;
15282 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15283 "${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" ;;
15284 "host-compiler-wrapper-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS host-compiler-wrapper-support" ;;
15285 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15286 "${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" ;;
15287 "${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" ;;
15288 "${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" ;;
15289 "${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" ;;
15290 "${aros_targetcfg_dir}/conf.cmake") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in" ;;
15292 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15297 # If the user did not use the arguments to specify the items to instantiate,
15298 # then the envvar interface is used. Set only those that are not.
15299 # We use the long form for the default assignment because of an extremely
15300 # bizarre bug on SunOS 4.1.3.
15301 if $ac_need_defaults; then
15302 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15303 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15304 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15307 # Have a temporary directory for convenience. Make it in the build tree
15308 # simply because there is no reason against having it here, and in addition,
15309 # creating and moving files from /tmp can sometimes cause problems.
15310 # Hook for its removal unless debugging.
15311 # Note that there is a small window in which the directory will not be cleaned:
15312 # after its creation but before its name has been assigned to `$tmp'.
15316 trap 'exit_status=$?
15317 : "${ac_tmp:=$tmp}"
15318 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15320 trap 'as_fn_exit 1' 1 2 13 15
15322 # Create a (secure) tmp directory for tmp files.
15325 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15329 tmp
=.
/conf$$
-$RANDOM
15330 (umask 077 && mkdir
"$tmp")
15331 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15334 # Set up the scripts for CONFIG_FILES section.
15335 # No need to generate them if there are no CONFIG_FILES.
15336 # This happens for instance with `./config.status config.h'.
15337 if test -n "$CONFIG_FILES"; then
15340 ac_cr
=`echo X | tr X '\015'`
15341 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15342 # But we know of no other shell where ac_cr would be empty at this
15343 # point, so we can use a bashism as a fallback.
15344 if test "x$ac_cr" = x
; then
15345 eval ac_cr
=\$
\'\\r
\'
15347 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15348 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15351 ac_cs_awk_cr
=$ac_cr
15354 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15359 echo "cat >conf$$subs.awk <<_ACEOF" &&
15360 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15362 } >conf$$subs.sh ||
15363 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15364 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15366 for ac_last_try in false false false false false :; do
15367 . ./conf$$subs.sh ||
15368 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15370 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15371 if test $ac_delim_n = $ac_delim_num; then
15373 elif $ac_last_try; then
15374 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15376 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15379 rm -f conf$$subs.sh
15381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15382 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15386 s/^/S["/; s
/!.
*/"]=/
15396 s/\(.\{148\}\)..*/\1/
15398 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15403 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15410 s/\(.\{148\}\)..*/\1/
15412 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15416 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15421 ' <conf$$subs.awk | sed '
15426 ' >>$CONFIG_STATUS || ac_write_fail=1
15427 rm -f conf$$subs.awk
15428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15430 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15431 for (key in S) S_is_set[key] = 1
15437 nfields = split(line, field, "@
")
15439 len = length(field[1])
15440 for (i = 2; i < nfields; i++) {
15442 keylen = length(key)
15443 if (S_is_set[key]) {
15445 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15446 len += length(value) + length(field[++i])
15457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15458 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15459 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15462 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15463 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15466 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15467 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15468 # trailing colons and then remove the whole line if VPATH becomes empty
15469 # (actually we leave an empty line to preserve line numbers).
15470 if test "x
$srcdir" = x.; then
15471 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15489 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15490 fi # test -n "$CONFIG_FILES"
15492 # Set up the scripts for CONFIG_HEADERS section.
15493 # No need to generate them if there are no CONFIG_HEADERS.
15494 # This happens for instance with `./config.status Makefile'.
15495 if test -n "$CONFIG_HEADERS"; then
15496 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15500 # Transform confdefs.h into an awk script `defines.awk', embedded as
15501 # here-document in config.status, that substitutes the proper values into
15502 # config.h.in to produce config.h.
15504 # Create a delimiter string that does not exist in confdefs.h, to ease
15505 # handling of long lines.
15507 for ac_last_try in false false :; do
15508 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15509 if test -z "$ac_tt"; then
15511 elif $ac_last_try; then
15512 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15514 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15518 # For the awk script, D is an array of macro values keyed by name,
15519 # likewise P contains macro parameters if any. Preserve backslash
15520 # newline sequences.
15522 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15524 s/.\{148\}/&'"$ac_delim"'/g
15527 s/^[ ]*#[ ]*define[ ][ ]*/ /
15534 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15536 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15540 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15541 D["\
1"]=" \
3\\\\\\n
"\\/p
15543 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15548 s/.\{148\}/&'"$ac_delim"'/g
15553 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15556 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15558 ' <confdefs.h | sed '
15559 s/'"$ac_delim"'/"\\\
15560 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15562 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15563 for (key in D) D_is_set[key] = 1
15566 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15568 split(line, arg, " ")
15569 if (arg[1] == "#") {
15573 defundef
= substr
(arg
[1], 2)
15576 split(mac1
, mac2
, "(") #)
15578 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15579 if (D_is_set
[macro
]) {
15580 # Preserve the white space surrounding the "#".
15581 print prefix
"define", macro P
[macro
] D
[macro
]
15584 # Replace #undef with comments. This is necessary, for example,
15585 # in the case of _POSIX_SOURCE, which is predefined and required
15586 # on some systems where configure will not decide to define it.
15587 if (defundef
== "undef") {
15588 print
"/*", prefix defundef
, macro
, "*/"
15596 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15597 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15598 fi # test -n "$CONFIG_HEADERS"
15601 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15606 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15608 case $ac_mode$ac_tag in
15610 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15611 :[FH
]-) ac_tag
=-:-;;
15612 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15629 -) ac_f
="$ac_tmp/stdin";;
15630 *) # Look for the file first in the build tree, then in the source tree
15631 # (if the path is not absolute). The absolute path cannot be DOS-style,
15632 # because $ac_f cannot contain `:'.
15636 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15638 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15640 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15641 as_fn_append ac_file_inputs
" '$ac_f'"
15644 # Let's still pretend it is `configure' which instantiates (i.e., don't
15645 # use $as_me), people would be surprised to read:
15646 # /* config.h. Generated by config.status. */
15647 configure_input
='Generated from '`
15648 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15650 if test x
"$ac_file" != x-
; then
15651 configure_input
="$ac_file. $configure_input"
15652 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15653 $as_echo "$as_me: creating $ac_file" >&6;}
15655 # Neutralize special characters interpreted by sed in replacement strings.
15656 case $configure_input in #(
15657 *\
&* |
*\|
* |
*\\* )
15658 ac_sed_conf_input
=`$as_echo "$configure_input" |
15659 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15660 *) ac_sed_conf_input
=$configure_input;;
15664 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15665 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15670 ac_dir
=`$as_dirname -- "$ac_file" ||
15671 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15672 X"$ac_file" : 'X\(//\)[^/]' \| \
15673 X"$ac_file" : 'X\(//\)$' \| \
15674 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15675 $as_echo X"$ac_file" |
15676 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15680 /^X\(\/\/\)[^/].*/{
15693 as_dir
="$ac_dir"; as_fn_mkdir_p
15697 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15699 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15700 # A ".." for each directory in $ac_dir_suffix.
15701 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15702 case $ac_top_builddir_sub in
15703 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15704 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15707 ac_abs_top_builddir
=$ac_pwd
15708 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15709 # for backward compatibility:
15710 ac_top_builddir
=$ac_top_build_prefix
15713 .
) # We are building in place.
15715 ac_top_srcdir
=$ac_top_builddir_sub
15716 ac_abs_top_srcdir
=$ac_pwd ;;
15717 [\\/]* | ?
:[\\/]* ) # Absolute name.
15718 ac_srcdir
=$srcdir$ac_dir_suffix;
15719 ac_top_srcdir
=$srcdir
15720 ac_abs_top_srcdir
=$srcdir ;;
15721 *) # Relative name.
15722 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15723 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15724 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15726 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15738 # If the template does not know about datarootdir, expand it.
15739 # FIXME: This hack should be removed a few years after 2.60.
15740 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15751 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15752 *datarootdir
*) ac_datarootdir_seen
=yes;;
15753 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15755 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15757 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15758 ac_datarootdir_hack='
15759 s&@datadir@&$datadir&g
15760 s&@docdir@&$docdir&g
15761 s&@infodir@&$infodir&g
15762 s&@localedir@&$localedir&g
15763 s&@mandir@&$mandir&g
15764 s&\\\${datarootdir}&$datarootdir&g' ;;
15768 # Neutralize VPATH when `$srcdir' = `.'.
15769 # Shell code in configure.ac might set extrasub.
15770 # FIXME: do we really want to maintain this feature?
15771 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15772 ac_sed_extra="$ac_vpsub
15775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15777 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15778 s|@configure_input@|
$ac_sed_conf_input|
;t t
15779 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15780 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15781 s
&@srcdir@
&$ac_srcdir&;t t
15782 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15783 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15784 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15785 s
&@builddir@
&$ac_builddir&;t t
15786 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15787 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15788 $ac_datarootdir_hack
15790 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15791 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15793 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15794 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15795 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15796 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15798 which seems to be undefined. Please make sure it is defined" >&5
15799 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15800 which seems to be undefined. Please make sure it is defined" >&2;}
15802 rm -f "$ac_tmp/stdin"
15804 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15805 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15807 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15813 if test x"$ac_file" != x-; then
15815 $as_echo "/* $configure_input */" \
15816 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15817 } >"$ac_tmp/config.h" \
15818 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15819 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15820 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15821 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15824 mv "$ac_tmp/config.h" "$ac_file" \
15825 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15828 $as_echo "/* $configure_input */" \
15829 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15830 || as_fn_error $? "could not create -" "$LINENO" 5
15834 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15835 $as_echo "$as_me: executing $ac_file commands" >&6;}
15840 case $ac_file$ac_mode in
15841 "genmf-executable-support":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
15842 "binutils-support":C)
15843 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
15845 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
15847 chmod a+x ${prefix2}-ld
15849 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
15850 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
15851 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
15852 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
15853 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
15854 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
15855 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
15857 "elf-compiler-support":C)
15858 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
15860 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
15862 chmod a+x ${prefix2}-gcc
15864 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix2}-ld$aros_host_exe_suffix
15866 "host-compiler-wrapper-support":C)
15867 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
15869 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
15871 chmod a+x ${prefix2}-${toolchain_c_compiler} ${prefix2}-${toolchain_cxx_compiler} ${prefix2}-${toolchain_cpp_preprocessor}
15880 ac_clean_files=$ac_clean_files_save
15882 test $ac_write_fail = 0 ||
15883 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15886 # configure is writing to config.log, and then calls config.status.
15887 # config.status does its own redirection, appending to config.log.
15888 # Unfortunately, on DOS this fails, as config.log is still kept open
15889 # by configure, so config.status won't be able to
write to it
; its
15890 # output is simply discarded. So we exec the FD to /dev/null,
15891 # effectively closing config.log, so it can be properly (re)opened and
15892 # appended to by config.status. When coming back to configure, we
15893 # need to make the FD available again.
15894 if test "$no_create" != yes; then
15896 ac_config_status_args
=
15897 test "$silent" = yes &&
15898 ac_config_status_args
="$ac_config_status_args --quiet"
15900 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15902 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15903 # would make configure fail if this is the last instruction.
15904 $ac_cs_success || as_fn_exit
1
15906 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15908 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15913 #XXX compatability...
15914 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
15916 if test -n "$aros_shared_cflags" ; then
15917 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
15918 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg