2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="mmakefile"
586 # Factoring default headers for most tests.
587 ac_includes_default
="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
623 ac_subst_vars
='LTLIBOBJS
627 aros_host_x11_ldflags
639 target_binutils_version
641 ignore_undefined_symbols
653 gcc_default_float_abi
657 aros_nesting_supervisor
668 crosstools_cxx_target
672 aros_optimization_cflags
675 aros_target_strip_flags
683 aros_kernel_objcflags
709 aros_target_cc_includes
725 aros_target_bootloader
753 host_stat_h__unused_used
754 aros_amigaos_compliance
762 aros_target_toolchain
771 kernel_cflags_iquote_end
773 host_cflags_iquote_end
776 aros_target_nostdlib_ldflags
777 aros_target_detach_ldflags
778 aros_target_nix_ldflags
779 aros_target_nostartup_ldflags
780 aros_target_nostdinc_cflags
819 arosconfig_use_libpngconfig
903 program_transform_name
916 enable_option_checking
927 with_kernel_gcc_version
930 enable_target_variant
937 enable_amigaos_compliance
938 with_kernel_toolchain_prefix
939 with_elf_toolchain_prefix
942 with_aros_toolchain_install
943 with_binutils_version
957 enable_palm_debug_hack
959 enable_nesting_supervisor
971 ac_precious_vars
='build_alias
987 # Initialize some variables set by options.
989 ac_init_version
=false
990 ac_unrecognized_opts
=
992 # The variables have the same names as the options, with
993 # dashes changed to underlines.
1001 program_transform_name
=s
,x
,x
,
1009 # Installation directory options.
1010 # These are left unexpanded so users can "make install exec_prefix=/foo"
1011 # and all the variables that are supposed to be based on exec_prefix
1012 # by default will actually change.
1013 # Use braces instead of parens because sh, perl, etc. also accept them.
1014 # (The list follows the same order as the GNU Coding Standards.)
1015 bindir
='${exec_prefix}/bin'
1016 sbindir
='${exec_prefix}/sbin'
1017 libexecdir
='${exec_prefix}/libexec'
1018 datarootdir
='${prefix}/share'
1019 datadir
='${datarootdir}'
1020 sysconfdir
='${prefix}/etc'
1021 sharedstatedir
='${prefix}/com'
1022 localstatedir
='${prefix}/var'
1023 runstatedir
='${localstatedir}/run'
1024 includedir
='${prefix}/include'
1025 oldincludedir
='/usr/include'
1026 docdir
='${datarootdir}/doc/${PACKAGE}'
1027 infodir
='${datarootdir}/info'
1032 libdir
='${exec_prefix}/lib'
1033 localedir
='${datarootdir}/locale'
1034 mandir
='${datarootdir}/man'
1040 # If the previous option needs an argument, assign it.
1041 if test -n "$ac_prev"; then
1042 eval $ac_prev=\
$ac_option
1048 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1053 # Accept the important Cygnus configure options, so we can diagnose typos.
1055 case $ac_dashdash$ac_option in
1059 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1061 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1062 bindir
=$ac_optarg ;;
1064 -build |
--build |
--buil |
--bui |
--bu)
1065 ac_prev
=build_alias
;;
1066 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1067 build_alias
=$ac_optarg ;;
1069 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1070 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1071 ac_prev
=cache_file
;;
1072 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1073 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1074 cache_file
=$ac_optarg ;;
1076 --config-cache |
-C)
1077 cache_file
=config.cache
;;
1079 -datadir |
--datadir |
--datadi |
--datad)
1081 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1082 datadir
=$ac_optarg ;;
1084 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1085 |
--dataroo |
--dataro |
--datar)
1086 ac_prev
=datarootdir
;;
1087 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1088 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1089 datarootdir
=$ac_optarg ;;
1091 -disable-* |
--disable-*)
1092 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1093 # Reject names that are not valid shell variable names.
1094 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1095 as_fn_error $?
"invalid feature name: $ac_useropt"
1096 ac_useropt_orig
=$ac_useropt
1097 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1098 case $ac_user_opts in
1100 "enable_
$ac_useropt"
1102 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1103 ac_unrecognized_sep
=', ';;
1105 eval enable_
$ac_useropt=no
;;
1107 -docdir |
--docdir |
--docdi |
--doc |
--do)
1109 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1110 docdir
=$ac_optarg ;;
1112 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1114 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1115 dvidir
=$ac_optarg ;;
1117 -enable-* |
--enable-*)
1118 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1121 as_fn_error $?
"invalid feature name: $ac_useropt"
1122 ac_useropt_orig
=$ac_useropt
1123 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1124 case $ac_user_opts in
1126 "enable_
$ac_useropt"
1128 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1129 ac_unrecognized_sep
=', ';;
1131 eval enable_
$ac_useropt=\
$ac_optarg ;;
1133 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1134 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1135 |
--exec |
--exe |
--ex)
1136 ac_prev
=exec_prefix
;;
1137 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1138 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1139 |
--exec=* |
--exe=* |
--ex=*)
1140 exec_prefix
=$ac_optarg ;;
1142 -gas |
--gas |
--ga |
--g)
1143 # Obsolete; use --with-gas.
1146 -help |
--help |
--hel |
--he |
-h)
1147 ac_init_help
=long
;;
1148 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1149 ac_init_help
=recursive
;;
1150 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1151 ac_init_help
=short
;;
1153 -host |
--host |
--hos |
--ho)
1154 ac_prev
=host_alias
;;
1155 -host=* |
--host=* |
--hos=* |
--ho=*)
1156 host_alias
=$ac_optarg ;;
1158 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1160 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1162 htmldir
=$ac_optarg ;;
1164 -includedir |
--includedir |
--includedi |
--included |
--include \
1165 |
--includ |
--inclu |
--incl |
--inc)
1166 ac_prev
=includedir
;;
1167 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1168 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1169 includedir
=$ac_optarg ;;
1171 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1173 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1174 infodir
=$ac_optarg ;;
1176 -libdir |
--libdir |
--libdi |
--libd)
1178 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1179 libdir
=$ac_optarg ;;
1181 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1182 |
--libexe |
--libex |
--libe)
1183 ac_prev
=libexecdir
;;
1184 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1185 |
--libexe=* |
--libex=* |
--libe=*)
1186 libexecdir
=$ac_optarg ;;
1188 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1189 ac_prev
=localedir
;;
1190 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1191 localedir
=$ac_optarg ;;
1193 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1194 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1195 ac_prev
=localstatedir
;;
1196 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1197 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1198 localstatedir
=$ac_optarg ;;
1200 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1202 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1203 mandir
=$ac_optarg ;;
1205 -nfp |
--nfp |
--nf)
1206 # Obsolete; use --without-fp.
1209 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1210 |
--no-cr |
--no-c |
-n)
1213 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1214 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1217 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1218 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1219 |
--oldin |
--oldi |
--old |
--ol |
--o)
1220 ac_prev
=oldincludedir
;;
1221 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1222 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1223 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1224 oldincludedir
=$ac_optarg ;;
1226 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1228 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1229 prefix
=$ac_optarg ;;
1231 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1232 |
--program-pre |
--program-pr |
--program-p)
1233 ac_prev
=program_prefix
;;
1234 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1235 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1236 program_prefix
=$ac_optarg ;;
1238 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1239 |
--program-suf |
--program-su |
--program-s)
1240 ac_prev
=program_suffix
;;
1241 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1242 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1243 program_suffix
=$ac_optarg ;;
1245 -program-transform-name |
--program-transform-name \
1246 |
--program-transform-nam |
--program-transform-na \
1247 |
--program-transform-n |
--program-transform- \
1248 |
--program-transform |
--program-transfor \
1249 |
--program-transfo |
--program-transf \
1250 |
--program-trans |
--program-tran \
1251 |
--progr-tra |
--program-tr |
--program-t)
1252 ac_prev
=program_transform_name
;;
1253 -program-transform-name=* |
--program-transform-name=* \
1254 |
--program-transform-nam=* |
--program-transform-na=* \
1255 |
--program-transform-n=* |
--program-transform-=* \
1256 |
--program-transform=* |
--program-transfor=* \
1257 |
--program-transfo=* |
--program-transf=* \
1258 |
--program-trans=* |
--program-tran=* \
1259 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1260 program_transform_name
=$ac_optarg ;;
1262 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1264 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1265 pdfdir
=$ac_optarg ;;
1267 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1269 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1272 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1273 |
-silent |
--silent |
--silen |
--sile |
--sil)
1276 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1277 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1278 |
--run |
--ru |
--r)
1279 ac_prev
=runstatedir
;;
1280 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1281 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1282 |
--run=* |
--ru=* |
--r=*)
1283 runstatedir
=$ac_optarg ;;
1285 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1287 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1289 sbindir
=$ac_optarg ;;
1291 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1292 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1293 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1295 ac_prev
=sharedstatedir
;;
1296 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1297 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1298 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1300 sharedstatedir
=$ac_optarg ;;
1302 -site |
--site |
--sit)
1304 -site=* |
--site=* |
--sit=*)
1307 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1309 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1310 srcdir
=$ac_optarg ;;
1312 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1313 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1314 ac_prev
=sysconfdir
;;
1315 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1316 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1317 sysconfdir
=$ac_optarg ;;
1319 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1320 ac_prev
=target_alias
;;
1321 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1322 target_alias
=$ac_optarg ;;
1324 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1327 -version |
--version |
--versio |
--versi |
--vers |
-V)
1328 ac_init_version
=: ;;
1331 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1332 # Reject names that are not valid shell variable names.
1333 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1334 as_fn_error $?
"invalid package name: $ac_useropt"
1335 ac_useropt_orig
=$ac_useropt
1336 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1337 case $ac_user_opts in
1341 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1342 ac_unrecognized_sep
=', ';;
1344 eval with_
$ac_useropt=\
$ac_optarg ;;
1346 -without-* |
--without-*)
1347 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1348 # Reject names that are not valid shell variable names.
1349 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1350 as_fn_error $?
"invalid package name: $ac_useropt"
1351 ac_useropt_orig
=$ac_useropt
1352 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1353 case $ac_user_opts in
1357 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1358 ac_unrecognized_sep
=', ';;
1360 eval with_
$ac_useropt=no
;;
1363 # Obsolete; use --with-x.
1366 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1367 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1368 ac_prev
=x_includes
;;
1369 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1370 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1371 x_includes
=$ac_optarg ;;
1373 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1374 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1375 ac_prev
=x_libraries
;;
1376 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1377 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1378 x_libraries
=$ac_optarg ;;
1380 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1381 Try \`$0 --help' for more information"
1385 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1386 # Reject names that are not valid shell variable names.
1387 case $ac_envvar in #(
1388 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1389 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1391 eval $ac_envvar=\
$ac_optarg
1392 export $ac_envvar ;;
1395 # FIXME: should be removed in autoconf 3.0.
1396 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1397 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1398 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1399 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1405 if test -n "$ac_prev"; then
1406 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1407 as_fn_error $?
"missing argument to $ac_option"
1410 if test -n "$ac_unrecognized_opts"; then
1411 case $enable_option_checking in
1413 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1414 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1418 # Check all directory arguments for consistency.
1419 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1420 datadir sysconfdir sharedstatedir localstatedir includedir \
1421 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1422 libdir localedir mandir runstatedir
1424 eval ac_val
=\$
$ac_var
1425 # Remove trailing slashes.
1428 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1429 eval $ac_var=\
$ac_val;;
1431 # Be sure to have absolute directory names.
1433 [\\/$
]* | ?
:[\\/]* ) continue;;
1434 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1436 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1439 # There might be people who depend on the old broken behavior: `$host'
1440 # used to hold the argument of --host etc.
1441 # FIXME: To remove some day.
1444 target
=$target_alias
1446 # FIXME: To remove some day.
1447 if test "x$host_alias" != x
; then
1448 if test "x$build_alias" = x
; then
1449 cross_compiling
=maybe
1450 elif test "x$build_alias" != "x$host_alias"; then
1456 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1458 test "$silent" = yes && exec 6>/dev
/null
1461 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1462 ac_ls_di
=`ls -di .` &&
1463 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1464 as_fn_error $?
"working directory cannot be determined"
1465 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1466 as_fn_error $?
"pwd does not report name of working directory"
1469 # Find the source files, if location was not specified.
1470 if test -z "$srcdir"; then
1471 ac_srcdir_defaulted
=yes
1472 # Try the directory containing this script, then the parent directory.
1473 ac_confdir
=`$as_dirname -- "$as_myself" ||
1474 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1475 X"$as_myself" : 'X\(//\)[^/]' \| \
1476 X"$as_myself" : 'X\(//\)$' \| \
1477 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1478 $as_echo X"$as_myself" |
1479 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1497 if test ! -r "$srcdir/$ac_unique_file"; then
1501 ac_srcdir_defaulted
=no
1503 if test ! -r "$srcdir/$ac_unique_file"; then
1504 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1505 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1507 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1509 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1511 # When building in place, set srcdir=.
1512 if test "$ac_abs_confdir" = "$ac_pwd"; then
1515 # Remove unnecessary trailing slashes from srcdir.
1516 # Double slashes in file names in object file debugging info
1517 # mess up M-x gdb in Emacs.
1519 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1521 for ac_var
in $ac_precious_vars; do
1522 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1523 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1524 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1525 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1529 # Report the --help message.
1531 if test "$ac_init_help" = "long"; then
1532 # Omit some internal or obsolete options to make the list less imposing.
1533 # This message is too long to be a string in the A/UX 3.1 sh.
1535 \`configure' configures this package to adapt to many kinds of systems.
1537 Usage: $0 [OPTION]... [VAR=VALUE]...
1539 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1540 VAR=VALUE. See below for descriptions of some of the useful variables.
1542 Defaults for the options are specified in brackets.
1545 -h, --help display this help and exit
1546 --help=short display options specific to this package
1547 --help=recursive display the short help of all the included packages
1548 -V, --version display version information and exit
1549 -q, --quiet, --silent do not print \`checking ...' messages
1550 --cache-file=FILE cache test results in FILE [disabled]
1551 -C, --config-cache alias for \`--cache-file=config.cache'
1552 -n, --no-create do not create output files
1553 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1555 Installation directories:
1556 --prefix=PREFIX install architecture-independent files in PREFIX
1557 [$ac_default_prefix]
1558 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1561 By default, \`make install' will install all the files in
1562 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1563 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1564 for instance \`--prefix=\$HOME'.
1566 For better control, use the options below.
1568 Fine tuning of the installation directories:
1569 --bindir=DIR user executables [EPREFIX/bin]
1570 --sbindir=DIR system admin executables [EPREFIX/sbin]
1571 --libexecdir=DIR program executables [EPREFIX/libexec]
1572 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1573 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1574 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1575 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1576 --libdir=DIR object code libraries [EPREFIX/lib]
1577 --includedir=DIR C header files [PREFIX/include]
1578 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1579 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1580 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1581 --infodir=DIR info documentation [DATAROOTDIR/info]
1582 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1583 --mandir=DIR man documentation [DATAROOTDIR/man]
1584 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1585 --htmldir=DIR html documentation [DOCDIR]
1586 --dvidir=DIR dvi documentation [DOCDIR]
1587 --pdfdir=DIR pdf documentation [DOCDIR]
1588 --psdir=DIR ps documentation [DOCDIR]
1594 --x-includes=DIR X include files are
in DIR
1595 --x-libraries=DIR X library files are
in DIR
1598 --build=BUILD configure
for building on BUILD
[guessed
]
1599 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1603 if test -n "$ac_init_help"; then
1608 --disable-option-checking ignore unrecognized
--enable/--with options
1609 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1610 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1611 --disable-libpng-config disable libpng-config
test and configuration
1612 --enable-lto=yes|no Enable link
time optimizations
if the target
1613 compiler supports them
(default
=no
)
1614 --enable-coverage=yes|no
1615 Enable coverage instrumentation
if the target
1616 compiler supports it
(default
=no
)
1617 --enable-build-type=TYPE
1618 Select the build
type. Available types are
:
1619 personal
, nightly
, snapshot
, milestone
, release. Do
1620 NOT use this option unless you know what you are
1621 doing
! (default
=personal
)
1622 --enable-debug=list Enable different types of debug. Commas or
1623 whitespaces can be used to separate the items
in the
1624 list. Available types of debug are
: all
, none
,
1625 messages
, stack
, mungwall
, modules
, symbols. If no
1626 list is provided
then "all" is assumed.
1628 --enable-distcc Use distcc as a front end to the compiler
1630 --enable-ccache Use ccache as a front end to the compiler
1632 --enable-target-variant=NAME
1633 Enable a specific target variant
(default
=none
)
1634 --enable-amigaos-compliance=VERSION
1635 Enforce userspace AmigaOS compliance to a specific
1636 KickStart version
(default
=none
).
1637 --disable-crosstools Do not build cross-compiler toolchain
1638 --enable-objc Enable Objectve-C support
(default
=no
)
1639 --enable-java Enable Java support
(default
=no
)
1640 --enable-includes=dir Alternative system include directory
1641 --enable-palm-debug-hack
1642 Enable palm debug output hack
in palm native
1644 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1645 --enable-nesting-supervisor
1646 Enable nesting supervisor support
in unix
1648 --disable-mmu Disable MMU support
(default
=enabled
)
1649 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1650 --enable-x11-shm use X11 shared memory
(default
=auto
)
1651 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1652 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1653 --disable-sdltest Do not try to compile and run a
test SDL program
1654 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1657 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1658 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1659 --with-c-compiler=VERSION
1660 Use specified c compiler
for building AROS
1661 --with-cxx-compiler=VERSION
1662 Use specified c
++ compiler building AROS
1663 --with-toolchain=family Which toolchain family to crosscompile with
1665 --with-kernel-gcc-version=VERSION
1666 Use gcc-VERSION
for building bootstrap
1667 --with-optimization=FLAGS
1668 Use optimization flags FLAGS
(e.g
1669 --with-optimization=-O2).
1670 --with-paranoia=(yes|no|FLAGS
)
1671 Specific compiler warning FLAGS to
enable for
1672 paranoia builds
(default
=-Wall -Werror)
1673 --with-xcode=PATH Specify XCode path
for iOS targets
1674 (default
=/Developer
).
1675 --with-sdk-version=VERSION
1676 Use iOS SDK version VERSION
(default
=4.1).
1677 --with-sdk=PATH Specify Android SDK path
1678 (default
=$default_android_sdk).
1679 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1680 --with-sdk-version=LEVEL
1681 Use Android SDK
for API LEVEL
(default
=12).
1682 --with-ndk-version=LEVEL
1683 Use Android NDK
for API LEVEL
(default
=9).
1684 --with-apk-version=(release|debug
)
1685 Which version of AROSBootstrap.apk to compile.
1686 Release version needs key
for signing
, debug version
1687 will only run
in emulator.
(default
=release
)
1688 --with-kernel-toolchain-prefix=...
1689 Specify crosscompile toolchain prefix
for kernel
1691 --with-elf-toolchain-prefix=...
1692 Specify crosscompile toolchain prefix to wrap
for
1694 --with-aros-toolchain=PREFIX
1695 Specify prebuilt AROS toolchain. Use
yes for default
1697 --with-aros-toolchain-install=DIR
1698 Where to
install or search
for cross tools binaries
1699 --with-binutils-version=VERSION
1700 Use binutils-VERSION
for building AROS
1701 --with-gcc-version=VERSION
1702 Compile gcc-VERSION
for AROS
1703 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1704 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1705 --with-float=<spec
> Specify floating point ABI
1706 (default
=$gcc_default_float_abi).
1707 --with-portssources=DIR Where to download sourcecode
for external ports
1708 --with-bootloader=NAME Use a specific bootloader
1709 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1710 --with-theme=NAME Use a specific GUI Theme
1711 --with-resolution=XRESxYRESxDEPTH
1712 Default resolution of the initial WorkbenchScreen
1713 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1714 --with-x use the X Window System
1715 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1716 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1718 Some influential environment variables
:
1719 CXX C
++ compiler
command
1720 CXXFLAGS C
++ compiler flags
1721 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1722 nonstandard directory
<lib dir
>
1723 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1724 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1725 you have headers
in a nonstandard directory
<include dir
>
1726 CC C compiler
command
1727 CFLAGS C compiler flags
1729 PYTHON the Python interpreter
1730 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1732 Use these variables to override the choices made by
`configure' or to help
1733 it to find libraries and programs with nonstandard names/locations.
1735 Report bugs to the package provider.
1740 if test "$ac_init_help" = "recursive"; then
1741 # If there are subdirs, report their specific --help.
1742 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1743 test -d "$ac_dir" ||
1744 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1749 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1751 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1752 # A ".." for each directory in $ac_dir_suffix.
1753 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1754 case $ac_top_builddir_sub in
1755 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1756 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1759 ac_abs_top_builddir=$ac_pwd
1760 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1761 # for backward compatibility:
1762 ac_top_builddir=$ac_top_build_prefix
1765 .) # We are building in place.
1767 ac_top_srcdir=$ac_top_builddir_sub
1768 ac_abs_top_srcdir=$ac_pwd ;;
1769 [\\/]* | ?:[\\/]* ) # Absolute name.
1770 ac_srcdir=$srcdir$ac_dir_suffix;
1771 ac_top_srcdir=$srcdir
1772 ac_abs_top_srcdir=$srcdir ;;
1774 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1775 ac_top_srcdir=$ac_top_build_prefix$srcdir
1776 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1778 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1780 cd "$ac_dir" || { ac_status=$?; continue; }
1781 # Check for guested configure.
1782 if test -f "$ac_srcdir/configure.gnu"; then
1784 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1785 elif test -f "$ac_srcdir/configure"; then
1787 $SHELL "$ac_srcdir/configure" --help=recursive
1789 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1791 cd "$ac_pwd" || { ac_status=$?; break; }
1795 test -n "$ac_init_help" && exit $ac_status
1796 if $ac_init_version; then
1799 generated by GNU Autoconf 2.69
1801 Copyright (C) 2012 Free Software Foundation, Inc.
1802 This configure script is free software; the Free Software Foundation
1803 gives unlimited permission to copy, distribute and modify it.
1808 ## ------------------------ ##
1809 ## Autoconf initialization. ##
1810 ## ------------------------ ##
1812 # ac_fn_cxx_try_compile LINENO
1813 # ----------------------------
1814 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1815 ac_fn_cxx_try_compile ()
1817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1818 rm -f conftest.$ac_objext
1819 if { { ac_try="$ac_compile"
1821 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1822 *) ac_try_echo
=$ac_try;;
1824 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1825 $as_echo "$ac_try_echo"; } >&5
1826 (eval "$ac_compile") 2>conftest.err
1828 if test -s conftest.err
; then
1829 grep -v '^ *+' conftest.err
>conftest.er1
1830 cat conftest.er1
>&5
1831 mv -f conftest.er1 conftest.err
1833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1834 test $ac_status = 0; } && {
1835 test -z "$ac_cxx_werror_flag" ||
1836 test ! -s conftest.err
1837 } && test -s conftest.
$ac_objext; then :
1840 $as_echo "$as_me: failed program was:" >&5
1841 sed 's/^/| /' conftest.
$ac_ext >&5
1845 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1846 as_fn_set_status
$ac_retval
1848 } # ac_fn_cxx_try_compile
1850 # ac_fn_c_try_compile LINENO
1851 # --------------------------
1852 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1853 ac_fn_c_try_compile
()
1855 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1856 rm -f conftest.
$ac_objext
1857 if { { ac_try
="$ac_compile"
1859 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1860 *) ac_try_echo=$ac_try;;
1862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1863 $as_echo "$ac_try_echo"; } >&5
1864 (eval "$ac_compile") 2>conftest.err
1866 if test -s conftest.err; then
1867 grep -v '^ *+' conftest.err >conftest.er1
1868 cat conftest.er1 >&5
1869 mv -f conftest.er1 conftest.err
1871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1872 test $ac_status = 0; } && {
1873 test -z "$ac_c_werror_flag" ||
1874 test ! -s conftest.err
1875 } && test -s conftest.$ac_objext; then :
1878 $as_echo "$as_me: failed program was:" >&5
1879 sed 's/^/| /' conftest.$ac_ext >&5
1883 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1884 as_fn_set_status $ac_retval
1886 } # ac_fn_c_try_compile
1888 # ac_fn_c_try_cpp LINENO
1889 # ----------------------
1890 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1893 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1894 if { { ac_try="$ac_cpp conftest.$ac_ext"
1896 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1897 *) ac_try_echo
=$ac_try;;
1899 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1900 $as_echo "$ac_try_echo"; } >&5
1901 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1903 if test -s conftest.err
; then
1904 grep -v '^ *+' conftest.err
>conftest.er1
1905 cat conftest.er1
>&5
1906 mv -f conftest.er1 conftest.err
1908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1909 test $ac_status = 0; } > conftest.i
&& {
1910 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1911 test ! -s conftest.err
1915 $as_echo "$as_me: failed program was:" >&5
1916 sed 's/^/| /' conftest.
$ac_ext >&5
1920 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1921 as_fn_set_status
$ac_retval
1925 # ac_fn_c_try_link LINENO
1926 # -----------------------
1927 # Try to link conftest.$ac_ext, and return whether this succeeded.
1930 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1931 rm -f conftest.
$ac_objext conftest
$ac_exeext
1932 if { { ac_try
="$ac_link"
1934 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1935 *) ac_try_echo=$ac_try;;
1937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1938 $as_echo "$ac_try_echo"; } >&5
1939 (eval "$ac_link") 2>conftest.err
1941 if test -s conftest.err; then
1942 grep -v '^ *+' conftest.err >conftest.er1
1943 cat conftest.er1 >&5
1944 mv -f conftest.er1 conftest.err
1946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1947 test $ac_status = 0; } && {
1948 test -z "$ac_c_werror_flag" ||
1949 test ! -s conftest.err
1950 } && test -s conftest$ac_exeext && {
1951 test "$cross_compiling" = yes ||
1952 test -x conftest$ac_exeext
1956 $as_echo "$as_me: failed program was:" >&5
1957 sed 's/^/| /' conftest.$ac_ext >&5
1961 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1962 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1963 # interfere with the next link command; also delete a directory that is
1964 # left behind by Apple's compiler. We do this before executing the actions.
1965 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1966 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1967 as_fn_set_status $ac_retval
1969 } # ac_fn_c_try_link
1971 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1972 # -------------------------------------------------------
1973 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1974 # the include files in INCLUDES and setting the cache variable VAR
1976 ac_fn_c_check_header_mongrel ()
1978 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1979 if eval \${$3+:} false; then :
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1981 $as_echo_n "checking for $2... " >&6; }
1982 if eval \${$3+:} false; then :
1983 $as_echo_n "(cached) " >&6
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1987 $as_echo "$ac_res" >&6; }
1989 # Is the header compilable?
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1991 $as_echo_n "checking $2 usability... " >&6; }
1992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1993 /* end confdefs.h. */
1997 if ac_fn_c_try_compile "$LINENO"; then :
1998 ac_header_compiler=yes
2000 ac_header_compiler=no
2002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2004 $as_echo "$ac_header_compiler" >&6; }
2006 # Is the header present?
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2008 $as_echo_n "checking $2 presence... " >&6; }
2009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2010 /* end confdefs.h. */
2013 if ac_fn_c_try_cpp "$LINENO"; then :
2014 ac_header_preproc=yes
2016 ac_header_preproc=no
2018 rm -f conftest.err conftest.i conftest.$ac_ext
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2020 $as_echo "$ac_header_preproc" >&6; }
2022 # So? What about this header?
2023 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2026 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2028 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2032 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2034 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2036 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2038 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2040 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2044 $as_echo_n "checking for $2... " >&6; }
2045 if eval \${$3+:} false; then :
2046 $as_echo_n "(cached) " >&6
2048 eval "$3=\$ac_header_compiler"
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2052 $as_echo "$ac_res" >&6; }
2054 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2056 } # ac_fn_c_check_header_mongrel
2058 # ac_fn_c_try_run LINENO
2059 # ----------------------
2060 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2061 # that executables *can* be run.
2064 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2065 if { { ac_try="$ac_link"
2067 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2068 *) ac_try_echo
=$ac_try;;
2070 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2071 $as_echo "$ac_try_echo"; } >&5
2072 (eval "$ac_link") 2>&5
2074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2075 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2076 { { case "(($ac_try" in
2077 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2078 *) ac_try_echo=$ac_try;;
2080 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2081 $as_echo "$ac_try_echo"; } >&5
2082 (eval "$ac_try") 2>&5
2084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2085 test $ac_status = 0; }; }; then :
2088 $as_echo "$as_me: program exited with status $ac_status" >&5
2089 $as_echo "$as_me: failed program was:" >&5
2090 sed 's/^/| /' conftest.$ac_ext >&5
2092 ac_retval=$ac_status
2094 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2095 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2096 as_fn_set_status $ac_retval
2100 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2101 # -------------------------------------------------------
2102 # Tests whether HEADER exists and can be compiled using the include files in
2103 # INCLUDES, setting the cache variable VAR accordingly.
2104 ac_fn_c_check_header_compile ()
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" >&5
2108 $as_echo_n "checking for $2... " >&6; }
2109 if eval \${$3+:} false; then :
2110 $as_echo_n "(cached) " >&6
2112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2113 /* end confdefs.h. */
2117 if ac_fn_c_try_compile "$LINENO"; then :
2122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2126 $as_echo "$ac_res" >&6; }
2127 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2129 } # ac_fn_c_check_header_compile
2131 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2132 # ----------------------------------------------------
2133 # Tries to find if the field MEMBER exists in type AGGR, after including
2134 # INCLUDES, setting cache variable VAR accordingly.
2135 ac_fn_c_check_member ()
2137 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2139 $as_echo_n "checking for $2.$3... " >&6; }
2140 if eval \${$4+:} false; then :
2141 $as_echo_n "(cached) " >&6
2143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2144 /* end confdefs.h. */
2156 if ac_fn_c_try_compile "$LINENO"; then :
2159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2160 /* end confdefs.h. */
2166 if (sizeof ac_aggr.$3)
2172 if ac_fn_c_try_compile "$LINENO"; then :
2177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2183 $as_echo "$ac_res" >&6; }
2184 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2186 } # ac_fn_c_check_member
2188 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2189 # ---------------------------------------------
2190 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2192 ac_fn_c_check_decl ()
2194 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2195 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2196 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2198 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2199 if eval \${$3+:} false; then :
2200 $as_echo_n "(cached) " >&6
2202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2203 /* end confdefs.h. */
2208 #ifndef $as_decl_name
2210 (void) $as_decl_use;
2212 (void) $as_decl_name;
2220 if ac_fn_c_try_compile "$LINENO"; then :
2225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2229 $as_echo "$ac_res" >&6; }
2230 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2232 } # ac_fn_c_check_decl
2234 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2235 # -------------------------------------------
2236 # Tests whether TYPE exists after having included INCLUDES, setting cache
2237 # variable VAR accordingly.
2238 ac_fn_c_check_type ()
2240 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2242 $as_echo_n "checking for $2... " >&6; }
2243 if eval \${$3+:} false; then :
2244 $as_echo_n "(cached) " >&6
2247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2248 /* end confdefs.h. */
2259 if ac_fn_c_try_compile "$LINENO"; then :
2260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2261 /* end confdefs.h. */
2272 if ac_fn_c_try_compile "$LINENO"; then :
2277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2283 $as_echo "$ac_res" >&6; }
2284 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2286 } # ac_fn_c_check_type
2288 # ac_fn_c_check_func LINENO FUNC VAR
2289 # ----------------------------------
2290 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2291 ac_fn_c_check_func ()
2293 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2295 $as_echo_n "checking for $2... " >&6; }
2296 if eval \${$3+:} false; then :
2297 $as_echo_n "(cached) " >&6
2299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2300 /* end confdefs.h. */
2301 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2303 #define $2 innocuous_$2
2305 /* System header to define __stub macros and hopefully few prototypes,
2306 which can conflict with char $2 (); below.
2307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2308 <limits.h> exists even on freestanding compilers. */
2311 # include <limits.h>
2313 # include <assert.h>
2318 /* Override any GCC internal prototype to avoid an error.
2319 Use char because int might match the return type of a GCC
2320 builtin and then its argument prototype would still apply. */
2325 /* The GNU C library defines this for functions which it implements
2326 to always fail with ENOSYS. Some functions are actually named
2327 something starting with __ and the normal name is an alias. */
2328 #if defined __stub_$2 || defined __stub___$2
2340 if ac_fn_c_try_link "$LINENO"; then :
2345 rm -f core conftest.err conftest.$ac_objext \
2346 conftest$ac_exeext conftest.$ac_ext
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2350 $as_echo "$ac_res" >&6; }
2351 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2353 } # ac_fn_c_check_func
2354 cat >config.log <<_ACEOF
2355 This file contains any messages produced by compilers while
2356 running configure, to aid debugging if configure makes a mistake.
2358 It was created by $as_me, which was
2359 generated by GNU Autoconf 2.69. Invocation command line was
2371 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2372 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2373 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2374 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2375 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2377 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2378 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2380 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2381 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2382 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2383 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2384 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2385 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2386 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2394 test -z "$as_dir" && as_dir=.
2395 $as_echo "PATH: $as_dir"
2411 # Keep a trace of the command line.
2412 # Strip out --no-create and --no-recursion so they do not pile up.
2413 # Strip out --silent because we don't want to record it for future runs.
2414 # Also quote any args containing shell meta-characters.
2415 # Make two passes to allow for proper duplicate-argument suppression.
2419 ac_must_keep_next=false
2425 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2426 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2427 | -silent | --silent | --silen | --sile | --sil)
2430 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2433 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2435 as_fn_append ac_configure_args1 " '$ac_arg'"
2436 if test $ac_must_keep_next = true; then
2437 ac_must_keep_next=false # Got value, back to normal.
2440 *=* | --config-cache | -C | -disable-* | --disable-* \
2441 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2442 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2443 | -with-* | --with-* | -without-* | --without-* | --x)
2444 case "$ac_configure_args0 " in
2445 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2448 -* ) ac_must_keep_next=true ;;
2451 as_fn_append ac_configure_args " '$ac_arg'"
2456 { ac_configure_args0=; unset ac_configure_args0;}
2457 { ac_configure_args1=; unset ac_configure_args1;}
2459 # When interrupted or exit'd, cleanup temporary files, and complete
2460 # config.log. We remove comments because anyway the quotes in there
2461 # would cause problems or look ugly.
2462 # WARNING: Use '\'' to represent an apostrophe within the trap.
2463 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2464 trap 'exit_status=$?
2465 # Save into config.log some information that might help in debugging.
2469 $as_echo "## ---------------- ##
2470 ## Cache variables. ##
2471 ## ---------------- ##"
2473 # The following way of writing the cache mishandles newlines in values,
2475 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2476 eval ac_val=\$$ac_var
2480 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2481 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2484 _ | IFS | as_nl) ;; #(
2485 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2486 *) { eval $ac_var=; unset $ac_var;} ;;
2491 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2492 *${as_nl}ac_space=\ *)
2494 "s/'\''/'\''\\\\'\'''\''/g;
2495 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2498 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2505 $as_echo "## ----------------- ##
2506 ## Output variables. ##
2507 ## ----------------- ##"
2509 for ac_var in $ac_subst_vars
2511 eval ac_val=\$$ac_var
2513 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2515 $as_echo "$ac_var='\''$ac_val'\''"
2519 if test -n "$ac_subst_files"; then
2520 $as_echo "## ------------------- ##
2521 ## File substitutions. ##
2522 ## ------------------- ##"
2524 for ac_var in $ac_subst_files
2526 eval ac_val=\$$ac_var
2528 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2530 $as_echo "$ac_var='\''$ac_val'\''"
2535 if test -s confdefs.h; then
2536 $as_echo "## ----------- ##
2543 test "$ac_signal" != 0 &&
2544 $as_echo "$as_me: caught signal $ac_signal"
2545 $as_echo "$as_me: exit $exit_status"
2547 rm -f core *.core core.conftest.* &&
2548 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2551 for ac_signal in 1 2 13 15; do
2552 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2556 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2557 rm -f -r conftest* confdefs.h
2559 $as_echo "/* confdefs.h */" > confdefs.h
2561 # Predefined preprocessor variables.
2563 cat >>confdefs.h <<_ACEOF
2564 #define PACKAGE_NAME "$PACKAGE_NAME"
2567 cat >>confdefs.h <<_ACEOF
2568 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2571 cat >>confdefs.h <<_ACEOF
2572 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2575 cat >>confdefs.h <<_ACEOF
2576 #define PACKAGE_STRING "$PACKAGE_STRING"
2579 cat >>confdefs.h <<_ACEOF
2580 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2583 cat >>confdefs.h <<_ACEOF
2584 #define PACKAGE_URL "$PACKAGE_URL"
2588 # Let the site file select an alternate cache file if it wants to.
2589 # Prefer an explicitly selected file to automatically selected ones.
2592 if test -n "$CONFIG_SITE"; then
2593 # We do not want a PATH search for config.site.
2594 case $CONFIG_SITE in #((
2595 -*) ac_site_file1=./$CONFIG_SITE;;
2596 */*) ac_site_file1=$CONFIG_SITE;;
2597 *) ac_site_file1=./$CONFIG_SITE;;
2599 elif test "x$prefix" != xNONE; then
2600 ac_site_file1=$prefix/share/config.site
2601 ac_site_file2=$prefix/etc/config.site
2603 ac_site_file1=$ac_default_prefix/share/config.site
2604 ac_site_file2=$ac_default_prefix/etc/config.site
2606 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2608 test "x$ac_site_file" = xNONE && continue
2609 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2611 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2612 sed 's/^/| /' "$ac_site_file" >&5
2614 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2615 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2616 as_fn_error $? "failed to load site
script $ac_site_file
2617 See \
`config.log' for more details" "$LINENO" 5; }
2621 if test -r "$cache_file"; then
2622 # Some versions of bash will fail to source /dev/null (special files
2623 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2624 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2626 $as_echo "$as_me: loading cache $cache_file" >&6;}
2628 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2629 *) . "./$cache_file";;
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2634 $as_echo "$as_me: creating cache $cache_file" >&6;}
2638 as_fn_append ac_header_list " stdlib.h"
2639 as_fn_append ac_header_list " unistd.h"
2640 as_fn_append ac_header_list " sys/param.h"
2641 # Check that the precious variables saved in the cache have kept the same
2643 ac_cache_corrupted=false
2644 for ac_var in $ac_precious_vars; do
2645 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2646 eval ac_new_set=\$ac_env_${ac_var}_set
2647 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2648 eval ac_new_val=\$ac_env_${ac_var}_value
2649 case $ac_old_set,$ac_new_set in
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2652 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2653 ac_cache_corrupted=: ;;
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2656 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2657 ac_cache_corrupted=: ;;
2660 if test "x$ac_old_val" != "x$ac_new_val"; then
2661 # differences in whitespace do not lead to failure.
2662 ac_old_val_w=`echo x
$ac_old_val`
2663 ac_new_val_w=`echo x
$ac_new_val`
2664 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2666 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2667 ac_cache_corrupted=:
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2670 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2671 eval $ac_var=\$ac_old_val
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2674 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2676 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2679 # Pass precious variables to config.status.
2680 if test "$ac_new_set" = set; then
2682 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2683 *) ac_arg=$ac_var=$ac_new_val ;;
2685 case " $ac_configure_args " in
2686 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2687 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2691 if $ac_cache_corrupted; then
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2695 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2696 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2698 ## -------------------- ##
2699 ## Main body of script. ##
2700 ## -------------------- ##
2703 ac_cpp='$CPP $CPPFLAGS'
2704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2711 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2712 if test -f "$ac_dir/install-sh"; then
2714 ac_install_sh="$ac_aux_dir/install-sh -c"
2716 elif test -f "$ac_dir/install.sh"; then
2718 ac_install_sh="$ac_aux_dir/install.sh -c"
2720 elif test -f "$ac_dir/shtool"; then
2722 ac_install_sh="$ac_aux_dir/shtool install -c"
2726 if test -z "$ac_aux_dir"; then
2727 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2730 # These three variables are undocumented and unsupported,
2731 # and are intended to be withdrawn in a future Autoconf release.
2732 # They can cause serious problems if a builder's source tree is in a directory
2733 # whose full name contains unusual characters.
2734 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2735 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2736 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2740 # Check what host we are running on.
2741 # If a target is not suggested, we use this one.
2742 # Note that what we call a target, Autoconf calls a host.
2743 # Make sure we can run config.sub.
2744 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2745 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2748 $as_echo_n "checking build system type... " >&6; }
2749 if ${ac_cv_build+:} false; then :
2750 $as_echo_n "(cached) " >&6
2752 ac_build_alias=$build_alias
2753 test "x$ac_build_alias" = x &&
2754 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2755 test "x$ac_build_alias" = x &&
2756 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2757 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2758 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2762 $as_echo "$ac_cv_build" >&6; }
2763 case $ac_cv_build in
2765 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2768 ac_save_IFS=$IFS; IFS='-'
2774 # Remember, the first character of IFS is used to create $*,
2775 # except with old shells:
2778 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2782 $as_echo_n "checking host system type... " >&6; }
2783 if ${ac_cv_host+:} false; then :
2784 $as_echo_n "(cached) " >&6
2786 if test "x$host_alias" = x; then
2787 ac_cv_host=$ac_cv_build
2789 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2790 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2795 $as_echo "$ac_cv_host" >&6; }
2798 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2801 ac_save_IFS=$IFS; IFS='-'
2807 # Remember, the first character of IFS is used to create $*,
2808 # except with old shells:
2811 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2815 # Default versions for the gnu tools we build
2816 default_toolchain_family=`cat ${srcdir}/config
/toolchain_def
`
2817 default_gcc_version=`cat ${srcdir}/config
/gcc_def
`
2818 exp_gcc_version=`cat ${srcdir}/config
/gcc_exp
`
2819 default_binutils_version=`cat ${srcdir}/config
/binutils_def
`
2820 exp_binutils_version=`cat ${srcdir}/config
/binutils_exp
`
2821 default_grub2_version="2.02"
2822 target_grub2_version=$default_grub2_version
2824 # The AROS target is slightly different to the normal GNU style
2825 # format. We don't have the middle part, and we reverse the order
2826 # of the $(CPU) and $(OS) bits.
2828 # Don't strip the version of the target yet, it might be
2829 # useful on some systems.
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2832 $as_echo_n "checking for AROS style target... " >&6; }
2834 if test "$target" = "NONE" ; then
2835 target=$host_os-$host_cpu
2837 if test "$target" = "" ; then
2838 target=$host_os-$host_cpu
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2842 $as_echo "$target" >&6; }
2844 if test "$host_os" = "mingw32" ; then
2848 # Don't know where else to put this...
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2850 $as_echo_n "checking building AROS in... " >&6; }
2851 AROS_BUILDDIR=`${PWDCMD-pwd}`
2852 AROS_BUILDDIR_UNIX=${PWD}
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2854 $as_echo "$AROS_BUILDDIR" >&6; }
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2857 $as_echo_n "checking AROS source in... " >&6; }
2858 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2861 $as_echo "$SRCDIR" >&6; }
2863 # Parse the target field into something useful.
2865 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2866 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2869 # Some debug output, to be removed again.
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2871 $as_echo_n "checking for target system (debug output)... " >&6; }
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2873 $as_echo "$target_os" >&6; }
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2875 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2877 $as_echo "$target_cpu" >&6; }
2879 aros_nominal_width=800
2880 aros_nominal_height=600
2881 aros_nominal_depth=4
2884 default_c_compilers="gcc clang cc"
2886 # Check whether --with-c-compiler was given.
2887 if test "${with_c_compiler+set}" = set; then :
2888 withval=$with_c_compiler; use_c_compiler="$withval"
2893 if test "$use_c_compiler" = ""; then
2894 host_c_compilers="$default_c_compilers"
2896 host_c_compilers="$use_c_compiler"
2899 default_cxx_compilers="g++ clang++ c++"
2901 # Check whether --with-cxx-compiler was given.
2902 if test "${with_cxx_compiler+set}" = set; then :
2903 withval=$with_cxx_compiler; use_cxx_compiler="$withval"
2908 if test "$use_cxx_compiler" = ""; then
2909 host_cxx_compilers="$default_cxx_compilers"
2911 host_cxx_compilers="$use_cxx_compiler"
2915 # The first step is to find the host binaries.
2916 # Check for a compiler.
2917 # Due to a bug in autoconf check for c++ compiler first.
2918 # For mor info see, http://osdir.com/ml/bug-autoconf-gnu/2010-05/msg00001.html.
2920 ac_cpp='$CXXCPP $CPPFLAGS'
2921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2924 if test -z "$CXX"; then
2925 if test -n "$CCC"; then
2928 if test -n "$ac_tool_prefix"; then
2929 for ac_prog in ${host_cxx_compilers}
2931 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2932 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2934 $as_echo_n "checking for $ac_word... " >&6; }
2935 if ${ac_cv_prog_CXX+:} false; then :
2936 $as_echo_n "(cached) " >&6
2938 if test -n "$CXX"; then
2939 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2945 test -z "$as_dir" && as_dir=.
2946 for ac_exec_ext in '' $ac_executable_extensions; do
2947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2948 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2959 if test -n "$CXX"; then
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2961 $as_echo "$CXX" >&6; }
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2964 $as_echo "no" >&6; }
2968 test -n "$CXX" && break
2971 if test -z "$CXX"; then
2973 for ac_prog in ${host_cxx_compilers}
2975 # Extract the first word of "$ac_prog", so it can be a program name with args.
2976 set dummy $ac_prog; ac_word=$2
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2978 $as_echo_n "checking for $ac_word... " >&6; }
2979 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2980 $as_echo_n "(cached) " >&6
2982 if test -n "$ac_ct_CXX"; then
2983 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2989 test -z "$as_dir" && as_dir=.
2990 for ac_exec_ext in '' $ac_executable_extensions; do
2991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2992 ac_cv_prog_ac_ct_CXX="$ac_prog"
2993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3002 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3003 if test -n "$ac_ct_CXX"; then
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3005 $as_echo "$ac_ct_CXX" >&6; }
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3008 $as_echo "no" >&6; }
3012 test -n "$ac_ct_CXX" && break
3015 if test "x$ac_ct_CXX" = x; then
3018 case $cross_compiling:$ac_tool_warned in
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3022 ac_tool_warned=yes ;;
3030 # Provide some information about the compiler.
3031 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3034 for ac_option in --version -v -V -qversion; do
3035 { { ac_try="$ac_compiler $ac_option >&5"
3037 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3038 *) ac_try_echo
=$ac_try;;
3040 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3041 $as_echo "$ac_try_echo"; } >&5
3042 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3044 if test -s conftest.err
; then
3046 ... rest of stderr output deleted ...
3047 10q' conftest.err
>conftest.er1
3048 cat conftest.er1
>&5
3050 rm -f conftest.er1 conftest.err
3051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3052 test $ac_status = 0; }
3055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3056 /* end confdefs.h. */
3066 ac_clean_files_save
=$ac_clean_files
3067 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3068 # Try to create an executable without -o first, disregard a.out.
3069 # It will help us diagnose broken compilers, and finding out an intuition
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3072 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3073 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3075 # The possible output files:
3076 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3079 for ac_file
in $ac_files
3082 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3083 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3088 if { { ac_try
="$ac_link_default"
3090 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3091 *) ac_try_echo=$ac_try;;
3093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3094 $as_echo "$ac_try_echo"; } >&5
3095 (eval "$ac_link_default") 2>&5
3097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3098 test $ac_status = 0; }; then :
3099 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3100 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3101 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3102 # so that the user can short-circuit this test for compilers unknown to
3104 for ac_file in $ac_files ''
3106 test -f "$ac_file" || continue
3108 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3111 # We found the default executable, but exeext='' is most
3115 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3117 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3119 # We set ac_cv_exeext here because the later test for it is not
3120 # safe: cross compilers may not add the suffix if given an `-o'
3121 # argument, so we may need to know it at that point already.
3122 # Even if this section looks crufty: it has the advantage of
3129 test "$ac_cv_exeext" = no && ac_cv_exeext=
3134 if test -z "$ac_file"; then :
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3136 $as_echo "no" >&6; }
3137 $as_echo "$as_me: failed program was:" >&5
3138 sed 's
/^
/|
/' conftest.$ac_ext >&5
3140 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3141 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3142 as_fn_error 77 "C++ compiler cannot create executables
3143 See \`config.log
' for more details" "$LINENO" 5; }
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3146 $as_echo "yes" >&6; }
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3149 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3151 $as_echo "$ac_file" >&6; }
3152 ac_exeext=$ac_cv_exeext
3154 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3155 ac_clean_files=$ac_clean_files_save
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3157 $as_echo_n "checking for suffix of executables... " >&6; }
3158 if { { ac_try="$ac_link"
3160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3161 *) ac_try_echo=$ac_try;;
3163 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3164 $as_echo "$ac_try_echo"; } >&5
3165 (eval "$ac_link") 2>&5
3167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3168 test $ac_status = 0; }; then :
3169 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3170 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3171 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3173 for ac_file
in conftest.exe conftest conftest.
*; do
3174 test -f "$ac_file" ||
continue
3176 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3177 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3183 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3185 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3186 See \`config.log' for more details" "$LINENO" 5; }
3188 rm -f conftest conftest
$ac_cv_exeext
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3190 $as_echo "$ac_cv_exeext" >&6; }
3192 rm -f conftest.
$ac_ext
3193 EXEEXT
=$ac_cv_exeext
3195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3196 /* end confdefs.h. */
3201 FILE *f = fopen ("conftest.out", "w");
3202 return ferror (f) || fclose (f) != 0;
3208 ac_clean_files
="$ac_clean_files conftest.out"
3209 # Check that the compiler produces executables we can run. If not, either
3210 # the compiler is broken, or we cross compile.
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3212 $as_echo_n "checking whether we are cross compiling... " >&6; }
3213 if test "$cross_compiling" != yes; then
3214 { { ac_try
="$ac_link"
3216 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3217 *) ac_try_echo=$ac_try;;
3219 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3220 $as_echo "$ac_try_echo"; } >&5
3221 (eval "$ac_link") 2>&5
3223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3224 test $ac_status = 0; }
3225 if { ac_try='./conftest$ac_cv_exeext'
3226 { { case "(($ac_try" in
3227 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3228 *) ac_try_echo
=$ac_try;;
3230 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3231 $as_echo "$ac_try_echo"; } >&5
3232 (eval "$ac_try") 2>&5
3234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3235 test $ac_status = 0; }; }; then
3238 if test "$cross_compiling" = maybe
; then
3241 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3243 as_fn_error $?
"cannot run C++ compiled programs.
3244 If you meant to cross compile, use \`--host'.
3245 See \`config.log' for more details" "$LINENO" 5; }
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3250 $as_echo "$cross_compiling" >&6; }
3252 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3253 ac_clean_files
=$ac_clean_files_save
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3255 $as_echo_n "checking for suffix of object files... " >&6; }
3256 if ${ac_cv_objext+:} false
; then :
3257 $as_echo_n "(cached) " >&6
3259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3260 /* end confdefs.h. */
3270 rm -f conftest.o conftest.obj
3271 if { { ac_try
="$ac_compile"
3273 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3274 *) ac_try_echo=$ac_try;;
3276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3277 $as_echo "$ac_try_echo"; } >&5
3278 (eval "$ac_compile") 2>&5
3280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3281 test $ac_status = 0; }; then :
3282 for ac_file in conftest.o conftest.obj conftest.*; do
3283 test -f "$ac_file" || continue;
3285 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3286 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3291 $as_echo "$as_me: failed program was:" >&5
3292 sed 's/^/| /' conftest.$ac_ext >&5
3294 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3296 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3297 See \
`config.log' for more details" "$LINENO" 5; }
3299 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3302 $as_echo "$ac_cv_objext" >&6; }
3303 OBJEXT=$ac_cv_objext
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3306 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3307 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3308 $as_echo_n "(cached) " >&6
3310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3311 /* end confdefs.h. */
3324 if ac_fn_cxx_try_compile "$LINENO"; then :
3329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3330 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3334 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3335 if test $ac_compiler_gnu = yes; then
3340 ac_test_CXXFLAGS=${CXXFLAGS+set}
3341 ac_save_CXXFLAGS=$CXXFLAGS
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3343 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3344 if ${ac_cv_prog_cxx_g+:} false; then :
3345 $as_echo_n "(cached) " >&6
3347 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3348 ac_cxx_werror_flag=yes
3351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3352 /* end confdefs.h. */
3362 if ac_fn_cxx_try_compile "$LINENO"; then :
3363 ac_cv_prog_cxx_g=yes
3366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3367 /* end confdefs.h. */
3377 if ac_fn_cxx_try_compile "$LINENO"; then :
3380 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3383 /* end confdefs.h. */
3393 if ac_fn_cxx_try_compile "$LINENO"; then :
3394 ac_cv_prog_cxx_g=yes
3396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3401 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3404 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3405 if test "$ac_test_CXXFLAGS" = set; then
3406 CXXFLAGS=$ac_save_CXXFLAGS
3407 elif test $ac_cv_prog_cxx_g = yes; then
3408 if test "$GXX" = yes; then
3414 if test "$GXX" = yes; then
3421 ac_cpp='$CPP $CPPFLAGS'
3422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3427 ac_cpp='$CPP $CPPFLAGS'
3428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3431 if test -n "$ac_tool_prefix"; then
3432 for ac_prog in ${host_c_compilers}
3434 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3435 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3437 $as_echo_n "checking for $ac_word... " >&6; }
3438 if ${ac_cv_prog_CC+:} false; then :
3439 $as_echo_n "(cached) " >&6
3441 if test -n "$CC"; then
3442 ac_cv_prog_CC="$CC" # Let the user override the test.
3444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3448 test -z "$as_dir" && as_dir=.
3449 for ac_exec_ext in '' $ac_executable_extensions; do
3450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3451 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3462 if test -n "$CC"; then
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3464 $as_echo "$CC" >&6; }
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3467 $as_echo "no" >&6; }
3471 test -n "$CC" && break
3474 if test -z "$CC"; then
3476 for ac_prog in ${host_c_compilers}
3478 # Extract the first word of "$ac_prog", so it can be a program name with args.
3479 set dummy $ac_prog; ac_word=$2
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3481 $as_echo_n "checking for $ac_word... " >&6; }
3482 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3483 $as_echo_n "(cached) " >&6
3485 if test -n "$ac_ct_CC"; then
3486 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3492 test -z "$as_dir" && as_dir=.
3493 for ac_exec_ext in '' $ac_executable_extensions; do
3494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3495 ac_cv_prog_ac_ct_CC="$ac_prog"
3496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3505 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3506 if test -n "$ac_ct_CC"; then
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3508 $as_echo "$ac_ct_CC" >&6; }
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3511 $as_echo "no" >&6; }
3515 test -n "$ac_ct_CC" && break
3518 if test "x$ac_ct_CC" = x; then
3521 case $cross_compiling:$ac_tool_warned in
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3525 ac_tool_warned=yes ;;
3532 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3534 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3535 See \
`config.log' for more details" "$LINENO" 5; }
3537 # Provide some information about the compiler.
3538 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3541 for ac_option in --version -v -V -qversion; do
3542 { { ac_try="$ac_compiler $ac_option >&5"
3544 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3545 *) ac_try_echo
=$ac_try;;
3547 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3548 $as_echo "$ac_try_echo"; } >&5
3549 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3551 if test -s conftest.err
; then
3553 ... rest of stderr output deleted ...
3554 10q' conftest.err
>conftest.er1
3555 cat conftest.er1
>&5
3557 rm -f conftest.er1 conftest.err
3558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3559 test $ac_status = 0; }
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3563 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3564 if ${ac_cv_c_compiler_gnu+:} false
; then :
3565 $as_echo_n "(cached) " >&6
3567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3568 /* end confdefs.h. */
3581 if ac_fn_c_try_compile
"$LINENO"; then :
3586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3587 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3591 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3592 if test $ac_compiler_gnu = yes; then
3597 ac_test_CFLAGS
=${CFLAGS+set}
3598 ac_save_CFLAGS
=$CFLAGS
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3600 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3601 if ${ac_cv_prog_cc_g+:} false
; then :
3602 $as_echo_n "(cached) " >&6
3604 ac_save_c_werror_flag
=$ac_c_werror_flag
3605 ac_c_werror_flag
=yes
3608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3609 /* end confdefs.h. */
3619 if ac_fn_c_try_compile
"$LINENO"; then :
3623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3624 /* end confdefs.h. */
3634 if ac_fn_c_try_compile
"$LINENO"; then :
3637 ac_c_werror_flag
=$ac_save_c_werror_flag
3639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3640 /* end confdefs.h. */
3650 if ac_fn_c_try_compile
"$LINENO"; then :
3653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3658 ac_c_werror_flag
=$ac_save_c_werror_flag
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3661 $as_echo "$ac_cv_prog_cc_g" >&6; }
3662 if test "$ac_test_CFLAGS" = set; then
3663 CFLAGS
=$ac_save_CFLAGS
3664 elif test $ac_cv_prog_cc_g = yes; then
3665 if test "$GCC" = yes; then
3671 if test "$GCC" = yes; then
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3678 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3679 if ${ac_cv_prog_cc_c89+:} false
; then :
3680 $as_echo_n "(cached) " >&6
3682 ac_cv_prog_cc_c89
=no
3684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3685 /* end confdefs.h. */
3689 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3690 struct buf { int x; };
3691 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3692 static char *e (p, i)
3698 static char *f (char * (*g) (char **, int), char **p, ...)
3703 s = g (p, va_arg (v,int));
3708 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3709 function prototypes and stuff, but not '\xHH' hex character constants.
3710 These don't provoke an error unfortunately, instead are silently treated
3711 as 'x'. The following induces an error, until -std is added to get
3712 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3713 array size at least. It's necessary to write '\x00'==0 to get something
3714 that's true only with -std. */
3715 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3717 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3718 inside strings and character constants. */
3720 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3722 int test (int i, double x);
3723 struct s1 {int (*f) (int a);};
3724 struct s2 {int (*f) (double a);};
3725 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3731 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3736 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3737 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3739 CC
="$ac_save_CC $ac_arg"
3740 if ac_fn_c_try_compile
"$LINENO"; then :
3741 ac_cv_prog_cc_c89
=$ac_arg
3743 rm -f core conftest.err conftest.
$ac_objext
3744 test "x$ac_cv_prog_cc_c89" != "xno" && break
3746 rm -f conftest.
$ac_ext
3751 case "x$ac_cv_prog_cc_c89" in
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3754 $as_echo "none needed" >&6; } ;;
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3757 $as_echo "unsupported" >&6; } ;;
3759 CC
="$CC $ac_cv_prog_cc_c89"
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3761 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3763 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3768 ac_cpp
='$CPP $CPPFLAGS'
3769 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3770 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3771 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3773 aros_host_def_cc
="$CC"
3774 case $ac_cv_prog_cc_stdc in #(
3776 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3779 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3780 if ${ac_cv_prog_cc_c99+:} false
; then :
3781 $as_echo_n "(cached) " >&6
3783 ac_cv_prog_cc_c99
=no
3785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3786 /* end confdefs.h. */
3788 #include <stdbool.h>
3793 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3794 #define debug(...) fprintf (stderr, __VA_ARGS__)
3795 #define showlist(...) puts (#__VA_ARGS__)
3796 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3798 test_varargs_macros (void)
3803 debug ("X = %d\n", x);
3804 showlist (The first, second, and third items.);
3805 report (x>y, "x is %d but y is %d", x, y);
3808 // Check long long types.
3809 #define BIG64 18446744073709551615ull
3810 #define BIG32 4294967295ul
3811 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3813 your preprocessor is broken;
3817 your preprocessor is broken;
3819 static long long int bignum = -9223372036854775807LL;
3820 static unsigned long long int ubignum = BIG64;
3822 struct incomplete_array
3830 const wchar_t *name;
3834 typedef const char *ccp;
3837 test_restrict (ccp restrict text)
3839 // See if C++-style comments work.
3840 // Iterate through items via the restricted pointer.
3841 // Also check for declarations in for loops.
3842 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3847 // Check varargs and va_copy.
3849 test_varargs (const char *format, ...)
3852 va_start (args, format);
3854 va_copy (args_copy, args);
3865 str = va_arg (args_copy, const char *);
3868 number = va_arg (args_copy, int);
3871 fnumber = va_arg (args_copy, double);
3886 _Bool success = false;
3889 if (test_restrict ("String literal") == 0)
3891 char *restrict newvar = "Another string";
3894 test_varargs ("s, d' f .", "string", 65, 34.234);
3895 test_varargs_macros ();
3897 // Check flexible array members.
3898 struct incomplete_array *ia =
3899 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3901 for (int i = 0; i < ia->datasize; ++i)
3902 ia->data[i] = i * 1.234;
3904 // Check named initializers.
3905 struct named_init ni = {
3907 .name = L"Test wide string",
3908 .average = 543.34343,
3913 int dynamic_array[ni.number];
3914 dynamic_array[ni.number - 1] = 543;
3916 // work around unused variable warnings
3917 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3918 || dynamic_array[ni.number - 1] != 543);
3924 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
3926 CC
="$ac_save_CC $ac_arg"
3927 if ac_fn_c_try_compile
"$LINENO"; then :
3928 ac_cv_prog_cc_c99
=$ac_arg
3930 rm -f core conftest.err conftest.
$ac_objext
3931 test "x$ac_cv_prog_cc_c99" != "xno" && break
3933 rm -f conftest.
$ac_ext
3938 case "x$ac_cv_prog_cc_c99" in
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3941 $as_echo "none needed" >&6; } ;;
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3944 $as_echo "unsupported" >&6; } ;;
3946 CC
="$CC $ac_cv_prog_cc_c99"
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3948 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3950 if test "x$ac_cv_prog_cc_c99" != xno
; then :
3951 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3954 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3955 if ${ac_cv_prog_cc_c89+:} false
; then :
3956 $as_echo_n "(cached) " >&6
3958 ac_cv_prog_cc_c89
=no
3960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3961 /* end confdefs.h. */
3965 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3966 struct buf { int x; };
3967 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3968 static char *e (p, i)
3974 static char *f (char * (*g) (char **, int), char **p, ...)
3979 s = g (p, va_arg (v,int));
3984 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3985 function prototypes and stuff, but not '\xHH' hex character constants.
3986 These don't provoke an error unfortunately, instead are silently treated
3987 as 'x'. The following induces an error, until -std is added to get
3988 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3989 array size at least. It's necessary to write '\x00'==0 to get something
3990 that's true only with -std. */
3991 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3993 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3994 inside strings and character constants. */
3996 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3998 int test (int i, double x);
3999 struct s1 {int (*f) (int a);};
4000 struct s2 {int (*f) (double a);};
4001 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4007 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4012 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4013 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4015 CC
="$ac_save_CC $ac_arg"
4016 if ac_fn_c_try_compile
"$LINENO"; then :
4017 ac_cv_prog_cc_c89
=$ac_arg
4019 rm -f core conftest.err conftest.
$ac_objext
4020 test "x$ac_cv_prog_cc_c89" != "xno" && break
4022 rm -f conftest.
$ac_ext
4027 case "x$ac_cv_prog_cc_c89" in
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4030 $as_echo "none needed" >&6; } ;;
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4033 $as_echo "unsupported" >&6; } ;;
4035 CC
="$CC $ac_cv_prog_cc_c89"
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4037 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4039 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4040 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4042 ac_cv_prog_cc_stdc
=no
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4049 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4050 if ${ac_cv_prog_cc_stdc+:} false
; then :
4051 $as_echo_n "(cached) " >&6
4054 case $ac_cv_prog_cc_stdc in #(
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4057 $as_echo "unsupported" >&6; } ;; #(
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4060 $as_echo "none needed" >&6; } ;; #(
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4063 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4067 ac_cpp
='$CPP $CPPFLAGS'
4068 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4069 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4070 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4072 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4073 # On Suns, sometimes $CPP names a directory.
4074 if test -n "$CPP" && test -d "$CPP"; then
4077 if test -z "$CPP"; then
4078 if ${ac_cv_prog_CPP+:} false
; then :
4079 $as_echo_n "(cached) " >&6
4081 # Double quotes because CPP needs to be expanded
4082 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4085 for ac_c_preproc_warn_flag
in '' yes
4087 # Use a header file that comes with gcc, so configuring glibc
4088 # with a fresh cross-compiler works.
4089 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4090 # <limits.h> exists even on freestanding compilers.
4091 # On the NeXT, cc -E runs the code through the compiler's parser,
4092 # not just through cpp. "Syntax error" is here to catch this case.
4093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4094 /* end confdefs.h. */
4096 # include <limits.h>
4098 # include <assert.h>
4102 if ac_fn_c_try_cpp
"$LINENO"; then :
4105 # Broken: fails on valid input.
4108 rm -f conftest.err conftest.i conftest.
$ac_ext
4110 # OK, works on sane cases. Now check whether nonexistent headers
4111 # can be detected and how.
4112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4113 /* end confdefs.h. */
4114 #include <ac_nonexistent.h>
4116 if ac_fn_c_try_cpp
"$LINENO"; then :
4117 # Broken: success on invalid input.
4120 # Passes both tests.
4124 rm -f conftest.err conftest.i conftest.
$ac_ext
4127 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4128 rm -f conftest.i conftest.err conftest.
$ac_ext
4129 if $ac_preproc_ok; then :
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4142 $as_echo "$CPP" >&6; }
4144 for ac_c_preproc_warn_flag
in '' yes
4146 # Use a header file that comes with gcc, so configuring glibc
4147 # with a fresh cross-compiler works.
4148 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4149 # <limits.h> exists even on freestanding compilers.
4150 # On the NeXT, cc -E runs the code through the compiler's parser,
4151 # not just through cpp. "Syntax error" is here to catch this case.
4152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4153 /* end confdefs.h. */
4155 # include <limits.h>
4157 # include <assert.h>
4161 if ac_fn_c_try_cpp
"$LINENO"; then :
4164 # Broken: fails on valid input.
4167 rm -f conftest.err conftest.i conftest.
$ac_ext
4169 # OK, works on sane cases. Now check whether nonexistent headers
4170 # can be detected and how.
4171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4172 /* end confdefs.h. */
4173 #include <ac_nonexistent.h>
4175 if ac_fn_c_try_cpp
"$LINENO"; then :
4176 # Broken: success on invalid input.
4179 # Passes both tests.
4183 rm -f conftest.err conftest.i conftest.
$ac_ext
4186 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4187 rm -f conftest.i conftest.err conftest.
$ac_ext
4188 if $ac_preproc_ok; then :
4191 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4193 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4194 See \`config.log' for more details" "$LINENO" 5; }
4198 ac_cpp
='$CPP $CPPFLAGS'
4199 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4200 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4201 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4204 # Check for a compatible awk
4205 for ac_prog
in gawk nawk
4207 # Extract the first word of "$ac_prog", so it can be a program name with args.
4208 set dummy
$ac_prog; ac_word
=$2
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4210 $as_echo_n "checking for $ac_word... " >&6; }
4211 if ${ac_cv_prog_AWK+:} false
; then :
4212 $as_echo_n "(cached) " >&6
4214 if test -n "$AWK"; then
4215 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4221 test -z "$as_dir" && as_dir
=.
4222 for ac_exec_ext
in '' $ac_executable_extensions; do
4223 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4224 ac_cv_prog_AWK
="$ac_prog"
4225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4235 if test -n "$AWK"; then
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4237 $as_echo "$AWK" >&6; }
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4240 $as_echo "no" >&6; }
4244 test -n "$AWK" && break
4248 if test "$AWK" = ""; then
4251 if test "$AWK" = "no"; then
4254 if test "$req_avail" = "no"; then
4255 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4257 # Extract the first word of "mmake", so it can be a program name with args.
4258 set dummy mmake
; ac_word
=$2
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4260 $as_echo_n "checking for $ac_word... " >&6; }
4261 if ${ac_cv_prog_MMAKE+:} false
; then :
4262 $as_echo_n "(cached) " >&6
4264 if test -n "$MMAKE"; then
4265 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4271 test -z "$as_dir" && as_dir
=.
4272 for ac_exec_ext
in '' $ac_executable_extensions; do
4273 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4274 ac_cv_prog_MMAKE
="mmake "
4275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4284 MMAKE
=$ac_cv_prog_MMAKE
4285 if test -n "$MMAKE"; then
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4287 $as_echo "$MMAKE" >&6; }
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4290 $as_echo "no" >&6; }
4295 # Perform some default variable assignments. Note all of these will be
4296 # Regenerated from the script, so there is no need to cache them.
4298 aros_build_host
=$host
4299 aros_host_cpp
="$CPP"
4301 aros_host_cxx
="$CXX"
4302 if test "$GCC" = "yes"; then
4303 aros_gcc_ld
=`$CC -print-prog-name=ld`
4304 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4305 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4307 $as_echo_n "checking for $ac_word... " >&6; }
4308 if ${ac_cv_path_aros_host_ld+:} false
; then :
4309 $as_echo_n "(cached) " >&6
4311 case $aros_host_ld in
4313 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4317 for as_dir
in `dirname $aros_gcc_ld`
4320 test -z "$as_dir" && as_dir
=.
4321 for ac_exec_ext
in '' $ac_executable_extensions; do
4322 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4323 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4334 aros_host_ld
=$ac_cv_path_aros_host_ld
4335 if test -n "$aros_host_ld"; then
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4337 $as_echo "$aros_host_ld" >&6; }
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4340 $as_echo "no" >&6; }
4345 if test "$aros_host_ld" = ""; then
4346 # Extract the first word of "ld", so it can be a program name with args.
4347 set dummy ld
; ac_word
=$2
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4349 $as_echo_n "checking for $ac_word... " >&6; }
4350 if ${ac_cv_path_aros_host_ld+:} false
; then :
4351 $as_echo_n "(cached) " >&6
4353 case $aros_host_ld in
4355 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4362 test -z "$as_dir" && as_dir
=.
4363 for ac_exec_ext
in '' $ac_executable_extensions; do
4364 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4365 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376 aros_host_ld
=$ac_cv_path_aros_host_ld
4377 if test -n "$aros_host_ld"; then
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4379 $as_echo "$aros_host_ld" >&6; }
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4382 $as_echo "no" >&6; }
4388 if test "$aros_host_ld" = ""; then
4391 if test "$aros_host_ld" = "no"; then
4394 if test "$req_avail" = "no"; then
4395 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4397 aros_host_make
="make"
4398 aros_host_cflags
="$CFLAGS"
4399 aros_host_cxxflags
="$CXXFLAGS"
4400 aros_host_cppflags
="$CPPFLAGS"
4401 aros_host_ldflags
="$LDFLAGS"
4402 aros_host_debug
="-g -O0"
4403 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4404 aros_host_mkargs
="--no-print-directory"
4405 aros_host_exe_suffix
="$EXEEXT"
4406 aros_host_lib_suffix
=""
4408 # Ignore all compliance, AROS ROMs = 0
4409 # KickStart v1.0 = 30
4410 # KickStart v1.3 = 34
4411 # KickStart v2.0 = 37
4412 # KickStart v3.0 = 39
4413 # KickStart v3.1 = 40
4415 aros_amigaos_compliance
=0
4417 for ac_prog
in aclocal aclocal19 aclocal-1.9
4419 # Extract the first word of "$ac_prog", so it can be a program name with args.
4420 set dummy
$ac_prog; ac_word
=$2
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4422 $as_echo_n "checking for $ac_word... " >&6; }
4423 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4424 $as_echo_n "(cached) " >&6
4426 if test -n "$aros_host_aclocal"; then
4427 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4433 test -z "$as_dir" && as_dir
=.
4434 for ac_exec_ext
in '' $ac_executable_extensions; do
4435 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4436 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4446 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4447 if test -n "$aros_host_aclocal"; then
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4449 $as_echo "$aros_host_aclocal" >&6; }
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4452 $as_echo "no" >&6; }
4456 test -n "$aros_host_aclocal" && break
4459 for ac_prog
in autoconf autoconf259 autoconf253
4461 # Extract the first word of "$ac_prog", so it can be a program name with args.
4462 set dummy
$ac_prog; ac_word
=$2
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4464 $as_echo_n "checking for $ac_word... " >&6; }
4465 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4466 $as_echo_n "(cached) " >&6
4468 if test -n "$aros_host_autoconf"; then
4469 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4475 test -z "$as_dir" && as_dir
=.
4476 for ac_exec_ext
in '' $ac_executable_extensions; do
4477 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4478 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4488 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4489 if test -n "$aros_host_autoconf"; then
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4491 $as_echo "$aros_host_autoconf" >&6; }
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4494 $as_echo "no" >&6; }
4498 test -n "$aros_host_autoconf" && break
4501 for ac_prog
in autoheader autoheader259 autoheader253
4503 # Extract the first word of "$ac_prog", so it can be a program name with args.
4504 set dummy
$ac_prog; ac_word
=$2
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4506 $as_echo_n "checking for $ac_word... " >&6; }
4507 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4508 $as_echo_n "(cached) " >&6
4510 if test -n "$aros_host_autoheader"; then
4511 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4517 test -z "$as_dir" && as_dir
=.
4518 for ac_exec_ext
in '' $ac_executable_extensions; do
4519 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4520 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4530 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4531 if test -n "$aros_host_autoheader"; then
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4533 $as_echo "$aros_host_autoheader" >&6; }
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4536 $as_echo "no" >&6; }
4540 test -n "$aros_host_autoheader" && break
4543 for ac_prog
in automake automake19 automake-1.9
4545 # Extract the first word of "$ac_prog", so it can be a program name with args.
4546 set dummy
$ac_prog; ac_word
=$2
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4548 $as_echo_n "checking for $ac_word... " >&6; }
4549 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4550 $as_echo_n "(cached) " >&6
4552 if test -n "$aros_host_automake"; then
4553 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4559 test -z "$as_dir" && as_dir
=.
4560 for ac_exec_ext
in '' $ac_executable_extensions; do
4561 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4562 ac_cv_prog_aros_host_automake
="$ac_prog"
4563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4572 aros_host_automake
=$ac_cv_prog_aros_host_automake
4573 if test -n "$aros_host_automake"; then
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4575 $as_echo "$aros_host_automake" >&6; }
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4578 $as_echo "no" >&6; }
4582 test -n "$aros_host_automake" && break
4587 if test "$aros_host_aclocal" = ""; then
4590 if test "$aros_host_aclocal" = "no"; then
4593 if test "$req_avail" = "no"; then
4594 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4597 if test "$aros_host_automake" = ""; then
4600 if test "$aros_host_automake" = "no"; then
4603 if test "$req_avail" = "no"; then
4604 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4607 case "$aros_host_cc" in
4609 aros_host_cc_pipe
=""
4612 aros_host_cc_pipe
="-pipe"
4615 aros_host_cc_pipe
=""
4618 aros_host_cc_pipe
=""
4622 aros_kernel_cc_includes
=""
4623 aros_target_cc_includes
=""
4626 # ----------------------------------------------------------------------------------------
4627 # Host-specific defaults
4629 # This is the main host configuration section. It is where the host
4630 # can change the values of any variables it needs to change. We do
4631 # not look at anything that compiles to the target yet, we'll get
4636 aros_host_arch
="aros"
4637 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4640 aros_host_cpu
="i386"
4643 aros_host_cpu
="x86_64"
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4650 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4651 aros_host_cpu
="$host_cpu"
4657 aros_host_arch
="linux"
4658 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4659 android_build_os
="linux-x86"
4660 android_tool
="android"
4661 default_android_sdk
="/opt/android-sdk-linux_x86"
4664 aros_host_cpu
="i386"
4667 aros_host_cpu
="x86_64"
4670 aros_host_cpu
="m68k"
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4680 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4681 aros_host_cpu
="$host_cpu"
4687 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe -I/usr/local/include"
4688 aros_host_make
="gmake"
4689 aros_host_arch
="freebsd"
4690 aros_host_cpu
="i386"
4692 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4696 aros_object_format
="elf_i386"
4700 aros_object_format
="elf_i386_fbsd"
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for macOS SDK files" >&5
4708 $as_echo_n "checking for macOS SDK files... " >&6; }
4709 LOC
=$
( xcode-select
-p )
4710 if test $?
!= 0; then :
4711 as_fn_error $?
"XCode incorrectly configured!
4712 please run 'xcode-select --install' before
4713 re-running configure" "$LINENO" 5
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOC" >&5
4716 $as_echo "$LOC" >&6; }
4717 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4718 aros_host_arch
="darwin"
4720 if [ -z ${SED+x} ]; then SED
="gsed"; fi
4721 android_build_os
="darwin-x86"
4722 android_tool
="android"
4723 default_android_sdk
="/android-sdk-mac_x86"
4726 aros_host_cpu
="i386"
4729 aros_host_cpu
="x86_64"
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4736 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4737 aros_host_cpu
="$host_cpu"
4741 aros_host_ldflags
="$aros_host_ldflags -liconv"
4746 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4747 aros_host_make
="gmake"
4748 aros_host_arch
="dragonfly"
4751 aros_host_cpu
="i386"
4754 aros_host_cpu
="x86_64"
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4758 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4759 aros_host_cpu
="$host_cpu"
4765 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4766 aros_host_make
="gmake"
4767 aros_host_arch
="netbsd"
4770 aros_host_cpu
="i386"
4773 aros_host_cpu
="m68k"
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4777 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4778 aros_host_cpu
="$host_cpu"
4781 aros_host_lib_suffix
=".0.0"
4785 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4786 aros_host_make
="gmake"
4787 aros_host_arch
="openbsd"
4790 aros_host_cpu
="i386"
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4794 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4795 aros_host_cpu
="$host_cpu"
4801 aros_host_arch
="solaris"
4802 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4805 aros_host_cpu
="i386"
4808 aros_host_cpu
="sparc"
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4812 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4813 aros_host_cpu
="$host_cpu"
4819 aros_host_arch
="morphos"
4825 aros_host_arch
="amiga"
4831 TOUCH
="/gg/bin/touch"
4834 aros_host_cpu
="m68k"
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4841 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4842 aros_host_cpu
="$host_cpu"
4848 aros_host_arch
="cygwin"
4849 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4851 android_build_os
="windows"
4852 android_tool
="android.bat"
4853 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4857 aros_host_cpu
="i386"
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4861 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4862 aros_host_cpu
="$host_cpu"
4868 aros_host_arch
="mingw32"
4869 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4871 android_build_os
="windows"
4872 android_tool
="android.bat"
4873 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4875 libpng_libextra
="-lws2_32"
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4881 $as_echo_n "checking for Windows native gcc target... " >&6; }
4882 host_cpu
=`gcc -dumpmachine`
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4884 $as_echo "$host_cpu" >&6; }
4891 aros_host_cpu
="i386"
4895 aros_host_cpu
="i386"
4899 aros_host_cpu
="x86_64"
4900 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4905 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4906 aros_host_cpu
="$host_cpu"
4911 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4915 # Extract the first word of "ar", so it can be a program name with args.
4916 set dummy
ar; ac_word
=$2
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4918 $as_echo_n "checking for $ac_word... " >&6; }
4919 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4920 $as_echo_n "(cached) " >&6
4922 if test -n "$aros_host_ar"; then
4923 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4929 test -z "$as_dir" && as_dir
=.
4930 for ac_exec_ext
in '' $ac_executable_extensions; do
4931 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4932 ac_cv_prog_aros_host_ar
="ar cr"
4933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4942 aros_host_ar
=$ac_cv_prog_aros_host_ar
4943 if test -n "$aros_host_ar"; then
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4945 $as_echo "$aros_host_ar" >&6; }
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4948 $as_echo "no" >&6; }
4953 if test "$aros_host_ar" = ""; then
4956 if test "$aros_host_ar" = "no"; then
4959 if test "$req_avail" = "no"; then
4960 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4962 # Extract the first word of "ranlib", so it can be a program name with args.
4963 set dummy ranlib
; ac_word
=$2
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4965 $as_echo_n "checking for $ac_word... " >&6; }
4966 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4967 $as_echo_n "(cached) " >&6
4969 if test -n "$aros_host_ranlib"; then
4970 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4976 test -z "$as_dir" && as_dir
=.
4977 for ac_exec_ext
in '' $ac_executable_extensions; do
4978 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4979 ac_cv_prog_aros_host_ranlib
="ranlib "
4980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4989 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4990 if test -n "$aros_host_ranlib"; then
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4992 $as_echo "$aros_host_ranlib" >&6; }
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4995 $as_echo "no" >&6; }
5000 if test "$aros_host_ranlib" = ""; then
5003 if test "$aros_host_ranlib" = "no"; then
5006 if test "$req_avail" = "no"; then
5007 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
5009 # Extract the first word of "strip", so it can be a program name with args.
5010 set dummy strip
; ac_word
=$2
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5012 $as_echo_n "checking for $ac_word... " >&6; }
5013 if ${ac_cv_prog_aros_host_strip+:} false
; then :
5014 $as_echo_n "(cached) " >&6
5016 if test -n "$aros_host_strip"; then
5017 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5023 test -z "$as_dir" && as_dir
=.
5024 for ac_exec_ext
in '' $ac_executable_extensions; do
5025 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5026 ac_cv_prog_aros_host_strip
="strip "
5027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5036 aros_host_strip
=$ac_cv_prog_aros_host_strip
5037 if test -n "$aros_host_strip"; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5039 $as_echo "$aros_host_strip" >&6; }
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 $as_echo "no" >&6; }
5047 if test "$aros_host_strip" = ""; then
5050 if test "$aros_host_strip" = "no"; then
5053 if test "$req_avail" = "no"; then
5054 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5057 # Extract the first word of "rm", so it can be a program name with args.
5058 set dummy
rm; ac_word
=$2
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5060 $as_echo_n "checking for $ac_word... " >&6; }
5061 if ${ac_cv_prog_RM+:} false
; then :
5062 $as_echo_n "(cached) " >&6
5064 if test -n "$RM"; then
5065 ac_cv_prog_RM
="$RM" # Let the user override the test.
5067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5071 test -z "$as_dir" && as_dir
=.
5072 for ac_exec_ext
in '' $ac_executable_extensions; do
5073 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5074 ac_cv_prog_RM
="rm -rf"
5075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5085 if test -n "$RM"; then
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5087 $as_echo "$RM" >&6; }
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5090 $as_echo "no" >&6; }
5095 if test "$RM" = ""; then
5098 if test "$RM" = "no"; then
5101 if test "$req_avail" = "no"; then
5102 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5104 # Extract the first word of "cp", so it can be a program name with args.
5105 set dummy
cp; ac_word
=$2
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5107 $as_echo_n "checking for $ac_word... " >&6; }
5108 if ${ac_cv_prog_CP+:} false
; then :
5109 $as_echo_n "(cached) " >&6
5111 if test -n "$CP"; then
5112 ac_cv_prog_CP
="$CP" # Let the user override the test.
5114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5118 test -z "$as_dir" && as_dir
=.
5119 for ac_exec_ext
in '' $ac_executable_extensions; do
5120 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5132 if test -n "$CP"; then
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5134 $as_echo "$CP" >&6; }
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5137 $as_echo "no" >&6; }
5142 if test "$CP" = ""; then
5145 if test "$CP" = "no"; then
5148 if test "$req_avail" = "no"; then
5149 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5151 # Extract the first word of "mv", so it can be a program name with args.
5152 set dummy
mv; ac_word
=$2
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5154 $as_echo_n "checking for $ac_word... " >&6; }
5155 if ${ac_cv_prog_MV+:} false
; then :
5156 $as_echo_n "(cached) " >&6
5158 if test -n "$MV"; then
5159 ac_cv_prog_MV
="$MV" # Let the user override the test.
5161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5165 test -z "$as_dir" && as_dir
=.
5166 for ac_exec_ext
in '' $ac_executable_extensions; do
5167 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5179 if test -n "$MV"; then
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5181 $as_echo "$MV" >&6; }
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5184 $as_echo "no" >&6; }
5189 if test "$MV" = ""; then
5192 if test "$MV" = "no"; then
5195 if test "$req_avail" = "no"; then
5196 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5198 # Extract the first word of "echo", so it can be a program name with args.
5199 set dummy
echo; ac_word
=$2
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5201 $as_echo_n "checking for $ac_word... " >&6; }
5202 if ${ac_cv_prog_ECHO+:} false
; then :
5203 $as_echo_n "(cached) " >&6
5205 if test -n "$ECHO"; then
5206 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5212 test -z "$as_dir" && as_dir
=.
5213 for ac_exec_ext
in '' $ac_executable_extensions; do
5214 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5215 ac_cv_prog_ECHO
="echo "
5216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5225 ECHO
=$ac_cv_prog_ECHO
5226 if test -n "$ECHO"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5228 $as_echo "$ECHO" >&6; }
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5231 $as_echo "no" >&6; }
5236 if test "$ECHO" = ""; then
5239 if test "$ECHO" = "no"; then
5242 if test "$req_avail" = "no"; then
5243 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5245 # Extract the first word of "mkdir", so it can be a program name with args.
5246 set dummy mkdir
; ac_word
=$2
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5248 $as_echo_n "checking for $ac_word... " >&6; }
5249 if ${ac_cv_prog_MKDIR+:} false
; then :
5250 $as_echo_n "(cached) " >&6
5252 if test -n "$MKDIR"; then
5253 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5259 test -z "$as_dir" && as_dir
=.
5260 for ac_exec_ext
in '' $ac_executable_extensions; do
5261 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5262 ac_cv_prog_MKDIR
="mkdir -p"
5263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5272 MKDIR
=$ac_cv_prog_MKDIR
5273 if test -n "$MKDIR"; then
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5275 $as_echo "$MKDIR" >&6; }
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5278 $as_echo "no" >&6; }
5283 if test "$MKDIR" = ""; then
5286 if test "$MKDIR" = "no"; then
5289 if test "$req_avail" = "no"; then
5290 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5292 # Extract the first word of "touch", so it can be a program name with args.
5293 set dummy
touch; ac_word
=$2
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5295 $as_echo_n "checking for $ac_word... " >&6; }
5296 if ${ac_cv_prog_TOUCH+:} false
; then :
5297 $as_echo_n "(cached) " >&6
5299 if test -n "$TOUCH"; then
5300 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5306 test -z "$as_dir" && as_dir
=.
5307 for ac_exec_ext
in '' $ac_executable_extensions; do
5308 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5309 ac_cv_prog_TOUCH
="touch "
5310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5319 TOUCH
=$ac_cv_prog_TOUCH
5320 if test -n "$TOUCH"; then
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5322 $as_echo "$TOUCH" >&6; }
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5325 $as_echo "no" >&6; }
5330 if test "$TOUCH" = ""; then
5333 if test "$TOUCH" = "no"; then
5336 if test "$req_avail" = "no"; then
5337 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5339 # Extract the first word of "sort", so it can be a program name with args.
5340 set dummy
sort; ac_word
=$2
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5342 $as_echo_n "checking for $ac_word... " >&6; }
5343 if ${ac_cv_prog_SORT+:} false
; then :
5344 $as_echo_n "(cached) " >&6
5346 if test -n "$SORT"; then
5347 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5353 test -z "$as_dir" && as_dir
=.
5354 for ac_exec_ext
in '' $ac_executable_extensions; do
5355 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5356 ac_cv_prog_SORT
="sort "
5357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5366 SORT
=$ac_cv_prog_SORT
5367 if test -n "$SORT"; then
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5369 $as_echo "$SORT" >&6; }
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5372 $as_echo "no" >&6; }
5377 if test "$SORT" = ""; then
5380 if test "$SORT" = "no"; then
5383 if test "$req_avail" = "no"; then
5384 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5386 # Extract the first word of "uniq", so it can be a program name with args.
5387 set dummy
uniq; ac_word
=$2
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5389 $as_echo_n "checking for $ac_word... " >&6; }
5390 if ${ac_cv_prog_UNIQ+:} false
; then :
5391 $as_echo_n "(cached) " >&6
5393 if test -n "$UNIQ"; then
5394 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5400 test -z "$as_dir" && as_dir
=.
5401 for ac_exec_ext
in '' $ac_executable_extensions; do
5402 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5403 ac_cv_prog_UNIQ
="uniq "
5404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5413 UNIQ
=$ac_cv_prog_UNIQ
5414 if test -n "$UNIQ"; then
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5416 $as_echo "$UNIQ" >&6; }
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5419 $as_echo "no" >&6; }
5424 if test "$UNIQ" = ""; then
5427 if test "$UNIQ" = "no"; then
5430 if test "$req_avail" = "no"; then
5431 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5433 # Extract the first word of "true", so it can be a program name with args.
5434 set dummy true
; ac_word
=$2
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5436 $as_echo_n "checking for $ac_word... " >&6; }
5437 if ${ac_cv_prog_NOP+:} false
; then :
5438 $as_echo_n "(cached) " >&6
5440 if test -n "$NOP"; then
5441 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5447 test -z "$as_dir" && as_dir
=.
5448 for ac_exec_ext
in '' $ac_executable_extensions; do
5449 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5450 ac_cv_prog_NOP
="true "
5451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5461 if test -n "$NOP"; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5463 $as_echo "$NOP" >&6; }
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5466 $as_echo "no" >&6; }
5471 if test "$NOP" = ""; then
5474 if test "$NOP" = "no"; then
5477 if test "$req_avail" = "no"; then
5478 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5480 # Extract the first word of "cat", so it can be a program name with args.
5481 set dummy
cat; ac_word
=$2
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5483 $as_echo_n "checking for $ac_word... " >&6; }
5484 if ${ac_cv_prog_CAT+:} false
; then :
5485 $as_echo_n "(cached) " >&6
5487 if test -n "$CAT"; then
5488 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5494 test -z "$as_dir" && as_dir
=.
5495 for ac_exec_ext
in '' $ac_executable_extensions; do
5496 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5497 ac_cv_prog_CAT
="cat "
5498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5508 if test -n "$CAT"; then
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5510 $as_echo "$CAT" >&6; }
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5513 $as_echo "no" >&6; }
5518 if test "$CAT" = ""; then
5521 if test "$CAT" = "no"; then
5524 if test "$req_avail" = "no"; then
5525 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5527 # Extract the first word of "bison", so it can be a program name with args.
5528 set dummy bison
; ac_word
=$2
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5530 $as_echo_n "checking for $ac_word... " >&6; }
5531 if ${ac_cv_prog_BISON+:} false
; then :
5532 $as_echo_n "(cached) " >&6
5534 if test -n "$BISON"; then
5535 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5541 test -z "$as_dir" && as_dir
=.
5542 for ac_exec_ext
in '' $ac_executable_extensions; do
5543 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5544 ac_cv_prog_BISON
="bison "
5545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5554 BISON
=$ac_cv_prog_BISON
5555 if test -n "$BISON"; then
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5557 $as_echo "$BISON" >&6; }
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5560 $as_echo "no" >&6; }
5565 if test "$BISON" = ""; then
5568 if test "$BISON" = "no"; then
5571 if test "$req_avail" = "no"; then
5572 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5574 # Extract the first word of "flex", so it can be a program name with args.
5575 set dummy flex
; ac_word
=$2
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5577 $as_echo_n "checking for $ac_word... " >&6; }
5578 if ${ac_cv_prog_FLEX+:} false
; then :
5579 $as_echo_n "(cached) " >&6
5581 if test -n "$FLEX"; then
5582 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5588 test -z "$as_dir" && as_dir
=.
5589 for ac_exec_ext
in '' $ac_executable_extensions; do
5590 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5591 ac_cv_prog_FLEX
="flex "
5592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5601 FLEX
=$ac_cv_prog_FLEX
5602 if test -n "$FLEX"; then
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5604 $as_echo "$FLEX" >&6; }
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5607 $as_echo "no" >&6; }
5612 if test "$FLEX" = ""; then
5615 if test "$FLEX" = "no"; then
5618 if test "$req_avail" = "no"; then
5619 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5621 # Extract the first word of "pngtopnm", so it can be a program name with args.
5622 set dummy pngtopnm
; ac_word
=$2
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5624 $as_echo_n "checking for $ac_word... " >&6; }
5625 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5626 $as_echo_n "(cached) " >&6
5628 if test -n "$PNGTOPNM"; then
5629 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5635 test -z "$as_dir" && as_dir
=.
5636 for ac_exec_ext
in '' $ac_executable_extensions; do
5637 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5638 ac_cv_prog_PNGTOPNM
="pngtopnm "
5639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5648 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5649 if test -n "$PNGTOPNM"; then
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5651 $as_echo "$PNGTOPNM" >&6; }
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5654 $as_echo "no" >&6; }
5659 if test "$PNGTOPNM" = ""; then
5662 if test "$PNGTOPNM" = "no"; then
5665 if test "$req_avail" = "no"; then
5666 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5668 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5669 set dummy ppmtoilbm
; ac_word
=$2
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5671 $as_echo_n "checking for $ac_word... " >&6; }
5672 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5673 $as_echo_n "(cached) " >&6
5675 if test -n "$PPMTOILBM"; then
5676 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5682 test -z "$as_dir" && as_dir
=.
5683 for ac_exec_ext
in '' $ac_executable_extensions; do
5684 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5685 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5695 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5696 if test -n "$PPMTOILBM"; then
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5698 $as_echo "$PPMTOILBM" >&6; }
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5701 $as_echo "no" >&6; }
5706 if test "$PPMTOILBM" = ""; then
5709 if test "$PPMTOILBM" = "no"; then
5712 if test "$req_avail" = "no"; then
5713 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5715 # Extract the first word of "sed", so it can be a program name with args.
5716 set dummy
sed; ac_word
=$2
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5718 $as_echo_n "checking for $ac_word... " >&6; }
5719 if ${ac_cv_prog_SED+:} false
; then :
5720 $as_echo_n "(cached) " >&6
5722 if test -n "$SED"; then
5723 ac_cv_prog_SED
="$SED" # Let the user override the test.
5725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5729 test -z "$as_dir" && as_dir
=.
5730 for ac_exec_ext
in '' $ac_executable_extensions; do
5731 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5732 ac_cv_prog_SED
="sed "
5733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5743 if test -n "$SED"; then
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5745 $as_echo "$SED" >&6; }
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5748 $as_echo "no" >&6; }
5753 if test "$SED" = ""; then
5756 if test "$SED" = "no"; then
5759 if test "$req_avail" = "no"; then
5760 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5762 # Extract the first word of "chmod", so it can be a program name with args.
5763 set dummy
chmod; ac_word
=$2
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5765 $as_echo_n "checking for $ac_word... " >&6; }
5766 if ${ac_cv_prog_CHMOD+:} false
; then :
5767 $as_echo_n "(cached) " >&6
5769 if test -n "$CHMOD"; then
5770 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5776 test -z "$as_dir" && as_dir
=.
5777 for ac_exec_ext
in '' $ac_executable_extensions; do
5778 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5779 ac_cv_prog_CHMOD
="chmod "
5780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5789 CHMOD
=$ac_cv_prog_CHMOD
5790 if test -n "$CHMOD"; then
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5792 $as_echo "$CHMOD" >&6; }
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5795 $as_echo "no" >&6; }
5800 if test "$CHMOD" = ""; then
5803 if test "$CHMOD" = "no"; then
5806 if test "$req_avail" = "no"; then
5807 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5809 # Extract the first word of "patch", so it can be a program name with args.
5810 set dummy
patch; ac_word
=$2
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5812 $as_echo_n "checking for $ac_word... " >&6; }
5813 if ${ac_cv_prog_PATCH+:} false
; then :
5814 $as_echo_n "(cached) " >&6
5816 if test -n "$PATCH"; then
5817 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5823 test -z "$as_dir" && as_dir
=.
5824 for ac_exec_ext
in '' $ac_executable_extensions; do
5825 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5826 ac_cv_prog_PATCH
="patch "
5827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5836 PATCH
=$ac_cv_prog_PATCH
5837 if test -n "$PATCH"; then
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5839 $as_echo "$PATCH" >&6; }
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5842 $as_echo "no" >&6; }
5847 if test "$PATCH" = ""; then
5850 if test "$PATCH" = "no"; then
5853 if test "$req_avail" = "no"; then
5854 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5863 if test -n "$PYTHON"; then
5864 # If the user set $PYTHON, use it and don't search something else.
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
5866 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
5868 # split strings by '.' and convert to numeric. Append some zeros
5869 # because we need at least 4 digits for the hex conversion.
5870 # map returns an iterator in Python 3.0 and a list in 2.x
5871 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5873 # xrange is not present in Python 3.0 and range returns an iterator
5874 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5875 sys.exit(sys.hexversion < minverhex)"
5876 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5877 ($PYTHON -c "$prog") >&5 2>&5
5879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5880 (exit $ac_status); }; then :
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5882 $as_echo "yes" >&6; }
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5885 $as_echo "no" >&6; }
5886 as_fn_error $?
"Python interpreter is too old" "$LINENO" 5
5888 am_display_PYTHON
=$PYTHON
5890 # Otherwise, try each interpreter until we find one that satisfies
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5893 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5894 if ${am_cv_pathless_PYTHON+:} false
; then :
5895 $as_echo_n "(cached) " >&6
5898 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
5899 test "$am_cv_pathless_PYTHON" = none
&& break
5901 # split strings by '.' and convert to numeric. Append some zeros
5902 # because we need at least 4 digits for the hex conversion.
5903 # map returns an iterator in Python 3.0 and a list in 2.x
5904 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5906 # xrange is not present in Python 3.0 and range returns an iterator
5907 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5908 sys.exit(sys.hexversion < minverhex)"
5909 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5910 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5913 (exit $ac_status); }; then :
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5919 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5920 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5921 if test "$am_cv_pathless_PYTHON" = none
; then
5924 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5925 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5927 $as_echo_n "checking for $ac_word... " >&6; }
5928 if ${ac_cv_path_PYTHON+:} false
; then :
5929 $as_echo_n "(cached) " >&6
5933 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5940 test -z "$as_dir" && as_dir
=.
5941 for ac_exec_ext
in '' $ac_executable_extensions; do
5942 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5943 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5954 PYTHON
=$ac_cv_path_PYTHON
5955 if test -n "$PYTHON"; then
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5957 $as_echo "$PYTHON" >&6; }
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5960 $as_echo "no" >&6; }
5965 am_display_PYTHON
=$am_cv_pathless_PYTHON
5969 if test "$PYTHON" = :; then
5970 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5975 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5976 if ${am_cv_python_version+:} false
; then :
5977 $as_echo_n "(cached) " >&6
5979 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5982 $as_echo "$am_cv_python_version" >&6; }
5983 PYTHON_VERSION
=$am_cv_python_version
5987 PYTHON_PREFIX
='${prefix}'
5989 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5994 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5995 if ${am_cv_python_platform+:} false
; then :
5996 $as_echo_n "(cached) " >&6
5998 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
6001 $as_echo "$am_cv_python_platform" >&6; }
6002 PYTHON_PLATFORM
=$am_cv_python_platform
6005 # Just factor out some code duplication.
6006 am_python_setup_sysconfig
="\
6008 # Prefer sysconfig over distutils.sysconfig, for better compatibility
6009 # with python 3.x. See automake bug#10227.
6013 can_use_sysconfig = 0
6015 can_use_sysconfig = 1
6016 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
6017 # <https://github.com/pypa/virtualenv/issues/118>
6019 from platform import python_implementation
6020 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
6021 can_use_sysconfig = 0
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
6027 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
6028 if ${am_cv_python_pythondir+:} false
; then :
6029 $as_echo_n "(cached) " >&6
6031 if test "x$prefix" = xNONE
6033 am_py_prefix
=$ac_default_prefix
6035 am_py_prefix
=$prefix
6037 am_cv_python_pythondir
=`$PYTHON -c "
6038 $am_python_setup_sysconfig
6039 if can_use_sysconfig:
6040 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
6042 from distutils import sysconfig
6043 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
6044 sys.stdout.write(sitedir)"`
6045 case $am_cv_python_pythondir in
6047 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
6048 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
6051 case $am_py_prefix in
6054 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
6062 $as_echo "$am_cv_python_pythondir" >&6; }
6063 pythondir
=$am_cv_python_pythondir
6067 pkgpythondir
=\
${pythondir}/$PACKAGE
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
6071 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
6072 if ${am_cv_python_pyexecdir+:} false
; then :
6073 $as_echo_n "(cached) " >&6
6075 if test "x$exec_prefix" = xNONE
6077 am_py_exec_prefix
=$am_py_prefix
6079 am_py_exec_prefix
=$exec_prefix
6081 am_cv_python_pyexecdir
=`$PYTHON -c "
6082 $am_python_setup_sysconfig
6083 if can_use_sysconfig:
6084 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
6086 from distutils import sysconfig
6087 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
6088 sys.stdout.write(sitedir)"`
6089 case $am_cv_python_pyexecdir in
6090 $am_py_exec_prefix*)
6091 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
6092 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
6095 case $am_py_exec_prefix in
6098 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
6106 $as_echo "$am_cv_python_pyexecdir" >&6; }
6107 pyexecdir
=$am_cv_python_pyexecdir
6111 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
6119 # Check whether --enable-libpng-config was given.
6120 if test "${enable_libpng_config+set}" = set; then :
6121 enableval
=$enable_libpng_config;
6124 if test "$enable_libpng_config" != "no"; then
6125 # Extract the first word of "libpng-config", so it can be a program name with args.
6126 set dummy libpng-config
; ac_word
=$2
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6128 $as_echo_n "checking for $ac_word... " >&6; }
6129 if ${ac_cv_prog_arosconfig_use_libpngconfig+:} false
; then :
6130 $as_echo_n "(cached) " >&6
6132 if test -n "$arosconfig_use_libpngconfig"; then
6133 ac_cv_prog_arosconfig_use_libpngconfig
="$arosconfig_use_libpngconfig" # Let the user override the test.
6135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6139 test -z "$as_dir" && as_dir
=.
6140 for ac_exec_ext
in '' $ac_executable_extensions; do
6141 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6142 ac_cv_prog_arosconfig_use_libpngconfig
="yes"
6143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6150 test -z "$ac_cv_prog_arosconfig_use_libpngconfig" && ac_cv_prog_arosconfig_use_libpngconfig
="no"
6153 arosconfig_use_libpngconfig
=$ac_cv_prog_arosconfig_use_libpngconfig
6154 if test -n "$arosconfig_use_libpngconfig"; then
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $arosconfig_use_libpngconfig" >&5
6156 $as_echo "$arosconfig_use_libpngconfig" >&6; }
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6159 $as_echo "no" >&6; }
6164 if test "$arosconfig_use_libpngconfig" = "yes"; then
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libpng-config library" >&5
6166 $as_echo_n "checking libpng-config library... " >&6; }
6167 libpng_incdir
="`libpng-config --cflags`"
6168 libpng_libextra
="$libpng_libextra `libpng-config --ldflags`"
6169 libpng
="`libpng-config --libs`"
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libpng" >&5
6171 $as_echo "$libpng" >&6; }
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
6175 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
6176 if ${ac_cv_lib_png_png_read_png+:} false
; then :
6177 $as_echo_n "(cached) " >&6
6179 ac_check_lib_save_LIBS
=$LIBS
6181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6182 /* end confdefs.h. */
6184 /* Override any GCC internal prototype to avoid an error.
6185 Use char because int might match the return type of a GCC
6186 builtin and then its argument prototype would still apply. */
6190 char png_read_png ();
6194 return png_read_png ();
6199 if ac_fn_c_try_link
"$LINENO"; then :
6200 ac_cv_lib_png_png_read_png
=yes
6202 ac_cv_lib_png_png_read_png
=no
6204 rm -f core conftest.err conftest.
$ac_objext \
6205 conftest
$ac_exeext conftest.
$ac_ext
6206 LIBS
=$ac_check_lib_save_LIBS
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
6209 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
6210 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
6216 if test "$libpng_libextra" != ""; then
6217 if test "$libpng" != "no"; then
6218 libpng_libextra
="$libpng_libextra $libpng"
6223 if test "$libpng" = ""; then
6226 if test "$libpng" = "no"; then
6229 if test "$req_avail" = "no"; then
6230 as_fn_error $?
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
6246 # Check for some includes for the X11 HIDD and the kernel
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6249 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6250 if ${ac_cv_path_GREP+:} false
; then :
6251 $as_echo_n "(cached) " >&6
6253 if test -z "$GREP"; then
6254 ac_path_GREP_found
=false
6255 # Loop through the user's path and test for each of PROGNAME-LIST
6256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6257 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6260 test -z "$as_dir" && as_dir
=.
6261 for ac_prog
in grep ggrep
; do
6262 for ac_exec_ext
in '' $ac_executable_extensions; do
6263 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6264 as_fn_executable_p
"$ac_path_GREP" ||
continue
6265 # Check for GNU ac_path_GREP and select it if it is found.
6266 # Check for GNU $ac_path_GREP
6267 case `"$ac_path_GREP" --version 2>&1` in
6269 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6272 $as_echo_n 0123456789 >"conftest.in"
6275 cat "conftest.in" "conftest.in" >"conftest.tmp"
6276 mv "conftest.tmp" "conftest.in"
6277 cp "conftest.in" "conftest.nl"
6278 $as_echo 'GREP' >> "conftest.nl"
6279 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6280 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6281 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6282 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6283 # Best one so far, save it but keep looking for a better one
6284 ac_cv_path_GREP
="$ac_path_GREP"
6285 ac_path_GREP_max
=$ac_count
6287 # 10*(2^10) chars as input seems more than enough
6288 test $ac_count -gt 10 && break
6290 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6293 $ac_path_GREP_found && break 3
6298 if test -z "$ac_cv_path_GREP"; then
6299 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6302 ac_cv_path_GREP
=$GREP
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6307 $as_echo "$ac_cv_path_GREP" >&6; }
6308 GREP
="$ac_cv_path_GREP"
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6312 $as_echo_n "checking for egrep... " >&6; }
6313 if ${ac_cv_path_EGREP+:} false
; then :
6314 $as_echo_n "(cached) " >&6
6316 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6317 then ac_cv_path_EGREP
="$GREP -E"
6319 if test -z "$EGREP"; then
6320 ac_path_EGREP_found
=false
6321 # Loop through the user's path and test for each of PROGNAME-LIST
6322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6323 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6326 test -z "$as_dir" && as_dir
=.
6327 for ac_prog
in egrep; do
6328 for ac_exec_ext
in '' $ac_executable_extensions; do
6329 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6330 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6331 # Check for GNU ac_path_EGREP and select it if it is found.
6332 # Check for GNU $ac_path_EGREP
6333 case `"$ac_path_EGREP" --version 2>&1` in
6335 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6338 $as_echo_n 0123456789 >"conftest.in"
6341 cat "conftest.in" "conftest.in" >"conftest.tmp"
6342 mv "conftest.tmp" "conftest.in"
6343 cp "conftest.in" "conftest.nl"
6344 $as_echo 'EGREP' >> "conftest.nl"
6345 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6346 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6347 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6348 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6349 # Best one so far, save it but keep looking for a better one
6350 ac_cv_path_EGREP
="$ac_path_EGREP"
6351 ac_path_EGREP_max
=$ac_count
6353 # 10*(2^10) chars as input seems more than enough
6354 test $ac_count -gt 10 && break
6356 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6359 $ac_path_EGREP_found && break 3
6364 if test -z "$ac_cv_path_EGREP"; then
6365 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6368 ac_cv_path_EGREP
=$EGREP
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6374 $as_echo "$ac_cv_path_EGREP" >&6; }
6375 EGREP
="$ac_cv_path_EGREP"
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6379 $as_echo_n "checking for ANSI C header files... " >&6; }
6380 if ${ac_cv_header_stdc+:} false
; then :
6381 $as_echo_n "(cached) " >&6
6383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6384 /* end confdefs.h. */
6398 if ac_fn_c_try_compile
"$LINENO"; then :
6399 ac_cv_header_stdc
=yes
6401 ac_cv_header_stdc
=no
6403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6405 if test $ac_cv_header_stdc = yes; then
6406 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6408 /* end confdefs.h. */
6412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6413 $EGREP "memchr" >/dev
/null
2>&1; then :
6416 ac_cv_header_stdc
=no
6422 if test $ac_cv_header_stdc = yes; then
6423 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6425 /* end confdefs.h. */
6429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6430 $EGREP "free" >/dev
/null
2>&1; then :
6433 ac_cv_header_stdc
=no
6439 if test $ac_cv_header_stdc = yes; then
6440 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6441 if test "$cross_compiling" = yes; then :
6444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6445 /* end confdefs.h. */
6448 #if ((' ' & 0x0FF) == 0x020)
6449 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6450 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6452 # define ISLOWER(c) \
6453 (('a' <= (c) && (c) <= 'i') \
6454 || ('j' <= (c) && (c) <= 'r') \
6455 || ('s' <= (c) && (c) <= 'z'))
6456 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6459 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6464 for (i = 0; i < 256; i++)
6465 if (XOR (islower (i), ISLOWER (i))
6466 || toupper (i) != TOUPPER (i))
6471 if ac_fn_c_try_run
"$LINENO"; then :
6474 ac_cv_header_stdc
=no
6476 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6477 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6483 $as_echo "$ac_cv_header_stdc" >&6; }
6484 if test $ac_cv_header_stdc = yes; then
6486 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6490 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6491 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6492 inttypes.h stdint.h unistd.h
6494 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6495 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6497 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6498 cat >>confdefs.h
<<_ACEOF
6499 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6507 for ac_header
in sys
/ipc.h sys
/shm.h \
6508 sys
/mmap.h sys
/mman.h sysexits.h \
6509 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6512 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6513 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6514 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6515 cat >>confdefs.h
<<_ACEOF
6516 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6524 for ac_header
in sys
/mount.h
6526 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6528 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6529 cat >>confdefs.h
<<_ACEOF
6530 #define HAVE_SYS_MOUNT_H 1
6537 for ac_header
in GL
/glx.h
6539 ac_fn_c_check_header_mongrel
"$LINENO" "GL/glx.h" "ac_cv_header_GL_glx_h" "$ac_includes_default"
6540 if test "x$ac_cv_header_GL_glx_h" = xyes
; then :
6541 cat >>confdefs.h
<<_ACEOF
6542 #define HAVE_GL_GLX_H 1
6544 host_feature_glx
=yes
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __unused conflicts with sys/stat.h" >&5
6553 $as_echo_n "checking if __unused conflicts with sys/stat.h... " >&6; }
6554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6555 /* end confdefs.h. */
6557 #define __unused __attribute__((unused))
6558 #include <sys/stat.h>
6568 if ac_fn_c_try_compile
"$LINENO"; then :
6569 host_stat_h__unused_used
=no
6571 host_stat_h__unused_used
=yes
6573 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_stat_h__unused_used" >&5
6575 $as_echo "$host_stat_h__unused_used" >&6; }
6578 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6579 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6581 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6582 if eval \
${$as_ac_Header+:} false
; then :
6583 $as_echo_n "(cached) " >&6
6585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6586 /* end confdefs.h. */
6587 #include <sys/types.h>
6599 if ac_fn_c_try_compile
"$LINENO"; then :
6600 eval "$as_ac_Header=yes"
6602 eval "$as_ac_Header=no"
6604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6606 eval ac_res
=\$
$as_ac_Header
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6608 $as_echo "$ac_res" >&6; }
6609 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6610 cat >>confdefs.h
<<_ACEOF
6611 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6614 ac_header_dirent
=$ac_hdr; break
6618 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6619 if test $ac_header_dirent = dirent.h
; then
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6621 $as_echo_n "checking for library containing opendir... " >&6; }
6622 if ${ac_cv_search_opendir+:} false
; then :
6623 $as_echo_n "(cached) " >&6
6625 ac_func_search_save_LIBS
=$LIBS
6626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6627 /* end confdefs.h. */
6629 /* Override any GCC internal prototype to avoid an error.
6630 Use char because int might match the return type of a GCC
6631 builtin and then its argument prototype would still apply. */
6644 for ac_lib
in '' dir
; do
6645 if test -z "$ac_lib"; then
6646 ac_res
="none required"
6649 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6651 if ac_fn_c_try_link
"$LINENO"; then :
6652 ac_cv_search_opendir
=$ac_res
6654 rm -f core conftest.err conftest.
$ac_objext \
6656 if ${ac_cv_search_opendir+:} false
; then :
6660 if ${ac_cv_search_opendir+:} false
; then :
6663 ac_cv_search_opendir
=no
6666 LIBS
=$ac_func_search_save_LIBS
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6669 $as_echo "$ac_cv_search_opendir" >&6; }
6670 ac_res
=$ac_cv_search_opendir
6671 if test "$ac_res" != no
; then :
6672 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6678 $as_echo_n "checking for library containing opendir... " >&6; }
6679 if ${ac_cv_search_opendir+:} false
; then :
6680 $as_echo_n "(cached) " >&6
6682 ac_func_search_save_LIBS
=$LIBS
6683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6684 /* end confdefs.h. */
6686 /* Override any GCC internal prototype to avoid an error.
6687 Use char because int might match the return type of a GCC
6688 builtin and then its argument prototype would still apply. */
6701 for ac_lib
in '' x
; do
6702 if test -z "$ac_lib"; then
6703 ac_res
="none required"
6706 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6708 if ac_fn_c_try_link
"$LINENO"; then :
6709 ac_cv_search_opendir
=$ac_res
6711 rm -f core conftest.err conftest.
$ac_objext \
6713 if ${ac_cv_search_opendir+:} false
; then :
6717 if ${ac_cv_search_opendir+:} false
; then :
6720 ac_cv_search_opendir
=no
6723 LIBS
=$ac_func_search_save_LIBS
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6726 $as_echo "$ac_cv_search_opendir" >&6; }
6727 ac_res
=$ac_cv_search_opendir
6728 if test "$ac_res" != no
; then :
6729 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6736 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6737 if ${ac_cv_header_stat_broken+:} false
; then :
6738 $as_echo_n "(cached) " >&6
6740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6741 /* end confdefs.h. */
6742 #include <sys/types.h>
6743 #include <sys/stat.h>
6745 #if defined S_ISBLK && defined S_IFDIR
6746 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6749 #if defined S_ISBLK && defined S_IFCHR
6750 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6753 #if defined S_ISLNK && defined S_IFREG
6754 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6757 #if defined S_ISSOCK && defined S_IFREG
6758 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6762 if ac_fn_c_try_compile
"$LINENO"; then :
6763 ac_cv_header_stat_broken
=no
6765 ac_cv_header_stat_broken
=yes
6767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6770 $as_echo "$ac_cv_header_stat_broken" >&6; }
6771 if test $ac_cv_header_stat_broken = yes; then
6773 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6778 $as_echo_n "checking for ANSI C header files... " >&6; }
6779 if ${ac_cv_header_stdc+:} false
; then :
6780 $as_echo_n "(cached) " >&6
6782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6783 /* end confdefs.h. */
6797 if ac_fn_c_try_compile
"$LINENO"; then :
6798 ac_cv_header_stdc
=yes
6800 ac_cv_header_stdc
=no
6802 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6804 if test $ac_cv_header_stdc = yes; then
6805 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6807 /* end confdefs.h. */
6811 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6812 $EGREP "memchr" >/dev
/null
2>&1; then :
6815 ac_cv_header_stdc
=no
6821 if test $ac_cv_header_stdc = yes; then
6822 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6824 /* end confdefs.h. */
6828 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6829 $EGREP "free" >/dev
/null
2>&1; then :
6832 ac_cv_header_stdc
=no
6838 if test $ac_cv_header_stdc = yes; then
6839 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6840 if test "$cross_compiling" = yes; then :
6843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6844 /* end confdefs.h. */
6847 #if ((' ' & 0x0FF) == 0x020)
6848 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6849 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6851 # define ISLOWER(c) \
6852 (('a' <= (c) && (c) <= 'i') \
6853 || ('j' <= (c) && (c) <= 'r') \
6854 || ('s' <= (c) && (c) <= 'z'))
6855 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6858 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6863 for (i = 0; i < 256; i++)
6864 if (XOR (islower (i), ISLOWER (i))
6865 || toupper (i) != TOUPPER (i))
6870 if ac_fn_c_try_run
"$LINENO"; then :
6873 ac_cv_header_stdc
=no
6875 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6876 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6882 $as_echo "$ac_cv_header_stdc" >&6; }
6883 if test $ac_cv_header_stdc = yes; then
6885 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6890 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6891 if ${ac_cv_header_sys_wait_h+:} false
; then :
6892 $as_echo_n "(cached) " >&6
6894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6895 /* end confdefs.h. */
6896 #include <sys/types.h>
6897 #include <sys/wait.h>
6899 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6902 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6910 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6915 if ac_fn_c_try_compile
"$LINENO"; then :
6916 ac_cv_header_sys_wait_h
=yes
6918 ac_cv_header_sys_wait_h
=no
6920 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6923 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6924 if test $ac_cv_header_sys_wait_h = yes; then
6926 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6931 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6932 if ${ac_cv_header_time+:} false
; then :
6933 $as_echo_n "(cached) " >&6
6935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6936 /* end confdefs.h. */
6937 #include <sys/types.h>
6938 #include <sys/time.h>
6944 if ((struct tm *) 0)
6950 if ac_fn_c_try_compile
"$LINENO"; then :
6951 ac_cv_header_time
=yes
6953 ac_cv_header_time
=no
6955 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6958 $as_echo "$ac_cv_header_time" >&6; }
6959 if test $ac_cv_header_time = yes; then
6961 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6965 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6966 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6968 cat >>confdefs.h
<<_ACEOF
6969 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6973 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6978 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6979 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6981 cat >>confdefs.h
<<_ACEOF
6982 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6986 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6989 case " $LIBOBJS " in
6990 *" fileblocks.$ac_objext "* ) ;;
6991 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6998 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6999 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
7001 cat >>confdefs.h
<<_ACEOF
7002 #define HAVE_STRUCT_STAT_ST_RDEV 1
7006 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
7012 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
7013 if ${ac_cv_struct_tm+:} false
; then :
7014 $as_echo_n "(cached) " >&6
7016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7017 /* end confdefs.h. */
7018 #include <sys/types.h>
7025 int *p = &tm.tm_sec;
7031 if ac_fn_c_try_compile
"$LINENO"; then :
7032 ac_cv_struct_tm
=time.h
7034 ac_cv_struct_tm
=sys
/time.h
7036 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
7039 $as_echo "$ac_cv_struct_tm" >&6; }
7040 if test $ac_cv_struct_tm = sys
/time.h
; then
7042 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
7046 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
7047 #include <$ac_cv_struct_tm>
7050 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
7052 cat >>confdefs.h
<<_ACEOF
7053 #define HAVE_STRUCT_TM_TM_ZONE 1
7059 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
7061 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
7064 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
7066 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
7072 cat >>confdefs.h
<<_ACEOF
7073 #define HAVE_DECL_TZNAME $ac_have_decl
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
7077 $as_echo_n "checking for tzname... " >&6; }
7078 if ${ac_cv_var_tzname+:} false
; then :
7079 $as_echo_n "(cached) " >&6
7081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7082 /* end confdefs.h. */
7084 #if !HAVE_DECL_TZNAME
7085 extern char *tzname[];
7091 return tzname[0][0];
7096 if ac_fn_c_try_link
"$LINENO"; then :
7097 ac_cv_var_tzname
=yes
7101 rm -f core conftest.err conftest.
$ac_objext \
7102 conftest
$ac_exeext conftest.
$ac_ext
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
7105 $as_echo "$ac_cv_var_tzname" >&6; }
7106 if test $ac_cv_var_tzname = yes; then
7108 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
7113 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
7114 if test "x$ac_cv_type_off_t" = xyes
; then :
7118 cat >>confdefs.h
<<_ACEOF
7119 #define off_t long int
7124 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
7125 if test "x$ac_cv_type_pid_t" = xyes
; then :
7129 cat >>confdefs.h
<<_ACEOF
7135 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7136 if test "x$ac_cv_type_size_t" = xyes
; then :
7140 cat >>confdefs.h
<<_ACEOF
7141 #define size_t unsigned int
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
7147 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7148 if ${ac_cv_type_uid_t+:} false
; then :
7149 $as_echo_n "(cached) " >&6
7151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7152 /* end confdefs.h. */
7153 #include <sys/types.h>
7156 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7157 $EGREP "uid_t" >/dev
/null
2>&1; then :
7158 ac_cv_type_uid_t
=yes
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
7166 $as_echo "$ac_cv_type_uid_t" >&6; }
7167 if test $ac_cv_type_uid_t = no
; then
7169 $as_echo "#define uid_t int" >>confdefs.h
7172 $as_echo "#define gid_t int" >>confdefs.h
7177 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
7178 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
7180 cat >>confdefs.h
<<_ACEOF
7181 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7188 # Look for some functions
7189 for ac_func
in getpagesize kqueue statfs statvfs \
7190 clone kse_create rfork_thread thr_create sa_register \
7191 getcontext makecontext setcontext sigaltstack swapcontext
7193 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7194 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7195 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7196 cat >>confdefs.h
<<_ACEOF
7197 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7207 for ac_header
in $ac_header_list
7209 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7210 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7212 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7213 cat >>confdefs.h
<<_ACEOF
7214 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7228 for ac_func
in getpagesize
7230 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
7231 if test "x$ac_cv_func_getpagesize" = xyes
; then :
7232 cat >>confdefs.h
<<_ACEOF
7233 #define HAVE_GETPAGESIZE 1
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
7240 $as_echo_n "checking for working mmap... " >&6; }
7241 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
7242 $as_echo_n "(cached) " >&6
7244 if test "$cross_compiling" = yes; then :
7245 ac_cv_func_mmap_fixed_mapped
=no
7247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7248 /* end confdefs.h. */
7249 $ac_includes_default
7250 /* malloc might have been renamed as rpl_malloc. */
7253 /* Thanks to Mike Haertel and Jim Avera for this test.
7254 Here is a matrix of mmap possibilities:
7255 mmap private not fixed
7256 mmap private fixed at somewhere currently unmapped
7257 mmap private fixed at somewhere already mapped
7258 mmap shared not fixed
7259 mmap shared fixed at somewhere currently unmapped
7260 mmap shared fixed at somewhere already mapped
7261 For private mappings, we should verify that changes cannot be read()
7262 back from the file, nor mmap's back from the file at a different
7263 address. (There have been systems where private was not correctly
7264 implemented like the infamous i386 svr4.0, and systems where the
7265 VM page cache was not coherent with the file system buffer cache
7266 like early versions of FreeBSD and possibly contemporary NetBSD.)
7267 For shared mappings, we should conversely verify that changes get
7268 propagated back to all the places they're supposed to be.
7270 Grep wants private fixed already mapped.
7271 The main things grep needs to know about mmap are:
7272 * does it exist and is it safe to write into the mmap'd area
7273 * how to use it (BSD variants) */
7276 #include <sys/mman.h>
7278 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7282 /* This mess was copied from the GNU getpagesize.h. */
7283 #ifndef HAVE_GETPAGESIZE
7284 # ifdef _SC_PAGESIZE
7285 # define getpagesize() sysconf(_SC_PAGESIZE)
7286 # else /* no _SC_PAGESIZE */
7287 # ifdef HAVE_SYS_PARAM_H
7288 # include <sys/param.h>
7289 # ifdef EXEC_PAGESIZE
7290 # define getpagesize() EXEC_PAGESIZE
7291 # else /* no EXEC_PAGESIZE */
7293 # define getpagesize() NBPG * CLSIZE
7296 # endif /* no CLSIZE */
7297 # else /* no NBPG */
7299 # define getpagesize() NBPC
7300 # else /* no NBPC */
7302 # define getpagesize() PAGESIZE
7303 # endif /* PAGESIZE */
7304 # endif /* no NBPC */
7305 # endif /* no NBPG */
7306 # endif /* no EXEC_PAGESIZE */
7307 # else /* no HAVE_SYS_PARAM_H */
7308 # define getpagesize() 8192 /* punt totally */
7309 # endif /* no HAVE_SYS_PARAM_H */
7310 # endif /* no _SC_PAGESIZE */
7312 #endif /* no HAVE_GETPAGESIZE */
7317 char *data, *data2, *data3;
7322 pagesize = getpagesize ();
7324 /* First, make a file with some known garbage in it. */
7325 data = (char *) malloc (pagesize);
7328 for (i = 0; i < pagesize; ++i)
7329 *(data + i) = rand ();
7331 fd = creat ("conftest.mmap", 0600);
7334 if (write (fd, data, pagesize) != pagesize)
7338 /* Next, check that the tail of a page is zero-filled. File must have
7339 non-zero length, otherwise we risk SIGBUS for entire page. */
7340 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7344 if (write (fd2, cdata2, 1) != 1)
7346 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7347 if (data2 == MAP_FAILED)
7349 for (i = 0; i < pagesize; ++i)
7353 if (munmap (data2, pagesize))
7356 /* Next, try to mmap the file at a fixed address which already has
7357 something else allocated at it. If we can, also make sure that
7358 we see the same garbage. */
7359 fd = open ("conftest.mmap", O_RDWR);
7362 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7363 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7365 for (i = 0; i < pagesize; ++i)
7366 if (*(data + i) != *(data2 + i))
7369 /* Finally, make sure that changes to the mapped area do not
7370 percolate back to the file as seen by read(). (This is a bug on
7371 some variants of i386 svr4.0.) */
7372 for (i = 0; i < pagesize; ++i)
7373 *(data2 + i) = *(data2 + i) + 1;
7374 data3 = (char *) malloc (pagesize);
7377 if (read (fd, data3, pagesize) != pagesize)
7379 for (i = 0; i < pagesize; ++i)
7380 if (*(data + i) != *(data3 + i))
7388 if ac_fn_c_try_run
"$LINENO"; then :
7389 ac_cv_func_mmap_fixed_mapped
=yes
7391 ac_cv_func_mmap_fixed_mapped
=no
7393 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7394 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7399 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7400 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7402 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7405 rm -f conftest.mmap conftest.txt
7408 #-----------------------------------------------------------------------------
7411 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7412 # it switched on by default, and we use the host compiler, so it compiles AROS
7413 # code with this enabled resulting in link failures as we don't have support
7416 # We use two methods to disable it. For the host compiler (used to compile
7417 # some hosted modules), we test to see if the compiler supports stack
7418 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7419 # work on all platforms.
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7423 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7424 save_cflags
="$CFLAGS"
7425 CFLAGS
="$CFLAGS -fno-stack-protector"
7426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7427 /* end confdefs.h. */
7437 if ac_fn_c_try_compile
"$LINENO"; then :
7438 use_no_stack_protector
="yes"
7440 use_no_stack_protector
="no"
7442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7444 $as_echo "$use_no_stack_protector" >&6; }
7445 if test "x-$use_no_stack_protector" = "x-yes" ; then
7446 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7448 CFLAGS
="$save_cflags"
7450 #-----------------------------------------------------------------------------
7452 # Disable pointer-signedness warnings if the compiler recognises the option
7453 # (this only works for the host compiler at the moment)
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7456 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7457 save_cflags
="$CFLAGS"
7458 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7460 /* end confdefs.h. */
7470 if ac_fn_c_try_compile
"$LINENO"; then :
7471 use_no_sign_warning
="yes"
7473 use_no_sign_warning
="no"
7475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7477 $as_echo "$use_no_sign_warning" >&6; }
7478 if test "x-$use_no_sign_warning" = "x-yes" ; then
7479 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7481 CFLAGS
="$save_cflags"
7483 #-----------------------------------------------------------------------------
7485 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7488 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7489 save_cflags
="$CFLAGS"
7490 CFLAGS
="$CFLAGS -fgnu89-inline"
7491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7492 /* end confdefs.h. */
7502 if ac_fn_c_try_compile
"$LINENO"; then :
7503 use_gnu89_inline
="yes"
7505 use_gnu89_inline
="no"
7507 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7509 $as_echo "$use_gnu89_inline" >&6; }
7510 if test "x-$use_gnu89_inline" = "x-yes" ; then
7511 gnu89_inline
="-fgnu89-inline"
7513 CFLAGS
="$save_cflags"
7516 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
7517 # On GCC >= 4.0 -iquote should be used
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
7520 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
7521 CFLAGS
="$CFLAGS -iquote."
7522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7523 /* end confdefs.h. */
7533 if ac_fn_c_try_compile
"$LINENO"; then :
7538 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
7540 $as_echo "$has_iquote" >&6; }
7541 if test "x-$has_iquote" = "x-yes" ; then
7542 host_cflags_iquote
=-iquote
7543 host_cflags_iquote_end
=
7545 host_cflags_iquote
=-I
7546 host_cflags_iquote_end
=-I-
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: Performing target configuration..." >&5
7550 $as_echo "$as_me: Performing target configuration..." >&6;}
7555 aros_nowarn_flags
="NOWARN_UNUSED_COMMAND_LINE_ARGUMENT NOWARN_UNKNOWN_WARNING_OPTION NOWARN_POINTER_SIGN NOWARN_PARENTHESES"
7563 aros_config_cppflags
=
7565 aros_config_cxxflags
=
7566 aros_config_aflags
="$""(WARN_ALL) -x assembler-with-cpp -c"
7567 aros_config_ldflags
=""
7569 aros_shared_default
=yes
7571 aros_shared_cflags
="-fPIC"
7572 aros_shared_aflags
=""
7573 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7574 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7576 aros_kernel_ar_flags
="cr"
7577 aros_target_ar_flags
="cr"
7578 aros_target_nm_flags
="-C -ul"
7579 aros_target_strip_flags
="--strip-unneeded -R.comment"
7584 aros_target_genmap
="-Wl,-Map -Xlinker"
7586 # Native flavour stuff
7587 aros_serial_debug
="0"
7589 # Palm native flavour stuff
7590 aros_palm_debug_hack
="0"
7592 # Unix flavour stuff
7593 aros_nesting_supervisor
="0"
7595 # Collect-aros stuff: "-ius" to ignore undefined symbols
7596 ignore_undefined_symbols
=""
7598 # Check for X11 by default
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which toolchain family to use ..." >&5
7602 $as_echo_n "checking Which toolchain family to use ...... " >&6; }
7604 # Check whether --with-toolchain was given.
7605 if test "${with_toolchain+set}" = set; then :
7606 withval
=$with_toolchain; aros_toolchain
="$withval"
7608 aros_toolchain
="$default_toolchain_family"
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_toolchain" >&5
7612 $as_echo "$aros_toolchain" >&6; }
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should enable link time optimizations (LTO)" >&5
7616 $as_echo_n "checking if we should enable link time optimizations (LTO)... " >&6; }
7617 # Check whether --enable-lto was given.
7618 if test "${enable_lto+set}" = set; then :
7619 enableval
=$enable_lto; aros_config_lto
="$enableval"
7621 aros_config_lto
="no"
7624 if test "$aros_config_lto" != "no"; then
7625 aros_config_lto
="yes"
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_config_lto" >&5
7628 $as_echo "$aros_config_lto" >&6; }
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should enable coverage instrumentation" >&5
7631 $as_echo_n "checking if we should enable coverage instrumentation... " >&6; }
7632 # Check whether --enable-coverage was given.
7633 if test "${enable_coverage+set}" = set; then :
7634 enableval
=$enable_coverage; aros_config_coverage
="$enableval"
7636 aros_config_coverage
="no"
7639 if test "$aros_config_coverage" != "no"; then
7640 aros_config_coverage
="yes"
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_config_coverage" >&5
7643 $as_echo "$aros_config_coverage" >&6; }
7647 case "$aros_toolchain" in
7649 toolchain_c_compiler
="clang"
7650 toolchain_cxx_compiler
="clang++"
7651 toolchain_cpp_preprocessor
="clang -E"
7652 toolchain_ld
="ld.lld"
7654 toolchain_as
="llvm-as"
7655 toolchain_ar
="llvm-ar"
7656 toolchain_ranlib
="llvm-ranlib"
7657 toolchain_nm
="llvm-nm"
7658 toolchain_strip
="true"
7659 toolchain_objcopy
="llvm-objcopy"
7660 toolchain_objdump
="llvm-objdump"
7664 toolchain_c_compiler
="gcc"
7665 toolchain_cxx_compiler
="g++"
7666 toolchain_cpp_preprocessor
="gcc -E"
7669 if test "$aros_config_lto" != "yes"; then
7672 toolchain_ranlib
="ranlib"
7675 toolchain_ld
="ld.bfd"
7676 toolchain_ar
="gcc-ar"
7677 toolchain_ranlib
="gcc-ranlib"
7678 toolchain_nm
="gcc-nm"
7680 toolchain_strip
="strip"
7681 toolchain_objcopy
="objcopy"
7682 toolchain_objdump
="objdump"
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown toolchain family!\"" >&5
7687 $as_echo "$as_me: WARNING: \"Unknown toolchain family!\"" >&2;}
7688 toolchain_c_compiler
="cc"
7689 toolchain_cxx_compiler
="c++"
7690 toolchain_cpp_preprocessor
="cpp"
7695 toolchain_ranlib
="ranlib"
7697 toolchain_strip
="strip"
7698 toolchain_objcopy
="objcopy"
7699 toolchain_objdump
="objdump"
7703 #-----------------------------------------------------------------------------
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which type of build to do" >&5
7706 $as_echo_n "checking which type of build to do... " >&6; }
7707 # Check whether --enable-build_type was given.
7708 if test "${enable_build_type+set}" = set; then :
7709 enableval
=$enable_build_type; build_type
=$enableval
7711 build_type
="personal"
7715 if test "$build_type" = "nightly"; then
7716 build_type_string
="NIGHTLY"
7717 elif test "$build_type" = "snapshot"; then
7718 build_type_string
="SNAPSHOT"
7719 elif test "$build_type" = "milestone"; then
7720 build_type_string
="MILESTONE"
7721 elif test "$build_type" = "release"; then
7722 build_type_string
="RELEASE"
7724 build_type_string
="PERSONAL"
7725 build_type
="personal"
7728 aros_config_cppflags
="$aros_config_cppflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7731 $as_echo "$build_type" >&6; }
7733 #-----------------------------------------------------------------------------
7734 all_debug_types
="messages stack modules mungwall symbols"
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7737 $as_echo_n "checking which debug types to enable... " >&6; }
7738 # Check whether --enable-debug was given.
7739 if test "${enable_debug+set}" = set; then :
7740 enableval
=$enable_debug; debug
="$enableval"
7746 if test "$debug" = "" -o "$debug" = "no"; then
7748 elif test "$debug" = "yes"; then
7752 if test "$debug" = "all" ; then
7753 debug
="messages stack modules symbols"
7754 for d
in $all_debug_types; do
7755 export aros_
${d}_debug
="1"
7758 for d
in $all_debug_types; do
7759 export aros_
${d}_debug
="0"
7763 if test "$debug" != "none"; then
7764 debug
=`echo $debug | sed s/,/\ /g`
7767 for d2
in $all_debug_types; do
7768 if test "$d2" = "$d"; then
7773 if test "$found" = "0"; then
7774 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7776 export aros_
${d}_debug
="1"
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7781 $as_echo "$debug" >&6; }
7783 if test "$aros_messages_debug" = "1"; then
7784 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7786 aros_messages_debug
=""
7788 if test "$aros_symbols_debug" = "1"; then
7789 aros_symbols_debug
="-g"
7791 aros_symbols_debug
=""
7794 # These are the flags to pass when compiling debugged programs
7795 aros_debug_cppflags
="$aros_messages_debug"
7796 aros_debug_cflags
="$aros_symbols_debug"
7797 aros_debug_cxxflags
=
7798 aros_debug_aflags
=""
7799 aros_debug_ldflags
="$aros_symbols_debug"
7801 #-----------------------------------------------------------------------------
7802 # Checking for distcc and ccache.
7804 # Always apply the transforms in this particular order. Basically you should
7805 # always run 'ccache distcc compiler' in that order for the best performance.
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7808 $as_echo_n "checking whether to enable distcc... " >&6; }
7809 # Check whether --enable-distcc was given.
7810 if test "${enable_distcc+set}" = set; then :
7811 enableval
=$enable_distcc; distcc
="$enableval"
7816 if test "$distcc" != "" -a "$distcc" != "no"; then
7817 # AC_CHECK_PROG will print out the result in this case
7818 # Extract the first word of "distcc", so it can be a program name with args.
7819 set dummy distcc
; ac_word
=$2
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7821 $as_echo_n "checking for $ac_word... " >&6; }
7822 if ${ac_cv_path_DISTCC+:} false
; then :
7823 $as_echo_n "(cached) " >&6
7827 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7834 test -z "$as_dir" && as_dir
=.
7835 for ac_exec_ext
in '' $ac_executable_extensions; do
7836 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7837 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7845 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7849 DISTCC
=$ac_cv_path_DISTCC
7850 if test -n "$DISTCC"; then
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7852 $as_echo "$DISTCC" >&6; }
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7855 $as_echo "no" >&6; }
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7861 $as_echo "no" >&6; }
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7865 $as_echo_n "checking whether to enable ccache... " >&6; }
7866 # Check whether --enable-ccache was given.
7867 if test "${enable_ccache+set}" = set; then :
7868 enableval
=$enable_ccache; ccache
="$enableval"
7873 if test "$ccache" != "" -a "$ccache" != "no"; then
7874 # AC_CHECK_PROG will print out the result in this case
7875 # Extract the first word of "ccache", so it can be a program name with args.
7876 set dummy ccache
; ac_word
=$2
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7878 $as_echo_n "checking for $ac_word... " >&6; }
7879 if ${ac_cv_prog_CCACHE+:} false
; then :
7880 $as_echo_n "(cached) " >&6
7882 if test -n "$CCACHE"; then
7883 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7889 test -z "$as_dir" && as_dir
=.
7890 for ac_exec_ext
in '' $ac_executable_extensions; do
7891 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7892 ac_cv_prog_CCACHE
="ccache"
7893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7902 CCACHE
=$ac_cv_prog_CCACHE
7903 if test -n "$CCACHE"; then
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7905 $as_echo "$CCACHE" >&6; }
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7908 $as_echo "no" >&6; }
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7914 $as_echo "no" >&6; }
7917 #-----------------------------------------------------------------------------
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7919 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7921 # Check whether --with-kernel-gcc-version was given.
7922 if test "${with_kernel_gcc_version+set}" = set; then :
7923 withval
=$with_kernel_gcc_version; kernel_tool_version
="$withval"
7925 kernel_tool_version
=""
7928 if test "$kernel_tool_version" != "" ; then
7929 msg_result
=$kernel_tool_version
7931 msg_result
="default"
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
7934 $as_echo "$msg_result" >&6; }
7936 #-----------------------------------------------------------------------------
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7938 $as_echo_n "checking what optimization flags to use... " >&6; }
7940 # Check whether --with-optimization was given.
7941 if test "${with_optimization+set}" = set; then :
7942 withval
=$with_optimization; optimization_level
="$withval"
7944 optimization_level
="unknown"
7947 if test "$optimization_level" = "unknown"; then
7948 optimization
="default"
7949 if test "$debug" != "none"; then
7950 optimization_level
="-O0"
7952 optimization_level
="-O2"
7955 optimization
="$optimization_level"
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7958 $as_echo "$optimization" >&6; }
7960 paranoia_default
=yes
7961 #-----------------------------------------------------------------------------
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which paranoia flags to use" >&5
7963 $as_echo_n "checking which paranoia flags to use... " >&6; }
7965 # Check whether --with-paranoia was given.
7966 if test "${with_paranoia+set}" = set; then :
7967 withval
=$with_paranoia; paranoia_flags
="$withval"
7969 paranoia_flags
="$paranoia_default"
7972 if test "$paranoia_flags" = "no"; then
7973 paranoia_flags
="$""(WARN_ALL) -Werror-implicit-function-declaration"
7976 if test "$paranoia_flags" = "yes"; then
7977 paranoia_flags
="$""(WARN_ALL) $""(WARN_ERROR)"
7979 msg_result
="$paranoia_flags"
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
7982 $as_echo "$msg_result" >&6; }
7983 aros_warn_flags
="$aros_warn_flags $paranoia_flags"
7985 #-----------------------------------------------------------------------------
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7987 $as_echo_n "checking what target variant to enable... " >&6; }
7988 # Check whether --enable-target_variant was given.
7989 if test "${enable_target_variant+set}" = set; then :
7990 enableval
=$enable_target_variant; target_variant
=$enableval
7995 if test "$target_variant" = ""; then
7996 aros_target_variant
=""
7997 aros_target_suffix
=""
8000 aros_target_variant
="$target_variant"
8001 aros_target_suffix
="-$target_variant"
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
8004 $as_echo "$enableval" >&6; }
8006 #-----------------------------------------------------------------------------
8007 # Target-specific defaults. You can override then on a per-target basis.
8009 # Bootloader name. Currently used by PC target.
8010 target_bootloader
="none"
8014 #-----------------------------------------------------------------------------
8015 # Additional options for some specific targets
8017 case "$aros_target_variant" in
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
8020 $as_echo_n "checking XCode path... " >&6; }
8022 # Check whether --with-xcode was given.
8023 if test "${with_xcode+set}" = set; then :
8024 withval
=$with_xcode; aros_xcode_path
="$withval"
8026 aros_xcode_path
="/Developer"
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
8030 $as_echo "$aros_xcode_path" >&6; }
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
8033 $as_echo_n "checking what iOS SDK version to use... " >&6; }
8035 # Check whether --with-sdk-version was given.
8036 if test "${with_sdk_version+set}" = set; then :
8037 withval
=$with_sdk_version; aros_sdk_version
="$withval"
8039 aros_sdk_version
="4.1"
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
8043 $as_echo "$aros_sdk_version" >&6; }
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
8049 $as_echo_n "checking Android SDK path... " >&6; }
8051 # Check whether --with-sdk was given.
8052 if test "${with_sdk+set}" = set; then :
8053 withval
=$with_sdk; aros_android_sdk
="$withval"
8055 aros_android_sdk
=$default_android_sdk
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
8059 $as_echo "$aros_android_sdk" >&6; }
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
8062 $as_echo_n "checking Android NDK path... " >&6; }
8064 # Check whether --with-ndk was given.
8065 if test "${with_ndk+set}" = set; then :
8066 withval
=$with_ndk; aros_android_ndk
="$withval"
8068 aros_android_ndk
="none"
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
8072 $as_echo "$aros_android_ndk" >&6; }
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
8075 $as_echo_n "checking what Android SDK version to use... " >&6; }
8077 # Check whether --with-sdk-version was given.
8078 if test "${with_sdk_version+set}" = set; then :
8079 withval
=$with_sdk_version; aros_sdk_version
="$withval"
8081 aros_sdk_version
="12"
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
8085 $as_echo "$aros_sdk_version" >&6; }
8087 aros_android_level
=android-
$aros_sdk_version
8088 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
8089 echo "Platform $aros_android_level is not installed in your SDK"
8090 echo "Use --with-sdk-version=<API level number> to select another platform version"
8091 echo "You can check what plaform versions are installed in your SDK"
8092 echo "by examining contents of $aros_android_sdk/platforms directory"
8093 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
8096 export PATH
="$aros_android_sdk/tools:$PATH"
8097 # Extract the first word of "$android_tool", so it can be a program name with args.
8098 set dummy
$android_tool; ac_word
=$2
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8100 $as_echo_n "checking for $ac_word... " >&6; }
8101 if ${ac_cv_path_android_tool+:} false
; then :
8102 $as_echo_n "(cached) " >&6
8104 case $android_tool in
8106 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
8109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8113 test -z "$as_dir" && as_dir
=.
8114 for ac_exec_ext
in '' $ac_executable_extensions; do
8115 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8116 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
8117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8127 android_tool
=$ac_cv_path_android_tool
8128 if test -n "$android_tool"; then
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
8130 $as_echo "$android_tool" >&6; }
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8133 $as_echo "no" >&6; }
8138 if test "$android_tool" = ""; then
8141 if test "$android_tool" = "no"; then
8144 if test "$req_avail" = "no"; then
8145 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
8148 if test "$aros_android_ndk" != "none"; then
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
8150 $as_echo_n "checking what Android NDK version to use... " >&6; }
8152 # Check whether --with-ndk-version was given.
8153 if test "${with_ndk_version+set}" = set; then :
8154 withval
=$with_ndk_version; aros_ndk_version
="$withval"
8156 aros_ndk_version
="9"
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
8160 $as_echo "$aros_ndk_version" >&6; }
8163 # Extract the first word of "ant", so it can be a program name with args.
8164 set dummy ant
; ac_word
=$2
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8166 $as_echo_n "checking for $ac_word... " >&6; }
8167 if ${ac_cv_path_ant+:} false
; then :
8168 $as_echo_n "(cached) " >&6
8172 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
8175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8179 test -z "$as_dir" && as_dir
=.
8180 for ac_exec_ext
in '' $ac_executable_extensions; do
8181 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8182 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
8183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8194 if test -n "$ant"; then
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
8196 $as_echo "$ant" >&6; }
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8199 $as_echo "no" >&6; }
8203 if test "$ant" = ""; then
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
8205 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Build debug or release apk" >&5
8209 $as_echo_n "checking Build debug or release apk... " >&6; }
8211 # Check whether --with-apk-version was given.
8212 if test "${with_apk_version+set}" = set; then :
8213 withval
=$with_apk_version; aros_android_antapk
=$withval
8215 aros_android_antapk
=release
8218 if test $aros_android_antapk != release
-a $aros_android_antapk != debug
; then
8219 as_fn_error $?
"apk-version has to be release or debug" "$LINENO" 5
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_antapk" >&5
8222 $as_echo "$aros_android_antapk" >&6; }
8224 target_extra_cfg
+="$export_newline""# Android$export_newline""AROS_ANDROID_ANTAPK := $aros_android_antapk$export_newline"
8225 host_extra_cfg
+="$export_newline""# Android-specific$export_newline""ANDROID := $android_tool$export_newline""ANT := $ant$export_newline"
8226 aros_target_options
+="$export_newline""# Enable Android Gfx Driver$export_newline""OPT_HOST_ANDROIDGFX := yes$export_newline"
8228 if test "$host_os" = "mingw32"; then
8229 android_tool
="cmd //c $android_tool"
8237 #-----------------------------------------------------------------------------
8238 # External toolchains
8239 kernel_tool_prefix
="none"
8240 aros_tool_prefix
="none"
8241 elf_tool_prefix
="${target_cpu}-elf-"
8243 # Base target cpu ISA configuration switch.
8244 case "$target_cpu" in
8250 m68k_isa_extra
="ISA_MC68000_FLAGS = -march=68000"
8251 m68k_020_isa_extra
="ISA_MC68020_FLAGS = -march=68020"
8252 m68k_030_isa_extra
="ISA_MC68030_FLAGS = -march=68030"
8253 m68k_040_isa_extra
="ISA_MC68040_FLAGS = -march=68040"
8254 m68k_060_isa_extra
="ISA_MC68060_FLAGS = -march=68060"
8255 m68k_ac080_isa_extra
="ISA_AC68080_FLAGS = -march=68040"
8256 m68k_020_ext
="ISA_MC68020_EXT :=020"
8257 m68k_030_ext
="ISA_MC68030_EXT :=030"
8258 m68k_040_ext
="ISA_MC68040_EXT :=040"
8259 m68k_060_ext
="ISA_MC68060_EXT :=060"
8260 m68k_020_cflags
="ISA_MC68020_CFLAGS ="
8261 m68k_030_cflags
="ISA_MC68030_CFLAGS ="
8262 m68k_040_cflags
="ISA_MC68040_CFLAGS ="
8263 m68k_060_cflags
="ISA_MC68060_CFLAGS ="
8264 m68k_020_cppflags
="ISA_MC68020_CPPFLAGS ="
8265 m68k_030_cppflags
="ISA_MC68030_CPPFLAGS ="
8266 m68k_040_cppflags
="ISA_MC68040_CPPFLAGS ="
8267 m68k_060_cppflags
="ISA_MC68060_CPPFLAGS ="
8268 m68k_020_ldflags
="ISA_MC68020_LDFLAGS ="
8269 m68k_030_ldflags
="ISA_MC68030_LDFLAGS ="
8270 m68k_040_ldflags
="ISA_MC68040_LDFLAGS ="
8271 m68k_060_ldflags
="ISA_MC68060_LDFLAGS ="
8274 x86_isa_extra
="ISA_X86_FLAGS = -m32 -march=i486"
8275 x86_64_isa_extra
="ISA_X8664_FLAGS = -mcmodel=large"
8281 # This is the target configuration switch.
8282 case "$target_os" in
8284 aros_target_arch
="linux"
8285 aros_target_family
="unix"
8286 case "$target_cpu" in
8288 aros_target_cpu
="m68k"
8289 aros_object_format
="m68kelf"
8290 aros_flavour
="emulcompat"
8291 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8292 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
8293 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8294 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8295 gcc_target_cpu
="mc68000"
8298 aros_target_cpu
="i386"
8299 aros_object_format
="elf_i386"
8300 aros_flavour
="emulation"
8301 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8302 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8303 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8304 aros_kernel_ldflags
="-Wl,-melf_i386"
8305 aros_nominal_depth
=8
8306 gcc_target_cpu
="i386"
8307 pci_hidd_target
="hidd-pci-linux"
8308 android_tool_dir_prefix
="x86"
8309 android_tool_prefix
="i686-android-linux"
8310 android_ndk_arch
="x86"
8313 aros_target_cpu
="x86_64"
8314 aros_object_format
="elf_x86_64"
8315 aros_flavour
="emulation"
8316 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8317 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8318 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8319 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
8320 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
8321 aros_nominal_depth
=8
8322 pci_hidd_target
="hidd-pci-linux"
8325 aros_target_cpu
="ppc"
8326 aros_object_format
="elf32ppc"
8327 aros_flavour
="emulation"
8328 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8329 aros_nominal_depth
=8
8330 gcc_target_cpu
="ppc"
8333 # Same as powerpc, but I need this for the nightly build to work again.
8334 # Actually, the nightly should be made working with powerpc target.
8335 # That just was too much work for the moment, another week or two.
8337 aros_target_cpu
="ppc"
8338 aros_object_format
="elf32ppc"
8339 aros_flavour
="emulation"
8340 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8341 aros_nominal_depth
=8
8342 gcc_target_cpu
="ppc"
8345 aros_target_cpu
="aarch64"
8346 target_cpu
="aarch64"
8347 aros_object_format
="aarch64elf_aros"
8348 aros_flavour
="emulation"
8349 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8350 gcc_target_cpu
="aarch64"
8351 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8352 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8353 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING)"
8354 aros_c_libs
="$aros_c_libs -laeabi"
8355 gcc_default_float_abi
="hard"
8356 kernel_tool_prefix
="aarch64-linux-gnueabihf-"
8359 aros_target_cpu
="arm"
8361 aros_object_format
="armelf_aros"
8362 aros_flavour
="emulation"
8363 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8364 gcc_target_cpu
="arm"
8365 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8366 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8367 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING)"
8368 aros_c_libs
="$aros_c_libs -laeabi"
8369 gcc_default_float_abi
="hard"
8370 android_tool_dir_prefix
="arm-linux-androideabi"
8371 android_tool_prefix
="arm-linux-androideabi"
8372 android_ndk_arch
="arm"
8373 kernel_tool_prefix
="arm-linux-gnueabihf-"
8376 aros_target_cpu
="arm"
8377 aros_object_format
="armelf_aros"
8378 aros_flavour
="emulation"
8379 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8380 gcc_target_cpu
="arm"
8381 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8382 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8383 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING)"
8384 aros_c_libs
="$aros_c_libs -laeabi"
8385 android_tool_dir_prefix
="arm-linux-androideabi"
8386 android_tool_prefix
="arm-linux-androideabi"
8387 android_ndk_arch
="arm"
8388 kernel_tool_prefix
="arm-linux-gnueabi-"
8391 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
8394 case "$aros_target_variant" in
8397 if test "$android_ndk_arch" = ""; then
8398 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
8401 aros_nominal_width
=320
8402 aros_nominal_height
=480
8403 if test "$aros_android_ndk" = "none"; then
8404 aros_kernel_cflags
="-mandroid"
8405 aros_kernel_ldflags
="-mandroid"
8408 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$kernel_tool_version/prebuilt/$android_build_os/bin:$PATH"
8409 kernel_tool_version
=""
8410 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
8411 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
8412 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
8413 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
8414 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
8417 # Disable implicit PIC mode
8418 aros_config_cflags
="$aros_config_cflags -fno-pic"
8419 kernel_tool_prefix
="$android_tool_prefix-"
8425 aros_target_arch
="pc"
8426 aros_shared_default
="no"
8427 target_bootloader
="grub2"
8428 case "$target_cpu" in
8430 aros_target_cpu
="i386"
8433 if test "$aros_object_format" = "" ; then
8434 aros_object_format
="elf_i386"
8436 aros_flavour
="standalone"
8437 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8438 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8439 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8440 aros_kernel_ldflags
="-Wl,-melf_i386"
8441 aros_nominal_width
=640
8442 aros_nominal_height
=480
8443 gcc_target_cpu
="i386"
8446 PLATFORM_EXECSMP
="#define __AROSPLATFORM_SMP__"
8447 aros_target_cpu
="x86_64"
8449 if test "$aros_object_format" = "" ; then
8450 aros_object_format
="elf_x86_64"
8452 aros_flavour
="standalone"
8453 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8454 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8455 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8456 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_OMIT_FP)"
8457 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_OMIT_FP)"
8458 aros_kernel_ldflags
=""
8459 aros_nominal_width
=640
8460 aros_nominal_height
=480
8461 case "$aros_target_variant" in
8463 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8468 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
8474 aros_target_arch
="prep"
8475 aros_shared_default
="no"
8476 aros_target_cpu
="ppc"
8477 aros_object_format
="elf32ppc"
8478 aros_flavour
="ppcnative"
8479 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8480 aros_kernel_ldflags
=""
8481 aros_nominal_width
=640
8482 aros_nominal_height
=480
8483 gcc_target_cpu
="ppc"
8487 aros_target_arch
="freebsd"
8488 aros_target_family
="unix"
8489 aros_target_cpu
="i386"
8490 aros_flavour
="emulation"
8491 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8492 gcc_target_cpu
="i386"
8494 aros_target_strip_flags
="-x"
8498 aros_target_arch
="darwin"
8499 aros_target_family
="unix"
8500 aros_flavour
="emulation"
8501 case "$target_cpu" in
8503 aros_ios_platform
="iPhoneSimulator"
8504 aros_target_cpu
="i386"
8505 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8506 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8507 aros_kernel_ldflags
=""
8508 aros_macosx_version
="10.4"
8509 aros_nominal_depth
=8
8510 gcc_target_cpu
="i386"
8511 aros_object_format
="elf_i386"
8512 aros_kernel_ar_flags
="-cr"
8513 aros_target_strip_flags
="-x"
8514 kernel_tool_flags
="-m32"
8517 aros_target_cpu
="x86_64"
8518 aros_object_format
="elf_x86_64"
8519 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8520 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8521 aros_macosx_version
="10.6"
8522 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
8523 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
8524 aros_kernel_cflags
="-m64"
8525 aros_kernel_ldflags
="-m64"
8526 aros_nominal_depth
=8
8528 aros_kernel_ar_flags
="-cr"
8531 aros_kernel_ranlib
="ranlib"
8533 aros_kernel_strip
="strip"
8534 kernel_tool_prefix
="i686-apple-darwin10-"
8537 aros_target_cpu
="ppc"
8538 aros_object_format
="elf32ppc"
8539 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8540 aros_kernel_ldflags
=""
8541 aros_macosx_version
="10.0"
8542 aros_nominal_depth
=8
8543 gcc_target_cpu
="ppc"
8545 aros_kernel_ar_flags
="-cr"
8546 aros_kernel_ld
="ld -arch ppc"
8547 aros_kernel_as
="as -arch ppc"
8548 aros_kernel_ranlib
="ranlib -arch ppc"
8549 aros_kernel_nm
="nm -arch ppc"
8550 aros_kernel_strip
="strip -arch ppc"
8551 kernel_tool_prefix
="powerpc-apple-darwin10-"
8554 aros_ios_platform
="iPhoneOS"
8555 aros_target_cpu
="arm"
8556 aros_object_format
="armelf_aros"
8557 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8558 aros_c_libs
="$aros_c_libs -laeabi"
8559 aros_nominal_depth
=8
8560 gcc_target_cpu
="arm"
8562 aros_kernel_ar_flags
="-cr"
8563 aros_kernel_ld
="ld -arch arm"
8564 aros_kernel_ranlib
="ranlib -arch arm"
8565 kernel_tool_prefix
="arm-apple-darwin10-"
8566 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8569 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8572 case "$aros_target_variant" in
8574 make_extra_targetcfg
="$export_newline""# Apple iOS stuff for gcc$export_newline""IOS_LDFLAGS := -F$""(IOS_SDK_PATH)/System/Library/Frameworks$export_newline"
8575 aros_ios_version
="3.0"
8576 aros_nominal_width
=320
8577 aros_nominal_height
=480
8578 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8579 target_extra_cfg
+="$export_newline""# Apple iOS specific$export_newline""IOS_PLATFORM := $aros_ios_platform$export_newline""IOS_OS_VERSION := $aros_ios_version$export_newline""IOS_SDK_PATH := $aros_ios_sdk$export_newline"
8580 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8581 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8583 # This is here because it may depend on iOS or SDK version
8584 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8585 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8586 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8589 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8590 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8596 aros_target_arch
="dragonfly"
8597 aros_target_family
="unix"
8598 aros_flavour
="emulation"
8599 case "$target_cpu" in
8601 aros_target_cpu
="i386"
8602 aros_object_format
="elf_i386"
8603 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8604 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8607 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
8608 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
8609 aros_target_cpu
="x86_64"
8610 aros_object_format
="elf_x86_64"
8611 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8612 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8615 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8621 aros_target_arch
="netbsd"
8622 aros_target_family
="unix"
8623 case "$target_cpu" in
8625 aros_target_cpu
="m68k"
8626 aros_object_format
="m68kelf"
8627 aros_flavour
="emulcompat"
8628 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8629 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
8630 gcc_target_cpu
="mc68000"
8633 aros_target_cpu
="i386"
8634 aros_object_format
="elf_i386"
8635 aros_flavour
="emulation"
8636 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8637 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8638 aros_nominal_depth
=8
8639 gcc_target_cpu
="i386"
8642 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8645 aros_target_genmap
="-Wl,-M -Xlinker >"
8646 aros_flavour
="emulation"
8647 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8651 aros_target_arch
="openbsd"
8652 aros_target_family
="unix"
8653 case "$target_cpu" in
8655 aros_target_cpu
="i386"
8656 aros_object_format
="elf_i386"
8657 aros_flavour
="emulation"
8658 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8659 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8660 gcc_target_cpu
="i386"
8663 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8666 aros_target_genmap
="-Wl,-M -Xlinker >"
8667 aros_target_nm_flags
="-u"
8668 aros_flavour
="emulation"
8672 aros_target_arch
="solaris"
8673 aros_target_family
="unix"
8674 case "$target_cpu" in
8676 aros_target_cpu
="i386"
8677 aros_object_format
="elf_i386"
8678 aros_flavour
="emulation"
8679 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8680 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8681 aros_nominal_depth
=8
8682 gcc_target_cpu
="i386"
8685 aros_target_cpu
="sparc"
8686 aros_object_format
="elf_sparc"
8687 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8688 gcc_target_cpu
="sparc"
8691 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8694 aros_config_cppflags
="$aros_config_cppflags -D$aros_target_cpu"
8695 aros_flavour
="emulation"
8699 aros_target_arch
="morphos"
8700 aros_shared_default
="no"
8701 aros_target_cpu
="ppc"
8702 aros_object_format
="elf_ppc"
8703 aros_flavour
="nativecompat"
8704 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8705 gcc_target_cpu
="ppc"
8709 aros_target_arch
="sam440"
8710 aros_shared_default
="no"
8711 aros_target_cpu
="ppc"
8712 aros_object_format
="elf32ppc"
8713 aros_flavour
="ppcnative"
8714 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8715 aros_kernel_ldflags
=""
8716 aros_nominal_width
=1024
8717 aros_nominal_height
=768
8718 aros_nominal_depth
=24
8719 aros_isa_flags
="$aros_isa_flags -mcpu=440fp -mno-toc"
8720 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8721 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8722 gcc_target_cpu
="powerpc"
8726 aros_target_arch
="efika"
8727 aros_shared_default
="no"
8728 aros_target_cpu
="arm"
8729 aros_object_format
="armelf_aros"
8730 aros_flavour
="standalone"
8731 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8732 aros_kernel_ldflags
=""
8733 aros_nominal_width
=1024
8734 aros_nominal_height
=600
8735 aros_c_libs
="$aros_c_libs -laeabi"
8736 gcc_default_cpu
="armv7-a"
8737 gcc_default_fpu
="vfpv3"
8738 aros_isa_flags
="$aros_isa_flags -mtune=cortex-a8"
8739 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8740 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8741 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8742 if test "$optimization" = "default"; then
8743 optimization_level
="-Os"
8745 case "$target_cpu" in
8747 gcc_default_float_abi
="hard"
8752 gcc_default_float_abi
="softfp"
8755 as_fn_error $?
"\"Unknown CPU for EfikaMX $target_cpu\"" "$LINENO" 5
8761 aros_target_arch
="chrp"
8762 aros_shared_default
="no"
8763 aros_target_cpu
="ppc"
8764 aros_object_format
="elf32ppc"
8765 aros_flavour
="ppcnative"
8766 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8767 aros_kernel_ldflags
=""
8768 aros_nominal_width
=640
8769 aros_nominal_height
=480
8770 aros_isa_flags
="$aros_isa_flags -mno-toc"
8771 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8772 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8773 gcc_target_cpu
="powerpc"
8774 case "$aros_target_variant" in
8776 aros_isa_flags
="$aros_isa_flags -mcpu=603e"
8777 aros_config_cppflags
="$aros_config_cppflags -DBIG_ENDIAN_OHCI=1"
8783 PLATFORM_EXECSMP
="#define __AROSPLATFORM_SMP__"
8784 aros_flavour
="standalone"
8785 aros_target_arch
="raspi"
8787 aros_shared_default
="no"
8789 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__"
8791 case "$target_cpu" in
8793 aros_target_cpu
="aarch64"
8794 gcc_default_cpu
="aarch64"
8795 aros_object_format
="aarch64elf_aros"
8798 aros_target_cpu
="arm"
8799 gcc_default_cpu
="armv6zk"
8800 gcc_default_cpu_tune
="arm1176jzf-s"
8801 aros_object_format
="armelf_aros"
8802 aros_isa_flags
="$aros_isa_flags -marm"
8803 aros_config_cflags
="$aros_config_cflags"
8804 aros_config_cxxflags
="$aros_config_cxxflags"
8805 aros_config_aflags
="$aros_config_aflags -marm"
8806 aros_kernel_cflags
="$aros_kernel_cflags -marm"
8807 aros_target_mkdep
="$aros_target_mkdep -Darm"
8808 aros_c_libs
="$aros_c_libs -laeabi"
8811 aros_flavour
="standcompat"
8812 aros_target_cpu
="armeb"
8813 gcc_default_float_abi
="hard"
8814 gcc_default_cpu
="armv7ve"
8815 gcc_default_cpu_tune
="cortex-a7"
8816 aros_object_format
="armelfb_aros"
8817 aros_isa_flags
="$aros_isa_flags -marm"
8818 aros_config_cflags
="$aros_config_cflags"
8819 aros_config_cxxflags
="$aros_config_cxxflags"
8820 aros_config_aflags
="$aros_config_aflags -marm"
8821 aros_kernel_cflags
="$aros_kernel_cflags -marm"
8822 aros_target_mkdep
="$aros_target_mkdep -Darm"
8823 aros_c_libs
="$aros_c_libs -laeabi"
8826 aros_target_cpu
="arm"
8827 gcc_default_cpu
="armv6zk"
8828 gcc_default_cpu_tune
="arm1176jzf-s"
8829 aros_object_format
="armelf_aros"
8830 aros_isa_flags
="$aros_isa_flags -marm"
8831 aros_config_cflags
="$aros_config_cflags"
8832 aros_config_cxxflags
="$aros_config_cxxflags"
8833 aros_config_aflags
="$aros_config_aflags -marm"
8834 aros_kernel_cflags
="$aros_kernel_cflags -marm"
8835 aros_target_mkdep
="$aros_target_mkdep -Darm"
8836 aros_c_libs
="$aros_c_libs -laeabi"
8839 as_fn_error $?
"\"Unknown CPU for RasPi $target_cpu\"" "$LINENO" 5
8843 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
8844 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
8845 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
8846 aros_kernel_cflags
="$aros_kernel_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
8848 case "$aros_target_variant" in
8850 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8856 aros_flavour
="standalone"
8857 aros_target_arch
="stm32f7_discovery"
8858 aros_target_cpu
="arm"
8859 aros_target_cpu_mode
="thumb2"
8860 aros_object_format
="armelf_aros"
8861 aros_shared_default
="no"
8863 gcc_default_cpu
="armv7e-m"
8864 gcc_default_cpu_tune
="cortex-m7"
8865 gcc_default_fpu
="fpv5-sp-d16"
8866 gcc_default_float_abi
="hard"
8868 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dthumb"
8872 aros_elf_translate
="$""(ELF2HUNK)"
8873 make_extra_commands
="$export_newline""ELF2HUNK := $""(TOOLDIR)/elf2hunk$""(HOST_EXE_SUFFIX)$export_newline"
8874 aros_target_arch
="amiga"
8875 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8876 aros_shared_default
="no"
8878 case "$target_cpu" in
8880 # Check whether --enable-amigaos_compliance was given.
8881 if test "${enable_amigaos_compliance+set}" = set; then :
8882 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8886 aros_target_cpu
="m68k"
8887 aros_object_format
="m68kelf"
8888 aros_flavour
="standcompat"
8889 gcc_target_cpu
="m68000"
8890 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
8891 aros_nowarn_flags
="$aros_nowarn_flags NOWARN_VOLATILE_REGISTER_VAR"
8892 aros_config_cppflags
="$aros_config_cppflags -DNOLIBINLINE"
8893 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_FREESTANDING) $""(CFLAGS_OMIT_FP) $""(CFLAGS_BUILTIN)"
8894 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_FREESTANDING) $""(CFLAGS_OMIT_FP) $""(CFLAGS_BUILTIN)"
8895 if test "$optimization" = "default"; then
8896 optimization_level
="-Os"
8898 aros_config_aflags
="$aros_config_aflags"
8899 aros_target_strip_flags
="-R.comment --strip-debug"
8900 aros_nominal_width
=640
8901 aros_nominal_height
=256
8902 aros_nominal_depth
=2
8906 aros_flavour
="native"
8907 gcc_target_cpu
="ppc"
8910 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8916 aros_target_arch
="mingw32"
8917 aros_shared_default
="no"
8918 aros_flavour
="emulation"
8919 aros_shared_cflags
=""
8920 need_crosstools
="yes"
8923 case "$target_cpu" in
8925 aros_target_cpu
="i386"
8926 aros_object_format
="elf_i386"
8927 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8928 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8929 aros_nominal_depth
=8
8930 gcc_target_cpu
="i386"
8932 kernel_tool_prefix
="i386-mingw32-"
8935 aros_target_cpu
="x86_64"
8936 aros_object_format
="elf_x86_64"
8937 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8938 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8939 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
8940 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
8941 aros_nominal_depth
=8
8942 kernel_tool_prefix
="x86_64-w64-mingw32-"
8945 aros_target_cpu
="arm"
8946 aros_object_format
="armelf_aros"
8947 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8948 aros_c_libs
="$aros_c_libs -laeabi"
8949 aros_nominal_depth
=8
8950 gcc_target_cpu
="arm"
8951 gcc_default_float_abi
="soft"
8952 kernel_tool_prefix
="arm-mingw32ce-"
8953 aros_nominal_width
=160
8954 aros_nominal_height
=160
8957 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8960 if test $host_os = "cygwin"; then
8961 aros_kernel_cflags
="-mno-cygwin"
8965 aros_target_arch
="pp"
8966 aros_shared_default
="no"
8967 case "$target_cpu" in
8969 aros_target_cpu
="m68k"
8970 aros_object_format
="m68kelf"
8971 aros_flavour
="palmnative"
8972 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8973 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
8974 aros_nominal_width
=160
8975 aros_nominal_height
=160
8976 aros_nominal_depth
=1
8977 aros_target_ar_flags
="cru"
8978 aros_c_libs
="$aros_c_libs -lgcc1"
8979 aros_shared_default
=no
8980 aros_shared_cflags
="-fpic"
8981 aros_shared_aflags
=""
8982 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8983 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8984 aros_debug_cppflags
="$aros_messages_debug"
8985 aros_debug_cflags
="$aros_symbols_debug"
8986 aros_debug_aflags
=""
8987 aros_debug_ldflags
="$aros_symbols_debug"
8988 aros_mungwall_debug
="0"
8989 aros_modules_debug
="0"
8990 gcc_target_cpu
="mc68000"
8991 ignore_undefined_symbols
="-ius"
8994 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
9000 aros_target_arch
="mac"
9001 aros_shared_default
="no"
9002 case "$target_cpu" in
9004 aros_target_cpu
="m68k"
9005 aros_object_format
="m68kelf"
9006 aros_flavour
="mac68knative"
9007 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
9008 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
9009 aros_nominal_width
=512
9010 aros_nominal_height
=384
9011 aros_nominal_depth
=8
9012 aros_target_ar_flags
="cru"
9013 aros_c_libs
="$aros_c_libs -lgcc1"
9014 aros_shared_default
=no
9015 aros_shared_cflags
="-fpic"
9016 aros_shared_aflags
=""
9017 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
9018 aros_kernel_ldflags
="-Wl,-rpath,./lib"
9019 aros_debug_cppflags
="$aros_messages_debug"
9020 aros_debug_cflags
="$aros_symbols_debug"
9021 aros_debug_aflags
=""
9022 aros_debug_ldflags
="$aros_symbols_debug"
9023 aros_mungwall_debug
="0"
9024 aros_modules_debug
="0"
9025 gcc_target_cpu
="mc68000"
9026 ignore_undefined_symbols
="-ius"
9029 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
9035 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
9039 #-----------------------------------------------------------------------------
9040 crosstools_guess
="yes"
9041 aros_target_toolchain
="no"
9042 aros_kernel_sysroot
=""
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
9045 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
9047 # Check whether --with-kernel-toolchain-prefix was given.
9048 if test "${with_kernel_toolchain_prefix+set}" = set; then :
9049 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
9053 $as_echo "$kernel_tool_prefix" >&6; }
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
9056 $as_echo_n "checking ELF toolchain prefix... " >&6; }
9058 # Check whether --with-elf-toolchain-prefix was given.
9059 if test "${with_elf_toolchain_prefix+set}" = set; then :
9060 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
9061 crosstools_guess
="no"
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
9065 $as_echo "$elf_tool_prefix" >&6; }
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
9068 $as_echo_n "checking AROS toolchain prefix... " >&6; }
9070 # Check whether --with-aros-toolchain was given.
9071 if test "${with_aros_toolchain+set}" = set; then :
9072 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
9073 crosstools_guess
="no"
9076 if test "$aros_tool_prefix" = "yes" ; then
9077 aros_tool_prefix
=$aros_target_cpu-aros-
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
9080 $as_echo "$aros_tool_prefix" >&6; }
9082 #-----------------------------------------------------------------------------
9083 # Checking if we should build crosstools..
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
9085 $as_echo_n "checking whether to build crosstools... " >&6; }
9086 # Check whether --enable-crosstools was given.
9087 if test "${enable_crosstools+set}" = set; then :
9088 enableval
=$enable_crosstools; crosstools
="$enableval"
9090 crosstools
="$crosstools_guess"
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
9094 $as_echo "$crosstools" >&6; }
9096 if test "${crosstools}" = "yes"; then
9097 if test "${crosstools_guess}" = "no"; then
9098 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
9102 if test "${crosstools}" = "yes" ||
test "${crosstools_guess}" = "no"; then
9103 aros_target_toolchain
="yes"
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
9107 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
9109 # Check whether --with-aros-toolchain-install was given.
9110 if test "${with_aros_toolchain_install+set}" = set; then :
9111 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
9114 if test "x$aros_toolchain_install" = "x"; then
9115 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
9117 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
9118 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
9119 if test "$crosstools_guess" = "no" ; then
9120 if test "x-$aros_flavour" != "x-emulation" -a "x-$aros_flavour" != "x-emulcompat" ; then
9121 aros_kernel_sysroot
="$""(TARGET_SYSROOT)"
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
9126 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
9128 #-----------------------------------------------------------------------------
9129 if test "$aros_toolchain" = "gnu" ; then
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target binutils version to use" >&5
9131 $as_echo_n "checking what specific target binutils version to use... " >&6; }
9134 # Check whether --with-binutils-version was given.
9135 if test "${with_binutils_version+set}" = set; then :
9136 withval
=$with_binutils_version; use_binutils_version
="$withval"
9138 use_binutils_version
=""
9141 if test "$use_binutils_version" = ""; then
9142 target_binutils_version
="$default_binutils_version"
9144 target_binutils_version
="$use_binutils_version"
9146 if test "$aros_toolchain" = "gnu" ; then
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_binutils_version" >&5
9148 $as_echo "$target_binutils_version" >&6; }
9152 # Helper to identify gcc version
9155 #-----------------------------------------------------------------------------
9156 if test "$aros_toolchain" = "gnu" ; then
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
9158 $as_echo_n "checking what specific target gcc version to use... " >&6; }
9161 # Check whether --with-gcc-version was given.
9162 if test "${with_gcc_version+set}" = set; then :
9163 withval
=$with_gcc_version; use_gcc_version
="$withval"
9168 if test "$use_gcc_version" = ""; then
9169 if test "${crosstools}" = "no"; then
9170 if test "x$aros_toolchain_install" != "x"; then
9172 target_gcc_version
=""
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
9174 $as_echo_n "checking gcc version... " >&6; }
9175 if ${ax_cv_gcc_version+:} false
; then :
9176 $as_echo_n "(cached) " >&6
9179 ax_cv_gcc_version
="`$AROS_CROSSTOOLSDIR/${aros_tool_prefix}${toolchain_cpp_preprocessor} -dumpversion`"
9180 if test "x$ax_cv_gcc_version" = "x"; then :
9182 ax_cv_gcc_version
=""
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_version" >&5
9188 $as_echo "$ax_cv_gcc_version" >&6; }
9189 target_gcc_version
=$ax_cv_gcc_version
9194 if test "$use_gcc_version" = ""; then
9195 target_gcc_version
="$default_gcc_version"
9198 target_gcc_version
="$use_gcc_version"
9200 if test "$aros_toolchain" = "gnu" ; then
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_gcc_version" >&5
9202 $as_echo "$target_gcc_version" >&6; }
9204 GCC_VERSION_MAJOR
=$
(echo $target_gcc_version | cut
-d'.' -f1)
9205 GCC_VERSION_MINOR
=$
(echo $target_gcc_version | cut
-d'.' -f2)
9206 GCC_VERSION_PATCH
=$
(echo $target_gcc_version | cut
-d'.' -f3)
9208 gcc_fix_bitfields
="false"
9209 if test "$GCC_VERSION_MAJOR" -gt "4" ; then
9210 gcc_fix_bitfields
="true"
9212 if test "$GCC_VERSION_MAJOR" -gt "3" ; then
9213 if test "$GCC_VERSION_MINOR" -gt "6" ; then
9214 gcc_fix_bitfields
="true"
9219 if test "$gcc_fix_bitfields" = "true" ; then
9220 case "$aros_target_cpu" in
9222 x86_isa_extra
="$x86_isa_extra $""(CFLAGS_NO_MS_BITFIELDS)"
9223 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_MS_BITFIELDS)"
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Objective-C suppport" >&5
9230 $as_echo_n "checking whether to enable Objective-C suppport... " >&6; }
9231 # Check whether --enable-objc was given.
9232 if test "${enable_objc+set}" = set; then :
9233 enableval
=$enable_objc; objc
="$enableval"
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objc" >&5
9239 $as_echo "$objc" >&6; }
9240 if test "x$objc" = "xyes"; then
9243 objc_target
="no-objc"
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Java suppport" >&5
9247 $as_echo_n "checking whether to enable Java suppport... " >&6; }
9248 # Check whether --enable-java was given.
9249 if test "${enable_java+set}" = set; then :
9250 enableval
=$enable_java; java
="$enableval"
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $java" >&5
9256 $as_echo "$java" >&6; }
9257 if test "x$java" != "xno"; then
9260 java_target
="no-java"
9263 spec_obj_format
="-m $aros_object_format"
9264 # Now process extra architecture-specific options.
9265 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
9266 # as well as floating-point ABI.
9267 case "$aros_target_cpu" in
9269 aros_isa_targets
="M68K_ISA_TARGETS :=MC68020 MC68040"
9270 aros_isa_extra
="$aros_isa_extra$export_newline$aros_isa_targets$export_newline"
9271 aros_isa_extra
="$aros_isa_extra$m68k_isa_extra$export_newline$m68k_020_isa_extra$export_newline$m68k_030_isa_extra$export_newline$m68k_040_isa_extra$export_newline$m68k_060_isa_extra$export_newline$m68k_ac080_isa_extra$export_newline"
9272 aros_isa_extra
="$aros_isa_extra$m68k_020_cppflags$export_newline$m68k_030_cppflags$export_newline$m68k_040_cppflags$export_newline$m68k_060_cppflags$export_newline"
9273 aros_isa_extra
="$aros_isa_extra$m68k_020_cflags$export_newline$m68k_030_cflags$export_newline$m68k_040_cflags$export_newline$m68k_060_cflags$export_newline"
9274 aros_isa_extra
="$aros_isa_extra$m68k_020_ldflags$export_newline$m68k_030_ldflags$export_newline$m68k_040_ldflags$export_newline$m68k_060_ldflags$export_newline"
9275 aros_isa_extra
="$aros_isa_extra$m68k_020_ext$export_newline$m68k_030_ext$export_newline$m68k_040_ext$export_newline$m68k_060_ext$export_newline"
9278 aros_isa_extra
="$export_newline$x86_isa_extra$export_newline$x86_64_isa_extra$export_newline"
9279 spec_obj_format
="%{!m32:-m elf_x86_64} %{m32:-m elf_i386}"
9282 if test "$gcc_default_cpu" = ""; then
9283 gcc_default_cpu
="armv6"
9285 if test "$gcc_default_fpu" = ""; then
9286 gcc_default_fpu
="vfp"
9288 if test "$gcc_default_endian" = ""; then
9289 if test "$target_cpu" = "armeb"; then
9290 gcc_default_endian
="big-endian"
9292 gcc_default_endian
="little-endian"
9295 if test "$gcc_default_float_abi" = ""; then
9296 if test "$target_cpu" = "armhf"; then
9297 gcc_default_float_abi
="hard"
9299 gcc_default_float_abi
="softfp"
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
9304 $as_echo_n "checking Which minimum CPU to use... " >&6; }
9306 # Check whether --with-cpu was given.
9307 if test "${with_cpu+set}" = set; then :
9308 withval
=$with_cpu; aros_gcc_cpu
="$withval"
9310 aros_gcc_cpu
=$gcc_default_cpu
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
9314 $as_echo "$aros_gcc_cpu" >&6; }
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
9317 $as_echo_n "checking Which minimum FPU to use... " >&6; }
9319 # Check whether --with-fpu was given.
9320 if test "${with_fpu+set}" = set; then :
9321 withval
=$with_fpu; aros_gcc_fpu
="$withval"
9323 aros_gcc_fpu
=$gcc_default_fpu
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
9327 $as_echo "$aros_gcc_fpu" >&6; }
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
9330 $as_echo_n "checking Which floating point ABI to use... " >&6; }
9332 # Check whether --with-float was given.
9333 if test "${with_float+set}" = set; then :
9334 withval
=$with_float; aros_gcc_float_abi
="$withval"
9336 aros_gcc_float_abi
=$gcc_default_float_abi
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
9340 $as_echo "$aros_gcc_float_abi" >&6; }
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which ARM mode to use" >&5
9343 $as_echo_n "checking Which ARM mode to use... " >&6; }
9344 if test "$aros_target_cpu_mode" = ""; then
9345 aros_target_cpu_mode
="arm32"
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Defaulting to $aros_target_cpu_mode" >&5
9347 $as_echo "Defaulting to $aros_target_cpu_mode" >&6; }
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cpu_mode" >&5
9350 $as_echo "$aros_target_cpu_mode" >&6; }
9353 case "$aros_target_cpu_mode" in
9355 gcc_default_mode
="arm"
9356 aros_isa_flags
="$aros_isa_flags -m$gcc_default_mode -m$gcc_default_endian -mthumb-interwork -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi"
9359 as_fn_error $?
"ARM 64-bit mode is unsupported" "$LINENO" 5
9362 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9365 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9368 gcc_default_mode
="thumb"
9369 # Do not specify -mthumb-interwork as it may add extra code to support arm/thumb interwork
9370 aros_isa_flags
="$aros_isa_flags -m$gcc_default_mode -$gcc_default_endian -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi"
9373 as_fn_error $?
"Unsupported ARM mode specified $aros_target_cpu_mode" "$LINENO" 5
9377 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9378 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9379 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9382 aros_isa_extra
="$x86_isa_extra$export_newline$x86_64_isa_extra$export_newline"
9383 aros_kernel_ldflags
="$aros_kernel_ldflags -m32"
9387 # Some architectures may need custom ELF specs.
9388 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
9389 elf_specs_in
=config
/${aros_object_format}-specs.
in
9391 elf_specs_in
=config
/elf-specs.
in
9394 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
9395 # Since we override specs, we may need to put these defines there
9396 if test "$gcc_target_cpu" != ""; then
9397 gcc_target_cpu
="-D__${gcc_target_cpu}__"
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
9401 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
9403 # Check whether --with-portssources was given.
9404 if test "${with_portssources+set}" = set; then :
9405 withval
=$with_portssources; with_portssrcdir
=$withval
9407 with_portssrcdir
="default"
9410 if test "$with_portssrcdir" = "default"; then
9411 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
9413 AROS_PORTSSRCDIR
="$with_portssrcdir"
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
9416 $as_echo "$AROS_PORTSSRCDIR" >&6; }
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
9419 $as_echo_n "checking which bootloader to use... " >&6; }
9421 # Check whether --with-bootloader was given.
9422 if test "${with_bootloader+set}" = set; then :
9423 withval
=$with_bootloader; target_bootloader
=$withval
9425 target_bootloader
=$target_bootloader
9428 if test "$target_bootloader" = "none"; then
9429 aros_target_bootloader
=""
9431 aros_target_bootloader
="$target_bootloader"
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
9434 $as_echo "$target_bootloader" >&6; }
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
9437 $as_echo_n "checking which icon-set to use... " >&6; }
9439 # Check whether --with-iconset was given.
9440 if test "${with_iconset+set}" = set; then :
9441 withval
=$with_iconset; target_iconset
=$withval
9443 target_iconset
="default"
9446 if test "$target_iconset" = "default"; then
9447 aros_target_iconset
="Gorilla"
9448 target_iconset
="default (Gorilla)"
9450 aros_target_iconset
="$target_iconset"
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
9453 $as_echo "$target_iconset" >&6; }
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
9456 $as_echo_n "checking which GUI Theme to use... " >&6; }
9458 # Check whether --with-theme was given.
9459 if test "${with_theme+set}" = set; then :
9460 withval
=$with_theme; target_guitheme
=$withval
9462 target_guitheme
="default"
9465 if test "$target_guitheme" = "default"; then
9466 aros_target_guitheme
="Ice"
9468 aros_target_guitheme
="$target_guitheme"
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
9471 $as_echo "$aros_target_guitheme" >&6; }
9473 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
9477 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9481 if test "$aros_host_cpu" == "x86_64" ; then
9482 if test "$aros_target_cpu" == "i386" ; then
9487 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9488 if test "$aros_host_arch" != "$aros_target_arch" ; then
9495 if test "$cross_compiling" = "no" ; then
9496 kernel_tool_prefix
=""
9497 if test "$host_cc_elf" = "yes" ; then
9502 if test "$kernel_tool_version" != ""; then
9503 kernel_tool_version
="-$kernel_tool_version"
9506 #######################################################################
9507 ## Compute what toolchains to use, and their paths ##
9508 #######################################################################
9510 # This takes, as input:
9511 # crosstools {yes,no}
9512 # kernel_tool_version {"",[version]}
9513 # target_tool_version {"",[version]}
9514 # kernel_tool_prefix {none,[some-arch-os-]}
9516 # target_tool_prefix ${aros_target_cpu}-aros-
9517 # aros_tool_prefix ${aros_target_cpu}-aros-
9520 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9521 # Where the 'kernel' binaries are located
9522 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9523 # Where the 'target' binaries are located
9524 # (not the symlink farm - that is aros_target_*!)
9527 # if crosstools then
9528 # if kernel_tools_prefix = "no-kernel-prefix-"
9529 # aros_kernel_* = crosstools cc paths
9530 # aros_kernel_cc = elf cc wrapper around crosstools cc
9532 # VALIDATE(${kernel_tools_prefix}*)
9533 # aros_kernel_* = ${kernel_tools_prefix}*
9534 # if ${kernel_tools_prefix}cc is an AROS gcc
9535 # aros_kernel_cc = ${kernel_tools_prefix}cc
9537 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
9541 # orig_target_* = aros built crosstools
9542 # orig_target_cc = elf cc wrapper around crosstools cc
9544 # VALIDATE(${kernel_tools_prefix}*)
9546 # orig_target_* = aros_kernel_*
9547 # if aros_kernel_cc is an AROS gcc
9548 # orig_target_cc = aros_kernel_cc
9550 # orig_target_cc = aros cc wrapper around aros_kernel_cc
9554 if test "$aros_toolchain" = "gnu" ; then
9555 target_tool_prefix
="${aros_target_cpu}-aros-"
9556 elif test "$aros_toolchain" = "llvm" ; then
9557 target_tool_prefix
="bin/"
9560 if test "$kernel_tool_prefix" != "" ; then
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
9562 $as_echo_n "checking which kernel tools... " >&6; }
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
9564 $as_echo "$kernel_tool_prefix" >&6; };
9567 if test "$kernel_tool_prefix" = "none" ; then
9568 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9569 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
9572 if test "x-$aros_flavour" != "x-standalone" -o "x-$aros_flavour" != "x-standcompat" ; then
9573 # Kernel tools required - find them
9574 # Note that 'normally', aros_kernel_* overrides will be
9575 # empty, unless specified in the per-arch sections above.
9577 if test "x$aros_kernel_cpp" = "x"; then
9578 aros_kernel_cpp
=${kernel_tool_prefix}${CPP}
9580 if test "${kernel_tool_version}" != ""; then
9581 if test "$aros_kernel_cpp" != ""; then
9582 ac_prog_args
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9583 ac_prog_cmd
=`expr "X$aros_kernel_cpp" : '^\S*'`
9584 aros_kernel_cpp
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9588 if test "$aros_kernel_cpp" = ""; then
9589 if test "$cross_compiling" = "yes" ; then
9590 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
9591 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9593 $as_echo_n "checking for $ac_word... " >&6; }
9594 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9595 $as_echo_n "(cached) " >&6
9597 case $aros_kernel_cpp in
9599 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9606 test -z "$as_dir" && as_dir
=.
9607 for ac_exec_ext
in '' $ac_executable_extensions; do
9608 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9609 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9620 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9621 if test -n "$aros_kernel_cpp"; then
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9623 $as_echo "$aros_kernel_cpp" >&6; }
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9626 $as_echo "no" >&6; }
9631 if test "$GCC" = "yes"; then
9632 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
9633 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
9634 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9636 $as_echo_n "checking for $ac_word... " >&6; }
9637 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9638 $as_echo_n "(cached) " >&6
9640 case $aros_kernel_cpp in
9642 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9646 for as_dir
in `dirname $aros_gcc_cpp`
9649 test -z "$as_dir" && as_dir
=.
9650 for ac_exec_ext
in '' $ac_executable_extensions; do
9651 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9652 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9663 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9664 if test -n "$aros_kernel_cpp"; then
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9666 $as_echo "$aros_kernel_cpp" >&6; }
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9669 $as_echo "no" >&6; }
9674 if test "$aros_kernel_cpp" = ""; then
9675 # Extract the first word of "cpp", so it can be a program name with args.
9676 set dummy cpp
; ac_word
=$2
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9678 $as_echo_n "checking for $ac_word... " >&6; }
9679 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9680 $as_echo_n "(cached) " >&6
9682 case $aros_kernel_cpp in
9684 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9691 test -z "$as_dir" && as_dir
=.
9692 for ac_exec_ext
in '' $ac_executable_extensions; do
9693 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9694 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9705 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9706 if test -n "$aros_kernel_cpp"; then
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9708 $as_echo "$aros_kernel_cpp" >&6; }
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9711 $as_echo "no" >&6; }
9718 ac_tool_optarg
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9719 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
9720 set dummy
$aros_kernel_cpp; ac_word
=$2
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9722 $as_echo_n "checking for $ac_word... " >&6; }
9723 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9724 $as_echo_n "(cached) " >&6
9726 case $aros_kernel_cpp in
9728 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9735 test -z "$as_dir" && as_dir
=.
9736 for ac_exec_ext
in '' $ac_executable_extensions; do
9737 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9738 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9749 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9750 if test -n "$aros_kernel_cpp"; then
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9752 $as_echo "$aros_kernel_cpp" >&6; }
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9755 $as_echo "no" >&6; }
9759 aros_kernel_cpp
="$aros_kernel_cpp $ac_tool_optarg"
9763 if test "$aros_kernel_cpp" = ""; then
9766 if test "$aros_kernel_cpp" = "no"; then
9769 if test "$req_avail" = "no"; then
9770 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
9773 if test "x$aros_kernel_cc" = "x"; then
9774 aros_kernel_cc
=${kernel_tool_prefix}${CC}
9776 if test "${kernel_tool_version}" != ""; then
9777 if test "$aros_kernel_cc" != ""; then
9778 ac_prog_args
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
9779 ac_prog_cmd
=`expr "X$aros_kernel_cc" : '^\S*'`
9780 aros_kernel_cc
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9784 if test "$aros_kernel_cc" = ""; then
9785 if test "$cross_compiling" = "yes" ; then
9786 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
9787 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9789 $as_echo_n "checking for $ac_word... " >&6; }
9790 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9791 $as_echo_n "(cached) " >&6
9793 case $aros_kernel_cc in
9795 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9802 test -z "$as_dir" && as_dir
=.
9803 for ac_exec_ext
in '' $ac_executable_extensions; do
9804 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9805 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9816 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9817 if test -n "$aros_kernel_cc"; then
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9819 $as_echo "$aros_kernel_cc" >&6; }
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9822 $as_echo "no" >&6; }
9827 if test "$GCC" = "yes"; then
9828 aros_gcc_cc
=`$CC -print-prog-name=cc`
9829 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
9830 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9832 $as_echo_n "checking for $ac_word... " >&6; }
9833 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9834 $as_echo_n "(cached) " >&6
9836 case $aros_kernel_cc in
9838 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9842 for as_dir
in `dirname $aros_gcc_cc`
9845 test -z "$as_dir" && as_dir
=.
9846 for ac_exec_ext
in '' $ac_executable_extensions; do
9847 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9848 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9859 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9860 if test -n "$aros_kernel_cc"; then
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9862 $as_echo "$aros_kernel_cc" >&6; }
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9865 $as_echo "no" >&6; }
9870 if test "$aros_kernel_cc" = ""; then
9871 # Extract the first word of "cc", so it can be a program name with args.
9872 set dummy cc
; ac_word
=$2
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9874 $as_echo_n "checking for $ac_word... " >&6; }
9875 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9876 $as_echo_n "(cached) " >&6
9878 case $aros_kernel_cc in
9880 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9887 test -z "$as_dir" && as_dir
=.
9888 for ac_exec_ext
in '' $ac_executable_extensions; do
9889 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9890 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9901 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9902 if test -n "$aros_kernel_cc"; then
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9904 $as_echo "$aros_kernel_cc" >&6; }
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9907 $as_echo "no" >&6; }
9914 ac_tool_optarg
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
9915 # Extract the first word of "$aros_kernel_cc", so it can be a program name with args.
9916 set dummy
$aros_kernel_cc; ac_word
=$2
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9918 $as_echo_n "checking for $ac_word... " >&6; }
9919 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9920 $as_echo_n "(cached) " >&6
9922 case $aros_kernel_cc in
9924 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9931 test -z "$as_dir" && as_dir
=.
9932 for ac_exec_ext
in '' $ac_executable_extensions; do
9933 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9934 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9945 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9946 if test -n "$aros_kernel_cc"; then
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9948 $as_echo "$aros_kernel_cc" >&6; }
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9951 $as_echo "no" >&6; }
9955 aros_kernel_cc
="$aros_kernel_cc $ac_tool_optarg"
9959 if test "$aros_kernel_cc" = ""; then
9962 if test "$aros_kernel_cc" = "no"; then
9965 if test "$req_avail" = "no"; then
9966 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9969 if test "x$aros_kernel_cxx" = "x"; then
9970 aros_kernel_cxx
=${kernel_tool_prefix}${CXX}
9972 if test "${kernel_tool_version}" != ""; then
9973 if test "$aros_kernel_cxx" != ""; then
9974 ac_prog_args
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
9975 ac_prog_cmd
=`expr "X$aros_kernel_cxx" : '^\S*'`
9976 aros_kernel_cxx
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9980 if test "$aros_kernel_cxx" = ""; then
9981 if test "$cross_compiling" = "yes" ; then
9982 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9983 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9985 $as_echo_n "checking for $ac_word... " >&6; }
9986 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9987 $as_echo_n "(cached) " >&6
9989 case $aros_kernel_cxx in
9991 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9998 test -z "$as_dir" && as_dir
=.
9999 for ac_exec_ext
in '' $ac_executable_extensions; do
10000 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10001 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10012 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10013 if test -n "$aros_kernel_cxx"; then
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10015 $as_echo "$aros_kernel_cxx" >&6; }
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10018 $as_echo "no" >&6; }
10023 if test "$GCC" = "yes"; then
10024 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
10025 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
10026 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10028 $as_echo_n "checking for $ac_word... " >&6; }
10029 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10030 $as_echo_n "(cached) " >&6
10032 case $aros_kernel_cxx in
10034 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10038 for as_dir
in `dirname $aros_gcc_cxx`
10041 test -z "$as_dir" && as_dir
=.
10042 for ac_exec_ext
in '' $ac_executable_extensions; do
10043 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10044 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10055 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10056 if test -n "$aros_kernel_cxx"; then
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10058 $as_echo "$aros_kernel_cxx" >&6; }
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10061 $as_echo "no" >&6; }
10066 if test "$aros_kernel_cxx" = ""; then
10067 # Extract the first word of "cxx", so it can be a program name with args.
10068 set dummy cxx
; ac_word
=$2
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10070 $as_echo_n "checking for $ac_word... " >&6; }
10071 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10072 $as_echo_n "(cached) " >&6
10074 case $aros_kernel_cxx in
10076 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10080 for as_dir
in $PATH
10083 test -z "$as_dir" && as_dir
=.
10084 for ac_exec_ext
in '' $ac_executable_extensions; do
10085 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10086 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10097 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10098 if test -n "$aros_kernel_cxx"; then
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10100 $as_echo "$aros_kernel_cxx" >&6; }
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10103 $as_echo "no" >&6; }
10110 ac_tool_optarg
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
10111 # Extract the first word of "$aros_kernel_cxx", so it can be a program name with args.
10112 set dummy
$aros_kernel_cxx; ac_word
=$2
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10114 $as_echo_n "checking for $ac_word... " >&6; }
10115 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10116 $as_echo_n "(cached) " >&6
10118 case $aros_kernel_cxx in
10120 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10124 for as_dir
in $PATH
10127 test -z "$as_dir" && as_dir
=.
10128 for ac_exec_ext
in '' $ac_executable_extensions; do
10129 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10130 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10141 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10142 if test -n "$aros_kernel_cxx"; then
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10144 $as_echo "$aros_kernel_cxx" >&6; }
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10147 $as_echo "no" >&6; }
10151 aros_kernel_cxx
="$aros_kernel_cxx $ac_tool_optarg"
10154 # If it's set, make sure it's really there
10155 if test "x$aros_kernel_cxx" != "x" ; then
10157 if test "$aros_kernel_cxx" = ""; then
10160 if test "$aros_kernel_cxx" = "no"; then
10163 if test "$req_avail" = "no"; then
10164 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
10168 if test "$aros_kernel_ld" = ""; then
10169 if test "$cross_compiling" = "yes" ; then
10170 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
10171 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10173 $as_echo_n "checking for $ac_word... " >&6; }
10174 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10175 $as_echo_n "(cached) " >&6
10177 case $aros_kernel_ld in
10179 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10183 for as_dir
in $PATH
10186 test -z "$as_dir" && as_dir
=.
10187 for ac_exec_ext
in '' $ac_executable_extensions; do
10188 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10189 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10200 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10201 if test -n "$aros_kernel_ld"; then
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10203 $as_echo "$aros_kernel_ld" >&6; }
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10206 $as_echo "no" >&6; }
10211 if test "$GCC" = "yes"; then
10212 aros_gcc_ld
=`$CC -print-prog-name=ld`
10213 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
10214 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10216 $as_echo_n "checking for $ac_word... " >&6; }
10217 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10218 $as_echo_n "(cached) " >&6
10220 case $aros_kernel_ld in
10222 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10226 for as_dir
in `dirname $aros_gcc_ld`
10229 test -z "$as_dir" && as_dir
=.
10230 for ac_exec_ext
in '' $ac_executable_extensions; do
10231 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10232 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10243 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10244 if test -n "$aros_kernel_ld"; then
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10246 $as_echo "$aros_kernel_ld" >&6; }
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10249 $as_echo "no" >&6; }
10254 if test "$aros_kernel_ld" = ""; then
10255 # Extract the first word of "ld", so it can be a program name with args.
10256 set dummy ld
; ac_word
=$2
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10258 $as_echo_n "checking for $ac_word... " >&6; }
10259 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10260 $as_echo_n "(cached) " >&6
10262 case $aros_kernel_ld in
10264 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10268 for as_dir
in $PATH
10271 test -z "$as_dir" && as_dir
=.
10272 for ac_exec_ext
in '' $ac_executable_extensions; do
10273 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10274 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10285 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10286 if test -n "$aros_kernel_ld"; then
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10288 $as_echo "$aros_kernel_ld" >&6; }
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10291 $as_echo "no" >&6; }
10298 ac_tool_optarg
=`expr "X$aros_kernel_ld" : '[^ ]* \(.*\)'`
10299 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
10300 set dummy
$aros_kernel_ld; ac_word
=$2
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10302 $as_echo_n "checking for $ac_word... " >&6; }
10303 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10304 $as_echo_n "(cached) " >&6
10306 case $aros_kernel_ld in
10308 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10312 for as_dir
in $PATH
10315 test -z "$as_dir" && as_dir
=.
10316 for ac_exec_ext
in '' $ac_executable_extensions; do
10317 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10318 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10329 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10330 if test -n "$aros_kernel_ld"; then
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10332 $as_echo "$aros_kernel_ld" >&6; }
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10335 $as_echo "no" >&6; }
10339 aros_kernel_ld
="$aros_kernel_ld $ac_tool_optarg"
10343 if test "$aros_kernel_ld" = ""; then
10346 if test "$aros_kernel_ld" = "no"; then
10349 if test "$req_avail" = "no"; then
10350 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10353 if test "$aros_kernel_as" = ""; then
10354 if test "$cross_compiling" = "yes" ; then
10355 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
10356 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10358 $as_echo_n "checking for $ac_word... " >&6; }
10359 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10360 $as_echo_n "(cached) " >&6
10362 case $aros_kernel_as in
10364 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10368 for as_dir
in $PATH
10371 test -z "$as_dir" && as_dir
=.
10372 for ac_exec_ext
in '' $ac_executable_extensions; do
10373 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10374 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10385 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10386 if test -n "$aros_kernel_as"; then
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10388 $as_echo "$aros_kernel_as" >&6; }
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10391 $as_echo "no" >&6; }
10396 if test "$GCC" = "yes"; then
10397 aros_gcc_as
=`$CC -print-prog-name=as`
10398 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
10399 set dummy
`basename $aros_gcc_as`; ac_word
=$2
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10401 $as_echo_n "checking for $ac_word... " >&6; }
10402 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10403 $as_echo_n "(cached) " >&6
10405 case $aros_kernel_as in
10407 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10411 for as_dir
in `dirname $aros_gcc_as`
10414 test -z "$as_dir" && as_dir
=.
10415 for ac_exec_ext
in '' $ac_executable_extensions; do
10416 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10417 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10428 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10429 if test -n "$aros_kernel_as"; then
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10431 $as_echo "$aros_kernel_as" >&6; }
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10434 $as_echo "no" >&6; }
10439 if test "$aros_kernel_as" = ""; then
10440 # Extract the first word of "as", so it can be a program name with args.
10441 set dummy as
; ac_word
=$2
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10443 $as_echo_n "checking for $ac_word... " >&6; }
10444 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10445 $as_echo_n "(cached) " >&6
10447 case $aros_kernel_as in
10449 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10453 for as_dir
in $PATH
10456 test -z "$as_dir" && as_dir
=.
10457 for ac_exec_ext
in '' $ac_executable_extensions; do
10458 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10459 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10470 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10471 if test -n "$aros_kernel_as"; then
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10473 $as_echo "$aros_kernel_as" >&6; }
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10476 $as_echo "no" >&6; }
10483 ac_tool_optarg
=`expr "X$aros_kernel_as" : '[^ ]* \(.*\)'`
10484 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
10485 set dummy
$aros_kernel_as; ac_word
=$2
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10487 $as_echo_n "checking for $ac_word... " >&6; }
10488 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10489 $as_echo_n "(cached) " >&6
10491 case $aros_kernel_as in
10493 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10497 for as_dir
in $PATH
10500 test -z "$as_dir" && as_dir
=.
10501 for ac_exec_ext
in '' $ac_executable_extensions; do
10502 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10503 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10514 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10515 if test -n "$aros_kernel_as"; then
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10517 $as_echo "$aros_kernel_as" >&6; }
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10520 $as_echo "no" >&6; }
10524 aros_kernel_as
="$aros_kernel_as $ac_tool_optarg"
10528 if test "$aros_kernel_as" = ""; then
10531 if test "$aros_kernel_as" = "no"; then
10534 if test "$req_avail" = "no"; then
10535 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
10538 if test "$aros_kernel_ar" = ""; then
10539 if test "$cross_compiling" = "yes" ; then
10540 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
10541 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10543 $as_echo_n "checking for $ac_word... " >&6; }
10544 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10545 $as_echo_n "(cached) " >&6
10547 case $aros_kernel_ar in
10549 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10553 for as_dir
in $PATH
10556 test -z "$as_dir" && as_dir
=.
10557 for ac_exec_ext
in '' $ac_executable_extensions; do
10558 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10559 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10570 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10571 if test -n "$aros_kernel_ar"; then
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10573 $as_echo "$aros_kernel_ar" >&6; }
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10576 $as_echo "no" >&6; }
10581 if test "$GCC" = "yes"; then
10582 aros_gcc_ar
=`$CC -print-prog-name=ar`
10583 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
10584 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10586 $as_echo_n "checking for $ac_word... " >&6; }
10587 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10588 $as_echo_n "(cached) " >&6
10590 case $aros_kernel_ar in
10592 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10596 for as_dir
in `dirname $aros_gcc_ar`
10599 test -z "$as_dir" && as_dir
=.
10600 for ac_exec_ext
in '' $ac_executable_extensions; do
10601 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10602 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10613 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10614 if test -n "$aros_kernel_ar"; then
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10616 $as_echo "$aros_kernel_ar" >&6; }
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10619 $as_echo "no" >&6; }
10624 if test "$aros_kernel_ar" = ""; then
10625 # Extract the first word of "ar", so it can be a program name with args.
10626 set dummy
ar; ac_word
=$2
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10628 $as_echo_n "checking for $ac_word... " >&6; }
10629 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10630 $as_echo_n "(cached) " >&6
10632 case $aros_kernel_ar in
10634 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10638 for as_dir
in $PATH
10641 test -z "$as_dir" && as_dir
=.
10642 for ac_exec_ext
in '' $ac_executable_extensions; do
10643 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10644 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10655 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10656 if test -n "$aros_kernel_ar"; then
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10658 $as_echo "$aros_kernel_ar" >&6; }
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10661 $as_echo "no" >&6; }
10668 ac_tool_optarg
=`expr "X$aros_kernel_ar" : '[^ ]* \(.*\)'`
10669 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
10670 set dummy
$aros_kernel_ar; ac_word
=$2
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10672 $as_echo_n "checking for $ac_word... " >&6; }
10673 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10674 $as_echo_n "(cached) " >&6
10676 case $aros_kernel_ar in
10678 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10682 for as_dir
in $PATH
10685 test -z "$as_dir" && as_dir
=.
10686 for ac_exec_ext
in '' $ac_executable_extensions; do
10687 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10688 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10699 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10700 if test -n "$aros_kernel_ar"; then
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10702 $as_echo "$aros_kernel_ar" >&6; }
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10705 $as_echo "no" >&6; }
10709 aros_kernel_ar
="$aros_kernel_ar $ac_tool_optarg"
10713 if test "$aros_kernel_ar" = ""; then
10716 if test "$aros_kernel_ar" = "no"; then
10719 if test "$req_avail" = "no"; then
10720 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
10723 if test "$aros_kernel_ranlib" = ""; then
10724 if test "$cross_compiling" = "yes" ; then
10725 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
10726 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10728 $as_echo_n "checking for $ac_word... " >&6; }
10729 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10730 $as_echo_n "(cached) " >&6
10732 case $aros_kernel_ranlib in
10734 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10738 for as_dir
in $PATH
10741 test -z "$as_dir" && as_dir
=.
10742 for ac_exec_ext
in '' $ac_executable_extensions; do
10743 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10744 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10755 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10756 if test -n "$aros_kernel_ranlib"; then
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10758 $as_echo "$aros_kernel_ranlib" >&6; }
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10761 $as_echo "no" >&6; }
10766 if test "$GCC" = "yes"; then
10767 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10768 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10769 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10771 $as_echo_n "checking for $ac_word... " >&6; }
10772 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10773 $as_echo_n "(cached) " >&6
10775 case $aros_kernel_ranlib in
10777 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10781 for as_dir
in `dirname $aros_gcc_ranlib`
10784 test -z "$as_dir" && as_dir
=.
10785 for ac_exec_ext
in '' $ac_executable_extensions; do
10786 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10787 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10798 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10799 if test -n "$aros_kernel_ranlib"; then
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10801 $as_echo "$aros_kernel_ranlib" >&6; }
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10804 $as_echo "no" >&6; }
10809 if test "$aros_kernel_ranlib" = ""; then
10810 # Extract the first word of "ranlib", so it can be a program name with args.
10811 set dummy ranlib
; ac_word
=$2
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10813 $as_echo_n "checking for $ac_word... " >&6; }
10814 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10815 $as_echo_n "(cached) " >&6
10817 case $aros_kernel_ranlib in
10819 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10823 for as_dir
in $PATH
10826 test -z "$as_dir" && as_dir
=.
10827 for ac_exec_ext
in '' $ac_executable_extensions; do
10828 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10829 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10840 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10841 if test -n "$aros_kernel_ranlib"; then
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10843 $as_echo "$aros_kernel_ranlib" >&6; }
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10846 $as_echo "no" >&6; }
10853 ac_tool_optarg
=`expr "X$aros_kernel_ranlib" : '[^ ]* \(.*\)'`
10854 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
10855 set dummy
$aros_kernel_ranlib; ac_word
=$2
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10857 $as_echo_n "checking for $ac_word... " >&6; }
10858 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10859 $as_echo_n "(cached) " >&6
10861 case $aros_kernel_ranlib in
10863 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10867 for as_dir
in $PATH
10870 test -z "$as_dir" && as_dir
=.
10871 for ac_exec_ext
in '' $ac_executable_extensions; do
10872 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10873 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10884 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10885 if test -n "$aros_kernel_ranlib"; then
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10887 $as_echo "$aros_kernel_ranlib" >&6; }
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10890 $as_echo "no" >&6; }
10894 aros_kernel_ranlib
="$aros_kernel_ranlib $ac_tool_optarg"
10898 if test "$aros_kernel_ranlib" = ""; then
10901 if test "$aros_kernel_ranlib" = "no"; then
10904 if test "$req_avail" = "no"; then
10905 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
10908 if test "$aros_kernel_nm" = ""; then
10909 if test "$cross_compiling" = "yes" ; then
10910 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
10911 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10913 $as_echo_n "checking for $ac_word... " >&6; }
10914 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10915 $as_echo_n "(cached) " >&6
10917 case $aros_kernel_nm in
10919 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10923 for as_dir
in $PATH
10926 test -z "$as_dir" && as_dir
=.
10927 for ac_exec_ext
in '' $ac_executable_extensions; do
10928 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10929 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10940 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10941 if test -n "$aros_kernel_nm"; then
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10943 $as_echo "$aros_kernel_nm" >&6; }
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10946 $as_echo "no" >&6; }
10951 if test "$GCC" = "yes"; then
10952 aros_gcc_nm
=`$CC -print-prog-name=nm`
10953 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10954 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10956 $as_echo_n "checking for $ac_word... " >&6; }
10957 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10958 $as_echo_n "(cached) " >&6
10960 case $aros_kernel_nm in
10962 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10966 for as_dir
in `dirname $aros_gcc_nm`
10969 test -z "$as_dir" && as_dir
=.
10970 for ac_exec_ext
in '' $ac_executable_extensions; do
10971 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10972 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10983 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10984 if test -n "$aros_kernel_nm"; then
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10986 $as_echo "$aros_kernel_nm" >&6; }
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10989 $as_echo "no" >&6; }
10994 if test "$aros_kernel_nm" = ""; then
10995 # Extract the first word of "nm", so it can be a program name with args.
10996 set dummy nm
; ac_word
=$2
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10998 $as_echo_n "checking for $ac_word... " >&6; }
10999 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
11000 $as_echo_n "(cached) " >&6
11002 case $aros_kernel_nm in
11004 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
11007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11008 for as_dir
in $PATH
11011 test -z "$as_dir" && as_dir
=.
11012 for ac_exec_ext
in '' $ac_executable_extensions; do
11013 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11014 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
11015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11025 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
11026 if test -n "$aros_kernel_nm"; then
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
11028 $as_echo "$aros_kernel_nm" >&6; }
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11031 $as_echo "no" >&6; }
11038 ac_tool_optarg
=`expr "X$aros_kernel_nm" : '[^ ]* \(.*\)'`
11039 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
11040 set dummy
$aros_kernel_nm; ac_word
=$2
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11042 $as_echo_n "checking for $ac_word... " >&6; }
11043 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
11044 $as_echo_n "(cached) " >&6
11046 case $aros_kernel_nm in
11048 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
11051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11052 for as_dir
in $PATH
11055 test -z "$as_dir" && as_dir
=.
11056 for ac_exec_ext
in '' $ac_executable_extensions; do
11057 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11058 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
11059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11069 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
11070 if test -n "$aros_kernel_nm"; then
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
11072 $as_echo "$aros_kernel_nm" >&6; }
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11075 $as_echo "no" >&6; }
11079 aros_kernel_nm
="$aros_kernel_nm $ac_tool_optarg"
11083 if test "$aros_kernel_nm" = ""; then
11086 if test "$aros_kernel_nm" = "no"; then
11089 if test "$req_avail" = "no"; then
11090 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
11093 if test "$aros_kernel_strip" = ""; then
11094 if test "$cross_compiling" = "yes" ; then
11095 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
11096 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11098 $as_echo_n "checking for $ac_word... " >&6; }
11099 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11100 $as_echo_n "(cached) " >&6
11102 case $aros_kernel_strip in
11104 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11108 for as_dir
in $PATH
11111 test -z "$as_dir" && as_dir
=.
11112 for ac_exec_ext
in '' $ac_executable_extensions; do
11113 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11114 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11125 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11126 if test -n "$aros_kernel_strip"; then
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11128 $as_echo "$aros_kernel_strip" >&6; }
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11131 $as_echo "no" >&6; }
11136 if test "$GCC" = "yes"; then
11137 aros_gcc_strip
=`$CC -print-prog-name=strip`
11138 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
11139 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11141 $as_echo_n "checking for $ac_word... " >&6; }
11142 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11143 $as_echo_n "(cached) " >&6
11145 case $aros_kernel_strip in
11147 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11151 for as_dir
in `dirname $aros_gcc_strip`
11154 test -z "$as_dir" && as_dir
=.
11155 for ac_exec_ext
in '' $ac_executable_extensions; do
11156 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11157 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11168 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11169 if test -n "$aros_kernel_strip"; then
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11171 $as_echo "$aros_kernel_strip" >&6; }
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11174 $as_echo "no" >&6; }
11179 if test "$aros_kernel_strip" = ""; then
11180 # Extract the first word of "strip", so it can be a program name with args.
11181 set dummy strip
; ac_word
=$2
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11183 $as_echo_n "checking for $ac_word... " >&6; }
11184 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11185 $as_echo_n "(cached) " >&6
11187 case $aros_kernel_strip in
11189 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11193 for as_dir
in $PATH
11196 test -z "$as_dir" && as_dir
=.
11197 for ac_exec_ext
in '' $ac_executable_extensions; do
11198 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11199 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11210 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11211 if test -n "$aros_kernel_strip"; then
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11213 $as_echo "$aros_kernel_strip" >&6; }
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11216 $as_echo "no" >&6; }
11223 ac_tool_optarg
=`expr "X$aros_kernel_strip" : '[^ ]* \(.*\)'`
11224 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
11225 set dummy
$aros_kernel_strip; ac_word
=$2
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11227 $as_echo_n "checking for $ac_word... " >&6; }
11228 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11229 $as_echo_n "(cached) " >&6
11231 case $aros_kernel_strip in
11233 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11237 for as_dir
in $PATH
11240 test -z "$as_dir" && as_dir
=.
11241 for ac_exec_ext
in '' $ac_executable_extensions; do
11242 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11243 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11254 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11255 if test -n "$aros_kernel_strip"; then
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11257 $as_echo "$aros_kernel_strip" >&6; }
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11260 $as_echo "no" >&6; }
11264 aros_kernel_strip
="$aros_kernel_strip $ac_tool_optarg"
11268 if test "$aros_kernel_strip" = ""; then
11271 if test "$aros_kernel_strip" = "no"; then
11274 if test "$req_avail" = "no"; then
11275 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
11278 # Objcopy and objdump are not required for the kernel
11279 # toolchain on many architectures.
11280 # So we'll look for them, but not make them strictly required.
11282 if test "$aros_kernel_objcopy" = ""; then
11283 if test "$cross_compiling" = "yes" ; then
11284 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
11285 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11287 $as_echo_n "checking for $ac_word... " >&6; }
11288 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11289 $as_echo_n "(cached) " >&6
11291 case $aros_kernel_objcopy in
11293 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11297 for as_dir
in $PATH
11300 test -z "$as_dir" && as_dir
=.
11301 for ac_exec_ext
in '' $ac_executable_extensions; do
11302 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11303 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11314 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11315 if test -n "$aros_kernel_objcopy"; then
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11317 $as_echo "$aros_kernel_objcopy" >&6; }
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11320 $as_echo "no" >&6; }
11325 if test "$GCC" = "yes"; then
11326 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
11327 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
11328 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11330 $as_echo_n "checking for $ac_word... " >&6; }
11331 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11332 $as_echo_n "(cached) " >&6
11334 case $aros_kernel_objcopy in
11336 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11340 for as_dir
in `dirname $aros_gcc_objcopy`
11343 test -z "$as_dir" && as_dir
=.
11344 for ac_exec_ext
in '' $ac_executable_extensions; do
11345 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11346 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11357 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11358 if test -n "$aros_kernel_objcopy"; then
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11360 $as_echo "$aros_kernel_objcopy" >&6; }
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11363 $as_echo "no" >&6; }
11368 if test "$aros_kernel_objcopy" = ""; then
11369 # Extract the first word of "objcopy", so it can be a program name with args.
11370 set dummy objcopy
; ac_word
=$2
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11372 $as_echo_n "checking for $ac_word... " >&6; }
11373 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11374 $as_echo_n "(cached) " >&6
11376 case $aros_kernel_objcopy in
11378 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11382 for as_dir
in $PATH
11385 test -z "$as_dir" && as_dir
=.
11386 for ac_exec_ext
in '' $ac_executable_extensions; do
11387 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11388 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11399 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11400 if test -n "$aros_kernel_objcopy"; then
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11402 $as_echo "$aros_kernel_objcopy" >&6; }
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11405 $as_echo "no" >&6; }
11412 ac_tool_optarg
=`expr "X$aros_kernel_objcopy" : '[^ ]* \(.*\)'`
11413 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
11414 set dummy
$aros_kernel_objcopy; ac_word
=$2
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11416 $as_echo_n "checking for $ac_word... " >&6; }
11417 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11418 $as_echo_n "(cached) " >&6
11420 case $aros_kernel_objcopy in
11422 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11426 for as_dir
in $PATH
11429 test -z "$as_dir" && as_dir
=.
11430 for ac_exec_ext
in '' $ac_executable_extensions; do
11431 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11432 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11443 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11444 if test -n "$aros_kernel_objcopy"; then
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11446 $as_echo "$aros_kernel_objcopy" >&6; }
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11449 $as_echo "no" >&6; }
11453 aros_kernel_objcopy
="$aros_kernel_objcopy $ac_tool_optarg"
11457 if test "$aros_kernel_objdump" = ""; then
11458 if test "$cross_compiling" = "yes" ; then
11459 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
11460 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11462 $as_echo_n "checking for $ac_word... " >&6; }
11463 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11464 $as_echo_n "(cached) " >&6
11466 case $aros_kernel_objdump in
11468 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11472 for as_dir
in $PATH
11475 test -z "$as_dir" && as_dir
=.
11476 for ac_exec_ext
in '' $ac_executable_extensions; do
11477 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11478 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11489 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11490 if test -n "$aros_kernel_objdump"; then
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11492 $as_echo "$aros_kernel_objdump" >&6; }
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11495 $as_echo "no" >&6; }
11500 if test "$GCC" = "yes"; then
11501 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
11502 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
11503 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11505 $as_echo_n "checking for $ac_word... " >&6; }
11506 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11507 $as_echo_n "(cached) " >&6
11509 case $aros_kernel_objdump in
11511 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11515 for as_dir
in `dirname $aros_gcc_objdump`
11518 test -z "$as_dir" && as_dir
=.
11519 for ac_exec_ext
in '' $ac_executable_extensions; do
11520 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11521 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11532 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11533 if test -n "$aros_kernel_objdump"; then
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11535 $as_echo "$aros_kernel_objdump" >&6; }
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11538 $as_echo "no" >&6; }
11543 if test "$aros_kernel_objdump" = ""; then
11544 # Extract the first word of "objdump", so it can be a program name with args.
11545 set dummy objdump
; ac_word
=$2
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11547 $as_echo_n "checking for $ac_word... " >&6; }
11548 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11549 $as_echo_n "(cached) " >&6
11551 case $aros_kernel_objdump in
11553 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11557 for as_dir
in $PATH
11560 test -z "$as_dir" && as_dir
=.
11561 for ac_exec_ext
in '' $ac_executable_extensions; do
11562 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11563 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11574 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11575 if test -n "$aros_kernel_objdump"; then
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11577 $as_echo "$aros_kernel_objdump" >&6; }
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11580 $as_echo "no" >&6; }
11587 ac_tool_optarg
=`expr "X$aros_kernel_objdump" : '[^ ]* \(.*\)'`
11588 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
11589 set dummy
$aros_kernel_objdump; ac_word
=$2
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11591 $as_echo_n "checking for $ac_word... " >&6; }
11592 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11593 $as_echo_n "(cached) " >&6
11595 case $aros_kernel_objdump in
11597 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11601 for as_dir
in $PATH
11604 test -z "$as_dir" && as_dir
=.
11605 for ac_exec_ext
in '' $ac_executable_extensions; do
11606 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11607 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11618 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11619 if test -n "$aros_kernel_objdump"; then
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11621 $as_echo "$aros_kernel_objdump" >&6; }
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11624 $as_echo "no" >&6; }
11628 aros_kernel_objdump
="$aros_kernel_objdump $ac_tool_optarg"
11631 if test "x${crosstools}" != "xyes" ; then
11633 if test "$aros_kernel_objcopy" = ""; then
11636 if test "$aros_kernel_objcopy" = "no"; then
11639 if test "$req_avail" = "no"; then
11640 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
11643 if test "$aros_kernel_objdump" = ""; then
11646 if test "$aros_kernel_objdump" = "no"; then
11649 if test "$req_avail" = "no"; then
11650 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
11657 $as_echo_n "checking which target tools to use... " >&6; }
11658 if test "$aros_target_toolchain" = "yes"; then
11659 if test "$aros_toolchain" = "llvm" ; then
11662 msg_result
=$target_tool_prefix
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
11665 $as_echo "$msg_result" >&6; }
11666 # We are building AROS crosstools
11667 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
11668 orig_target_cc
="${tmp_tool_prefix}${toolchain_c_compiler}${target_tool_version}"
11669 orig_target_cxx
="${tmp_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}"
11670 orig_target_cpp
="${tmp_tool_prefix}${toolchain_cpp_preprocessor}"
11671 orig_target_ld
="${tmp_tool_prefix}${toolchain_ld}"
11672 orig_target_as
="${tmp_tool_prefix}${toolchain_as}"
11673 orig_target_ar
="${tmp_tool_prefix}${toolchain_ar}"
11674 orig_target_ranlib
="${tmp_tool_prefix}${toolchain_ranlib}"
11675 orig_target_nm
="${tmp_tool_prefix}${toolchain_nm}"
11676 orig_target_strip
="${tmp_tool_prefix}${toolchain_strip}"
11677 orig_target_objcopy
="${tmp_tool_prefix}${toolchain_objcopy}"
11678 orig_target_objdump
="${tmp_tool_prefix}${toolchain_objdump}"
11680 # Determine whether AROS or ELF tools should be used
11681 if test "$aros_tool_prefix" = "none"; then
11682 aros_tool_prefix
="${elf_tool_prefix}"
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
11686 $as_echo "$aros_tool_prefix" >&6; }
11687 # We are *not* building AROS crosstools - use the AROS or ELF tools
11689 if test "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" = ""; then
11690 if test "$cross_compiling" = "yes" ; then
11691 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
11692 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11694 $as_echo_n "checking for $ac_word... " >&6; }
11695 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11696 $as_echo_n "(cached) " >&6
11698 case $orig_target_cpp in
11700 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11704 for as_dir
in $PATH
11707 test -z "$as_dir" && as_dir
=.
11708 for ac_exec_ext
in '' $ac_executable_extensions; do
11709 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11710 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11721 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11722 if test -n "$orig_target_cpp"; then
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11724 $as_echo "$orig_target_cpp" >&6; }
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11727 $as_echo "no" >&6; }
11732 if test "$GCC" = "yes"; then
11733 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
11734 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
11735 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11737 $as_echo_n "checking for $ac_word... " >&6; }
11738 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11739 $as_echo_n "(cached) " >&6
11741 case $orig_target_cpp in
11743 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11747 for as_dir
in `dirname $aros_gcc_cpp`
11750 test -z "$as_dir" && as_dir
=.
11751 for ac_exec_ext
in '' $ac_executable_extensions; do
11752 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11753 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11764 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11765 if test -n "$orig_target_cpp"; then
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11767 $as_echo "$orig_target_cpp" >&6; }
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11770 $as_echo "no" >&6; }
11775 if test "$orig_target_cpp" = ""; then
11776 # Extract the first word of "cpp", so it can be a program name with args.
11777 set dummy cpp
; ac_word
=$2
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11779 $as_echo_n "checking for $ac_word... " >&6; }
11780 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11781 $as_echo_n "(cached) " >&6
11783 case $orig_target_cpp in
11785 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11789 for as_dir
in $PATH
11792 test -z "$as_dir" && as_dir
=.
11793 for ac_exec_ext
in '' $ac_executable_extensions; do
11794 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11795 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11806 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11807 if test -n "$orig_target_cpp"; then
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11809 $as_echo "$orig_target_cpp" >&6; }
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11812 $as_echo "no" >&6; }
11819 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" : '[^ ]* \(.*\)'`
11820 # Extract the first word of "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}", so it can be a program name with args.
11821 set dummy
${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}; ac_word
=$2
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11823 $as_echo_n "checking for $ac_word... " >&6; }
11824 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11825 $as_echo_n "(cached) " >&6
11827 case $orig_target_cpp in
11829 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11833 for as_dir
in $PATH
11836 test -z "$as_dir" && as_dir
=.
11837 for ac_exec_ext
in '' $ac_executable_extensions; do
11838 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11839 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11850 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11851 if test -n "$orig_target_cpp"; then
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11853 $as_echo "$orig_target_cpp" >&6; }
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11856 $as_echo "no" >&6; }
11860 orig_target_cpp
="$orig_target_cpp $ac_tool_optarg"
11864 if test "$orig_target_cpp" = ""; then
11867 if test "$orig_target_cpp" = "no"; then
11870 if test "$req_avail" = "no"; then
11871 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
11874 if test "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" = ""; then
11875 if test "$cross_compiling" = "yes" ; then
11876 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11877 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11879 $as_echo_n "checking for $ac_word... " >&6; }
11880 if ${ac_cv_path_orig_target_cc+:} false
; then :
11881 $as_echo_n "(cached) " >&6
11883 case $orig_target_cc in
11885 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11889 for as_dir
in $PATH
11892 test -z "$as_dir" && as_dir
=.
11893 for ac_exec_ext
in '' $ac_executable_extensions; do
11894 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11895 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11906 orig_target_cc
=$ac_cv_path_orig_target_cc
11907 if test -n "$orig_target_cc"; then
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11909 $as_echo "$orig_target_cc" >&6; }
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11912 $as_echo "no" >&6; }
11917 if test "$GCC" = "yes"; then
11918 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11919 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11920 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11922 $as_echo_n "checking for $ac_word... " >&6; }
11923 if ${ac_cv_path_orig_target_cc+:} false
; then :
11924 $as_echo_n "(cached) " >&6
11926 case $orig_target_cc in
11928 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11932 for as_dir
in `dirname $aros_gcc_gcc`
11935 test -z "$as_dir" && as_dir
=.
11936 for ac_exec_ext
in '' $ac_executable_extensions; do
11937 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11938 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11949 orig_target_cc
=$ac_cv_path_orig_target_cc
11950 if test -n "$orig_target_cc"; then
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11952 $as_echo "$orig_target_cc" >&6; }
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11955 $as_echo "no" >&6; }
11960 if test "$orig_target_cc" = ""; then
11961 # Extract the first word of "gcc", so it can be a program name with args.
11962 set dummy gcc
; ac_word
=$2
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11964 $as_echo_n "checking for $ac_word... " >&6; }
11965 if ${ac_cv_path_orig_target_cc+:} false
; then :
11966 $as_echo_n "(cached) " >&6
11968 case $orig_target_cc in
11970 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11974 for as_dir
in $PATH
11977 test -z "$as_dir" && as_dir
=.
11978 for ac_exec_ext
in '' $ac_executable_extensions; do
11979 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11980 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11991 orig_target_cc
=$ac_cv_path_orig_target_cc
11992 if test -n "$orig_target_cc"; then
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11994 $as_echo "$orig_target_cc" >&6; }
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11997 $as_echo "no" >&6; }
12004 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
12005 # Extract the first word of "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}", so it can be a program name with args.
12006 set dummy
${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}; ac_word
=$2
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12008 $as_echo_n "checking for $ac_word... " >&6; }
12009 if ${ac_cv_path_orig_target_cc+:} false
; then :
12010 $as_echo_n "(cached) " >&6
12012 case $orig_target_cc in
12014 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
12017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12018 for as_dir
in $PATH
12021 test -z "$as_dir" && as_dir
=.
12022 for ac_exec_ext
in '' $ac_executable_extensions; do
12023 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12024 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
12025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12035 orig_target_cc
=$ac_cv_path_orig_target_cc
12036 if test -n "$orig_target_cc"; then
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
12038 $as_echo "$orig_target_cc" >&6; }
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12041 $as_echo "no" >&6; }
12045 orig_target_cc
="$orig_target_cc $ac_tool_optarg"
12049 if test "$orig_target_cc" = ""; then
12052 if test "$orig_target_cc" = "no"; then
12055 if test "$req_avail" = "no"; then
12056 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
12059 if test "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" = ""; then
12060 if test "$cross_compiling" = "yes" ; then
12061 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
12062 set dummy
${target_tool_prefix}g
++; ac_word
=$2
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12064 $as_echo_n "checking for $ac_word... " >&6; }
12065 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12066 $as_echo_n "(cached) " >&6
12068 case $orig_target_cxx in
12070 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12074 for as_dir
in $PATH
12077 test -z "$as_dir" && as_dir
=.
12078 for ac_exec_ext
in '' $ac_executable_extensions; do
12079 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12080 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12091 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12092 if test -n "$orig_target_cxx"; then
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12094 $as_echo "$orig_target_cxx" >&6; }
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12097 $as_echo "no" >&6; }
12102 if test "$GCC" = "yes"; then
12103 aros_gcc_g
++=`$CC -print-prog-name=g++`
12104 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
12105 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12107 $as_echo_n "checking for $ac_word... " >&6; }
12108 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12109 $as_echo_n "(cached) " >&6
12111 case $orig_target_cxx in
12113 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12117 for as_dir
in `dirname $aros_gcc_g++`
12120 test -z "$as_dir" && as_dir
=.
12121 for ac_exec_ext
in '' $ac_executable_extensions; do
12122 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12123 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12134 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12135 if test -n "$orig_target_cxx"; then
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12137 $as_echo "$orig_target_cxx" >&6; }
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12140 $as_echo "no" >&6; }
12145 if test "$orig_target_cxx" = ""; then
12146 # Extract the first word of "g++", so it can be a program name with args.
12147 set dummy g
++; ac_word
=$2
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12149 $as_echo_n "checking for $ac_word... " >&6; }
12150 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12151 $as_echo_n "(cached) " >&6
12153 case $orig_target_cxx in
12155 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12159 for as_dir
in $PATH
12162 test -z "$as_dir" && as_dir
=.
12163 for ac_exec_ext
in '' $ac_executable_extensions; do
12164 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12165 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12176 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12177 if test -n "$orig_target_cxx"; then
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12179 $as_echo "$orig_target_cxx" >&6; }
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12182 $as_echo "no" >&6; }
12189 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
12190 # Extract the first word of "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}", so it can be a program name with args.
12191 set dummy
${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}; ac_word
=$2
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12193 $as_echo_n "checking for $ac_word... " >&6; }
12194 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12195 $as_echo_n "(cached) " >&6
12197 case $orig_target_cxx in
12199 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12203 for as_dir
in $PATH
12206 test -z "$as_dir" && as_dir
=.
12207 for ac_exec_ext
in '' $ac_executable_extensions; do
12208 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12209 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12220 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12221 if test -n "$orig_target_cxx"; then
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12223 $as_echo "$orig_target_cxx" >&6; }
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12226 $as_echo "no" >&6; }
12230 orig_target_cxx
="$orig_target_cxx $ac_tool_optarg"
12234 if test "$orig_target_cxx" = ""; then
12237 if test "$orig_target_cxx" = "no"; then
12240 if test "$req_avail" = "no"; then
12241 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
12244 if test "${aros_tool_prefix}${toolchain_ld}" = ""; then
12245 if test "$cross_compiling" = "yes" ; then
12246 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
12247 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12249 $as_echo_n "checking for $ac_word... " >&6; }
12250 if ${ac_cv_path_orig_target_ld+:} false
; then :
12251 $as_echo_n "(cached) " >&6
12253 case $orig_target_ld in
12255 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12259 for as_dir
in $PATH
12262 test -z "$as_dir" && as_dir
=.
12263 for ac_exec_ext
in '' $ac_executable_extensions; do
12264 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12265 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12276 orig_target_ld
=$ac_cv_path_orig_target_ld
12277 if test -n "$orig_target_ld"; then
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12279 $as_echo "$orig_target_ld" >&6; }
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12282 $as_echo "no" >&6; }
12287 if test "$GCC" = "yes"; then
12288 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
12289 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
12290 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12292 $as_echo_n "checking for $ac_word... " >&6; }
12293 if ${ac_cv_path_orig_target_ld+:} false
; then :
12294 $as_echo_n "(cached) " >&6
12296 case $orig_target_ld in
12298 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12302 for as_dir
in `dirname $aros_gcc_gcc`
12305 test -z "$as_dir" && as_dir
=.
12306 for ac_exec_ext
in '' $ac_executable_extensions; do
12307 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12308 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12319 orig_target_ld
=$ac_cv_path_orig_target_ld
12320 if test -n "$orig_target_ld"; then
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12322 $as_echo "$orig_target_ld" >&6; }
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12325 $as_echo "no" >&6; }
12330 if test "$orig_target_ld" = ""; then
12331 # Extract the first word of "gcc", so it can be a program name with args.
12332 set dummy gcc
; ac_word
=$2
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12334 $as_echo_n "checking for $ac_word... " >&6; }
12335 if ${ac_cv_path_orig_target_ld+:} false
; then :
12336 $as_echo_n "(cached) " >&6
12338 case $orig_target_ld in
12340 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12344 for as_dir
in $PATH
12347 test -z "$as_dir" && as_dir
=.
12348 for ac_exec_ext
in '' $ac_executable_extensions; do
12349 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12350 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12361 orig_target_ld
=$ac_cv_path_orig_target_ld
12362 if test -n "$orig_target_ld"; then
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12364 $as_echo "$orig_target_ld" >&6; }
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12367 $as_echo "no" >&6; }
12374 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ld}" : '[^ ]* \(.*\)'`
12375 # Extract the first word of "${aros_tool_prefix}${toolchain_ld}", so it can be a program name with args.
12376 set dummy
${aros_tool_prefix}${toolchain_ld}; ac_word
=$2
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12378 $as_echo_n "checking for $ac_word... " >&6; }
12379 if ${ac_cv_path_orig_target_ld+:} false
; then :
12380 $as_echo_n "(cached) " >&6
12382 case $orig_target_ld in
12384 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12388 for as_dir
in $PATH
12391 test -z "$as_dir" && as_dir
=.
12392 for ac_exec_ext
in '' $ac_executable_extensions; do
12393 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12394 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12405 orig_target_ld
=$ac_cv_path_orig_target_ld
12406 if test -n "$orig_target_ld"; then
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12408 $as_echo "$orig_target_ld" >&6; }
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12411 $as_echo "no" >&6; }
12415 orig_target_ld
="$orig_target_ld $ac_tool_optarg"
12419 if test "$orig_target_ld" = ""; then
12422 if test "$orig_target_ld" = "no"; then
12425 if test "$req_avail" = "no"; then
12426 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
12429 if test "aros_tool_prefix}${toolchain_as}" = ""; then
12430 if test "$cross_compiling" = "yes" ; then
12431 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
12432 set dummy
${target_tool_prefix}as
; ac_word
=$2
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12434 $as_echo_n "checking for $ac_word... " >&6; }
12435 if ${ac_cv_path_orig_target_as+:} false
; then :
12436 $as_echo_n "(cached) " >&6
12438 case $orig_target_as in
12440 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12444 for as_dir
in $PATH
12447 test -z "$as_dir" && as_dir
=.
12448 for ac_exec_ext
in '' $ac_executable_extensions; do
12449 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12450 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12461 orig_target_as
=$ac_cv_path_orig_target_as
12462 if test -n "$orig_target_as"; then
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12464 $as_echo "$orig_target_as" >&6; }
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12467 $as_echo "no" >&6; }
12472 if test "$GCC" = "yes"; then
12473 aros_gcc_as
=`$CC -print-prog-name=as`
12474 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
12475 set dummy
`basename $aros_gcc_as`; ac_word
=$2
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12477 $as_echo_n "checking for $ac_word... " >&6; }
12478 if ${ac_cv_path_orig_target_as+:} false
; then :
12479 $as_echo_n "(cached) " >&6
12481 case $orig_target_as in
12483 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12487 for as_dir
in `dirname $aros_gcc_as`
12490 test -z "$as_dir" && as_dir
=.
12491 for ac_exec_ext
in '' $ac_executable_extensions; do
12492 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12493 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12504 orig_target_as
=$ac_cv_path_orig_target_as
12505 if test -n "$orig_target_as"; then
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12507 $as_echo "$orig_target_as" >&6; }
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12510 $as_echo "no" >&6; }
12515 if test "$orig_target_as" = ""; then
12516 # Extract the first word of "as", so it can be a program name with args.
12517 set dummy as
; ac_word
=$2
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12519 $as_echo_n "checking for $ac_word... " >&6; }
12520 if ${ac_cv_path_orig_target_as+:} false
; then :
12521 $as_echo_n "(cached) " >&6
12523 case $orig_target_as in
12525 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12529 for as_dir
in $PATH
12532 test -z "$as_dir" && as_dir
=.
12533 for ac_exec_ext
in '' $ac_executable_extensions; do
12534 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12535 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12546 orig_target_as
=$ac_cv_path_orig_target_as
12547 if test -n "$orig_target_as"; then
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12549 $as_echo "$orig_target_as" >&6; }
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12552 $as_echo "no" >&6; }
12559 ac_tool_optarg
=`expr "Xaros_tool_prefix}${toolchain_as}" : '[^ ]* \(.*\)'`
12560 # Extract the first word of "aros_tool_prefix}${toolchain_as}", so it can be a program name with args.
12561 set dummy aros_tool_prefix
}${toolchain_as}; ac_word
=$2
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12563 $as_echo_n "checking for $ac_word... " >&6; }
12564 if ${ac_cv_path_orig_target_as+:} false
; then :
12565 $as_echo_n "(cached) " >&6
12567 case $orig_target_as in
12569 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12573 for as_dir
in $PATH
12576 test -z "$as_dir" && as_dir
=.
12577 for ac_exec_ext
in '' $ac_executable_extensions; do
12578 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12579 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12590 orig_target_as
=$ac_cv_path_orig_target_as
12591 if test -n "$orig_target_as"; then
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12593 $as_echo "$orig_target_as" >&6; }
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12596 $as_echo "no" >&6; }
12600 orig_target_as
="$orig_target_as $ac_tool_optarg"
12604 if test "$orig_target_as" = ""; then
12607 if test "$orig_target_as" = "no"; then
12610 if test "$req_avail" = "no"; then
12611 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
12614 if test "${aros_tool_prefix}${toolchain_ar}" = ""; then
12615 if test "$cross_compiling" = "yes" ; then
12616 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
12617 set dummy
${target_tool_prefix}ar; ac_word
=$2
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12619 $as_echo_n "checking for $ac_word... " >&6; }
12620 if ${ac_cv_path_orig_target_ar+:} false
; then :
12621 $as_echo_n "(cached) " >&6
12623 case $orig_target_ar in
12625 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12629 for as_dir
in $PATH
12632 test -z "$as_dir" && as_dir
=.
12633 for ac_exec_ext
in '' $ac_executable_extensions; do
12634 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12635 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12646 orig_target_ar
=$ac_cv_path_orig_target_ar
12647 if test -n "$orig_target_ar"; then
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12649 $as_echo "$orig_target_ar" >&6; }
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12652 $as_echo "no" >&6; }
12657 if test "$GCC" = "yes"; then
12658 aros_gcc_ar
=`$CC -print-prog-name=ar`
12659 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
12660 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12662 $as_echo_n "checking for $ac_word... " >&6; }
12663 if ${ac_cv_path_orig_target_ar+:} false
; then :
12664 $as_echo_n "(cached) " >&6
12666 case $orig_target_ar in
12668 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12672 for as_dir
in `dirname $aros_gcc_ar`
12675 test -z "$as_dir" && as_dir
=.
12676 for ac_exec_ext
in '' $ac_executable_extensions; do
12677 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12678 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12689 orig_target_ar
=$ac_cv_path_orig_target_ar
12690 if test -n "$orig_target_ar"; then
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12692 $as_echo "$orig_target_ar" >&6; }
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12695 $as_echo "no" >&6; }
12700 if test "$orig_target_ar" = ""; then
12701 # Extract the first word of "ar", so it can be a program name with args.
12702 set dummy
ar; ac_word
=$2
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12704 $as_echo_n "checking for $ac_word... " >&6; }
12705 if ${ac_cv_path_orig_target_ar+:} false
; then :
12706 $as_echo_n "(cached) " >&6
12708 case $orig_target_ar in
12710 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12714 for as_dir
in $PATH
12717 test -z "$as_dir" && as_dir
=.
12718 for ac_exec_ext
in '' $ac_executable_extensions; do
12719 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12720 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12731 orig_target_ar
=$ac_cv_path_orig_target_ar
12732 if test -n "$orig_target_ar"; then
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12734 $as_echo "$orig_target_ar" >&6; }
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12737 $as_echo "no" >&6; }
12744 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ar}" : '[^ ]* \(.*\)'`
12745 # Extract the first word of "${aros_tool_prefix}${toolchain_ar}", so it can be a program name with args.
12746 set dummy
${aros_tool_prefix}${toolchain_ar}; ac_word
=$2
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12748 $as_echo_n "checking for $ac_word... " >&6; }
12749 if ${ac_cv_path_orig_target_ar+:} false
; then :
12750 $as_echo_n "(cached) " >&6
12752 case $orig_target_ar in
12754 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12758 for as_dir
in $PATH
12761 test -z "$as_dir" && as_dir
=.
12762 for ac_exec_ext
in '' $ac_executable_extensions; do
12763 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12764 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12775 orig_target_ar
=$ac_cv_path_orig_target_ar
12776 if test -n "$orig_target_ar"; then
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12778 $as_echo "$orig_target_ar" >&6; }
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12781 $as_echo "no" >&6; }
12785 orig_target_ar
="$orig_target_ar $ac_tool_optarg"
12789 if test "$orig_target_ar" = ""; then
12792 if test "$orig_target_ar" = "no"; then
12795 if test "$req_avail" = "no"; then
12796 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
12799 if test "${aros_tool_prefix}${toolchain_ranlib}" = ""; then
12800 if test "$cross_compiling" = "yes" ; then
12801 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
12802 set dummy
${target_tool_prefix}ar; ac_word
=$2
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12804 $as_echo_n "checking for $ac_word... " >&6; }
12805 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12806 $as_echo_n "(cached) " >&6
12808 case $orig_target_ranlib in
12810 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12814 for as_dir
in $PATH
12817 test -z "$as_dir" && as_dir
=.
12818 for ac_exec_ext
in '' $ac_executable_extensions; do
12819 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12820 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12831 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12832 if test -n "$orig_target_ranlib"; then
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12834 $as_echo "$orig_target_ranlib" >&6; }
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12837 $as_echo "no" >&6; }
12842 if test "$GCC" = "yes"; then
12843 aros_gcc_ar
=`$CC -print-prog-name=ar`
12844 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
12845 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12847 $as_echo_n "checking for $ac_word... " >&6; }
12848 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12849 $as_echo_n "(cached) " >&6
12851 case $orig_target_ranlib in
12853 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12857 for as_dir
in `dirname $aros_gcc_ar`
12860 test -z "$as_dir" && as_dir
=.
12861 for ac_exec_ext
in '' $ac_executable_extensions; do
12862 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12863 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12874 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12875 if test -n "$orig_target_ranlib"; then
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12877 $as_echo "$orig_target_ranlib" >&6; }
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12880 $as_echo "no" >&6; }
12885 if test "$orig_target_ranlib" = ""; then
12886 # Extract the first word of "ar", so it can be a program name with args.
12887 set dummy
ar; ac_word
=$2
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12889 $as_echo_n "checking for $ac_word... " >&6; }
12890 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12891 $as_echo_n "(cached) " >&6
12893 case $orig_target_ranlib in
12895 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12899 for as_dir
in $PATH
12902 test -z "$as_dir" && as_dir
=.
12903 for ac_exec_ext
in '' $ac_executable_extensions; do
12904 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12905 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12916 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12917 if test -n "$orig_target_ranlib"; then
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12919 $as_echo "$orig_target_ranlib" >&6; }
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12922 $as_echo "no" >&6; }
12929 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ranlib}" : '[^ ]* \(.*\)'`
12930 # Extract the first word of "${aros_tool_prefix}${toolchain_ranlib}", so it can be a program name with args.
12931 set dummy
${aros_tool_prefix}${toolchain_ranlib}; ac_word
=$2
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12933 $as_echo_n "checking for $ac_word... " >&6; }
12934 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12935 $as_echo_n "(cached) " >&6
12937 case $orig_target_ranlib in
12939 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12943 for as_dir
in $PATH
12946 test -z "$as_dir" && as_dir
=.
12947 for ac_exec_ext
in '' $ac_executable_extensions; do
12948 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12949 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12960 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12961 if test -n "$orig_target_ranlib"; then
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12963 $as_echo "$orig_target_ranlib" >&6; }
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12966 $as_echo "no" >&6; }
12970 orig_target_ranlib
="$orig_target_ranlib $ac_tool_optarg"
12974 if test "$orig_target_ranlib" = ""; then
12977 if test "$orig_target_ranlib" = "no"; then
12980 if test "$req_avail" = "no"; then
12981 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
12984 if test "${aros_tool_prefix}${toolchain_nm}" = ""; then
12985 if test "$cross_compiling" = "yes" ; then
12986 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
12987 set dummy
${target_tool_prefix}nm
; ac_word
=$2
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12989 $as_echo_n "checking for $ac_word... " >&6; }
12990 if ${ac_cv_path_orig_target_nm+:} false
; then :
12991 $as_echo_n "(cached) " >&6
12993 case $orig_target_nm in
12995 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12999 for as_dir
in $PATH
13002 test -z "$as_dir" && as_dir
=.
13003 for ac_exec_ext
in '' $ac_executable_extensions; do
13004 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13005 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13016 orig_target_nm
=$ac_cv_path_orig_target_nm
13017 if test -n "$orig_target_nm"; then
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13019 $as_echo "$orig_target_nm" >&6; }
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13022 $as_echo "no" >&6; }
13027 if test "$GCC" = "yes"; then
13028 aros_gcc_nm
=`$CC -print-prog-name=nm`
13029 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
13030 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13032 $as_echo_n "checking for $ac_word... " >&6; }
13033 if ${ac_cv_path_orig_target_nm+:} false
; then :
13034 $as_echo_n "(cached) " >&6
13036 case $orig_target_nm in
13038 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13042 for as_dir
in `dirname $aros_gcc_nm`
13045 test -z "$as_dir" && as_dir
=.
13046 for ac_exec_ext
in '' $ac_executable_extensions; do
13047 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13048 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13059 orig_target_nm
=$ac_cv_path_orig_target_nm
13060 if test -n "$orig_target_nm"; then
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13062 $as_echo "$orig_target_nm" >&6; }
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13065 $as_echo "no" >&6; }
13070 if test "$orig_target_nm" = ""; then
13071 # Extract the first word of "nm", so it can be a program name with args.
13072 set dummy nm
; ac_word
=$2
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13074 $as_echo_n "checking for $ac_word... " >&6; }
13075 if ${ac_cv_path_orig_target_nm+:} false
; then :
13076 $as_echo_n "(cached) " >&6
13078 case $orig_target_nm in
13080 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13084 for as_dir
in $PATH
13087 test -z "$as_dir" && as_dir
=.
13088 for ac_exec_ext
in '' $ac_executable_extensions; do
13089 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13090 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13101 orig_target_nm
=$ac_cv_path_orig_target_nm
13102 if test -n "$orig_target_nm"; then
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13104 $as_echo "$orig_target_nm" >&6; }
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13107 $as_echo "no" >&6; }
13114 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_nm}" : '[^ ]* \(.*\)'`
13115 # Extract the first word of "${aros_tool_prefix}${toolchain_nm}", so it can be a program name with args.
13116 set dummy
${aros_tool_prefix}${toolchain_nm}; ac_word
=$2
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13118 $as_echo_n "checking for $ac_word... " >&6; }
13119 if ${ac_cv_path_orig_target_nm+:} false
; then :
13120 $as_echo_n "(cached) " >&6
13122 case $orig_target_nm in
13124 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13128 for as_dir
in $PATH
13131 test -z "$as_dir" && as_dir
=.
13132 for ac_exec_ext
in '' $ac_executable_extensions; do
13133 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13134 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13145 orig_target_nm
=$ac_cv_path_orig_target_nm
13146 if test -n "$orig_target_nm"; then
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13148 $as_echo "$orig_target_nm" >&6; }
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13151 $as_echo "no" >&6; }
13155 orig_target_nm
="$orig_target_nm $ac_tool_optarg"
13159 if test "$orig_target_nm" = ""; then
13162 if test "$orig_target_nm" = "no"; then
13165 if test "$req_avail" = "no"; then
13166 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
13169 if test "${aros_tool_prefix}${toolchain_strip}" = ""; then
13170 if test "$cross_compiling" = "yes" ; then
13171 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
13172 set dummy
${target_tool_prefix}strip
; ac_word
=$2
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13174 $as_echo_n "checking for $ac_word... " >&6; }
13175 if ${ac_cv_path_orig_target_strip+:} false
; then :
13176 $as_echo_n "(cached) " >&6
13178 case $orig_target_strip in
13180 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13184 for as_dir
in $PATH
13187 test -z "$as_dir" && as_dir
=.
13188 for ac_exec_ext
in '' $ac_executable_extensions; do
13189 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13190 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13201 orig_target_strip
=$ac_cv_path_orig_target_strip
13202 if test -n "$orig_target_strip"; then
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13204 $as_echo "$orig_target_strip" >&6; }
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13207 $as_echo "no" >&6; }
13212 if test "$GCC" = "yes"; then
13213 aros_gcc_strip
=`$CC -print-prog-name=strip`
13214 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
13215 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13217 $as_echo_n "checking for $ac_word... " >&6; }
13218 if ${ac_cv_path_orig_target_strip+:} false
; then :
13219 $as_echo_n "(cached) " >&6
13221 case $orig_target_strip in
13223 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13227 for as_dir
in `dirname $aros_gcc_strip`
13230 test -z "$as_dir" && as_dir
=.
13231 for ac_exec_ext
in '' $ac_executable_extensions; do
13232 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13233 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13244 orig_target_strip
=$ac_cv_path_orig_target_strip
13245 if test -n "$orig_target_strip"; then
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13247 $as_echo "$orig_target_strip" >&6; }
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13250 $as_echo "no" >&6; }
13255 if test "$orig_target_strip" = ""; then
13256 # Extract the first word of "strip", so it can be a program name with args.
13257 set dummy strip
; ac_word
=$2
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13259 $as_echo_n "checking for $ac_word... " >&6; }
13260 if ${ac_cv_path_orig_target_strip+:} false
; then :
13261 $as_echo_n "(cached) " >&6
13263 case $orig_target_strip in
13265 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13269 for as_dir
in $PATH
13272 test -z "$as_dir" && as_dir
=.
13273 for ac_exec_ext
in '' $ac_executable_extensions; do
13274 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13275 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13286 orig_target_strip
=$ac_cv_path_orig_target_strip
13287 if test -n "$orig_target_strip"; then
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13289 $as_echo "$orig_target_strip" >&6; }
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13292 $as_echo "no" >&6; }
13299 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_strip}" : '[^ ]* \(.*\)'`
13300 # Extract the first word of "${aros_tool_prefix}${toolchain_strip}", so it can be a program name with args.
13301 set dummy
${aros_tool_prefix}${toolchain_strip}; ac_word
=$2
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13303 $as_echo_n "checking for $ac_word... " >&6; }
13304 if ${ac_cv_path_orig_target_strip+:} false
; then :
13305 $as_echo_n "(cached) " >&6
13307 case $orig_target_strip in
13309 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13313 for as_dir
in $PATH
13316 test -z "$as_dir" && as_dir
=.
13317 for ac_exec_ext
in '' $ac_executable_extensions; do
13318 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13319 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13330 orig_target_strip
=$ac_cv_path_orig_target_strip
13331 if test -n "$orig_target_strip"; then
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13333 $as_echo "$orig_target_strip" >&6; }
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13336 $as_echo "no" >&6; }
13340 orig_target_strip
="$orig_target_strip $ac_tool_optarg"
13344 if test "$orig_target_strip" = ""; then
13347 if test "$orig_target_strip" = "no"; then
13350 if test "$req_avail" = "no"; then
13351 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
13354 if test "${aros_tool_prefix}${toolchain_objcopy}" = ""; then
13355 if test "$cross_compiling" = "yes" ; then
13356 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
13357 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13359 $as_echo_n "checking for $ac_word... " >&6; }
13360 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13361 $as_echo_n "(cached) " >&6
13363 case $orig_target_objcopy in
13365 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13369 for as_dir
in $PATH
13372 test -z "$as_dir" && as_dir
=.
13373 for ac_exec_ext
in '' $ac_executable_extensions; do
13374 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13375 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13386 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13387 if test -n "$orig_target_objcopy"; then
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13389 $as_echo "$orig_target_objcopy" >&6; }
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13392 $as_echo "no" >&6; }
13397 if test "$GCC" = "yes"; then
13398 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
13399 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
13400 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13402 $as_echo_n "checking for $ac_word... " >&6; }
13403 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13404 $as_echo_n "(cached) " >&6
13406 case $orig_target_objcopy in
13408 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13412 for as_dir
in `dirname $aros_gcc_objcopy`
13415 test -z "$as_dir" && as_dir
=.
13416 for ac_exec_ext
in '' $ac_executable_extensions; do
13417 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13418 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13429 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13430 if test -n "$orig_target_objcopy"; then
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13432 $as_echo "$orig_target_objcopy" >&6; }
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13435 $as_echo "no" >&6; }
13440 if test "$orig_target_objcopy" = ""; then
13441 # Extract the first word of "objcopy", so it can be a program name with args.
13442 set dummy objcopy
; ac_word
=$2
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13444 $as_echo_n "checking for $ac_word... " >&6; }
13445 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13446 $as_echo_n "(cached) " >&6
13448 case $orig_target_objcopy in
13450 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13454 for as_dir
in $PATH
13457 test -z "$as_dir" && as_dir
=.
13458 for ac_exec_ext
in '' $ac_executable_extensions; do
13459 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13460 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13471 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13472 if test -n "$orig_target_objcopy"; then
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13474 $as_echo "$orig_target_objcopy" >&6; }
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13477 $as_echo "no" >&6; }
13484 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objcopy}" : '[^ ]* \(.*\)'`
13485 # Extract the first word of "${aros_tool_prefix}${toolchain_objcopy}", so it can be a program name with args.
13486 set dummy
${aros_tool_prefix}${toolchain_objcopy}; ac_word
=$2
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13488 $as_echo_n "checking for $ac_word... " >&6; }
13489 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13490 $as_echo_n "(cached) " >&6
13492 case $orig_target_objcopy in
13494 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13498 for as_dir
in $PATH
13501 test -z "$as_dir" && as_dir
=.
13502 for ac_exec_ext
in '' $ac_executable_extensions; do
13503 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13504 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13515 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13516 if test -n "$orig_target_objcopy"; then
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13518 $as_echo "$orig_target_objcopy" >&6; }
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13521 $as_echo "no" >&6; }
13525 orig_target_objcopy
="$orig_target_objcopy $ac_tool_optarg"
13529 if test "$orig_target_objcopy" = ""; then
13532 if test "$orig_target_objcopy" = "no"; then
13535 if test "$req_avail" = "no"; then
13536 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
13539 if test "${aros_tool_prefix}${toolchain_objdump}" = ""; then
13540 if test "$cross_compiling" = "yes" ; then
13541 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
13542 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13544 $as_echo_n "checking for $ac_word... " >&6; }
13545 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13546 $as_echo_n "(cached) " >&6
13548 case $orig_target_objdump in
13550 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13554 for as_dir
in $PATH
13557 test -z "$as_dir" && as_dir
=.
13558 for ac_exec_ext
in '' $ac_executable_extensions; do
13559 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13560 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13571 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13572 if test -n "$orig_target_objdump"; then
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13574 $as_echo "$orig_target_objdump" >&6; }
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13577 $as_echo "no" >&6; }
13582 if test "$GCC" = "yes"; then
13583 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
13584 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
13585 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13587 $as_echo_n "checking for $ac_word... " >&6; }
13588 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13589 $as_echo_n "(cached) " >&6
13591 case $orig_target_objdump in
13593 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13597 for as_dir
in `dirname $aros_gcc_objdump`
13600 test -z "$as_dir" && as_dir
=.
13601 for ac_exec_ext
in '' $ac_executable_extensions; do
13602 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13603 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13614 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13615 if test -n "$orig_target_objdump"; then
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13617 $as_echo "$orig_target_objdump" >&6; }
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13620 $as_echo "no" >&6; }
13625 if test "$orig_target_objdump" = ""; then
13626 # Extract the first word of "objdump", so it can be a program name with args.
13627 set dummy objdump
; ac_word
=$2
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13629 $as_echo_n "checking for $ac_word... " >&6; }
13630 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13631 $as_echo_n "(cached) " >&6
13633 case $orig_target_objdump in
13635 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13639 for as_dir
in $PATH
13642 test -z "$as_dir" && as_dir
=.
13643 for ac_exec_ext
in '' $ac_executable_extensions; do
13644 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13645 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13656 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13657 if test -n "$orig_target_objdump"; then
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13659 $as_echo "$orig_target_objdump" >&6; }
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13662 $as_echo "no" >&6; }
13669 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objdump}" : '[^ ]* \(.*\)'`
13670 # Extract the first word of "${aros_tool_prefix}${toolchain_objdump}", so it can be a program name with args.
13671 set dummy
${aros_tool_prefix}${toolchain_objdump}; ac_word
=$2
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13673 $as_echo_n "checking for $ac_word... " >&6; }
13674 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13675 $as_echo_n "(cached) " >&6
13677 case $orig_target_objdump in
13679 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13683 for as_dir
in $PATH
13686 test -z "$as_dir" && as_dir
=.
13687 for ac_exec_ext
in '' $ac_executable_extensions; do
13688 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13689 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13700 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13701 if test -n "$orig_target_objdump"; then
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13703 $as_echo "$orig_target_objdump" >&6; }
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13706 $as_echo "no" >&6; }
13710 orig_target_objdump
="$orig_target_objdump $ac_tool_optarg"
13714 if test "$orig_target_objdump" = ""; then
13717 if test "$orig_target_objdump" = "no"; then
13720 if test "$req_avail" = "no"; then
13721 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
13725 if test "$kernel_tool_prefix" = "none" ; then
13726 # No kernel tools specified
13727 # Assume target tools == kernel tools with ELF wrapper
13728 aros_kernel_cc
=$orig_target_cc
13729 aros_kernel_cxx
=$orig_target_cxx
13730 aros_kernel_cpp
=$orig_target_cpp
13731 aros_kernel_ld
=$orig_target_ld
13732 aros_kernel_as
=$orig_target_as
13733 aros_kernel_ar
=$orig_target_ar
13734 aros_kernel_ranlib
=$orig_target_ranlib
13735 aros_kernel_nm
=$orig_target_nm
13736 aros_kernel_strip
=$orig_target_strip
13737 aros_kernel_objcopy
=$orig_target_objcopy
13738 aros_kernel_objdump
=$orig_target_objdump
13739 use_kernel_cc_wrapper
=yes
13742 # At this point, all aros_kernel_* and aros_target_*
13743 # tools should be set up correctly
13745 CC
="$aros_kernel_cc $kernel_tool_flags"
13746 CPP
="$aros_kernel_cpp"
13748 #-----------------------------------------------------------------------------
13750 # Find all the tools we need to compile. This could be cross-compiling
13751 # though! If that is the case we use the GNU form of the target and
13752 # simply add this to the front of the binary name. This is rather simple,
13753 # but it should work under most circumstances.
13755 # The default tools are to use the same as the host, but only if the
13756 # host and target CPU are the same. With GCC this is normally enough.
13760 aros_shared_ld
="$aros_host_ld"
13762 aros_target_mkdep
="$aros_host_mkdep"
13764 # The default tools executables to be linked to.
13765 if test "$rescomp" != ""; then
13766 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
13767 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13769 $as_echo_n "checking for $ac_word... " >&6; }
13770 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
13771 $as_echo_n "(cached) " >&6
13773 case $aros_kernel_rescomp in
13775 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
13778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13779 for as_dir
in $PATH
13782 test -z "$as_dir" && as_dir
=.
13783 for ac_exec_ext
in '' $ac_executable_extensions; do
13784 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13785 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
13786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13796 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
13797 if test -n "$aros_kernel_rescomp"; then
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
13799 $as_echo "$aros_kernel_rescomp" >&6; }
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13802 $as_echo "no" >&6; }
13807 if test "$aros_kernel_rescomp" = ""; then
13810 if test "$aros_kernel_rescomp" = "no"; then
13813 if test "$req_avail" = "no"; then
13814 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
13818 # Set up the sources for the symlink farm
13819 if test "$crosstools" = "yes"; then
13820 crosstools_target
=tools-crosstools
13823 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
13824 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
13826 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/host/config"
13827 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
13828 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Developer/include/aros"
13829 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
13830 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
13831 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
13832 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
13834 # aros_cc_pre is a variable that is added to the front of the compiler name
13835 # in the generated aros-gcc shell script. We need this to enable the cache
13836 # to work across cleaned builds. Also, support DISTCC using the correct
13837 # environment variable.
13840 if test "x${DISTCC}" != "x" ; then
13841 if test "x${CCACHE}" != "x" ; then
13842 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
13844 aros_cc_pre
="${DISTCC} "
13847 if test "x${CCACHE}" != "x" ; then
13848 aros_cc_pre
="${CCACHE} "
13852 aros_target_nostdinc_cflags
=-nostdinc
13854 aros_target_nostartup_ldflags
=-nostartfiles
13856 aros_target_nix_ldflags
=-nix
13858 aros_target_detach_ldflags
=-detach
13860 aros_target_nostdlib_ldflags
=-nostdlib
13863 aros_target_cc_path
=
13867 if test "$aros_target_toolchain" != "yes"; then
13868 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
13869 if test "$GCC" = "yes"; then
13870 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
13873 # We do not know which c compiler version we are going to build and what we need to know
13874 # here is different for different versions so this will be set later during the
13875 # build of crosstools.
13876 if test "$aros_toolchain" = "gnu" ; then
13877 prefix
="$AROS_CROSSTOOLSDIR/${aros_target_cpu}-aros-"
13878 elif test "$aros_toolchain" = "llvm" ; then
13879 prefix
="$AROS_CROSSTOOLSDIR/bin/"
13881 aros_target_cc_path
=@aros_target_cc_path@
13883 aros_target_cpp
="${prefix}${toolchain_cpp_preprocessor}"
13884 aros_target_cc
="${prefix}${toolchain_c_compiler}"
13885 aros_target_cxx
="${prefix}${toolchain_cxx_compiler}"
13886 aros_target_as
="${prefix}${toolchain_as}"
13887 if test "${use_ld_wrapper}" = "yes"; then
13888 aros_target_ld
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${aros_ld}"
13890 aros_target_ld
="${prefix}${toolchain_ld}"
13892 aros_toolchain_ld
="${prefix}${toolchain_ld}"
13894 aros_target_ar
="${prefix}${toolchain_ar} $aros_target_ar_flags"
13895 aros_target_objcopy
="${prefix}${toolchain_objcopy}"
13896 aros_target_objdump
="${prefix}${toolchain_objdump}"
13897 aros_target_ranlib
="${prefix}${toolchain_ranlib} $aros_target_ranlib_flags"
13898 aros_target_nm
="${prefix}${toolchain_nm} $aros_target_nm_flags"
13899 aros_target_strip
="${prefix}${toolchain_strip}"
13900 aros_plain_nm
="${prefix}${toolchain_nm}"
13901 aros_plain_ar
="${prefix}${toolchain_ar}"
13903 # Check whether --enable-includes was given.
13904 if test "${enable_includes+set}" = set; then :
13905 enableval
=$enable_includes; aros_target_incl
=$enable_includes
13907 aros_target_incl
=no
13911 if test "x$aros_target_incl" = "xno"; then
13912 if test "x$test_kernel_cc" != "xno"; then
13913 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
13919 if test "x$aros_kernel_includes" = "x"; then
13920 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13921 if test "x$aros_target_incl" != "x"; then
13922 aros_kernel_includes
="-isystem $aros_target_incl"
13927 if test "x$test_kernel_cc" != "xno"; then
13928 if test "$aros_kernel_includes" != "" ; then
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
13930 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
13931 if test "$aros_kernel_cc_includes" = "" ; then
13932 # Try to guess where the directory is.
13933 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
13934 if test -d $aros_kernel_cc_includes; then
13935 # Check if there is also an include-fixed directory and add it
13936 # to kernel compiler's include path as it may contain some of
13937 # the headers we need.
13938 if test -d "$aros_kernel_cc_includes"-fixed; then
13939 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
13941 # Check for specific includes directory. Needed for Ubuntu 11.10 and Debian
13942 if test -d "/usr/include/${aros_target_cpu}-linux-gnu"; then
13943 aros_kernel_cc_includes
+=" -isystem /usr/include/${aros_target_cpu}-linux-gnu"
13946 # The directory doesn't exist, we need to do some more work.
13947 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
13949 # These are the headers we're looking for.
13950 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13951 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13955 for h
in $headers; do
13956 # Which other headers are needed by each of the above?
13957 deps
=$
(echo "#include <$h>" | \
13958 $aros_kernel_cc -E -M - 2>/dev
/null | \
13959 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13961 # Copy all the needed headers to a directory beneath gendir.
13964 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
13965 sed -n "s,^.*/include\(/.*\),\1,p")
13966 ! test -d $dir && mkdir
-p $dir
13967 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
13973 $as_echo "$aros_kernel_cc_includes" >&6; }
13974 # Adding -nostdinc to kernel includes as they are always used together.
13975 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
13979 if test "$crosstools" != "yes"; then
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
13981 $as_echo_n "checking for the target compiler's include path... " >&6; }
13982 if test "$aros_target_cc_includes" = "" ; then
13983 #try to guess where the directory is
13984 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
13985 if ! test -d $aros_target_cc_includes; then
13986 #the directory doesn't exist, we need to do some more work
13987 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
13989 #these are the headers we're looking for
13990 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13991 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13995 for h
in $headers; do
13996 #which other headers each of the above headers needs?
13997 deps
=$
(echo "#include <$h>" | \
13998 $orig_target_cc -E -M - 2>/dev
/null | \
13999 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
14001 #copy all the needed headers to a directory beneath gendir
14004 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
14005 sed -n "s,^.*/include\(/.*\),\1,p")
14006 ! test -d $dir && mkdir
-p $dir
14007 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
14013 $as_echo "$aros_target_cc_includes" >&6; }
14015 # We do not know which c compiler version we are going to build and what we need to know
14016 # here is different for different versions so this will be set later during the
14017 # build of crosstools.
14018 aros_target_cc_includes
=@aros_target_cc_includes@
14022 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
14023 # On GCC >= 4.0 -iquote should be used
14027 save_cflags
="$CFLAGS"
14028 if test "x$test_kernel_cc" != "xno"; then
14030 kernel_cflags_iquote
=$host_cflags_iquote
14031 kernel_cflags_iquote_end
=$host_cflags_iquote_end
14032 if test "x-$cross_compiling" = "x-yes"; then
14033 CC
="$aros_kernel_cc"
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
14035 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
14036 if test "x-$crosstools" != "x-yes"; then
14037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14038 /* end confdefs.h. */
14048 if ac_fn_c_try_compile
"$LINENO"; then :
14049 use_no_stack_protector
="yes"
14051 use_no_stack_protector
="no"
14053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14055 # we do know it is supported for the smallest version of gcc we are going to build
14056 # we assume it's also supported by later versions
14057 use_no_stack_protector
=yes
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
14060 $as_echo "$use_no_stack_protector" >&6; }
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
14062 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
14063 if test "x-$crosstools" != "x-yes"; then
14064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14065 /* end confdefs.h. */
14075 if ac_fn_c_try_compile
"$LINENO"; then :
14080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14082 # we do know it is supported for the smallest version of gcc we are going to build
14083 # we assume it's also supported by later versions
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
14087 $as_echo "$has_iquote" >&6; }
14088 if test "x-$has_iquote" = "x-yes" ; then
14089 kernel_cflags_iquote
=-iquote
14090 kernel_cflags_iquote_end
=
14092 kernel_cflags_iquote
=-I
14093 kernel_cflags_iquote_end
=-I-
14096 if test "x-$use_no_stack_protector" = "x-yes" ; then
14097 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
14100 #-----------------------------------------------------------------------------
14102 # Check if we can explicitly choose older version of symbol hashing
14104 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
14105 CC
="$aros_kernel_cc"
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
14107 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
14108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14109 /* end confdefs.h. */
14119 if ac_fn_c_try_link
"$LINENO"; then :
14120 use_hash_style
="yes"
14122 use_hash_style
="no"
14124 rm -f core conftest.err conftest.
$ac_objext \
14125 conftest
$ac_exeext conftest.
$ac_ext
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
14127 $as_echo "$use_hash_style" >&6; }
14128 if test "x-$use_hash_style" = "x-yes" ; then
14129 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
14132 kernel_cflags_iquote
="$""(CFLAGS_IQUOTE)"
14133 kernel_cflags_iquote_end
="$""(CFLAGS_IQUOTE_END)"
14136 CFLAGS
="$save_cflags"
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
14145 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
14147 # Check whether --with-resolution was given.
14148 if test "${with_resolution+set}" = set; then :
14149 withval
=$with_resolution; resolution
=$withval
14154 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
14155 if test "$resolution" = "yes" ; then
14158 if test "$resolution" = "no" ; then
14161 if test "$resolution" != "none" ; then
14162 aros_nominal_width
=`echo $resolution | cut -d'x' -f1`
14163 aros_nominal_height
=`echo $resolution | cut -d'x' -f2`
14164 aros_nominal_depth
=`echo $resolution | cut -d'x' -f3`
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&5
14167 $as_echo "$aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&6; }
14168 aros_cv_nominal_width
=$aros_nominal_width
14169 aros_cv_nominal_height
=$aros_nominal_height
14170 aros_cv_nominal_depth
=$aros_nominal_depth
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether serial debug is enabled" >&5
14173 $as_echo_n "checking whether serial debug is enabled... " >&6; }
14175 # Check whether --with-serial-debug was given.
14176 if test "${with_serial_debug+set}" = set; then :
14177 withval
=$with_serial_debug; serial_debug
=$withval
14182 if test "$aros_serial_debug" = 0 ; then
14183 serial_debug_forced
=""
14184 if test "$serial_debug" = "yes" ; then
14187 if test "$serial_debug" = "no" ; then
14188 serial_debug
="none"
14191 serial_debug_forced
="(forced)"
14192 serial_debug
=$aros_serial_debug
14194 if test "$serial_debug" != "none" ; then
14195 aros_serial_debug
=$serial_debug
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
14197 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14200 $as_echo "no" >&6; }
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether palm debug hack is enabled" >&5
14204 $as_echo_n "checking whether palm debug hack is enabled... " >&6; }
14205 # Check whether --enable-palm_debug_hack was given.
14206 if test "${enable_palm_debug_hack+set}" = set; then :
14207 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
14209 palm_debug_hack
="no"
14212 if test "$palm_debug_hack" = "yes" ; then
14213 aros_palm_debug_hack
="1"
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
14216 $as_echo "$palm_debug_hack" >&6; }
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usb3.0 code is enabled" >&5
14219 $as_echo_n "checking whether usb3.0 code is enabled... " >&6; }
14220 # Check whether --enable-usb30_code was given.
14221 if test "${enable_usb30_code+set}" = set; then :
14222 enableval
=$enable_usb30_code; usb30_code
="yes"
14227 if test "$usb30_code" = "yes" ; then
14228 aros_config_cppflags
="$aros_config_cppflags -DAROS_USB30_CODE"
14229 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
14232 $as_echo "$usb30_code" >&6; }
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether nesting supervisor support is enabled" >&5
14235 $as_echo_n "checking whether nesting supervisor support is enabled... " >&6; }
14236 # Check whether --enable-nesting_supervisor was given.
14237 if test "${enable_nesting_supervisor+set}" = set; then :
14238 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
14240 nesting_supervisor
="no"
14243 if test "$nesting_supervisor" = "yes" ; then
14244 aros_nesting_supervisor
="1"
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
14247 $as_echo "$nesting_supervisor" >&6; }
14249 if test "$aros_enable_mmu" = "" ; then
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MMU support is enabled" >&5
14251 $as_echo_n "checking whether MMU support is enabled... " >&6; }
14252 # Check whether --enable-mmu was given.
14253 if test "${enable_mmu+set}" = set; then :
14254 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
14256 aros_enable_mmu
="yes"
14259 if test "$aros_enable_mmu" = "" ; then
14260 aros_enable_mmu
="yes"
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
14263 $as_echo "$aros_enable_mmu" >&6; }
14265 if test "$aros_enable_mmu" = "no" ; then
14266 aros_enable_mmu
="0"
14268 aros_enable_mmu
="1"
14272 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
14274 if test "x-$need_dlopen" != "x-no" ; then
14277 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
14278 if test "x$ac_cv_func_dlopen" = xyes
; then :
14284 if test "x-$have_dl" = "x-no" ; then
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14286 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14287 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14288 $as_echo_n "(cached) " >&6
14290 ac_check_lib_save_LIBS
=$LIBS
14292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14293 /* end confdefs.h. */
14295 /* Override any GCC internal prototype to avoid an error.
14296 Use char because int might match the return type of a GCC
14297 builtin and then its argument prototype would still apply. */
14310 if ac_fn_c_try_link
"$LINENO"; then :
14311 ac_cv_lib_dl_dlopen
=yes
14313 ac_cv_lib_dl_dlopen
=no
14315 rm -f core conftest.err conftest.
$ac_objext \
14316 conftest
$ac_exeext conftest.
$ac_ext
14317 LIBS
=$ac_check_lib_save_LIBS
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14320 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14321 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14323 aros_host_ldflags
="$aros_host_ldflags -ldl"
14329 if test "x-$have_dl" = "x-no" ; then
14330 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
14336 # Check whether --enable-x11_hidd was given.
14337 if test "${enable_x11_hidd+set}" = set; then :
14338 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
14340 x11_hidd
="$need_x11"
14343 case "x-$x11_hidd" in
14344 x-yes|x-no|x-auto
) ;;
14345 *) x11_hidd
="$need_x11" ;;
14350 if test "x-$x11_hidd" != "x-no" ; then
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
14353 $as_echo_n "checking for X... " >&6; }
14356 # Check whether --with-x was given.
14357 if test "${with_x+set}" = set; then :
14361 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
14362 if test "x$with_x" = xno
; then
14363 # The user explicitly disabled X.
14366 case $x_includes,$x_libraries in #(
14367 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
14368 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
14369 $as_echo_n "(cached) " >&6
14371 # One or both of the vars are not set, and there is no cached value.
14372 ac_x_includes
=no ac_x_libraries
=no
14373 rm -f -r conftest.dir
14374 if mkdir conftest.dir
; then
14376 cat >Imakefile
<<'_ACEOF'
14378 @echo incroot='${INCROOT}'
14380 @echo usrlibdir='${USRLIBDIR}'
14382 @echo libdir='${LIBDIR}'
14384 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
14385 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14386 for ac_var
in incroot usrlibdir libdir
; do
14387 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14389 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14390 for ac_extension
in a so sl dylib la dll
; do
14391 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14392 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14393 ac_im_usrlibdir
=$ac_im_libdir; break
14396 # Screen out bogus values from the imake configuration. They are
14397 # bogus both because they are the default anyway, and because
14398 # using them would break gcc on systems where it needs fixed includes.
14399 case $ac_im_incroot in
14400 /usr
/include
) ac_x_includes
= ;;
14401 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
14403 case $ac_im_usrlibdir in
14404 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
14405 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
14409 rm -f -r conftest.dir
14412 # Standard set of common directories for X headers.
14413 # Check X11 before X11Rn because it is often a symlink to the current release.
14427 /usr/local/X11/include
14428 /usr/local/X11R7/include
14429 /usr/local/X11R6/include
14430 /usr/local/X11R5/include
14431 /usr/local/X11R4/include
14433 /usr/local/include/X11
14434 /usr/local/include/X11R7
14435 /usr/local/include/X11R6
14436 /usr/local/include/X11R5
14437 /usr/local/include/X11R4
14441 /usr/XFree86/include/X11
14445 /usr/unsupported/include
14446 /usr/athena/include
14447 /usr/local/x11r5/include
14448 /usr/lpp/Xamples/include
14450 /usr/openwin/include
14451 /usr/openwin/share/include'
14453 if test "$ac_x_includes" = no
; then
14454 # Guess where to find include files, by looking for Xlib.h.
14455 # First, try using that file with no special directory specified.
14456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14457 /* end confdefs.h. */
14458 #include <X11/Xlib.h>
14460 if ac_fn_c_try_cpp
"$LINENO"; then :
14461 # We can compile using X headers with no special include directory.
14464 for ac_dir
in $ac_x_header_dirs; do
14465 if test -r "$ac_dir/X11/Xlib.h"; then
14466 ac_x_includes
=$ac_dir
14471 rm -f conftest.err conftest.i conftest.
$ac_ext
14472 fi # $ac_x_includes = no
14474 if test "$ac_x_libraries" = no
; then
14475 # Check for the libraries.
14476 # See if we find them without any special options.
14477 # Don't add to $LIBS permanently.
14480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14481 /* end confdefs.h. */
14482 #include <X11/Xlib.h>
14491 if ac_fn_c_try_link
"$LINENO"; then :
14493 # We can link X programs with no special library path.
14497 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14499 # Don't even attempt the hair of trying to link an X program!
14500 for ac_extension
in a so sl dylib la dll
; do
14501 if test -r "$ac_dir/libX11.$ac_extension"; then
14502 ac_x_libraries
=$ac_dir
14508 rm -f core conftest.err conftest.
$ac_objext \
14509 conftest
$ac_exeext conftest.
$ac_ext
14510 fi # $ac_x_libraries = no
14512 case $ac_x_includes,$ac_x_libraries in #(
14513 no
,* |
*,no |
*\'*)
14514 # Didn't find X, or a directory has "'" in its name.
14515 ac_cv_have_x
="have_x=no";; #(
14517 # Record where we found X for the cache.
14518 ac_cv_have_x
="have_x=yes\
14519 ac_x_includes='$ac_x_includes'\
14520 ac_x_libraries='$ac_x_libraries'"
14526 eval "$ac_cv_have_x"
14529 if test "$have_x" != yes; then
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14531 $as_echo "$have_x" >&6; }
14534 # If each of the values was on the command line, it overrides each guess.
14535 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
14536 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
14537 # Update the cache value to reflect the command line values.
14538 ac_cv_have_x
="have_x=yes\
14539 ac_x_includes='$x_includes'\
14540 ac_x_libraries='$x_libraries'"
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14542 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
14546 if test -n "$x_includes"; then
14547 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14550 if test -n "$x_libraries"; then
14551 X_LIBS
="$X_LIBS -L$x_libraries"
14554 if test "x-$no_x" = "x-yes" ; then
14556 if test "x-$x11_hidd" != "x-auto" ; then
14557 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
14561 aros_target_options
+="$export_newline""# Enable X11 Gfx Driver$export_newline""OPT_HOST_X11GFX := yes$export_newline"
14562 if test "x-$host_feature_glx" != "x-no" ; then
14563 aros_target_options
+="$export_newline""# Enable X11 HostGL 3D Passthrough$export_newline""OPT_HOST_X11_HOSTGL := yes$export_newline"
14567 aros_host_x11_cflags
="$X_CFLAGS"
14568 aros_host_x11_ldflags
="$X_LIBS -lX11"
14570 # Check whether --enable-x11_shm was given.
14571 if test "${enable_x11_shm+set}" = set; then :
14572 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
14574 x11_hidd_shm
="auto"
14577 case "x-$x11_hidd_shm" in
14578 x-yes|x-no|x-auto
) ;;
14579 *) x11_hidd_shm
="auto" ;;
14584 if test "x-$x11_hidd_shm" != "x-no" ; then
14586 for ac_header
in sys
/ipc.h
14588 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
14589 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
14590 cat >>confdefs.h
<<_ACEOF
14591 #define HAVE_SYS_IPC_H 1
14598 for ac_header
in sys
/shm.h
14600 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
14601 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
14602 cat >>confdefs.h
<<_ACEOF
14603 #define HAVE_SYS_SHM_H 1
14611 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
14613 save_cflags
="$CFLAGS"
14614 save_ldflags
="$LDFLAGS"
14615 CFLAGS
="$CFLAGS $X_CFLAGS"
14616 LDFLAGS
="$LDFLAGS $X_LIBS"
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14618 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
14619 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
14620 $as_echo_n "(cached) " >&6
14622 ac_check_lib_save_LIBS
=$LIBS
14623 LIBS
="-lXext $LIBS"
14624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14625 /* end confdefs.h. */
14627 /* Override any GCC internal prototype to avoid an error.
14628 Use char because int might match the return type of a GCC
14629 builtin and then its argument prototype would still apply. */
14633 char XShmQueryExtension ();
14637 return XShmQueryExtension ();
14642 if ac_fn_c_try_link
"$LINENO"; then :
14643 ac_cv_lib_Xext_XShmQueryExtension
=yes
14645 ac_cv_lib_Xext_XShmQueryExtension
=no
14647 rm -f core conftest.err conftest.
$ac_objext \
14648 conftest
$ac_exeext conftest.
$ac_ext
14649 LIBS
=$ac_check_lib_save_LIBS
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14652 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14653 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
14657 CFLAGS
="$save_cflags"
14658 LDFLAGS
="$save_ldflags"
14662 if test "x-$have_xshm" = "x-yes" ; then
14663 DO_XSHM_SUPPORT
="1"
14664 elif test "x-$x11_hidd_shm" = "x-yes" ; then
14665 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
14667 DO_XSHM_SUPPORT
="0"
14671 # Check whether --enable-x11_vidmode was given.
14672 if test "${enable_x11_vidmode+set}" = set; then :
14673 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
14675 x11_hidd_vidmode
="auto"
14678 case "x-$x11_hidd_vidmode" in
14679 x-yes|x-no|x-auto
) ;;
14680 *) x11_hidd_vidmode
="auto" ;;
14685 if test "x-$x11_hidd_vidmode" != "x-no" ; then
14687 save_cflags
="$CFLAGS"
14688 save_ldflags
="$LDFLAGS"
14689 CFLAGS
="$CFLAGS $X_CFLAGS"
14690 LDFLAGS
="$LDFLAGS $X_LIBS"
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
14692 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
14693 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
14694 $as_echo_n "(cached) " >&6
14696 ac_check_lib_save_LIBS
=$LIBS
14697 LIBS
="-lXxf86vm $LIBS"
14698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14699 /* end confdefs.h. */
14701 /* Override any GCC internal prototype to avoid an error.
14702 Use char because int might match the return type of a GCC
14703 builtin and then its argument prototype would still apply. */
14707 char XF86VidModeQueryExtension ();
14711 return XF86VidModeQueryExtension ();
14716 if ac_fn_c_try_link
"$LINENO"; then :
14717 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
14719 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
14721 rm -f core conftest.err conftest.
$ac_objext \
14722 conftest
$ac_exeext conftest.
$ac_ext
14723 LIBS
=$ac_check_lib_save_LIBS
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
14726 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
14727 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
14731 CFLAGS
="$save_cflags"
14732 LDFLAGS
="$save_ldflags"
14735 if test "x-$have_vidmode" = "x-yes" ; then
14736 DO_VIDMODE_SUPPORT
="1"
14737 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
14738 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
14740 DO_VIDMODE_SUPPORT
="0"
14745 # Check whether --enable-sdl_hidd was given.
14746 if test "${enable_sdl_hidd+set}" = set; then :
14747 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
14752 case "x-$sdl_hidd" in
14753 x-yes|x-no|x-auto
) ;;
14754 *) sdl_hidd
="auto" ;;
14757 if test "x-$sdl_hidd" != "x-no" ; then
14761 # Check whether --with-sdl-prefix was given.
14762 if test "${with_sdl_prefix+set}" = set; then :
14763 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
14769 # Check whether --with-sdl-exec-prefix was given.
14770 if test "${with_sdl_exec_prefix+set}" = set; then :
14771 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
14776 # Check whether --enable-sdltest was given.
14777 if test "${enable_sdltest+set}" = set; then :
14778 enableval
=$enable_sdltest;
14784 if test x
$sdl_exec_prefix != x
; then
14785 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
14786 if test x
${SDL_CONFIG+set} != xset
; then
14787 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
14790 if test x
$sdl_prefix != x
; then
14791 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
14792 if test x
${SDL_CONFIG+set} != xset
; then
14793 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
14797 as_save_PATH
="$PATH"
14798 if test "x$prefix" != xNONE
; then
14799 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
14801 # Extract the first word of "sdl-config", so it can be a program name with args.
14802 set dummy sdl-config
; ac_word
=$2
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14804 $as_echo_n "checking for $ac_word... " >&6; }
14805 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
14806 $as_echo_n "(cached) " >&6
14808 case $SDL_CONFIG in
14810 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
14813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14814 for as_dir
in $PATH
14817 test -z "$as_dir" && as_dir
=.
14818 for ac_exec_ext
in '' $ac_executable_extensions; do
14819 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14820 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14828 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
14832 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
14833 if test -n "$SDL_CONFIG"; then
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
14835 $as_echo "$SDL_CONFIG" >&6; }
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14838 $as_echo "no" >&6; }
14842 PATH
="$as_save_PATH"
14843 min_sdl_version
=$SDL_VERSION
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
14845 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
14847 if test "$SDL_CONFIG" = "no" ; then
14850 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
14851 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
14853 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
14854 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
14855 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
14856 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
14857 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
14858 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
14859 if test "x$enable_sdltest" = "xyes" ; then
14860 ac_save_CFLAGS
="$CFLAGS"
14861 ac_save_CXXFLAGS
="$CXXFLAGS"
14862 ac_save_LIBS
="$LIBS"
14863 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14864 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14865 LIBS
="$LIBS $SDL_LIBS"
14867 if test "$cross_compiling" = yes; then :
14868 echo $ac_n "cross compiling; assumed OK... $ac_c"
14870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14871 /* end confdefs.h. */
14874 #include <stdlib.h>
14875 #include <string.h>
14879 my_strdup (char *str)
14885 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14886 strcpy (new_str, str);
14894 int main (int argc, char *argv[])
14896 int major, minor, micro;
14899 /* This hangs on some systems (?)
14900 system ("touch conf.sdltest");
14902 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14904 /* HP/UX 9 (%@#!) writes to sscanf strings */
14905 tmp_version = my_strdup("$min_sdl_version");
14906 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14907 printf("%s, bad version string\n", "$min_sdl_version");
14911 if (($sdl_major_version > major) ||
14912 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14913 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14919 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14920 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14921 printf("*** best to upgrade to the required version.\n");
14922 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14923 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14924 printf("*** config.cache before re-running configure\n");
14931 if ac_fn_c_try_run
"$LINENO"; then :
14936 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14937 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14940 CFLAGS
="$ac_save_CFLAGS"
14941 CXXFLAGS
="$ac_save_CXXFLAGS"
14942 LIBS
="$ac_save_LIBS"
14945 if test "x$no_sdl" = x
; then
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14947 $as_echo "yes" >&6; }
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14951 $as_echo "no" >&6; }
14952 if test "$SDL_CONFIG" = "no" ; then
14953 echo "*** The sdl-config script installed by SDL could not be found"
14954 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14955 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14956 echo "*** full path to sdl-config."
14958 if test -f conf.sdltest
; then
14961 echo "*** Could not run SDL test program, checking why..."
14962 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14963 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14964 LIBS
="$LIBS $SDL_LIBS"
14965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14966 /* end confdefs.h. */
14971 int main(int argc, char *argv[])
14974 #define main K_and_R_C_main
14984 if ac_fn_c_try_link
"$LINENO"; then :
14985 echo "*** The test program compiled, but did not run. This usually means"
14986 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14987 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14988 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14989 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14990 echo "*** is required on your system"
14992 echo "*** If you have an old version installed, it is best to remove it, although"
14993 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14995 echo "*** The test program failed to compile or link. See the file config.log for the"
14996 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14997 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14998 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
15000 rm -f core conftest.err conftest.
$ac_objext \
15001 conftest
$ac_exeext conftest.
$ac_ext
15002 CFLAGS
="$ac_save_CFLAGS"
15003 CXXFLAGS
="$ac_save_CXXFLAGS"
15004 LIBS
="$ac_save_LIBS"
15016 if test "x-$have_sdl" != "x-yes" ; then
15018 if test "x-$sdl_hidd" != "x-auto" ; then
15019 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
15023 aros_target_options
+="$export_newline""# Enable SDL Gfx Driver$export_newline""OPT_HOST_SDLGFX := yes$export_newline"
15024 aros_host_sdl_cflags
=$SDL_CFLAGS
15025 aros_host_sdl_libs
=$SDL_LIBS
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether building of dbus.library is enabled" >&5
15033 $as_echo_n "checking whether building of dbus.library is enabled... " >&6; }
15034 # Check whether --enable-dbus was given.
15035 if test "${enable_dbus+set}" = set; then :
15036 enableval
=$enable_dbus; dbus
="yes"
15041 if test "$dbus" = "yes" ; then
15043 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
15044 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
15045 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
15046 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
15050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
15051 $as_echo "$dbus" >&6; }
15053 if test "$use_kernel_cc_wrapper" = "yes" ; then
15054 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-${toolchain_c_compiler}"
15057 aros_kernel_cppflags
=$aros_config_cppflags
15058 aros_optimization_cflags
="$optimization_level"
15059 if test "$optimization" = "default"; then
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default optimization level to use" >&5
15061 $as_echo_n "checking default optimization level to use... " >&6; }
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization_level" >&5
15063 $as_echo "$optimization_level" >&6; }
15066 if ! test "$gcc_default_cpu" = "" ; then
15067 target_extra_cfg
+="$export_newline""# ARM gcc default target$export_newline""GCC_DEFAULT_CPU := $gcc_default_cpu$export_newline""GCC_DEFAULT_FPU := $gcc_default_fpu$export_newline""GCC_DEFAULT_FLOAT_ABI := $gcc_default_float_abi$export_newline""GCC_DEFAULT_MODE := $gcc_default_mode$export_newline"
15070 if test "$use_libatomic" = "yes" ; then
15071 aros_cxx_libs
="$aros_cxx_libs -latomic"
15089 # Compatability with other Amiga-like operating systems
15092 # Host Related ###########################
15123 # Target Related #########################
15216 # Native version related
15224 # Bootloader related
15227 # Unix/Hosted version related
15230 # ARM default GCC target related
15237 # Palm native version related
15240 # Apple iOS related
15257 # Collect-aros stuff: "-ius" to ignore undefined symbols
15260 # C compiler related
15265 #ObjC compiler related
15293 case "$aros_flavour" in
15294 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
15295 aros_flavour
="emulation" ;;
15296 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
15297 aros_flavour
="emulation" ;;
15298 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
15299 aros_flavour
="standalone";;
15300 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15301 aros_flavour
="standalone";;
15302 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
15303 aros_flavour
="native" ;;
15304 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
15305 aros_flavour
="native" ;;
15306 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
15307 aros_flavour
="linklib" ;;
15308 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15309 aros_flavour
="palmnative" ;;
15310 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15311 aros_flavour
="mac68knative" ;;
15312 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15313 aros_flavour
="ppcnative" ;;
15316 if test ! -d ${aros_inc_dir} ; then
15317 ${MKDIR} ${aros_inc_dir}
15319 if test ! -d ${aros_geninc_dir} ; then
15320 ${MKDIR} ${aros_geninc_dir}
15322 if test ! -d ${aros_hostcfg_dir} ; then
15323 ${MKDIR} ${aros_hostcfg_dir}
15325 if test ! -d ${aros_targetcfg_dir} ; then
15326 ${MKDIR} ${aros_targetcfg_dir}
15328 if test ! -d ${aros_tools_dir} ; then
15329 ${MKDIR} ${aros_tools_dir}
15331 if test ! -d ${aros_scripts_dir} ; then
15332 ${MKDIR} ${aros_scripts_dir}
15335 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
15338 # Generic build tools (metamake, etc)
15339 ac_config_commands
="$ac_config_commands genmf-executable-support"
15341 ac_config_files
="$ac_config_files Makefile config/make.cfg ${aros_inc_dir}/config.h:config/config.h.in ${aros_geninc_dir}/config.h:config/config.h.in ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in ${aros_targetcfg_dir}/build.cfg:config/build.cfg.in mmake.config compiler/include/geninc.cfg:compiler/include/geninc.cfg.in ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname:scripts/uname.in tools/collect-aros/env.h"
15345 ac_config_commands
="$ac_config_commands binutils-support"
15347 if test "${use_ld_wrapper}" = "yes"; then
15348 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"
15351 # Bare Elf support script and spec
15352 if test "${use_kernel_cc_wrapper}" = "yes"; then
15353 ac_config_commands
="$ac_config_commands elf-compiler-support"
15355 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"
15359 # Host compiler support scripts and spec
15360 if test "${aros_target_toolchain}" = "no"; then
15361 ac_config_commands
="$ac_config_commands host-compiler-wrapper-support"
15363 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"
15368 if test "$aros_target_variant" == "android"; then
15369 ac_config_files
="$ac_config_files ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in"
15374 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in"
15377 cat >confcache
<<\_ACEOF
15378 # This file is a shell script that caches the results of configure
15379 # tests run on this system so they can be shared between configure
15380 # scripts and configure runs, see configure's option --config-cache.
15381 # It is not useful on other systems. If it contains results you don't
15382 # want to keep, you may remove or edit it.
15384 # config.status only pays attention to the cache file if you give it
15385 # the --recheck option to rerun configure.
15387 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15388 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15389 # following values.
15393 # The following way of writing the cache mishandles newlines in values,
15394 # but we know of no workaround that is simple, portable, and efficient.
15395 # So, we kill variables containing newlines.
15396 # Ultrix sh set writes to stderr and can't be redirected directly,
15397 # and sets the high bit in the cache file unless we assign to the vars.
15399 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15400 eval ac_val
=\$
$ac_var
15404 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15405 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15408 _ | IFS | as_nl
) ;; #(
15409 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15410 *) { eval $ac_var=; unset $ac_var;} ;;
15416 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15417 *${as_nl}ac_space
=\
*)
15418 # `set' does not quote correctly, so add quotes: double-quote
15419 # substitution turns \\\\ into \\, and sed turns \\ into \.
15422 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15425 # `set' quotes correctly as required by POSIX, so do not add quotes.
15426 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15435 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15437 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15439 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15440 if test -w "$cache_file"; then
15441 if test "x$cache_file" != "x/dev/null"; then
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15443 $as_echo "$as_me: updating cache $cache_file" >&6;}
15444 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15445 cat confcache
>"$cache_file"
15447 case $cache_file in #(
15449 mv -f confcache
"$cache_file"$$
&&
15450 mv -f "$cache_file"$$
"$cache_file" ;; #(
15452 mv -f confcache
"$cache_file" ;;
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15458 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15463 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15464 # Let make expand exec_prefix.
15465 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15467 DEFS
=-DHAVE_CONFIG_H
15472 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15473 # 1. Remove the extension, and $U if already installed.
15474 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15475 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15476 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15477 # will be set to the directory where LIBOBJS objects are built.
15478 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15479 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15481 LIBOBJS
=$ac_libobjs
15483 LTLIBOBJS
=$ac_ltlibobjs
15487 : "${CONFIG_STATUS=./config.status}"
15489 ac_clean_files_save
=$ac_clean_files
15490 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15492 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15494 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15496 # Generated by $as_me.
15497 # Run this file to recreate the current configuration.
15498 # Compiler output produced by configure, useful for debugging
15499 # configure, is in config.log if it exists.
15502 ac_cs_recheck=false
15505 SHELL=\${CONFIG_SHELL-$SHELL}
15508 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15509 ## -------------------- ##
15510 ## M4sh Initialization. ##
15511 ## -------------------- ##
15513 # Be more Bourne compatible
15514 DUALCASE
=1; export DUALCASE
# for MKS sh
15515 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15518 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15519 # is contrary to our usage. Disable this feature.
15520 alias -g '${1+"$@"}'='"$@"'
15521 setopt NO_GLOB_SUBST
15523 case `(set -o) 2>/dev/null` in #(
15535 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15536 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15537 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15538 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15539 # Prefer a ksh shell builtin over an external printf program on Solaris,
15540 # but without wasting forks for bash or zsh.
15541 if test -z "$BASH_VERSION$ZSH_VERSION" \
15542 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15543 as_echo='print
-r --'
15544 as_echo_n='print
-rn --'
15545 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15546 as_echo='printf %s
\n'
15547 as_echo_n='printf %s
'
15549 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15550 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15551 as_echo_n='/usr
/ucb
/echo -n'
15553 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15554 as_echo_n_body='eval
15558 expr "X$arg" : "X\\(.*\\)$as_nl";
15559 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15561 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15563 export as_echo_n_body
15564 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15566 export as_echo_body
15567 as_echo='sh
-c $as_echo_body as_echo
'
15570 # The user is always right.
15571 if test "${PATH_SEPARATOR+set}" != set; then
15573 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15574 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15581 # We need space, tab and new line, in precisely that order. Quoting is
15582 # there to prevent editors from complaining about space-tab.
15583 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15584 # splitting by setting IFS to empty value.)
15587 # Find who we are. Look in the path if we contain no directory separator.
15590 *[\\/]* ) as_myself=$0 ;;
15591 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15592 for as_dir in $PATH
15595 test -z "$as_dir" && as_dir=.
15596 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15602 # We did not find ourselves, most probably we were run as `sh COMMAND'
15603 # in which case we are not to be found in the path.
15604 if test "x$as_myself" = x
; then
15607 if test ! -f "$as_myself"; then
15608 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15612 # Unset variables that we do not need and which cause bugs (e.g. in
15613 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15614 # suppresses any "Segmentation fault" message there. '((' could
15615 # trigger a bug in pdksh 5.2.14.
15616 for as_var
in BASH_ENV ENV MAIL MAILPATH
15617 do eval test x\
${$as_var+set} = xset \
15618 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15631 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15634 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15635 # ----------------------------------------
15636 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15637 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15638 # script with STATUS, using 1 if that was 0.
15641 as_status
=$1; test $as_status -eq 0 && as_status
=1
15643 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15644 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15646 $as_echo "$as_me: error: $2" >&2
15647 as_fn_exit
$as_status
15651 # as_fn_set_status STATUS
15652 # -----------------------
15653 # Set $? to STATUS, without forking.
15654 as_fn_set_status
()
15657 } # as_fn_set_status
15659 # as_fn_exit STATUS
15660 # -----------------
15661 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15665 as_fn_set_status
$1
15671 # Portably unset VAR.
15674 { eval $1=; unset $1;}
15676 as_unset
=as_fn_unset
15677 # as_fn_append VAR VALUE
15678 # ----------------------
15679 # Append the text in VALUE to the end of the definition contained in VAR. Take
15680 # advantage of any shell optimizations that allow amortized linear growth over
15681 # repeated appends, instead of the typical quadratic growth present in naive
15683 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15684 eval 'as_fn_append ()
15695 # as_fn_arith ARG...
15696 # ------------------
15697 # Perform arithmetic evaluation on the ARGs, and store the result in the
15698 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15699 # must be portable across $(()) and expr.
15700 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15701 eval 'as_fn_arith ()
15708 as_val
=`expr "$@" || test $? -eq 1`
15713 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15714 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15720 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15721 as_basename
=basename
15726 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15732 as_me
=`$as_basename -- "$0" ||
15733 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15734 X"$0" : 'X\(//\)$' \| \
15735 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15737 sed '/^.*\/\([^/][^/]*\)\/*$/{
15751 # Avoid depending upon Character Ranges.
15752 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15753 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15754 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15755 as_cr_digits
='0123456789'
15756 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15758 ECHO_C
= ECHO_N
= ECHO_T
=
15759 case `echo -n x` in #(((((
15761 case `echo 'xy\c'` in
15762 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15764 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15771 rm -f conf$$ conf$$.exe conf$$.
file
15772 if test -d conf$$.dir
; then
15773 rm -f conf$$.dir
/conf$$.
file
15776 mkdir conf$$.dir
2>/dev
/null
15778 if (echo >conf$$.
file) 2>/dev
/null
; then
15779 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15781 # ... but there are two gotchas:
15782 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15783 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15784 # In both cases, we have to default to `cp -pR'.
15785 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15787 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15795 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15796 rmdir conf$$.dir
2>/dev
/null
15801 # Create "$as_dir" as a directory, including parents if necessary.
15806 -*) as_dir
=.
/$as_dir;;
15808 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15812 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15813 *) as_qdir
=$as_dir;;
15815 as_dirs
="'$as_qdir' $as_dirs"
15816 as_dir
=`$as_dirname -- "$as_dir" ||
15817 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15818 X"$as_dir" : 'X\(//\)[^/]' \| \
15819 X"$as_dir" : 'X\(//\)$' \| \
15820 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15821 $as_echo X"$as_dir" |
15822 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15826 /^X\(\/\/\)[^/].*/{
15839 test -d "$as_dir" && break
15841 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15842 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15846 if mkdir
-p .
2>/dev
/null
; then
15847 as_mkdir_p
='mkdir -p "$as_dir"'
15849 test -d .
/-p && rmdir .
/-p
15854 # as_fn_executable_p FILE
15855 # -----------------------
15856 # Test if FILE is an executable regular file.
15857 as_fn_executable_p
()
15859 test -f "$1" && test -x "$1"
15860 } # as_fn_executable_p
15861 as_test_x
='test -x'
15862 as_executable_p
=as_fn_executable_p
15864 # Sed expression to map a string onto a valid CPP name.
15865 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15867 # Sed expression to map a string onto a valid variable name.
15868 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15872 ## ----------------------------------- ##
15873 ## Main body of $CONFIG_STATUS script. ##
15874 ## ----------------------------------- ##
15876 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15879 # Save the log message, to keep $0 and so on meaningful, and to
15880 # report actual input values of CONFIG_FILES etc. instead of their
15881 # values after options handling.
15883 This file was extended by $as_me, which was
15884 generated by GNU Autoconf 2.69. Invocation command line was
15886 CONFIG_FILES = $CONFIG_FILES
15887 CONFIG_HEADERS = $CONFIG_HEADERS
15888 CONFIG_LINKS = $CONFIG_LINKS
15889 CONFIG_COMMANDS = $CONFIG_COMMANDS
15892 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15897 case $ac_config_files in *"
15898 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15901 case $ac_config_headers in *"
15902 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15906 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15907 # Files that config.status was made for.
15908 config_files="$ac_config_files"
15909 config_headers="$ac_config_headers"
15910 config_commands="$ac_config_commands"
15914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15916 \`$as_me' instantiates files and other configuration actions
15917 from templates according to the current configuration. Unless the files
15918 and actions are specified as TAGs, all are instantiated by default.
15920 Usage: $0 [OPTION]... [TAG]...
15922 -h, --help print this help, then exit
15923 -V, --version print version number and configuration settings, then exit
15924 --config print configuration, then exit
15925 -q, --quiet, --silent
15926 do not print progress messages
15927 -d, --debug don't remove temporary files
15928 --recheck update $as_me by reconfiguring in the same conditions
15929 --file=FILE[:TEMPLATE]
15930 instantiate the configuration file FILE
15931 --header=FILE[:TEMPLATE]
15932 instantiate the configuration header FILE
15934 Configuration files:
15937 Configuration headers:
15940 Configuration commands:
15943 Report bugs to the package provider."
15946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15947 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15950 configured by $0, generated by GNU Autoconf 2.69,
15951 with options \\"\$ac_cs_config\\"
15953 Copyright (C) 2012 Free Software Foundation, Inc.
15954 This config.status script is free software; the Free Software Foundation
15955 gives unlimited permission to copy, distribute and modify it."
15959 test -n "\$AWK" || AWK=awk
15962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15963 # The default lists apply if the user does not specify any file.
15969 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15970 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15974 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15986 # Handling of the options.
15987 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15989 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15990 $as_echo "$ac_cs_version"; exit ;;
15991 --config |
--confi |
--conf |
--con |
--co |
--c )
15992 $as_echo "$ac_cs_config"; exit ;;
15993 --debug |
--debu |
--deb |
--de |
--d |
-d )
15995 --file |
--fil |
--fi |
--f )
15998 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15999 '') as_fn_error $?
"missing file argument" ;;
16001 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16002 ac_need_defaults
=false
;;
16003 --header |
--heade |
--head |
--hea )
16006 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16008 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16009 ac_need_defaults
=false
;;
16011 # Conflict between --help and --header
16012 as_fn_error $?
"ambiguous option: \`$1'
16013 Try \`$0 --help' for more information.";;
16014 --help |
--hel |
-h )
16015 $as_echo "$ac_cs_usage"; exit ;;
16016 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16017 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16020 # This is an error.
16021 -*) as_fn_error $?
"unrecognized option: \`$1'
16022 Try \`$0 --help' for more information." ;;
16024 *) as_fn_append ac_config_targets
" $1"
16025 ac_need_defaults
=false
;;
16031 ac_configure_extra_args
=
16033 if $ac_cs_silent; then
16035 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16040 if \$ac_cs_recheck; then
16041 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16043 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16044 CONFIG_SHELL='$SHELL'
16045 export CONFIG_SHELL
16050 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16054 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16055 ## Running $as_me. ##
16061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16066 AROS_CROSSTOOLSDIR=${AROS_CROSSTOOLSDIR}
16067 aros_tools_dir=${aros_tools_dir}
16071 aros_host_exe_suffix=${aros_host_exe_suffix}
16072 aros_tools_dir=${aros_tools_dir}
16073 aros_target_cpu=${aros_target_cpu}
16074 aros_target_arch=${aros_target_arch}
16075 aros_target_suffix=${aros_target_suffix}
16076 orig_target_nm=${orig_target_nm}
16077 orig_target_as=${orig_target_as}
16078 orig_target_ar=${orig_target_ar}
16079 orig_target_ranlib=${orig_target_ranlib}
16080 orig_target_objdump=${orig_target_objdump}
16081 orig_target_objcopy=${orig_target_objcopy}
16082 orig_target_strip=${orig_target_strip}
16083 aros_kernel_ld=${aros_kernel_ld}
16087 aros_host_exe_suffix=${aros_host_exe_suffix}
16088 aros_tools_dir=${aros_tools_dir}
16089 aros_target_cpu=${aros_target_cpu}
16090 aros_target_arch=${aros_target_arch}
16091 aros_target_suffix=${aros_target_suffix}
16092 aros_kernel_ld=${aros_kernel_ld}
16096 aros_host_exe_suffix=${aros_host_exe_suffix}
16097 aros_tools_dir=${aros_tools_dir}
16098 aros_target_cpu=${aros_target_cpu}
16099 aros_target_arch=${aros_target_arch}
16100 aros_target_suffix=${aros_target_suffix}
16106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16108 # Handling of arguments.
16109 for ac_config_target
in $ac_config_targets
16111 case $ac_config_target in
16112 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
16113 "genmf-executable-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf-executable-support" ;;
16114 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16115 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
16116 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
16117 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
16118 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
16119 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
16120 "${aros_targetcfg_dir}/build.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/build.cfg:config/build.cfg.in" ;;
16121 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
16122 "compiler/include/geninc.cfg") CONFIG_FILES
="$CONFIG_FILES compiler/include/geninc.cfg:compiler/include/geninc.cfg.in" ;;
16123 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
16124 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
16125 "${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname") CONFIG_FILES="$CONFIG_FILES ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname:scripts/uname.in" ;;
16126 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
16127 "binutils-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS binutils-support" ;;
16128 "${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" ;;
16129 "elf-compiler-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS elf-compiler-support" ;;
16130 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
16131 "${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" ;;
16132 "host-compiler-wrapper-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS host-compiler-wrapper-support" ;;
16133 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
16134 "${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" ;;
16135 "${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" ;;
16136 "${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" ;;
16137 "${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" ;;
16138 "${aros_targetcfg_dir}/conf.cmake") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in" ;;
16140 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16145 # If the user did not use the arguments to specify the items to instantiate,
16146 # then the envvar interface is used. Set only those that are not.
16147 # We use the long form for the default assignment because of an extremely
16148 # bizarre bug on SunOS 4.1.3.
16149 if $ac_need_defaults; then
16150 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16151 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16152 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16155 # Have a temporary directory for convenience. Make it in the build tree
16156 # simply because there is no reason against having it here, and in addition,
16157 # creating and moving files from /tmp can sometimes cause problems.
16158 # Hook for its removal unless debugging.
16159 # Note that there is a small window in which the directory will not be cleaned:
16160 # after its creation but before its name has been assigned to `$tmp'.
16164 trap 'exit_status=$?
16165 : "${ac_tmp:=$tmp}"
16166 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16168 trap 'as_fn_exit 1' 1 2 13 15
16170 # Create a (secure) tmp directory for tmp files.
16173 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16177 tmp
=.
/conf$$
-$RANDOM
16178 (umask 077 && mkdir
"$tmp")
16179 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16182 # Set up the scripts for CONFIG_FILES section.
16183 # No need to generate them if there are no CONFIG_FILES.
16184 # This happens for instance with `./config.status config.h'.
16185 if test -n "$CONFIG_FILES"; then
16188 ac_cr
=`echo X | tr X '\015'`
16189 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16190 # But we know of no other shell where ac_cr would be empty at this
16191 # point, so we can use a bashism as a fallback.
16192 if test "x$ac_cr" = x
; then
16193 eval ac_cr
=\$
\'\\r
\'
16195 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16196 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16199 ac_cs_awk_cr
=$ac_cr
16202 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16207 echo "cat >conf$$subs.awk <<_ACEOF" &&
16208 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16210 } >conf$$subs.sh ||
16211 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16212 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16214 for ac_last_try in false false false false false :; do
16215 . ./conf$$subs.sh ||
16216 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16218 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16219 if test $ac_delim_n = $ac_delim_num; then
16221 elif $ac_last_try; then
16222 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16224 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16227 rm -f conf$$subs.sh
16229 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16230 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16234 s/^/S["/; s
/!.
*/"]=/
16244 s/\(.\{148\}\)..*/\1/
16246 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16251 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16258 s/\(.\{148\}\)..*/\1/
16260 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16264 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16269 ' <conf$$subs.awk | sed '
16274 ' >>$CONFIG_STATUS || ac_write_fail=1
16275 rm -f conf$$subs.awk
16276 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16278 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16279 for (key in S) S_is_set[key] = 1
16285 nfields = split(line, field, "@
")
16287 len = length(field[1])
16288 for (i = 2; i < nfields; i++) {
16290 keylen = length(key)
16291 if (S_is_set[key]) {
16293 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16294 len += length(value) + length(field[++i])
16305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16306 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16307 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16310 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16311 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16314 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16315 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16316 # trailing colons and then remove the whole line if VPATH becomes empty
16317 # (actually we leave an empty line to preserve line numbers).
16318 if test "x
$srcdir" = x.; then
16319 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16337 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16338 fi # test -n "$CONFIG_FILES"
16340 # Set up the scripts for CONFIG_HEADERS section.
16341 # No need to generate them if there are no CONFIG_HEADERS.
16342 # This happens for instance with `./config.status Makefile'.
16343 if test -n "$CONFIG_HEADERS"; then
16344 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16348 # Transform confdefs.h into an awk script `defines.awk', embedded as
16349 # here-document in config.status, that substitutes the proper values into
16350 # config.h.in to produce config.h.
16352 # Create a delimiter string that does not exist in confdefs.h, to ease
16353 # handling of long lines.
16355 for ac_last_try in false false :; do
16356 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16357 if test -z "$ac_tt"; then
16359 elif $ac_last_try; then
16360 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16362 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16366 # For the awk script, D is an array of macro values keyed by name,
16367 # likewise P contains macro parameters if any. Preserve backslash
16368 # newline sequences.
16370 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16372 s/.\{148\}/&'"$ac_delim"'/g
16375 s/^[ ]*#[ ]*define[ ][ ]*/ /
16382 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16384 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16388 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16389 D["\
1"]=" \
3\\\\\\n
"\\/p
16391 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16396 s/.\{148\}/&'"$ac_delim"'/g
16401 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16404 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16406 ' <confdefs.h | sed '
16407 s/'"$ac_delim"'/"\\\
16408 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16410 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16411 for (key in D) D_is_set[key] = 1
16414 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16416 split(line, arg, " ")
16417 if (arg[1] == "#") {
16421 defundef
= substr
(arg
[1], 2)
16424 split(mac1
, mac2
, "(") #)
16426 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16427 if (D_is_set
[macro
]) {
16428 # Preserve the white space surrounding the "#".
16429 print prefix
"define", macro P
[macro
] D
[macro
]
16432 # Replace #undef with comments. This is necessary, for example,
16433 # in the case of _POSIX_SOURCE, which is predefined and required
16434 # on some systems where configure will not decide to define it.
16435 if (defundef
== "undef") {
16436 print
"/*", prefix defundef
, macro
, "*/"
16444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16445 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16446 fi # test -n "$CONFIG_HEADERS"
16449 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16454 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16456 case $ac_mode$ac_tag in
16458 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16459 :[FH
]-) ac_tag
=-:-;;
16460 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16477 -) ac_f
="$ac_tmp/stdin";;
16478 *) # Look for the file first in the build tree, then in the source tree
16479 # (if the path is not absolute). The absolute path cannot be DOS-style,
16480 # because $ac_f cannot contain `:'.
16484 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16486 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16488 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16489 as_fn_append ac_file_inputs
" '$ac_f'"
16492 # Let's still pretend it is `configure' which instantiates (i.e., don't
16493 # use $as_me), people would be surprised to read:
16494 # /* config.h. Generated by config.status. */
16495 configure_input
='Generated from '`
16496 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16498 if test x
"$ac_file" != x-
; then
16499 configure_input
="$ac_file. $configure_input"
16500 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16501 $as_echo "$as_me: creating $ac_file" >&6;}
16503 # Neutralize special characters interpreted by sed in replacement strings.
16504 case $configure_input in #(
16505 *\
&* |
*\|
* |
*\\* )
16506 ac_sed_conf_input
=`$as_echo "$configure_input" |
16507 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16508 *) ac_sed_conf_input
=$configure_input;;
16512 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16513 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16518 ac_dir
=`$as_dirname -- "$ac_file" ||
16519 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16520 X"$ac_file" : 'X\(//\)[^/]' \| \
16521 X"$ac_file" : 'X\(//\)$' \| \
16522 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16523 $as_echo X"$ac_file" |
16524 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16528 /^X\(\/\/\)[^/].*/{
16541 as_dir
="$ac_dir"; as_fn_mkdir_p
16545 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16547 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16548 # A ".." for each directory in $ac_dir_suffix.
16549 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16550 case $ac_top_builddir_sub in
16551 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16552 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16555 ac_abs_top_builddir
=$ac_pwd
16556 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16557 # for backward compatibility:
16558 ac_top_builddir
=$ac_top_build_prefix
16561 .
) # We are building in place.
16563 ac_top_srcdir
=$ac_top_builddir_sub
16564 ac_abs_top_srcdir
=$ac_pwd ;;
16565 [\\/]* | ?
:[\\/]* ) # Absolute name.
16566 ac_srcdir
=$srcdir$ac_dir_suffix;
16567 ac_top_srcdir
=$srcdir
16568 ac_abs_top_srcdir
=$srcdir ;;
16569 *) # Relative name.
16570 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16571 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16572 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16574 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16585 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16586 # If the template does not know about datarootdir, expand it.
16587 # FIXME: This hack should be removed a few years after 2.60.
16588 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16599 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16600 *datarootdir
*) ac_datarootdir_seen
=yes;;
16601 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16603 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16605 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16606 ac_datarootdir_hack='
16607 s&@datadir@&$datadir&g
16608 s&@docdir@&$docdir&g
16609 s&@infodir@&$infodir&g
16610 s&@localedir@&$localedir&g
16611 s&@mandir@&$mandir&g
16612 s&\\\${datarootdir}&$datarootdir&g' ;;
16616 # Neutralize VPATH when `$srcdir' = `.'.
16617 # Shell code in configure.ac might set extrasub.
16618 # FIXME: do we really want to maintain this feature?
16619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16620 ac_sed_extra="$ac_vpsub
16623 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16625 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16626 s|@configure_input@|
$ac_sed_conf_input|
;t t
16627 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16628 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16629 s
&@srcdir@
&$ac_srcdir&;t t
16630 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16631 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16632 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16633 s
&@builddir@
&$ac_builddir&;t t
16634 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16635 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16636 $ac_datarootdir_hack
16638 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16639 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16641 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16642 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16643 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16644 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16646 which seems to be undefined. Please make sure it is defined" >&5
16647 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16648 which seems to be undefined. Please make sure it is defined" >&2;}
16650 rm -f "$ac_tmp/stdin"
16652 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16653 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16655 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16661 if test x"$ac_file" != x-; then
16663 $as_echo "/* $configure_input */" \
16664 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16665 } >"$ac_tmp/config.h" \
16666 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16667 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16669 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16672 mv "$ac_tmp/config.h" "$ac_file" \
16673 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16676 $as_echo "/* $configure_input */" \
16677 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16678 || as_fn_error $? "could not create -" "$LINENO" 5
16682 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16683 $as_echo "$as_me: executing $ac_file commands" >&6;}
16688 case $ac_file$ac_mode in
16689 "genmf-executable-support":C)
16690 chmod a+x ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname
16691 chmod a+x ${aros_tools_dir}/genmf.py
16693 "binutils-support":C)
16694 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16696 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
16698 chmod a+x ${prefix2}-ld
16700 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
16701 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
16702 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
16703 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
16704 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
16705 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
16706 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
16708 "elf-compiler-support":C)
16709 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16711 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
16713 chmod a+x ${prefix2}-gcc
16715 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix2}-ld$aros_host_exe_suffix
16717 "host-compiler-wrapper-support":C)
16718 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16720 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
16722 chmod a+x ${prefix2}-${toolchain_c_compiler} ${prefix2}-${toolchain_cxx_compiler} ${prefix2}-${toolchain_cpp_preprocessor}
16731 ac_clean_files=$ac_clean_files_save
16733 test $ac_write_fail = 0 ||
16734 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16737 # configure is writing to config.log, and then calls config.status.
16738 # config.status does its own redirection, appending to config.log.
16739 # Unfortunately, on DOS this fails, as config.log is still kept open
16740 # by configure, so config.status won't be able to
write to it
; its
16741 # output is simply discarded. So we exec the FD to /dev/null,
16742 # effectively closing config.log, so it can be properly (re)opened and
16743 # appended to by config.status. When coming back to configure, we
16744 # need to make the FD available again.
16745 if test "$no_create" != yes; then
16747 ac_config_status_args
=
16748 test "$silent" = yes &&
16749 ac_config_status_args
="$ac_config_status_args --quiet"
16751 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16753 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16754 # would make configure fail if this is the last instruction.
16755 $ac_cs_success || as_fn_exit
1
16757 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16759 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16764 #XXX compatability...
16765 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
16767 if test -n "$aros_shared_cflags" ; then
16768 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
16769 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg