2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="mmakefile"
586 # Factoring default headers for most tests.
587 ac_includes_default
="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
623 ac_subst_vars
='LTLIBOBJS
627 target_binutils_version
629 ignore_undefined_symbols
643 gcc_default_float_abi
651 aros_nesting_supervisor
657 aros_host_x11_ldflags
668 crosstools_cxx_target
671 aros_optimization_cflags
673 aros_target_strip_flags
680 aros_kernel_objcflags
703 aros_target_cc_includes
719 aros_target_bootloader
740 aros_amigaos_compliance
748 aros_target_toolchain
757 kernel_cflags_iquote_end
759 host_cflags_iquote_end
762 aros_target_nostdlib_ldflags
763 aros_target_detach_ldflags
764 aros_target_nix_ldflags
765 aros_target_nostartup_ldflags
766 aros_target_nostdinc_cflags
805 arosconfig_use_libpngconfig
888 program_transform_name
901 enable_option_checking
911 with_kernel_gcc_version
914 enable_target_variant
921 enable_amigaos_compliance
922 with_kernel_toolchain_prefix
923 with_elf_toolchain_prefix
926 with_aros_toolchain_install
927 with_binutils_version
941 enable_palm_debug_hack
943 enable_nesting_supervisor
955 ac_precious_vars
='build_alias
971 # Initialize some variables set by options.
973 ac_init_version
=false
974 ac_unrecognized_opts
=
976 # The variables have the same names as the options, with
977 # dashes changed to underlines.
985 program_transform_name
=s
,x
,x
,
993 # Installation directory options.
994 # These are left unexpanded so users can "make install exec_prefix=/foo"
995 # and all the variables that are supposed to be based on exec_prefix
996 # by default will actually change.
997 # Use braces instead of parens because sh, perl, etc. also accept them.
998 # (The list follows the same order as the GNU Coding Standards.)
999 bindir
='${exec_prefix}/bin'
1000 sbindir
='${exec_prefix}/sbin'
1001 libexecdir
='${exec_prefix}/libexec'
1002 datarootdir
='${prefix}/share'
1003 datadir
='${datarootdir}'
1004 sysconfdir
='${prefix}/etc'
1005 sharedstatedir
='${prefix}/com'
1006 localstatedir
='${prefix}/var'
1007 includedir
='${prefix}/include'
1008 oldincludedir
='/usr/include'
1009 docdir
='${datarootdir}/doc/${PACKAGE}'
1010 infodir
='${datarootdir}/info'
1015 libdir
='${exec_prefix}/lib'
1016 localedir
='${datarootdir}/locale'
1017 mandir
='${datarootdir}/man'
1023 # If the previous option needs an argument, assign it.
1024 if test -n "$ac_prev"; then
1025 eval $ac_prev=\
$ac_option
1031 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1036 # Accept the important Cygnus configure options, so we can diagnose typos.
1038 case $ac_dashdash$ac_option in
1042 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1044 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1045 bindir
=$ac_optarg ;;
1047 -build |
--build |
--buil |
--bui |
--bu)
1048 ac_prev
=build_alias
;;
1049 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1050 build_alias
=$ac_optarg ;;
1052 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1053 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1054 ac_prev
=cache_file
;;
1055 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1056 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1057 cache_file
=$ac_optarg ;;
1059 --config-cache |
-C)
1060 cache_file
=config.cache
;;
1062 -datadir |
--datadir |
--datadi |
--datad)
1064 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1065 datadir
=$ac_optarg ;;
1067 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1068 |
--dataroo |
--dataro |
--datar)
1069 ac_prev
=datarootdir
;;
1070 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1071 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1072 datarootdir
=$ac_optarg ;;
1074 -disable-* |
--disable-*)
1075 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1076 # Reject names that are not valid shell variable names.
1077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1078 as_fn_error $?
"invalid feature name: $ac_useropt"
1079 ac_useropt_orig
=$ac_useropt
1080 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081 case $ac_user_opts in
1083 "enable_
$ac_useropt"
1085 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1086 ac_unrecognized_sep
=', ';;
1088 eval enable_
$ac_useropt=no
;;
1090 -docdir |
--docdir |
--docdi |
--doc |
--do)
1092 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1093 docdir
=$ac_optarg ;;
1095 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1097 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1098 dvidir
=$ac_optarg ;;
1100 -enable-* |
--enable-*)
1101 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1102 # Reject names that are not valid shell variable names.
1103 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1104 as_fn_error $?
"invalid feature name: $ac_useropt"
1105 ac_useropt_orig
=$ac_useropt
1106 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1107 case $ac_user_opts in
1109 "enable_
$ac_useropt"
1111 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1112 ac_unrecognized_sep
=', ';;
1114 eval enable_
$ac_useropt=\
$ac_optarg ;;
1116 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1117 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1118 |
--exec |
--exe |
--ex)
1119 ac_prev
=exec_prefix
;;
1120 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1121 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1122 |
--exec=* |
--exe=* |
--ex=*)
1123 exec_prefix
=$ac_optarg ;;
1125 -gas |
--gas |
--ga |
--g)
1126 # Obsolete; use --with-gas.
1129 -help |
--help |
--hel |
--he |
-h)
1130 ac_init_help
=long
;;
1131 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1132 ac_init_help
=recursive
;;
1133 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1134 ac_init_help
=short
;;
1136 -host |
--host |
--hos |
--ho)
1137 ac_prev
=host_alias
;;
1138 -host=* |
--host=* |
--hos=* |
--ho=*)
1139 host_alias
=$ac_optarg ;;
1141 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1143 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1145 htmldir
=$ac_optarg ;;
1147 -includedir |
--includedir |
--includedi |
--included |
--include \
1148 |
--includ |
--inclu |
--incl |
--inc)
1149 ac_prev
=includedir
;;
1150 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1151 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1152 includedir
=$ac_optarg ;;
1154 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1156 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1157 infodir
=$ac_optarg ;;
1159 -libdir |
--libdir |
--libdi |
--libd)
1161 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1162 libdir
=$ac_optarg ;;
1164 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1165 |
--libexe |
--libex |
--libe)
1166 ac_prev
=libexecdir
;;
1167 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1168 |
--libexe=* |
--libex=* |
--libe=*)
1169 libexecdir
=$ac_optarg ;;
1171 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1172 ac_prev
=localedir
;;
1173 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1174 localedir
=$ac_optarg ;;
1176 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1177 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1178 ac_prev
=localstatedir
;;
1179 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1180 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1181 localstatedir
=$ac_optarg ;;
1183 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1185 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1186 mandir
=$ac_optarg ;;
1188 -nfp |
--nfp |
--nf)
1189 # Obsolete; use --without-fp.
1192 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1193 |
--no-cr |
--no-c |
-n)
1196 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1197 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1200 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1201 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1202 |
--oldin |
--oldi |
--old |
--ol |
--o)
1203 ac_prev
=oldincludedir
;;
1204 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1205 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1206 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1207 oldincludedir
=$ac_optarg ;;
1209 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1211 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1212 prefix
=$ac_optarg ;;
1214 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1215 |
--program-pre |
--program-pr |
--program-p)
1216 ac_prev
=program_prefix
;;
1217 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1218 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1219 program_prefix
=$ac_optarg ;;
1221 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1222 |
--program-suf |
--program-su |
--program-s)
1223 ac_prev
=program_suffix
;;
1224 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1225 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1226 program_suffix
=$ac_optarg ;;
1228 -program-transform-name |
--program-transform-name \
1229 |
--program-transform-nam |
--program-transform-na \
1230 |
--program-transform-n |
--program-transform- \
1231 |
--program-transform |
--program-transfor \
1232 |
--program-transfo |
--program-transf \
1233 |
--program-trans |
--program-tran \
1234 |
--progr-tra |
--program-tr |
--program-t)
1235 ac_prev
=program_transform_name
;;
1236 -program-transform-name=* |
--program-transform-name=* \
1237 |
--program-transform-nam=* |
--program-transform-na=* \
1238 |
--program-transform-n=* |
--program-transform-=* \
1239 |
--program-transform=* |
--program-transfor=* \
1240 |
--program-transfo=* |
--program-transf=* \
1241 |
--program-trans=* |
--program-tran=* \
1242 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1243 program_transform_name
=$ac_optarg ;;
1245 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1247 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1248 pdfdir
=$ac_optarg ;;
1250 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1252 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1255 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1256 |
-silent |
--silent |
--silen |
--sile |
--sil)
1259 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1261 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1263 sbindir
=$ac_optarg ;;
1265 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1266 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1267 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1269 ac_prev
=sharedstatedir
;;
1270 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1271 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1272 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1274 sharedstatedir
=$ac_optarg ;;
1276 -site |
--site |
--sit)
1278 -site=* |
--site=* |
--sit=*)
1281 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1283 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1284 srcdir
=$ac_optarg ;;
1286 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1287 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1288 ac_prev
=sysconfdir
;;
1289 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1290 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1291 sysconfdir
=$ac_optarg ;;
1293 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1294 ac_prev
=target_alias
;;
1295 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1296 target_alias
=$ac_optarg ;;
1298 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1301 -version |
--version |
--versio |
--versi |
--vers |
-V)
1302 ac_init_version
=: ;;
1305 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1306 # Reject names that are not valid shell variable names.
1307 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1308 as_fn_error $?
"invalid package name: $ac_useropt"
1309 ac_useropt_orig
=$ac_useropt
1310 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1311 case $ac_user_opts in
1315 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1316 ac_unrecognized_sep
=', ';;
1318 eval with_
$ac_useropt=\
$ac_optarg ;;
1320 -without-* |
--without-*)
1321 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1322 # Reject names that are not valid shell variable names.
1323 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1324 as_fn_error $?
"invalid package name: $ac_useropt"
1325 ac_useropt_orig
=$ac_useropt
1326 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1327 case $ac_user_opts in
1331 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1332 ac_unrecognized_sep
=', ';;
1334 eval with_
$ac_useropt=no
;;
1337 # Obsolete; use --with-x.
1340 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1341 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1342 ac_prev
=x_includes
;;
1343 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1344 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1345 x_includes
=$ac_optarg ;;
1347 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1348 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1349 ac_prev
=x_libraries
;;
1350 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1351 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1352 x_libraries
=$ac_optarg ;;
1354 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1355 Try \`$0 --help' for more information"
1359 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1360 # Reject names that are not valid shell variable names.
1361 case $ac_envvar in #(
1362 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1363 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1365 eval $ac_envvar=\
$ac_optarg
1366 export $ac_envvar ;;
1369 # FIXME: should be removed in autoconf 3.0.
1370 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1371 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1372 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1373 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1379 if test -n "$ac_prev"; then
1380 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1381 as_fn_error $?
"missing argument to $ac_option"
1384 if test -n "$ac_unrecognized_opts"; then
1385 case $enable_option_checking in
1387 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1388 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1392 # Check all directory arguments for consistency.
1393 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1394 datadir sysconfdir sharedstatedir localstatedir includedir \
1395 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1396 libdir localedir mandir
1398 eval ac_val
=\$
$ac_var
1399 # Remove trailing slashes.
1402 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1403 eval $ac_var=\
$ac_val;;
1405 # Be sure to have absolute directory names.
1407 [\\/$
]* | ?
:[\\/]* ) continue;;
1408 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1410 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1413 # There might be people who depend on the old broken behavior: `$host'
1414 # used to hold the argument of --host etc.
1415 # FIXME: To remove some day.
1418 target
=$target_alias
1420 # FIXME: To remove some day.
1421 if test "x$host_alias" != x
; then
1422 if test "x$build_alias" = x
; then
1423 cross_compiling
=maybe
1424 elif test "x$build_alias" != "x$host_alias"; then
1430 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1432 test "$silent" = yes && exec 6>/dev
/null
1435 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1436 ac_ls_di
=`ls -di .` &&
1437 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1438 as_fn_error $?
"working directory cannot be determined"
1439 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1440 as_fn_error $?
"pwd does not report name of working directory"
1443 # Find the source files, if location was not specified.
1444 if test -z "$srcdir"; then
1445 ac_srcdir_defaulted
=yes
1446 # Try the directory containing this script, then the parent directory.
1447 ac_confdir
=`$as_dirname -- "$as_myself" ||
1448 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1449 X"$as_myself" : 'X\(//\)[^/]' \| \
1450 X"$as_myself" : 'X\(//\)$' \| \
1451 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1452 $as_echo X"$as_myself" |
1453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1471 if test ! -r "$srcdir/$ac_unique_file"; then
1475 ac_srcdir_defaulted
=no
1477 if test ! -r "$srcdir/$ac_unique_file"; then
1478 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1479 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1481 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1483 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1485 # When building in place, set srcdir=.
1486 if test "$ac_abs_confdir" = "$ac_pwd"; then
1489 # Remove unnecessary trailing slashes from srcdir.
1490 # Double slashes in file names in object file debugging info
1491 # mess up M-x gdb in Emacs.
1493 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1495 for ac_var
in $ac_precious_vars; do
1496 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1497 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1498 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1499 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1503 # Report the --help message.
1505 if test "$ac_init_help" = "long"; then
1506 # Omit some internal or obsolete options to make the list less imposing.
1507 # This message is too long to be a string in the A/UX 3.1 sh.
1509 \`configure' configures this package to adapt to many kinds of systems.
1511 Usage: $0 [OPTION]... [VAR=VALUE]...
1513 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1514 VAR=VALUE. See below for descriptions of some of the useful variables.
1516 Defaults for the options are specified in brackets.
1519 -h, --help display this help and exit
1520 --help=short display options specific to this package
1521 --help=recursive display the short help of all the included packages
1522 -V, --version display version information and exit
1523 -q, --quiet, --silent do not print \`checking ...' messages
1524 --cache-file=FILE cache test results in FILE [disabled]
1525 -C, --config-cache alias for \`--cache-file=config.cache'
1526 -n, --no-create do not create output files
1527 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1529 Installation directories:
1530 --prefix=PREFIX install architecture-independent files in PREFIX
1531 [$ac_default_prefix]
1532 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1535 By default, \`make install' will install all the files in
1536 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1537 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1538 for instance \`--prefix=\$HOME'.
1540 For better control, use the options below.
1542 Fine tuning of the installation directories:
1543 --bindir=DIR user executables [EPREFIX/bin]
1544 --sbindir=DIR system admin executables [EPREFIX/sbin]
1545 --libexecdir=DIR program executables [EPREFIX/libexec]
1546 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1547 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1548 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1549 --libdir=DIR object code libraries [EPREFIX/lib]
1550 --includedir=DIR C header files [PREFIX/include]
1551 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1552 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1553 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1554 --infodir=DIR info documentation [DATAROOTDIR/info]
1555 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1556 --mandir=DIR man documentation [DATAROOTDIR/man]
1557 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1558 --htmldir=DIR html documentation [DOCDIR]
1559 --dvidir=DIR dvi documentation [DOCDIR]
1560 --pdfdir=DIR pdf documentation [DOCDIR]
1561 --psdir=DIR ps documentation [DOCDIR]
1567 --x-includes=DIR X include files are
in DIR
1568 --x-libraries=DIR X library files are
in DIR
1571 --build=BUILD configure
for building on BUILD
[guessed
]
1572 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1576 if test -n "$ac_init_help"; then
1581 --disable-option-checking ignore unrecognized
--enable/--with options
1582 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1583 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1584 --disable-libpng-config disable libpng-config
test and configuration
1585 --enable-lto=yes|no Enable link
time optimizations
if the target
1586 compiler supports them
(default
=no
)
1587 --enable-build-type=TYPE
1588 Select the build
type. Available types are
:
1589 personal
, nightly
, snapshot
, milestone
, release. Do
1590 NOT use this option unless you know what you are
1591 doing
! (default
=personal
)
1592 --enable-debug=list Enable different types of debug. Commas or
1593 whitespaces can be used to separate the items
in the
1594 list. Available types of debug are
: all
, none
,
1595 messages
, stack
, mungwall
, modules
, symbols. If no
1596 list is provided
then "all" is assumed.
1598 --enable-distcc Use distcc as a front end to the compiler
1600 --enable-ccache Use ccache as a front end to the compiler
1602 --enable-target-variant=NAME
1603 Enable a specific target variant
(default
=none
)
1604 --enable-amigaos-compliance=VERSION
1605 Enforce userspace AmigaOS compliance to a specific
1606 KickStart version
(default
=none
).
1607 --disable-crosstools Do not build cross-compiler toolchain
1608 --enable-objc Enable Objectve-C support
(default
=no
)
1609 --enable-java Enable Java support
(default
=no
)
1610 --enable-includes=dir Alternative system include directory
1611 --enable-palm-debug-hack
1612 Enable palm debug output hack
in palm native
1614 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1615 --enable-nesting-supervisor
1616 Enable nesting supervisor support
in unix
1618 --disable-mmu Disable MMU support
(default
=enabled
)
1619 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1620 --enable-x11-shm use X11 shared memory
(default
=auto
)
1621 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1622 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1623 --disable-sdltest Do not try to compile and run a
test SDL program
1624 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1627 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1628 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1629 --with-c-compiler=VERSION
1630 Use specified c compiler
for building AROS
1631 --with-cxx-compiler=VERSION
1632 Use specified c
++ compiler building AROS
1633 --with-toolchain=family Which toolchain family to crosscompile with
1635 --with-kernel-gcc-version=VERSION
1636 Use gcc-VERSION
for building bootstrap
1637 --with-optimization=FLAGS
1638 Use optimization flags FLAGS
(default
=-O2).
1639 --with-paranoia=(yes|no|FLAGS
)
1640 Specific compiler warning FLAGS to
enable for
1641 paranoia builds
(default
=-Wall -Werror)
1642 --with-xcode=PATH Specify XCode path
for iOS targets
1643 (default
=/Developer
).
1644 --with-sdk-version=VERSION
1645 Use iOS SDK version VERSION
(default
=4.1).
1646 --with-sdk=PATH Specify Android SDK path
1647 (default
=$default_android_sdk).
1648 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1649 --with-sdk-version=LEVEL
1650 Use Android SDK
for API LEVEL
(default
=12).
1651 --with-ndk-version=LEVEL
1652 Use Android NDK
for API LEVEL
(default
=9).
1653 --with-apk-version=(release|debug
)
1654 Which version of AROSBootstrap.apk to compile.
1655 Release version needs key
for signing
, debug version
1656 will only run
in emulator.
(default
=release
)
1657 --with-kernel-toolchain-prefix=...
1658 Specify crosscompile toolchain prefix
for kernel
1660 --with-elf-toolchain-prefix=...
1661 Specify crosscompile toolchain prefix to wrap
for
1663 --with-aros-toolchain=PREFIX
1664 Specify prebuilt AROS toolchain. Use
yes for default
1666 --with-aros-toolchain-install=DIR
1667 Where to
install or search
for cross tools binaries
1668 --with-binutils-version=VERSION
1669 Use binutils-VERSION
for building AROS
1670 --with-gcc-version=VERSION
1671 Compile gcc-VERSION
for AROS
1672 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1673 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1674 --with-float=<spec
> Specify floating point ABI
1675 (default
=$gcc_default_float_abi).
1676 --with-portssources=DIR Where to download sourcecode
for external ports
1677 --with-bootloader=NAME Use a specific bootloader
1678 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1679 --with-theme=NAME Use a specific GUI Theme
1680 --with-resolution=XRESxYRESxDEPTH
1681 Default resolution of the initial WorkbenchScreen
1682 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1683 --with-x use the X Window System
1684 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1685 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1687 Some influential environment variables
:
1688 CXX C
++ compiler
command
1689 CXXFLAGS C
++ compiler flags
1690 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1691 nonstandard directory
<lib dir
>
1692 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1693 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1694 you have headers
in a nonstandard directory
<include dir
>
1695 CC C compiler
command
1696 CFLAGS C compiler flags
1698 PYTHON the Python interpreter
1699 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1701 Use these variables to override the choices made by
`configure' or to help
1702 it to find libraries and programs with nonstandard names/locations.
1704 Report bugs to the package provider.
1709 if test "$ac_init_help" = "recursive"; then
1710 # If there are subdirs, report their specific --help.
1711 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1712 test -d "$ac_dir" ||
1713 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1718 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1720 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1721 # A ".." for each directory in $ac_dir_suffix.
1722 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1723 case $ac_top_builddir_sub in
1724 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1725 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1728 ac_abs_top_builddir=$ac_pwd
1729 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1730 # for backward compatibility:
1731 ac_top_builddir=$ac_top_build_prefix
1734 .) # We are building in place.
1736 ac_top_srcdir=$ac_top_builddir_sub
1737 ac_abs_top_srcdir=$ac_pwd ;;
1738 [\\/]* | ?:[\\/]* ) # Absolute name.
1739 ac_srcdir=$srcdir$ac_dir_suffix;
1740 ac_top_srcdir=$srcdir
1741 ac_abs_top_srcdir=$srcdir ;;
1743 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1744 ac_top_srcdir=$ac_top_build_prefix$srcdir
1745 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1747 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1749 cd "$ac_dir" || { ac_status=$?; continue; }
1750 # Check for guested configure.
1751 if test -f "$ac_srcdir/configure.gnu"; then
1753 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1754 elif test -f "$ac_srcdir/configure"; then
1756 $SHELL "$ac_srcdir/configure" --help=recursive
1758 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1760 cd "$ac_pwd" || { ac_status=$?; break; }
1764 test -n "$ac_init_help" && exit $ac_status
1765 if $ac_init_version; then
1768 generated by GNU Autoconf 2.69
1770 Copyright (C) 2012 Free Software Foundation, Inc.
1771 This configure script is free software; the Free Software Foundation
1772 gives unlimited permission to copy, distribute and modify it.
1777 ## ------------------------ ##
1778 ## Autoconf initialization. ##
1779 ## ------------------------ ##
1781 # ac_fn_cxx_try_compile LINENO
1782 # ----------------------------
1783 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1784 ac_fn_cxx_try_compile ()
1786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787 rm -f conftest.$ac_objext
1788 if { { ac_try="$ac_compile"
1790 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1791 *) ac_try_echo
=$ac_try;;
1793 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1794 $as_echo "$ac_try_echo"; } >&5
1795 (eval "$ac_compile") 2>conftest.err
1797 if test -s conftest.err
; then
1798 grep -v '^ *+' conftest.err
>conftest.er1
1799 cat conftest.er1
>&5
1800 mv -f conftest.er1 conftest.err
1802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1803 test $ac_status = 0; } && {
1804 test -z "$ac_cxx_werror_flag" ||
1805 test ! -s conftest.err
1806 } && test -s conftest.
$ac_objext; then :
1809 $as_echo "$as_me: failed program was:" >&5
1810 sed 's/^/| /' conftest.
$ac_ext >&5
1814 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1815 as_fn_set_status
$ac_retval
1817 } # ac_fn_cxx_try_compile
1819 # ac_fn_c_try_compile LINENO
1820 # --------------------------
1821 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1822 ac_fn_c_try_compile
()
1824 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1825 rm -f conftest.
$ac_objext
1826 if { { ac_try
="$ac_compile"
1828 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1829 *) ac_try_echo=$ac_try;;
1831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1832 $as_echo "$ac_try_echo"; } >&5
1833 (eval "$ac_compile") 2>conftest.err
1835 if test -s conftest.err; then
1836 grep -v '^ *+' conftest.err >conftest.er1
1837 cat conftest.er1 >&5
1838 mv -f conftest.er1 conftest.err
1840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1841 test $ac_status = 0; } && {
1842 test -z "$ac_c_werror_flag" ||
1843 test ! -s conftest.err
1844 } && test -s conftest.$ac_objext; then :
1847 $as_echo "$as_me: failed program was:" >&5
1848 sed 's/^/| /' conftest.$ac_ext >&5
1852 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1853 as_fn_set_status $ac_retval
1855 } # ac_fn_c_try_compile
1857 # ac_fn_c_try_cpp LINENO
1858 # ----------------------
1859 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1862 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1863 if { { ac_try="$ac_cpp conftest.$ac_ext"
1865 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1866 *) ac_try_echo
=$ac_try;;
1868 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1869 $as_echo "$ac_try_echo"; } >&5
1870 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1872 if test -s conftest.err
; then
1873 grep -v '^ *+' conftest.err
>conftest.er1
1874 cat conftest.er1
>&5
1875 mv -f conftest.er1 conftest.err
1877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1878 test $ac_status = 0; } > conftest.i
&& {
1879 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1880 test ! -s conftest.err
1884 $as_echo "$as_me: failed program was:" >&5
1885 sed 's/^/| /' conftest.
$ac_ext >&5
1889 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1890 as_fn_set_status
$ac_retval
1894 # ac_fn_c_try_link LINENO
1895 # -----------------------
1896 # Try to link conftest.$ac_ext, and return whether this succeeded.
1899 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1900 rm -f conftest.
$ac_objext conftest
$ac_exeext
1901 if { { ac_try
="$ac_link"
1903 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1904 *) ac_try_echo=$ac_try;;
1906 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1907 $as_echo "$ac_try_echo"; } >&5
1908 (eval "$ac_link") 2>conftest.err
1910 if test -s conftest.err; then
1911 grep -v '^ *+' conftest.err >conftest.er1
1912 cat conftest.er1 >&5
1913 mv -f conftest.er1 conftest.err
1915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1916 test $ac_status = 0; } && {
1917 test -z "$ac_c_werror_flag" ||
1918 test ! -s conftest.err
1919 } && test -s conftest$ac_exeext && {
1920 test "$cross_compiling" = yes ||
1921 test -x conftest$ac_exeext
1925 $as_echo "$as_me: failed program was:" >&5
1926 sed 's/^/| /' conftest.$ac_ext >&5
1930 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1931 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1932 # interfere with the next link command; also delete a directory that is
1933 # left behind by Apple's compiler. We do this before executing the actions.
1934 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1935 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1936 as_fn_set_status $ac_retval
1938 } # ac_fn_c_try_link
1940 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1941 # -------------------------------------------------------
1942 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1943 # the include files in INCLUDES and setting the cache variable VAR
1945 ac_fn_c_check_header_mongrel ()
1947 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1948 if eval \${$3+:} false; then :
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1950 $as_echo_n "checking for $2... " >&6; }
1951 if eval \${$3+:} false; then :
1952 $as_echo_n "(cached) " >&6
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1956 $as_echo "$ac_res" >&6; }
1958 # Is the header compilable?
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1960 $as_echo_n "checking $2 usability... " >&6; }
1961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1962 /* end confdefs.h. */
1966 if ac_fn_c_try_compile "$LINENO"; then :
1967 ac_header_compiler=yes
1969 ac_header_compiler=no
1971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1973 $as_echo "$ac_header_compiler" >&6; }
1975 # Is the header present?
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1977 $as_echo_n "checking $2 presence... " >&6; }
1978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1979 /* end confdefs.h. */
1982 if ac_fn_c_try_cpp "$LINENO"; then :
1983 ac_header_preproc=yes
1985 ac_header_preproc=no
1987 rm -f conftest.err conftest.i conftest.$ac_ext
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1989 $as_echo "$ac_header_preproc" >&6; }
1991 # So? What about this header?
1992 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1995 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&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}: WARNING: $2: present but cannot be compiled" >&5
2001 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2003 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2005 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2007 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2009 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2013 $as_echo_n "checking for $2... " >&6; }
2014 if eval \${$3+:} false; then :
2015 $as_echo_n "(cached) " >&6
2017 eval "$3=\$ac_header_compiler"
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2021 $as_echo "$ac_res" >&6; }
2023 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2025 } # ac_fn_c_check_header_mongrel
2027 # ac_fn_c_try_run LINENO
2028 # ----------------------
2029 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2030 # that executables *can* be run.
2033 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2034 if { { ac_try="$ac_link"
2036 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2037 *) ac_try_echo
=$ac_try;;
2039 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2040 $as_echo "$ac_try_echo"; } >&5
2041 (eval "$ac_link") 2>&5
2043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2044 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2045 { { case "(($ac_try" in
2046 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2047 *) ac_try_echo=$ac_try;;
2049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2050 $as_echo "$ac_try_echo"; } >&5
2051 (eval "$ac_try") 2>&5
2053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2054 test $ac_status = 0; }; }; then :
2057 $as_echo "$as_me: program exited with status $ac_status" >&5
2058 $as_echo "$as_me: failed program was:" >&5
2059 sed 's/^/| /' conftest.$ac_ext >&5
2061 ac_retval=$ac_status
2063 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2064 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2065 as_fn_set_status $ac_retval
2069 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2070 # -------------------------------------------------------
2071 # Tests whether HEADER exists and can be compiled using the include files in
2072 # INCLUDES, setting the cache variable VAR accordingly.
2073 ac_fn_c_check_header_compile ()
2075 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2077 $as_echo_n "checking for $2... " >&6; }
2078 if eval \${$3+:} false; then :
2079 $as_echo_n "(cached) " >&6
2081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2082 /* end confdefs.h. */
2086 if ac_fn_c_try_compile "$LINENO"; then :
2091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2095 $as_echo "$ac_res" >&6; }
2096 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2098 } # ac_fn_c_check_header_compile
2100 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2101 # ----------------------------------------------------
2102 # Tries to find if the field MEMBER exists in type AGGR, after including
2103 # INCLUDES, setting cache variable VAR accordingly.
2104 ac_fn_c_check_member ()
2106 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2108 $as_echo_n "checking for $2.$3... " >&6; }
2109 if eval \${$4+:} false; then :
2110 $as_echo_n "(cached) " >&6
2112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2113 /* end confdefs.h. */
2125 if ac_fn_c_try_compile "$LINENO"; then :
2128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2129 /* end confdefs.h. */
2135 if (sizeof ac_aggr.$3)
2141 if ac_fn_c_try_compile "$LINENO"; then :
2146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2152 $as_echo "$ac_res" >&6; }
2153 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2155 } # ac_fn_c_check_member
2157 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2158 # ---------------------------------------------
2159 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2161 ac_fn_c_check_decl ()
2163 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2164 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2165 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2167 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2168 if eval \${$3+:} false; then :
2169 $as_echo_n "(cached) " >&6
2171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2172 /* end confdefs.h. */
2177 #ifndef $as_decl_name
2179 (void) $as_decl_use;
2181 (void) $as_decl_name;
2189 if ac_fn_c_try_compile "$LINENO"; then :
2194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2198 $as_echo "$ac_res" >&6; }
2199 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2201 } # ac_fn_c_check_decl
2203 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2204 # -------------------------------------------
2205 # Tests whether TYPE exists after having included INCLUDES, setting cache
2206 # variable VAR accordingly.
2207 ac_fn_c_check_type ()
2209 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2211 $as_echo_n "checking for $2... " >&6; }
2212 if eval \${$3+:} false; then :
2213 $as_echo_n "(cached) " >&6
2216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2217 /* end confdefs.h. */
2228 if ac_fn_c_try_compile "$LINENO"; then :
2229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2230 /* end confdefs.h. */
2241 if ac_fn_c_try_compile "$LINENO"; then :
2246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2252 $as_echo "$ac_res" >&6; }
2253 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2255 } # ac_fn_c_check_type
2257 # ac_fn_c_check_func LINENO FUNC VAR
2258 # ----------------------------------
2259 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2260 ac_fn_c_check_func ()
2262 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2264 $as_echo_n "checking for $2... " >&6; }
2265 if eval \${$3+:} false; then :
2266 $as_echo_n "(cached) " >&6
2268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2269 /* end confdefs.h. */
2270 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2272 #define $2 innocuous_$2
2274 /* System header to define __stub macros and hopefully few prototypes,
2275 which can conflict with char $2 (); below.
2276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2277 <limits.h> exists even on freestanding compilers. */
2280 # include <limits.h>
2282 # include <assert.h>
2287 /* Override any GCC internal prototype to avoid an error.
2288 Use char because int might match the return type of a GCC
2289 builtin and then its argument prototype would still apply. */
2294 /* The GNU C library defines this for functions which it implements
2295 to always fail with ENOSYS. Some functions are actually named
2296 something starting with __ and the normal name is an alias. */
2297 #if defined __stub_$2 || defined __stub___$2
2309 if ac_fn_c_try_link "$LINENO"; then :
2314 rm -f core conftest.err conftest.$ac_objext \
2315 conftest$ac_exeext conftest.$ac_ext
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2319 $as_echo "$ac_res" >&6; }
2320 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2322 } # ac_fn_c_check_func
2323 cat >config.log <<_ACEOF
2324 This file contains any messages produced by compilers while
2325 running configure, to aid debugging if configure makes a mistake.
2327 It was created by $as_me, which was
2328 generated by GNU Autoconf 2.69. Invocation command line was
2340 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2341 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2342 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2343 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2344 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2346 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2347 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2349 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2350 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2351 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2352 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2353 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2354 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2355 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2363 test -z "$as_dir" && as_dir=.
2364 $as_echo "PATH: $as_dir"
2380 # Keep a trace of the command line.
2381 # Strip out --no-create and --no-recursion so they do not pile up.
2382 # Strip out --silent because we don't want to record it for future runs.
2383 # Also quote any args containing shell meta-characters.
2384 # Make two passes to allow for proper duplicate-argument suppression.
2388 ac_must_keep_next=false
2394 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2395 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2396 | -silent | --silent | --silen | --sile | --sil)
2399 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2402 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2404 as_fn_append ac_configure_args1 " '$ac_arg'"
2405 if test $ac_must_keep_next = true; then
2406 ac_must_keep_next=false # Got value, back to normal.
2409 *=* | --config-cache | -C | -disable-* | --disable-* \
2410 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2411 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2412 | -with-* | --with-* | -without-* | --without-* | --x)
2413 case "$ac_configure_args0 " in
2414 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2417 -* ) ac_must_keep_next=true ;;
2420 as_fn_append ac_configure_args " '$ac_arg'"
2425 { ac_configure_args0=; unset ac_configure_args0;}
2426 { ac_configure_args1=; unset ac_configure_args1;}
2428 # When interrupted or exit'd, cleanup temporary files, and complete
2429 # config.log. We remove comments because anyway the quotes in there
2430 # would cause problems or look ugly.
2431 # WARNING: Use '\'' to represent an apostrophe within the trap.
2432 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2433 trap 'exit_status=$?
2434 # Save into config.log some information that might help in debugging.
2438 $as_echo "## ---------------- ##
2439 ## Cache variables. ##
2440 ## ---------------- ##"
2442 # The following way of writing the cache mishandles newlines in values,
2444 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2445 eval ac_val=\$$ac_var
2449 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2450 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2453 _ | IFS | as_nl) ;; #(
2454 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2455 *) { eval $ac_var=; unset $ac_var;} ;;
2460 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2461 *${as_nl}ac_space=\ *)
2463 "s/'\''/'\''\\\\'\'''\''/g;
2464 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2467 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2474 $as_echo "## ----------------- ##
2475 ## Output variables. ##
2476 ## ----------------- ##"
2478 for ac_var in $ac_subst_vars
2480 eval ac_val=\$$ac_var
2482 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2484 $as_echo "$ac_var='\''$ac_val'\''"
2488 if test -n "$ac_subst_files"; then
2489 $as_echo "## ------------------- ##
2490 ## File substitutions. ##
2491 ## ------------------- ##"
2493 for ac_var in $ac_subst_files
2495 eval ac_val=\$$ac_var
2497 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2499 $as_echo "$ac_var='\''$ac_val'\''"
2504 if test -s confdefs.h; then
2505 $as_echo "## ----------- ##
2512 test "$ac_signal" != 0 &&
2513 $as_echo "$as_me: caught signal $ac_signal"
2514 $as_echo "$as_me: exit $exit_status"
2516 rm -f core *.core core.conftest.* &&
2517 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2520 for ac_signal in 1 2 13 15; do
2521 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2525 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2526 rm -f -r conftest* confdefs.h
2528 $as_echo "/* confdefs.h */" > confdefs.h
2530 # Predefined preprocessor variables.
2532 cat >>confdefs.h <<_ACEOF
2533 #define PACKAGE_NAME "$PACKAGE_NAME"
2536 cat >>confdefs.h <<_ACEOF
2537 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2540 cat >>confdefs.h <<_ACEOF
2541 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2544 cat >>confdefs.h <<_ACEOF
2545 #define PACKAGE_STRING "$PACKAGE_STRING"
2548 cat >>confdefs.h <<_ACEOF
2549 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2552 cat >>confdefs.h <<_ACEOF
2553 #define PACKAGE_URL "$PACKAGE_URL"
2557 # Let the site file select an alternate cache file if it wants to.
2558 # Prefer an explicitly selected file to automatically selected ones.
2561 if test -n "$CONFIG_SITE"; then
2562 # We do not want a PATH search for config.site.
2563 case $CONFIG_SITE in #((
2564 -*) ac_site_file1=./$CONFIG_SITE;;
2565 */*) ac_site_file1=$CONFIG_SITE;;
2566 *) ac_site_file1=./$CONFIG_SITE;;
2568 elif test "x$prefix" != xNONE; then
2569 ac_site_file1=$prefix/share/config.site
2570 ac_site_file2=$prefix/etc/config.site
2572 ac_site_file1=$ac_default_prefix/share/config.site
2573 ac_site_file2=$ac_default_prefix/etc/config.site
2575 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2577 test "x$ac_site_file" = xNONE && continue
2578 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2580 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2581 sed 's/^/| /' "$ac_site_file" >&5
2583 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2585 as_fn_error $? "failed to load site
script $ac_site_file
2586 See \
`config.log' for more details" "$LINENO" 5; }
2590 if test -r "$cache_file"; then
2591 # Some versions of bash will fail to source /dev/null (special files
2592 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2593 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2595 $as_echo "$as_me: loading cache $cache_file" >&6;}
2597 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2598 *) . "./$cache_file";;
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2603 $as_echo "$as_me: creating cache $cache_file" >&6;}
2607 as_fn_append ac_header_list " stdlib.h"
2608 as_fn_append ac_header_list " unistd.h"
2609 as_fn_append ac_header_list " sys/param.h"
2610 # Check that the precious variables saved in the cache have kept the same
2612 ac_cache_corrupted=false
2613 for ac_var in $ac_precious_vars; do
2614 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2615 eval ac_new_set=\$ac_env_${ac_var}_set
2616 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2617 eval ac_new_val=\$ac_env_${ac_var}_value
2618 case $ac_old_set,$ac_new_set in
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2621 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2622 ac_cache_corrupted=: ;;
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2625 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2626 ac_cache_corrupted=: ;;
2629 if test "x$ac_old_val" != "x$ac_new_val"; then
2630 # differences in whitespace do not lead to failure.
2631 ac_old_val_w=`echo x
$ac_old_val`
2632 ac_new_val_w=`echo x
$ac_new_val`
2633 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2635 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2636 ac_cache_corrupted=:
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2639 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2640 eval $ac_var=\$ac_old_val
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2643 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2645 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2648 # Pass precious variables to config.status.
2649 if test "$ac_new_set" = set; then
2651 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2652 *) ac_arg=$ac_var=$ac_new_val ;;
2654 case " $ac_configure_args " in
2655 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2656 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2660 if $ac_cache_corrupted; then
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2664 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2665 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2667 ## -------------------- ##
2668 ## Main body of script. ##
2669 ## -------------------- ##
2672 ac_cpp='$CPP $CPPFLAGS'
2673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2680 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2681 if test -f "$ac_dir/install-sh"; then
2683 ac_install_sh="$ac_aux_dir/install-sh -c"
2685 elif test -f "$ac_dir/install.sh"; then
2687 ac_install_sh="$ac_aux_dir/install.sh -c"
2689 elif test -f "$ac_dir/shtool"; then
2691 ac_install_sh="$ac_aux_dir/shtool install -c"
2695 if test -z "$ac_aux_dir"; then
2696 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2699 # These three variables are undocumented and unsupported,
2700 # and are intended to be withdrawn in a future Autoconf release.
2701 # They can cause serious problems if a builder's source tree is in a directory
2702 # whose full name contains unusual characters.
2703 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2704 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2705 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2709 # Check what host we are running on.
2710 # If a target is not suggested, we use this one.
2711 # Note that what we call a target, Autoconf calls a host.
2712 # Make sure we can run config.sub.
2713 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2714 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2717 $as_echo_n "checking build system type... " >&6; }
2718 if ${ac_cv_build+:} false; then :
2719 $as_echo_n "(cached) " >&6
2721 ac_build_alias=$build_alias
2722 test "x$ac_build_alias" = x &&
2723 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2724 test "x$ac_build_alias" = x &&
2725 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2726 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2727 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2731 $as_echo "$ac_cv_build" >&6; }
2732 case $ac_cv_build in
2734 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2737 ac_save_IFS=$IFS; IFS='-'
2743 # Remember, the first character of IFS is used to create $*,
2744 # except with old shells:
2747 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2751 $as_echo_n "checking host system type... " >&6; }
2752 if ${ac_cv_host+:} false; then :
2753 $as_echo_n "(cached) " >&6
2755 if test "x$host_alias" = x; then
2756 ac_cv_host=$ac_cv_build
2758 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2759 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2764 $as_echo "$ac_cv_host" >&6; }
2767 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2770 ac_save_IFS=$IFS; IFS='-'
2776 # Remember, the first character of IFS is used to create $*,
2777 # except with old shells:
2780 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2784 # Default versions for the gnu tools we build
2785 default_gcc_version="4.6.4"
2786 default_binutils_version="2.23.2"
2788 # The AROS target is slightly different to the normal GNU style
2789 # format. We don't have the middle part, and we reverse the order
2790 # of the $(CPU) and $(OS) bits.
2792 # Don't strip the version of the target yet, it might be
2793 # useful on some systems.
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2796 $as_echo_n "checking for AROS style target... " >&6; }
2798 if test "$target" = "NONE" ; then
2799 target=$host_os-$host_cpu
2801 if test "$target" = "" ; then
2802 target=$host_os-$host_cpu
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2806 $as_echo "$target" >&6; }
2808 if test "$host_os" = "mingw32" ; then
2812 # Don't know where else to put this...
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2814 $as_echo_n "checking building AROS in... " >&6; }
2815 AROS_BUILDDIR=`${PWDCMD-pwd}`
2816 AROS_BUILDDIR_UNIX=${PWD}
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2818 $as_echo "$AROS_BUILDDIR" >&6; }
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2821 $as_echo_n "checking AROS source in... " >&6; }
2822 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2825 $as_echo "$SRCDIR" >&6; }
2827 # Parse the target field into something useful.
2829 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2830 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2833 # Some debug output, to be removed again.
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2835 $as_echo_n "checking for target system (debug output)... " >&6; }
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2837 $as_echo "$target_os" >&6; }
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2839 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2841 $as_echo "$target_cpu" >&6; }
2843 aros_nominal_width=800
2844 aros_nominal_height=600
2845 aros_nominal_depth=4
2848 default_c_compilers="gcc clang cc"
2850 # Check whether --with-c-compiler was given.
2851 if test "${with_c_compiler+set}" = set; then :
2852 withval=$with_c_compiler; use_c_compiler="$withval"
2857 if test "$use_c_compiler" = ""; then
2858 host_c_compilers="$default_c_compilers"
2860 host_c_compilers="$use_c_compiler"
2863 default_cxx_compilers="g++ clang++ c++"
2865 # Check whether --with-cxx-compiler was given.
2866 if test "${with_cxx_compiler+set}" = set; then :
2867 withval=$with_cxx_compiler; use_cxx_compiler="$withval"
2872 if test "$use_cxx_compiler" = ""; then
2873 host_cxx_compilers="$default_cxx_compilers"
2875 host_cxx_compilers="$use_cxx_compiler"
2879 # The first step is to find the host binaries.
2880 # Check for a compiler.
2881 # Due to a bug in autoconf check for c++ compiler first.
2882 # For mor info see, http://osdir.com/ml/bug-autoconf-gnu/2010-05/msg00001.html.
2884 ac_cpp='$CXXCPP $CPPFLAGS'
2885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2888 if test -z "$CXX"; then
2889 if test -n "$CCC"; then
2892 if test -n "$ac_tool_prefix"; then
2893 for ac_prog in ${host_cxx_compilers}
2895 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2896 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2898 $as_echo_n "checking for $ac_word... " >&6; }
2899 if ${ac_cv_prog_CXX+:} false; then :
2900 $as_echo_n "(cached) " >&6
2902 if test -n "$CXX"; then
2903 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2909 test -z "$as_dir" && as_dir=.
2910 for ac_exec_ext in '' $ac_executable_extensions; do
2911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2912 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2923 if test -n "$CXX"; then
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2925 $as_echo "$CXX" >&6; }
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2928 $as_echo "no" >&6; }
2932 test -n "$CXX" && break
2935 if test -z "$CXX"; then
2937 for ac_prog in ${host_cxx_compilers}
2939 # Extract the first word of "$ac_prog", so it can be a program name with args.
2940 set dummy $ac_prog; ac_word=$2
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2942 $as_echo_n "checking for $ac_word... " >&6; }
2943 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2944 $as_echo_n "(cached) " >&6
2946 if test -n "$ac_ct_CXX"; then
2947 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2953 test -z "$as_dir" && as_dir=.
2954 for ac_exec_ext in '' $ac_executable_extensions; do
2955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2956 ac_cv_prog_ac_ct_CXX="$ac_prog"
2957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2966 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2967 if test -n "$ac_ct_CXX"; then
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2969 $as_echo "$ac_ct_CXX" >&6; }
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2972 $as_echo "no" >&6; }
2976 test -n "$ac_ct_CXX" && break
2979 if test "x$ac_ct_CXX" = x; then
2982 case $cross_compiling:$ac_tool_warned in
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2985 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2986 ac_tool_warned=yes ;;
2994 # Provide some information about the compiler.
2995 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2998 for ac_option in --version -v -V -qversion; do
2999 { { ac_try="$ac_compiler $ac_option >&5"
3001 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3002 *) ac_try_echo
=$ac_try;;
3004 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3005 $as_echo "$ac_try_echo"; } >&5
3006 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3008 if test -s conftest.err
; then
3010 ... rest of stderr output deleted ...
3011 10q' conftest.err
>conftest.er1
3012 cat conftest.er1
>&5
3014 rm -f conftest.er1 conftest.err
3015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3016 test $ac_status = 0; }
3019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3020 /* end confdefs.h. */
3030 ac_clean_files_save
=$ac_clean_files
3031 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3032 # Try to create an executable without -o first, disregard a.out.
3033 # It will help us diagnose broken compilers, and finding out an intuition
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3036 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3037 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3039 # The possible output files:
3040 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3043 for ac_file
in $ac_files
3046 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3047 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3052 if { { ac_try
="$ac_link_default"
3054 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3055 *) ac_try_echo=$ac_try;;
3057 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3058 $as_echo "$ac_try_echo"; } >&5
3059 (eval "$ac_link_default") 2>&5
3061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3062 test $ac_status = 0; }; then :
3063 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3064 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3065 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3066 # so that the user can short-circuit this test for compilers unknown to
3068 for ac_file in $ac_files ''
3070 test -f "$ac_file" || continue
3072 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3075 # We found the default executable, but exeext='' is most
3079 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3081 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3083 # We set ac_cv_exeext here because the later test for it is not
3084 # safe: cross compilers may not add the suffix if given an `-o'
3085 # argument, so we may need to know it at that point already.
3086 # Even if this section looks crufty: it has the advantage of
3093 test "$ac_cv_exeext" = no && ac_cv_exeext=
3098 if test -z "$ac_file"; then :
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3100 $as_echo "no" >&6; }
3101 $as_echo "$as_me: failed program was:" >&5
3102 sed 's
/^
/|
/' conftest.$ac_ext >&5
3104 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3105 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3106 as_fn_error 77 "C++ compiler cannot create executables
3107 See \`config.log
' for more details" "$LINENO" 5; }
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3110 $as_echo "yes" >&6; }
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3113 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3115 $as_echo "$ac_file" >&6; }
3116 ac_exeext=$ac_cv_exeext
3118 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3119 ac_clean_files=$ac_clean_files_save
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3121 $as_echo_n "checking for suffix of executables... " >&6; }
3122 if { { ac_try="$ac_link"
3124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3125 *) ac_try_echo=$ac_try;;
3127 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3128 $as_echo "$ac_try_echo"; } >&5
3129 (eval "$ac_link") 2>&5
3131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3132 test $ac_status = 0; }; then :
3133 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3134 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3135 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3137 for ac_file
in conftest.exe conftest conftest.
*; do
3138 test -f "$ac_file" ||
continue
3140 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3141 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3147 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3149 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3150 See \`config.log' for more details" "$LINENO" 5; }
3152 rm -f conftest conftest
$ac_cv_exeext
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3154 $as_echo "$ac_cv_exeext" >&6; }
3156 rm -f conftest.
$ac_ext
3157 EXEEXT
=$ac_cv_exeext
3159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3160 /* end confdefs.h. */
3165 FILE *f = fopen ("conftest.out", "w");
3166 return ferror (f) || fclose (f) != 0;
3172 ac_clean_files
="$ac_clean_files conftest.out"
3173 # Check that the compiler produces executables we can run. If not, either
3174 # the compiler is broken, or we cross compile.
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3176 $as_echo_n "checking whether we are cross compiling... " >&6; }
3177 if test "$cross_compiling" != yes; then
3178 { { ac_try
="$ac_link"
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_link") 2>&5
3187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3188 test $ac_status = 0; }
3189 if { ac_try='./conftest$ac_cv_exeext'
3190 { { case "(($ac_try" in
3191 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3192 *) ac_try_echo
=$ac_try;;
3194 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3195 $as_echo "$ac_try_echo"; } >&5
3196 (eval "$ac_try") 2>&5
3198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3199 test $ac_status = 0; }; }; then
3202 if test "$cross_compiling" = maybe
; then
3205 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3207 as_fn_error $?
"cannot run C++ compiled programs.
3208 If you meant to cross compile, use \`--host'.
3209 See \`config.log' for more details" "$LINENO" 5; }
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3214 $as_echo "$cross_compiling" >&6; }
3216 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3217 ac_clean_files
=$ac_clean_files_save
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3219 $as_echo_n "checking for suffix of object files... " >&6; }
3220 if ${ac_cv_objext+:} false
; then :
3221 $as_echo_n "(cached) " >&6
3223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3224 /* end confdefs.h. */
3234 rm -f conftest.o conftest.obj
3235 if { { ac_try
="$ac_compile"
3237 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3238 *) ac_try_echo=$ac_try;;
3240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3241 $as_echo "$ac_try_echo"; } >&5
3242 (eval "$ac_compile") 2>&5
3244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3245 test $ac_status = 0; }; then :
3246 for ac_file in conftest.o conftest.obj conftest.*; do
3247 test -f "$ac_file" || continue;
3249 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3250 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3255 $as_echo "$as_me: failed program was:" >&5
3256 sed 's/^/| /' conftest.$ac_ext >&5
3258 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3260 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3261 See \
`config.log' for more details" "$LINENO" 5; }
3263 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3266 $as_echo "$ac_cv_objext" >&6; }
3267 OBJEXT=$ac_cv_objext
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3270 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3271 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3272 $as_echo_n "(cached) " >&6
3274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3275 /* end confdefs.h. */
3288 if ac_fn_cxx_try_compile "$LINENO"; then :
3293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3294 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3298 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3299 if test $ac_compiler_gnu = yes; then
3304 ac_test_CXXFLAGS=${CXXFLAGS+set}
3305 ac_save_CXXFLAGS=$CXXFLAGS
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3307 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3308 if ${ac_cv_prog_cxx_g+:} false; then :
3309 $as_echo_n "(cached) " >&6
3311 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3312 ac_cxx_werror_flag=yes
3315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3316 /* end confdefs.h. */
3326 if ac_fn_cxx_try_compile "$LINENO"; then :
3327 ac_cv_prog_cxx_g=yes
3330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3331 /* end confdefs.h. */
3341 if ac_fn_cxx_try_compile "$LINENO"; then :
3344 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3347 /* end confdefs.h. */
3357 if ac_fn_cxx_try_compile "$LINENO"; then :
3358 ac_cv_prog_cxx_g=yes
3360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3365 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3368 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3369 if test "$ac_test_CXXFLAGS" = set; then
3370 CXXFLAGS=$ac_save_CXXFLAGS
3371 elif test $ac_cv_prog_cxx_g = yes; then
3372 if test "$GXX" = yes; then
3378 if test "$GXX" = yes; then
3385 ac_cpp='$CPP $CPPFLAGS'
3386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3391 ac_cpp='$CPP $CPPFLAGS'
3392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3395 if test -n "$ac_tool_prefix"; then
3396 for ac_prog in ${host_c_compilers}
3398 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3399 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3401 $as_echo_n "checking for $ac_word... " >&6; }
3402 if ${ac_cv_prog_CC+:} false; then :
3403 $as_echo_n "(cached) " >&6
3405 if test -n "$CC"; then
3406 ac_cv_prog_CC="$CC" # Let the user override the test.
3408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3412 test -z "$as_dir" && as_dir=.
3413 for ac_exec_ext in '' $ac_executable_extensions; do
3414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3415 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3426 if test -n "$CC"; then
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3428 $as_echo "$CC" >&6; }
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3431 $as_echo "no" >&6; }
3435 test -n "$CC" && break
3438 if test -z "$CC"; then
3440 for ac_prog in ${host_c_compilers}
3442 # Extract the first word of "$ac_prog", so it can be a program name with args.
3443 set dummy $ac_prog; ac_word=$2
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3445 $as_echo_n "checking for $ac_word... " >&6; }
3446 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3447 $as_echo_n "(cached) " >&6
3449 if test -n "$ac_ct_CC"; then
3450 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3456 test -z "$as_dir" && as_dir=.
3457 for ac_exec_ext in '' $ac_executable_extensions; do
3458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3459 ac_cv_prog_ac_ct_CC="$ac_prog"
3460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3469 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3470 if test -n "$ac_ct_CC"; then
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3472 $as_echo "$ac_ct_CC" >&6; }
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3475 $as_echo "no" >&6; }
3479 test -n "$ac_ct_CC" && break
3482 if test "x$ac_ct_CC" = x; then
3485 case $cross_compiling:$ac_tool_warned in
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3489 ac_tool_warned=yes ;;
3496 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3497 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3498 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3499 See \
`config.log' for more details" "$LINENO" 5; }
3501 # Provide some information about the compiler.
3502 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3505 for ac_option in --version -v -V -qversion; do
3506 { { ac_try="$ac_compiler $ac_option >&5"
3508 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3509 *) ac_try_echo
=$ac_try;;
3511 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3512 $as_echo "$ac_try_echo"; } >&5
3513 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3515 if test -s conftest.err
; then
3517 ... rest of stderr output deleted ...
3518 10q' conftest.err
>conftest.er1
3519 cat conftest.er1
>&5
3521 rm -f conftest.er1 conftest.err
3522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3523 test $ac_status = 0; }
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3527 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3528 if ${ac_cv_c_compiler_gnu+:} false
; then :
3529 $as_echo_n "(cached) " >&6
3531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3532 /* end confdefs.h. */
3545 if ac_fn_c_try_compile
"$LINENO"; then :
3550 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3551 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3555 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3556 if test $ac_compiler_gnu = yes; then
3561 ac_test_CFLAGS
=${CFLAGS+set}
3562 ac_save_CFLAGS
=$CFLAGS
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3564 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3565 if ${ac_cv_prog_cc_g+:} false
; then :
3566 $as_echo_n "(cached) " >&6
3568 ac_save_c_werror_flag
=$ac_c_werror_flag
3569 ac_c_werror_flag
=yes
3572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3573 /* end confdefs.h. */
3583 if ac_fn_c_try_compile
"$LINENO"; then :
3587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3588 /* end confdefs.h. */
3598 if ac_fn_c_try_compile
"$LINENO"; then :
3601 ac_c_werror_flag
=$ac_save_c_werror_flag
3603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3604 /* end confdefs.h. */
3614 if ac_fn_c_try_compile
"$LINENO"; then :
3617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3622 ac_c_werror_flag
=$ac_save_c_werror_flag
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3625 $as_echo "$ac_cv_prog_cc_g" >&6; }
3626 if test "$ac_test_CFLAGS" = set; then
3627 CFLAGS
=$ac_save_CFLAGS
3628 elif test $ac_cv_prog_cc_g = yes; then
3629 if test "$GCC" = yes; then
3635 if test "$GCC" = yes; then
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3642 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3643 if ${ac_cv_prog_cc_c89+:} false
; then :
3644 $as_echo_n "(cached) " >&6
3646 ac_cv_prog_cc_c89
=no
3648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3649 /* end confdefs.h. */
3653 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3654 struct buf { int x; };
3655 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3656 static char *e (p, i)
3662 static char *f (char * (*g) (char **, int), char **p, ...)
3667 s = g (p, va_arg (v,int));
3672 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3673 function prototypes and stuff, but not '\xHH' hex character constants.
3674 These don't provoke an error unfortunately, instead are silently treated
3675 as 'x'. The following induces an error, until -std is added to get
3676 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3677 array size at least. It's necessary to write '\x00'==0 to get something
3678 that's true only with -std. */
3679 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3681 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3682 inside strings and character constants. */
3684 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3686 int test (int i, double x);
3687 struct s1 {int (*f) (int a);};
3688 struct s2 {int (*f) (double a);};
3689 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3695 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3700 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3701 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3703 CC
="$ac_save_CC $ac_arg"
3704 if ac_fn_c_try_compile
"$LINENO"; then :
3705 ac_cv_prog_cc_c89
=$ac_arg
3707 rm -f core conftest.err conftest.
$ac_objext
3708 test "x$ac_cv_prog_cc_c89" != "xno" && break
3710 rm -f conftest.
$ac_ext
3715 case "x$ac_cv_prog_cc_c89" in
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3718 $as_echo "none needed" >&6; } ;;
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3721 $as_echo "unsupported" >&6; } ;;
3723 CC
="$CC $ac_cv_prog_cc_c89"
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3725 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3727 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3732 ac_cpp
='$CPP $CPPFLAGS'
3733 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3734 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3735 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3737 aros_host_def_cc
="$CC"
3738 case $ac_cv_prog_cc_stdc in #(
3740 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3743 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3744 if ${ac_cv_prog_cc_c99+:} false
; then :
3745 $as_echo_n "(cached) " >&6
3747 ac_cv_prog_cc_c99
=no
3749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3750 /* end confdefs.h. */
3752 #include <stdbool.h>
3757 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3758 #define debug(...) fprintf (stderr, __VA_ARGS__)
3759 #define showlist(...) puts (#__VA_ARGS__)
3760 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3762 test_varargs_macros (void)
3767 debug ("X = %d\n", x);
3768 showlist (The first, second, and third items.);
3769 report (x>y, "x is %d but y is %d", x, y);
3772 // Check long long types.
3773 #define BIG64 18446744073709551615ull
3774 #define BIG32 4294967295ul
3775 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3777 your preprocessor is broken;
3781 your preprocessor is broken;
3783 static long long int bignum = -9223372036854775807LL;
3784 static unsigned long long int ubignum = BIG64;
3786 struct incomplete_array
3794 const wchar_t *name;
3798 typedef const char *ccp;
3801 test_restrict (ccp restrict text)
3803 // See if C++-style comments work.
3804 // Iterate through items via the restricted pointer.
3805 // Also check for declarations in for loops.
3806 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3811 // Check varargs and va_copy.
3813 test_varargs (const char *format, ...)
3816 va_start (args, format);
3818 va_copy (args_copy, args);
3829 str = va_arg (args_copy, const char *);
3832 number = va_arg (args_copy, int);
3835 fnumber = va_arg (args_copy, double);
3850 _Bool success = false;
3853 if (test_restrict ("String literal") == 0)
3855 char *restrict newvar = "Another string";
3858 test_varargs ("s, d' f .", "string", 65, 34.234);
3859 test_varargs_macros ();
3861 // Check flexible array members.
3862 struct incomplete_array *ia =
3863 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3865 for (int i = 0; i < ia->datasize; ++i)
3866 ia->data[i] = i * 1.234;
3868 // Check named initializers.
3869 struct named_init ni = {
3871 .name = L"Test wide string",
3872 .average = 543.34343,
3877 int dynamic_array[ni.number];
3878 dynamic_array[ni.number - 1] = 543;
3880 // work around unused variable warnings
3881 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3882 || dynamic_array[ni.number - 1] != 543);
3888 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
3890 CC
="$ac_save_CC $ac_arg"
3891 if ac_fn_c_try_compile
"$LINENO"; then :
3892 ac_cv_prog_cc_c99
=$ac_arg
3894 rm -f core conftest.err conftest.
$ac_objext
3895 test "x$ac_cv_prog_cc_c99" != "xno" && break
3897 rm -f conftest.
$ac_ext
3902 case "x$ac_cv_prog_cc_c99" in
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3905 $as_echo "none needed" >&6; } ;;
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3908 $as_echo "unsupported" >&6; } ;;
3910 CC
="$CC $ac_cv_prog_cc_c99"
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3912 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3914 if test "x$ac_cv_prog_cc_c99" != xno
; then :
3915 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3918 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3919 if ${ac_cv_prog_cc_c89+:} false
; then :
3920 $as_echo_n "(cached) " >&6
3922 ac_cv_prog_cc_c89
=no
3924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3925 /* end confdefs.h. */
3929 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3930 struct buf { int x; };
3931 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3932 static char *e (p, i)
3938 static char *f (char * (*g) (char **, int), char **p, ...)
3943 s = g (p, va_arg (v,int));
3948 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3949 function prototypes and stuff, but not '\xHH' hex character constants.
3950 These don't provoke an error unfortunately, instead are silently treated
3951 as 'x'. The following induces an error, until -std is added to get
3952 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3953 array size at least. It's necessary to write '\x00'==0 to get something
3954 that's true only with -std. */
3955 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3957 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3958 inside strings and character constants. */
3960 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3962 int test (int i, double x);
3963 struct s1 {int (*f) (int a);};
3964 struct s2 {int (*f) (double a);};
3965 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3971 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3976 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3977 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3979 CC
="$ac_save_CC $ac_arg"
3980 if ac_fn_c_try_compile
"$LINENO"; then :
3981 ac_cv_prog_cc_c89
=$ac_arg
3983 rm -f core conftest.err conftest.
$ac_objext
3984 test "x$ac_cv_prog_cc_c89" != "xno" && break
3986 rm -f conftest.
$ac_ext
3991 case "x$ac_cv_prog_cc_c89" in
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3994 $as_echo "none needed" >&6; } ;;
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3997 $as_echo "unsupported" >&6; } ;;
3999 CC
="$CC $ac_cv_prog_cc_c89"
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4001 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4003 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4004 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4006 ac_cv_prog_cc_stdc
=no
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4013 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4014 if ${ac_cv_prog_cc_stdc+:} false
; then :
4015 $as_echo_n "(cached) " >&6
4018 case $ac_cv_prog_cc_stdc in #(
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4021 $as_echo "unsupported" >&6; } ;; #(
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4024 $as_echo "none needed" >&6; } ;; #(
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4027 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4031 ac_cpp
='$CPP $CPPFLAGS'
4032 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4033 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4034 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4036 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4037 # On Suns, sometimes $CPP names a directory.
4038 if test -n "$CPP" && test -d "$CPP"; then
4041 if test -z "$CPP"; then
4042 if ${ac_cv_prog_CPP+:} false
; then :
4043 $as_echo_n "(cached) " >&6
4045 # Double quotes because CPP needs to be expanded
4046 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4049 for ac_c_preproc_warn_flag
in '' yes
4051 # Use a header file that comes with gcc, so configuring glibc
4052 # with a fresh cross-compiler works.
4053 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4054 # <limits.h> exists even on freestanding compilers.
4055 # On the NeXT, cc -E runs the code through the compiler's parser,
4056 # not just through cpp. "Syntax error" is here to catch this case.
4057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4058 /* end confdefs.h. */
4060 # include <limits.h>
4062 # include <assert.h>
4066 if ac_fn_c_try_cpp
"$LINENO"; then :
4069 # Broken: fails on valid input.
4072 rm -f conftest.err conftest.i conftest.
$ac_ext
4074 # OK, works on sane cases. Now check whether nonexistent headers
4075 # can be detected and how.
4076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4077 /* end confdefs.h. */
4078 #include <ac_nonexistent.h>
4080 if ac_fn_c_try_cpp
"$LINENO"; then :
4081 # Broken: success on invalid input.
4084 # Passes both tests.
4088 rm -f conftest.err conftest.i conftest.
$ac_ext
4091 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4092 rm -f conftest.i conftest.err conftest.
$ac_ext
4093 if $ac_preproc_ok; then :
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4106 $as_echo "$CPP" >&6; }
4108 for ac_c_preproc_warn_flag
in '' yes
4110 # Use a header file that comes with gcc, so configuring glibc
4111 # with a fresh cross-compiler works.
4112 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4113 # <limits.h> exists even on freestanding compilers.
4114 # On the NeXT, cc -E runs the code through the compiler's parser,
4115 # not just through cpp. "Syntax error" is here to catch this case.
4116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4117 /* end confdefs.h. */
4119 # include <limits.h>
4121 # include <assert.h>
4125 if ac_fn_c_try_cpp
"$LINENO"; then :
4128 # Broken: fails on valid input.
4131 rm -f conftest.err conftest.i conftest.
$ac_ext
4133 # OK, works on sane cases. Now check whether nonexistent headers
4134 # can be detected and how.
4135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4136 /* end confdefs.h. */
4137 #include <ac_nonexistent.h>
4139 if ac_fn_c_try_cpp
"$LINENO"; then :
4140 # Broken: success on invalid input.
4143 # Passes both tests.
4147 rm -f conftest.err conftest.i conftest.
$ac_ext
4150 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4151 rm -f conftest.i conftest.err conftest.
$ac_ext
4152 if $ac_preproc_ok; then :
4155 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4156 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4157 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4158 See \`config.log' for more details" "$LINENO" 5; }
4162 ac_cpp
='$CPP $CPPFLAGS'
4163 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4164 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4165 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4168 # Check for a compatible awk
4169 for ac_prog
in gawk nawk
4171 # Extract the first word of "$ac_prog", so it can be a program name with args.
4172 set dummy
$ac_prog; ac_word
=$2
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4174 $as_echo_n "checking for $ac_word... " >&6; }
4175 if ${ac_cv_prog_AWK+:} false
; then :
4176 $as_echo_n "(cached) " >&6
4178 if test -n "$AWK"; then
4179 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4185 test -z "$as_dir" && as_dir
=.
4186 for ac_exec_ext
in '' $ac_executable_extensions; do
4187 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4188 ac_cv_prog_AWK
="$ac_prog"
4189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4199 if test -n "$AWK"; then
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4201 $as_echo "$AWK" >&6; }
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4204 $as_echo "no" >&6; }
4208 test -n "$AWK" && break
4212 if test "$AWK" = ""; then
4215 if test "$AWK" = "no"; then
4218 if test "$req_avail" = "no"; then
4219 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4221 # Extract the first word of "mmake", so it can be a program name with args.
4222 set dummy mmake
; ac_word
=$2
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4224 $as_echo_n "checking for $ac_word... " >&6; }
4225 if ${ac_cv_prog_MMAKE+:} false
; then :
4226 $as_echo_n "(cached) " >&6
4228 if test -n "$MMAKE"; then
4229 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4235 test -z "$as_dir" && as_dir
=.
4236 for ac_exec_ext
in '' $ac_executable_extensions; do
4237 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4238 ac_cv_prog_MMAKE
="mmake "
4239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4248 MMAKE
=$ac_cv_prog_MMAKE
4249 if test -n "$MMAKE"; then
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4251 $as_echo "$MMAKE" >&6; }
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4254 $as_echo "no" >&6; }
4259 # Perform some default variable assignments. Note all of these will be
4260 # Regenerated from the script, so there is no need to cache them.
4262 aros_build_host
=$host
4263 aros_host_cpp
="$CPP"
4265 aros_host_cxx
="$CXX"
4266 if test "$GCC" = "yes"; then
4267 aros_gcc_ld
=`$CC -print-prog-name=ld`
4268 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4269 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4271 $as_echo_n "checking for $ac_word... " >&6; }
4272 if ${ac_cv_path_aros_host_ld+:} false
; then :
4273 $as_echo_n "(cached) " >&6
4275 case $aros_host_ld in
4277 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4281 for as_dir
in `dirname $aros_gcc_ld`
4284 test -z "$as_dir" && as_dir
=.
4285 for ac_exec_ext
in '' $ac_executable_extensions; do
4286 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4287 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4298 aros_host_ld
=$ac_cv_path_aros_host_ld
4299 if test -n "$aros_host_ld"; then
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4301 $as_echo "$aros_host_ld" >&6; }
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4304 $as_echo "no" >&6; }
4309 if test "$aros_host_ld" = ""; then
4310 # Extract the first word of "ld", so it can be a program name with args.
4311 set dummy ld
; ac_word
=$2
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4313 $as_echo_n "checking for $ac_word... " >&6; }
4314 if ${ac_cv_path_aros_host_ld+:} false
; then :
4315 $as_echo_n "(cached) " >&6
4317 case $aros_host_ld in
4319 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4326 test -z "$as_dir" && as_dir
=.
4327 for ac_exec_ext
in '' $ac_executable_extensions; do
4328 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4329 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4340 aros_host_ld
=$ac_cv_path_aros_host_ld
4341 if test -n "$aros_host_ld"; then
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4343 $as_echo "$aros_host_ld" >&6; }
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4346 $as_echo "no" >&6; }
4352 if test "$aros_host_ld" = ""; then
4355 if test "$aros_host_ld" = "no"; then
4358 if test "$req_avail" = "no"; then
4359 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4361 aros_host_make
="make"
4362 aros_host_cflags
="$CFLAGS"
4363 aros_host_cxxflags
="$CXXFLAGS"
4364 aros_host_ldflags
="$LDFLAGS"
4365 aros_host_debug
="-g -O0"
4366 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4367 aros_host_mkargs
="--no-print-directory"
4368 aros_host_exe_suffix
="$EXEEXT"
4369 aros_host_lib_suffix
=""
4371 # Ignore all compliance, AROS ROMs = 0
4372 # KickStart v1.0 = 30
4373 # KickStart v1.3 = 34
4374 # KickStart v2.0 = 37
4375 # KickStart v3.0 = 39
4376 # KickStart v3.1 = 40
4378 aros_amigaos_compliance
=0
4380 for ac_prog
in aclocal aclocal19 aclocal-1.9
4382 # Extract the first word of "$ac_prog", so it can be a program name with args.
4383 set dummy
$ac_prog; ac_word
=$2
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4385 $as_echo_n "checking for $ac_word... " >&6; }
4386 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4387 $as_echo_n "(cached) " >&6
4389 if test -n "$aros_host_aclocal"; then
4390 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4396 test -z "$as_dir" && as_dir
=.
4397 for ac_exec_ext
in '' $ac_executable_extensions; do
4398 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4399 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4409 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4410 if test -n "$aros_host_aclocal"; then
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4412 $as_echo "$aros_host_aclocal" >&6; }
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4415 $as_echo "no" >&6; }
4419 test -n "$aros_host_aclocal" && break
4422 for ac_prog
in autoconf autoconf259 autoconf253
4424 # Extract the first word of "$ac_prog", so it can be a program name with args.
4425 set dummy
$ac_prog; ac_word
=$2
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4427 $as_echo_n "checking for $ac_word... " >&6; }
4428 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4429 $as_echo_n "(cached) " >&6
4431 if test -n "$aros_host_autoconf"; then
4432 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4438 test -z "$as_dir" && as_dir
=.
4439 for ac_exec_ext
in '' $ac_executable_extensions; do
4440 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4441 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4451 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4452 if test -n "$aros_host_autoconf"; then
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4454 $as_echo "$aros_host_autoconf" >&6; }
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4457 $as_echo "no" >&6; }
4461 test -n "$aros_host_autoconf" && break
4464 for ac_prog
in autoheader autoheader259 autoheader253
4466 # Extract the first word of "$ac_prog", so it can be a program name with args.
4467 set dummy
$ac_prog; ac_word
=$2
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4469 $as_echo_n "checking for $ac_word... " >&6; }
4470 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4471 $as_echo_n "(cached) " >&6
4473 if test -n "$aros_host_autoheader"; then
4474 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4480 test -z "$as_dir" && as_dir
=.
4481 for ac_exec_ext
in '' $ac_executable_extensions; do
4482 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4483 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4493 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4494 if test -n "$aros_host_autoheader"; then
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4496 $as_echo "$aros_host_autoheader" >&6; }
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4499 $as_echo "no" >&6; }
4503 test -n "$aros_host_autoheader" && break
4506 for ac_prog
in automake automake19 automake-1.9
4508 # Extract the first word of "$ac_prog", so it can be a program name with args.
4509 set dummy
$ac_prog; ac_word
=$2
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4511 $as_echo_n "checking for $ac_word... " >&6; }
4512 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4513 $as_echo_n "(cached) " >&6
4515 if test -n "$aros_host_automake"; then
4516 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4522 test -z "$as_dir" && as_dir
=.
4523 for ac_exec_ext
in '' $ac_executable_extensions; do
4524 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4525 ac_cv_prog_aros_host_automake
="$ac_prog"
4526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4535 aros_host_automake
=$ac_cv_prog_aros_host_automake
4536 if test -n "$aros_host_automake"; then
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4538 $as_echo "$aros_host_automake" >&6; }
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4541 $as_echo "no" >&6; }
4545 test -n "$aros_host_automake" && break
4550 if test "$aros_host_aclocal" = ""; then
4553 if test "$aros_host_aclocal" = "no"; then
4556 if test "$req_avail" = "no"; then
4557 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4560 if test "$aros_host_automake" = ""; then
4563 if test "$aros_host_automake" = "no"; then
4566 if test "$req_avail" = "no"; then
4567 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4570 case "$aros_host_cc" in
4572 aros_host_cc_pipe
=""
4575 aros_host_cc_pipe
="-pipe"
4578 aros_host_cc_pipe
=""
4581 aros_host_cc_pipe
=""
4585 aros_kernel_cc_includes
=""
4586 aros_target_cc_includes
=""
4589 # ----------------------------------------------------------------------------------------
4590 # Host-specific defaults
4592 # This is the main host configuration section. It is where the host
4593 # can change the values of any variables it needs to change. We do
4594 # not look at anything that compiles to the target yet, we'll get
4599 aros_host_arch
="aros"
4600 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4603 aros_host_cpu
="i386"
4606 aros_host_cpu
="x86_64"
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4613 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4614 aros_host_cpu
="$host_cpu"
4620 aros_host_arch
="linux"
4621 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4622 android_build_os
="linux-x86"
4623 android_tool
="android"
4624 default_android_sdk
="/opt/android-sdk-linux_x86"
4627 aros_host_cpu
="i386"
4630 aros_host_cpu
="x86_64"
4633 aros_host_cpu
="m68k"
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4643 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4644 aros_host_cpu
="$host_cpu"
4650 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe -I/usr/local/include"
4651 aros_host_make
="gmake"
4652 aros_host_arch
="freebsd"
4653 aros_host_cpu
="i386"
4655 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4659 aros_object_format
="elf_i386"
4663 aros_object_format
="elf_i386_fbsd"
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/include/stddef.h" >&5
4671 $as_echo_n "checking for /usr/include/stddef.h... " >&6; }
4672 if ${ac_cv_file__usr_include_stddef_h+:} false
; then :
4673 $as_echo_n "(cached) " >&6
4675 test "$cross_compiling" = yes &&
4676 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
4677 if test -r "/usr/include/stddef.h"; then
4678 ac_cv_file__usr_include_stddef_h
=yes
4680 ac_cv_file__usr_include_stddef_h
=no
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_include_stddef_h" >&5
4684 $as_echo "$ac_cv_file__usr_include_stddef_h" >&6; }
4685 if test "x$ac_cv_file__usr_include_stddef_h" = xyes
; then :
4688 as_fn_error $?
"XCode incorrectly configured!
4689 please run 'xcode-select --install' before
4690 re-running configure" "$LINENO" 5
4694 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4695 aros_host_arch
="darwin"
4697 if [ -z ${SED+x} ]; then SED
="gsed"; fi
4698 android_build_os
="darwin-x86"
4699 android_tool
="android"
4700 default_android_sdk
="/android-sdk-mac_x86"
4703 aros_host_cpu
="i386"
4706 aros_host_cpu
="x86_64"
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4713 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4714 aros_host_cpu
="$host_cpu"
4718 aros_host_ldflags
="$aros_host_ldflags -liconv"
4723 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4724 aros_host_make
="gmake"
4725 aros_host_arch
="dragonfly"
4728 aros_host_cpu
="i386"
4731 aros_host_cpu
="x86_64"
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4735 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4736 aros_host_cpu
="$host_cpu"
4742 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4743 aros_host_make
="gmake"
4744 aros_host_arch
="netbsd"
4747 aros_host_cpu
="i386"
4750 aros_host_cpu
="m68k"
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4754 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4755 aros_host_cpu
="$host_cpu"
4758 aros_host_lib_suffix
=".0.0"
4762 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4763 aros_host_make
="gmake"
4764 aros_host_arch
="openbsd"
4767 aros_host_cpu
="i386"
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4771 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4772 aros_host_cpu
="$host_cpu"
4778 aros_host_arch
="solaris"
4779 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4782 aros_host_cpu
="i386"
4785 aros_host_cpu
="sparc"
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4789 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4790 aros_host_cpu
="$host_cpu"
4796 aros_host_arch
="morphos"
4802 aros_host_arch
="amiga"
4808 TOUCH
="/gg/bin/touch"
4811 aros_host_cpu
="m68k"
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4818 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4819 aros_host_cpu
="$host_cpu"
4825 aros_host_arch
="cygwin"
4826 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4828 android_build_os
="windows"
4829 android_tool
="android.bat"
4830 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4834 aros_host_cpu
="i386"
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4838 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4839 aros_host_cpu
="$host_cpu"
4845 aros_host_arch
="mingw32"
4846 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4848 android_build_os
="windows"
4849 android_tool
="android.bat"
4850 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4852 libpng_libextra
="-lws2_32"
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4858 $as_echo_n "checking for Windows native gcc target... " >&6; }
4859 host_cpu
=`gcc -dumpmachine`
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4861 $as_echo "$host_cpu" >&6; }
4868 aros_host_cpu
="i386"
4872 aros_host_cpu
="i386"
4876 aros_host_cpu
="x86_64"
4877 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4882 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4883 aros_host_cpu
="$host_cpu"
4888 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4892 # Extract the first word of "ar", so it can be a program name with args.
4893 set dummy
ar; ac_word
=$2
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4895 $as_echo_n "checking for $ac_word... " >&6; }
4896 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4897 $as_echo_n "(cached) " >&6
4899 if test -n "$aros_host_ar"; then
4900 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4906 test -z "$as_dir" && as_dir
=.
4907 for ac_exec_ext
in '' $ac_executable_extensions; do
4908 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4909 ac_cv_prog_aros_host_ar
="ar cr"
4910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4919 aros_host_ar
=$ac_cv_prog_aros_host_ar
4920 if test -n "$aros_host_ar"; then
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4922 $as_echo "$aros_host_ar" >&6; }
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4925 $as_echo "no" >&6; }
4930 if test "$aros_host_ar" = ""; then
4933 if test "$aros_host_ar" = "no"; then
4936 if test "$req_avail" = "no"; then
4937 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4939 # Extract the first word of "ranlib", so it can be a program name with args.
4940 set dummy ranlib
; ac_word
=$2
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4942 $as_echo_n "checking for $ac_word... " >&6; }
4943 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4944 $as_echo_n "(cached) " >&6
4946 if test -n "$aros_host_ranlib"; then
4947 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4953 test -z "$as_dir" && as_dir
=.
4954 for ac_exec_ext
in '' $ac_executable_extensions; do
4955 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4956 ac_cv_prog_aros_host_ranlib
="ranlib "
4957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4966 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4967 if test -n "$aros_host_ranlib"; then
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4969 $as_echo "$aros_host_ranlib" >&6; }
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4972 $as_echo "no" >&6; }
4977 if test "$aros_host_ranlib" = ""; then
4980 if test "$aros_host_ranlib" = "no"; then
4983 if test "$req_avail" = "no"; then
4984 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4986 # Extract the first word of "strip", so it can be a program name with args.
4987 set dummy strip
; ac_word
=$2
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4989 $as_echo_n "checking for $ac_word... " >&6; }
4990 if ${ac_cv_prog_aros_host_strip+:} false
; then :
4991 $as_echo_n "(cached) " >&6
4993 if test -n "$aros_host_strip"; then
4994 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5000 test -z "$as_dir" && as_dir
=.
5001 for ac_exec_ext
in '' $ac_executable_extensions; do
5002 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5003 ac_cv_prog_aros_host_strip
="strip "
5004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5013 aros_host_strip
=$ac_cv_prog_aros_host_strip
5014 if test -n "$aros_host_strip"; then
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5016 $as_echo "$aros_host_strip" >&6; }
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5019 $as_echo "no" >&6; }
5024 if test "$aros_host_strip" = ""; then
5027 if test "$aros_host_strip" = "no"; then
5030 if test "$req_avail" = "no"; then
5031 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5034 # Extract the first word of "rm", so it can be a program name with args.
5035 set dummy
rm; ac_word
=$2
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5037 $as_echo_n "checking for $ac_word... " >&6; }
5038 if ${ac_cv_prog_RM+:} false
; then :
5039 $as_echo_n "(cached) " >&6
5041 if test -n "$RM"; then
5042 ac_cv_prog_RM
="$RM" # Let the user override the test.
5044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5048 test -z "$as_dir" && as_dir
=.
5049 for ac_exec_ext
in '' $ac_executable_extensions; do
5050 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5051 ac_cv_prog_RM
="rm -rf"
5052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5062 if test -n "$RM"; then
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5064 $as_echo "$RM" >&6; }
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5067 $as_echo "no" >&6; }
5072 if test "$RM" = ""; then
5075 if test "$RM" = "no"; then
5078 if test "$req_avail" = "no"; then
5079 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5081 # Extract the first word of "cp", so it can be a program name with args.
5082 set dummy
cp; ac_word
=$2
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5084 $as_echo_n "checking for $ac_word... " >&6; }
5085 if ${ac_cv_prog_CP+:} false
; then :
5086 $as_echo_n "(cached) " >&6
5088 if test -n "$CP"; then
5089 ac_cv_prog_CP
="$CP" # Let the user override the test.
5091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5095 test -z "$as_dir" && as_dir
=.
5096 for ac_exec_ext
in '' $ac_executable_extensions; do
5097 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5109 if test -n "$CP"; then
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5111 $as_echo "$CP" >&6; }
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5114 $as_echo "no" >&6; }
5119 if test "$CP" = ""; then
5122 if test "$CP" = "no"; then
5125 if test "$req_avail" = "no"; then
5126 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5128 # Extract the first word of "mv", so it can be a program name with args.
5129 set dummy
mv; ac_word
=$2
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5131 $as_echo_n "checking for $ac_word... " >&6; }
5132 if ${ac_cv_prog_MV+:} false
; then :
5133 $as_echo_n "(cached) " >&6
5135 if test -n "$MV"; then
5136 ac_cv_prog_MV
="$MV" # Let the user override the test.
5138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5142 test -z "$as_dir" && as_dir
=.
5143 for ac_exec_ext
in '' $ac_executable_extensions; do
5144 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5156 if test -n "$MV"; then
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5158 $as_echo "$MV" >&6; }
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5161 $as_echo "no" >&6; }
5166 if test "$MV" = ""; then
5169 if test "$MV" = "no"; then
5172 if test "$req_avail" = "no"; then
5173 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5175 # Extract the first word of "echo", so it can be a program name with args.
5176 set dummy
echo; ac_word
=$2
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5178 $as_echo_n "checking for $ac_word... " >&6; }
5179 if ${ac_cv_prog_ECHO+:} false
; then :
5180 $as_echo_n "(cached) " >&6
5182 if test -n "$ECHO"; then
5183 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5189 test -z "$as_dir" && as_dir
=.
5190 for ac_exec_ext
in '' $ac_executable_extensions; do
5191 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5192 ac_cv_prog_ECHO
="echo "
5193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5202 ECHO
=$ac_cv_prog_ECHO
5203 if test -n "$ECHO"; then
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5205 $as_echo "$ECHO" >&6; }
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5208 $as_echo "no" >&6; }
5213 if test "$ECHO" = ""; then
5216 if test "$ECHO" = "no"; then
5219 if test "$req_avail" = "no"; then
5220 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5222 # Extract the first word of "mkdir", so it can be a program name with args.
5223 set dummy mkdir
; ac_word
=$2
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5225 $as_echo_n "checking for $ac_word... " >&6; }
5226 if ${ac_cv_prog_MKDIR+:} false
; then :
5227 $as_echo_n "(cached) " >&6
5229 if test -n "$MKDIR"; then
5230 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5236 test -z "$as_dir" && as_dir
=.
5237 for ac_exec_ext
in '' $ac_executable_extensions; do
5238 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5239 ac_cv_prog_MKDIR
="mkdir -p"
5240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5249 MKDIR
=$ac_cv_prog_MKDIR
5250 if test -n "$MKDIR"; then
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5252 $as_echo "$MKDIR" >&6; }
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5255 $as_echo "no" >&6; }
5260 if test "$MKDIR" = ""; then
5263 if test "$MKDIR" = "no"; then
5266 if test "$req_avail" = "no"; then
5267 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5269 # Extract the first word of "touch", so it can be a program name with args.
5270 set dummy
touch; ac_word
=$2
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5272 $as_echo_n "checking for $ac_word... " >&6; }
5273 if ${ac_cv_prog_TOUCH+:} false
; then :
5274 $as_echo_n "(cached) " >&6
5276 if test -n "$TOUCH"; then
5277 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5283 test -z "$as_dir" && as_dir
=.
5284 for ac_exec_ext
in '' $ac_executable_extensions; do
5285 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5286 ac_cv_prog_TOUCH
="touch "
5287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5296 TOUCH
=$ac_cv_prog_TOUCH
5297 if test -n "$TOUCH"; then
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5299 $as_echo "$TOUCH" >&6; }
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5302 $as_echo "no" >&6; }
5307 if test "$TOUCH" = ""; then
5310 if test "$TOUCH" = "no"; then
5313 if test "$req_avail" = "no"; then
5314 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5316 # Extract the first word of "sort", so it can be a program name with args.
5317 set dummy
sort; ac_word
=$2
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5319 $as_echo_n "checking for $ac_word... " >&6; }
5320 if ${ac_cv_prog_SORT+:} false
; then :
5321 $as_echo_n "(cached) " >&6
5323 if test -n "$SORT"; then
5324 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5330 test -z "$as_dir" && as_dir
=.
5331 for ac_exec_ext
in '' $ac_executable_extensions; do
5332 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5333 ac_cv_prog_SORT
="sort "
5334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5343 SORT
=$ac_cv_prog_SORT
5344 if test -n "$SORT"; then
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5346 $as_echo "$SORT" >&6; }
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5349 $as_echo "no" >&6; }
5354 if test "$SORT" = ""; then
5357 if test "$SORT" = "no"; then
5360 if test "$req_avail" = "no"; then
5361 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5363 # Extract the first word of "uniq", so it can be a program name with args.
5364 set dummy
uniq; ac_word
=$2
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5366 $as_echo_n "checking for $ac_word... " >&6; }
5367 if ${ac_cv_prog_UNIQ+:} false
; then :
5368 $as_echo_n "(cached) " >&6
5370 if test -n "$UNIQ"; then
5371 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5377 test -z "$as_dir" && as_dir
=.
5378 for ac_exec_ext
in '' $ac_executable_extensions; do
5379 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5380 ac_cv_prog_UNIQ
="uniq "
5381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5390 UNIQ
=$ac_cv_prog_UNIQ
5391 if test -n "$UNIQ"; then
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5393 $as_echo "$UNIQ" >&6; }
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5396 $as_echo "no" >&6; }
5401 if test "$UNIQ" = ""; then
5404 if test "$UNIQ" = "no"; then
5407 if test "$req_avail" = "no"; then
5408 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5410 # Extract the first word of "true", so it can be a program name with args.
5411 set dummy true
; ac_word
=$2
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5413 $as_echo_n "checking for $ac_word... " >&6; }
5414 if ${ac_cv_prog_NOP+:} false
; then :
5415 $as_echo_n "(cached) " >&6
5417 if test -n "$NOP"; then
5418 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5424 test -z "$as_dir" && as_dir
=.
5425 for ac_exec_ext
in '' $ac_executable_extensions; do
5426 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5427 ac_cv_prog_NOP
="true "
5428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5438 if test -n "$NOP"; then
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5440 $as_echo "$NOP" >&6; }
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5443 $as_echo "no" >&6; }
5448 if test "$NOP" = ""; then
5451 if test "$NOP" = "no"; then
5454 if test "$req_avail" = "no"; then
5455 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5457 # Extract the first word of "cat", so it can be a program name with args.
5458 set dummy
cat; ac_word
=$2
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5460 $as_echo_n "checking for $ac_word... " >&6; }
5461 if ${ac_cv_prog_CAT+:} false
; then :
5462 $as_echo_n "(cached) " >&6
5464 if test -n "$CAT"; then
5465 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5471 test -z "$as_dir" && as_dir
=.
5472 for ac_exec_ext
in '' $ac_executable_extensions; do
5473 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5474 ac_cv_prog_CAT
="cat "
5475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5485 if test -n "$CAT"; then
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5487 $as_echo "$CAT" >&6; }
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5490 $as_echo "no" >&6; }
5495 if test "$CAT" = ""; then
5498 if test "$CAT" = "no"; then
5501 if test "$req_avail" = "no"; then
5502 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5504 # Extract the first word of "bison", so it can be a program name with args.
5505 set dummy bison
; ac_word
=$2
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5507 $as_echo_n "checking for $ac_word... " >&6; }
5508 if ${ac_cv_prog_BISON+:} false
; then :
5509 $as_echo_n "(cached) " >&6
5511 if test -n "$BISON"; then
5512 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5518 test -z "$as_dir" && as_dir
=.
5519 for ac_exec_ext
in '' $ac_executable_extensions; do
5520 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5521 ac_cv_prog_BISON
="bison "
5522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5531 BISON
=$ac_cv_prog_BISON
5532 if test -n "$BISON"; then
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5534 $as_echo "$BISON" >&6; }
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5537 $as_echo "no" >&6; }
5542 if test "$BISON" = ""; then
5545 if test "$BISON" = "no"; then
5548 if test "$req_avail" = "no"; then
5549 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5551 # Extract the first word of "flex", so it can be a program name with args.
5552 set dummy flex
; ac_word
=$2
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5554 $as_echo_n "checking for $ac_word... " >&6; }
5555 if ${ac_cv_prog_FLEX+:} false
; then :
5556 $as_echo_n "(cached) " >&6
5558 if test -n "$FLEX"; then
5559 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5565 test -z "$as_dir" && as_dir
=.
5566 for ac_exec_ext
in '' $ac_executable_extensions; do
5567 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5568 ac_cv_prog_FLEX
="flex "
5569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5578 FLEX
=$ac_cv_prog_FLEX
5579 if test -n "$FLEX"; then
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5581 $as_echo "$FLEX" >&6; }
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5584 $as_echo "no" >&6; }
5589 if test "$FLEX" = ""; then
5592 if test "$FLEX" = "no"; then
5595 if test "$req_avail" = "no"; then
5596 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5598 # Extract the first word of "pngtopnm", so it can be a program name with args.
5599 set dummy pngtopnm
; ac_word
=$2
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5601 $as_echo_n "checking for $ac_word... " >&6; }
5602 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5603 $as_echo_n "(cached) " >&6
5605 if test -n "$PNGTOPNM"; then
5606 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5612 test -z "$as_dir" && as_dir
=.
5613 for ac_exec_ext
in '' $ac_executable_extensions; do
5614 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5615 ac_cv_prog_PNGTOPNM
="pngtopnm "
5616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5625 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5626 if test -n "$PNGTOPNM"; then
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5628 $as_echo "$PNGTOPNM" >&6; }
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5631 $as_echo "no" >&6; }
5636 if test "$PNGTOPNM" = ""; then
5639 if test "$PNGTOPNM" = "no"; then
5642 if test "$req_avail" = "no"; then
5643 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5645 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5646 set dummy ppmtoilbm
; ac_word
=$2
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5648 $as_echo_n "checking for $ac_word... " >&6; }
5649 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5650 $as_echo_n "(cached) " >&6
5652 if test -n "$PPMTOILBM"; then
5653 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5659 test -z "$as_dir" && as_dir
=.
5660 for ac_exec_ext
in '' $ac_executable_extensions; do
5661 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5662 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5672 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5673 if test -n "$PPMTOILBM"; then
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5675 $as_echo "$PPMTOILBM" >&6; }
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5678 $as_echo "no" >&6; }
5683 if test "$PPMTOILBM" = ""; then
5686 if test "$PPMTOILBM" = "no"; then
5689 if test "$req_avail" = "no"; then
5690 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5692 # Extract the first word of "sed", so it can be a program name with args.
5693 set dummy
sed; ac_word
=$2
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5695 $as_echo_n "checking for $ac_word... " >&6; }
5696 if ${ac_cv_prog_SED+:} false
; then :
5697 $as_echo_n "(cached) " >&6
5699 if test -n "$SED"; then
5700 ac_cv_prog_SED
="$SED" # Let the user override the test.
5702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5706 test -z "$as_dir" && as_dir
=.
5707 for ac_exec_ext
in '' $ac_executable_extensions; do
5708 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5709 ac_cv_prog_SED
="sed "
5710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5720 if test -n "$SED"; then
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5722 $as_echo "$SED" >&6; }
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5725 $as_echo "no" >&6; }
5730 if test "$SED" = ""; then
5733 if test "$SED" = "no"; then
5736 if test "$req_avail" = "no"; then
5737 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5739 # Extract the first word of "chmod", so it can be a program name with args.
5740 set dummy
chmod; ac_word
=$2
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5742 $as_echo_n "checking for $ac_word... " >&6; }
5743 if ${ac_cv_prog_CHMOD+:} false
; then :
5744 $as_echo_n "(cached) " >&6
5746 if test -n "$CHMOD"; then
5747 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5753 test -z "$as_dir" && as_dir
=.
5754 for ac_exec_ext
in '' $ac_executable_extensions; do
5755 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5756 ac_cv_prog_CHMOD
="chmod "
5757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5766 CHMOD
=$ac_cv_prog_CHMOD
5767 if test -n "$CHMOD"; then
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5769 $as_echo "$CHMOD" >&6; }
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5772 $as_echo "no" >&6; }
5777 if test "$CHMOD" = ""; then
5780 if test "$CHMOD" = "no"; then
5783 if test "$req_avail" = "no"; then
5784 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5786 # Extract the first word of "patch", so it can be a program name with args.
5787 set dummy
patch; ac_word
=$2
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5789 $as_echo_n "checking for $ac_word... " >&6; }
5790 if ${ac_cv_prog_PATCH+:} false
; then :
5791 $as_echo_n "(cached) " >&6
5793 if test -n "$PATCH"; then
5794 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5800 test -z "$as_dir" && as_dir
=.
5801 for ac_exec_ext
in '' $ac_executable_extensions; do
5802 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5803 ac_cv_prog_PATCH
="patch "
5804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5813 PATCH
=$ac_cv_prog_PATCH
5814 if test -n "$PATCH"; then
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5816 $as_echo "$PATCH" >&6; }
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5819 $as_echo "no" >&6; }
5824 if test "$PATCH" = ""; then
5827 if test "$PATCH" = "no"; then
5830 if test "$req_avail" = "no"; then
5831 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5840 if test -n "$PYTHON"; then
5841 # If the user set $PYTHON, use it and don't search something else.
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
5843 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
5845 # split strings by '.' and convert to numeric. Append some zeros
5846 # because we need at least 4 digits for the hex conversion.
5847 # map returns an iterator in Python 3.0 and a list in 2.x
5848 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5850 # xrange is not present in Python 3.0 and range returns an iterator
5851 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5852 sys.exit(sys.hexversion < minverhex)"
5853 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5854 ($PYTHON -c "$prog") >&5 2>&5
5856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5857 (exit $ac_status); }; then :
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5859 $as_echo "yes" >&6; }
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5862 $as_echo "no" >&6; }
5863 as_fn_error $?
"Python interpreter is too old" "$LINENO" 5
5865 am_display_PYTHON
=$PYTHON
5867 # Otherwise, try each interpreter until we find one that satisfies
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5870 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5871 if ${am_cv_pathless_PYTHON+:} false
; then :
5872 $as_echo_n "(cached) " >&6
5875 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
5876 test "$am_cv_pathless_PYTHON" = none
&& break
5878 # split strings by '.' and convert to numeric. Append some zeros
5879 # because we need at least 4 digits for the hex conversion.
5880 # map returns an iterator in Python 3.0 and a list in 2.x
5881 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5883 # xrange is not present in Python 3.0 and range returns an iterator
5884 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5885 sys.exit(sys.hexversion < minverhex)"
5886 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5887 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5890 (exit $ac_status); }; then :
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5896 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5897 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5898 if test "$am_cv_pathless_PYTHON" = none
; then
5901 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5902 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5904 $as_echo_n "checking for $ac_word... " >&6; }
5905 if ${ac_cv_path_PYTHON+:} false
; then :
5906 $as_echo_n "(cached) " >&6
5910 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5917 test -z "$as_dir" && as_dir
=.
5918 for ac_exec_ext
in '' $ac_executable_extensions; do
5919 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5920 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5931 PYTHON
=$ac_cv_path_PYTHON
5932 if test -n "$PYTHON"; then
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5934 $as_echo "$PYTHON" >&6; }
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5937 $as_echo "no" >&6; }
5942 am_display_PYTHON
=$am_cv_pathless_PYTHON
5946 if test "$PYTHON" = :; then
5947 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5952 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5953 if ${am_cv_python_version+:} false
; then :
5954 $as_echo_n "(cached) " >&6
5956 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5959 $as_echo "$am_cv_python_version" >&6; }
5960 PYTHON_VERSION
=$am_cv_python_version
5964 PYTHON_PREFIX
='${prefix}'
5966 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5971 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5972 if ${am_cv_python_platform+:} false
; then :
5973 $as_echo_n "(cached) " >&6
5975 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5978 $as_echo "$am_cv_python_platform" >&6; }
5979 PYTHON_PLATFORM
=$am_cv_python_platform
5982 # Just factor out some code duplication.
5983 am_python_setup_sysconfig
="\
5985 # Prefer sysconfig over distutils.sysconfig, for better compatibility
5986 # with python 3.x. See automake bug#10227.
5990 can_use_sysconfig = 0
5992 can_use_sysconfig = 1
5993 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
5994 # <https://github.com/pypa/virtualenv/issues/118>
5996 from platform import python_implementation
5997 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
5998 can_use_sysconfig = 0
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
6004 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
6005 if ${am_cv_python_pythondir+:} false
; then :
6006 $as_echo_n "(cached) " >&6
6008 if test "x$prefix" = xNONE
6010 am_py_prefix
=$ac_default_prefix
6012 am_py_prefix
=$prefix
6014 am_cv_python_pythondir
=`$PYTHON -c "
6015 $am_python_setup_sysconfig
6016 if can_use_sysconfig:
6017 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
6019 from distutils import sysconfig
6020 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
6021 sys.stdout.write(sitedir)"`
6022 case $am_cv_python_pythondir in
6024 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
6025 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
6028 case $am_py_prefix in
6031 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
6039 $as_echo "$am_cv_python_pythondir" >&6; }
6040 pythondir
=$am_cv_python_pythondir
6044 pkgpythondir
=\
${pythondir}/$PACKAGE
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
6048 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
6049 if ${am_cv_python_pyexecdir+:} false
; then :
6050 $as_echo_n "(cached) " >&6
6052 if test "x$exec_prefix" = xNONE
6054 am_py_exec_prefix
=$am_py_prefix
6056 am_py_exec_prefix
=$exec_prefix
6058 am_cv_python_pyexecdir
=`$PYTHON -c "
6059 $am_python_setup_sysconfig
6060 if can_use_sysconfig:
6061 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
6063 from distutils import sysconfig
6064 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
6065 sys.stdout.write(sitedir)"`
6066 case $am_cv_python_pyexecdir in
6067 $am_py_exec_prefix*)
6068 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
6069 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
6072 case $am_py_exec_prefix in
6075 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
6083 $as_echo "$am_cv_python_pyexecdir" >&6; }
6084 pyexecdir
=$am_cv_python_pyexecdir
6088 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
6096 # Check whether --enable-libpng-config was given.
6097 if test "${enable_libpng_config+set}" = set; then :
6098 enableval
=$enable_libpng_config;
6101 if test "$enable_libpng_config" != "no"; then
6102 # Extract the first word of "libpng-config", so it can be a program name with args.
6103 set dummy libpng-config
; ac_word
=$2
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6105 $as_echo_n "checking for $ac_word... " >&6; }
6106 if ${ac_cv_prog_arosconfig_use_libpngconfig+:} false
; then :
6107 $as_echo_n "(cached) " >&6
6109 if test -n "$arosconfig_use_libpngconfig"; then
6110 ac_cv_prog_arosconfig_use_libpngconfig
="$arosconfig_use_libpngconfig" # Let the user override the test.
6112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6116 test -z "$as_dir" && as_dir
=.
6117 for ac_exec_ext
in '' $ac_executable_extensions; do
6118 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6119 ac_cv_prog_arosconfig_use_libpngconfig
="yes"
6120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6127 test -z "$ac_cv_prog_arosconfig_use_libpngconfig" && ac_cv_prog_arosconfig_use_libpngconfig
="no"
6130 arosconfig_use_libpngconfig
=$ac_cv_prog_arosconfig_use_libpngconfig
6131 if test -n "$arosconfig_use_libpngconfig"; then
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $arosconfig_use_libpngconfig" >&5
6133 $as_echo "$arosconfig_use_libpngconfig" >&6; }
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6136 $as_echo "no" >&6; }
6141 if test "$arosconfig_use_libpngconfig" = "yes"; then
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libpng-config library" >&5
6143 $as_echo_n "checking libpng-config library... " >&6; }
6144 libpng_incdir
="`libpng-config --cflags`"
6145 libpng_libextra
="$libpng_libextra `libpng-config --ldflags`"
6146 libpng
="`libpng-config --libs`"
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libpng" >&5
6148 $as_echo "$libpng" >&6; }
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
6152 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
6153 if ${ac_cv_lib_png_png_read_png+:} false
; then :
6154 $as_echo_n "(cached) " >&6
6156 ac_check_lib_save_LIBS
=$LIBS
6158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6159 /* end confdefs.h. */
6161 /* Override any GCC internal prototype to avoid an error.
6162 Use char because int might match the return type of a GCC
6163 builtin and then its argument prototype would still apply. */
6167 char png_read_png ();
6171 return png_read_png ();
6176 if ac_fn_c_try_link
"$LINENO"; then :
6177 ac_cv_lib_png_png_read_png
=yes
6179 ac_cv_lib_png_png_read_png
=no
6181 rm -f core conftest.err conftest.
$ac_objext \
6182 conftest
$ac_exeext conftest.
$ac_ext
6183 LIBS
=$ac_check_lib_save_LIBS
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
6186 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
6187 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
6193 if test "$libpng_libextra" != ""; then
6194 if test "$libpng" != "no"; then
6195 libpng_libextra
="$libpng_libextra $libpng"
6200 if test "$libpng" = ""; then
6203 if test "$libpng" = "no"; then
6206 if test "$req_avail" = "no"; then
6207 as_fn_error $?
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
6223 # Check for some includes for the X11 HIDD and the kernel
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6226 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6227 if ${ac_cv_path_GREP+:} false
; then :
6228 $as_echo_n "(cached) " >&6
6230 if test -z "$GREP"; then
6231 ac_path_GREP_found
=false
6232 # Loop through the user's path and test for each of PROGNAME-LIST
6233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6234 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6237 test -z "$as_dir" && as_dir
=.
6238 for ac_prog
in grep ggrep
; do
6239 for ac_exec_ext
in '' $ac_executable_extensions; do
6240 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6241 as_fn_executable_p
"$ac_path_GREP" ||
continue
6242 # Check for GNU ac_path_GREP and select it if it is found.
6243 # Check for GNU $ac_path_GREP
6244 case `"$ac_path_GREP" --version 2>&1` in
6246 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6249 $as_echo_n 0123456789 >"conftest.in"
6252 cat "conftest.in" "conftest.in" >"conftest.tmp"
6253 mv "conftest.tmp" "conftest.in"
6254 cp "conftest.in" "conftest.nl"
6255 $as_echo 'GREP' >> "conftest.nl"
6256 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6257 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6258 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6259 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6260 # Best one so far, save it but keep looking for a better one
6261 ac_cv_path_GREP
="$ac_path_GREP"
6262 ac_path_GREP_max
=$ac_count
6264 # 10*(2^10) chars as input seems more than enough
6265 test $ac_count -gt 10 && break
6267 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6270 $ac_path_GREP_found && break 3
6275 if test -z "$ac_cv_path_GREP"; then
6276 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6279 ac_cv_path_GREP
=$GREP
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6284 $as_echo "$ac_cv_path_GREP" >&6; }
6285 GREP
="$ac_cv_path_GREP"
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6289 $as_echo_n "checking for egrep... " >&6; }
6290 if ${ac_cv_path_EGREP+:} false
; then :
6291 $as_echo_n "(cached) " >&6
6293 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6294 then ac_cv_path_EGREP
="$GREP -E"
6296 if test -z "$EGREP"; then
6297 ac_path_EGREP_found
=false
6298 # Loop through the user's path and test for each of PROGNAME-LIST
6299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6300 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6303 test -z "$as_dir" && as_dir
=.
6304 for ac_prog
in egrep; do
6305 for ac_exec_ext
in '' $ac_executable_extensions; do
6306 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6307 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6308 # Check for GNU ac_path_EGREP and select it if it is found.
6309 # Check for GNU $ac_path_EGREP
6310 case `"$ac_path_EGREP" --version 2>&1` in
6312 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6315 $as_echo_n 0123456789 >"conftest.in"
6318 cat "conftest.in" "conftest.in" >"conftest.tmp"
6319 mv "conftest.tmp" "conftest.in"
6320 cp "conftest.in" "conftest.nl"
6321 $as_echo 'EGREP' >> "conftest.nl"
6322 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6323 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6324 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6325 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6326 # Best one so far, save it but keep looking for a better one
6327 ac_cv_path_EGREP
="$ac_path_EGREP"
6328 ac_path_EGREP_max
=$ac_count
6330 # 10*(2^10) chars as input seems more than enough
6331 test $ac_count -gt 10 && break
6333 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6336 $ac_path_EGREP_found && break 3
6341 if test -z "$ac_cv_path_EGREP"; then
6342 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6345 ac_cv_path_EGREP
=$EGREP
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6351 $as_echo "$ac_cv_path_EGREP" >&6; }
6352 EGREP
="$ac_cv_path_EGREP"
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6356 $as_echo_n "checking for ANSI C header files... " >&6; }
6357 if ${ac_cv_header_stdc+:} false
; then :
6358 $as_echo_n "(cached) " >&6
6360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6361 /* end confdefs.h. */
6375 if ac_fn_c_try_compile
"$LINENO"; then :
6376 ac_cv_header_stdc
=yes
6378 ac_cv_header_stdc
=no
6380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6382 if test $ac_cv_header_stdc = yes; then
6383 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6385 /* end confdefs.h. */
6389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6390 $EGREP "memchr" >/dev
/null
2>&1; then :
6393 ac_cv_header_stdc
=no
6399 if test $ac_cv_header_stdc = yes; then
6400 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6402 /* end confdefs.h. */
6406 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6407 $EGREP "free" >/dev
/null
2>&1; then :
6410 ac_cv_header_stdc
=no
6416 if test $ac_cv_header_stdc = yes; then
6417 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6418 if test "$cross_compiling" = yes; then :
6421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6422 /* end confdefs.h. */
6425 #if ((' ' & 0x0FF) == 0x020)
6426 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6427 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6429 # define ISLOWER(c) \
6430 (('a' <= (c) && (c) <= 'i') \
6431 || ('j' <= (c) && (c) <= 'r') \
6432 || ('s' <= (c) && (c) <= 'z'))
6433 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6436 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6441 for (i = 0; i < 256; i++)
6442 if (XOR (islower (i), ISLOWER (i))
6443 || toupper (i) != TOUPPER (i))
6448 if ac_fn_c_try_run
"$LINENO"; then :
6451 ac_cv_header_stdc
=no
6453 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6454 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6460 $as_echo "$ac_cv_header_stdc" >&6; }
6461 if test $ac_cv_header_stdc = yes; then
6463 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6467 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6468 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6469 inttypes.h stdint.h unistd.h
6471 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6472 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6474 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6475 cat >>confdefs.h
<<_ACEOF
6476 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6484 for ac_header
in sys
/ipc.h sys
/shm.h \
6485 sys
/mmap.h sys
/mman.h sysexits.h \
6486 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6489 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6490 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6491 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6492 cat >>confdefs.h
<<_ACEOF
6493 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6501 for ac_header
in sys
/mount.h
6503 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6505 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6506 cat >>confdefs.h
<<_ACEOF
6507 #define HAVE_SYS_MOUNT_H 1
6516 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6517 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6519 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6520 if eval \
${$as_ac_Header+:} false
; then :
6521 $as_echo_n "(cached) " >&6
6523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6524 /* end confdefs.h. */
6525 #include <sys/types.h>
6537 if ac_fn_c_try_compile
"$LINENO"; then :
6538 eval "$as_ac_Header=yes"
6540 eval "$as_ac_Header=no"
6542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6544 eval ac_res
=\$
$as_ac_Header
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6546 $as_echo "$ac_res" >&6; }
6547 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6548 cat >>confdefs.h
<<_ACEOF
6549 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6552 ac_header_dirent
=$ac_hdr; break
6556 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6557 if test $ac_header_dirent = dirent.h
; then
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6559 $as_echo_n "checking for library containing opendir... " >&6; }
6560 if ${ac_cv_search_opendir+:} false
; then :
6561 $as_echo_n "(cached) " >&6
6563 ac_func_search_save_LIBS
=$LIBS
6564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6565 /* end confdefs.h. */
6567 /* Override any GCC internal prototype to avoid an error.
6568 Use char because int might match the return type of a GCC
6569 builtin and then its argument prototype would still apply. */
6582 for ac_lib
in '' dir
; do
6583 if test -z "$ac_lib"; then
6584 ac_res
="none required"
6587 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6589 if ac_fn_c_try_link
"$LINENO"; then :
6590 ac_cv_search_opendir
=$ac_res
6592 rm -f core conftest.err conftest.
$ac_objext \
6594 if ${ac_cv_search_opendir+:} false
; then :
6598 if ${ac_cv_search_opendir+:} false
; then :
6601 ac_cv_search_opendir
=no
6604 LIBS
=$ac_func_search_save_LIBS
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6607 $as_echo "$ac_cv_search_opendir" >&6; }
6608 ac_res
=$ac_cv_search_opendir
6609 if test "$ac_res" != no
; then :
6610 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6616 $as_echo_n "checking for library containing opendir... " >&6; }
6617 if ${ac_cv_search_opendir+:} false
; then :
6618 $as_echo_n "(cached) " >&6
6620 ac_func_search_save_LIBS
=$LIBS
6621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6622 /* end confdefs.h. */
6624 /* Override any GCC internal prototype to avoid an error.
6625 Use char because int might match the return type of a GCC
6626 builtin and then its argument prototype would still apply. */
6639 for ac_lib
in '' x
; do
6640 if test -z "$ac_lib"; then
6641 ac_res
="none required"
6644 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6646 if ac_fn_c_try_link
"$LINENO"; then :
6647 ac_cv_search_opendir
=$ac_res
6649 rm -f core conftest.err conftest.
$ac_objext \
6651 if ${ac_cv_search_opendir+:} false
; then :
6655 if ${ac_cv_search_opendir+:} false
; then :
6658 ac_cv_search_opendir
=no
6661 LIBS
=$ac_func_search_save_LIBS
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6664 $as_echo "$ac_cv_search_opendir" >&6; }
6665 ac_res
=$ac_cv_search_opendir
6666 if test "$ac_res" != no
; then :
6667 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6674 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6675 if ${ac_cv_header_stat_broken+:} false
; then :
6676 $as_echo_n "(cached) " >&6
6678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6679 /* end confdefs.h. */
6680 #include <sys/types.h>
6681 #include <sys/stat.h>
6683 #if defined S_ISBLK && defined S_IFDIR
6684 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6687 #if defined S_ISBLK && defined S_IFCHR
6688 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6691 #if defined S_ISLNK && defined S_IFREG
6692 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6695 #if defined S_ISSOCK && defined S_IFREG
6696 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6700 if ac_fn_c_try_compile
"$LINENO"; then :
6701 ac_cv_header_stat_broken
=no
6703 ac_cv_header_stat_broken
=yes
6705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6708 $as_echo "$ac_cv_header_stat_broken" >&6; }
6709 if test $ac_cv_header_stat_broken = yes; then
6711 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6716 $as_echo_n "checking for ANSI C header files... " >&6; }
6717 if ${ac_cv_header_stdc+:} false
; then :
6718 $as_echo_n "(cached) " >&6
6720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6721 /* end confdefs.h. */
6735 if ac_fn_c_try_compile
"$LINENO"; then :
6736 ac_cv_header_stdc
=yes
6738 ac_cv_header_stdc
=no
6740 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6742 if test $ac_cv_header_stdc = yes; then
6743 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6745 /* end confdefs.h. */
6749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6750 $EGREP "memchr" >/dev
/null
2>&1; then :
6753 ac_cv_header_stdc
=no
6759 if test $ac_cv_header_stdc = yes; then
6760 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6762 /* end confdefs.h. */
6766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6767 $EGREP "free" >/dev
/null
2>&1; then :
6770 ac_cv_header_stdc
=no
6776 if test $ac_cv_header_stdc = yes; then
6777 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6778 if test "$cross_compiling" = yes; then :
6781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6782 /* end confdefs.h. */
6785 #if ((' ' & 0x0FF) == 0x020)
6786 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6787 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6789 # define ISLOWER(c) \
6790 (('a' <= (c) && (c) <= 'i') \
6791 || ('j' <= (c) && (c) <= 'r') \
6792 || ('s' <= (c) && (c) <= 'z'))
6793 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6796 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6801 for (i = 0; i < 256; i++)
6802 if (XOR (islower (i), ISLOWER (i))
6803 || toupper (i) != TOUPPER (i))
6808 if ac_fn_c_try_run
"$LINENO"; then :
6811 ac_cv_header_stdc
=no
6813 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6814 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6820 $as_echo "$ac_cv_header_stdc" >&6; }
6821 if test $ac_cv_header_stdc = yes; then
6823 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6828 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6829 if ${ac_cv_header_sys_wait_h+:} false
; then :
6830 $as_echo_n "(cached) " >&6
6832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6833 /* end confdefs.h. */
6834 #include <sys/types.h>
6835 #include <sys/wait.h>
6837 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6840 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6848 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6853 if ac_fn_c_try_compile
"$LINENO"; then :
6854 ac_cv_header_sys_wait_h
=yes
6856 ac_cv_header_sys_wait_h
=no
6858 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6861 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6862 if test $ac_cv_header_sys_wait_h = yes; then
6864 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6869 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6870 if ${ac_cv_header_time+:} false
; then :
6871 $as_echo_n "(cached) " >&6
6873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6874 /* end confdefs.h. */
6875 #include <sys/types.h>
6876 #include <sys/time.h>
6882 if ((struct tm *) 0)
6888 if ac_fn_c_try_compile
"$LINENO"; then :
6889 ac_cv_header_time
=yes
6891 ac_cv_header_time
=no
6893 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6896 $as_echo "$ac_cv_header_time" >&6; }
6897 if test $ac_cv_header_time = yes; then
6899 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6903 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6904 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6906 cat >>confdefs.h
<<_ACEOF
6907 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6911 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6916 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6917 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6919 cat >>confdefs.h
<<_ACEOF
6920 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6924 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6927 case " $LIBOBJS " in
6928 *" fileblocks.$ac_objext "* ) ;;
6929 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6936 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6937 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6939 cat >>confdefs.h
<<_ACEOF
6940 #define HAVE_STRUCT_STAT_ST_RDEV 1
6944 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6950 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6951 if ${ac_cv_struct_tm+:} false
; then :
6952 $as_echo_n "(cached) " >&6
6954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6955 /* end confdefs.h. */
6956 #include <sys/types.h>
6963 int *p = &tm.tm_sec;
6969 if ac_fn_c_try_compile
"$LINENO"; then :
6970 ac_cv_struct_tm
=time.h
6972 ac_cv_struct_tm
=sys
/time.h
6974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6977 $as_echo "$ac_cv_struct_tm" >&6; }
6978 if test $ac_cv_struct_tm = sys
/time.h
; then
6980 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6984 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6985 #include <$ac_cv_struct_tm>
6988 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6990 cat >>confdefs.h
<<_ACEOF
6991 #define HAVE_STRUCT_TM_TM_ZONE 1
6997 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6999 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
7002 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
7004 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
7010 cat >>confdefs.h
<<_ACEOF
7011 #define HAVE_DECL_TZNAME $ac_have_decl
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
7015 $as_echo_n "checking for tzname... " >&6; }
7016 if ${ac_cv_var_tzname+:} false
; then :
7017 $as_echo_n "(cached) " >&6
7019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7020 /* end confdefs.h. */
7022 #if !HAVE_DECL_TZNAME
7023 extern char *tzname[];
7029 return tzname[0][0];
7034 if ac_fn_c_try_link
"$LINENO"; then :
7035 ac_cv_var_tzname
=yes
7039 rm -f core conftest.err conftest.
$ac_objext \
7040 conftest
$ac_exeext conftest.
$ac_ext
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
7043 $as_echo "$ac_cv_var_tzname" >&6; }
7044 if test $ac_cv_var_tzname = yes; then
7046 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
7051 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
7052 if test "x$ac_cv_type_off_t" = xyes
; then :
7056 cat >>confdefs.h
<<_ACEOF
7057 #define off_t long int
7062 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
7063 if test "x$ac_cv_type_pid_t" = xyes
; then :
7067 cat >>confdefs.h
<<_ACEOF
7073 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7074 if test "x$ac_cv_type_size_t" = xyes
; then :
7078 cat >>confdefs.h
<<_ACEOF
7079 #define size_t unsigned int
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
7085 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7086 if ${ac_cv_type_uid_t+:} false
; then :
7087 $as_echo_n "(cached) " >&6
7089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7090 /* end confdefs.h. */
7091 #include <sys/types.h>
7094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7095 $EGREP "uid_t" >/dev
/null
2>&1; then :
7096 ac_cv_type_uid_t
=yes
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
7104 $as_echo "$ac_cv_type_uid_t" >&6; }
7105 if test $ac_cv_type_uid_t = no
; then
7107 $as_echo "#define uid_t int" >>confdefs.h
7110 $as_echo "#define gid_t int" >>confdefs.h
7115 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
7116 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
7118 cat >>confdefs.h
<<_ACEOF
7119 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7126 # Look for some functions
7127 for ac_func
in getpagesize kqueue statfs statvfs \
7128 clone kse_create rfork_thread thr_create sa_register \
7129 getcontext makecontext setcontext sigaltstack swapcontext
7131 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7132 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7133 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7134 cat >>confdefs.h
<<_ACEOF
7135 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7145 for ac_header
in $ac_header_list
7147 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7148 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7150 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7151 cat >>confdefs.h
<<_ACEOF
7152 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7166 for ac_func
in getpagesize
7168 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
7169 if test "x$ac_cv_func_getpagesize" = xyes
; then :
7170 cat >>confdefs.h
<<_ACEOF
7171 #define HAVE_GETPAGESIZE 1
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
7178 $as_echo_n "checking for working mmap... " >&6; }
7179 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
7180 $as_echo_n "(cached) " >&6
7182 if test "$cross_compiling" = yes; then :
7183 ac_cv_func_mmap_fixed_mapped
=no
7185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7186 /* end confdefs.h. */
7187 $ac_includes_default
7188 /* malloc might have been renamed as rpl_malloc. */
7191 /* Thanks to Mike Haertel and Jim Avera for this test.
7192 Here is a matrix of mmap possibilities:
7193 mmap private not fixed
7194 mmap private fixed at somewhere currently unmapped
7195 mmap private fixed at somewhere already mapped
7196 mmap shared not fixed
7197 mmap shared fixed at somewhere currently unmapped
7198 mmap shared fixed at somewhere already mapped
7199 For private mappings, we should verify that changes cannot be read()
7200 back from the file, nor mmap's back from the file at a different
7201 address. (There have been systems where private was not correctly
7202 implemented like the infamous i386 svr4.0, and systems where the
7203 VM page cache was not coherent with the file system buffer cache
7204 like early versions of FreeBSD and possibly contemporary NetBSD.)
7205 For shared mappings, we should conversely verify that changes get
7206 propagated back to all the places they're supposed to be.
7208 Grep wants private fixed already mapped.
7209 The main things grep needs to know about mmap are:
7210 * does it exist and is it safe to write into the mmap'd area
7211 * how to use it (BSD variants) */
7214 #include <sys/mman.h>
7216 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7220 /* This mess was copied from the GNU getpagesize.h. */
7221 #ifndef HAVE_GETPAGESIZE
7222 # ifdef _SC_PAGESIZE
7223 # define getpagesize() sysconf(_SC_PAGESIZE)
7224 # else /* no _SC_PAGESIZE */
7225 # ifdef HAVE_SYS_PARAM_H
7226 # include <sys/param.h>
7227 # ifdef EXEC_PAGESIZE
7228 # define getpagesize() EXEC_PAGESIZE
7229 # else /* no EXEC_PAGESIZE */
7231 # define getpagesize() NBPG * CLSIZE
7234 # endif /* no CLSIZE */
7235 # else /* no NBPG */
7237 # define getpagesize() NBPC
7238 # else /* no NBPC */
7240 # define getpagesize() PAGESIZE
7241 # endif /* PAGESIZE */
7242 # endif /* no NBPC */
7243 # endif /* no NBPG */
7244 # endif /* no EXEC_PAGESIZE */
7245 # else /* no HAVE_SYS_PARAM_H */
7246 # define getpagesize() 8192 /* punt totally */
7247 # endif /* no HAVE_SYS_PARAM_H */
7248 # endif /* no _SC_PAGESIZE */
7250 #endif /* no HAVE_GETPAGESIZE */
7255 char *data, *data2, *data3;
7260 pagesize = getpagesize ();
7262 /* First, make a file with some known garbage in it. */
7263 data = (char *) malloc (pagesize);
7266 for (i = 0; i < pagesize; ++i)
7267 *(data + i) = rand ();
7269 fd = creat ("conftest.mmap", 0600);
7272 if (write (fd, data, pagesize) != pagesize)
7276 /* Next, check that the tail of a page is zero-filled. File must have
7277 non-zero length, otherwise we risk SIGBUS for entire page. */
7278 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7282 if (write (fd2, cdata2, 1) != 1)
7284 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7285 if (data2 == MAP_FAILED)
7287 for (i = 0; i < pagesize; ++i)
7291 if (munmap (data2, pagesize))
7294 /* Next, try to mmap the file at a fixed address which already has
7295 something else allocated at it. If we can, also make sure that
7296 we see the same garbage. */
7297 fd = open ("conftest.mmap", O_RDWR);
7300 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7301 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7303 for (i = 0; i < pagesize; ++i)
7304 if (*(data + i) != *(data2 + i))
7307 /* Finally, make sure that changes to the mapped area do not
7308 percolate back to the file as seen by read(). (This is a bug on
7309 some variants of i386 svr4.0.) */
7310 for (i = 0; i < pagesize; ++i)
7311 *(data2 + i) = *(data2 + i) + 1;
7312 data3 = (char *) malloc (pagesize);
7315 if (read (fd, data3, pagesize) != pagesize)
7317 for (i = 0; i < pagesize; ++i)
7318 if (*(data + i) != *(data3 + i))
7324 if ac_fn_c_try_run
"$LINENO"; then :
7325 ac_cv_func_mmap_fixed_mapped
=yes
7327 ac_cv_func_mmap_fixed_mapped
=no
7329 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7330 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7335 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7336 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7338 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7341 rm -f conftest.mmap conftest.txt
7344 #-----------------------------------------------------------------------------
7347 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7348 # it switched on by default, and we use the host compiler, so it compiles AROS
7349 # code with this enabled resulting in link failures as we don't have support
7352 # We use two methods to disable it. For the host compiler (used to compile
7353 # some hosted modules), we test to see if the compiler supports stack
7354 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7355 # work on all platforms.
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7359 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7360 save_cflags
="$CFLAGS"
7361 CFLAGS
="$CFLAGS -fno-stack-protector"
7362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7363 /* end confdefs.h. */
7373 if ac_fn_c_try_compile
"$LINENO"; then :
7374 use_no_stack_protector
="yes"
7376 use_no_stack_protector
="no"
7378 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7380 $as_echo "$use_no_stack_protector" >&6; }
7381 if test "x-$use_no_stack_protector" = "x-yes" ; then
7382 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7384 CFLAGS
="$save_cflags"
7386 #-----------------------------------------------------------------------------
7388 # Disable pointer-signedness warnings if the compiler recognises the option
7389 # (this only works for the host compiler at the moment)
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7392 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7393 save_cflags
="$CFLAGS"
7394 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7396 /* end confdefs.h. */
7406 if ac_fn_c_try_compile
"$LINENO"; then :
7407 use_no_sign_warning
="yes"
7409 use_no_sign_warning
="no"
7411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7413 $as_echo "$use_no_sign_warning" >&6; }
7414 if test "x-$use_no_sign_warning" = "x-yes" ; then
7415 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7417 CFLAGS
="$save_cflags"
7419 #-----------------------------------------------------------------------------
7421 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7424 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7425 save_cflags
="$CFLAGS"
7426 CFLAGS
="$CFLAGS -fgnu89-inline"
7427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7428 /* end confdefs.h. */
7438 if ac_fn_c_try_compile
"$LINENO"; then :
7439 use_gnu89_inline
="yes"
7441 use_gnu89_inline
="no"
7443 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7445 $as_echo "$use_gnu89_inline" >&6; }
7446 if test "x-$use_gnu89_inline" = "x-yes" ; then
7447 gnu89_inline
="-fgnu89-inline"
7449 CFLAGS
="$save_cflags"
7452 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
7453 # On GCC >= 4.0 -iquote should be used
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
7456 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
7457 CFLAGS
="$CFLAGS -iquote."
7458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7459 /* end confdefs.h. */
7469 if ac_fn_c_try_compile
"$LINENO"; then :
7474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
7476 $as_echo "$has_iquote" >&6; }
7477 if test "x-$has_iquote" = "x-yes" ; then
7478 host_cflags_iquote
=-iquote
7479 host_cflags_iquote_end
=
7481 host_cflags_iquote
=-I
7482 host_cflags_iquote_end
=-I-
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: Performing target configuration..." >&5
7486 $as_echo "$as_me: Performing target configuration..." >&6;}
7489 aros_nowarn_flags
="NOWARN_UNUSED_COMMAND_LINE_ARGUMENT NOWARN_UNKNOWN_WARNING_OPTION NOWARN_POINTER_SIGN NOWARN_PARENTHESES"
7491 toolchain_needs_sysroot
=no
7493 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7494 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7495 aros_config_ldflags
=""
7497 aros_shared_default
=yes
7499 aros_shared_cflags
="-fPIC"
7500 aros_shared_aflags
=""
7501 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7502 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7504 aros_kernel_ar_flags
="cr"
7505 aros_target_ar_flags
="cr"
7506 aros_target_nm_flags
="-C -ul"
7507 aros_target_strip_flags
="--strip-unneeded -R.comment"
7512 aros_target_genmap
="-Wl,-Map -Xlinker"
7514 # Native flavour stuff
7515 aros_serial_debug
="0"
7517 # Palm native flavour stuff
7518 aros_palm_debug_hack
="0"
7520 # Unix flavour stuff
7521 aros_nesting_supervisor
="0"
7523 # Collect-aros stuff: "-ius" to ignore undefined symbols
7524 ignore_undefined_symbols
=""
7526 # Check for X11 by default
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which toolchain family to use ..." >&5
7535 $as_echo_n "checking Which toolchain family to use ...... " >&6; }
7537 # Check whether --with-toolchain was given.
7538 if test "${with_toolchain+set}" = set; then :
7539 withval
=$with_toolchain; aros_toolchain
="$withval"
7541 aros_toolchain
="gnu"
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_toolchain" >&5
7545 $as_echo "$aros_toolchain" >&6; }
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should enable link time optimizations (LTO)" >&5
7549 $as_echo_n "checking if we should enable link time optimizations (LTO)... " >&6; }
7550 # Check whether --enable-lto was given.
7551 if test "${enable_lto+set}" = set; then :
7552 enableval
=$enable_lto; aros_config_lto
="$enableval"
7554 aros_config_lto
="no"
7557 if test "$aros_config_lto" != "no"; then
7558 aros_config_lto
="yes"
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_config_lto" >&5
7561 $as_echo "$aros_config_lto" >&6; }
7565 case "$aros_toolchain" in
7567 # toolchain_needs_sysroot=yes
7568 toolchain_c_compiler
="clang"
7569 toolchain_cxx_compiler
="clang++"
7570 toolchain_cpp_preprocessor
="clang -E"
7571 toolchain_ld
="ld.lld"
7573 toolchain_as
="llvm-as"
7574 toolchain_ar
="llvm-ar"
7575 toolchain_ranlib
="llvm-ranlib"
7576 toolchain_nm
="llvm-nm"
7577 toolchain_strip
="true"
7578 toolchain_objcopy
="llvm-objcopy"
7579 toolchain_objdump
="llvm-objdump"
7582 toolchain_c_compiler
="gcc"
7583 toolchain_cxx_compiler
="g++"
7584 toolchain_cpp_preprocessor
="gcc -E"
7587 if test "$aros_config_lto" != "yes"; then
7590 toolchain_ranlib
="ranlib"
7593 toolchain_ld
="ld.bfd"
7594 toolchain_ar
="gcc-ar"
7595 toolchain_ranlib
="gcc-ranlib"
7596 toolchain_nm
="gcc-nm"
7598 toolchain_strip
="strip"
7599 toolchain_objcopy
="objcopy"
7600 toolchain_objdump
="objdump"
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown toolchain family!\"" >&5
7604 $as_echo "$as_me: WARNING: \"Unknown toolchain family!\"" >&2;}
7605 toolchain_c_compiler
="cc"
7606 toolchain_cxx_compiler
="c++"
7607 toolchain_cpp_preprocessor
="cpp"
7612 toolchain_ranlib
="ranlib"
7614 toolchain_strip
="strip"
7615 toolchain_objcopy
="objcopy"
7616 toolchain_objdump
="objdump"
7620 #-----------------------------------------------------------------------------
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which type of build to do" >&5
7623 $as_echo_n "checking which type of build to do... " >&6; }
7624 # Check whether --enable-build_type was given.
7625 if test "${enable_build_type+set}" = set; then :
7626 enableval
=$enable_build_type; build_type
=$enableval
7628 build_type
="personal"
7632 if test "$build_type" = "nightly"; then
7633 build_type_string
="NIGHTLY"
7634 elif test "$build_type" = "snapshot"; then
7635 build_type_string
="SNAPSHOT"
7636 elif test "$build_type" = "milestone"; then
7637 build_type_string
="MILESTONE"
7638 elif test "$build_type" = "release"; then
7639 build_type_string
="RELEASE"
7641 build_type_string
="PERSONAL"
7642 build_type
="personal"
7645 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7648 $as_echo "$build_type" >&6; }
7650 #-----------------------------------------------------------------------------
7651 all_debug_types
="messages stack modules mungwall symbols"
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7654 $as_echo_n "checking which debug types to enable... " >&6; }
7655 # Check whether --enable-debug was given.
7656 if test "${enable_debug+set}" = set; then :
7657 enableval
=$enable_debug; debug
="$enableval"
7663 if test "$debug" = "" -o "$debug" = "no"; then
7665 elif test "$debug" = "yes"; then
7669 if test "$debug" = "all" ; then
7670 debug
="messages stack modules symbols"
7671 for d
in $all_debug_types; do
7672 export aros_
${d}_debug
="1"
7675 for d
in $all_debug_types; do
7676 export aros_
${d}_debug
="0"
7680 if test "$debug" != "none"; then
7681 debug
=`echo $debug | sed s/,/\ /g`
7684 for d2
in $all_debug_types; do
7685 if test "$d2" = "$d"; then
7690 if test "$found" = "0"; then
7691 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7693 export aros_
${d}_debug
="1"
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7698 $as_echo "$debug" >&6; }
7700 if test "$aros_messages_debug" = "1"; then
7701 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7703 aros_messages_debug
=""
7705 if test "$aros_symbols_debug" = "1"; then
7706 aros_symbols_debug
="-g"
7708 aros_symbols_debug
=""
7711 # These are the flags to pass when compiling debugged programs
7712 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7713 aros_debug_aflags
=""
7714 aros_debug_ldflags
="$aros_symbols_debug"
7716 #-----------------------------------------------------------------------------
7717 # Checking for distcc and ccache.
7719 # Always apply the transforms in this particular order. Basically you should
7720 # always run 'ccache distcc compiler' in that order for the best performance.
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7723 $as_echo_n "checking whether to enable distcc... " >&6; }
7724 # Check whether --enable-distcc was given.
7725 if test "${enable_distcc+set}" = set; then :
7726 enableval
=$enable_distcc; distcc
="$enableval"
7731 if test "$distcc" != "" -a "$distcc" != "no"; then
7732 # AC_CHECK_PROG will print out the result in this case
7733 # Extract the first word of "distcc", so it can be a program name with args.
7734 set dummy distcc
; ac_word
=$2
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7736 $as_echo_n "checking for $ac_word... " >&6; }
7737 if ${ac_cv_path_DISTCC+:} false
; then :
7738 $as_echo_n "(cached) " >&6
7742 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7749 test -z "$as_dir" && as_dir
=.
7750 for ac_exec_ext
in '' $ac_executable_extensions; do
7751 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7752 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7760 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7764 DISTCC
=$ac_cv_path_DISTCC
7765 if test -n "$DISTCC"; then
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7767 $as_echo "$DISTCC" >&6; }
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7770 $as_echo "no" >&6; }
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7776 $as_echo "no" >&6; }
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7780 $as_echo_n "checking whether to enable ccache... " >&6; }
7781 # Check whether --enable-ccache was given.
7782 if test "${enable_ccache+set}" = set; then :
7783 enableval
=$enable_ccache; ccache
="$enableval"
7788 if test "$ccache" != "" -a "$ccache" != "no"; then
7789 # AC_CHECK_PROG will print out the result in this case
7790 # Extract the first word of "ccache", so it can be a program name with args.
7791 set dummy ccache
; ac_word
=$2
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7793 $as_echo_n "checking for $ac_word... " >&6; }
7794 if ${ac_cv_prog_CCACHE+:} false
; then :
7795 $as_echo_n "(cached) " >&6
7797 if test -n "$CCACHE"; then
7798 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7804 test -z "$as_dir" && as_dir
=.
7805 for ac_exec_ext
in '' $ac_executable_extensions; do
7806 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7807 ac_cv_prog_CCACHE
="ccache"
7808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7817 CCACHE
=$ac_cv_prog_CCACHE
7818 if test -n "$CCACHE"; then
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7820 $as_echo "$CCACHE" >&6; }
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7823 $as_echo "no" >&6; }
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7829 $as_echo "no" >&6; }
7832 #-----------------------------------------------------------------------------
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7834 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7836 # Check whether --with-kernel-gcc-version was given.
7837 if test "${with_kernel_gcc_version+set}" = set; then :
7838 withval
=$with_kernel_gcc_version; kernel_tool_version
="$withval"
7840 kernel_tool_version
=""
7843 if test "$kernel_tool_version" != "" ; then
7844 msg_result
=$kernel_tool_version
7846 msg_result
="default"
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
7849 $as_echo "$msg_result" >&6; }
7851 #-----------------------------------------------------------------------------
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7853 $as_echo_n "checking what optimization flags to use... " >&6; }
7855 # Check whether --with-optimization was given.
7856 if test "${with_optimization+set}" = set; then :
7857 withval
=$with_optimization; optimization
="$withval"
7859 optimization
="unknown"
7862 if test "$optimization" = "unknown"; then
7863 if test "$debug" != "none"; then
7869 aros_optimization_cflags
="$optimization"
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7871 $as_echo "$optimization" >&6; }
7873 paranoia_default
=yes
7874 #-----------------------------------------------------------------------------
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which paranoia flags to use" >&5
7876 $as_echo_n "checking which paranoia flags to use... " >&6; }
7878 # Check whether --with-paranoia was given.
7879 if test "${with_paranoia+set}" = set; then :
7880 withval
=$with_paranoia; paranoia_flags
="$withval"
7882 paranoia_flags
="$paranoia_default"
7885 if test "$paranoia_flags" = "no"; then
7889 if test "$paranoia_flags" = "yes"; then
7890 paranoia_flags
="-Wall -Werror"
7892 msg_result
="$paranoia_flags"
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
7895 $as_echo "$msg_result" >&6; }
7896 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7898 #-----------------------------------------------------------------------------
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7900 $as_echo_n "checking what target variant to enable... " >&6; }
7901 # Check whether --enable-target_variant was given.
7902 if test "${enable_target_variant+set}" = set; then :
7903 enableval
=$enable_target_variant; target_variant
=$enableval
7908 if test "$target_variant" = ""; then
7909 aros_target_variant
=""
7910 aros_target_suffix
=""
7913 aros_target_variant
="$target_variant"
7914 aros_target_suffix
="-$target_variant"
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7917 $as_echo "$enableval" >&6; }
7919 #-----------------------------------------------------------------------------
7920 # Target-specific defaults. You can override then on a per-target basis.
7922 # Bootloader name. Currently used by PC target.
7923 target_bootloader
="none"
7926 #-----------------------------------------------------------------------------
7927 # Additional options for some specific targets
7929 case "$aros_target_variant" in
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7932 $as_echo_n "checking XCode path... " >&6; }
7934 # Check whether --with-xcode was given.
7935 if test "${with_xcode+set}" = set; then :
7936 withval
=$with_xcode; aros_xcode_path
="$withval"
7938 aros_xcode_path
="/Developer"
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7942 $as_echo "$aros_xcode_path" >&6; }
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7945 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7947 # Check whether --with-sdk-version was given.
7948 if test "${with_sdk_version+set}" = set; then :
7949 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7951 aros_sdk_version
="4.1"
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7955 $as_echo "$aros_sdk_version" >&6; }
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7961 $as_echo_n "checking Android SDK path... " >&6; }
7963 # Check whether --with-sdk was given.
7964 if test "${with_sdk+set}" = set; then :
7965 withval
=$with_sdk; aros_android_sdk
="$withval"
7967 aros_android_sdk
=$default_android_sdk
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7971 $as_echo "$aros_android_sdk" >&6; }
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7974 $as_echo_n "checking Android NDK path... " >&6; }
7976 # Check whether --with-ndk was given.
7977 if test "${with_ndk+set}" = set; then :
7978 withval
=$with_ndk; aros_android_ndk
="$withval"
7980 aros_android_ndk
="none"
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7984 $as_echo "$aros_android_ndk" >&6; }
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7987 $as_echo_n "checking what Android SDK version to use... " >&6; }
7989 # Check whether --with-sdk-version was given.
7990 if test "${with_sdk_version+set}" = set; then :
7991 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7993 aros_sdk_version
="12"
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7997 $as_echo "$aros_sdk_version" >&6; }
7999 aros_android_level
=android-
$aros_sdk_version
8000 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
8001 echo "Platform $aros_android_level is not installed in your SDK"
8002 echo "Use --with-sdk-version=<API level number> to select another platform version"
8003 echo "You can check what plaform versions are installed in your SDK"
8004 echo "by examining contents of $aros_android_sdk/platforms directory"
8005 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
8008 export PATH
="$aros_android_sdk/tools:$PATH"
8009 # Extract the first word of "$android_tool", so it can be a program name with args.
8010 set dummy
$android_tool; ac_word
=$2
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8012 $as_echo_n "checking for $ac_word... " >&6; }
8013 if ${ac_cv_path_android_tool+:} false
; then :
8014 $as_echo_n "(cached) " >&6
8016 case $android_tool in
8018 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
8021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8025 test -z "$as_dir" && as_dir
=.
8026 for ac_exec_ext
in '' $ac_executable_extensions; do
8027 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8028 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
8029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8039 android_tool
=$ac_cv_path_android_tool
8040 if test -n "$android_tool"; then
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
8042 $as_echo "$android_tool" >&6; }
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8045 $as_echo "no" >&6; }
8050 if test "$android_tool" = ""; then
8053 if test "$android_tool" = "no"; then
8056 if test "$req_avail" = "no"; then
8057 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
8060 if test "$aros_android_ndk" != "none"; then
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
8062 $as_echo_n "checking what Android NDK version to use... " >&6; }
8064 # Check whether --with-ndk-version was given.
8065 if test "${with_ndk_version+set}" = set; then :
8066 withval
=$with_ndk_version; aros_ndk_version
="$withval"
8068 aros_ndk_version
="9"
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
8072 $as_echo "$aros_ndk_version" >&6; }
8075 # Extract the first word of "ant", so it can be a program name with args.
8076 set dummy ant
; ac_word
=$2
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8078 $as_echo_n "checking for $ac_word... " >&6; }
8079 if ${ac_cv_path_ant+:} false
; then :
8080 $as_echo_n "(cached) " >&6
8084 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
8087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8091 test -z "$as_dir" && as_dir
=.
8092 for ac_exec_ext
in '' $ac_executable_extensions; do
8093 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8094 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
8095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8106 if test -n "$ant"; then
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
8108 $as_echo "$ant" >&6; }
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8111 $as_echo "no" >&6; }
8115 if test "$ant" = ""; then
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
8117 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Build debug or release apk" >&5
8121 $as_echo_n "checking Build debug or release apk... " >&6; }
8123 # Check whether --with-apk-version was given.
8124 if test "${with_apk_version+set}" = set; then :
8125 withval
=$with_apk_version; aros_android_antapk
=$withval
8127 aros_android_antapk
=release
8130 if test $aros_android_antapk != release
-a $aros_android_antapk != debug
; then
8131 as_fn_error $?
"apk-version has to be release or debug" "$LINENO" 5
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_antapk" >&5
8134 $as_echo "$aros_android_antapk" >&6; }
8136 if test "$host_os" = "mingw32"; then
8137 android_tool
="cmd //c $android_tool"
8145 #-----------------------------------------------------------------------------
8146 # External toolchains
8147 kernel_tool_prefix
="none"
8148 aros_tool_prefix
="none"
8149 elf_tool_prefix
="${target_cpu}-elf-"
8151 # This is the target configuration switch.
8152 case "$target_os" in
8154 aros_target_arch
="linux"
8155 aros_target_family
="unix"
8156 case "$target_cpu" in
8158 aros_target_cpu
="m68k"
8159 aros_object_format
="m68kelf"
8160 aros_flavour
="emulcompat"
8161 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8162 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8163 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8164 gcc_target_cpu
="mc68000"
8167 aros_target_cpu
="i386"
8168 aros_object_format
="elf_i386"
8169 aros_flavour
="emulation"
8170 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8171 aros_kernel_ldflags
="-Wl,-melf_i386"
8172 aros_nominal_depth
=8
8173 gcc_target_cpu
="i386"
8174 pci_hidd_target
="hidd-pci-linux"
8175 android_tool_dir_prefix
="x86"
8176 android_tool_prefix
="i686-android-linux"
8177 android_ndk_arch
="x86"
8180 aros_target_cpu
="x86_64"
8181 aros_object_format
="elf_x86_64"
8182 aros_flavour
="emulation"
8183 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8184 aros_config_cflags
="$aros_config_cflags -mcmodel=large -mno-red-zone -fno-omit-frame-pointer"
8185 aros_nominal_depth
=8
8186 pci_hidd_target
="hidd-pci-linux"
8189 aros_target_cpu
="ppc"
8190 aros_object_format
="elf32ppc"
8191 aros_flavour
="emulation"
8192 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8193 aros_nominal_depth
=8
8194 gcc_target_cpu
="ppc"
8197 # Same as powerpc, but I need this for the nightly build to work again.
8198 # Actually, the nightly should be made working with powerpc target.
8199 # That just was too much work for the moment, another week or two.
8201 aros_target_cpu
="ppc"
8202 aros_object_format
="elf32ppc"
8203 aros_flavour
="emulation"
8204 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8205 aros_nominal_depth
=8
8206 gcc_target_cpu
="ppc"
8209 aros_target_cpu
="aarch64"
8210 target_cpu
="aarch64"
8211 aros_object_format
="aarch64elf_aros"
8212 aros_flavour
="emulation"
8213 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8214 gcc_target_cpu
="aarch64"
8215 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
8216 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
8217 aros_arch_libs
="-laeabi"
8218 gcc_default_float_abi
="hard"
8219 kernel_tool_prefix
="aarch64-linux-gnueabihf-"
8222 aros_target_cpu
="arm"
8224 aros_object_format
="armelf_aros"
8225 aros_flavour
="emulation"
8226 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8227 gcc_target_cpu
="arm"
8228 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
8229 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
8230 aros_arch_libs
="-laeabi"
8231 gcc_default_float_abi
="hard"
8232 android_tool_dir_prefix
="arm-linux-androideabi"
8233 android_tool_prefix
="arm-linux-androideabi"
8234 android_ndk_arch
="arm"
8235 kernel_tool_prefix
="arm-linux-gnueabihf-"
8238 aros_target_cpu
="arm"
8239 aros_object_format
="armelf_aros"
8240 aros_flavour
="emulation"
8241 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8242 gcc_target_cpu
="arm"
8243 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
8244 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
8245 aros_arch_libs
="-laeabi"
8246 android_tool_dir_prefix
="arm-linux-androideabi"
8247 android_tool_prefix
="arm-linux-androideabi"
8248 android_ndk_arch
="arm"
8249 kernel_tool_prefix
="arm-linux-gnueabi-"
8252 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
8255 case "$aros_target_variant" in
8258 if test "$android_ndk_arch" = ""; then
8259 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
8262 aros_nominal_width
=320
8263 aros_nominal_height
=480
8264 if test "$aros_android_ndk" = "none"; then
8265 aros_kernel_cflags
="-mandroid"
8266 aros_kernel_ldflags
="-mandroid"
8269 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$kernel_tool_version/prebuilt/$android_build_os/bin:$PATH"
8270 kernel_tool_version
=""
8271 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
8272 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
8273 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
8274 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
8275 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
8278 host_android_gfx
=yes
8279 # Disable implicit PIC mode
8280 aros_target_cflags
="$aros_target_cflags -fno-pic"
8281 kernel_tool_prefix
="$android_tool_prefix-"
8287 aros_target_arch
="pc"
8288 aros_shared_default
="no"
8289 target_bootloader
="grub2"
8290 case "$target_cpu" in
8292 aros_target_cpu
="i386"
8295 if test "$aros_object_format" = "" ; then
8296 aros_object_format
="elf_i386"
8298 aros_flavour
="standalone"
8299 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8300 aros_kernel_ldflags
="-Wl,-melf_i386"
8301 aros_nominal_width
=640
8302 aros_nominal_height
=480
8303 gcc_target_cpu
="i386"
8306 aros_target_cpu
="x86_64"
8308 if test "$aros_object_format" = "" ; then
8309 aros_object_format
="elf_x86_64"
8311 aros_flavour
="standalone"
8312 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8313 aros_config_cflags
="$aros_config_cflags -mcmodel=large -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
8314 aros_kernel_ldflags
=""
8315 aros_nominal_width
=640
8316 aros_nominal_height
=480
8317 case "$aros_target_variant" in
8319 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8324 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
8330 aros_target_arch
="prep"
8331 aros_shared_default
="no"
8332 aros_target_cpu
="ppc"
8333 aros_object_format
="elf32ppc"
8334 aros_flavour
="ppcnative"
8335 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8336 aros_kernel_ldflags
=""
8337 aros_nominal_width
=640
8338 aros_nominal_height
=480
8339 gcc_target_cpu
="ppc"
8343 aros_target_arch
="freebsd"
8344 aros_target_family
="unix"
8345 aros_target_cpu
="i386"
8346 aros_flavour
="emulation"
8347 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8348 gcc_target_cpu
="i386"
8350 aros_target_strip_flags
="-x"
8354 aros_target_arch
="darwin"
8355 aros_target_family
="unix"
8356 aros_flavour
="emulation"
8357 case "$target_cpu" in
8359 aros_ios_platform
="iPhoneSimulator"
8360 aros_target_cpu
="i386"
8361 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8362 aros_kernel_ldflags
=""
8363 aros_macosx_version
="10.4"
8364 aros_nominal_depth
=8
8365 gcc_target_cpu
="i386"
8366 aros_object_format
="elf_i386"
8367 aros_kernel_ar_flags
="-cr"
8368 aros_target_strip_flags
="-x"
8369 kernel_tool_flags
="-m32"
8372 aros_target_cpu
="x86_64"
8373 aros_object_format
="elf_x86_64"
8374 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8375 aros_macosx_version
="10.6"
8376 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8377 aros_kernel_cflags
="-m64"
8378 aros_kernel_ldflags
="-m64"
8379 aros_target_cflags
="-mcmodel=large"
8380 aros_nominal_depth
=8
8382 aros_kernel_ar_flags
="-cr"
8385 aros_kernel_ranlib
="ranlib"
8387 aros_kernel_strip
="strip"
8388 kernel_tool_prefix
="i686-apple-darwin10-"
8391 aros_target_cpu
="ppc"
8392 aros_object_format
="elf32ppc"
8393 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8394 aros_kernel_ldflags
=""
8395 aros_macosx_version
="10.0"
8396 aros_nominal_depth
=8
8397 gcc_target_cpu
="ppc"
8399 aros_kernel_ar_flags
="-cr"
8400 aros_kernel_ld
="ld -arch ppc"
8401 aros_kernel_as
="as -arch ppc"
8402 aros_kernel_ranlib
="ranlib -arch ppc"
8403 aros_kernel_nm
="nm -arch ppc"
8404 aros_kernel_strip
="strip -arch ppc"
8405 kernel_tool_prefix
="powerpc-apple-darwin10-"
8408 aros_ios_platform
="iPhoneOS"
8409 aros_target_cpu
="arm"
8410 aros_object_format
="armelf_aros"
8411 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8412 aros_arch_libs
="-laeabi"
8413 aros_nominal_depth
=8
8414 gcc_target_cpu
="arm"
8416 aros_kernel_ar_flags
="-cr"
8417 aros_kernel_ld
="ld -arch arm"
8418 aros_kernel_ranlib
="ranlib -arch arm"
8419 kernel_tool_prefix
="arm-apple-darwin10-"
8420 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8423 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8426 case "$aros_target_variant" in
8428 aros_ios_version
="3.0"
8429 aros_nominal_width
=320
8430 aros_nominal_height
=480
8431 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8432 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8433 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8435 # This is here because it may depend on iOS or SDK version
8436 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8437 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8438 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8441 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8442 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8448 aros_target_arch
="dragonfly"
8449 aros_target_family
="unix"
8450 aros_flavour
="emulation"
8451 case "$target_cpu" in
8453 aros_target_cpu
="i386"
8454 aros_object_format
="elf_i386"
8455 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8458 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8459 aros_target_cpu
="x86_64"
8460 aros_object_format
="elf_x86_64"
8461 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8464 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8470 aros_target_arch
="netbsd"
8471 aros_target_family
="unix"
8472 case "$target_cpu" in
8474 aros_target_cpu
="m68k"
8475 aros_object_format
="m68kelf"
8476 aros_flavour
="emulcompat"
8477 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8478 gcc_target_cpu
="mc68000"
8481 aros_target_cpu
="i386"
8482 aros_object_format
="elf_i386"
8483 aros_flavour
="emulation"
8484 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8485 aros_nominal_depth
=8
8486 gcc_target_cpu
="i386"
8489 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8492 aros_target_genmap
="-Wl,-M -Xlinker >"
8493 aros_flavour
="emulation"
8494 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8498 aros_target_arch
="openbsd"
8499 aros_target_family
="unix"
8500 case "$target_cpu" in
8502 aros_target_cpu
="i386"
8503 aros_object_format
="elf_i386"
8504 aros_flavour
="emulation"
8505 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8506 gcc_target_cpu
="i386"
8509 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8512 aros_target_genmap
="-Wl,-M -Xlinker >"
8513 aros_target_nm_flags
="-u"
8514 aros_flavour
="emulation"
8518 aros_target_arch
="solaris"
8519 aros_target_family
="unix"
8520 case "$target_cpu" in
8522 aros_target_cpu
="i386"
8523 aros_object_format
="elf_i386"
8524 aros_flavour
="emulation"
8525 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8526 aros_nominal_depth
=8
8527 gcc_target_cpu
="i386"
8530 aros_target_cpu
="sparc"
8531 aros_object_format
="elf_sparc"
8532 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8533 gcc_target_cpu
="sparc"
8536 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8539 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8540 aros_flavour
="emulation"
8544 aros_target_arch
="morphos"
8545 aros_shared_default
="no"
8546 aros_target_cpu
="ppc"
8547 aros_object_format
="elf_ppc"
8548 aros_flavour
="nativecompat"
8549 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8550 gcc_target_cpu
="ppc"
8554 aros_target_arch
="sam440"
8555 aros_shared_default
="no"
8556 aros_target_cpu
="ppc"
8557 aros_object_format
="elf32ppc"
8558 aros_flavour
="ppcnative"
8559 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8560 aros_kernel_ldflags
=""
8561 aros_nominal_width
=1024
8562 aros_nominal_height
=768
8563 aros_nominal_depth
=24
8564 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8565 gcc_target_cpu
="powerpc"
8569 aros_target_arch
="efika"
8570 aros_shared_default
="no"
8571 aros_target_cpu
="arm"
8572 aros_object_format
="armelf_aros"
8573 aros_flavour
="standalone"
8574 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8575 aros_kernel_ldflags
=""
8576 aros_nominal_width
=1024
8577 aros_nominal_height
=600
8578 aros_arch_libs
="-laeabi"
8579 gcc_default_cpu
="armv7-a"
8580 gcc_default_fpu
="vfpv3"
8581 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8582 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8583 aros_optimization_cflags
="$aros_optimization_cflags -Os"
8584 case "$target_cpu" in
8586 gcc_default_float_abi
="hard"
8591 gcc_default_float_abi
="softfp"
8594 as_fn_error $?
"\"Unknown CPU for EfikaMX $target_cpu\"" "$LINENO" 5
8600 aros_target_arch
="chrp"
8601 aros_shared_default
="no"
8602 aros_target_cpu
="ppc"
8603 aros_object_format
="elf32ppc"
8604 aros_flavour
="ppcnative"
8605 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8606 aros_kernel_ldflags
=""
8607 aros_nominal_width
=640
8608 aros_nominal_height
=480
8609 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8610 gcc_target_cpu
="powerpc"
8611 case "$aros_target_variant" in
8613 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8619 aros_flavour
="standalone"
8620 aros_target_arch
="raspi"
8622 aros_shared_default
="no"
8624 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__"
8626 case "$target_cpu" in
8628 aros_target_cpu
="aarch64"
8629 gcc_default_cpu
="aarch64"
8630 aros_object_format
="aarch64elf_aros"
8633 aros_target_cpu
="arm"
8634 gcc_default_cpu
="armv6zk"
8635 gcc_default_cpu_tune
="arm1176jzf-s"
8636 aros_object_format
="armelf_aros"
8637 aros_config_cflags
="$aros_config_cflags -marm"
8638 aros_config_aflags
="$aros_config_aflags -marm"
8639 aros_kernel_cflags
="$aros_kernel_cflags -marm"
8640 aros_target_cflags
="$aros_kernel_cflags -marm"
8641 aros_target_mkdep
="$aros_target_mkdep -Darm"
8642 aros_arch_libs
="-laeabi"
8645 aros_target_cpu
="arm"
8646 gcc_default_cpu
="armv6zk"
8647 gcc_default_cpu_tune
="arm1176jzf-s"
8648 aros_object_format
="armelf_aros"
8649 aros_config_cflags
="$aros_config_cflags -marm"
8650 aros_config_aflags
="$aros_config_aflags -marm"
8651 aros_kernel_cflags
="$aros_kernel_cflags -marm"
8652 aros_target_cflags
="$aros_kernel_cflags -marm"
8653 aros_target_mkdep
="$aros_target_mkdep -Darm"
8654 aros_arch_libs
="-laeabi"
8657 as_fn_error $?
"\"Unknown CPU for RasPi $target_cpu\"" "$LINENO" 5
8661 aros_config_cflags
="$aros_config_cflags -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8662 aros_config_aflags
="$aros_config_aflags -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8663 aros_kernel_cflags
="$aros_kernel_cflags -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8664 aros_target_cflags
="$aros_kernel_cflags -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8666 case "$aros_target_variant" in
8668 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8674 aros_flavour
="standalone"
8675 aros_target_arch
="stm32f7_discovery"
8676 aros_target_cpu
="arm"
8677 aros_target_cpu_mode
="thumb2"
8678 aros_object_format
="armelf_aros"
8679 aros_shared_default
="no"
8681 # stm32f7 has DSP opcode support
8682 gcc_default_cpu
="armv7e-m"
8683 # gcc_default_cpu="armv7-m"
8684 gcc_default_cpu_tune
="cortex-m7"
8685 gcc_default_fpu
="fpv4-sp-d16"
8686 # GCC does not recognize fpv5-sp-d16 which should be the correct one to use, or not...
8687 # gcc_default_fpu="fpv5-sp-d16"
8688 gcc_default_float_abi
="hard"
8690 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dthumb"
8694 aros_target_arch
="amiga"
8695 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8696 aros_shared_default
="no"
8698 case "$target_cpu" in
8700 # Check whether --enable-amigaos_compliance was given.
8701 if test "${enable_amigaos_compliance+set}" = set; then :
8702 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8706 aros_target_cpu
="m68k"
8707 aros_object_format
="m68kelf"
8708 aros_flavour
="standcompat"
8709 gcc_target_cpu
="m68000"
8710 aros_nowarn_flags
="$aros_nowarn_flags NOWARN_VOLATILE_REGISTER_VAR"
8711 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -DNOLIBINLINE"
8712 aros_optimization_cflags
="$aros_optimization_cflags -Os"
8713 aros_config_aflags
="$aros_config_aflags"
8714 aros_target_strip_flags
="-R.comment --strip-debug"
8715 aros_nominal_width
=640
8716 aros_nominal_height
=256
8717 aros_nominal_depth
=2
8721 aros_flavour
="native"
8722 gcc_target_cpu
="ppc"
8725 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8731 aros_target_arch
="mingw32"
8732 aros_shared_default
="no"
8733 aros_flavour
="emulation"
8734 aros_shared_cflags
=""
8735 need_crosstools
="yes"
8738 case "$target_cpu" in
8740 aros_target_cpu
="i386"
8741 aros_object_format
="elf_i386"
8742 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8743 aros_nominal_depth
=8
8744 gcc_target_cpu
="i386"
8746 kernel_tool_prefix
="i386-mingw32-"
8749 aros_target_cpu
="x86_64"
8750 aros_object_format
="elf_x86_64"
8751 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8752 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8753 aros_nominal_depth
=8
8754 kernel_tool_prefix
="x86_64-w64-mingw32-"
8757 aros_target_cpu
="arm"
8758 aros_object_format
="armelf_aros"
8759 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8760 aros_arch_libs
="-laeabi"
8761 aros_nominal_depth
=8
8762 gcc_target_cpu
="arm"
8763 gcc_default_float_abi
="soft"
8764 kernel_tool_prefix
="arm-mingw32ce-"
8765 aros_nominal_width
=160
8766 aros_nominal_height
=160
8769 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8772 if test $host_os = "cygwin"; then
8773 aros_kernel_cflags
="-mno-cygwin"
8777 aros_target_arch
="pp"
8778 aros_shared_default
="no"
8779 case "$target_cpu" in
8781 aros_target_cpu
="m68k"
8782 aros_object_format
="m68kelf"
8783 aros_flavour
="palmnative"
8784 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8785 aros_nominal_width
=160
8786 aros_nominal_height
=160
8787 aros_nominal_depth
=1
8788 aros_target_ar_flags
="cru"
8789 aros_compiler_libs
="-lgcc1"
8790 aros_shared_default
=no
8791 aros_shared_cflags
="-fpic"
8792 aros_shared_aflags
=""
8793 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8794 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8795 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8796 aros_debug_aflags
=""
8797 aros_debug_ldflags
="$aros_symbols_debug"
8798 aros_mungwall_debug
="0"
8799 aros_modules_debug
="0"
8800 gcc_target_cpu
="mc68000"
8801 ignore_undefined_symbols
="-ius"
8804 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8810 aros_target_arch
="mac"
8811 aros_shared_default
="no"
8812 case "$target_cpu" in
8814 aros_target_cpu
="m68k"
8815 aros_object_format
="m68kelf"
8816 aros_flavour
="mac68knative"
8817 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8818 aros_nominal_width
=512
8819 aros_nominal_height
=384
8820 aros_nominal_depth
=8
8821 aros_target_ar_flags
="cru"
8822 aros_compiler_libs
="-lgcc1"
8823 aros_shared_default
=no
8824 aros_shared_cflags
="-fpic"
8825 aros_shared_aflags
=""
8826 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8827 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8828 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8829 aros_debug_aflags
=""
8830 aros_debug_ldflags
="$aros_symbols_debug"
8831 aros_mungwall_debug
="0"
8832 aros_modules_debug
="0"
8833 gcc_target_cpu
="mc68000"
8834 ignore_undefined_symbols
="-ius"
8837 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8843 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8847 #-----------------------------------------------------------------------------
8848 crosstools_guess
="yes"
8849 aros_target_toolchain
="no"
8850 aros_config_sysroot
=""
8851 aros_kernel_sysroot
=""
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8854 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8856 # Check whether --with-kernel-toolchain-prefix was given.
8857 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8858 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8862 $as_echo "$kernel_tool_prefix" >&6; }
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8865 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8867 # Check whether --with-elf-toolchain-prefix was given.
8868 if test "${with_elf_toolchain_prefix+set}" = set; then :
8869 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8870 crosstools_guess
="no"
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8874 $as_echo "$elf_tool_prefix" >&6; }
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8877 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8879 # Check whether --with-aros-toolchain was given.
8880 if test "${with_aros_toolchain+set}" = set; then :
8881 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8882 crosstools_guess
="no"
8885 if test "$aros_tool_prefix" = "yes" ; then
8886 aros_tool_prefix
=$aros_target_cpu-aros-
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8889 $as_echo "$aros_tool_prefix" >&6; }
8891 #-----------------------------------------------------------------------------
8892 # Checking if we should build crosstools..
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8894 $as_echo_n "checking whether to build crosstools... " >&6; }
8895 # Check whether --enable-crosstools was given.
8896 if test "${enable_crosstools+set}" = set; then :
8897 enableval
=$enable_crosstools; crosstools
="$enableval"
8899 crosstools
="$crosstools_guess"
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8903 $as_echo "$crosstools" >&6; }
8905 if test "${crosstools}" = "yes"; then
8906 if test "${crosstools_guess}" = "no"; then
8907 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8911 if test "${crosstools}" = "yes" ||
test "${crosstools_guess}" = "no"; then
8912 aros_target_toolchain
="yes"
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8916 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8918 # Check whether --with-aros-toolchain-install was given.
8919 if test "${with_aros_toolchain_install+set}" = set; then :
8920 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8923 if test "x$aros_toolchain_install" = "x"; then
8924 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8926 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8927 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8928 if test "$crosstools_guess" = "no" ; then
8929 toolchain_needs_sysroot
=yes
8931 if test "x-$aros_flavour" != "x-emulation" -a "x-$aros_flavour" != "x-emulcompat" ; then
8932 aros_kernel_sysroot
= $aros_config_sysroot
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8937 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking If we need to use --sysroot" >&5
8940 $as_echo_n "checking If we need to use --sysroot... " >&6; }
8941 if test "$toolchain_needs_sysroot" = "yes" ; then
8942 aros_config_sysroot
="--sysroot $AROS_BUILDDIR_UNIX/bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development"
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolchain_needs_sysroot" >&5
8945 $as_echo "$toolchain_needs_sysroot" >&6; }
8947 #-----------------------------------------------------------------------------
8948 if test "$aros_toolchain" = "gnu" ; then
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target binutils version to use" >&5
8950 $as_echo_n "checking what specific target binutils version to use... " >&6; }
8953 # Check whether --with-binutils-version was given.
8954 if test "${with_binutils_version+set}" = set; then :
8955 withval
=$with_binutils_version; use_binutils_version
="$withval"
8957 use_binutils_version
=""
8960 if test "$use_binutils_version" = ""; then
8961 target_binutils_version
="$default_binutils_version"
8963 target_binutils_version
="$use_binutils_version"
8965 if test "$aros_toolchain" = "gnu" ; then
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_binutils_version" >&5
8967 $as_echo "$target_binutils_version" >&6; }
8971 # Helper to identify gcc version
8974 #-----------------------------------------------------------------------------
8975 if test "$aros_toolchain" = "gnu" ; then
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
8977 $as_echo_n "checking what specific target gcc version to use... " >&6; }
8980 # Check whether --with-gcc-version was given.
8981 if test "${with_gcc_version+set}" = set; then :
8982 withval
=$with_gcc_version; use_gcc_version
="$withval"
8987 if test "$use_gcc_version" = ""; then
8988 if test "${crosstools}" = "no"; then
8989 if test "x$aros_toolchain_install" != "x"; then
8991 target_gcc_version
=""
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
8993 $as_echo_n "checking gcc version... " >&6; }
8994 if ${ax_cv_gcc_version+:} false
; then :
8995 $as_echo_n "(cached) " >&6
8998 ax_cv_gcc_version
="`$AROS_CROSSTOOLSDIR/${aros_tool_prefix}${toolchain_cpp_preprocessor} -dumpversion`"
8999 if test "x$ax_cv_gcc_version" = "x"; then :
9001 ax_cv_gcc_version
=""
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_version" >&5
9007 $as_echo "$ax_cv_gcc_version" >&6; }
9008 target_gcc_version
=$ax_cv_gcc_version
9013 if test "$use_gcc_version" = ""; then
9014 target_gcc_version
="$default_gcc_version"
9017 target_gcc_version
="$use_gcc_version"
9019 if test "$aros_toolchain" = "gnu" ; then
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_gcc_version" >&5
9021 $as_echo "$target_gcc_version" >&6; }
9023 GCC_VERSION_MAJOR
=$
(echo $target_gcc_version | cut
-d'.' -f1)
9024 GCC_VERSION_MINOR
=$
(echo $target_gcc_version | cut
-d'.' -f2)
9025 GCC_VERSION_PATCH
=$
(echo $target_gcc_version | cut
-d'.' -f3)
9027 gcc_fix_bitfields
="false"
9028 if test "$GCC_VERSION_MAJOR" -gt "4" ; then
9029 gcc_fix_bitfields
="true"
9031 if test "$GCC_VERSION_MAJOR" -gt "3" ; then
9032 if test "$GCC_VERSION_MINOR" -gt "6" ; then
9033 gcc_fix_bitfields
="true"
9038 if test "$gcc_fix_bitfields" = "true" ; then
9039 case "$aros_target_cpu" in
9041 aros_kernel_cflags
="$aros_kernel_cflags -mno-ms-bitfields"
9042 aros_target_cflags
="$aros_target_cflags -mno-ms-bitfields"
9045 aros_kernel_cflags
="$aros_kernel_cflags -mno-ms-bitfields"
9046 aros_target_cflags
="$aros_target_cflags -mno-ms-bitfields"
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Objective-C suppport" >&5
9053 $as_echo_n "checking whether to enable Objective-C suppport... " >&6; }
9054 # Check whether --enable-objc was given.
9055 if test "${enable_objc+set}" = set; then :
9056 enableval
=$enable_objc; objc
="$enableval"
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objc" >&5
9062 $as_echo "$objc" >&6; }
9063 if test "x$objc" = "xyes"; then
9066 objc_target
="no-objc"
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Java suppport" >&5
9070 $as_echo_n "checking whether to enable Java suppport... " >&6; }
9071 # Check whether --enable-java was given.
9072 if test "${enable_java+set}" = set; then :
9073 enableval
=$enable_java; java
="$enableval"
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $java" >&5
9079 $as_echo "$java" >&6; }
9080 if test "x$java" != "xno"; then
9083 java_target
="no-java"
9086 spec_obj_format
="-m $aros_object_format"
9087 # Now process extra architecture-specific options.
9088 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
9089 # as well as floating-point ABI.
9090 case "$aros_target_cpu" in
9092 spec_obj_format
="%{!m32:-m elf_x86_64} %{m32:-m elf_i386}"
9095 if test "$gcc_default_cpu" = ""; then
9096 gcc_default_cpu
="armv6"
9098 if test "$gcc_default_fpu" = ""; then
9099 gcc_default_fpu
="vfp"
9101 if test "$gcc_default_float_abi" = ""; then
9102 if test "$target_cpu" = "armhf"; then
9103 gcc_default_float_abi
="hard"
9105 gcc_default_float_abi
="softfp"
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
9110 $as_echo_n "checking Which minimum CPU to use... " >&6; }
9112 # Check whether --with-cpu was given.
9113 if test "${with_cpu+set}" = set; then :
9114 withval
=$with_cpu; aros_gcc_cpu
="$withval"
9116 aros_gcc_cpu
=$gcc_default_cpu
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
9120 $as_echo "$aros_gcc_cpu" >&6; }
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
9123 $as_echo_n "checking Which minimum FPU to use... " >&6; }
9125 # Check whether --with-fpu was given.
9126 if test "${with_fpu+set}" = set; then :
9127 withval
=$with_fpu; aros_gcc_fpu
="$withval"
9129 aros_gcc_fpu
=$gcc_default_fpu
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
9133 $as_echo "$aros_gcc_fpu" >&6; }
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
9136 $as_echo_n "checking Which floating point ABI to use... " >&6; }
9138 # Check whether --with-float was given.
9139 if test "${with_float+set}" = set; then :
9140 withval
=$with_float; aros_gcc_float_abi
="$withval"
9142 aros_gcc_float_abi
=$gcc_default_float_abi
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
9146 $as_echo "$aros_gcc_float_abi" >&6; }
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which ARM mode to use" >&5
9149 $as_echo_n "checking Which ARM mode to use... " >&6; }
9150 if test "$aros_target_cpu_mode" = ""; then
9151 aros_target_cpu_mode
="arm32"
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Defaulting to $aros_target_cpu_mode" >&5
9153 $as_echo "Defaulting to $aros_target_cpu_mode" >&6; }
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cpu_mode" >&5
9156 $as_echo "$aros_target_cpu_mode" >&6; }
9159 case "$aros_target_cpu_mode" in
9161 gcc_default_mode
="arm"
9162 aros_isa_flags
="-m$gcc_default_mode -mthumb-interwork -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi"
9165 as_fn_error $?
"ARM 64-bit mode is unsupported" "$LINENO" 5
9168 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9171 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9174 gcc_default_mode
="thumb"
9175 # Do not specify -mthumb-interwork as it may add extra code to support arm/thumb interwork
9176 aros_isa_flags
="-m$gcc_default_mode -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi"
9179 as_fn_error $?
"Unsupported ARM mode specified $aros_target_cpu_mode" "$LINENO" 5
9183 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -fno-exceptions"
9184 aros_config_aflags
="$aros_config_aflags -fno-asynchronous-unwind-tables -fno-exceptions"
9187 aros_isa_flags
="-m32 -march=i486"
9188 aros_kernel_cflags
="$aros_kernel_cflags $aros_isa_flags"
9189 aros_kernel_ldflags
="$aros_kernel_ldflags -m32"
9193 # Some architectures may need custom ELF specs.
9194 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
9195 elf_specs_in
=config
/${aros_object_format}-specs.
in
9197 elf_specs_in
=config
/elf-specs.
in
9200 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
9201 # Since we override specs, we may need to put these defines there
9202 if test "$gcc_target_cpu" != ""; then
9203 gcc_target_cpu
="-D__${gcc_target_cpu}__"
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
9207 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
9209 # Check whether --with-portssources was given.
9210 if test "${with_portssources+set}" = set; then :
9211 withval
=$with_portssources; with_portssrcdir
=$withval
9213 with_portssrcdir
="default"
9216 if test "$with_portssrcdir" = "default"; then
9217 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
9219 AROS_PORTSSRCDIR
="$with_portssrcdir"
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
9222 $as_echo "$AROS_PORTSSRCDIR" >&6; }
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
9225 $as_echo_n "checking which bootloader to use... " >&6; }
9227 # Check whether --with-bootloader was given.
9228 if test "${with_bootloader+set}" = set; then :
9229 withval
=$with_bootloader; target_bootloader
=$withval
9231 target_bootloader
=$target_bootloader
9234 if test "$target_bootloader" = "none"; then
9235 aros_target_bootloader
=""
9237 aros_target_bootloader
="$target_bootloader"
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
9240 $as_echo "$target_bootloader" >&6; }
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
9243 $as_echo_n "checking which icon-set to use... " >&6; }
9245 # Check whether --with-iconset was given.
9246 if test "${with_iconset+set}" = set; then :
9247 withval
=$with_iconset; target_iconset
=$withval
9249 target_iconset
="default"
9252 if test "$target_iconset" = "default"; then
9253 aros_target_iconset
="Gorilla"
9254 target_iconset
="default (Gorilla)"
9256 aros_target_iconset
="$target_iconset"
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
9259 $as_echo "$target_iconset" >&6; }
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
9262 $as_echo_n "checking which GUI Theme to use... " >&6; }
9264 # Check whether --with-theme was given.
9265 if test "${with_theme+set}" = set; then :
9266 withval
=$with_theme; target_guitheme
=$withval
9268 target_guitheme
="default"
9271 if test "$target_guitheme" = "default"; then
9272 aros_target_guitheme
="Ice"
9274 aros_target_guitheme
="$target_guitheme"
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
9277 $as_echo "$aros_target_guitheme" >&6; }
9279 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
9283 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9287 if test "$aros_host_cpu" == "x86_64" ; then
9288 if test "$aros_target_cpu" == "i386" ; then
9293 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9294 if test "$aros_host_arch" != "$aros_target_arch" ; then
9298 if test "$host_cc_elf" = "no" ; then
9303 if test "$cross_compiling" = "no" ; then
9304 kernel_tool_prefix
=""
9305 if test "$host_cc_elf" = "yes" ; then
9310 if test "$kernel_tool_version" != ""; then
9311 kernel_tool_version
="-$kernel_tool_version"
9314 #######################################################################
9315 ## Compute what toolchains to use, and their paths ##
9316 #######################################################################
9318 # This takes, as input:
9319 # crosstools {yes,no}
9320 # kernel_tool_version {"",[version]}
9321 # target_tool_version {"",[version]}
9322 # kernel_tool_prefix {none,[some-arch-os-]}
9324 # target_tool_prefix ${aros_target_cpu}-aros-
9325 # aros_tool_prefix ${aros_target_cpu}-aros-
9328 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9329 # Where the 'kernel' binaries are located
9330 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9331 # Where the 'target' binaries are located
9332 # (not the symlink farm - that is aros_target_*!)
9335 # if crosstools then
9336 # if kernel_tools_prefix = "no-kernel-prefix-"
9337 # aros_kernel_* = crosstools cc paths
9338 # aros_kernel_cc = elf cc wrapper around crosstools cc
9340 # VALIDATE(${kernel_tools_prefix}*)
9341 # aros_kernel_* = ${kernel_tools_prefix}*
9342 # if ${kernel_tools_prefix}cc is an AROS gcc
9343 # aros_kernel_cc = ${kernel_tools_prefix}cc
9345 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
9349 # orig_target_* = aros built crosstools
9350 # orig_target_cc = elf cc wrapper around crosstools cc
9352 # VALIDATE(${kernel_tools_prefix}*)
9354 # orig_target_* = aros_kernel_*
9355 # if aros_kernel_cc is an AROS gcc
9356 # orig_target_cc = aros_kernel_cc
9358 # orig_target_cc = aros cc wrapper around aros_kernel_cc
9362 if test "$aros_toolchain" = "gnu" ; then
9363 target_tool_prefix
="${aros_target_cpu}-aros-"
9364 elif test "$aros_toolchain" = "llvm" ; then
9365 target_tool_prefix
="bin/"
9368 if test "$kernel_tool_prefix" != "" ; then
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
9370 $as_echo_n "checking which kernel tools... " >&6; }
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
9372 $as_echo "$kernel_tool_prefix" >&6; };
9375 if test "$kernel_tool_prefix" = "none" ; then
9376 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9377 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
9380 # Kernel tools required - find them
9381 # Note that 'normally', aros_kernel_* overrides will be
9382 # empty, unless specified in the per-arch sections above.
9383 if test "x$aros_kernel_cpp" = "x"; then
9384 aros_kernel_cpp
=${kernel_tool_prefix}${CPP}
9386 if test "${kernel_tool_version}" != ""; then
9387 if test "$aros_kernel_cpp" != ""; then
9388 ac_prog_args
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9389 ac_prog_cmd
=`expr "X$aros_kernel_cpp" : '^\S*'`
9390 aros_kernel_cpp
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9394 if test "$aros_kernel_cpp" = ""; then
9395 if test "$cross_compiling" = "yes" ; then
9396 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
9397 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9399 $as_echo_n "checking for $ac_word... " >&6; }
9400 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9401 $as_echo_n "(cached) " >&6
9403 case $aros_kernel_cpp in
9405 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9412 test -z "$as_dir" && as_dir
=.
9413 for ac_exec_ext
in '' $ac_executable_extensions; do
9414 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9415 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9426 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9427 if test -n "$aros_kernel_cpp"; then
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9429 $as_echo "$aros_kernel_cpp" >&6; }
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9432 $as_echo "no" >&6; }
9437 if test "$GCC" = "yes"; then
9438 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
9439 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
9440 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9442 $as_echo_n "checking for $ac_word... " >&6; }
9443 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9444 $as_echo_n "(cached) " >&6
9446 case $aros_kernel_cpp in
9448 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9452 for as_dir
in `dirname $aros_gcc_cpp`
9455 test -z "$as_dir" && as_dir
=.
9456 for ac_exec_ext
in '' $ac_executable_extensions; do
9457 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9458 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9469 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9470 if test -n "$aros_kernel_cpp"; then
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9472 $as_echo "$aros_kernel_cpp" >&6; }
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9475 $as_echo "no" >&6; }
9480 if test "$aros_kernel_cpp" = ""; then
9481 # Extract the first word of "cpp", so it can be a program name with args.
9482 set dummy cpp
; ac_word
=$2
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9484 $as_echo_n "checking for $ac_word... " >&6; }
9485 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9486 $as_echo_n "(cached) " >&6
9488 case $aros_kernel_cpp in
9490 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9497 test -z "$as_dir" && as_dir
=.
9498 for ac_exec_ext
in '' $ac_executable_extensions; do
9499 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9500 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9511 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9512 if test -n "$aros_kernel_cpp"; then
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9514 $as_echo "$aros_kernel_cpp" >&6; }
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9517 $as_echo "no" >&6; }
9524 ac_tool_optarg
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9525 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
9526 set dummy
$aros_kernel_cpp; ac_word
=$2
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9528 $as_echo_n "checking for $ac_word... " >&6; }
9529 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9530 $as_echo_n "(cached) " >&6
9532 case $aros_kernel_cpp in
9534 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9541 test -z "$as_dir" && as_dir
=.
9542 for ac_exec_ext
in '' $ac_executable_extensions; do
9543 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9544 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9555 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9556 if test -n "$aros_kernel_cpp"; then
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9558 $as_echo "$aros_kernel_cpp" >&6; }
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9561 $as_echo "no" >&6; }
9565 aros_kernel_cpp
="$aros_kernel_cpp $ac_tool_optarg"
9569 if test "$aros_kernel_cpp" = ""; then
9572 if test "$aros_kernel_cpp" = "no"; then
9575 if test "$req_avail" = "no"; then
9576 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
9579 if test "x$aros_kernel_cc" = "x"; then
9580 aros_kernel_cc
=${kernel_tool_prefix}${CC}
9582 if test "${kernel_tool_version}" != ""; then
9583 if test "$aros_kernel_cc" != ""; then
9584 ac_prog_args
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
9585 ac_prog_cmd
=`expr "X$aros_kernel_cc" : '^\S*'`
9586 aros_kernel_cc
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9590 if test "$aros_kernel_cc" = ""; then
9591 if test "$cross_compiling" = "yes" ; then
9592 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
9593 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9595 $as_echo_n "checking for $ac_word... " >&6; }
9596 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9597 $as_echo_n "(cached) " >&6
9599 case $aros_kernel_cc in
9601 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9608 test -z "$as_dir" && as_dir
=.
9609 for ac_exec_ext
in '' $ac_executable_extensions; do
9610 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9611 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9622 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9623 if test -n "$aros_kernel_cc"; then
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9625 $as_echo "$aros_kernel_cc" >&6; }
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9628 $as_echo "no" >&6; }
9633 if test "$GCC" = "yes"; then
9634 aros_gcc_cc
=`$CC -print-prog-name=cc`
9635 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
9636 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9638 $as_echo_n "checking for $ac_word... " >&6; }
9639 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9640 $as_echo_n "(cached) " >&6
9642 case $aros_kernel_cc in
9644 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9648 for as_dir
in `dirname $aros_gcc_cc`
9651 test -z "$as_dir" && as_dir
=.
9652 for ac_exec_ext
in '' $ac_executable_extensions; do
9653 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9654 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9665 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9666 if test -n "$aros_kernel_cc"; then
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9668 $as_echo "$aros_kernel_cc" >&6; }
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9671 $as_echo "no" >&6; }
9676 if test "$aros_kernel_cc" = ""; then
9677 # Extract the first word of "cc", so it can be a program name with args.
9678 set dummy cc
; ac_word
=$2
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9680 $as_echo_n "checking for $ac_word... " >&6; }
9681 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9682 $as_echo_n "(cached) " >&6
9684 case $aros_kernel_cc in
9686 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9693 test -z "$as_dir" && as_dir
=.
9694 for ac_exec_ext
in '' $ac_executable_extensions; do
9695 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9696 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9707 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9708 if test -n "$aros_kernel_cc"; then
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9710 $as_echo "$aros_kernel_cc" >&6; }
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9713 $as_echo "no" >&6; }
9720 ac_tool_optarg
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
9721 # Extract the first word of "$aros_kernel_cc", so it can be a program name with args.
9722 set dummy
$aros_kernel_cc; ac_word
=$2
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9724 $as_echo_n "checking for $ac_word... " >&6; }
9725 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9726 $as_echo_n "(cached) " >&6
9728 case $aros_kernel_cc in
9730 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9737 test -z "$as_dir" && as_dir
=.
9738 for ac_exec_ext
in '' $ac_executable_extensions; do
9739 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9740 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9751 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9752 if test -n "$aros_kernel_cc"; then
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9754 $as_echo "$aros_kernel_cc" >&6; }
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9757 $as_echo "no" >&6; }
9761 aros_kernel_cc
="$aros_kernel_cc $ac_tool_optarg"
9765 if test "$aros_kernel_cc" = ""; then
9768 if test "$aros_kernel_cc" = "no"; then
9771 if test "$req_avail" = "no"; then
9772 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9775 if test "x$aros_kernel_cxx" = "x"; then
9776 aros_kernel_cxx
=${kernel_tool_prefix}${CXX}
9778 if test "${kernel_tool_version}" != ""; then
9779 if test "$aros_kernel_cxx" != ""; then
9780 ac_prog_args
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
9781 ac_prog_cmd
=`expr "X$aros_kernel_cxx" : '^\S*'`
9782 aros_kernel_cxx
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9786 if test "$aros_kernel_cxx" = ""; then
9787 if test "$cross_compiling" = "yes" ; then
9788 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9789 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9791 $as_echo_n "checking for $ac_word... " >&6; }
9792 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9793 $as_echo_n "(cached) " >&6
9795 case $aros_kernel_cxx in
9797 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9804 test -z "$as_dir" && as_dir
=.
9805 for ac_exec_ext
in '' $ac_executable_extensions; do
9806 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9807 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9818 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9819 if test -n "$aros_kernel_cxx"; then
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9821 $as_echo "$aros_kernel_cxx" >&6; }
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9824 $as_echo "no" >&6; }
9829 if test "$GCC" = "yes"; then
9830 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9831 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9832 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9834 $as_echo_n "checking for $ac_word... " >&6; }
9835 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9836 $as_echo_n "(cached) " >&6
9838 case $aros_kernel_cxx in
9840 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9844 for as_dir
in `dirname $aros_gcc_cxx`
9847 test -z "$as_dir" && as_dir
=.
9848 for ac_exec_ext
in '' $ac_executable_extensions; do
9849 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9850 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9861 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9862 if test -n "$aros_kernel_cxx"; then
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9864 $as_echo "$aros_kernel_cxx" >&6; }
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9867 $as_echo "no" >&6; }
9872 if test "$aros_kernel_cxx" = ""; then
9873 # Extract the first word of "cxx", so it can be a program name with args.
9874 set dummy cxx
; ac_word
=$2
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9876 $as_echo_n "checking for $ac_word... " >&6; }
9877 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9878 $as_echo_n "(cached) " >&6
9880 case $aros_kernel_cxx in
9882 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9889 test -z "$as_dir" && as_dir
=.
9890 for ac_exec_ext
in '' $ac_executable_extensions; do
9891 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9892 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9903 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9904 if test -n "$aros_kernel_cxx"; then
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9906 $as_echo "$aros_kernel_cxx" >&6; }
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9909 $as_echo "no" >&6; }
9916 ac_tool_optarg
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
9917 # Extract the first word of "$aros_kernel_cxx", so it can be a program name with args.
9918 set dummy
$aros_kernel_cxx; ac_word
=$2
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9920 $as_echo_n "checking for $ac_word... " >&6; }
9921 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9922 $as_echo_n "(cached) " >&6
9924 case $aros_kernel_cxx in
9926 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9933 test -z "$as_dir" && as_dir
=.
9934 for ac_exec_ext
in '' $ac_executable_extensions; do
9935 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9936 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9947 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9948 if test -n "$aros_kernel_cxx"; then
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9950 $as_echo "$aros_kernel_cxx" >&6; }
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9953 $as_echo "no" >&6; }
9957 aros_kernel_cxx
="$aros_kernel_cxx $ac_tool_optarg"
9960 # If it's set, make sure it's really there
9961 if test "x$aros_kernel_cxx" != "x" ; then
9963 if test "$aros_kernel_cxx" = ""; then
9966 if test "$aros_kernel_cxx" = "no"; then
9969 if test "$req_avail" = "no"; then
9970 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9974 if test "$aros_kernel_ld" = ""; then
9975 if test "$cross_compiling" = "yes" ; then
9976 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9977 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9979 $as_echo_n "checking for $ac_word... " >&6; }
9980 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9981 $as_echo_n "(cached) " >&6
9983 case $aros_kernel_ld in
9985 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9992 test -z "$as_dir" && as_dir
=.
9993 for ac_exec_ext
in '' $ac_executable_extensions; do
9994 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9995 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10006 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10007 if test -n "$aros_kernel_ld"; then
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10009 $as_echo "$aros_kernel_ld" >&6; }
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10012 $as_echo "no" >&6; }
10017 if test "$GCC" = "yes"; then
10018 aros_gcc_ld
=`$CC -print-prog-name=ld`
10019 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
10020 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10022 $as_echo_n "checking for $ac_word... " >&6; }
10023 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10024 $as_echo_n "(cached) " >&6
10026 case $aros_kernel_ld in
10028 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10032 for as_dir
in `dirname $aros_gcc_ld`
10035 test -z "$as_dir" && as_dir
=.
10036 for ac_exec_ext
in '' $ac_executable_extensions; do
10037 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10038 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10049 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10050 if test -n "$aros_kernel_ld"; then
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10052 $as_echo "$aros_kernel_ld" >&6; }
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10055 $as_echo "no" >&6; }
10060 if test "$aros_kernel_ld" = ""; then
10061 # Extract the first word of "ld", so it can be a program name with args.
10062 set dummy ld
; ac_word
=$2
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10064 $as_echo_n "checking for $ac_word... " >&6; }
10065 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10066 $as_echo_n "(cached) " >&6
10068 case $aros_kernel_ld in
10070 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10074 for as_dir
in $PATH
10077 test -z "$as_dir" && as_dir
=.
10078 for ac_exec_ext
in '' $ac_executable_extensions; do
10079 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10080 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10091 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10092 if test -n "$aros_kernel_ld"; then
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10094 $as_echo "$aros_kernel_ld" >&6; }
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10097 $as_echo "no" >&6; }
10104 ac_tool_optarg
=`expr "X$aros_kernel_ld" : '[^ ]* \(.*\)'`
10105 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
10106 set dummy
$aros_kernel_ld; ac_word
=$2
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10108 $as_echo_n "checking for $ac_word... " >&6; }
10109 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10110 $as_echo_n "(cached) " >&6
10112 case $aros_kernel_ld in
10114 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10118 for as_dir
in $PATH
10121 test -z "$as_dir" && as_dir
=.
10122 for ac_exec_ext
in '' $ac_executable_extensions; do
10123 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10124 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10135 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10136 if test -n "$aros_kernel_ld"; then
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10138 $as_echo "$aros_kernel_ld" >&6; }
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10141 $as_echo "no" >&6; }
10145 aros_kernel_ld
="$aros_kernel_ld $ac_tool_optarg"
10149 if test "$aros_kernel_ld" = ""; then
10152 if test "$aros_kernel_ld" = "no"; then
10155 if test "$req_avail" = "no"; then
10156 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10159 if test "$aros_kernel_as" = ""; then
10160 if test "$cross_compiling" = "yes" ; then
10161 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
10162 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10164 $as_echo_n "checking for $ac_word... " >&6; }
10165 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10166 $as_echo_n "(cached) " >&6
10168 case $aros_kernel_as in
10170 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10174 for as_dir
in $PATH
10177 test -z "$as_dir" && as_dir
=.
10178 for ac_exec_ext
in '' $ac_executable_extensions; do
10179 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10180 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10191 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10192 if test -n "$aros_kernel_as"; then
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10194 $as_echo "$aros_kernel_as" >&6; }
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10197 $as_echo "no" >&6; }
10202 if test "$GCC" = "yes"; then
10203 aros_gcc_as
=`$CC -print-prog-name=as`
10204 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
10205 set dummy
`basename $aros_gcc_as`; ac_word
=$2
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10207 $as_echo_n "checking for $ac_word... " >&6; }
10208 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10209 $as_echo_n "(cached) " >&6
10211 case $aros_kernel_as in
10213 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10217 for as_dir
in `dirname $aros_gcc_as`
10220 test -z "$as_dir" && as_dir
=.
10221 for ac_exec_ext
in '' $ac_executable_extensions; do
10222 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10223 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10234 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10235 if test -n "$aros_kernel_as"; then
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10237 $as_echo "$aros_kernel_as" >&6; }
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10240 $as_echo "no" >&6; }
10245 if test "$aros_kernel_as" = ""; then
10246 # Extract the first word of "as", so it can be a program name with args.
10247 set dummy as
; ac_word
=$2
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10249 $as_echo_n "checking for $ac_word... " >&6; }
10250 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10251 $as_echo_n "(cached) " >&6
10253 case $aros_kernel_as in
10255 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10259 for as_dir
in $PATH
10262 test -z "$as_dir" && as_dir
=.
10263 for ac_exec_ext
in '' $ac_executable_extensions; do
10264 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10265 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10276 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10277 if test -n "$aros_kernel_as"; then
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10279 $as_echo "$aros_kernel_as" >&6; }
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10282 $as_echo "no" >&6; }
10289 ac_tool_optarg
=`expr "X$aros_kernel_as" : '[^ ]* \(.*\)'`
10290 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
10291 set dummy
$aros_kernel_as; ac_word
=$2
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10293 $as_echo_n "checking for $ac_word... " >&6; }
10294 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10295 $as_echo_n "(cached) " >&6
10297 case $aros_kernel_as in
10299 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10303 for as_dir
in $PATH
10306 test -z "$as_dir" && as_dir
=.
10307 for ac_exec_ext
in '' $ac_executable_extensions; do
10308 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10309 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10320 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10321 if test -n "$aros_kernel_as"; then
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10323 $as_echo "$aros_kernel_as" >&6; }
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10326 $as_echo "no" >&6; }
10330 aros_kernel_as
="$aros_kernel_as $ac_tool_optarg"
10334 if test "$aros_kernel_as" = ""; then
10337 if test "$aros_kernel_as" = "no"; then
10340 if test "$req_avail" = "no"; then
10341 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
10344 if test "$aros_kernel_ar" = ""; then
10345 if test "$cross_compiling" = "yes" ; then
10346 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
10347 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10349 $as_echo_n "checking for $ac_word... " >&6; }
10350 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10351 $as_echo_n "(cached) " >&6
10353 case $aros_kernel_ar in
10355 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10359 for as_dir
in $PATH
10362 test -z "$as_dir" && as_dir
=.
10363 for ac_exec_ext
in '' $ac_executable_extensions; do
10364 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10365 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10376 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10377 if test -n "$aros_kernel_ar"; then
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10379 $as_echo "$aros_kernel_ar" >&6; }
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10382 $as_echo "no" >&6; }
10387 if test "$GCC" = "yes"; then
10388 aros_gcc_ar
=`$CC -print-prog-name=ar`
10389 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
10390 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10392 $as_echo_n "checking for $ac_word... " >&6; }
10393 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10394 $as_echo_n "(cached) " >&6
10396 case $aros_kernel_ar in
10398 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10402 for as_dir
in `dirname $aros_gcc_ar`
10405 test -z "$as_dir" && as_dir
=.
10406 for ac_exec_ext
in '' $ac_executable_extensions; do
10407 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10408 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10419 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10420 if test -n "$aros_kernel_ar"; then
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10422 $as_echo "$aros_kernel_ar" >&6; }
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10425 $as_echo "no" >&6; }
10430 if test "$aros_kernel_ar" = ""; then
10431 # Extract the first word of "ar", so it can be a program name with args.
10432 set dummy
ar; ac_word
=$2
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10434 $as_echo_n "checking for $ac_word... " >&6; }
10435 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10436 $as_echo_n "(cached) " >&6
10438 case $aros_kernel_ar in
10440 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10444 for as_dir
in $PATH
10447 test -z "$as_dir" && as_dir
=.
10448 for ac_exec_ext
in '' $ac_executable_extensions; do
10449 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10450 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10461 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10462 if test -n "$aros_kernel_ar"; then
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10464 $as_echo "$aros_kernel_ar" >&6; }
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10467 $as_echo "no" >&6; }
10474 ac_tool_optarg
=`expr "X$aros_kernel_ar" : '[^ ]* \(.*\)'`
10475 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
10476 set dummy
$aros_kernel_ar; ac_word
=$2
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10478 $as_echo_n "checking for $ac_word... " >&6; }
10479 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10480 $as_echo_n "(cached) " >&6
10482 case $aros_kernel_ar in
10484 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10488 for as_dir
in $PATH
10491 test -z "$as_dir" && as_dir
=.
10492 for ac_exec_ext
in '' $ac_executable_extensions; do
10493 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10494 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10505 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10506 if test -n "$aros_kernel_ar"; then
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10508 $as_echo "$aros_kernel_ar" >&6; }
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10511 $as_echo "no" >&6; }
10515 aros_kernel_ar
="$aros_kernel_ar $ac_tool_optarg"
10519 if test "$aros_kernel_ar" = ""; then
10522 if test "$aros_kernel_ar" = "no"; then
10525 if test "$req_avail" = "no"; then
10526 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
10529 if test "$aros_kernel_ranlib" = ""; then
10530 if test "$cross_compiling" = "yes" ; then
10531 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
10532 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10534 $as_echo_n "checking for $ac_word... " >&6; }
10535 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10536 $as_echo_n "(cached) " >&6
10538 case $aros_kernel_ranlib in
10540 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10544 for as_dir
in $PATH
10547 test -z "$as_dir" && as_dir
=.
10548 for ac_exec_ext
in '' $ac_executable_extensions; do
10549 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10550 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10561 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10562 if test -n "$aros_kernel_ranlib"; then
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10564 $as_echo "$aros_kernel_ranlib" >&6; }
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10567 $as_echo "no" >&6; }
10572 if test "$GCC" = "yes"; then
10573 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10574 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10575 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10577 $as_echo_n "checking for $ac_word... " >&6; }
10578 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10579 $as_echo_n "(cached) " >&6
10581 case $aros_kernel_ranlib in
10583 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10587 for as_dir
in `dirname $aros_gcc_ranlib`
10590 test -z "$as_dir" && as_dir
=.
10591 for ac_exec_ext
in '' $ac_executable_extensions; do
10592 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10593 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10604 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10605 if test -n "$aros_kernel_ranlib"; then
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10607 $as_echo "$aros_kernel_ranlib" >&6; }
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10610 $as_echo "no" >&6; }
10615 if test "$aros_kernel_ranlib" = ""; then
10616 # Extract the first word of "ranlib", so it can be a program name with args.
10617 set dummy ranlib
; ac_word
=$2
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10619 $as_echo_n "checking for $ac_word... " >&6; }
10620 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10621 $as_echo_n "(cached) " >&6
10623 case $aros_kernel_ranlib in
10625 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10629 for as_dir
in $PATH
10632 test -z "$as_dir" && as_dir
=.
10633 for ac_exec_ext
in '' $ac_executable_extensions; do
10634 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10635 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10646 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10647 if test -n "$aros_kernel_ranlib"; then
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10649 $as_echo "$aros_kernel_ranlib" >&6; }
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10652 $as_echo "no" >&6; }
10659 ac_tool_optarg
=`expr "X$aros_kernel_ranlib" : '[^ ]* \(.*\)'`
10660 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
10661 set dummy
$aros_kernel_ranlib; ac_word
=$2
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10663 $as_echo_n "checking for $ac_word... " >&6; }
10664 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10665 $as_echo_n "(cached) " >&6
10667 case $aros_kernel_ranlib in
10669 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10673 for as_dir
in $PATH
10676 test -z "$as_dir" && as_dir
=.
10677 for ac_exec_ext
in '' $ac_executable_extensions; do
10678 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10679 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10690 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10691 if test -n "$aros_kernel_ranlib"; then
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10693 $as_echo "$aros_kernel_ranlib" >&6; }
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10696 $as_echo "no" >&6; }
10700 aros_kernel_ranlib
="$aros_kernel_ranlib $ac_tool_optarg"
10704 if test "$aros_kernel_ranlib" = ""; then
10707 if test "$aros_kernel_ranlib" = "no"; then
10710 if test "$req_avail" = "no"; then
10711 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
10714 if test "$aros_kernel_nm" = ""; then
10715 if test "$cross_compiling" = "yes" ; then
10716 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
10717 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10719 $as_echo_n "checking for $ac_word... " >&6; }
10720 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10721 $as_echo_n "(cached) " >&6
10723 case $aros_kernel_nm in
10725 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10729 for as_dir
in $PATH
10732 test -z "$as_dir" && as_dir
=.
10733 for ac_exec_ext
in '' $ac_executable_extensions; do
10734 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10735 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10746 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10747 if test -n "$aros_kernel_nm"; then
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10749 $as_echo "$aros_kernel_nm" >&6; }
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10752 $as_echo "no" >&6; }
10757 if test "$GCC" = "yes"; then
10758 aros_gcc_nm
=`$CC -print-prog-name=nm`
10759 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10760 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10762 $as_echo_n "checking for $ac_word... " >&6; }
10763 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10764 $as_echo_n "(cached) " >&6
10766 case $aros_kernel_nm in
10768 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10772 for as_dir
in `dirname $aros_gcc_nm`
10775 test -z "$as_dir" && as_dir
=.
10776 for ac_exec_ext
in '' $ac_executable_extensions; do
10777 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10778 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10789 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10790 if test -n "$aros_kernel_nm"; then
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10792 $as_echo "$aros_kernel_nm" >&6; }
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10795 $as_echo "no" >&6; }
10800 if test "$aros_kernel_nm" = ""; then
10801 # Extract the first word of "nm", so it can be a program name with args.
10802 set dummy nm
; ac_word
=$2
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10804 $as_echo_n "checking for $ac_word... " >&6; }
10805 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10806 $as_echo_n "(cached) " >&6
10808 case $aros_kernel_nm in
10810 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10814 for as_dir
in $PATH
10817 test -z "$as_dir" && as_dir
=.
10818 for ac_exec_ext
in '' $ac_executable_extensions; do
10819 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10820 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10831 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10832 if test -n "$aros_kernel_nm"; then
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10834 $as_echo "$aros_kernel_nm" >&6; }
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10837 $as_echo "no" >&6; }
10844 ac_tool_optarg
=`expr "X$aros_kernel_nm" : '[^ ]* \(.*\)'`
10845 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10846 set dummy
$aros_kernel_nm; ac_word
=$2
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10848 $as_echo_n "checking for $ac_word... " >&6; }
10849 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10850 $as_echo_n "(cached) " >&6
10852 case $aros_kernel_nm in
10854 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10858 for as_dir
in $PATH
10861 test -z "$as_dir" && as_dir
=.
10862 for ac_exec_ext
in '' $ac_executable_extensions; do
10863 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10864 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10875 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10876 if test -n "$aros_kernel_nm"; then
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10878 $as_echo "$aros_kernel_nm" >&6; }
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10881 $as_echo "no" >&6; }
10885 aros_kernel_nm
="$aros_kernel_nm $ac_tool_optarg"
10889 if test "$aros_kernel_nm" = ""; then
10892 if test "$aros_kernel_nm" = "no"; then
10895 if test "$req_avail" = "no"; then
10896 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10899 if test "$aros_kernel_strip" = ""; then
10900 if test "$cross_compiling" = "yes" ; then
10901 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10902 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10904 $as_echo_n "checking for $ac_word... " >&6; }
10905 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10906 $as_echo_n "(cached) " >&6
10908 case $aros_kernel_strip in
10910 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10914 for as_dir
in $PATH
10917 test -z "$as_dir" && as_dir
=.
10918 for ac_exec_ext
in '' $ac_executable_extensions; do
10919 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10920 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10931 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10932 if test -n "$aros_kernel_strip"; then
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10934 $as_echo "$aros_kernel_strip" >&6; }
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10937 $as_echo "no" >&6; }
10942 if test "$GCC" = "yes"; then
10943 aros_gcc_strip
=`$CC -print-prog-name=strip`
10944 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10945 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10947 $as_echo_n "checking for $ac_word... " >&6; }
10948 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10949 $as_echo_n "(cached) " >&6
10951 case $aros_kernel_strip in
10953 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10957 for as_dir
in `dirname $aros_gcc_strip`
10960 test -z "$as_dir" && as_dir
=.
10961 for ac_exec_ext
in '' $ac_executable_extensions; do
10962 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10963 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10974 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10975 if test -n "$aros_kernel_strip"; then
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10977 $as_echo "$aros_kernel_strip" >&6; }
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10980 $as_echo "no" >&6; }
10985 if test "$aros_kernel_strip" = ""; then
10986 # Extract the first word of "strip", so it can be a program name with args.
10987 set dummy strip
; ac_word
=$2
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10989 $as_echo_n "checking for $ac_word... " >&6; }
10990 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10991 $as_echo_n "(cached) " >&6
10993 case $aros_kernel_strip in
10995 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10999 for as_dir
in $PATH
11002 test -z "$as_dir" && as_dir
=.
11003 for ac_exec_ext
in '' $ac_executable_extensions; do
11004 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11005 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11016 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11017 if test -n "$aros_kernel_strip"; then
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11019 $as_echo "$aros_kernel_strip" >&6; }
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11022 $as_echo "no" >&6; }
11029 ac_tool_optarg
=`expr "X$aros_kernel_strip" : '[^ ]* \(.*\)'`
11030 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
11031 set dummy
$aros_kernel_strip; ac_word
=$2
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11033 $as_echo_n "checking for $ac_word... " >&6; }
11034 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11035 $as_echo_n "(cached) " >&6
11037 case $aros_kernel_strip in
11039 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11043 for as_dir
in $PATH
11046 test -z "$as_dir" && as_dir
=.
11047 for ac_exec_ext
in '' $ac_executable_extensions; do
11048 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11049 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11060 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11061 if test -n "$aros_kernel_strip"; then
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11063 $as_echo "$aros_kernel_strip" >&6; }
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11066 $as_echo "no" >&6; }
11070 aros_kernel_strip
="$aros_kernel_strip $ac_tool_optarg"
11074 if test "$aros_kernel_strip" = ""; then
11077 if test "$aros_kernel_strip" = "no"; then
11080 if test "$req_avail" = "no"; then
11081 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
11084 # Objcopy and objdump are not required for the kernel
11085 # toolchain on many architectures.
11086 # So we'll look for them, but not make them strictly required.
11088 if test "$aros_kernel_objcopy" = ""; then
11089 if test "$cross_compiling" = "yes" ; then
11090 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
11091 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11093 $as_echo_n "checking for $ac_word... " >&6; }
11094 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11095 $as_echo_n "(cached) " >&6
11097 case $aros_kernel_objcopy in
11099 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11103 for as_dir
in $PATH
11106 test -z "$as_dir" && as_dir
=.
11107 for ac_exec_ext
in '' $ac_executable_extensions; do
11108 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11109 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11120 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11121 if test -n "$aros_kernel_objcopy"; then
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11123 $as_echo "$aros_kernel_objcopy" >&6; }
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11126 $as_echo "no" >&6; }
11131 if test "$GCC" = "yes"; then
11132 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
11133 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
11134 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11136 $as_echo_n "checking for $ac_word... " >&6; }
11137 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11138 $as_echo_n "(cached) " >&6
11140 case $aros_kernel_objcopy in
11142 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11146 for as_dir
in `dirname $aros_gcc_objcopy`
11149 test -z "$as_dir" && as_dir
=.
11150 for ac_exec_ext
in '' $ac_executable_extensions; do
11151 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11152 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11163 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11164 if test -n "$aros_kernel_objcopy"; then
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11166 $as_echo "$aros_kernel_objcopy" >&6; }
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11169 $as_echo "no" >&6; }
11174 if test "$aros_kernel_objcopy" = ""; then
11175 # Extract the first word of "objcopy", so it can be a program name with args.
11176 set dummy objcopy
; ac_word
=$2
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11178 $as_echo_n "checking for $ac_word... " >&6; }
11179 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11180 $as_echo_n "(cached) " >&6
11182 case $aros_kernel_objcopy in
11184 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11188 for as_dir
in $PATH
11191 test -z "$as_dir" && as_dir
=.
11192 for ac_exec_ext
in '' $ac_executable_extensions; do
11193 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11194 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11205 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11206 if test -n "$aros_kernel_objcopy"; then
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11208 $as_echo "$aros_kernel_objcopy" >&6; }
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11211 $as_echo "no" >&6; }
11218 ac_tool_optarg
=`expr "X$aros_kernel_objcopy" : '[^ ]* \(.*\)'`
11219 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
11220 set dummy
$aros_kernel_objcopy; ac_word
=$2
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11222 $as_echo_n "checking for $ac_word... " >&6; }
11223 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11224 $as_echo_n "(cached) " >&6
11226 case $aros_kernel_objcopy in
11228 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11232 for as_dir
in $PATH
11235 test -z "$as_dir" && as_dir
=.
11236 for ac_exec_ext
in '' $ac_executable_extensions; do
11237 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11238 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11249 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11250 if test -n "$aros_kernel_objcopy"; then
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11252 $as_echo "$aros_kernel_objcopy" >&6; }
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11255 $as_echo "no" >&6; }
11259 aros_kernel_objcopy
="$aros_kernel_objcopy $ac_tool_optarg"
11263 if test "$aros_kernel_objdump" = ""; then
11264 if test "$cross_compiling" = "yes" ; then
11265 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
11266 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11268 $as_echo_n "checking for $ac_word... " >&6; }
11269 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11270 $as_echo_n "(cached) " >&6
11272 case $aros_kernel_objdump in
11274 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11278 for as_dir
in $PATH
11281 test -z "$as_dir" && as_dir
=.
11282 for ac_exec_ext
in '' $ac_executable_extensions; do
11283 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11284 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11295 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11296 if test -n "$aros_kernel_objdump"; then
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11298 $as_echo "$aros_kernel_objdump" >&6; }
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11301 $as_echo "no" >&6; }
11306 if test "$GCC" = "yes"; then
11307 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
11308 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
11309 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11311 $as_echo_n "checking for $ac_word... " >&6; }
11312 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11313 $as_echo_n "(cached) " >&6
11315 case $aros_kernel_objdump in
11317 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11321 for as_dir
in `dirname $aros_gcc_objdump`
11324 test -z "$as_dir" && as_dir
=.
11325 for ac_exec_ext
in '' $ac_executable_extensions; do
11326 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11327 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11338 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11339 if test -n "$aros_kernel_objdump"; then
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11341 $as_echo "$aros_kernel_objdump" >&6; }
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11344 $as_echo "no" >&6; }
11349 if test "$aros_kernel_objdump" = ""; then
11350 # Extract the first word of "objdump", so it can be a program name with args.
11351 set dummy objdump
; ac_word
=$2
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11353 $as_echo_n "checking for $ac_word... " >&6; }
11354 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11355 $as_echo_n "(cached) " >&6
11357 case $aros_kernel_objdump in
11359 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11363 for as_dir
in $PATH
11366 test -z "$as_dir" && as_dir
=.
11367 for ac_exec_ext
in '' $ac_executable_extensions; do
11368 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11369 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11380 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11381 if test -n "$aros_kernel_objdump"; then
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11383 $as_echo "$aros_kernel_objdump" >&6; }
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11386 $as_echo "no" >&6; }
11393 ac_tool_optarg
=`expr "X$aros_kernel_objdump" : '[^ ]* \(.*\)'`
11394 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
11395 set dummy
$aros_kernel_objdump; ac_word
=$2
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11397 $as_echo_n "checking for $ac_word... " >&6; }
11398 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11399 $as_echo_n "(cached) " >&6
11401 case $aros_kernel_objdump in
11403 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11407 for as_dir
in $PATH
11410 test -z "$as_dir" && as_dir
=.
11411 for ac_exec_ext
in '' $ac_executable_extensions; do
11412 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11413 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11424 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11425 if test -n "$aros_kernel_objdump"; then
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11427 $as_echo "$aros_kernel_objdump" >&6; }
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11430 $as_echo "no" >&6; }
11434 aros_kernel_objdump
="$aros_kernel_objdump $ac_tool_optarg"
11437 if test "x${crosstools}" != "xyes" ; then
11439 if test "$aros_kernel_objcopy" = ""; then
11442 if test "$aros_kernel_objcopy" = "no"; then
11445 if test "$req_avail" = "no"; then
11446 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
11449 if test "$aros_kernel_objdump" = ""; then
11452 if test "$aros_kernel_objdump" = "no"; then
11455 if test "$req_avail" = "no"; then
11456 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
11462 $as_echo_n "checking which target tools to use... " >&6; }
11463 if test "$aros_target_toolchain" = "yes"; then
11464 if test "$aros_toolchain" = "llvm" ; then
11467 msg_result
=$target_tool_prefix
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
11470 $as_echo "$msg_result" >&6; }
11471 # We are building AROS crosstools
11472 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
11473 orig_target_cc
="${tmp_tool_prefix}${toolchain_c_compiler}${target_tool_version}"
11474 orig_target_cxx
="${tmp_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}"
11475 orig_target_cpp
="${tmp_tool_prefix}${toolchain_cpp_preprocessor}"
11476 orig_target_ld
="${tmp_tool_prefix}${toolchain_ld}"
11477 orig_target_as
="${tmp_tool_prefix}${toolchain_as}"
11478 orig_target_ar
="${tmp_tool_prefix}${toolchain_ar}"
11479 orig_target_ranlib
="${tmp_tool_prefix}${toolchain_ranlib}"
11480 orig_target_nm
="${tmp_tool_prefix}${toolchain_nm}"
11481 orig_target_strip
="${tmp_tool_prefix}${toolchain_strip}"
11482 orig_target_objcopy
="${tmp_tool_prefix}${toolchain_objcopy}"
11483 orig_target_objdump
="${tmp_tool_prefix}${toolchain_objdump}"
11485 # Determine whether AROS or ELF tools should be used
11486 if test "$aros_tool_prefix" = "none"; then
11487 aros_tool_prefix
="${elf_tool_prefix}"
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
11491 $as_echo "$aros_tool_prefix" >&6; }
11492 # We are *not* building AROS crosstools - use the AROS or ELF tools
11494 if test "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" = ""; then
11495 if test "$cross_compiling" = "yes" ; then
11496 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
11497 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11499 $as_echo_n "checking for $ac_word... " >&6; }
11500 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11501 $as_echo_n "(cached) " >&6
11503 case $orig_target_cpp in
11505 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11509 for as_dir
in $PATH
11512 test -z "$as_dir" && as_dir
=.
11513 for ac_exec_ext
in '' $ac_executable_extensions; do
11514 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11515 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11526 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11527 if test -n "$orig_target_cpp"; then
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11529 $as_echo "$orig_target_cpp" >&6; }
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11532 $as_echo "no" >&6; }
11537 if test "$GCC" = "yes"; then
11538 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
11539 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
11540 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11542 $as_echo_n "checking for $ac_word... " >&6; }
11543 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11544 $as_echo_n "(cached) " >&6
11546 case $orig_target_cpp in
11548 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11552 for as_dir
in `dirname $aros_gcc_cpp`
11555 test -z "$as_dir" && as_dir
=.
11556 for ac_exec_ext
in '' $ac_executable_extensions; do
11557 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11558 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11569 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11570 if test -n "$orig_target_cpp"; then
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11572 $as_echo "$orig_target_cpp" >&6; }
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11575 $as_echo "no" >&6; }
11580 if test "$orig_target_cpp" = ""; then
11581 # Extract the first word of "cpp", so it can be a program name with args.
11582 set dummy cpp
; ac_word
=$2
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11584 $as_echo_n "checking for $ac_word... " >&6; }
11585 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11586 $as_echo_n "(cached) " >&6
11588 case $orig_target_cpp in
11590 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11594 for as_dir
in $PATH
11597 test -z "$as_dir" && as_dir
=.
11598 for ac_exec_ext
in '' $ac_executable_extensions; do
11599 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11600 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11611 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11612 if test -n "$orig_target_cpp"; then
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11614 $as_echo "$orig_target_cpp" >&6; }
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11617 $as_echo "no" >&6; }
11624 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" : '[^ ]* \(.*\)'`
11625 # Extract the first word of "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}", so it can be a program name with args.
11626 set dummy
${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}; ac_word
=$2
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11628 $as_echo_n "checking for $ac_word... " >&6; }
11629 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11630 $as_echo_n "(cached) " >&6
11632 case $orig_target_cpp in
11634 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11638 for as_dir
in $PATH
11641 test -z "$as_dir" && as_dir
=.
11642 for ac_exec_ext
in '' $ac_executable_extensions; do
11643 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11644 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11655 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11656 if test -n "$orig_target_cpp"; then
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11658 $as_echo "$orig_target_cpp" >&6; }
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11661 $as_echo "no" >&6; }
11665 orig_target_cpp
="$orig_target_cpp $ac_tool_optarg"
11669 if test "$orig_target_cpp" = ""; then
11672 if test "$orig_target_cpp" = "no"; then
11675 if test "$req_avail" = "no"; then
11676 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
11679 if test "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" = ""; then
11680 if test "$cross_compiling" = "yes" ; then
11681 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11682 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11684 $as_echo_n "checking for $ac_word... " >&6; }
11685 if ${ac_cv_path_orig_target_cc+:} false
; then :
11686 $as_echo_n "(cached) " >&6
11688 case $orig_target_cc in
11690 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11694 for as_dir
in $PATH
11697 test -z "$as_dir" && as_dir
=.
11698 for ac_exec_ext
in '' $ac_executable_extensions; do
11699 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11700 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11711 orig_target_cc
=$ac_cv_path_orig_target_cc
11712 if test -n "$orig_target_cc"; then
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11714 $as_echo "$orig_target_cc" >&6; }
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11717 $as_echo "no" >&6; }
11722 if test "$GCC" = "yes"; then
11723 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11724 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11725 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11727 $as_echo_n "checking for $ac_word... " >&6; }
11728 if ${ac_cv_path_orig_target_cc+:} false
; then :
11729 $as_echo_n "(cached) " >&6
11731 case $orig_target_cc in
11733 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11737 for as_dir
in `dirname $aros_gcc_gcc`
11740 test -z "$as_dir" && as_dir
=.
11741 for ac_exec_ext
in '' $ac_executable_extensions; do
11742 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11743 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11754 orig_target_cc
=$ac_cv_path_orig_target_cc
11755 if test -n "$orig_target_cc"; then
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11757 $as_echo "$orig_target_cc" >&6; }
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11760 $as_echo "no" >&6; }
11765 if test "$orig_target_cc" = ""; then
11766 # Extract the first word of "gcc", so it can be a program name with args.
11767 set dummy gcc
; ac_word
=$2
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11769 $as_echo_n "checking for $ac_word... " >&6; }
11770 if ${ac_cv_path_orig_target_cc+:} false
; then :
11771 $as_echo_n "(cached) " >&6
11773 case $orig_target_cc in
11775 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11779 for as_dir
in $PATH
11782 test -z "$as_dir" && as_dir
=.
11783 for ac_exec_ext
in '' $ac_executable_extensions; do
11784 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11785 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11796 orig_target_cc
=$ac_cv_path_orig_target_cc
11797 if test -n "$orig_target_cc"; then
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11799 $as_echo "$orig_target_cc" >&6; }
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11802 $as_echo "no" >&6; }
11809 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
11810 # Extract the first word of "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}", so it can be a program name with args.
11811 set dummy
${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}; ac_word
=$2
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11813 $as_echo_n "checking for $ac_word... " >&6; }
11814 if ${ac_cv_path_orig_target_cc+:} false
; then :
11815 $as_echo_n "(cached) " >&6
11817 case $orig_target_cc in
11819 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11823 for as_dir
in $PATH
11826 test -z "$as_dir" && as_dir
=.
11827 for ac_exec_ext
in '' $ac_executable_extensions; do
11828 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11829 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11840 orig_target_cc
=$ac_cv_path_orig_target_cc
11841 if test -n "$orig_target_cc"; then
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11843 $as_echo "$orig_target_cc" >&6; }
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11846 $as_echo "no" >&6; }
11850 orig_target_cc
="$orig_target_cc $ac_tool_optarg"
11854 if test "$orig_target_cc" = ""; then
11857 if test "$orig_target_cc" = "no"; then
11860 if test "$req_avail" = "no"; then
11861 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11864 if test "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" = ""; then
11865 if test "$cross_compiling" = "yes" ; then
11866 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11867 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11869 $as_echo_n "checking for $ac_word... " >&6; }
11870 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11871 $as_echo_n "(cached) " >&6
11873 case $orig_target_cxx in
11875 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11879 for as_dir
in $PATH
11882 test -z "$as_dir" && as_dir
=.
11883 for ac_exec_ext
in '' $ac_executable_extensions; do
11884 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11885 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11896 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11897 if test -n "$orig_target_cxx"; then
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11899 $as_echo "$orig_target_cxx" >&6; }
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11902 $as_echo "no" >&6; }
11907 if test "$GCC" = "yes"; then
11908 aros_gcc_g
++=`$CC -print-prog-name=g++`
11909 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11910 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11912 $as_echo_n "checking for $ac_word... " >&6; }
11913 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11914 $as_echo_n "(cached) " >&6
11916 case $orig_target_cxx in
11918 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11922 for as_dir
in `dirname $aros_gcc_g++`
11925 test -z "$as_dir" && as_dir
=.
11926 for ac_exec_ext
in '' $ac_executable_extensions; do
11927 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11928 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11939 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11940 if test -n "$orig_target_cxx"; then
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11942 $as_echo "$orig_target_cxx" >&6; }
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11945 $as_echo "no" >&6; }
11950 if test "$orig_target_cxx" = ""; then
11951 # Extract the first word of "g++", so it can be a program name with args.
11952 set dummy g
++; ac_word
=$2
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11954 $as_echo_n "checking for $ac_word... " >&6; }
11955 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11956 $as_echo_n "(cached) " >&6
11958 case $orig_target_cxx in
11960 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11964 for as_dir
in $PATH
11967 test -z "$as_dir" && as_dir
=.
11968 for ac_exec_ext
in '' $ac_executable_extensions; do
11969 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11970 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11981 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11982 if test -n "$orig_target_cxx"; then
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11984 $as_echo "$orig_target_cxx" >&6; }
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11987 $as_echo "no" >&6; }
11994 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
11995 # Extract the first word of "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}", so it can be a program name with args.
11996 set dummy
${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}; ac_word
=$2
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11998 $as_echo_n "checking for $ac_word... " >&6; }
11999 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12000 $as_echo_n "(cached) " >&6
12002 case $orig_target_cxx in
12004 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12008 for as_dir
in $PATH
12011 test -z "$as_dir" && as_dir
=.
12012 for ac_exec_ext
in '' $ac_executable_extensions; do
12013 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12014 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12025 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12026 if test -n "$orig_target_cxx"; then
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12028 $as_echo "$orig_target_cxx" >&6; }
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12031 $as_echo "no" >&6; }
12035 orig_target_cxx
="$orig_target_cxx $ac_tool_optarg"
12039 if test "$orig_target_cxx" = ""; then
12042 if test "$orig_target_cxx" = "no"; then
12045 if test "$req_avail" = "no"; then
12046 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
12049 if test "${aros_tool_prefix}${toolchain_ld}" = ""; then
12050 if test "$cross_compiling" = "yes" ; then
12051 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
12052 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12054 $as_echo_n "checking for $ac_word... " >&6; }
12055 if ${ac_cv_path_orig_target_ld+:} false
; then :
12056 $as_echo_n "(cached) " >&6
12058 case $orig_target_ld in
12060 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12064 for as_dir
in $PATH
12067 test -z "$as_dir" && as_dir
=.
12068 for ac_exec_ext
in '' $ac_executable_extensions; do
12069 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12070 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12081 orig_target_ld
=$ac_cv_path_orig_target_ld
12082 if test -n "$orig_target_ld"; then
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12084 $as_echo "$orig_target_ld" >&6; }
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12087 $as_echo "no" >&6; }
12092 if test "$GCC" = "yes"; then
12093 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
12094 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
12095 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12097 $as_echo_n "checking for $ac_word... " >&6; }
12098 if ${ac_cv_path_orig_target_ld+:} false
; then :
12099 $as_echo_n "(cached) " >&6
12101 case $orig_target_ld in
12103 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12107 for as_dir
in `dirname $aros_gcc_gcc`
12110 test -z "$as_dir" && as_dir
=.
12111 for ac_exec_ext
in '' $ac_executable_extensions; do
12112 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12113 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12124 orig_target_ld
=$ac_cv_path_orig_target_ld
12125 if test -n "$orig_target_ld"; then
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12127 $as_echo "$orig_target_ld" >&6; }
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12130 $as_echo "no" >&6; }
12135 if test "$orig_target_ld" = ""; then
12136 # Extract the first word of "gcc", so it can be a program name with args.
12137 set dummy gcc
; ac_word
=$2
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12139 $as_echo_n "checking for $ac_word... " >&6; }
12140 if ${ac_cv_path_orig_target_ld+:} false
; then :
12141 $as_echo_n "(cached) " >&6
12143 case $orig_target_ld in
12145 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12149 for as_dir
in $PATH
12152 test -z "$as_dir" && as_dir
=.
12153 for ac_exec_ext
in '' $ac_executable_extensions; do
12154 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12155 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12166 orig_target_ld
=$ac_cv_path_orig_target_ld
12167 if test -n "$orig_target_ld"; then
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12169 $as_echo "$orig_target_ld" >&6; }
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12172 $as_echo "no" >&6; }
12179 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ld}" : '[^ ]* \(.*\)'`
12180 # Extract the first word of "${aros_tool_prefix}${toolchain_ld}", so it can be a program name with args.
12181 set dummy
${aros_tool_prefix}${toolchain_ld}; ac_word
=$2
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12183 $as_echo_n "checking for $ac_word... " >&6; }
12184 if ${ac_cv_path_orig_target_ld+:} false
; then :
12185 $as_echo_n "(cached) " >&6
12187 case $orig_target_ld in
12189 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12193 for as_dir
in $PATH
12196 test -z "$as_dir" && as_dir
=.
12197 for ac_exec_ext
in '' $ac_executable_extensions; do
12198 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12199 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12210 orig_target_ld
=$ac_cv_path_orig_target_ld
12211 if test -n "$orig_target_ld"; then
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12213 $as_echo "$orig_target_ld" >&6; }
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12216 $as_echo "no" >&6; }
12220 orig_target_ld
="$orig_target_ld $ac_tool_optarg"
12224 if test "$orig_target_ld" = ""; then
12227 if test "$orig_target_ld" = "no"; then
12230 if test "$req_avail" = "no"; then
12231 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
12234 if test "aros_tool_prefix}${toolchain_as}" = ""; then
12235 if test "$cross_compiling" = "yes" ; then
12236 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
12237 set dummy
${target_tool_prefix}as
; ac_word
=$2
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12239 $as_echo_n "checking for $ac_word... " >&6; }
12240 if ${ac_cv_path_orig_target_as+:} false
; then :
12241 $as_echo_n "(cached) " >&6
12243 case $orig_target_as in
12245 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12249 for as_dir
in $PATH
12252 test -z "$as_dir" && as_dir
=.
12253 for ac_exec_ext
in '' $ac_executable_extensions; do
12254 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12255 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12266 orig_target_as
=$ac_cv_path_orig_target_as
12267 if test -n "$orig_target_as"; then
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12269 $as_echo "$orig_target_as" >&6; }
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12272 $as_echo "no" >&6; }
12277 if test "$GCC" = "yes"; then
12278 aros_gcc_as
=`$CC -print-prog-name=as`
12279 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
12280 set dummy
`basename $aros_gcc_as`; ac_word
=$2
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12282 $as_echo_n "checking for $ac_word... " >&6; }
12283 if ${ac_cv_path_orig_target_as+:} false
; then :
12284 $as_echo_n "(cached) " >&6
12286 case $orig_target_as in
12288 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12292 for as_dir
in `dirname $aros_gcc_as`
12295 test -z "$as_dir" && as_dir
=.
12296 for ac_exec_ext
in '' $ac_executable_extensions; do
12297 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12298 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12309 orig_target_as
=$ac_cv_path_orig_target_as
12310 if test -n "$orig_target_as"; then
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12312 $as_echo "$orig_target_as" >&6; }
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12315 $as_echo "no" >&6; }
12320 if test "$orig_target_as" = ""; then
12321 # Extract the first word of "as", so it can be a program name with args.
12322 set dummy as
; ac_word
=$2
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12324 $as_echo_n "checking for $ac_word... " >&6; }
12325 if ${ac_cv_path_orig_target_as+:} false
; then :
12326 $as_echo_n "(cached) " >&6
12328 case $orig_target_as in
12330 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12334 for as_dir
in $PATH
12337 test -z "$as_dir" && as_dir
=.
12338 for ac_exec_ext
in '' $ac_executable_extensions; do
12339 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12340 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12351 orig_target_as
=$ac_cv_path_orig_target_as
12352 if test -n "$orig_target_as"; then
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12354 $as_echo "$orig_target_as" >&6; }
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12357 $as_echo "no" >&6; }
12364 ac_tool_optarg
=`expr "Xaros_tool_prefix}${toolchain_as}" : '[^ ]* \(.*\)'`
12365 # Extract the first word of "aros_tool_prefix}${toolchain_as}", so it can be a program name with args.
12366 set dummy aros_tool_prefix
}${toolchain_as}; ac_word
=$2
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12368 $as_echo_n "checking for $ac_word... " >&6; }
12369 if ${ac_cv_path_orig_target_as+:} false
; then :
12370 $as_echo_n "(cached) " >&6
12372 case $orig_target_as in
12374 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12378 for as_dir
in $PATH
12381 test -z "$as_dir" && as_dir
=.
12382 for ac_exec_ext
in '' $ac_executable_extensions; do
12383 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12384 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12395 orig_target_as
=$ac_cv_path_orig_target_as
12396 if test -n "$orig_target_as"; then
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12398 $as_echo "$orig_target_as" >&6; }
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12401 $as_echo "no" >&6; }
12405 orig_target_as
="$orig_target_as $ac_tool_optarg"
12409 if test "$orig_target_as" = ""; then
12412 if test "$orig_target_as" = "no"; then
12415 if test "$req_avail" = "no"; then
12416 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
12419 if test "${aros_tool_prefix}${toolchain_ar}" = ""; then
12420 if test "$cross_compiling" = "yes" ; then
12421 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
12422 set dummy
${target_tool_prefix}ar; ac_word
=$2
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12424 $as_echo_n "checking for $ac_word... " >&6; }
12425 if ${ac_cv_path_orig_target_ar+:} false
; then :
12426 $as_echo_n "(cached) " >&6
12428 case $orig_target_ar in
12430 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12434 for as_dir
in $PATH
12437 test -z "$as_dir" && as_dir
=.
12438 for ac_exec_ext
in '' $ac_executable_extensions; do
12439 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12440 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12451 orig_target_ar
=$ac_cv_path_orig_target_ar
12452 if test -n "$orig_target_ar"; then
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12454 $as_echo "$orig_target_ar" >&6; }
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12457 $as_echo "no" >&6; }
12462 if test "$GCC" = "yes"; then
12463 aros_gcc_ar
=`$CC -print-prog-name=ar`
12464 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
12465 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12467 $as_echo_n "checking for $ac_word... " >&6; }
12468 if ${ac_cv_path_orig_target_ar+:} false
; then :
12469 $as_echo_n "(cached) " >&6
12471 case $orig_target_ar in
12473 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12477 for as_dir
in `dirname $aros_gcc_ar`
12480 test -z "$as_dir" && as_dir
=.
12481 for ac_exec_ext
in '' $ac_executable_extensions; do
12482 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12483 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12494 orig_target_ar
=$ac_cv_path_orig_target_ar
12495 if test -n "$orig_target_ar"; then
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12497 $as_echo "$orig_target_ar" >&6; }
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12500 $as_echo "no" >&6; }
12505 if test "$orig_target_ar" = ""; then
12506 # Extract the first word of "ar", so it can be a program name with args.
12507 set dummy
ar; ac_word
=$2
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12509 $as_echo_n "checking for $ac_word... " >&6; }
12510 if ${ac_cv_path_orig_target_ar+:} false
; then :
12511 $as_echo_n "(cached) " >&6
12513 case $orig_target_ar in
12515 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12519 for as_dir
in $PATH
12522 test -z "$as_dir" && as_dir
=.
12523 for ac_exec_ext
in '' $ac_executable_extensions; do
12524 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12525 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12536 orig_target_ar
=$ac_cv_path_orig_target_ar
12537 if test -n "$orig_target_ar"; then
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12539 $as_echo "$orig_target_ar" >&6; }
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12542 $as_echo "no" >&6; }
12549 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ar}" : '[^ ]* \(.*\)'`
12550 # Extract the first word of "${aros_tool_prefix}${toolchain_ar}", so it can be a program name with args.
12551 set dummy
${aros_tool_prefix}${toolchain_ar}; ac_word
=$2
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12553 $as_echo_n "checking for $ac_word... " >&6; }
12554 if ${ac_cv_path_orig_target_ar+:} false
; then :
12555 $as_echo_n "(cached) " >&6
12557 case $orig_target_ar in
12559 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12563 for as_dir
in $PATH
12566 test -z "$as_dir" && as_dir
=.
12567 for ac_exec_ext
in '' $ac_executable_extensions; do
12568 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12569 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12580 orig_target_ar
=$ac_cv_path_orig_target_ar
12581 if test -n "$orig_target_ar"; then
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12583 $as_echo "$orig_target_ar" >&6; }
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12586 $as_echo "no" >&6; }
12590 orig_target_ar
="$orig_target_ar $ac_tool_optarg"
12594 if test "$orig_target_ar" = ""; then
12597 if test "$orig_target_ar" = "no"; then
12600 if test "$req_avail" = "no"; then
12601 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
12604 if test "${aros_tool_prefix}${toolchain_ranlib}" = ""; then
12605 if test "$cross_compiling" = "yes" ; then
12606 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
12607 set dummy
${target_tool_prefix}ar; ac_word
=$2
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12609 $as_echo_n "checking for $ac_word... " >&6; }
12610 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12611 $as_echo_n "(cached) " >&6
12613 case $orig_target_ranlib in
12615 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12619 for as_dir
in $PATH
12622 test -z "$as_dir" && as_dir
=.
12623 for ac_exec_ext
in '' $ac_executable_extensions; do
12624 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12625 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12636 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12637 if test -n "$orig_target_ranlib"; then
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12639 $as_echo "$orig_target_ranlib" >&6; }
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12642 $as_echo "no" >&6; }
12647 if test "$GCC" = "yes"; then
12648 aros_gcc_ar
=`$CC -print-prog-name=ar`
12649 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
12650 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12652 $as_echo_n "checking for $ac_word... " >&6; }
12653 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12654 $as_echo_n "(cached) " >&6
12656 case $orig_target_ranlib in
12658 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12662 for as_dir
in `dirname $aros_gcc_ar`
12665 test -z "$as_dir" && as_dir
=.
12666 for ac_exec_ext
in '' $ac_executable_extensions; do
12667 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12668 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12679 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12680 if test -n "$orig_target_ranlib"; then
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12682 $as_echo "$orig_target_ranlib" >&6; }
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12685 $as_echo "no" >&6; }
12690 if test "$orig_target_ranlib" = ""; then
12691 # Extract the first word of "ar", so it can be a program name with args.
12692 set dummy
ar; ac_word
=$2
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12694 $as_echo_n "checking for $ac_word... " >&6; }
12695 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12696 $as_echo_n "(cached) " >&6
12698 case $orig_target_ranlib in
12700 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12704 for as_dir
in $PATH
12707 test -z "$as_dir" && as_dir
=.
12708 for ac_exec_ext
in '' $ac_executable_extensions; do
12709 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12710 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12721 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12722 if test -n "$orig_target_ranlib"; then
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12724 $as_echo "$orig_target_ranlib" >&6; }
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12727 $as_echo "no" >&6; }
12734 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ranlib}" : '[^ ]* \(.*\)'`
12735 # Extract the first word of "${aros_tool_prefix}${toolchain_ranlib}", so it can be a program name with args.
12736 set dummy
${aros_tool_prefix}${toolchain_ranlib}; ac_word
=$2
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12738 $as_echo_n "checking for $ac_word... " >&6; }
12739 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12740 $as_echo_n "(cached) " >&6
12742 case $orig_target_ranlib in
12744 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12748 for as_dir
in $PATH
12751 test -z "$as_dir" && as_dir
=.
12752 for ac_exec_ext
in '' $ac_executable_extensions; do
12753 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12754 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12765 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12766 if test -n "$orig_target_ranlib"; then
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12768 $as_echo "$orig_target_ranlib" >&6; }
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12771 $as_echo "no" >&6; }
12775 orig_target_ranlib
="$orig_target_ranlib $ac_tool_optarg"
12779 if test "$orig_target_ranlib" = ""; then
12782 if test "$orig_target_ranlib" = "no"; then
12785 if test "$req_avail" = "no"; then
12786 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
12789 if test "${aros_tool_prefix}${toolchain_nm}" = ""; then
12790 if test "$cross_compiling" = "yes" ; then
12791 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
12792 set dummy
${target_tool_prefix}nm
; ac_word
=$2
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12794 $as_echo_n "checking for $ac_word... " >&6; }
12795 if ${ac_cv_path_orig_target_nm+:} false
; then :
12796 $as_echo_n "(cached) " >&6
12798 case $orig_target_nm in
12800 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12804 for as_dir
in $PATH
12807 test -z "$as_dir" && as_dir
=.
12808 for ac_exec_ext
in '' $ac_executable_extensions; do
12809 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12810 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12821 orig_target_nm
=$ac_cv_path_orig_target_nm
12822 if test -n "$orig_target_nm"; then
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12824 $as_echo "$orig_target_nm" >&6; }
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12827 $as_echo "no" >&6; }
12832 if test "$GCC" = "yes"; then
12833 aros_gcc_nm
=`$CC -print-prog-name=nm`
12834 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
12835 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12837 $as_echo_n "checking for $ac_word... " >&6; }
12838 if ${ac_cv_path_orig_target_nm+:} false
; then :
12839 $as_echo_n "(cached) " >&6
12841 case $orig_target_nm in
12843 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12847 for as_dir
in `dirname $aros_gcc_nm`
12850 test -z "$as_dir" && as_dir
=.
12851 for ac_exec_ext
in '' $ac_executable_extensions; do
12852 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12853 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12864 orig_target_nm
=$ac_cv_path_orig_target_nm
12865 if test -n "$orig_target_nm"; then
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12867 $as_echo "$orig_target_nm" >&6; }
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12870 $as_echo "no" >&6; }
12875 if test "$orig_target_nm" = ""; then
12876 # Extract the first word of "nm", so it can be a program name with args.
12877 set dummy nm
; ac_word
=$2
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12879 $as_echo_n "checking for $ac_word... " >&6; }
12880 if ${ac_cv_path_orig_target_nm+:} false
; then :
12881 $as_echo_n "(cached) " >&6
12883 case $orig_target_nm in
12885 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12889 for as_dir
in $PATH
12892 test -z "$as_dir" && as_dir
=.
12893 for ac_exec_ext
in '' $ac_executable_extensions; do
12894 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12895 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12906 orig_target_nm
=$ac_cv_path_orig_target_nm
12907 if test -n "$orig_target_nm"; then
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12909 $as_echo "$orig_target_nm" >&6; }
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12912 $as_echo "no" >&6; }
12919 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_nm}" : '[^ ]* \(.*\)'`
12920 # Extract the first word of "${aros_tool_prefix}${toolchain_nm}", so it can be a program name with args.
12921 set dummy
${aros_tool_prefix}${toolchain_nm}; ac_word
=$2
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12923 $as_echo_n "checking for $ac_word... " >&6; }
12924 if ${ac_cv_path_orig_target_nm+:} false
; then :
12925 $as_echo_n "(cached) " >&6
12927 case $orig_target_nm in
12929 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12933 for as_dir
in $PATH
12936 test -z "$as_dir" && as_dir
=.
12937 for ac_exec_ext
in '' $ac_executable_extensions; do
12938 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12939 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12950 orig_target_nm
=$ac_cv_path_orig_target_nm
12951 if test -n "$orig_target_nm"; then
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12953 $as_echo "$orig_target_nm" >&6; }
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12956 $as_echo "no" >&6; }
12960 orig_target_nm
="$orig_target_nm $ac_tool_optarg"
12964 if test "$orig_target_nm" = ""; then
12967 if test "$orig_target_nm" = "no"; then
12970 if test "$req_avail" = "no"; then
12971 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
12974 if test "${aros_tool_prefix}${toolchain_strip}" = ""; then
12975 if test "$cross_compiling" = "yes" ; then
12976 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
12977 set dummy
${target_tool_prefix}strip
; ac_word
=$2
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12979 $as_echo_n "checking for $ac_word... " >&6; }
12980 if ${ac_cv_path_orig_target_strip+:} false
; then :
12981 $as_echo_n "(cached) " >&6
12983 case $orig_target_strip in
12985 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12989 for as_dir
in $PATH
12992 test -z "$as_dir" && as_dir
=.
12993 for ac_exec_ext
in '' $ac_executable_extensions; do
12994 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12995 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13006 orig_target_strip
=$ac_cv_path_orig_target_strip
13007 if test -n "$orig_target_strip"; then
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13009 $as_echo "$orig_target_strip" >&6; }
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13012 $as_echo "no" >&6; }
13017 if test "$GCC" = "yes"; then
13018 aros_gcc_strip
=`$CC -print-prog-name=strip`
13019 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
13020 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13022 $as_echo_n "checking for $ac_word... " >&6; }
13023 if ${ac_cv_path_orig_target_strip+:} false
; then :
13024 $as_echo_n "(cached) " >&6
13026 case $orig_target_strip in
13028 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13032 for as_dir
in `dirname $aros_gcc_strip`
13035 test -z "$as_dir" && as_dir
=.
13036 for ac_exec_ext
in '' $ac_executable_extensions; do
13037 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13038 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13049 orig_target_strip
=$ac_cv_path_orig_target_strip
13050 if test -n "$orig_target_strip"; then
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13052 $as_echo "$orig_target_strip" >&6; }
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13055 $as_echo "no" >&6; }
13060 if test "$orig_target_strip" = ""; then
13061 # Extract the first word of "strip", so it can be a program name with args.
13062 set dummy strip
; ac_word
=$2
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13064 $as_echo_n "checking for $ac_word... " >&6; }
13065 if ${ac_cv_path_orig_target_strip+:} false
; then :
13066 $as_echo_n "(cached) " >&6
13068 case $orig_target_strip in
13070 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13074 for as_dir
in $PATH
13077 test -z "$as_dir" && as_dir
=.
13078 for ac_exec_ext
in '' $ac_executable_extensions; do
13079 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13080 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13091 orig_target_strip
=$ac_cv_path_orig_target_strip
13092 if test -n "$orig_target_strip"; then
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13094 $as_echo "$orig_target_strip" >&6; }
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13097 $as_echo "no" >&6; }
13104 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_strip}" : '[^ ]* \(.*\)'`
13105 # Extract the first word of "${aros_tool_prefix}${toolchain_strip}", so it can be a program name with args.
13106 set dummy
${aros_tool_prefix}${toolchain_strip}; ac_word
=$2
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13108 $as_echo_n "checking for $ac_word... " >&6; }
13109 if ${ac_cv_path_orig_target_strip+:} false
; then :
13110 $as_echo_n "(cached) " >&6
13112 case $orig_target_strip in
13114 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13118 for as_dir
in $PATH
13121 test -z "$as_dir" && as_dir
=.
13122 for ac_exec_ext
in '' $ac_executable_extensions; do
13123 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13124 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13135 orig_target_strip
=$ac_cv_path_orig_target_strip
13136 if test -n "$orig_target_strip"; then
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13138 $as_echo "$orig_target_strip" >&6; }
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13141 $as_echo "no" >&6; }
13145 orig_target_strip
="$orig_target_strip $ac_tool_optarg"
13149 if test "$orig_target_strip" = ""; then
13152 if test "$orig_target_strip" = "no"; then
13155 if test "$req_avail" = "no"; then
13156 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
13159 if test "${aros_tool_prefix}${toolchain_objcopy}" = ""; then
13160 if test "$cross_compiling" = "yes" ; then
13161 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
13162 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13164 $as_echo_n "checking for $ac_word... " >&6; }
13165 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13166 $as_echo_n "(cached) " >&6
13168 case $orig_target_objcopy in
13170 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13174 for as_dir
in $PATH
13177 test -z "$as_dir" && as_dir
=.
13178 for ac_exec_ext
in '' $ac_executable_extensions; do
13179 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13180 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13191 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13192 if test -n "$orig_target_objcopy"; then
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13194 $as_echo "$orig_target_objcopy" >&6; }
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13197 $as_echo "no" >&6; }
13202 if test "$GCC" = "yes"; then
13203 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
13204 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
13205 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13207 $as_echo_n "checking for $ac_word... " >&6; }
13208 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13209 $as_echo_n "(cached) " >&6
13211 case $orig_target_objcopy in
13213 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13217 for as_dir
in `dirname $aros_gcc_objcopy`
13220 test -z "$as_dir" && as_dir
=.
13221 for ac_exec_ext
in '' $ac_executable_extensions; do
13222 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13223 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13234 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13235 if test -n "$orig_target_objcopy"; then
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13237 $as_echo "$orig_target_objcopy" >&6; }
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13240 $as_echo "no" >&6; }
13245 if test "$orig_target_objcopy" = ""; then
13246 # Extract the first word of "objcopy", so it can be a program name with args.
13247 set dummy objcopy
; ac_word
=$2
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13249 $as_echo_n "checking for $ac_word... " >&6; }
13250 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13251 $as_echo_n "(cached) " >&6
13253 case $orig_target_objcopy in
13255 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13259 for as_dir
in $PATH
13262 test -z "$as_dir" && as_dir
=.
13263 for ac_exec_ext
in '' $ac_executable_extensions; do
13264 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13265 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13276 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13277 if test -n "$orig_target_objcopy"; then
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13279 $as_echo "$orig_target_objcopy" >&6; }
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13282 $as_echo "no" >&6; }
13289 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objcopy}" : '[^ ]* \(.*\)'`
13290 # Extract the first word of "${aros_tool_prefix}${toolchain_objcopy}", so it can be a program name with args.
13291 set dummy
${aros_tool_prefix}${toolchain_objcopy}; ac_word
=$2
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13293 $as_echo_n "checking for $ac_word... " >&6; }
13294 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13295 $as_echo_n "(cached) " >&6
13297 case $orig_target_objcopy in
13299 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13303 for as_dir
in $PATH
13306 test -z "$as_dir" && as_dir
=.
13307 for ac_exec_ext
in '' $ac_executable_extensions; do
13308 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13309 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13320 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13321 if test -n "$orig_target_objcopy"; then
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13323 $as_echo "$orig_target_objcopy" >&6; }
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13326 $as_echo "no" >&6; }
13330 orig_target_objcopy
="$orig_target_objcopy $ac_tool_optarg"
13334 if test "$orig_target_objcopy" = ""; then
13337 if test "$orig_target_objcopy" = "no"; then
13340 if test "$req_avail" = "no"; then
13341 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
13344 if test "${aros_tool_prefix}${toolchain_objdump}" = ""; then
13345 if test "$cross_compiling" = "yes" ; then
13346 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
13347 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13349 $as_echo_n "checking for $ac_word... " >&6; }
13350 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13351 $as_echo_n "(cached) " >&6
13353 case $orig_target_objdump in
13355 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13359 for as_dir
in $PATH
13362 test -z "$as_dir" && as_dir
=.
13363 for ac_exec_ext
in '' $ac_executable_extensions; do
13364 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13365 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13376 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13377 if test -n "$orig_target_objdump"; then
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13379 $as_echo "$orig_target_objdump" >&6; }
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13382 $as_echo "no" >&6; }
13387 if test "$GCC" = "yes"; then
13388 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
13389 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
13390 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13392 $as_echo_n "checking for $ac_word... " >&6; }
13393 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13394 $as_echo_n "(cached) " >&6
13396 case $orig_target_objdump in
13398 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13402 for as_dir
in `dirname $aros_gcc_objdump`
13405 test -z "$as_dir" && as_dir
=.
13406 for ac_exec_ext
in '' $ac_executable_extensions; do
13407 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13408 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13419 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13420 if test -n "$orig_target_objdump"; then
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13422 $as_echo "$orig_target_objdump" >&6; }
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13425 $as_echo "no" >&6; }
13430 if test "$orig_target_objdump" = ""; then
13431 # Extract the first word of "objdump", so it can be a program name with args.
13432 set dummy objdump
; ac_word
=$2
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13434 $as_echo_n "checking for $ac_word... " >&6; }
13435 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13436 $as_echo_n "(cached) " >&6
13438 case $orig_target_objdump in
13440 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13444 for as_dir
in $PATH
13447 test -z "$as_dir" && as_dir
=.
13448 for ac_exec_ext
in '' $ac_executable_extensions; do
13449 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13450 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13461 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13462 if test -n "$orig_target_objdump"; then
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13464 $as_echo "$orig_target_objdump" >&6; }
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13467 $as_echo "no" >&6; }
13474 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objdump}" : '[^ ]* \(.*\)'`
13475 # Extract the first word of "${aros_tool_prefix}${toolchain_objdump}", so it can be a program name with args.
13476 set dummy
${aros_tool_prefix}${toolchain_objdump}; ac_word
=$2
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13478 $as_echo_n "checking for $ac_word... " >&6; }
13479 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13480 $as_echo_n "(cached) " >&6
13482 case $orig_target_objdump in
13484 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13488 for as_dir
in $PATH
13491 test -z "$as_dir" && as_dir
=.
13492 for ac_exec_ext
in '' $ac_executable_extensions; do
13493 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13494 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13505 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13506 if test -n "$orig_target_objdump"; then
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13508 $as_echo "$orig_target_objdump" >&6; }
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13511 $as_echo "no" >&6; }
13515 orig_target_objdump
="$orig_target_objdump $ac_tool_optarg"
13519 if test "$orig_target_objdump" = ""; then
13522 if test "$orig_target_objdump" = "no"; then
13525 if test "$req_avail" = "no"; then
13526 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
13530 if test "$kernel_tool_prefix" = "none" ; then
13531 # No kernel tools specified
13532 # Assume target tools == kernel tools with ELF wrapper
13533 aros_kernel_cc
=$orig_target_cc
13534 aros_kernel_cxx
=$orig_target_cxx
13535 aros_kernel_cpp
=$orig_target_cpp
13536 aros_kernel_ld
=$orig_target_ld
13537 aros_kernel_as
=$orig_target_as
13538 aros_kernel_ar
=$orig_target_ar
13539 aros_kernel_ranlib
=$orig_target_ranlib
13540 aros_kernel_nm
=$orig_target_nm
13541 aros_kernel_strip
=$orig_target_strip
13542 aros_kernel_objcopy
=$orig_target_objcopy
13543 aros_kernel_objdump
=$orig_target_objdump
13544 use_kernel_cc_wrapper
=yes
13547 # At this point, all aros_kernel_* and aros_target_*
13548 # tools should be set up correctly
13550 CC
="$aros_kernel_cc $kernel_tool_flags"
13551 CPP
="$aros_kernel_cpp"
13553 #-----------------------------------------------------------------------------
13555 # Find all the tools we need to compile. This could be cross-compiling
13556 # though! If that is the case we use the GNU form of the target and
13557 # simply add this to the front of the binary name. This is rather simple,
13558 # but it should work under most circumstances.
13560 # The default tools are to use the same as the host, but only if the
13561 # host and target CPU are the same. With GCC this is normally enough.
13565 aros_shared_ld
="$aros_host_ld"
13567 aros_target_mkdep
="$aros_host_mkdep"
13569 # The default tools executables to be linked to.
13570 if test "$rescomp" != ""; then
13571 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
13572 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13574 $as_echo_n "checking for $ac_word... " >&6; }
13575 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
13576 $as_echo_n "(cached) " >&6
13578 case $aros_kernel_rescomp in
13580 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
13583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13584 for as_dir
in $PATH
13587 test -z "$as_dir" && as_dir
=.
13588 for ac_exec_ext
in '' $ac_executable_extensions; do
13589 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13590 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
13591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13601 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
13602 if test -n "$aros_kernel_rescomp"; then
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
13604 $as_echo "$aros_kernel_rescomp" >&6; }
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13607 $as_echo "no" >&6; }
13612 if test "$aros_kernel_rescomp" = ""; then
13615 if test "$aros_kernel_rescomp" = "no"; then
13618 if test "$req_avail" = "no"; then
13619 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
13623 # Set up the sources for the symlink farm
13624 if test "$crosstools" = "yes"; then
13625 crosstools_target
=tools-crosstools
13628 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
13629 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
13631 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/host/config"
13632 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
13633 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
13634 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
13635 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
13636 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
13637 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
13639 # aros_cc_pre is a variable that is added to the front of the compiler name
13640 # in the generated aros-gcc shell script. We need this to enable the cache
13641 # to work across cleaned builds. Also, support DISTCC using the correct
13642 # environment variable.
13645 if test "x${DISTCC}" != "x" ; then
13646 if test "x${CCACHE}" != "x" ; then
13647 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
13649 aros_cc_pre
="${DISTCC} "
13652 if test "x${CCACHE}" != "x" ; then
13653 aros_cc_pre
="${CCACHE} "
13657 aros_target_nostdinc_cflags
=-nostdinc
13659 aros_target_nostartup_ldflags
=-nostartfiles
13661 aros_target_nix_ldflags
=-nix
13663 aros_target_detach_ldflags
=-detach
13665 aros_target_nostdlib_ldflags
=-nostdlib
13670 if test "$aros_target_toolchain" != "yes"; then
13671 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
13672 if test "$GCC" = "yes"; then
13673 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
13676 # We do not know which c compiler version we are going to build and what we need to know
13677 # here is different for different versions so this will be set later during the
13678 # build of crosstools.
13679 if test "$aros_toolchain" = "gnu" ; then
13680 prefix
="$AROS_CROSSTOOLSDIR/${aros_target_cpu}-aros-"
13681 elif test "$aros_toolchain" = "llvm" ; then
13682 prefix
="$AROS_CROSSTOOLSDIR/bin/"
13684 aros_target_cc_path
=@aros_target_cc_path@
13686 aros_target_cpp
="${prefix}${toolchain_cpp_preprocessor}"
13687 aros_target_cc
="${prefix}${toolchain_c_compiler}"
13688 aros_target_cxx
="${prefix}${toolchain_cxx_compiler}"
13689 aros_target_as
="${prefix}${toolchain_as}"
13690 if test "${use_ld_wrapper}" = "yes"; then
13691 aros_target_ld
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${aros_ld}"
13693 aros_target_ld
="${prefix}${toolchain_ld}"
13695 aros_toolchain_ld
="${prefix}${toolchain_ld}"
13697 aros_target_ar
="${prefix}${toolchain_ar} $aros_target_ar_flags"
13698 aros_target_objcopy
="${prefix}${toolchain_objcopy}"
13699 aros_target_objdump
="${prefix}${toolchain_objdump}"
13700 aros_target_ranlib
="${prefix}${toolchain_ranlib} $aros_target_ranlib_flags"
13701 aros_target_nm
="${prefix}${toolchain_nm} $aros_target_nm_flags"
13702 aros_target_strip
="${prefix}${toolchain_strip}"
13703 aros_plain_nm
="${prefix}${toolchain_nm}"
13704 aros_plain_ar
="${prefix}${toolchain_ar}"
13706 # Check whether --enable-includes was given.
13707 if test "${enable_includes+set}" = set; then :
13708 enableval
=$enable_includes; aros_target_incl
=$enable_includes
13710 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
13714 if test "$aros_kernel_includes" = ""; then
13715 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13716 aros_kernel_includes
="-isystem $aros_target_incl"
13720 if test "$aros_kernel_includes" != "" ; then
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
13722 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
13723 if test "$aros_kernel_cc_includes" = "" ; then
13724 # Try to guess where the directory is.
13725 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
13726 if test -d $aros_kernel_cc_includes; then
13727 # Check if there is also an include-fixed directory and add it
13728 # to kernel compiler's include path as it may contain some of
13729 # the headers we need.
13730 if test -d "$aros_kernel_cc_includes"-fixed; then
13731 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
13733 # Check for specific includes directory. Needed for Ubuntu 11.10 and Debian
13734 if test -d "/usr/include/${aros_target_cpu}-linux-gnu"; then
13735 aros_kernel_cc_includes
+=" -isystem /usr/include/${aros_target_cpu}-linux-gnu"
13738 # The directory doesn't exist, we need to do some more work.
13739 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
13741 # These are the headers we're looking for.
13742 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13743 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13747 for h
in $headers; do
13748 # Which other headers are needed by each of the above?
13749 deps
=$
(echo "#include <$h>" | \
13750 $aros_kernel_cc -E -M - 2>/dev
/null | \
13751 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13753 # Copy all the needed headers to a directory beneath gendir.
13756 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
13757 sed -n "s,^.*/include\(/.*\),\1,p")
13758 ! test -d $dir && mkdir
-p $dir
13759 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
13765 $as_echo "$aros_kernel_cc_includes" >&6; }
13766 # Adding -nostdinc to kernel includes as they are always used together.
13767 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
13770 if test "$crosstools" != "yes"; then
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
13772 $as_echo_n "checking for the target compiler's include path... " >&6; }
13773 if test "$aros_target_cc_includes" = "" ; then
13774 #try to guess where the directory is
13775 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
13776 if ! test -d $aros_target_cc_includes; then
13777 #the directory doesn't exist, we need to do some more work
13778 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
13780 #these are the headers we're looking for
13781 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13782 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13786 for h
in $headers; do
13787 #which other headers each of the above headers needs?
13788 deps
=$
(echo "#include <$h>" | \
13789 $orig_target_cc -E -M - 2>/dev
/null | \
13790 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13792 #copy all the needed headers to a directory beneath gendir
13795 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
13796 sed -n "s,^.*/include\(/.*\),\1,p")
13797 ! test -d $dir && mkdir
-p $dir
13798 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
13804 $as_echo "$aros_target_cc_includes" >&6; }
13806 # We do not know which c compiler version we are going to build and what we need to know
13807 # here is different for different versions so this will be set later during the
13808 # build of crosstools.
13809 aros_target_cc_includes
=@aros_target_cc_includes@
13813 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
13814 # On GCC >= 4.0 -iquote should be used
13818 save_cflags
="$CFLAGS"
13820 kernel_cflags_iquote
=$host_cflags_iquote
13821 kernel_cflags_iquote_end
=$host_cflags_iquote_end
13822 if test "x-$cross_compiling" = "x-yes"; then
13823 CC
="$aros_kernel_cc"
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
13825 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
13826 if test "x-$crosstools" != "x-yes"; then
13827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13828 /* end confdefs.h. */
13838 if ac_fn_c_try_compile
"$LINENO"; then :
13839 use_no_stack_protector
="yes"
13841 use_no_stack_protector
="no"
13843 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13845 # we do know it is supported for the smallest version of gcc we are going to build
13846 # we assume it's also supported by later versions
13847 use_no_stack_protector
=yes
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
13850 $as_echo "$use_no_stack_protector" >&6; }
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13852 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13853 if test "x-$crosstools" != "x-yes"; then
13854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13855 /* end confdefs.h. */
13865 if ac_fn_c_try_compile
"$LINENO"; then :
13870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13872 # we do know it is supported for the smallest version of gcc we are going to build
13873 # we assume it's also supported by later versions
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13877 $as_echo "$has_iquote" >&6; }
13878 if test "x-$has_iquote" = "x-yes" ; then
13879 kernel_cflags_iquote
=-iquote
13880 kernel_cflags_iquote_end
=
13882 kernel_cflags_iquote
=-I
13883 kernel_cflags_iquote_end
=-I-
13886 if test "x-$use_no_stack_protector" = "x-yes" ; then
13887 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13890 #-----------------------------------------------------------------------------
13892 # Check if we can explicitly choose older version of symbol hashing
13894 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13895 CC
="$aros_kernel_cc"
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13897 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13899 /* end confdefs.h. */
13909 if ac_fn_c_try_link
"$LINENO"; then :
13910 use_hash_style
="yes"
13912 use_hash_style
="no"
13914 rm -f core conftest.err conftest.
$ac_objext \
13915 conftest
$ac_exeext conftest.
$ac_ext
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13917 $as_echo "$use_hash_style" >&6; }
13918 if test "x-$use_hash_style" = "x-yes" ; then
13919 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13922 CFLAGS
="$save_cflags"
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13931 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13933 # Check whether --with-resolution was given.
13934 if test "${with_resolution+set}" = set; then :
13935 withval
=$with_resolution; resolution
=$withval
13940 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13941 if test "$resolution" = "yes" ; then
13944 if test "$resolution" = "no" ; then
13947 if test "$resolution" != "none" ; then
13948 aros_nominal_width
=`echo $resolution | cut -d'x' -f1`
13949 aros_nominal_height
=`echo $resolution | cut -d'x' -f2`
13950 aros_nominal_depth
=`echo $resolution | cut -d'x' -f3`
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&5
13953 $as_echo "$aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&6; }
13954 aros_cv_nominal_width
=$aros_nominal_width
13955 aros_cv_nominal_height
=$aros_nominal_height
13956 aros_cv_nominal_depth
=$aros_nominal_depth
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether serial debug is enabled" >&5
13959 $as_echo_n "checking whether serial debug is enabled... " >&6; }
13961 # Check whether --with-serial-debug was given.
13962 if test "${with_serial_debug+set}" = set; then :
13963 withval
=$with_serial_debug; serial_debug
=$withval
13968 if test "$aros_serial_debug" = 0 ; then
13969 serial_debug_forced
=""
13970 if test "$serial_debug" = "yes" ; then
13973 if test "$serial_debug" = "no" ; then
13974 serial_debug
="none"
13977 serial_debug_forced
="(forced)"
13978 serial_debug
=$aros_serial_debug
13980 if test "$serial_debug" != "none" ; then
13981 aros_serial_debug
=$serial_debug
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13983 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13986 $as_echo "no" >&6; }
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether palm debug hack is enabled" >&5
13990 $as_echo_n "checking whether palm debug hack is enabled... " >&6; }
13991 # Check whether --enable-palm_debug_hack was given.
13992 if test "${enable_palm_debug_hack+set}" = set; then :
13993 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13995 palm_debug_hack
="no"
13998 if test "$palm_debug_hack" = "yes" ; then
13999 aros_palm_debug_hack
="1"
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
14002 $as_echo "$palm_debug_hack" >&6; }
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usb3.0 code is enabled" >&5
14005 $as_echo_n "checking whether usb3.0 code is enabled... " >&6; }
14006 # Check whether --enable-usb30_code was given.
14007 if test "${enable_usb30_code+set}" = set; then :
14008 enableval
=$enable_usb30_code; usb30_code
="yes"
14013 if test "$usb30_code" = "yes" ; then
14014 aros_config_cflags
="$aros_config_cflags -DAROS_USB30_CODE"
14015 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
14018 $as_echo "$usb30_code" >&6; }
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether nesting supervisor support is enabled" >&5
14021 $as_echo_n "checking whether nesting supervisor support is enabled... " >&6; }
14022 # Check whether --enable-nesting_supervisor was given.
14023 if test "${enable_nesting_supervisor+set}" = set; then :
14024 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
14026 nesting_supervisor
="no"
14029 if test "$nesting_supervisor" = "yes" ; then
14030 aros_nesting_supervisor
="1"
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
14033 $as_echo "$nesting_supervisor" >&6; }
14035 if test "$aros_enable_mmu" = "" ; then
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MMU support is enabled" >&5
14037 $as_echo_n "checking whether MMU support is enabled... " >&6; }
14038 # Check whether --enable-mmu was given.
14039 if test "${enable_mmu+set}" = set; then :
14040 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
14042 aros_enable_mmu
="yes"
14045 if test "$aros_enable_mmu" = "" ; then
14046 aros_enable_mmu
="yes"
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
14049 $as_echo "$aros_enable_mmu" >&6; }
14051 if test "$aros_enable_mmu" = "no" ; then
14052 aros_enable_mmu
="0"
14054 aros_enable_mmu
="1"
14058 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
14060 if test "x-$need_dlopen" != "x-no" ; then
14063 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
14064 if test "x$ac_cv_func_dlopen" = xyes
; then :
14070 if test "x-$have_dl" = "x-no" ; then
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14072 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14073 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14074 $as_echo_n "(cached) " >&6
14076 ac_check_lib_save_LIBS
=$LIBS
14078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14079 /* end confdefs.h. */
14081 /* Override any GCC internal prototype to avoid an error.
14082 Use char because int might match the return type of a GCC
14083 builtin and then its argument prototype would still apply. */
14096 if ac_fn_c_try_link
"$LINENO"; then :
14097 ac_cv_lib_dl_dlopen
=yes
14099 ac_cv_lib_dl_dlopen
=no
14101 rm -f core conftest.err conftest.
$ac_objext \
14102 conftest
$ac_exeext conftest.
$ac_ext
14103 LIBS
=$ac_check_lib_save_LIBS
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14106 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14107 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14109 aros_host_ldflags
="$aros_host_ldflags -ldl"
14115 if test "x-$have_dl" = "x-no" ; then
14116 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
14122 # Check whether --enable-x11_hidd was given.
14123 if test "${enable_x11_hidd+set}" = set; then :
14124 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
14126 x11_hidd
="$need_x11"
14129 case "x-$x11_hidd" in
14130 x-yes|x-no|x-auto
) ;;
14131 *) x11_hidd
="$need_x11" ;;
14136 if test "x-$x11_hidd" != "x-no" ; then
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
14139 $as_echo_n "checking for X... " >&6; }
14142 # Check whether --with-x was given.
14143 if test "${with_x+set}" = set; then :
14147 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
14148 if test "x$with_x" = xno
; then
14149 # The user explicitly disabled X.
14152 case $x_includes,$x_libraries in #(
14153 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
14154 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
14155 $as_echo_n "(cached) " >&6
14157 # One or both of the vars are not set, and there is no cached value.
14158 ac_x_includes
=no ac_x_libraries
=no
14159 rm -f -r conftest.dir
14160 if mkdir conftest.dir
; then
14162 cat >Imakefile
<<'_ACEOF'
14164 @echo incroot='${INCROOT}'
14166 @echo usrlibdir='${USRLIBDIR}'
14168 @echo libdir='${LIBDIR}'
14170 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
14171 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14172 for ac_var
in incroot usrlibdir libdir
; do
14173 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14175 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14176 for ac_extension
in a so sl dylib la dll
; do
14177 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14178 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14179 ac_im_usrlibdir
=$ac_im_libdir; break
14182 # Screen out bogus values from the imake configuration. They are
14183 # bogus both because they are the default anyway, and because
14184 # using them would break gcc on systems where it needs fixed includes.
14185 case $ac_im_incroot in
14186 /usr
/include
) ac_x_includes
= ;;
14187 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
14189 case $ac_im_usrlibdir in
14190 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
14191 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
14195 rm -f -r conftest.dir
14198 # Standard set of common directories for X headers.
14199 # Check X11 before X11Rn because it is often a symlink to the current release.
14213 /usr/local/X11/include
14214 /usr/local/X11R7/include
14215 /usr/local/X11R6/include
14216 /usr/local/X11R5/include
14217 /usr/local/X11R4/include
14219 /usr/local/include/X11
14220 /usr/local/include/X11R7
14221 /usr/local/include/X11R6
14222 /usr/local/include/X11R5
14223 /usr/local/include/X11R4
14227 /usr/XFree86/include/X11
14231 /usr/unsupported/include
14232 /usr/athena/include
14233 /usr/local/x11r5/include
14234 /usr/lpp/Xamples/include
14236 /usr/openwin/include
14237 /usr/openwin/share/include'
14239 if test "$ac_x_includes" = no
; then
14240 # Guess where to find include files, by looking for Xlib.h.
14241 # First, try using that file with no special directory specified.
14242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14243 /* end confdefs.h. */
14244 #include <X11/Xlib.h>
14246 if ac_fn_c_try_cpp
"$LINENO"; then :
14247 # We can compile using X headers with no special include directory.
14250 for ac_dir
in $ac_x_header_dirs; do
14251 if test -r "$ac_dir/X11/Xlib.h"; then
14252 ac_x_includes
=$ac_dir
14257 rm -f conftest.err conftest.i conftest.
$ac_ext
14258 fi # $ac_x_includes = no
14260 if test "$ac_x_libraries" = no
; then
14261 # Check for the libraries.
14262 # See if we find them without any special options.
14263 # Don't add to $LIBS permanently.
14266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14267 /* end confdefs.h. */
14268 #include <X11/Xlib.h>
14277 if ac_fn_c_try_link
"$LINENO"; then :
14279 # We can link X programs with no special library path.
14283 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14285 # Don't even attempt the hair of trying to link an X program!
14286 for ac_extension
in a so sl dylib la dll
; do
14287 if test -r "$ac_dir/libX11.$ac_extension"; then
14288 ac_x_libraries
=$ac_dir
14294 rm -f core conftest.err conftest.
$ac_objext \
14295 conftest
$ac_exeext conftest.
$ac_ext
14296 fi # $ac_x_libraries = no
14298 case $ac_x_includes,$ac_x_libraries in #(
14299 no
,* |
*,no |
*\'*)
14300 # Didn't find X, or a directory has "'" in its name.
14301 ac_cv_have_x
="have_x=no";; #(
14303 # Record where we found X for the cache.
14304 ac_cv_have_x
="have_x=yes\
14305 ac_x_includes='$ac_x_includes'\
14306 ac_x_libraries='$ac_x_libraries'"
14312 eval "$ac_cv_have_x"
14315 if test "$have_x" != yes; then
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14317 $as_echo "$have_x" >&6; }
14320 # If each of the values was on the command line, it overrides each guess.
14321 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
14322 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
14323 # Update the cache value to reflect the command line values.
14324 ac_cv_have_x
="have_x=yes\
14325 ac_x_includes='$x_includes'\
14326 ac_x_libraries='$x_libraries'"
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14328 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
14332 if test -n "$x_includes"; then
14333 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14336 if test -n "$x_libraries"; then
14337 X_LIBS
="$X_LIBS -L$x_libraries"
14340 if test "x-$no_x" = "x-yes" ; then
14342 if test "x-$x11_hidd" != "x-auto" ; then
14343 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
14350 aros_host_x11_cflags
="$X_CFLAGS"
14351 aros_host_x11_ldflags
="$X_LIBS -lX11"
14353 # Check whether --enable-x11_shm was given.
14354 if test "${enable_x11_shm+set}" = set; then :
14355 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
14357 x11_hidd_shm
="auto"
14360 case "x-$x11_hidd_shm" in
14361 x-yes|x-no|x-auto
) ;;
14362 *) x11_hidd_shm
="auto" ;;
14367 if test "x-$x11_hidd_shm" != "x-no" ; then
14369 for ac_header
in sys
/ipc.h
14371 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
14372 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
14373 cat >>confdefs.h
<<_ACEOF
14374 #define HAVE_SYS_IPC_H 1
14381 for ac_header
in sys
/shm.h
14383 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
14384 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
14385 cat >>confdefs.h
<<_ACEOF
14386 #define HAVE_SYS_SHM_H 1
14394 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
14396 save_cflags
="$CFLAGS"
14397 save_ldflags
="$LDFLAGS"
14398 CFLAGS
="$CFLAGS $X_CFLAGS"
14399 LDFLAGS
="$LDFLAGS $X_LIBS"
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14401 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
14402 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
14403 $as_echo_n "(cached) " >&6
14405 ac_check_lib_save_LIBS
=$LIBS
14406 LIBS
="-lXext $LIBS"
14407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14408 /* end confdefs.h. */
14410 /* Override any GCC internal prototype to avoid an error.
14411 Use char because int might match the return type of a GCC
14412 builtin and then its argument prototype would still apply. */
14416 char XShmQueryExtension ();
14420 return XShmQueryExtension ();
14425 if ac_fn_c_try_link
"$LINENO"; then :
14426 ac_cv_lib_Xext_XShmQueryExtension
=yes
14428 ac_cv_lib_Xext_XShmQueryExtension
=no
14430 rm -f core conftest.err conftest.
$ac_objext \
14431 conftest
$ac_exeext conftest.
$ac_ext
14432 LIBS
=$ac_check_lib_save_LIBS
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14435 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14436 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
14440 CFLAGS
="$save_cflags"
14441 LDFLAGS
="$save_ldflags"
14445 if test "x-$have_xshm" = "x-yes" ; then
14446 DO_XSHM_SUPPORT
="1"
14447 elif test "x-$x11_hidd_shm" = "x-yes" ; then
14448 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
14450 DO_XSHM_SUPPORT
="0"
14454 # Check whether --enable-x11_vidmode was given.
14455 if test "${enable_x11_vidmode+set}" = set; then :
14456 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
14458 x11_hidd_vidmode
="auto"
14461 case "x-$x11_hidd_vidmode" in
14462 x-yes|x-no|x-auto
) ;;
14463 *) x11_hidd_vidmode
="auto" ;;
14468 if test "x-$x11_hidd_vidmode" != "x-no" ; then
14470 save_cflags
="$CFLAGS"
14471 save_ldflags
="$LDFLAGS"
14472 CFLAGS
="$CFLAGS $X_CFLAGS"
14473 LDFLAGS
="$LDFLAGS $X_LIBS"
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
14475 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
14476 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
14477 $as_echo_n "(cached) " >&6
14479 ac_check_lib_save_LIBS
=$LIBS
14480 LIBS
="-lXxf86vm $LIBS"
14481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14482 /* end confdefs.h. */
14484 /* Override any GCC internal prototype to avoid an error.
14485 Use char because int might match the return type of a GCC
14486 builtin and then its argument prototype would still apply. */
14490 char XF86VidModeQueryExtension ();
14494 return XF86VidModeQueryExtension ();
14499 if ac_fn_c_try_link
"$LINENO"; then :
14500 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
14502 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
14504 rm -f core conftest.err conftest.
$ac_objext \
14505 conftest
$ac_exeext conftest.
$ac_ext
14506 LIBS
=$ac_check_lib_save_LIBS
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
14509 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
14510 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
14514 CFLAGS
="$save_cflags"
14515 LDFLAGS
="$save_ldflags"
14518 if test "x-$have_vidmode" = "x-yes" ; then
14519 DO_VIDMODE_SUPPORT
="1"
14520 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
14521 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
14523 DO_VIDMODE_SUPPORT
="0"
14528 # Check whether --enable-sdl_hidd was given.
14529 if test "${enable_sdl_hidd+set}" = set; then :
14530 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
14535 case "x-$sdl_hidd" in
14536 x-yes|x-no|x-auto
) ;;
14537 *) sdl_hidd
="auto" ;;
14540 if test "x-$sdl_hidd" != "x-no" ; then
14544 # Check whether --with-sdl-prefix was given.
14545 if test "${with_sdl_prefix+set}" = set; then :
14546 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
14552 # Check whether --with-sdl-exec-prefix was given.
14553 if test "${with_sdl_exec_prefix+set}" = set; then :
14554 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
14559 # Check whether --enable-sdltest was given.
14560 if test "${enable_sdltest+set}" = set; then :
14561 enableval
=$enable_sdltest;
14567 if test x
$sdl_exec_prefix != x
; then
14568 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
14569 if test x
${SDL_CONFIG+set} != xset
; then
14570 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
14573 if test x
$sdl_prefix != x
; then
14574 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
14575 if test x
${SDL_CONFIG+set} != xset
; then
14576 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
14580 as_save_PATH
="$PATH"
14581 if test "x$prefix" != xNONE
; then
14582 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
14584 # Extract the first word of "sdl-config", so it can be a program name with args.
14585 set dummy sdl-config
; ac_word
=$2
14586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14587 $as_echo_n "checking for $ac_word... " >&6; }
14588 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
14589 $as_echo_n "(cached) " >&6
14591 case $SDL_CONFIG in
14593 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
14596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14597 for as_dir
in $PATH
14600 test -z "$as_dir" && as_dir
=.
14601 for ac_exec_ext
in '' $ac_executable_extensions; do
14602 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14603 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14611 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
14615 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
14616 if test -n "$SDL_CONFIG"; then
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
14618 $as_echo "$SDL_CONFIG" >&6; }
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14621 $as_echo "no" >&6; }
14625 PATH
="$as_save_PATH"
14626 min_sdl_version
=$SDL_VERSION
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
14628 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
14630 if test "$SDL_CONFIG" = "no" ; then
14633 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
14634 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
14636 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
14637 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
14638 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
14639 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
14640 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
14641 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
14642 if test "x$enable_sdltest" = "xyes" ; then
14643 ac_save_CFLAGS
="$CFLAGS"
14644 ac_save_CXXFLAGS
="$CXXFLAGS"
14645 ac_save_LIBS
="$LIBS"
14646 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14647 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14648 LIBS
="$LIBS $SDL_LIBS"
14650 if test "$cross_compiling" = yes; then :
14651 echo $ac_n "cross compiling; assumed OK... $ac_c"
14653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14654 /* end confdefs.h. */
14657 #include <stdlib.h>
14658 #include <string.h>
14662 my_strdup (char *str)
14668 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14669 strcpy (new_str, str);
14677 int main (int argc, char *argv[])
14679 int major, minor, micro;
14682 /* This hangs on some systems (?)
14683 system ("touch conf.sdltest");
14685 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14687 /* HP/UX 9 (%@#!) writes to sscanf strings */
14688 tmp_version = my_strdup("$min_sdl_version");
14689 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14690 printf("%s, bad version string\n", "$min_sdl_version");
14694 if (($sdl_major_version > major) ||
14695 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14696 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14702 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14703 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14704 printf("*** best to upgrade to the required version.\n");
14705 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14706 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14707 printf("*** config.cache before re-running configure\n");
14714 if ac_fn_c_try_run
"$LINENO"; then :
14719 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14720 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14723 CFLAGS
="$ac_save_CFLAGS"
14724 CXXFLAGS
="$ac_save_CXXFLAGS"
14725 LIBS
="$ac_save_LIBS"
14728 if test "x$no_sdl" = x
; then
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14730 $as_echo "yes" >&6; }
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14734 $as_echo "no" >&6; }
14735 if test "$SDL_CONFIG" = "no" ; then
14736 echo "*** The sdl-config script installed by SDL could not be found"
14737 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14738 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14739 echo "*** full path to sdl-config."
14741 if test -f conf.sdltest
; then
14744 echo "*** Could not run SDL test program, checking why..."
14745 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14746 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14747 LIBS
="$LIBS $SDL_LIBS"
14748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14749 /* end confdefs.h. */
14754 int main(int argc, char *argv[])
14757 #define main K_and_R_C_main
14767 if ac_fn_c_try_link
"$LINENO"; then :
14768 echo "*** The test program compiled, but did not run. This usually means"
14769 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14770 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14771 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14772 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14773 echo "*** is required on your system"
14775 echo "*** If you have an old version installed, it is best to remove it, although"
14776 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14778 echo "*** The test program failed to compile or link. See the file config.log for the"
14779 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14780 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14781 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14783 rm -f core conftest.err conftest.
$ac_objext \
14784 conftest
$ac_exeext conftest.
$ac_ext
14785 CFLAGS
="$ac_save_CFLAGS"
14786 CXXFLAGS
="$ac_save_CXXFLAGS"
14787 LIBS
="$ac_save_LIBS"
14799 if test "x-$have_sdl" != "x-yes" ; then
14801 if test "x-$sdl_hidd" != "x-auto" ; then
14802 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14807 aros_host_sdl_cflags
=$SDL_CFLAGS
14808 aros_host_sdl_libs
=$SDL_LIBS
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether building of dbus.library is enabled" >&5
14816 $as_echo_n "checking whether building of dbus.library is enabled... " >&6; }
14817 # Check whether --enable-dbus was given.
14818 if test "${enable_dbus+set}" = set; then :
14819 enableval
=$enable_dbus; dbus
="yes"
14824 if test "$dbus" = "yes" ; then
14826 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14827 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14828 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14829 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14834 $as_echo "$dbus" >&6; }
14836 if test "$use_kernel_cc_wrapper" = "yes" ; then
14837 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-${toolchain_c_compiler}"
14855 # Compatability with other Amiga-like operation systems
14960 # Hosted Graphics Related
14978 # Native version related
14982 # Palm native version related
14985 # Unix/Hosted version related
14991 # Apple iOS related
14996 # ARM default GCC target related
15024 # Collect-aros stuff: "-ius" to ignore undefined symbols
15027 # C compiler related
15032 #ObjC compiler related
15041 case "$aros_flavour" in
15042 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
15043 aros_flavour
="emulation" ;;
15044 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
15045 aros_flavour
="emulation" ;;
15046 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
15047 aros_flavour
="standalone";;
15048 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15049 aros_flavour
="standalone";;
15050 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
15051 aros_flavour
="native" ;;
15052 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
15053 aros_flavour
="native" ;;
15054 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
15055 aros_flavour
="linklib" ;;
15056 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15057 aros_flavour
="palmnative" ;;
15058 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15059 aros_flavour
="mac68knative" ;;
15060 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15061 aros_flavour
="ppcnative" ;;
15064 if test ! -d ${aros_inc_dir} ; then
15065 ${MKDIR} ${aros_inc_dir}
15067 if test ! -d ${aros_geninc_dir} ; then
15068 ${MKDIR} ${aros_geninc_dir}
15070 if test ! -d ${aros_hostcfg_dir} ; then
15071 ${MKDIR} ${aros_hostcfg_dir}
15073 if test ! -d ${aros_targetcfg_dir} ; then
15074 ${MKDIR} ${aros_targetcfg_dir}
15076 if test ! -d ${aros_tools_dir} ; then
15077 ${MKDIR} ${aros_tools_dir}
15079 if test ! -d ${aros_scripts_dir} ; then
15080 ${MKDIR} ${aros_scripts_dir}
15083 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
15086 # Generic build tools (metamake, etc)
15087 ac_config_commands
="$ac_config_commands genmf-executable-support"
15089 ac_config_files
="$ac_config_files Makefile config/make.cfg ${aros_inc_dir}/config.h:config/config.h.in ${aros_geninc_dir}/config.h:config/config.h.in ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in ${aros_targetcfg_dir}/build.cfg:config/build.cfg.in mmake.config compiler/include/mmakefile:compiler/include/mmakefile.in ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py tools/collect-aros/env.h"
15093 ac_config_commands
="$ac_config_commands binutils-support"
15095 if test "${use_ld_wrapper}" = "yes"; then
15096 ac_config_files
="$ac_config_files ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${aros_ld}:scripts/aros-ld.in"
15099 # Bare Elf support script and spec
15100 if test "${use_kernel_cc_wrapper}" = "yes"; then
15101 ac_config_commands
="$ac_config_commands elf-compiler-support"
15103 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"
15107 # Host compiler support scripts and spec
15108 if test "${aros_target_toolchain}" = "no"; then
15109 ac_config_commands
="$ac_config_commands host-compiler-wrapper-support"
15111 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"
15116 if test "$aros_target_variant" == "android"; then
15117 ac_config_files
="$ac_config_files ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in"
15122 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in"
15125 cat >confcache
<<\_ACEOF
15126 # This file is a shell script that caches the results of configure
15127 # tests run on this system so they can be shared between configure
15128 # scripts and configure runs, see configure's option --config-cache.
15129 # It is not useful on other systems. If it contains results you don't
15130 # want to keep, you may remove or edit it.
15132 # config.status only pays attention to the cache file if you give it
15133 # the --recheck option to rerun configure.
15135 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15136 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15137 # following values.
15141 # The following way of writing the cache mishandles newlines in values,
15142 # but we know of no workaround that is simple, portable, and efficient.
15143 # So, we kill variables containing newlines.
15144 # Ultrix sh set writes to stderr and can't be redirected directly,
15145 # and sets the high bit in the cache file unless we assign to the vars.
15147 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15148 eval ac_val
=\$
$ac_var
15152 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15153 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15156 _ | IFS | as_nl
) ;; #(
15157 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15158 *) { eval $ac_var=; unset $ac_var;} ;;
15164 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15165 *${as_nl}ac_space
=\
*)
15166 # `set' does not quote correctly, so add quotes: double-quote
15167 # substitution turns \\\\ into \\, and sed turns \\ into \.
15170 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15173 # `set' quotes correctly as required by POSIX, so do not add quotes.
15174 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15183 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15185 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15187 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15188 if test -w "$cache_file"; then
15189 if test "x$cache_file" != "x/dev/null"; then
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15191 $as_echo "$as_me: updating cache $cache_file" >&6;}
15192 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15193 cat confcache
>"$cache_file"
15195 case $cache_file in #(
15197 mv -f confcache
"$cache_file"$$
&&
15198 mv -f "$cache_file"$$
"$cache_file" ;; #(
15200 mv -f confcache
"$cache_file" ;;
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15206 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15211 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15212 # Let make expand exec_prefix.
15213 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15215 DEFS
=-DHAVE_CONFIG_H
15220 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15221 # 1. Remove the extension, and $U if already installed.
15222 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15223 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15224 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15225 # will be set to the directory where LIBOBJS objects are built.
15226 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15227 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15229 LIBOBJS
=$ac_libobjs
15231 LTLIBOBJS
=$ac_ltlibobjs
15235 : "${CONFIG_STATUS=./config.status}"
15237 ac_clean_files_save
=$ac_clean_files
15238 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15239 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15240 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15242 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15244 # Generated by $as_me.
15245 # Run this file to recreate the current configuration.
15246 # Compiler output produced by configure, useful for debugging
15247 # configure, is in config.log if it exists.
15250 ac_cs_recheck=false
15253 SHELL=\${CONFIG_SHELL-$SHELL}
15256 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15257 ## -------------------- ##
15258 ## M4sh Initialization. ##
15259 ## -------------------- ##
15261 # Be more Bourne compatible
15262 DUALCASE
=1; export DUALCASE
# for MKS sh
15263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15266 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15267 # is contrary to our usage. Disable this feature.
15268 alias -g '${1+"$@"}'='"$@"'
15269 setopt NO_GLOB_SUBST
15271 case `(set -o) 2>/dev/null` in #(
15283 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15284 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15285 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15286 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15287 # Prefer a ksh shell builtin over an external printf program on Solaris,
15288 # but without wasting forks for bash or zsh.
15289 if test -z "$BASH_VERSION$ZSH_VERSION" \
15290 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15291 as_echo='print
-r --'
15292 as_echo_n='print
-rn --'
15293 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15294 as_echo='printf %s
\n'
15295 as_echo_n='printf %s
'
15297 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15298 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15299 as_echo_n='/usr
/ucb
/echo -n'
15301 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15302 as_echo_n_body='eval
15306 expr "X$arg" : "X\\(.*\\)$as_nl";
15307 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15309 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15311 export as_echo_n_body
15312 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15314 export as_echo_body
15315 as_echo='sh
-c $as_echo_body as_echo
'
15318 # The user is always right.
15319 if test "${PATH_SEPARATOR+set}" != set; then
15321 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15322 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15329 # We need space, tab and new line, in precisely that order. Quoting is
15330 # there to prevent editors from complaining about space-tab.
15331 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15332 # splitting by setting IFS to empty value.)
15335 # Find who we are. Look in the path if we contain no directory separator.
15338 *[\\/]* ) as_myself=$0 ;;
15339 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15340 for as_dir in $PATH
15343 test -z "$as_dir" && as_dir=.
15344 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15350 # We did not find ourselves, most probably we were run as `sh COMMAND'
15351 # in which case we are not to be found in the path.
15352 if test "x$as_myself" = x
; then
15355 if test ! -f "$as_myself"; then
15356 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15360 # Unset variables that we do not need and which cause bugs (e.g. in
15361 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15362 # suppresses any "Segmentation fault" message there. '((' could
15363 # trigger a bug in pdksh 5.2.14.
15364 for as_var
in BASH_ENV ENV MAIL MAILPATH
15365 do eval test x\
${$as_var+set} = xset \
15366 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15379 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15382 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15383 # ----------------------------------------
15384 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15385 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15386 # script with STATUS, using 1 if that was 0.
15389 as_status
=$1; test $as_status -eq 0 && as_status
=1
15391 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15392 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15394 $as_echo "$as_me: error: $2" >&2
15395 as_fn_exit
$as_status
15399 # as_fn_set_status STATUS
15400 # -----------------------
15401 # Set $? to STATUS, without forking.
15402 as_fn_set_status
()
15405 } # as_fn_set_status
15407 # as_fn_exit STATUS
15408 # -----------------
15409 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15413 as_fn_set_status
$1
15419 # Portably unset VAR.
15422 { eval $1=; unset $1;}
15424 as_unset
=as_fn_unset
15425 # as_fn_append VAR VALUE
15426 # ----------------------
15427 # Append the text in VALUE to the end of the definition contained in VAR. Take
15428 # advantage of any shell optimizations that allow amortized linear growth over
15429 # repeated appends, instead of the typical quadratic growth present in naive
15431 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15432 eval 'as_fn_append ()
15443 # as_fn_arith ARG...
15444 # ------------------
15445 # Perform arithmetic evaluation on the ARGs, and store the result in the
15446 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15447 # must be portable across $(()) and expr.
15448 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15449 eval 'as_fn_arith ()
15456 as_val
=`expr "$@" || test $? -eq 1`
15461 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15462 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15468 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15469 as_basename
=basename
15474 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15480 as_me
=`$as_basename -- "$0" ||
15481 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15482 X"$0" : 'X\(//\)$' \| \
15483 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15485 sed '/^.*\/\([^/][^/]*\)\/*$/{
15499 # Avoid depending upon Character Ranges.
15500 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15501 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15502 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15503 as_cr_digits
='0123456789'
15504 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15506 ECHO_C
= ECHO_N
= ECHO_T
=
15507 case `echo -n x` in #(((((
15509 case `echo 'xy\c'` in
15510 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15512 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15519 rm -f conf$$ conf$$.exe conf$$.
file
15520 if test -d conf$$.dir
; then
15521 rm -f conf$$.dir
/conf$$.
file
15524 mkdir conf$$.dir
2>/dev
/null
15526 if (echo >conf$$.
file) 2>/dev
/null
; then
15527 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15529 # ... but there are two gotchas:
15530 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15531 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15532 # In both cases, we have to default to `cp -pR'.
15533 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15535 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15543 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15544 rmdir conf$$.dir
2>/dev
/null
15549 # Create "$as_dir" as a directory, including parents if necessary.
15554 -*) as_dir
=.
/$as_dir;;
15556 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15560 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15561 *) as_qdir
=$as_dir;;
15563 as_dirs
="'$as_qdir' $as_dirs"
15564 as_dir
=`$as_dirname -- "$as_dir" ||
15565 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15566 X"$as_dir" : 'X\(//\)[^/]' \| \
15567 X"$as_dir" : 'X\(//\)$' \| \
15568 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15569 $as_echo X"$as_dir" |
15570 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15574 /^X\(\/\/\)[^/].*/{
15587 test -d "$as_dir" && break
15589 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15590 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15594 if mkdir
-p .
2>/dev
/null
; then
15595 as_mkdir_p
='mkdir -p "$as_dir"'
15597 test -d .
/-p && rmdir .
/-p
15602 # as_fn_executable_p FILE
15603 # -----------------------
15604 # Test if FILE is an executable regular file.
15605 as_fn_executable_p
()
15607 test -f "$1" && test -x "$1"
15608 } # as_fn_executable_p
15609 as_test_x
='test -x'
15610 as_executable_p
=as_fn_executable_p
15612 # Sed expression to map a string onto a valid CPP name.
15613 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15615 # Sed expression to map a string onto a valid variable name.
15616 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15620 ## ----------------------------------- ##
15621 ## Main body of $CONFIG_STATUS script. ##
15622 ## ----------------------------------- ##
15624 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15626 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15627 # Save the log message, to keep $0 and so on meaningful, and to
15628 # report actual input values of CONFIG_FILES etc. instead of their
15629 # values after options handling.
15631 This file was extended by $as_me, which was
15632 generated by GNU Autoconf 2.69. Invocation command line was
15634 CONFIG_FILES = $CONFIG_FILES
15635 CONFIG_HEADERS = $CONFIG_HEADERS
15636 CONFIG_LINKS = $CONFIG_LINKS
15637 CONFIG_COMMANDS = $CONFIG_COMMANDS
15640 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15645 case $ac_config_files in *"
15646 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15649 case $ac_config_headers in *"
15650 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15655 # Files that config.status was made for.
15656 config_files="$ac_config_files"
15657 config_headers="$ac_config_headers"
15658 config_commands="$ac_config_commands"
15662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15664 \`$as_me' instantiates files and other configuration actions
15665 from templates according to the current configuration. Unless the files
15666 and actions are specified as TAGs, all are instantiated by default.
15668 Usage: $0 [OPTION]... [TAG]...
15670 -h, --help print this help, then exit
15671 -V, --version print version number and configuration settings, then exit
15672 --config print configuration, then exit
15673 -q, --quiet, --silent
15674 do not print progress messages
15675 -d, --debug don't remove temporary files
15676 --recheck update $as_me by reconfiguring in the same conditions
15677 --file=FILE[:TEMPLATE]
15678 instantiate the configuration file FILE
15679 --header=FILE[:TEMPLATE]
15680 instantiate the configuration header FILE
15682 Configuration files:
15685 Configuration headers:
15688 Configuration commands:
15691 Report bugs to the package provider."
15694 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15695 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15698 configured by $0, generated by GNU Autoconf 2.69,
15699 with options \\"\$ac_cs_config\\"
15701 Copyright (C) 2012 Free Software Foundation, Inc.
15702 This config.status script is free software; the Free Software Foundation
15703 gives unlimited permission to copy, distribute and modify it."
15707 test -n "\$AWK" || AWK=awk
15710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15711 # The default lists apply if the user does not specify any file.
15717 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15718 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15722 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15734 # Handling of the options.
15735 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15737 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15738 $as_echo "$ac_cs_version"; exit ;;
15739 --config |
--confi |
--conf |
--con |
--co |
--c )
15740 $as_echo "$ac_cs_config"; exit ;;
15741 --debug |
--debu |
--deb |
--de |
--d |
-d )
15743 --file |
--fil |
--fi |
--f )
15746 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15747 '') as_fn_error $?
"missing file argument" ;;
15749 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15750 ac_need_defaults
=false
;;
15751 --header |
--heade |
--head |
--hea )
15754 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15756 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15757 ac_need_defaults
=false
;;
15759 # Conflict between --help and --header
15760 as_fn_error $?
"ambiguous option: \`$1'
15761 Try \`$0 --help' for more information.";;
15762 --help |
--hel |
-h )
15763 $as_echo "$ac_cs_usage"; exit ;;
15764 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15765 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15768 # This is an error.
15769 -*) as_fn_error $?
"unrecognized option: \`$1'
15770 Try \`$0 --help' for more information." ;;
15772 *) as_fn_append ac_config_targets
" $1"
15773 ac_need_defaults
=false
;;
15779 ac_configure_extra_args
=
15781 if $ac_cs_silent; then
15783 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15787 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15788 if \$ac_cs_recheck; then
15789 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15791 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15792 CONFIG_SHELL='$SHELL'
15793 export CONFIG_SHELL
15798 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15802 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15803 ## Running $as_me. ##
15809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15813 aros_tools_dir=${aros_tools_dir}
15816 aros_host_exe_suffix=${aros_host_exe_suffix}
15817 aros_tools_dir=${aros_tools_dir}
15818 aros_target_cpu=${aros_target_cpu}
15819 aros_target_arch=${aros_target_arch}
15820 aros_target_suffix=${aros_target_suffix}
15821 orig_target_nm=${orig_target_nm}
15822 orig_target_as=${orig_target_as}
15823 orig_target_ar=${orig_target_ar}
15824 orig_target_ranlib=${orig_target_ranlib}
15825 orig_target_objdump=${orig_target_objdump}
15826 orig_target_objcopy=${orig_target_objcopy}
15827 orig_target_strip=${orig_target_strip}
15828 aros_kernel_ld=${aros_kernel_ld}
15832 aros_host_exe_suffix=${aros_host_exe_suffix}
15833 aros_tools_dir=${aros_tools_dir}
15834 aros_target_cpu=${aros_target_cpu}
15835 aros_target_arch=${aros_target_arch}
15836 aros_target_suffix=${aros_target_suffix}
15837 aros_kernel_ld=${aros_kernel_ld}
15841 aros_host_exe_suffix=${aros_host_exe_suffix}
15842 aros_tools_dir=${aros_tools_dir}
15843 aros_target_cpu=${aros_target_cpu}
15844 aros_target_arch=${aros_target_arch}
15845 aros_target_suffix=${aros_target_suffix}
15851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15853 # Handling of arguments.
15854 for ac_config_target
in $ac_config_targets
15856 case $ac_config_target in
15857 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15858 "genmf-executable-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf-executable-support" ;;
15859 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15860 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15861 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15862 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15863 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15864 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15865 "${aros_targetcfg_dir}/build.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/build.cfg:config/build.cfg.in" ;;
15866 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15867 "compiler/include/mmakefile") CONFIG_FILES
="$CONFIG_FILES compiler/include/mmakefile:compiler/include/mmakefile.in" ;;
15868 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15869 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15870 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15871 "binutils-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS binutils-support" ;;
15872 "${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${aros_ld}") CONFIG_FILES="$CONFIG_FILES ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${aros_ld}:scripts/aros-ld.in" ;;
15873 "elf-compiler-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS elf-compiler-support" ;;
15874 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15875 "${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" ;;
15876 "host-compiler-wrapper-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS host-compiler-wrapper-support" ;;
15877 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15878 "${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" ;;
15879 "${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" ;;
15880 "${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" ;;
15881 "${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" ;;
15882 "${aros_targetcfg_dir}/conf.cmake") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in" ;;
15884 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15889 # If the user did not use the arguments to specify the items to instantiate,
15890 # then the envvar interface is used. Set only those that are not.
15891 # We use the long form for the default assignment because of an extremely
15892 # bizarre bug on SunOS 4.1.3.
15893 if $ac_need_defaults; then
15894 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15895 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15896 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15899 # Have a temporary directory for convenience. Make it in the build tree
15900 # simply because there is no reason against having it here, and in addition,
15901 # creating and moving files from /tmp can sometimes cause problems.
15902 # Hook for its removal unless debugging.
15903 # Note that there is a small window in which the directory will not be cleaned:
15904 # after its creation but before its name has been assigned to `$tmp'.
15908 trap 'exit_status=$?
15909 : "${ac_tmp:=$tmp}"
15910 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15912 trap 'as_fn_exit 1' 1 2 13 15
15914 # Create a (secure) tmp directory for tmp files.
15917 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15921 tmp
=.
/conf$$
-$RANDOM
15922 (umask 077 && mkdir
"$tmp")
15923 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15926 # Set up the scripts for CONFIG_FILES section.
15927 # No need to generate them if there are no CONFIG_FILES.
15928 # This happens for instance with `./config.status config.h'.
15929 if test -n "$CONFIG_FILES"; then
15932 ac_cr
=`echo X | tr X '\015'`
15933 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15934 # But we know of no other shell where ac_cr would be empty at this
15935 # point, so we can use a bashism as a fallback.
15936 if test "x$ac_cr" = x
; then
15937 eval ac_cr
=\$
\'\\r
\'
15939 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15940 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15943 ac_cs_awk_cr
=$ac_cr
15946 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15951 echo "cat >conf$$subs.awk <<_ACEOF" &&
15952 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15954 } >conf$$subs.sh ||
15955 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15956 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15958 for ac_last_try in false false false false false :; do
15959 . ./conf$$subs.sh ||
15960 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15962 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15963 if test $ac_delim_n = $ac_delim_num; then
15965 elif $ac_last_try; then
15966 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15968 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15971 rm -f conf$$subs.sh
15973 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15974 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15978 s/^/S["/; s
/!.
*/"]=/
15988 s/\(.\{148\}\)..*/\1/
15990 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15995 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16002 s/\(.\{148\}\)..*/\1/
16004 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16008 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16013 ' <conf$$subs.awk | sed '
16018 ' >>$CONFIG_STATUS || ac_write_fail=1
16019 rm -f conf$$subs.awk
16020 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16022 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16023 for (key in S) S_is_set[key] = 1
16029 nfields = split(line, field, "@
")
16031 len = length(field[1])
16032 for (i = 2; i < nfields; i++) {
16034 keylen = length(key)
16035 if (S_is_set[key]) {
16037 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16038 len += length(value) + length(field[++i])
16049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16050 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16051 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16054 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16055 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16058 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16059 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16060 # trailing colons and then remove the whole line if VPATH becomes empty
16061 # (actually we leave an empty line to preserve line numbers).
16062 if test "x
$srcdir" = x.; then
16063 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16082 fi # test -n "$CONFIG_FILES"
16084 # Set up the scripts for CONFIG_HEADERS section.
16085 # No need to generate them if there are no CONFIG_HEADERS.
16086 # This happens for instance with `./config.status Makefile'.
16087 if test -n "$CONFIG_HEADERS"; then
16088 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16092 # Transform confdefs.h into an awk script `defines.awk', embedded as
16093 # here-document in config.status, that substitutes the proper values into
16094 # config.h.in to produce config.h.
16096 # Create a delimiter string that does not exist in confdefs.h, to ease
16097 # handling of long lines.
16099 for ac_last_try in false false :; do
16100 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16101 if test -z "$ac_tt"; then
16103 elif $ac_last_try; then
16104 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16106 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16110 # For the awk script, D is an array of macro values keyed by name,
16111 # likewise P contains macro parameters if any. Preserve backslash
16112 # newline sequences.
16114 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16116 s/.\{148\}/&'"$ac_delim"'/g
16119 s/^[ ]*#[ ]*define[ ][ ]*/ /
16126 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16128 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16132 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16133 D["\
1"]=" \
3\\\\\\n
"\\/p
16135 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16140 s/.\{148\}/&'"$ac_delim"'/g
16145 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16148 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16150 ' <confdefs.h | sed '
16151 s/'"$ac_delim"'/"\\\
16152 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16155 for (key in D) D_is_set[key] = 1
16158 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16160 split(line, arg, " ")
16161 if (arg[1] == "#") {
16165 defundef
= substr
(arg
[1], 2)
16168 split(mac1
, mac2
, "(") #)
16170 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16171 if (D_is_set
[macro
]) {
16172 # Preserve the white space surrounding the "#".
16173 print prefix
"define", macro P
[macro
] D
[macro
]
16176 # Replace #undef with comments. This is necessary, for example,
16177 # in the case of _POSIX_SOURCE, which is predefined and required
16178 # on some systems where configure will not decide to define it.
16179 if (defundef
== "undef") {
16180 print
"/*", prefix defundef
, macro
, "*/"
16188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16189 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16190 fi # test -n "$CONFIG_HEADERS"
16193 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16198 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16200 case $ac_mode$ac_tag in
16202 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16203 :[FH
]-) ac_tag
=-:-;;
16204 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16221 -) ac_f
="$ac_tmp/stdin";;
16222 *) # Look for the file first in the build tree, then in the source tree
16223 # (if the path is not absolute). The absolute path cannot be DOS-style,
16224 # because $ac_f cannot contain `:'.
16228 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16230 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16232 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16233 as_fn_append ac_file_inputs
" '$ac_f'"
16236 # Let's still pretend it is `configure' which instantiates (i.e., don't
16237 # use $as_me), people would be surprised to read:
16238 # /* config.h. Generated by config.status. */
16239 configure_input
='Generated from '`
16240 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16242 if test x
"$ac_file" != x-
; then
16243 configure_input
="$ac_file. $configure_input"
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16245 $as_echo "$as_me: creating $ac_file" >&6;}
16247 # Neutralize special characters interpreted by sed in replacement strings.
16248 case $configure_input in #(
16249 *\
&* |
*\|
* |
*\\* )
16250 ac_sed_conf_input
=`$as_echo "$configure_input" |
16251 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16252 *) ac_sed_conf_input
=$configure_input;;
16256 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16257 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16262 ac_dir
=`$as_dirname -- "$ac_file" ||
16263 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16264 X"$ac_file" : 'X\(//\)[^/]' \| \
16265 X"$ac_file" : 'X\(//\)$' \| \
16266 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16267 $as_echo X"$ac_file" |
16268 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16272 /^X\(\/\/\)[^/].*/{
16285 as_dir
="$ac_dir"; as_fn_mkdir_p
16289 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16291 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16292 # A ".." for each directory in $ac_dir_suffix.
16293 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16294 case $ac_top_builddir_sub in
16295 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16296 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16299 ac_abs_top_builddir
=$ac_pwd
16300 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16301 # for backward compatibility:
16302 ac_top_builddir
=$ac_top_build_prefix
16305 .
) # We are building in place.
16307 ac_top_srcdir
=$ac_top_builddir_sub
16308 ac_abs_top_srcdir
=$ac_pwd ;;
16309 [\\/]* | ?
:[\\/]* ) # Absolute name.
16310 ac_srcdir
=$srcdir$ac_dir_suffix;
16311 ac_top_srcdir
=$srcdir
16312 ac_abs_top_srcdir
=$srcdir ;;
16313 *) # Relative name.
16314 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16315 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16316 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16318 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16330 # If the template does not know about datarootdir, expand it.
16331 # FIXME: This hack should be removed a few years after 2.60.
16332 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16343 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16344 *datarootdir
*) ac_datarootdir_seen
=yes;;
16345 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16347 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16350 ac_datarootdir_hack='
16351 s&@datadir@&$datadir&g
16352 s&@docdir@&$docdir&g
16353 s&@infodir@&$infodir&g
16354 s&@localedir@&$localedir&g
16355 s&@mandir@&$mandir&g
16356 s&\\\${datarootdir}&$datarootdir&g' ;;
16360 # Neutralize VPATH when `$srcdir' = `.'.
16361 # Shell code in configure.ac might set extrasub.
16362 # FIXME: do we really want to maintain this feature?
16363 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16364 ac_sed_extra="$ac_vpsub
16367 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16369 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16370 s|@configure_input@|
$ac_sed_conf_input|
;t t
16371 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16372 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16373 s
&@srcdir@
&$ac_srcdir&;t t
16374 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16375 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16376 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16377 s
&@builddir@
&$ac_builddir&;t t
16378 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16379 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16380 $ac_datarootdir_hack
16382 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16383 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16385 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16386 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16387 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16388 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16390 which seems to be undefined. Please make sure it is defined" >&5
16391 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16392 which seems to be undefined. Please make sure it is defined" >&2;}
16394 rm -f "$ac_tmp/stdin"
16396 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16397 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16399 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16405 if test x"$ac_file" != x-; then
16407 $as_echo "/* $configure_input */" \
16408 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16409 } >"$ac_tmp/config.h" \
16410 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16411 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16413 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16416 mv "$ac_tmp/config.h" "$ac_file" \
16417 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16420 $as_echo "/* $configure_input */" \
16421 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16422 || as_fn_error $? "could not create -" "$LINENO" 5
16426 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16427 $as_echo "$as_me: executing $ac_file commands" >&6;}
16432 case $ac_file$ac_mode in
16433 "genmf-executable-support":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
16434 "binutils-support":C)
16435 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16437 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
16439 chmod a+x ${prefix2}-ld
16441 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
16442 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
16443 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
16444 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
16445 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
16446 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
16447 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
16449 "elf-compiler-support":C)
16450 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16452 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
16454 chmod a+x ${prefix2}-gcc
16456 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix2}-ld$aros_host_exe_suffix
16458 "host-compiler-wrapper-support":C)
16459 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16461 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
16463 chmod a+x ${prefix2}-${toolchain_c_compiler} ${prefix2}-${toolchain_cxx_compiler} ${prefix2}-${toolchain_cpp_preprocessor}
16472 ac_clean_files=$ac_clean_files_save
16474 test $ac_write_fail = 0 ||
16475 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16478 # configure is writing to config.log, and then calls config.status.
16479 # config.status does its own redirection, appending to config.log.
16480 # Unfortunately, on DOS this fails, as config.log is still kept open
16481 # by configure, so config.status won't be able to
write to it
; its
16482 # output is simply discarded. So we exec the FD to /dev/null,
16483 # effectively closing config.log, so it can be properly (re)opened and
16484 # appended to by config.status. When coming back to configure, we
16485 # need to make the FD available again.
16486 if test "$no_create" != yes; then
16488 ac_config_status_args
=
16489 test "$silent" = yes &&
16490 ac_config_status_args
="$ac_config_status_args --quiet"
16492 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16494 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16495 # would make configure fail if this is the last instruction.
16496 $ac_cs_success || as_fn_exit
1
16498 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16500 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16505 #XXX compatability...
16506 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
16508 if test -n "$aros_shared_cflags" ; then
16509 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
16510 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg