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
8285 aros_target_arch
="linux"
8286 aros_target_family
="unix"
8287 case "$target_cpu" in
8289 aros_target_cpu
="m68k"
8290 aros_object_format
="m68kelf"
8291 aros_flavour
="emulcompat"
8292 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8293 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
8294 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8295 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8296 gcc_target_cpu
="mc68000"
8299 aros_target_cpu
="i386"
8300 aros_object_format
="elf_i386"
8301 aros_flavour
="emulation"
8302 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8303 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8304 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8305 aros_kernel_ldflags
="-Wl,-melf_i386"
8306 aros_nominal_depth
=8
8307 gcc_target_cpu
="i386"
8308 pci_hidd_target
="hidd-pci-linux"
8309 android_tool_dir_prefix
="x86"
8310 android_tool_prefix
="i686-android-linux"
8311 android_ndk_arch
="x86"
8314 aros_target_cpu
="x86_64"
8315 aros_object_format
="elf_x86_64"
8316 aros_flavour
="emulation"
8317 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8318 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8319 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8320 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
8321 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
8322 aros_nominal_depth
=8
8323 pci_hidd_target
="hidd-pci-linux"
8326 aros_target_cpu
="ppc"
8327 aros_object_format
="elf32ppc"
8328 aros_flavour
="emulation"
8329 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8330 aros_nominal_depth
=8
8331 gcc_target_cpu
="ppc"
8334 # Same as powerpc, but I need this for the nightly build to work again.
8335 # Actually, the nightly should be made working with powerpc target.
8336 # That just was too much work for the moment, another week or two.
8338 aros_target_cpu
="ppc"
8339 aros_object_format
="elf32ppc"
8340 aros_flavour
="emulation"
8341 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8342 aros_nominal_depth
=8
8343 gcc_target_cpu
="ppc"
8346 aros_target_cpu
="aarch64"
8347 target_cpu
="aarch64"
8348 aros_object_format
="aarch64elf_aros"
8349 aros_flavour
="emulation"
8350 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8351 gcc_target_cpu
="aarch64"
8352 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8353 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8354 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING)"
8355 aros_c_libs
="$aros_c_libs -laeabi"
8356 gcc_default_float_abi
="hard"
8357 kernel_tool_prefix
="aarch64-linux-gnueabihf-"
8360 aros_target_cpu
="arm"
8362 aros_object_format
="armelf_aros"
8363 aros_flavour
="emulation"
8364 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8365 gcc_target_cpu
="arm"
8366 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8367 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8368 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING)"
8369 aros_c_libs
="$aros_c_libs -laeabi"
8370 gcc_default_float_abi
="hard"
8371 android_tool_dir_prefix
="arm-linux-androideabi"
8372 android_tool_prefix
="arm-linux-androideabi"
8373 android_ndk_arch
="arm"
8374 kernel_tool_prefix
="arm-linux-gnueabihf-"
8377 aros_target_cpu
="arm"
8378 aros_object_format
="armelf_aros"
8379 aros_flavour
="emulation"
8380 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8381 gcc_target_cpu
="arm"
8382 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8383 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8384 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING)"
8385 aros_c_libs
="$aros_c_libs -laeabi"
8386 android_tool_dir_prefix
="arm-linux-androideabi"
8387 android_tool_prefix
="arm-linux-androideabi"
8388 android_ndk_arch
="arm"
8389 kernel_tool_prefix
="arm-linux-gnueabi-"
8392 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
8395 case "$aros_target_variant" in
8398 if test "$android_ndk_arch" = ""; then
8399 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
8402 aros_nominal_width
=320
8403 aros_nominal_height
=480
8404 if test "$aros_android_ndk" = "none"; then
8405 aros_kernel_cflags
="-mandroid"
8406 aros_kernel_ldflags
="-mandroid"
8409 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$kernel_tool_version/prebuilt/$android_build_os/bin:$PATH"
8410 kernel_tool_version
=""
8411 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
8412 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
8413 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
8414 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
8415 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
8418 # Disable implicit PIC mode
8419 aros_config_cflags
="$aros_config_cflags -fno-pic"
8420 kernel_tool_prefix
="$android_tool_prefix-"
8426 aros_target_arch
="pc"
8427 aros_shared_default
="no"
8428 target_bootloader
="grub2"
8429 case "$target_cpu" in
8431 aros_target_cpu
="i386"
8434 if test "$aros_object_format" = "" ; then
8435 aros_object_format
="elf_i386"
8437 aros_flavour
="standalone"
8438 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8439 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8440 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8441 aros_kernel_ldflags
="-Wl,-melf_i386"
8442 aros_nominal_width
=640
8443 aros_nominal_height
=480
8444 gcc_target_cpu
="i386"
8447 PLATFORM_EXECSMP
="#define __AROSPLATFORM_SMP__"
8448 aros_target_cpu
="x86_64"
8450 if test "$aros_object_format" = "" ; then
8451 aros_object_format
="elf_x86_64"
8453 aros_flavour
="standalone"
8454 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8455 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8456 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8457 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_OMIT_FP)"
8458 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_OMIT_FP)"
8459 aros_kernel_ldflags
=""
8460 aros_nominal_width
=640
8461 aros_nominal_height
=480
8462 case "$aros_target_variant" in
8464 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8469 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
8475 aros_target_arch
="prep"
8476 aros_shared_default
="no"
8477 aros_target_cpu
="ppc"
8478 aros_object_format
="elf32ppc"
8479 aros_flavour
="ppcnative"
8480 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8481 aros_kernel_ldflags
=""
8482 aros_nominal_width
=640
8483 aros_nominal_height
=480
8484 gcc_target_cpu
="ppc"
8489 aros_target_arch
="freebsd"
8490 aros_target_family
="unix"
8491 aros_target_cpu
="i386"
8492 aros_flavour
="emulation"
8493 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8494 gcc_target_cpu
="i386"
8496 aros_target_strip_flags
="-x"
8501 aros_target_arch
="darwin"
8502 aros_target_family
="unix"
8503 aros_flavour
="emulation"
8504 case "$target_cpu" in
8506 aros_ios_platform
="iPhoneSimulator"
8507 aros_target_cpu
="i386"
8508 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8509 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8510 aros_kernel_ldflags
=""
8511 aros_macosx_version
="10.4"
8512 aros_nominal_depth
=8
8513 gcc_target_cpu
="i386"
8514 aros_object_format
="elf_i386"
8515 aros_kernel_ar_flags
="-cr"
8516 aros_target_strip_flags
="-x"
8517 kernel_tool_flags
="-m32"
8520 aros_target_cpu
="x86_64"
8521 aros_object_format
="elf_x86_64"
8522 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8523 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8524 aros_macosx_version
="10.6"
8525 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
8526 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
8527 aros_kernel_cflags
="-m64"
8528 aros_kernel_ldflags
="-m64"
8529 aros_nominal_depth
=8
8531 aros_kernel_ar_flags
="-cr"
8534 aros_kernel_ranlib
="ranlib"
8536 aros_kernel_strip
="strip"
8537 kernel_tool_prefix
="i686-apple-darwin10-"
8540 aros_target_cpu
="ppc"
8541 aros_object_format
="elf32ppc"
8542 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8543 aros_kernel_ldflags
=""
8544 aros_macosx_version
="10.0"
8545 aros_nominal_depth
=8
8546 gcc_target_cpu
="ppc"
8548 aros_kernel_ar_flags
="-cr"
8549 aros_kernel_ld
="ld -arch ppc"
8550 aros_kernel_as
="as -arch ppc"
8551 aros_kernel_ranlib
="ranlib -arch ppc"
8552 aros_kernel_nm
="nm -arch ppc"
8553 aros_kernel_strip
="strip -arch ppc"
8554 kernel_tool_prefix
="powerpc-apple-darwin10-"
8557 aros_ios_platform
="iPhoneOS"
8558 aros_target_cpu
="arm"
8559 aros_object_format
="armelf_aros"
8560 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8561 aros_c_libs
="$aros_c_libs -laeabi"
8562 aros_nominal_depth
=8
8563 gcc_target_cpu
="arm"
8565 aros_kernel_ar_flags
="-cr"
8566 aros_kernel_ld
="ld -arch arm"
8567 aros_kernel_ranlib
="ranlib -arch arm"
8568 kernel_tool_prefix
="arm-apple-darwin10-"
8569 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8572 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8575 case "$aros_target_variant" in
8577 make_extra_targetcfg
="$export_newline""# Apple iOS stuff for gcc$export_newline""IOS_LDFLAGS := -F$""(IOS_SDK_PATH)/System/Library/Frameworks$export_newline"
8578 aros_ios_version
="3.0"
8579 aros_nominal_width
=320
8580 aros_nominal_height
=480
8581 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8582 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"
8583 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8584 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8586 # This is here because it may depend on iOS or SDK version
8587 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8588 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8589 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8592 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8593 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8600 aros_target_arch
="dragonfly"
8601 aros_target_family
="unix"
8602 aros_flavour
="emulation"
8603 case "$target_cpu" in
8605 aros_target_cpu
="i386"
8606 aros_object_format
="elf_i386"
8607 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8608 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8611 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
8612 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
8613 aros_target_cpu
="x86_64"
8614 aros_object_format
="elf_x86_64"
8615 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8616 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8619 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8626 aros_target_arch
="netbsd"
8627 aros_target_family
="unix"
8628 case "$target_cpu" in
8630 aros_target_cpu
="m68k"
8631 aros_object_format
="m68kelf"
8632 aros_flavour
="emulcompat"
8633 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8634 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
8635 gcc_target_cpu
="mc68000"
8638 aros_target_cpu
="i386"
8639 aros_object_format
="elf_i386"
8640 aros_flavour
="emulation"
8641 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8642 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8643 aros_nominal_depth
=8
8644 gcc_target_cpu
="i386"
8647 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8650 aros_target_genmap
="-Wl,-M -Xlinker >"
8651 aros_flavour
="emulation"
8652 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8657 aros_target_arch
="openbsd"
8658 aros_target_family
="unix"
8659 case "$target_cpu" in
8661 aros_target_cpu
="i386"
8662 aros_object_format
="elf_i386"
8663 aros_flavour
="emulation"
8664 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8665 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8666 gcc_target_cpu
="i386"
8669 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8672 aros_target_genmap
="-Wl,-M -Xlinker >"
8673 aros_target_nm_flags
="-u"
8674 aros_flavour
="emulation"
8679 aros_target_arch
="solaris"
8680 aros_target_family
="unix"
8681 case "$target_cpu" in
8683 aros_target_cpu
="i386"
8684 aros_object_format
="elf_i386"
8685 aros_flavour
="emulation"
8686 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8687 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8688 aros_nominal_depth
=8
8689 gcc_target_cpu
="i386"
8692 aros_target_cpu
="sparc"
8693 aros_object_format
="elf_sparc"
8694 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8695 gcc_target_cpu
="sparc"
8698 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8701 aros_config_cppflags
="$aros_config_cppflags -D$aros_target_cpu"
8702 aros_flavour
="emulation"
8706 aros_target_arch
="morphos"
8707 aros_shared_default
="no"
8708 aros_target_cpu
="ppc"
8709 aros_object_format
="elf_ppc"
8710 aros_flavour
="nativecompat"
8711 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8712 gcc_target_cpu
="ppc"
8716 aros_target_arch
="sam440"
8717 aros_shared_default
="no"
8718 aros_target_cpu
="ppc"
8719 aros_object_format
="elf32ppc"
8720 aros_flavour
="ppcnative"
8721 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8722 aros_kernel_ldflags
=""
8723 aros_nominal_width
=1024
8724 aros_nominal_height
=768
8725 aros_nominal_depth
=24
8726 aros_isa_flags
="$aros_isa_flags -mcpu=440fp -mno-toc"
8727 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8728 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8729 gcc_target_cpu
="powerpc"
8733 aros_target_arch
="efika"
8734 aros_shared_default
="no"
8735 aros_target_cpu
="arm"
8736 aros_object_format
="armelf_aros"
8737 aros_flavour
="standalone"
8738 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8739 aros_kernel_ldflags
=""
8740 aros_nominal_width
=1024
8741 aros_nominal_height
=600
8742 aros_c_libs
="$aros_c_libs -laeabi"
8743 gcc_default_cpu
="armv7-a"
8744 gcc_default_fpu
="vfpv3"
8745 aros_isa_flags
="$aros_isa_flags -mtune=cortex-a8"
8746 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8747 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8748 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8749 if test "$optimization" = "default"; then
8750 optimization_level
="-Os"
8752 case "$target_cpu" in
8754 gcc_default_float_abi
="hard"
8759 gcc_default_float_abi
="softfp"
8762 as_fn_error $?
"\"Unknown CPU for EfikaMX $target_cpu\"" "$LINENO" 5
8768 aros_target_arch
="chrp"
8769 aros_shared_default
="no"
8770 aros_target_cpu
="ppc"
8771 aros_object_format
="elf32ppc"
8772 aros_flavour
="ppcnative"
8773 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8774 aros_kernel_ldflags
=""
8775 aros_nominal_width
=640
8776 aros_nominal_height
=480
8777 aros_isa_flags
="$aros_isa_flags -mno-toc"
8778 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8779 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8780 gcc_target_cpu
="powerpc"
8781 case "$aros_target_variant" in
8783 aros_isa_flags
="$aros_isa_flags -mcpu=603e"
8784 aros_config_cppflags
="$aros_config_cppflags -DBIG_ENDIAN_OHCI=1"
8790 PLATFORM_EXECSMP
="#define __AROSPLATFORM_SMP__"
8791 aros_flavour
="standalone"
8792 aros_target_arch
="raspi"
8794 aros_shared_default
="no"
8796 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__"
8798 case "$target_cpu" in
8800 aros_target_cpu
="aarch64"
8801 gcc_default_cpu
="aarch64"
8802 aros_object_format
="aarch64elf_aros"
8805 aros_target_cpu
="arm"
8806 gcc_default_cpu
="armv6zk"
8807 gcc_default_cpu_tune
="arm1176jzf-s"
8808 aros_object_format
="armelf_aros"
8809 aros_isa_flags
="$aros_isa_flags -marm"
8810 aros_config_cflags
="$aros_config_cflags"
8811 aros_config_cxxflags
="$aros_config_cxxflags"
8812 aros_config_aflags
="$aros_config_aflags -marm"
8813 aros_kernel_cflags
="$aros_kernel_cflags -marm"
8814 aros_target_mkdep
="$aros_target_mkdep -Darm"
8815 aros_c_libs
="$aros_c_libs -laeabi"
8818 aros_flavour
="standcompat"
8819 aros_target_cpu
="armeb"
8820 gcc_default_float_abi
="hard"
8821 gcc_default_cpu
="armv7ve"
8822 gcc_default_cpu_tune
="cortex-a7"
8823 aros_object_format
="armelfb_aros"
8824 aros_isa_flags
="$aros_isa_flags -marm"
8825 aros_config_cflags
="$aros_config_cflags"
8826 aros_config_cxxflags
="$aros_config_cxxflags"
8827 aros_config_aflags
="$aros_config_aflags -marm"
8828 aros_kernel_cflags
="$aros_kernel_cflags -marm"
8829 aros_target_mkdep
="$aros_target_mkdep -Darm"
8830 aros_c_libs
="$aros_c_libs -laeabi"
8833 aros_target_cpu
="arm"
8834 gcc_default_cpu
="armv6zk"
8835 gcc_default_cpu_tune
="arm1176jzf-s"
8836 aros_object_format
="armelf_aros"
8837 aros_isa_flags
="$aros_isa_flags -marm"
8838 aros_config_cflags
="$aros_config_cflags"
8839 aros_config_cxxflags
="$aros_config_cxxflags"
8840 aros_config_aflags
="$aros_config_aflags -marm"
8841 aros_kernel_cflags
="$aros_kernel_cflags -marm"
8842 aros_target_mkdep
="$aros_target_mkdep -Darm"
8843 aros_c_libs
="$aros_c_libs -laeabi"
8846 as_fn_error $?
"\"Unknown CPU for RasPi $target_cpu\"" "$LINENO" 5
8850 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
8851 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
8852 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
8853 aros_kernel_cflags
="$aros_kernel_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
8855 case "$aros_target_variant" in
8857 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8863 aros_flavour
="standalone"
8864 aros_target_arch
="stm32f7_discovery"
8865 aros_target_cpu
="arm"
8866 aros_target_cpu_mode
="thumb2"
8867 aros_object_format
="armelf_aros"
8868 aros_shared_default
="no"
8870 gcc_default_cpu
="armv7e-m"
8871 gcc_default_cpu_tune
="cortex-m7"
8872 gcc_default_fpu
="fpv5-sp-d16"
8873 gcc_default_float_abi
="hard"
8875 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dthumb"
8879 aros_elf_translate
="$""(ELF2HUNK)"
8880 make_extra_commands
="$export_newline""ELF2HUNK := $""(TOOLDIR)/elf2hunk$""(HOST_EXE_SUFFIX)$export_newline"
8881 aros_target_arch
="amiga"
8882 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8883 aros_shared_default
="no"
8885 case "$target_cpu" in
8887 # Check whether --enable-amigaos_compliance was given.
8888 if test "${enable_amigaos_compliance+set}" = set; then :
8889 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8893 aros_target_cpu
="m68k"
8894 aros_object_format
="m68kelf"
8895 aros_flavour
="standcompat"
8896 gcc_target_cpu
="m68000"
8897 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
8898 aros_nowarn_flags
="$aros_nowarn_flags NOWARN_VOLATILE_REGISTER_VAR"
8899 aros_config_cppflags
="$aros_config_cppflags -DNOLIBINLINE"
8900 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_FREESTANDING) $""(CFLAGS_OMIT_FP) $""(CFLAGS_BUILTIN)"
8901 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_FREESTANDING) $""(CFLAGS_OMIT_FP) $""(CFLAGS_BUILTIN)"
8902 if test "$optimization" = "default"; then
8903 optimization_level
="-Os"
8905 aros_config_aflags
="$aros_config_aflags"
8906 aros_target_strip_flags
="-R.comment --strip-debug"
8907 aros_nominal_width
=640
8908 aros_nominal_height
=256
8909 aros_nominal_depth
=2
8913 aros_flavour
="native"
8914 gcc_target_cpu
="ppc"
8917 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8924 aros_target_arch
="mingw32"
8925 aros_shared_default
="no"
8926 aros_flavour
="emulation"
8927 aros_shared_cflags
=""
8928 need_crosstools
="yes"
8931 case "$target_cpu" in
8933 aros_target_cpu
="i386"
8934 aros_object_format
="elf_i386"
8935 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8936 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8937 aros_nominal_depth
=8
8938 gcc_target_cpu
="i386"
8940 kernel_tool_prefix
="i386-mingw32-"
8943 aros_target_cpu
="x86_64"
8944 aros_object_format
="elf_x86_64"
8945 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8946 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8947 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
8948 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
8949 aros_nominal_depth
=8
8950 kernel_tool_prefix
="x86_64-w64-mingw32-"
8953 aros_target_cpu
="arm"
8954 aros_object_format
="armelf_aros"
8955 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8956 aros_c_libs
="$aros_c_libs -laeabi"
8957 aros_nominal_depth
=8
8958 gcc_target_cpu
="arm"
8959 gcc_default_float_abi
="soft"
8960 kernel_tool_prefix
="arm-mingw32ce-"
8961 aros_nominal_width
=160
8962 aros_nominal_height
=160
8965 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8968 if test $host_os = "cygwin"; then
8969 aros_kernel_cflags
="-mno-cygwin"
8974 aros_target_arch
="pp"
8975 aros_shared_default
="no"
8976 case "$target_cpu" in
8978 aros_target_cpu
="m68k"
8979 aros_object_format
="m68kelf"
8980 aros_flavour
="palmnative"
8981 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8982 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
8983 aros_nominal_width
=160
8984 aros_nominal_height
=160
8985 aros_nominal_depth
=1
8986 aros_target_ar_flags
="cru"
8987 aros_c_libs
="$aros_c_libs -lgcc1"
8988 aros_shared_default
=no
8989 aros_shared_cflags
="-fpic"
8990 aros_shared_aflags
=""
8991 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8992 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8993 aros_debug_cppflags
="$aros_messages_debug"
8994 aros_debug_cflags
="$aros_symbols_debug"
8995 aros_debug_aflags
=""
8996 aros_debug_ldflags
="$aros_symbols_debug"
8997 aros_mungwall_debug
="0"
8998 aros_modules_debug
="0"
8999 gcc_target_cpu
="mc68000"
9000 ignore_undefined_symbols
="-ius"
9003 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
9010 aros_target_arch
="mac"
9011 aros_shared_default
="no"
9012 case "$target_cpu" in
9014 aros_target_cpu
="m68k"
9015 aros_object_format
="m68kelf"
9016 aros_flavour
="mac68knative"
9017 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
9018 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
9019 aros_nominal_width
=512
9020 aros_nominal_height
=384
9021 aros_nominal_depth
=8
9022 aros_target_ar_flags
="cru"
9023 aros_c_libs
="$aros_c_libs -lgcc1"
9024 aros_shared_default
=no
9025 aros_shared_cflags
="-fpic"
9026 aros_shared_aflags
=""
9027 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
9028 aros_kernel_ldflags
="-Wl,-rpath,./lib"
9029 aros_debug_cppflags
="$aros_messages_debug"
9030 aros_debug_cflags
="$aros_symbols_debug"
9031 aros_debug_aflags
=""
9032 aros_debug_ldflags
="$aros_symbols_debug"
9033 aros_mungwall_debug
="0"
9034 aros_modules_debug
="0"
9035 gcc_target_cpu
="mc68000"
9036 ignore_undefined_symbols
="-ius"
9039 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
9045 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
9049 #-----------------------------------------------------------------------------
9050 crosstools_guess
="yes"
9051 aros_target_toolchain
="no"
9052 aros_kernel_sysroot
=""
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
9055 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
9057 # Check whether --with-kernel-toolchain-prefix was given.
9058 if test "${with_kernel_toolchain_prefix+set}" = set; then :
9059 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
9063 $as_echo "$kernel_tool_prefix" >&6; }
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
9066 $as_echo_n "checking ELF toolchain prefix... " >&6; }
9068 # Check whether --with-elf-toolchain-prefix was given.
9069 if test "${with_elf_toolchain_prefix+set}" = set; then :
9070 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
9071 crosstools_guess
="no"
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
9075 $as_echo "$elf_tool_prefix" >&6; }
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
9078 $as_echo_n "checking AROS toolchain prefix... " >&6; }
9080 # Check whether --with-aros-toolchain was given.
9081 if test "${with_aros_toolchain+set}" = set; then :
9082 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
9083 crosstools_guess
="no"
9086 if test "$aros_tool_prefix" = "yes" ; then
9087 aros_tool_prefix
=$aros_target_cpu-aros-
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
9090 $as_echo "$aros_tool_prefix" >&6; }
9092 #-----------------------------------------------------------------------------
9093 # Checking if we should build crosstools..
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
9095 $as_echo_n "checking whether to build crosstools... " >&6; }
9096 # Check whether --enable-crosstools was given.
9097 if test "${enable_crosstools+set}" = set; then :
9098 enableval
=$enable_crosstools; crosstools
="$enableval"
9100 crosstools
="$crosstools_guess"
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
9104 $as_echo "$crosstools" >&6; }
9106 if test "${crosstools}" = "yes"; then
9107 if test "${crosstools_guess}" = "no"; then
9108 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
9112 if test "${crosstools}" = "yes" ||
test "${crosstools_guess}" = "no"; then
9113 aros_target_toolchain
="yes"
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
9117 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
9119 # Check whether --with-aros-toolchain-install was given.
9120 if test "${with_aros_toolchain_install+set}" = set; then :
9121 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
9124 if test "x$aros_toolchain_install" = "x"; then
9125 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
9127 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
9128 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
9129 if test "$crosstools_guess" = "no" ; then
9130 if test "x-$aros_flavour" != "x-emulation" -a "x-$aros_flavour" != "x-emulcompat" ; then
9131 aros_kernel_sysroot
="$""(TARGET_SYSROOT)"
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
9136 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
9138 #-----------------------------------------------------------------------------
9139 if test "$aros_toolchain" = "gnu" ; then
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target binutils version to use" >&5
9141 $as_echo_n "checking what specific target binutils version to use... " >&6; }
9144 # Check whether --with-binutils-version was given.
9145 if test "${with_binutils_version+set}" = set; then :
9146 withval
=$with_binutils_version; use_binutils_version
="$withval"
9148 use_binutils_version
=""
9151 if test "$use_binutils_version" = ""; then
9152 target_binutils_version
="$default_binutils_version"
9154 target_binutils_version
="$use_binutils_version"
9156 if test "$aros_toolchain" = "gnu" ; then
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_binutils_version" >&5
9158 $as_echo "$target_binutils_version" >&6; }
9162 # Helper to identify gcc version
9165 #-----------------------------------------------------------------------------
9166 if test "$aros_toolchain" = "gnu" ; then
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
9168 $as_echo_n "checking what specific target gcc version to use... " >&6; }
9171 # Check whether --with-gcc-version was given.
9172 if test "${with_gcc_version+set}" = set; then :
9173 withval
=$with_gcc_version; use_gcc_version
="$withval"
9178 if test "$use_gcc_version" = ""; then
9179 if test "${crosstools}" = "no"; then
9180 if test "x$aros_toolchain_install" != "x"; then
9182 target_gcc_version
=""
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
9184 $as_echo_n "checking gcc version... " >&6; }
9185 if ${ax_cv_gcc_version+:} false
; then :
9186 $as_echo_n "(cached) " >&6
9189 ax_cv_gcc_version
="`$AROS_CROSSTOOLSDIR/${aros_tool_prefix}${toolchain_cpp_preprocessor} -dumpversion`"
9190 if test "x$ax_cv_gcc_version" = "x"; then :
9192 ax_cv_gcc_version
=""
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_version" >&5
9198 $as_echo "$ax_cv_gcc_version" >&6; }
9199 target_gcc_version
=$ax_cv_gcc_version
9204 if test "$use_gcc_version" = ""; then
9205 target_gcc_version
="$default_gcc_version"
9208 target_gcc_version
="$use_gcc_version"
9210 if test "$aros_toolchain" = "gnu" ; then
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_gcc_version" >&5
9212 $as_echo "$target_gcc_version" >&6; }
9214 GCC_VERSION_MAJOR
=$
(echo $target_gcc_version | cut
-d'.' -f1)
9215 GCC_VERSION_MINOR
=$
(echo $target_gcc_version | cut
-d'.' -f2)
9216 GCC_VERSION_PATCH
=$
(echo $target_gcc_version | cut
-d'.' -f3)
9218 gcc_fix_bitfields
="false"
9219 if test "$GCC_VERSION_MAJOR" -gt "4" ; then
9220 gcc_fix_bitfields
="true"
9222 if test "$GCC_VERSION_MAJOR" -gt "3" ; then
9223 if test "$GCC_VERSION_MINOR" -gt "6" ; then
9224 gcc_fix_bitfields
="true"
9229 if test "$gcc_fix_bitfields" = "true" ; then
9230 case "$aros_target_cpu" in
9232 x86_isa_extra
="$x86_isa_extra $""(CFLAGS_NO_MS_BITFIELDS)"
9233 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_MS_BITFIELDS)"
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Objective-C suppport" >&5
9240 $as_echo_n "checking whether to enable Objective-C suppport... " >&6; }
9241 # Check whether --enable-objc was given.
9242 if test "${enable_objc+set}" = set; then :
9243 enableval
=$enable_objc; objc
="$enableval"
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objc" >&5
9249 $as_echo "$objc" >&6; }
9250 if test "x$objc" = "xyes"; then
9253 objc_target
="no-objc"
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Java suppport" >&5
9257 $as_echo_n "checking whether to enable Java suppport... " >&6; }
9258 # Check whether --enable-java was given.
9259 if test "${enable_java+set}" = set; then :
9260 enableval
=$enable_java; java
="$enableval"
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $java" >&5
9266 $as_echo "$java" >&6; }
9267 if test "x$java" != "xno"; then
9270 java_target
="no-java"
9273 spec_obj_format
="-m $aros_object_format"
9274 # Now process extra architecture-specific options.
9275 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
9276 # as well as floating-point ABI.
9277 case "$aros_target_cpu" in
9279 aros_isa_targets
="M68K_ISA_TARGETS :=MC68020 MC68040"
9280 aros_isa_extra
="$aros_isa_extra$export_newline$aros_isa_targets$export_newline"
9281 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"
9282 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"
9283 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"
9284 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"
9285 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"
9288 aros_isa_extra
="$export_newline$x86_isa_extra$export_newline$x86_64_isa_extra$export_newline"
9289 spec_obj_format
="%{!m32:-m elf_x86_64} %{m32:-m elf_i386}"
9292 if test "$gcc_default_cpu" = ""; then
9293 gcc_default_cpu
="armv6"
9295 if test "$gcc_default_fpu" = ""; then
9296 gcc_default_fpu
="vfp"
9298 if test "$gcc_default_endian" = ""; then
9299 if test "$target_cpu" = "armeb"; then
9300 gcc_default_endian
="big-endian"
9302 gcc_default_endian
="little-endian"
9305 if test "$gcc_default_float_abi" = ""; then
9306 if test "$target_cpu" = "armhf"; then
9307 gcc_default_float_abi
="hard"
9309 gcc_default_float_abi
="softfp"
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
9314 $as_echo_n "checking Which minimum CPU to use... " >&6; }
9316 # Check whether --with-cpu was given.
9317 if test "${with_cpu+set}" = set; then :
9318 withval
=$with_cpu; aros_gcc_cpu
="$withval"
9320 aros_gcc_cpu
=$gcc_default_cpu
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
9324 $as_echo "$aros_gcc_cpu" >&6; }
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
9327 $as_echo_n "checking Which minimum FPU to use... " >&6; }
9329 # Check whether --with-fpu was given.
9330 if test "${with_fpu+set}" = set; then :
9331 withval
=$with_fpu; aros_gcc_fpu
="$withval"
9333 aros_gcc_fpu
=$gcc_default_fpu
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
9337 $as_echo "$aros_gcc_fpu" >&6; }
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
9340 $as_echo_n "checking Which floating point ABI to use... " >&6; }
9342 # Check whether --with-float was given.
9343 if test "${with_float+set}" = set; then :
9344 withval
=$with_float; aros_gcc_float_abi
="$withval"
9346 aros_gcc_float_abi
=$gcc_default_float_abi
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
9350 $as_echo "$aros_gcc_float_abi" >&6; }
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which ARM mode to use" >&5
9353 $as_echo_n "checking Which ARM mode to use... " >&6; }
9354 if test "$aros_target_cpu_mode" = ""; then
9355 aros_target_cpu_mode
="arm32"
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Defaulting to $aros_target_cpu_mode" >&5
9357 $as_echo "Defaulting to $aros_target_cpu_mode" >&6; }
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cpu_mode" >&5
9360 $as_echo "$aros_target_cpu_mode" >&6; }
9363 case "$aros_target_cpu_mode" in
9365 gcc_default_mode
="arm"
9366 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"
9369 as_fn_error $?
"ARM 64-bit mode is unsupported" "$LINENO" 5
9372 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9375 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9378 gcc_default_mode
="thumb"
9379 # Do not specify -mthumb-interwork as it may add extra code to support arm/thumb interwork
9380 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"
9383 as_fn_error $?
"Unsupported ARM mode specified $aros_target_cpu_mode" "$LINENO" 5
9387 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9388 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9389 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9392 aros_isa_extra
="$x86_isa_extra$export_newline$x86_64_isa_extra$export_newline"
9393 aros_kernel_ldflags
="$aros_kernel_ldflags -m32"
9397 # Some architectures may need custom ELF specs.
9398 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
9399 elf_specs_in
=config
/${aros_object_format}-specs.
in
9401 elf_specs_in
=config
/elf-specs.
in
9404 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
9405 # Since we override specs, we may need to put these defines there
9406 if test "$gcc_target_cpu" != ""; then
9407 gcc_target_cpu
="-D__${gcc_target_cpu}__"
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
9411 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
9413 # Check whether --with-portssources was given.
9414 if test "${with_portssources+set}" = set; then :
9415 withval
=$with_portssources; with_portssrcdir
=$withval
9417 with_portssrcdir
="default"
9420 if test "$with_portssrcdir" = "default"; then
9421 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
9423 AROS_PORTSSRCDIR
="$with_portssrcdir"
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
9426 $as_echo "$AROS_PORTSSRCDIR" >&6; }
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
9429 $as_echo_n "checking which bootloader to use... " >&6; }
9431 # Check whether --with-bootloader was given.
9432 if test "${with_bootloader+set}" = set; then :
9433 withval
=$with_bootloader; target_bootloader
=$withval
9435 target_bootloader
=$target_bootloader
9438 if test "$target_bootloader" = "none"; then
9439 aros_target_bootloader
=""
9441 aros_target_bootloader
="$target_bootloader"
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
9444 $as_echo "$target_bootloader" >&6; }
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
9447 $as_echo_n "checking which icon-set to use... " >&6; }
9449 # Check whether --with-iconset was given.
9450 if test "${with_iconset+set}" = set; then :
9451 withval
=$with_iconset; target_iconset
=$withval
9453 target_iconset
="default"
9456 if test "$target_iconset" = "default"; then
9457 aros_target_iconset
="Gorilla"
9458 target_iconset
="default (Gorilla)"
9460 aros_target_iconset
="$target_iconset"
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
9463 $as_echo "$target_iconset" >&6; }
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
9466 $as_echo_n "checking which GUI Theme to use... " >&6; }
9468 # Check whether --with-theme was given.
9469 if test "${with_theme+set}" = set; then :
9470 withval
=$with_theme; target_guitheme
=$withval
9472 target_guitheme
="default"
9475 if test "$target_guitheme" = "default"; then
9476 aros_target_guitheme
="Ice"
9478 aros_target_guitheme
="$target_guitheme"
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
9481 $as_echo "$aros_target_guitheme" >&6; }
9483 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
9487 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9491 if test "$aros_host_cpu" == "x86_64" ; then
9492 if test "$aros_target_cpu" == "i386" ; then
9497 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9498 if test "$aros_host_arch" != "$aros_target_arch" ; then
9505 if test "$cross_compiling" = "no" ; then
9506 kernel_tool_prefix
=""
9507 if test "$host_cc_elf" = "yes" ; then
9512 if test "$kernel_tool_version" != ""; then
9513 kernel_tool_version
="-$kernel_tool_version"
9516 #######################################################################
9517 ## Compute what toolchains to use, and their paths ##
9518 #######################################################################
9520 # This takes, as input:
9521 # crosstools {yes,no}
9522 # kernel_tool_version {"",[version]}
9523 # target_tool_version {"",[version]}
9524 # kernel_tool_prefix {none,[some-arch-os-]}
9526 # target_tool_prefix ${aros_target_cpu}-aros-
9527 # aros_tool_prefix ${aros_target_cpu}-aros-
9530 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9531 # Where the 'kernel' binaries are located
9532 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9533 # Where the 'target' binaries are located
9534 # (not the symlink farm - that is aros_target_*!)
9537 # if crosstools then
9538 # if kernel_tools_prefix = "no-kernel-prefix-"
9539 # aros_kernel_* = crosstools cc paths
9540 # aros_kernel_cc = elf cc wrapper around crosstools cc
9542 # VALIDATE(${kernel_tools_prefix}*)
9543 # aros_kernel_* = ${kernel_tools_prefix}*
9544 # if ${kernel_tools_prefix}cc is an AROS gcc
9545 # aros_kernel_cc = ${kernel_tools_prefix}cc
9547 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
9551 # orig_target_* = aros built crosstools
9552 # orig_target_cc = elf cc wrapper around crosstools cc
9554 # VALIDATE(${kernel_tools_prefix}*)
9556 # orig_target_* = aros_kernel_*
9557 # if aros_kernel_cc is an AROS gcc
9558 # orig_target_cc = aros_kernel_cc
9560 # orig_target_cc = aros cc wrapper around aros_kernel_cc
9564 if test "$aros_toolchain" = "gnu" ; then
9565 target_tool_prefix
="${aros_target_cpu}-aros-"
9566 elif test "$aros_toolchain" = "llvm" ; then
9567 target_tool_prefix
="bin/"
9570 if test "$kernel_tool_prefix" != "" ; then
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
9572 $as_echo_n "checking which kernel tools... " >&6; }
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
9574 $as_echo "$kernel_tool_prefix" >&6; };
9577 if test "$kernel_tool_prefix" = "none" ; then
9578 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9579 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
9582 if test "x-$aros_flavour" != "x-standalone" -o "x-$aros_flavour" != "x-standcompat" ; then
9583 # Kernel tools required - find them
9584 # Note that 'normally', aros_kernel_* overrides will be
9585 # empty, unless specified in the per-arch sections above.
9587 if test "x$aros_kernel_cpp" = "x"; then
9588 aros_kernel_cpp
=${kernel_tool_prefix}${CPP}
9590 if test "${kernel_tool_version}" != ""; then
9591 if test "$aros_kernel_cpp" != ""; then
9592 ac_prog_args
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9593 ac_prog_cmd
=`expr "X$aros_kernel_cpp" : '^\S*'`
9594 aros_kernel_cpp
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9598 if test "$aros_kernel_cpp" = ""; then
9599 if test "$cross_compiling" = "yes" ; then
9600 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
9601 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9603 $as_echo_n "checking for $ac_word... " >&6; }
9604 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9605 $as_echo_n "(cached) " >&6
9607 case $aros_kernel_cpp in
9609 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9616 test -z "$as_dir" && as_dir
=.
9617 for ac_exec_ext
in '' $ac_executable_extensions; do
9618 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9619 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9630 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9631 if test -n "$aros_kernel_cpp"; then
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9633 $as_echo "$aros_kernel_cpp" >&6; }
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9636 $as_echo "no" >&6; }
9641 if test "$GCC" = "yes"; then
9642 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
9643 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
9644 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9646 $as_echo_n "checking for $ac_word... " >&6; }
9647 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9648 $as_echo_n "(cached) " >&6
9650 case $aros_kernel_cpp in
9652 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9656 for as_dir
in `dirname $aros_gcc_cpp`
9659 test -z "$as_dir" && as_dir
=.
9660 for ac_exec_ext
in '' $ac_executable_extensions; do
9661 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9662 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9673 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9674 if test -n "$aros_kernel_cpp"; then
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9676 $as_echo "$aros_kernel_cpp" >&6; }
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9679 $as_echo "no" >&6; }
9684 if test "$aros_kernel_cpp" = ""; then
9685 # Extract the first word of "cpp", so it can be a program name with args.
9686 set dummy cpp
; ac_word
=$2
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9688 $as_echo_n "checking for $ac_word... " >&6; }
9689 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9690 $as_echo_n "(cached) " >&6
9692 case $aros_kernel_cpp in
9694 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9701 test -z "$as_dir" && as_dir
=.
9702 for ac_exec_ext
in '' $ac_executable_extensions; do
9703 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9704 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9715 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9716 if test -n "$aros_kernel_cpp"; then
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9718 $as_echo "$aros_kernel_cpp" >&6; }
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9721 $as_echo "no" >&6; }
9728 ac_tool_optarg
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9729 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
9730 set dummy
$aros_kernel_cpp; ac_word
=$2
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9732 $as_echo_n "checking for $ac_word... " >&6; }
9733 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9734 $as_echo_n "(cached) " >&6
9736 case $aros_kernel_cpp in
9738 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9745 test -z "$as_dir" && as_dir
=.
9746 for ac_exec_ext
in '' $ac_executable_extensions; do
9747 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9748 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9759 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9760 if test -n "$aros_kernel_cpp"; then
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9762 $as_echo "$aros_kernel_cpp" >&6; }
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9765 $as_echo "no" >&6; }
9769 aros_kernel_cpp
="$aros_kernel_cpp $ac_tool_optarg"
9773 if test "$aros_kernel_cpp" = ""; then
9776 if test "$aros_kernel_cpp" = "no"; then
9779 if test "$req_avail" = "no"; then
9780 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
9783 if test "x$aros_kernel_cc" = "x"; then
9784 aros_kernel_cc
=${kernel_tool_prefix}${CC}
9786 if test "${kernel_tool_version}" != ""; then
9787 if test "$aros_kernel_cc" != ""; then
9788 ac_prog_args
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
9789 ac_prog_cmd
=`expr "X$aros_kernel_cc" : '^\S*'`
9790 aros_kernel_cc
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9794 if test "$aros_kernel_cc" = ""; then
9795 if test "$cross_compiling" = "yes" ; then
9796 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
9797 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9799 $as_echo_n "checking for $ac_word... " >&6; }
9800 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9801 $as_echo_n "(cached) " >&6
9803 case $aros_kernel_cc in
9805 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9812 test -z "$as_dir" && as_dir
=.
9813 for ac_exec_ext
in '' $ac_executable_extensions; do
9814 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9815 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9826 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9827 if test -n "$aros_kernel_cc"; then
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9829 $as_echo "$aros_kernel_cc" >&6; }
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9832 $as_echo "no" >&6; }
9837 if test "$GCC" = "yes"; then
9838 aros_gcc_cc
=`$CC -print-prog-name=cc`
9839 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
9840 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9842 $as_echo_n "checking for $ac_word... " >&6; }
9843 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9844 $as_echo_n "(cached) " >&6
9846 case $aros_kernel_cc in
9848 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9852 for as_dir
in `dirname $aros_gcc_cc`
9855 test -z "$as_dir" && as_dir
=.
9856 for ac_exec_ext
in '' $ac_executable_extensions; do
9857 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9858 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9869 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9870 if test -n "$aros_kernel_cc"; then
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9872 $as_echo "$aros_kernel_cc" >&6; }
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9875 $as_echo "no" >&6; }
9880 if test "$aros_kernel_cc" = ""; then
9881 # Extract the first word of "cc", so it can be a program name with args.
9882 set dummy cc
; ac_word
=$2
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9884 $as_echo_n "checking for $ac_word... " >&6; }
9885 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9886 $as_echo_n "(cached) " >&6
9888 case $aros_kernel_cc in
9890 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9897 test -z "$as_dir" && as_dir
=.
9898 for ac_exec_ext
in '' $ac_executable_extensions; do
9899 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9900 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9911 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9912 if test -n "$aros_kernel_cc"; then
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9914 $as_echo "$aros_kernel_cc" >&6; }
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9917 $as_echo "no" >&6; }
9924 ac_tool_optarg
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
9925 # Extract the first word of "$aros_kernel_cc", so it can be a program name with args.
9926 set dummy
$aros_kernel_cc; ac_word
=$2
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9928 $as_echo_n "checking for $ac_word... " >&6; }
9929 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9930 $as_echo_n "(cached) " >&6
9932 case $aros_kernel_cc in
9934 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9941 test -z "$as_dir" && as_dir
=.
9942 for ac_exec_ext
in '' $ac_executable_extensions; do
9943 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9944 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9955 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9956 if test -n "$aros_kernel_cc"; then
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9958 $as_echo "$aros_kernel_cc" >&6; }
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9961 $as_echo "no" >&6; }
9965 aros_kernel_cc
="$aros_kernel_cc $ac_tool_optarg"
9969 if test "$aros_kernel_cc" = ""; then
9972 if test "$aros_kernel_cc" = "no"; then
9975 if test "$req_avail" = "no"; then
9976 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9979 if test "x$aros_kernel_cxx" = "x"; then
9980 aros_kernel_cxx
=${kernel_tool_prefix}${CXX}
9982 if test "${kernel_tool_version}" != ""; then
9983 if test "$aros_kernel_cxx" != ""; then
9984 ac_prog_args
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
9985 ac_prog_cmd
=`expr "X$aros_kernel_cxx" : '^\S*'`
9986 aros_kernel_cxx
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9990 if test "$aros_kernel_cxx" = ""; then
9991 if test "$cross_compiling" = "yes" ; then
9992 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9993 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9995 $as_echo_n "checking for $ac_word... " >&6; }
9996 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9997 $as_echo_n "(cached) " >&6
9999 case $aros_kernel_cxx in
10001 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10005 for as_dir
in $PATH
10008 test -z "$as_dir" && as_dir
=.
10009 for ac_exec_ext
in '' $ac_executable_extensions; do
10010 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10011 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10022 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10023 if test -n "$aros_kernel_cxx"; then
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10025 $as_echo "$aros_kernel_cxx" >&6; }
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10028 $as_echo "no" >&6; }
10033 if test "$GCC" = "yes"; then
10034 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
10035 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
10036 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10038 $as_echo_n "checking for $ac_word... " >&6; }
10039 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10040 $as_echo_n "(cached) " >&6
10042 case $aros_kernel_cxx in
10044 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10048 for as_dir
in `dirname $aros_gcc_cxx`
10051 test -z "$as_dir" && as_dir
=.
10052 for ac_exec_ext
in '' $ac_executable_extensions; do
10053 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10054 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10065 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10066 if test -n "$aros_kernel_cxx"; then
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10068 $as_echo "$aros_kernel_cxx" >&6; }
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10071 $as_echo "no" >&6; }
10076 if test "$aros_kernel_cxx" = ""; then
10077 # Extract the first word of "cxx", so it can be a program name with args.
10078 set dummy cxx
; ac_word
=$2
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10080 $as_echo_n "checking for $ac_word... " >&6; }
10081 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10082 $as_echo_n "(cached) " >&6
10084 case $aros_kernel_cxx in
10086 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10090 for as_dir
in $PATH
10093 test -z "$as_dir" && as_dir
=.
10094 for ac_exec_ext
in '' $ac_executable_extensions; do
10095 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10096 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10107 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10108 if test -n "$aros_kernel_cxx"; then
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10110 $as_echo "$aros_kernel_cxx" >&6; }
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10113 $as_echo "no" >&6; }
10120 ac_tool_optarg
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
10121 # Extract the first word of "$aros_kernel_cxx", so it can be a program name with args.
10122 set dummy
$aros_kernel_cxx; ac_word
=$2
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10124 $as_echo_n "checking for $ac_word... " >&6; }
10125 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10126 $as_echo_n "(cached) " >&6
10128 case $aros_kernel_cxx in
10130 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10134 for as_dir
in $PATH
10137 test -z "$as_dir" && as_dir
=.
10138 for ac_exec_ext
in '' $ac_executable_extensions; do
10139 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10140 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10151 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10152 if test -n "$aros_kernel_cxx"; then
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10154 $as_echo "$aros_kernel_cxx" >&6; }
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10157 $as_echo "no" >&6; }
10161 aros_kernel_cxx
="$aros_kernel_cxx $ac_tool_optarg"
10164 # If it's set, make sure it's really there
10165 if test "x$aros_kernel_cxx" != "x" ; then
10167 if test "$aros_kernel_cxx" = ""; then
10170 if test "$aros_kernel_cxx" = "no"; then
10173 if test "$req_avail" = "no"; then
10174 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
10178 if test "$aros_kernel_ld" = ""; then
10179 if test "$cross_compiling" = "yes" ; then
10180 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
10181 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10183 $as_echo_n "checking for $ac_word... " >&6; }
10184 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10185 $as_echo_n "(cached) " >&6
10187 case $aros_kernel_ld in
10189 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10193 for as_dir
in $PATH
10196 test -z "$as_dir" && as_dir
=.
10197 for ac_exec_ext
in '' $ac_executable_extensions; do
10198 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10199 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10210 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10211 if test -n "$aros_kernel_ld"; then
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10213 $as_echo "$aros_kernel_ld" >&6; }
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10216 $as_echo "no" >&6; }
10221 if test "$GCC" = "yes"; then
10222 aros_gcc_ld
=`$CC -print-prog-name=ld`
10223 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
10224 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10226 $as_echo_n "checking for $ac_word... " >&6; }
10227 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10228 $as_echo_n "(cached) " >&6
10230 case $aros_kernel_ld in
10232 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10236 for as_dir
in `dirname $aros_gcc_ld`
10239 test -z "$as_dir" && as_dir
=.
10240 for ac_exec_ext
in '' $ac_executable_extensions; do
10241 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10242 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10253 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10254 if test -n "$aros_kernel_ld"; then
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10256 $as_echo "$aros_kernel_ld" >&6; }
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10259 $as_echo "no" >&6; }
10264 if test "$aros_kernel_ld" = ""; then
10265 # Extract the first word of "ld", so it can be a program name with args.
10266 set dummy ld
; ac_word
=$2
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10268 $as_echo_n "checking for $ac_word... " >&6; }
10269 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10270 $as_echo_n "(cached) " >&6
10272 case $aros_kernel_ld in
10274 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10278 for as_dir
in $PATH
10281 test -z "$as_dir" && as_dir
=.
10282 for ac_exec_ext
in '' $ac_executable_extensions; do
10283 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10284 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10295 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10296 if test -n "$aros_kernel_ld"; then
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10298 $as_echo "$aros_kernel_ld" >&6; }
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10301 $as_echo "no" >&6; }
10308 ac_tool_optarg
=`expr "X$aros_kernel_ld" : '[^ ]* \(.*\)'`
10309 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
10310 set dummy
$aros_kernel_ld; ac_word
=$2
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10312 $as_echo_n "checking for $ac_word... " >&6; }
10313 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10314 $as_echo_n "(cached) " >&6
10316 case $aros_kernel_ld in
10318 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10322 for as_dir
in $PATH
10325 test -z "$as_dir" && as_dir
=.
10326 for ac_exec_ext
in '' $ac_executable_extensions; do
10327 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10328 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10339 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10340 if test -n "$aros_kernel_ld"; then
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10342 $as_echo "$aros_kernel_ld" >&6; }
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10345 $as_echo "no" >&6; }
10349 aros_kernel_ld
="$aros_kernel_ld $ac_tool_optarg"
10353 if test "$aros_kernel_ld" = ""; then
10356 if test "$aros_kernel_ld" = "no"; then
10359 if test "$req_avail" = "no"; then
10360 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10363 if test "$aros_kernel_as" = ""; then
10364 if test "$cross_compiling" = "yes" ; then
10365 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
10366 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10368 $as_echo_n "checking for $ac_word... " >&6; }
10369 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10370 $as_echo_n "(cached) " >&6
10372 case $aros_kernel_as in
10374 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10378 for as_dir
in $PATH
10381 test -z "$as_dir" && as_dir
=.
10382 for ac_exec_ext
in '' $ac_executable_extensions; do
10383 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10384 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10395 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10396 if test -n "$aros_kernel_as"; then
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10398 $as_echo "$aros_kernel_as" >&6; }
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10401 $as_echo "no" >&6; }
10406 if test "$GCC" = "yes"; then
10407 aros_gcc_as
=`$CC -print-prog-name=as`
10408 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
10409 set dummy
`basename $aros_gcc_as`; ac_word
=$2
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10411 $as_echo_n "checking for $ac_word... " >&6; }
10412 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10413 $as_echo_n "(cached) " >&6
10415 case $aros_kernel_as in
10417 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10421 for as_dir
in `dirname $aros_gcc_as`
10424 test -z "$as_dir" && as_dir
=.
10425 for ac_exec_ext
in '' $ac_executable_extensions; do
10426 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10427 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10438 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10439 if test -n "$aros_kernel_as"; then
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10441 $as_echo "$aros_kernel_as" >&6; }
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10444 $as_echo "no" >&6; }
10449 if test "$aros_kernel_as" = ""; then
10450 # Extract the first word of "as", so it can be a program name with args.
10451 set dummy as
; ac_word
=$2
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10453 $as_echo_n "checking for $ac_word... " >&6; }
10454 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10455 $as_echo_n "(cached) " >&6
10457 case $aros_kernel_as in
10459 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10463 for as_dir
in $PATH
10466 test -z "$as_dir" && as_dir
=.
10467 for ac_exec_ext
in '' $ac_executable_extensions; do
10468 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10469 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10480 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10481 if test -n "$aros_kernel_as"; then
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10483 $as_echo "$aros_kernel_as" >&6; }
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10486 $as_echo "no" >&6; }
10493 ac_tool_optarg
=`expr "X$aros_kernel_as" : '[^ ]* \(.*\)'`
10494 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
10495 set dummy
$aros_kernel_as; ac_word
=$2
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10497 $as_echo_n "checking for $ac_word... " >&6; }
10498 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10499 $as_echo_n "(cached) " >&6
10501 case $aros_kernel_as in
10503 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10507 for as_dir
in $PATH
10510 test -z "$as_dir" && as_dir
=.
10511 for ac_exec_ext
in '' $ac_executable_extensions; do
10512 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10513 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10524 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10525 if test -n "$aros_kernel_as"; then
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10527 $as_echo "$aros_kernel_as" >&6; }
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10530 $as_echo "no" >&6; }
10534 aros_kernel_as
="$aros_kernel_as $ac_tool_optarg"
10538 if test "$aros_kernel_as" = ""; then
10541 if test "$aros_kernel_as" = "no"; then
10544 if test "$req_avail" = "no"; then
10545 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
10548 if test "$aros_kernel_ar" = ""; then
10549 if test "$cross_compiling" = "yes" ; then
10550 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
10551 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10553 $as_echo_n "checking for $ac_word... " >&6; }
10554 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10555 $as_echo_n "(cached) " >&6
10557 case $aros_kernel_ar in
10559 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10563 for as_dir
in $PATH
10566 test -z "$as_dir" && as_dir
=.
10567 for ac_exec_ext
in '' $ac_executable_extensions; do
10568 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10569 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10580 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10581 if test -n "$aros_kernel_ar"; then
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10583 $as_echo "$aros_kernel_ar" >&6; }
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10586 $as_echo "no" >&6; }
10591 if test "$GCC" = "yes"; then
10592 aros_gcc_ar
=`$CC -print-prog-name=ar`
10593 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
10594 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10596 $as_echo_n "checking for $ac_word... " >&6; }
10597 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10598 $as_echo_n "(cached) " >&6
10600 case $aros_kernel_ar in
10602 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10606 for as_dir
in `dirname $aros_gcc_ar`
10609 test -z "$as_dir" && as_dir
=.
10610 for ac_exec_ext
in '' $ac_executable_extensions; do
10611 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10612 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10623 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10624 if test -n "$aros_kernel_ar"; then
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10626 $as_echo "$aros_kernel_ar" >&6; }
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10629 $as_echo "no" >&6; }
10634 if test "$aros_kernel_ar" = ""; then
10635 # Extract the first word of "ar", so it can be a program name with args.
10636 set dummy
ar; ac_word
=$2
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10638 $as_echo_n "checking for $ac_word... " >&6; }
10639 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10640 $as_echo_n "(cached) " >&6
10642 case $aros_kernel_ar in
10644 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10648 for as_dir
in $PATH
10651 test -z "$as_dir" && as_dir
=.
10652 for ac_exec_ext
in '' $ac_executable_extensions; do
10653 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10654 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10665 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10666 if test -n "$aros_kernel_ar"; then
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10668 $as_echo "$aros_kernel_ar" >&6; }
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10671 $as_echo "no" >&6; }
10678 ac_tool_optarg
=`expr "X$aros_kernel_ar" : '[^ ]* \(.*\)'`
10679 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
10680 set dummy
$aros_kernel_ar; ac_word
=$2
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10682 $as_echo_n "checking for $ac_word... " >&6; }
10683 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10684 $as_echo_n "(cached) " >&6
10686 case $aros_kernel_ar in
10688 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10692 for as_dir
in $PATH
10695 test -z "$as_dir" && as_dir
=.
10696 for ac_exec_ext
in '' $ac_executable_extensions; do
10697 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10698 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10709 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10710 if test -n "$aros_kernel_ar"; then
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10712 $as_echo "$aros_kernel_ar" >&6; }
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10715 $as_echo "no" >&6; }
10719 aros_kernel_ar
="$aros_kernel_ar $ac_tool_optarg"
10723 if test "$aros_kernel_ar" = ""; then
10726 if test "$aros_kernel_ar" = "no"; then
10729 if test "$req_avail" = "no"; then
10730 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
10733 if test "$aros_kernel_ranlib" = ""; then
10734 if test "$cross_compiling" = "yes" ; then
10735 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
10736 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10738 $as_echo_n "checking for $ac_word... " >&6; }
10739 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10740 $as_echo_n "(cached) " >&6
10742 case $aros_kernel_ranlib in
10744 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10748 for as_dir
in $PATH
10751 test -z "$as_dir" && as_dir
=.
10752 for ac_exec_ext
in '' $ac_executable_extensions; do
10753 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10754 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10765 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10766 if test -n "$aros_kernel_ranlib"; then
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10768 $as_echo "$aros_kernel_ranlib" >&6; }
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10771 $as_echo "no" >&6; }
10776 if test "$GCC" = "yes"; then
10777 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10778 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10779 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10781 $as_echo_n "checking for $ac_word... " >&6; }
10782 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10783 $as_echo_n "(cached) " >&6
10785 case $aros_kernel_ranlib in
10787 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10791 for as_dir
in `dirname $aros_gcc_ranlib`
10794 test -z "$as_dir" && as_dir
=.
10795 for ac_exec_ext
in '' $ac_executable_extensions; do
10796 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10797 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10808 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10809 if test -n "$aros_kernel_ranlib"; then
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10811 $as_echo "$aros_kernel_ranlib" >&6; }
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10814 $as_echo "no" >&6; }
10819 if test "$aros_kernel_ranlib" = ""; then
10820 # Extract the first word of "ranlib", so it can be a program name with args.
10821 set dummy ranlib
; ac_word
=$2
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10823 $as_echo_n "checking for $ac_word... " >&6; }
10824 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10825 $as_echo_n "(cached) " >&6
10827 case $aros_kernel_ranlib in
10829 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10833 for as_dir
in $PATH
10836 test -z "$as_dir" && as_dir
=.
10837 for ac_exec_ext
in '' $ac_executable_extensions; do
10838 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10839 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10850 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10851 if test -n "$aros_kernel_ranlib"; then
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10853 $as_echo "$aros_kernel_ranlib" >&6; }
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10856 $as_echo "no" >&6; }
10863 ac_tool_optarg
=`expr "X$aros_kernel_ranlib" : '[^ ]* \(.*\)'`
10864 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
10865 set dummy
$aros_kernel_ranlib; ac_word
=$2
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10867 $as_echo_n "checking for $ac_word... " >&6; }
10868 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10869 $as_echo_n "(cached) " >&6
10871 case $aros_kernel_ranlib in
10873 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10877 for as_dir
in $PATH
10880 test -z "$as_dir" && as_dir
=.
10881 for ac_exec_ext
in '' $ac_executable_extensions; do
10882 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10883 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10894 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10895 if test -n "$aros_kernel_ranlib"; then
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10897 $as_echo "$aros_kernel_ranlib" >&6; }
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10900 $as_echo "no" >&6; }
10904 aros_kernel_ranlib
="$aros_kernel_ranlib $ac_tool_optarg"
10908 if test "$aros_kernel_ranlib" = ""; then
10911 if test "$aros_kernel_ranlib" = "no"; then
10914 if test "$req_avail" = "no"; then
10915 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
10918 if test "$aros_kernel_nm" = ""; then
10919 if test "$cross_compiling" = "yes" ; then
10920 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
10921 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10923 $as_echo_n "checking for $ac_word... " >&6; }
10924 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10925 $as_echo_n "(cached) " >&6
10927 case $aros_kernel_nm in
10929 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10933 for as_dir
in $PATH
10936 test -z "$as_dir" && as_dir
=.
10937 for ac_exec_ext
in '' $ac_executable_extensions; do
10938 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10939 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10950 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10951 if test -n "$aros_kernel_nm"; then
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10953 $as_echo "$aros_kernel_nm" >&6; }
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10956 $as_echo "no" >&6; }
10961 if test "$GCC" = "yes"; then
10962 aros_gcc_nm
=`$CC -print-prog-name=nm`
10963 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10964 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10966 $as_echo_n "checking for $ac_word... " >&6; }
10967 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10968 $as_echo_n "(cached) " >&6
10970 case $aros_kernel_nm in
10972 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10976 for as_dir
in `dirname $aros_gcc_nm`
10979 test -z "$as_dir" && as_dir
=.
10980 for ac_exec_ext
in '' $ac_executable_extensions; do
10981 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10982 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10993 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10994 if test -n "$aros_kernel_nm"; then
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10996 $as_echo "$aros_kernel_nm" >&6; }
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10999 $as_echo "no" >&6; }
11004 if test "$aros_kernel_nm" = ""; then
11005 # Extract the first word of "nm", so it can be a program name with args.
11006 set dummy nm
; ac_word
=$2
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11008 $as_echo_n "checking for $ac_word... " >&6; }
11009 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
11010 $as_echo_n "(cached) " >&6
11012 case $aros_kernel_nm in
11014 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
11017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11018 for as_dir
in $PATH
11021 test -z "$as_dir" && as_dir
=.
11022 for ac_exec_ext
in '' $ac_executable_extensions; do
11023 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11024 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
11025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11035 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
11036 if test -n "$aros_kernel_nm"; then
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
11038 $as_echo "$aros_kernel_nm" >&6; }
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11041 $as_echo "no" >&6; }
11048 ac_tool_optarg
=`expr "X$aros_kernel_nm" : '[^ ]* \(.*\)'`
11049 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
11050 set dummy
$aros_kernel_nm; ac_word
=$2
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11052 $as_echo_n "checking for $ac_word... " >&6; }
11053 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
11054 $as_echo_n "(cached) " >&6
11056 case $aros_kernel_nm in
11058 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
11061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11062 for as_dir
in $PATH
11065 test -z "$as_dir" && as_dir
=.
11066 for ac_exec_ext
in '' $ac_executable_extensions; do
11067 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11068 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
11069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11079 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
11080 if test -n "$aros_kernel_nm"; then
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
11082 $as_echo "$aros_kernel_nm" >&6; }
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11085 $as_echo "no" >&6; }
11089 aros_kernel_nm
="$aros_kernel_nm $ac_tool_optarg"
11093 if test "$aros_kernel_nm" = ""; then
11096 if test "$aros_kernel_nm" = "no"; then
11099 if test "$req_avail" = "no"; then
11100 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
11103 if test "$aros_kernel_strip" = ""; then
11104 if test "$cross_compiling" = "yes" ; then
11105 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
11106 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11108 $as_echo_n "checking for $ac_word... " >&6; }
11109 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11110 $as_echo_n "(cached) " >&6
11112 case $aros_kernel_strip in
11114 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11118 for as_dir
in $PATH
11121 test -z "$as_dir" && as_dir
=.
11122 for ac_exec_ext
in '' $ac_executable_extensions; do
11123 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11124 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11135 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11136 if test -n "$aros_kernel_strip"; then
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11138 $as_echo "$aros_kernel_strip" >&6; }
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11141 $as_echo "no" >&6; }
11146 if test "$GCC" = "yes"; then
11147 aros_gcc_strip
=`$CC -print-prog-name=strip`
11148 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
11149 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11151 $as_echo_n "checking for $ac_word... " >&6; }
11152 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11153 $as_echo_n "(cached) " >&6
11155 case $aros_kernel_strip in
11157 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11161 for as_dir
in `dirname $aros_gcc_strip`
11164 test -z "$as_dir" && as_dir
=.
11165 for ac_exec_ext
in '' $ac_executable_extensions; do
11166 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11167 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11178 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11179 if test -n "$aros_kernel_strip"; then
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11181 $as_echo "$aros_kernel_strip" >&6; }
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11184 $as_echo "no" >&6; }
11189 if test "$aros_kernel_strip" = ""; then
11190 # Extract the first word of "strip", so it can be a program name with args.
11191 set dummy strip
; ac_word
=$2
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11193 $as_echo_n "checking for $ac_word... " >&6; }
11194 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11195 $as_echo_n "(cached) " >&6
11197 case $aros_kernel_strip in
11199 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11203 for as_dir
in $PATH
11206 test -z "$as_dir" && as_dir
=.
11207 for ac_exec_ext
in '' $ac_executable_extensions; do
11208 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11209 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11220 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11221 if test -n "$aros_kernel_strip"; then
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11223 $as_echo "$aros_kernel_strip" >&6; }
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11226 $as_echo "no" >&6; }
11233 ac_tool_optarg
=`expr "X$aros_kernel_strip" : '[^ ]* \(.*\)'`
11234 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
11235 set dummy
$aros_kernel_strip; ac_word
=$2
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11237 $as_echo_n "checking for $ac_word... " >&6; }
11238 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11239 $as_echo_n "(cached) " >&6
11241 case $aros_kernel_strip in
11243 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11247 for as_dir
in $PATH
11250 test -z "$as_dir" && as_dir
=.
11251 for ac_exec_ext
in '' $ac_executable_extensions; do
11252 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11253 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11264 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11265 if test -n "$aros_kernel_strip"; then
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11267 $as_echo "$aros_kernel_strip" >&6; }
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11270 $as_echo "no" >&6; }
11274 aros_kernel_strip
="$aros_kernel_strip $ac_tool_optarg"
11278 if test "$aros_kernel_strip" = ""; then
11281 if test "$aros_kernel_strip" = "no"; then
11284 if test "$req_avail" = "no"; then
11285 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
11288 # Objcopy and objdump are not required for the kernel
11289 # toolchain on many architectures.
11290 # So we'll look for them, but not make them strictly required.
11292 if test "$aros_kernel_objcopy" = ""; then
11293 if test "$cross_compiling" = "yes" ; then
11294 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
11295 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11297 $as_echo_n "checking for $ac_word... " >&6; }
11298 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11299 $as_echo_n "(cached) " >&6
11301 case $aros_kernel_objcopy in
11303 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11307 for as_dir
in $PATH
11310 test -z "$as_dir" && as_dir
=.
11311 for ac_exec_ext
in '' $ac_executable_extensions; do
11312 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11313 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11324 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11325 if test -n "$aros_kernel_objcopy"; then
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11327 $as_echo "$aros_kernel_objcopy" >&6; }
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11330 $as_echo "no" >&6; }
11335 if test "$GCC" = "yes"; then
11336 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
11337 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
11338 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11340 $as_echo_n "checking for $ac_word... " >&6; }
11341 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11342 $as_echo_n "(cached) " >&6
11344 case $aros_kernel_objcopy in
11346 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11350 for as_dir
in `dirname $aros_gcc_objcopy`
11353 test -z "$as_dir" && as_dir
=.
11354 for ac_exec_ext
in '' $ac_executable_extensions; do
11355 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11356 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11367 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11368 if test -n "$aros_kernel_objcopy"; then
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11370 $as_echo "$aros_kernel_objcopy" >&6; }
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11373 $as_echo "no" >&6; }
11378 if test "$aros_kernel_objcopy" = ""; then
11379 # Extract the first word of "objcopy", so it can be a program name with args.
11380 set dummy objcopy
; ac_word
=$2
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11382 $as_echo_n "checking for $ac_word... " >&6; }
11383 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11384 $as_echo_n "(cached) " >&6
11386 case $aros_kernel_objcopy in
11388 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11392 for as_dir
in $PATH
11395 test -z "$as_dir" && as_dir
=.
11396 for ac_exec_ext
in '' $ac_executable_extensions; do
11397 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11398 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11409 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11410 if test -n "$aros_kernel_objcopy"; then
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11412 $as_echo "$aros_kernel_objcopy" >&6; }
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11415 $as_echo "no" >&6; }
11422 ac_tool_optarg
=`expr "X$aros_kernel_objcopy" : '[^ ]* \(.*\)'`
11423 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
11424 set dummy
$aros_kernel_objcopy; ac_word
=$2
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11426 $as_echo_n "checking for $ac_word... " >&6; }
11427 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11428 $as_echo_n "(cached) " >&6
11430 case $aros_kernel_objcopy in
11432 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11436 for as_dir
in $PATH
11439 test -z "$as_dir" && as_dir
=.
11440 for ac_exec_ext
in '' $ac_executable_extensions; do
11441 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11442 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11453 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11454 if test -n "$aros_kernel_objcopy"; then
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11456 $as_echo "$aros_kernel_objcopy" >&6; }
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11459 $as_echo "no" >&6; }
11463 aros_kernel_objcopy
="$aros_kernel_objcopy $ac_tool_optarg"
11467 if test "$aros_kernel_objdump" = ""; then
11468 if test "$cross_compiling" = "yes" ; then
11469 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
11470 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11472 $as_echo_n "checking for $ac_word... " >&6; }
11473 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11474 $as_echo_n "(cached) " >&6
11476 case $aros_kernel_objdump in
11478 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11482 for as_dir
in $PATH
11485 test -z "$as_dir" && as_dir
=.
11486 for ac_exec_ext
in '' $ac_executable_extensions; do
11487 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11488 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11499 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11500 if test -n "$aros_kernel_objdump"; then
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11502 $as_echo "$aros_kernel_objdump" >&6; }
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11505 $as_echo "no" >&6; }
11510 if test "$GCC" = "yes"; then
11511 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
11512 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
11513 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11515 $as_echo_n "checking for $ac_word... " >&6; }
11516 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11517 $as_echo_n "(cached) " >&6
11519 case $aros_kernel_objdump in
11521 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11525 for as_dir
in `dirname $aros_gcc_objdump`
11528 test -z "$as_dir" && as_dir
=.
11529 for ac_exec_ext
in '' $ac_executable_extensions; do
11530 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11531 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11542 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11543 if test -n "$aros_kernel_objdump"; then
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11545 $as_echo "$aros_kernel_objdump" >&6; }
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11548 $as_echo "no" >&6; }
11553 if test "$aros_kernel_objdump" = ""; then
11554 # Extract the first word of "objdump", so it can be a program name with args.
11555 set dummy objdump
; ac_word
=$2
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11557 $as_echo_n "checking for $ac_word... " >&6; }
11558 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11559 $as_echo_n "(cached) " >&6
11561 case $aros_kernel_objdump in
11563 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11567 for as_dir
in $PATH
11570 test -z "$as_dir" && as_dir
=.
11571 for ac_exec_ext
in '' $ac_executable_extensions; do
11572 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11573 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11584 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11585 if test -n "$aros_kernel_objdump"; then
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11587 $as_echo "$aros_kernel_objdump" >&6; }
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11590 $as_echo "no" >&6; }
11597 ac_tool_optarg
=`expr "X$aros_kernel_objdump" : '[^ ]* \(.*\)'`
11598 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
11599 set dummy
$aros_kernel_objdump; ac_word
=$2
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11601 $as_echo_n "checking for $ac_word... " >&6; }
11602 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11603 $as_echo_n "(cached) " >&6
11605 case $aros_kernel_objdump in
11607 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11611 for as_dir
in $PATH
11614 test -z "$as_dir" && as_dir
=.
11615 for ac_exec_ext
in '' $ac_executable_extensions; do
11616 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11617 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11628 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11629 if test -n "$aros_kernel_objdump"; then
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11631 $as_echo "$aros_kernel_objdump" >&6; }
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11634 $as_echo "no" >&6; }
11638 aros_kernel_objdump
="$aros_kernel_objdump $ac_tool_optarg"
11641 if test "x${crosstools}" != "xyes" ; then
11643 if test "$aros_kernel_objcopy" = ""; then
11646 if test "$aros_kernel_objcopy" = "no"; then
11649 if test "$req_avail" = "no"; then
11650 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
11653 if test "$aros_kernel_objdump" = ""; then
11656 if test "$aros_kernel_objdump" = "no"; then
11659 if test "$req_avail" = "no"; then
11660 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
11667 $as_echo_n "checking which target tools to use... " >&6; }
11668 if test "$aros_target_toolchain" = "yes"; then
11669 if test "$aros_toolchain" = "llvm" ; then
11672 msg_result
=$target_tool_prefix
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
11675 $as_echo "$msg_result" >&6; }
11676 # We are building AROS crosstools
11677 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
11678 orig_target_cc
="${tmp_tool_prefix}${toolchain_c_compiler}${target_tool_version}"
11679 orig_target_cxx
="${tmp_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}"
11680 orig_target_cpp
="${tmp_tool_prefix}${toolchain_cpp_preprocessor}"
11681 orig_target_ld
="${tmp_tool_prefix}${toolchain_ld}"
11682 orig_target_as
="${tmp_tool_prefix}${toolchain_as}"
11683 orig_target_ar
="${tmp_tool_prefix}${toolchain_ar}"
11684 orig_target_ranlib
="${tmp_tool_prefix}${toolchain_ranlib}"
11685 orig_target_nm
="${tmp_tool_prefix}${toolchain_nm}"
11686 orig_target_strip
="${tmp_tool_prefix}${toolchain_strip}"
11687 orig_target_objcopy
="${tmp_tool_prefix}${toolchain_objcopy}"
11688 orig_target_objdump
="${tmp_tool_prefix}${toolchain_objdump}"
11690 # Determine whether AROS or ELF tools should be used
11691 if test "$aros_tool_prefix" = "none"; then
11692 aros_tool_prefix
="${elf_tool_prefix}"
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
11696 $as_echo "$aros_tool_prefix" >&6; }
11697 # We are *not* building AROS crosstools - use the AROS or ELF tools
11699 if test "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" = ""; then
11700 if test "$cross_compiling" = "yes" ; then
11701 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
11702 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11704 $as_echo_n "checking for $ac_word... " >&6; }
11705 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11706 $as_echo_n "(cached) " >&6
11708 case $orig_target_cpp in
11710 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11714 for as_dir
in $PATH
11717 test -z "$as_dir" && as_dir
=.
11718 for ac_exec_ext
in '' $ac_executable_extensions; do
11719 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11720 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11731 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11732 if test -n "$orig_target_cpp"; then
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11734 $as_echo "$orig_target_cpp" >&6; }
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11737 $as_echo "no" >&6; }
11742 if test "$GCC" = "yes"; then
11743 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
11744 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
11745 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11747 $as_echo_n "checking for $ac_word... " >&6; }
11748 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11749 $as_echo_n "(cached) " >&6
11751 case $orig_target_cpp in
11753 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11757 for as_dir
in `dirname $aros_gcc_cpp`
11760 test -z "$as_dir" && as_dir
=.
11761 for ac_exec_ext
in '' $ac_executable_extensions; do
11762 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11763 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11774 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11775 if test -n "$orig_target_cpp"; then
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11777 $as_echo "$orig_target_cpp" >&6; }
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11780 $as_echo "no" >&6; }
11785 if test "$orig_target_cpp" = ""; then
11786 # Extract the first word of "cpp", so it can be a program name with args.
11787 set dummy cpp
; ac_word
=$2
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11789 $as_echo_n "checking for $ac_word... " >&6; }
11790 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11791 $as_echo_n "(cached) " >&6
11793 case $orig_target_cpp in
11795 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11799 for as_dir
in $PATH
11802 test -z "$as_dir" && as_dir
=.
11803 for ac_exec_ext
in '' $ac_executable_extensions; do
11804 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11805 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11816 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11817 if test -n "$orig_target_cpp"; then
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11819 $as_echo "$orig_target_cpp" >&6; }
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11822 $as_echo "no" >&6; }
11829 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" : '[^ ]* \(.*\)'`
11830 # Extract the first word of "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}", so it can be a program name with args.
11831 set dummy
${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}; ac_word
=$2
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11833 $as_echo_n "checking for $ac_word... " >&6; }
11834 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11835 $as_echo_n "(cached) " >&6
11837 case $orig_target_cpp in
11839 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11843 for as_dir
in $PATH
11846 test -z "$as_dir" && as_dir
=.
11847 for ac_exec_ext
in '' $ac_executable_extensions; do
11848 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11849 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11860 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11861 if test -n "$orig_target_cpp"; then
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11863 $as_echo "$orig_target_cpp" >&6; }
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11866 $as_echo "no" >&6; }
11870 orig_target_cpp
="$orig_target_cpp $ac_tool_optarg"
11874 if test "$orig_target_cpp" = ""; then
11877 if test "$orig_target_cpp" = "no"; then
11880 if test "$req_avail" = "no"; then
11881 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
11884 if test "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" = ""; then
11885 if test "$cross_compiling" = "yes" ; then
11886 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11887 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11889 $as_echo_n "checking for $ac_word... " >&6; }
11890 if ${ac_cv_path_orig_target_cc+:} false
; then :
11891 $as_echo_n "(cached) " >&6
11893 case $orig_target_cc in
11895 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11899 for as_dir
in $PATH
11902 test -z "$as_dir" && as_dir
=.
11903 for ac_exec_ext
in '' $ac_executable_extensions; do
11904 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11905 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11916 orig_target_cc
=$ac_cv_path_orig_target_cc
11917 if test -n "$orig_target_cc"; then
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11919 $as_echo "$orig_target_cc" >&6; }
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11922 $as_echo "no" >&6; }
11927 if test "$GCC" = "yes"; then
11928 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11929 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11930 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11932 $as_echo_n "checking for $ac_word... " >&6; }
11933 if ${ac_cv_path_orig_target_cc+:} false
; then :
11934 $as_echo_n "(cached) " >&6
11936 case $orig_target_cc in
11938 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11942 for as_dir
in `dirname $aros_gcc_gcc`
11945 test -z "$as_dir" && as_dir
=.
11946 for ac_exec_ext
in '' $ac_executable_extensions; do
11947 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11948 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11959 orig_target_cc
=$ac_cv_path_orig_target_cc
11960 if test -n "$orig_target_cc"; then
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11962 $as_echo "$orig_target_cc" >&6; }
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11965 $as_echo "no" >&6; }
11970 if test "$orig_target_cc" = ""; then
11971 # Extract the first word of "gcc", so it can be a program name with args.
11972 set dummy gcc
; ac_word
=$2
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11974 $as_echo_n "checking for $ac_word... " >&6; }
11975 if ${ac_cv_path_orig_target_cc+:} false
; then :
11976 $as_echo_n "(cached) " >&6
11978 case $orig_target_cc in
11980 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11984 for as_dir
in $PATH
11987 test -z "$as_dir" && as_dir
=.
11988 for ac_exec_ext
in '' $ac_executable_extensions; do
11989 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11990 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12001 orig_target_cc
=$ac_cv_path_orig_target_cc
12002 if test -n "$orig_target_cc"; then
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
12004 $as_echo "$orig_target_cc" >&6; }
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12007 $as_echo "no" >&6; }
12014 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
12015 # Extract the first word of "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}", so it can be a program name with args.
12016 set dummy
${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}; ac_word
=$2
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12018 $as_echo_n "checking for $ac_word... " >&6; }
12019 if ${ac_cv_path_orig_target_cc+:} false
; then :
12020 $as_echo_n "(cached) " >&6
12022 case $orig_target_cc in
12024 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
12027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12028 for as_dir
in $PATH
12031 test -z "$as_dir" && as_dir
=.
12032 for ac_exec_ext
in '' $ac_executable_extensions; do
12033 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12034 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
12035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12045 orig_target_cc
=$ac_cv_path_orig_target_cc
12046 if test -n "$orig_target_cc"; then
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
12048 $as_echo "$orig_target_cc" >&6; }
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12051 $as_echo "no" >&6; }
12055 orig_target_cc
="$orig_target_cc $ac_tool_optarg"
12059 if test "$orig_target_cc" = ""; then
12062 if test "$orig_target_cc" = "no"; then
12065 if test "$req_avail" = "no"; then
12066 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
12069 if test "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" = ""; then
12070 if test "$cross_compiling" = "yes" ; then
12071 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
12072 set dummy
${target_tool_prefix}g
++; ac_word
=$2
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12074 $as_echo_n "checking for $ac_word... " >&6; }
12075 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12076 $as_echo_n "(cached) " >&6
12078 case $orig_target_cxx in
12080 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12084 for as_dir
in $PATH
12087 test -z "$as_dir" && as_dir
=.
12088 for ac_exec_ext
in '' $ac_executable_extensions; do
12089 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12090 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12101 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12102 if test -n "$orig_target_cxx"; then
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12104 $as_echo "$orig_target_cxx" >&6; }
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12107 $as_echo "no" >&6; }
12112 if test "$GCC" = "yes"; then
12113 aros_gcc_g
++=`$CC -print-prog-name=g++`
12114 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
12115 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12117 $as_echo_n "checking for $ac_word... " >&6; }
12118 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12119 $as_echo_n "(cached) " >&6
12121 case $orig_target_cxx in
12123 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12127 for as_dir
in `dirname $aros_gcc_g++`
12130 test -z "$as_dir" && as_dir
=.
12131 for ac_exec_ext
in '' $ac_executable_extensions; do
12132 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12133 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12144 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12145 if test -n "$orig_target_cxx"; then
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12147 $as_echo "$orig_target_cxx" >&6; }
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12150 $as_echo "no" >&6; }
12155 if test "$orig_target_cxx" = ""; then
12156 # Extract the first word of "g++", so it can be a program name with args.
12157 set dummy g
++; ac_word
=$2
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12159 $as_echo_n "checking for $ac_word... " >&6; }
12160 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12161 $as_echo_n "(cached) " >&6
12163 case $orig_target_cxx in
12165 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12169 for as_dir
in $PATH
12172 test -z "$as_dir" && as_dir
=.
12173 for ac_exec_ext
in '' $ac_executable_extensions; do
12174 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12175 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12186 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12187 if test -n "$orig_target_cxx"; then
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12189 $as_echo "$orig_target_cxx" >&6; }
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12192 $as_echo "no" >&6; }
12199 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
12200 # Extract the first word of "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}", so it can be a program name with args.
12201 set dummy
${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}; ac_word
=$2
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12203 $as_echo_n "checking for $ac_word... " >&6; }
12204 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12205 $as_echo_n "(cached) " >&6
12207 case $orig_target_cxx in
12209 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12213 for as_dir
in $PATH
12216 test -z "$as_dir" && as_dir
=.
12217 for ac_exec_ext
in '' $ac_executable_extensions; do
12218 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12219 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12230 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12231 if test -n "$orig_target_cxx"; then
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12233 $as_echo "$orig_target_cxx" >&6; }
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12236 $as_echo "no" >&6; }
12240 orig_target_cxx
="$orig_target_cxx $ac_tool_optarg"
12244 if test "$orig_target_cxx" = ""; then
12247 if test "$orig_target_cxx" = "no"; then
12250 if test "$req_avail" = "no"; then
12251 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
12254 if test "${aros_tool_prefix}${toolchain_ld}" = ""; then
12255 if test "$cross_compiling" = "yes" ; then
12256 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
12257 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12259 $as_echo_n "checking for $ac_word... " >&6; }
12260 if ${ac_cv_path_orig_target_ld+:} false
; then :
12261 $as_echo_n "(cached) " >&6
12263 case $orig_target_ld in
12265 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12269 for as_dir
in $PATH
12272 test -z "$as_dir" && as_dir
=.
12273 for ac_exec_ext
in '' $ac_executable_extensions; do
12274 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12275 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12286 orig_target_ld
=$ac_cv_path_orig_target_ld
12287 if test -n "$orig_target_ld"; then
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12289 $as_echo "$orig_target_ld" >&6; }
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12292 $as_echo "no" >&6; }
12297 if test "$GCC" = "yes"; then
12298 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
12299 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
12300 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12302 $as_echo_n "checking for $ac_word... " >&6; }
12303 if ${ac_cv_path_orig_target_ld+:} false
; then :
12304 $as_echo_n "(cached) " >&6
12306 case $orig_target_ld in
12308 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12312 for as_dir
in `dirname $aros_gcc_gcc`
12315 test -z "$as_dir" && as_dir
=.
12316 for ac_exec_ext
in '' $ac_executable_extensions; do
12317 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12318 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12329 orig_target_ld
=$ac_cv_path_orig_target_ld
12330 if test -n "$orig_target_ld"; then
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12332 $as_echo "$orig_target_ld" >&6; }
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12335 $as_echo "no" >&6; }
12340 if test "$orig_target_ld" = ""; then
12341 # Extract the first word of "gcc", so it can be a program name with args.
12342 set dummy gcc
; ac_word
=$2
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12344 $as_echo_n "checking for $ac_word... " >&6; }
12345 if ${ac_cv_path_orig_target_ld+:} false
; then :
12346 $as_echo_n "(cached) " >&6
12348 case $orig_target_ld in
12350 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12354 for as_dir
in $PATH
12357 test -z "$as_dir" && as_dir
=.
12358 for ac_exec_ext
in '' $ac_executable_extensions; do
12359 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12360 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12371 orig_target_ld
=$ac_cv_path_orig_target_ld
12372 if test -n "$orig_target_ld"; then
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12374 $as_echo "$orig_target_ld" >&6; }
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12377 $as_echo "no" >&6; }
12384 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ld}" : '[^ ]* \(.*\)'`
12385 # Extract the first word of "${aros_tool_prefix}${toolchain_ld}", so it can be a program name with args.
12386 set dummy
${aros_tool_prefix}${toolchain_ld}; ac_word
=$2
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12388 $as_echo_n "checking for $ac_word... " >&6; }
12389 if ${ac_cv_path_orig_target_ld+:} false
; then :
12390 $as_echo_n "(cached) " >&6
12392 case $orig_target_ld in
12394 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12398 for as_dir
in $PATH
12401 test -z "$as_dir" && as_dir
=.
12402 for ac_exec_ext
in '' $ac_executable_extensions; do
12403 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12404 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12415 orig_target_ld
=$ac_cv_path_orig_target_ld
12416 if test -n "$orig_target_ld"; then
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12418 $as_echo "$orig_target_ld" >&6; }
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12421 $as_echo "no" >&6; }
12425 orig_target_ld
="$orig_target_ld $ac_tool_optarg"
12429 if test "$orig_target_ld" = ""; then
12432 if test "$orig_target_ld" = "no"; then
12435 if test "$req_avail" = "no"; then
12436 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
12439 if test "aros_tool_prefix}${toolchain_as}" = ""; then
12440 if test "$cross_compiling" = "yes" ; then
12441 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
12442 set dummy
${target_tool_prefix}as
; ac_word
=$2
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12444 $as_echo_n "checking for $ac_word... " >&6; }
12445 if ${ac_cv_path_orig_target_as+:} false
; then :
12446 $as_echo_n "(cached) " >&6
12448 case $orig_target_as in
12450 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12454 for as_dir
in $PATH
12457 test -z "$as_dir" && as_dir
=.
12458 for ac_exec_ext
in '' $ac_executable_extensions; do
12459 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12460 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12471 orig_target_as
=$ac_cv_path_orig_target_as
12472 if test -n "$orig_target_as"; then
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12474 $as_echo "$orig_target_as" >&6; }
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12477 $as_echo "no" >&6; }
12482 if test "$GCC" = "yes"; then
12483 aros_gcc_as
=`$CC -print-prog-name=as`
12484 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
12485 set dummy
`basename $aros_gcc_as`; ac_word
=$2
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12487 $as_echo_n "checking for $ac_word... " >&6; }
12488 if ${ac_cv_path_orig_target_as+:} false
; then :
12489 $as_echo_n "(cached) " >&6
12491 case $orig_target_as in
12493 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12497 for as_dir
in `dirname $aros_gcc_as`
12500 test -z "$as_dir" && as_dir
=.
12501 for ac_exec_ext
in '' $ac_executable_extensions; do
12502 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12503 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12514 orig_target_as
=$ac_cv_path_orig_target_as
12515 if test -n "$orig_target_as"; then
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12517 $as_echo "$orig_target_as" >&6; }
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12520 $as_echo "no" >&6; }
12525 if test "$orig_target_as" = ""; then
12526 # Extract the first word of "as", so it can be a program name with args.
12527 set dummy as
; ac_word
=$2
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12529 $as_echo_n "checking for $ac_word... " >&6; }
12530 if ${ac_cv_path_orig_target_as+:} false
; then :
12531 $as_echo_n "(cached) " >&6
12533 case $orig_target_as in
12535 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12539 for as_dir
in $PATH
12542 test -z "$as_dir" && as_dir
=.
12543 for ac_exec_ext
in '' $ac_executable_extensions; do
12544 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12545 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12556 orig_target_as
=$ac_cv_path_orig_target_as
12557 if test -n "$orig_target_as"; then
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12559 $as_echo "$orig_target_as" >&6; }
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12562 $as_echo "no" >&6; }
12569 ac_tool_optarg
=`expr "Xaros_tool_prefix}${toolchain_as}" : '[^ ]* \(.*\)'`
12570 # Extract the first word of "aros_tool_prefix}${toolchain_as}", so it can be a program name with args.
12571 set dummy aros_tool_prefix
}${toolchain_as}; ac_word
=$2
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12573 $as_echo_n "checking for $ac_word... " >&6; }
12574 if ${ac_cv_path_orig_target_as+:} false
; then :
12575 $as_echo_n "(cached) " >&6
12577 case $orig_target_as in
12579 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12583 for as_dir
in $PATH
12586 test -z "$as_dir" && as_dir
=.
12587 for ac_exec_ext
in '' $ac_executable_extensions; do
12588 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12589 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12600 orig_target_as
=$ac_cv_path_orig_target_as
12601 if test -n "$orig_target_as"; then
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12603 $as_echo "$orig_target_as" >&6; }
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12606 $as_echo "no" >&6; }
12610 orig_target_as
="$orig_target_as $ac_tool_optarg"
12614 if test "$orig_target_as" = ""; then
12617 if test "$orig_target_as" = "no"; then
12620 if test "$req_avail" = "no"; then
12621 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
12624 if test "${aros_tool_prefix}${toolchain_ar}" = ""; then
12625 if test "$cross_compiling" = "yes" ; then
12626 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
12627 set dummy
${target_tool_prefix}ar; ac_word
=$2
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12629 $as_echo_n "checking for $ac_word... " >&6; }
12630 if ${ac_cv_path_orig_target_ar+:} false
; then :
12631 $as_echo_n "(cached) " >&6
12633 case $orig_target_ar in
12635 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12639 for as_dir
in $PATH
12642 test -z "$as_dir" && as_dir
=.
12643 for ac_exec_ext
in '' $ac_executable_extensions; do
12644 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12645 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12656 orig_target_ar
=$ac_cv_path_orig_target_ar
12657 if test -n "$orig_target_ar"; then
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12659 $as_echo "$orig_target_ar" >&6; }
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12662 $as_echo "no" >&6; }
12667 if test "$GCC" = "yes"; then
12668 aros_gcc_ar
=`$CC -print-prog-name=ar`
12669 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
12670 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12672 $as_echo_n "checking for $ac_word... " >&6; }
12673 if ${ac_cv_path_orig_target_ar+:} false
; then :
12674 $as_echo_n "(cached) " >&6
12676 case $orig_target_ar in
12678 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12682 for as_dir
in `dirname $aros_gcc_ar`
12685 test -z "$as_dir" && as_dir
=.
12686 for ac_exec_ext
in '' $ac_executable_extensions; do
12687 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12688 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12699 orig_target_ar
=$ac_cv_path_orig_target_ar
12700 if test -n "$orig_target_ar"; then
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12702 $as_echo "$orig_target_ar" >&6; }
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12705 $as_echo "no" >&6; }
12710 if test "$orig_target_ar" = ""; then
12711 # Extract the first word of "ar", so it can be a program name with args.
12712 set dummy
ar; ac_word
=$2
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12714 $as_echo_n "checking for $ac_word... " >&6; }
12715 if ${ac_cv_path_orig_target_ar+:} false
; then :
12716 $as_echo_n "(cached) " >&6
12718 case $orig_target_ar in
12720 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12724 for as_dir
in $PATH
12727 test -z "$as_dir" && as_dir
=.
12728 for ac_exec_ext
in '' $ac_executable_extensions; do
12729 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12730 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12741 orig_target_ar
=$ac_cv_path_orig_target_ar
12742 if test -n "$orig_target_ar"; then
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12744 $as_echo "$orig_target_ar" >&6; }
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12747 $as_echo "no" >&6; }
12754 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ar}" : '[^ ]* \(.*\)'`
12755 # Extract the first word of "${aros_tool_prefix}${toolchain_ar}", so it can be a program name with args.
12756 set dummy
${aros_tool_prefix}${toolchain_ar}; ac_word
=$2
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12758 $as_echo_n "checking for $ac_word... " >&6; }
12759 if ${ac_cv_path_orig_target_ar+:} false
; then :
12760 $as_echo_n "(cached) " >&6
12762 case $orig_target_ar in
12764 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12768 for as_dir
in $PATH
12771 test -z "$as_dir" && as_dir
=.
12772 for ac_exec_ext
in '' $ac_executable_extensions; do
12773 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12774 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12785 orig_target_ar
=$ac_cv_path_orig_target_ar
12786 if test -n "$orig_target_ar"; then
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12788 $as_echo "$orig_target_ar" >&6; }
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12791 $as_echo "no" >&6; }
12795 orig_target_ar
="$orig_target_ar $ac_tool_optarg"
12799 if test "$orig_target_ar" = ""; then
12802 if test "$orig_target_ar" = "no"; then
12805 if test "$req_avail" = "no"; then
12806 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
12809 if test "${aros_tool_prefix}${toolchain_ranlib}" = ""; then
12810 if test "$cross_compiling" = "yes" ; then
12811 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
12812 set dummy
${target_tool_prefix}ar; ac_word
=$2
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12814 $as_echo_n "checking for $ac_word... " >&6; }
12815 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12816 $as_echo_n "(cached) " >&6
12818 case $orig_target_ranlib in
12820 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12824 for as_dir
in $PATH
12827 test -z "$as_dir" && as_dir
=.
12828 for ac_exec_ext
in '' $ac_executable_extensions; do
12829 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12830 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12841 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12842 if test -n "$orig_target_ranlib"; then
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12844 $as_echo "$orig_target_ranlib" >&6; }
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12847 $as_echo "no" >&6; }
12852 if test "$GCC" = "yes"; then
12853 aros_gcc_ar
=`$CC -print-prog-name=ar`
12854 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
12855 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12857 $as_echo_n "checking for $ac_word... " >&6; }
12858 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12859 $as_echo_n "(cached) " >&6
12861 case $orig_target_ranlib in
12863 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12867 for as_dir
in `dirname $aros_gcc_ar`
12870 test -z "$as_dir" && as_dir
=.
12871 for ac_exec_ext
in '' $ac_executable_extensions; do
12872 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12873 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12884 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12885 if test -n "$orig_target_ranlib"; then
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12887 $as_echo "$orig_target_ranlib" >&6; }
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12890 $as_echo "no" >&6; }
12895 if test "$orig_target_ranlib" = ""; then
12896 # Extract the first word of "ar", so it can be a program name with args.
12897 set dummy
ar; ac_word
=$2
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12899 $as_echo_n "checking for $ac_word... " >&6; }
12900 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12901 $as_echo_n "(cached) " >&6
12903 case $orig_target_ranlib in
12905 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12909 for as_dir
in $PATH
12912 test -z "$as_dir" && as_dir
=.
12913 for ac_exec_ext
in '' $ac_executable_extensions; do
12914 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12915 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12926 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12927 if test -n "$orig_target_ranlib"; then
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12929 $as_echo "$orig_target_ranlib" >&6; }
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12932 $as_echo "no" >&6; }
12939 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ranlib}" : '[^ ]* \(.*\)'`
12940 # Extract the first word of "${aros_tool_prefix}${toolchain_ranlib}", so it can be a program name with args.
12941 set dummy
${aros_tool_prefix}${toolchain_ranlib}; ac_word
=$2
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12943 $as_echo_n "checking for $ac_word... " >&6; }
12944 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12945 $as_echo_n "(cached) " >&6
12947 case $orig_target_ranlib in
12949 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12953 for as_dir
in $PATH
12956 test -z "$as_dir" && as_dir
=.
12957 for ac_exec_ext
in '' $ac_executable_extensions; do
12958 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12959 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12970 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12971 if test -n "$orig_target_ranlib"; then
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12973 $as_echo "$orig_target_ranlib" >&6; }
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12976 $as_echo "no" >&6; }
12980 orig_target_ranlib
="$orig_target_ranlib $ac_tool_optarg"
12984 if test "$orig_target_ranlib" = ""; then
12987 if test "$orig_target_ranlib" = "no"; then
12990 if test "$req_avail" = "no"; then
12991 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
12994 if test "${aros_tool_prefix}${toolchain_nm}" = ""; then
12995 if test "$cross_compiling" = "yes" ; then
12996 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
12997 set dummy
${target_tool_prefix}nm
; ac_word
=$2
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12999 $as_echo_n "checking for $ac_word... " >&6; }
13000 if ${ac_cv_path_orig_target_nm+:} false
; then :
13001 $as_echo_n "(cached) " >&6
13003 case $orig_target_nm in
13005 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13009 for as_dir
in $PATH
13012 test -z "$as_dir" && as_dir
=.
13013 for ac_exec_ext
in '' $ac_executable_extensions; do
13014 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13015 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13026 orig_target_nm
=$ac_cv_path_orig_target_nm
13027 if test -n "$orig_target_nm"; then
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13029 $as_echo "$orig_target_nm" >&6; }
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13032 $as_echo "no" >&6; }
13037 if test "$GCC" = "yes"; then
13038 aros_gcc_nm
=`$CC -print-prog-name=nm`
13039 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
13040 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13042 $as_echo_n "checking for $ac_word... " >&6; }
13043 if ${ac_cv_path_orig_target_nm+:} false
; then :
13044 $as_echo_n "(cached) " >&6
13046 case $orig_target_nm in
13048 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13052 for as_dir
in `dirname $aros_gcc_nm`
13055 test -z "$as_dir" && as_dir
=.
13056 for ac_exec_ext
in '' $ac_executable_extensions; do
13057 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13058 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13069 orig_target_nm
=$ac_cv_path_orig_target_nm
13070 if test -n "$orig_target_nm"; then
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13072 $as_echo "$orig_target_nm" >&6; }
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13075 $as_echo "no" >&6; }
13080 if test "$orig_target_nm" = ""; then
13081 # Extract the first word of "nm", so it can be a program name with args.
13082 set dummy nm
; ac_word
=$2
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13084 $as_echo_n "checking for $ac_word... " >&6; }
13085 if ${ac_cv_path_orig_target_nm+:} false
; then :
13086 $as_echo_n "(cached) " >&6
13088 case $orig_target_nm in
13090 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13094 for as_dir
in $PATH
13097 test -z "$as_dir" && as_dir
=.
13098 for ac_exec_ext
in '' $ac_executable_extensions; do
13099 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13100 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13111 orig_target_nm
=$ac_cv_path_orig_target_nm
13112 if test -n "$orig_target_nm"; then
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13114 $as_echo "$orig_target_nm" >&6; }
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13117 $as_echo "no" >&6; }
13124 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_nm}" : '[^ ]* \(.*\)'`
13125 # Extract the first word of "${aros_tool_prefix}${toolchain_nm}", so it can be a program name with args.
13126 set dummy
${aros_tool_prefix}${toolchain_nm}; ac_word
=$2
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13128 $as_echo_n "checking for $ac_word... " >&6; }
13129 if ${ac_cv_path_orig_target_nm+:} false
; then :
13130 $as_echo_n "(cached) " >&6
13132 case $orig_target_nm in
13134 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13138 for as_dir
in $PATH
13141 test -z "$as_dir" && as_dir
=.
13142 for ac_exec_ext
in '' $ac_executable_extensions; do
13143 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13144 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13155 orig_target_nm
=$ac_cv_path_orig_target_nm
13156 if test -n "$orig_target_nm"; then
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13158 $as_echo "$orig_target_nm" >&6; }
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13161 $as_echo "no" >&6; }
13165 orig_target_nm
="$orig_target_nm $ac_tool_optarg"
13169 if test "$orig_target_nm" = ""; then
13172 if test "$orig_target_nm" = "no"; then
13175 if test "$req_avail" = "no"; then
13176 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
13179 if test "${aros_tool_prefix}${toolchain_strip}" = ""; then
13180 if test "$cross_compiling" = "yes" ; then
13181 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
13182 set dummy
${target_tool_prefix}strip
; ac_word
=$2
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13184 $as_echo_n "checking for $ac_word... " >&6; }
13185 if ${ac_cv_path_orig_target_strip+:} false
; then :
13186 $as_echo_n "(cached) " >&6
13188 case $orig_target_strip in
13190 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13194 for as_dir
in $PATH
13197 test -z "$as_dir" && as_dir
=.
13198 for ac_exec_ext
in '' $ac_executable_extensions; do
13199 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13200 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13211 orig_target_strip
=$ac_cv_path_orig_target_strip
13212 if test -n "$orig_target_strip"; then
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13214 $as_echo "$orig_target_strip" >&6; }
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13217 $as_echo "no" >&6; }
13222 if test "$GCC" = "yes"; then
13223 aros_gcc_strip
=`$CC -print-prog-name=strip`
13224 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
13225 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13227 $as_echo_n "checking for $ac_word... " >&6; }
13228 if ${ac_cv_path_orig_target_strip+:} false
; then :
13229 $as_echo_n "(cached) " >&6
13231 case $orig_target_strip in
13233 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13237 for as_dir
in `dirname $aros_gcc_strip`
13240 test -z "$as_dir" && as_dir
=.
13241 for ac_exec_ext
in '' $ac_executable_extensions; do
13242 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13243 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13254 orig_target_strip
=$ac_cv_path_orig_target_strip
13255 if test -n "$orig_target_strip"; then
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13257 $as_echo "$orig_target_strip" >&6; }
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13260 $as_echo "no" >&6; }
13265 if test "$orig_target_strip" = ""; then
13266 # Extract the first word of "strip", so it can be a program name with args.
13267 set dummy strip
; ac_word
=$2
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13269 $as_echo_n "checking for $ac_word... " >&6; }
13270 if ${ac_cv_path_orig_target_strip+:} false
; then :
13271 $as_echo_n "(cached) " >&6
13273 case $orig_target_strip in
13275 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13279 for as_dir
in $PATH
13282 test -z "$as_dir" && as_dir
=.
13283 for ac_exec_ext
in '' $ac_executable_extensions; do
13284 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13285 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13296 orig_target_strip
=$ac_cv_path_orig_target_strip
13297 if test -n "$orig_target_strip"; then
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13299 $as_echo "$orig_target_strip" >&6; }
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13302 $as_echo "no" >&6; }
13309 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_strip}" : '[^ ]* \(.*\)'`
13310 # Extract the first word of "${aros_tool_prefix}${toolchain_strip}", so it can be a program name with args.
13311 set dummy
${aros_tool_prefix}${toolchain_strip}; ac_word
=$2
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13313 $as_echo_n "checking for $ac_word... " >&6; }
13314 if ${ac_cv_path_orig_target_strip+:} false
; then :
13315 $as_echo_n "(cached) " >&6
13317 case $orig_target_strip in
13319 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13323 for as_dir
in $PATH
13326 test -z "$as_dir" && as_dir
=.
13327 for ac_exec_ext
in '' $ac_executable_extensions; do
13328 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13329 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13340 orig_target_strip
=$ac_cv_path_orig_target_strip
13341 if test -n "$orig_target_strip"; then
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13343 $as_echo "$orig_target_strip" >&6; }
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13346 $as_echo "no" >&6; }
13350 orig_target_strip
="$orig_target_strip $ac_tool_optarg"
13354 if test "$orig_target_strip" = ""; then
13357 if test "$orig_target_strip" = "no"; then
13360 if test "$req_avail" = "no"; then
13361 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
13364 if test "${aros_tool_prefix}${toolchain_objcopy}" = ""; then
13365 if test "$cross_compiling" = "yes" ; then
13366 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
13367 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13369 $as_echo_n "checking for $ac_word... " >&6; }
13370 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13371 $as_echo_n "(cached) " >&6
13373 case $orig_target_objcopy in
13375 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13379 for as_dir
in $PATH
13382 test -z "$as_dir" && as_dir
=.
13383 for ac_exec_ext
in '' $ac_executable_extensions; do
13384 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13385 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13396 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13397 if test -n "$orig_target_objcopy"; then
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13399 $as_echo "$orig_target_objcopy" >&6; }
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13402 $as_echo "no" >&6; }
13407 if test "$GCC" = "yes"; then
13408 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
13409 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
13410 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13412 $as_echo_n "checking for $ac_word... " >&6; }
13413 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13414 $as_echo_n "(cached) " >&6
13416 case $orig_target_objcopy in
13418 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13422 for as_dir
in `dirname $aros_gcc_objcopy`
13425 test -z "$as_dir" && as_dir
=.
13426 for ac_exec_ext
in '' $ac_executable_extensions; do
13427 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13428 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13439 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13440 if test -n "$orig_target_objcopy"; then
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13442 $as_echo "$orig_target_objcopy" >&6; }
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13445 $as_echo "no" >&6; }
13450 if test "$orig_target_objcopy" = ""; then
13451 # Extract the first word of "objcopy", so it can be a program name with args.
13452 set dummy objcopy
; ac_word
=$2
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13454 $as_echo_n "checking for $ac_word... " >&6; }
13455 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13456 $as_echo_n "(cached) " >&6
13458 case $orig_target_objcopy in
13460 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13464 for as_dir
in $PATH
13467 test -z "$as_dir" && as_dir
=.
13468 for ac_exec_ext
in '' $ac_executable_extensions; do
13469 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13470 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13481 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13482 if test -n "$orig_target_objcopy"; then
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13484 $as_echo "$orig_target_objcopy" >&6; }
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13487 $as_echo "no" >&6; }
13494 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objcopy}" : '[^ ]* \(.*\)'`
13495 # Extract the first word of "${aros_tool_prefix}${toolchain_objcopy}", so it can be a program name with args.
13496 set dummy
${aros_tool_prefix}${toolchain_objcopy}; ac_word
=$2
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13498 $as_echo_n "checking for $ac_word... " >&6; }
13499 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13500 $as_echo_n "(cached) " >&6
13502 case $orig_target_objcopy in
13504 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13508 for as_dir
in $PATH
13511 test -z "$as_dir" && as_dir
=.
13512 for ac_exec_ext
in '' $ac_executable_extensions; do
13513 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13514 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13525 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13526 if test -n "$orig_target_objcopy"; then
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13528 $as_echo "$orig_target_objcopy" >&6; }
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13531 $as_echo "no" >&6; }
13535 orig_target_objcopy
="$orig_target_objcopy $ac_tool_optarg"
13539 if test "$orig_target_objcopy" = ""; then
13542 if test "$orig_target_objcopy" = "no"; then
13545 if test "$req_avail" = "no"; then
13546 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
13549 if test "${aros_tool_prefix}${toolchain_objdump}" = ""; then
13550 if test "$cross_compiling" = "yes" ; then
13551 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
13552 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13554 $as_echo_n "checking for $ac_word... " >&6; }
13555 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13556 $as_echo_n "(cached) " >&6
13558 case $orig_target_objdump in
13560 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13564 for as_dir
in $PATH
13567 test -z "$as_dir" && as_dir
=.
13568 for ac_exec_ext
in '' $ac_executable_extensions; do
13569 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13570 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13581 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13582 if test -n "$orig_target_objdump"; then
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13584 $as_echo "$orig_target_objdump" >&6; }
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13587 $as_echo "no" >&6; }
13592 if test "$GCC" = "yes"; then
13593 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
13594 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
13595 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13597 $as_echo_n "checking for $ac_word... " >&6; }
13598 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13599 $as_echo_n "(cached) " >&6
13601 case $orig_target_objdump in
13603 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13607 for as_dir
in `dirname $aros_gcc_objdump`
13610 test -z "$as_dir" && as_dir
=.
13611 for ac_exec_ext
in '' $ac_executable_extensions; do
13612 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13613 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13624 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13625 if test -n "$orig_target_objdump"; then
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13627 $as_echo "$orig_target_objdump" >&6; }
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13630 $as_echo "no" >&6; }
13635 if test "$orig_target_objdump" = ""; then
13636 # Extract the first word of "objdump", so it can be a program name with args.
13637 set dummy objdump
; ac_word
=$2
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13639 $as_echo_n "checking for $ac_word... " >&6; }
13640 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13641 $as_echo_n "(cached) " >&6
13643 case $orig_target_objdump in
13645 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13649 for as_dir
in $PATH
13652 test -z "$as_dir" && as_dir
=.
13653 for ac_exec_ext
in '' $ac_executable_extensions; do
13654 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13655 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13666 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13667 if test -n "$orig_target_objdump"; then
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13669 $as_echo "$orig_target_objdump" >&6; }
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13672 $as_echo "no" >&6; }
13679 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objdump}" : '[^ ]* \(.*\)'`
13680 # Extract the first word of "${aros_tool_prefix}${toolchain_objdump}", so it can be a program name with args.
13681 set dummy
${aros_tool_prefix}${toolchain_objdump}; ac_word
=$2
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13683 $as_echo_n "checking for $ac_word... " >&6; }
13684 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13685 $as_echo_n "(cached) " >&6
13687 case $orig_target_objdump in
13689 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13693 for as_dir
in $PATH
13696 test -z "$as_dir" && as_dir
=.
13697 for ac_exec_ext
in '' $ac_executable_extensions; do
13698 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13699 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13710 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13711 if test -n "$orig_target_objdump"; then
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13713 $as_echo "$orig_target_objdump" >&6; }
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13716 $as_echo "no" >&6; }
13720 orig_target_objdump
="$orig_target_objdump $ac_tool_optarg"
13724 if test "$orig_target_objdump" = ""; then
13727 if test "$orig_target_objdump" = "no"; then
13730 if test "$req_avail" = "no"; then
13731 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
13735 if test "$kernel_tool_prefix" = "none" ; then
13736 # No kernel tools specified
13737 # Assume target tools == kernel tools with ELF wrapper
13738 aros_kernel_cc
=$orig_target_cc
13739 aros_kernel_cxx
=$orig_target_cxx
13740 aros_kernel_cpp
=$orig_target_cpp
13741 aros_kernel_ld
=$orig_target_ld
13742 aros_kernel_as
=$orig_target_as
13743 aros_kernel_ar
=$orig_target_ar
13744 aros_kernel_ranlib
=$orig_target_ranlib
13745 aros_kernel_nm
=$orig_target_nm
13746 aros_kernel_strip
=$orig_target_strip
13747 aros_kernel_objcopy
=$orig_target_objcopy
13748 aros_kernel_objdump
=$orig_target_objdump
13749 use_kernel_cc_wrapper
=yes
13752 # At this point, all aros_kernel_* and aros_target_*
13753 # tools should be set up correctly
13755 CC
="$aros_kernel_cc $kernel_tool_flags"
13756 CPP
="$aros_kernel_cpp"
13758 #-----------------------------------------------------------------------------
13760 # Find all the tools we need to compile. This could be cross-compiling
13761 # though! If that is the case we use the GNU form of the target and
13762 # simply add this to the front of the binary name. This is rather simple,
13763 # but it should work under most circumstances.
13765 # The default tools are to use the same as the host, but only if the
13766 # host and target CPU are the same. With GCC this is normally enough.
13770 aros_shared_ld
="$aros_host_ld"
13772 aros_target_mkdep
="$aros_host_mkdep"
13774 # The default tools executables to be linked to.
13775 if test "$rescomp" != ""; then
13776 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
13777 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13779 $as_echo_n "checking for $ac_word... " >&6; }
13780 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
13781 $as_echo_n "(cached) " >&6
13783 case $aros_kernel_rescomp in
13785 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
13788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13789 for as_dir
in $PATH
13792 test -z "$as_dir" && as_dir
=.
13793 for ac_exec_ext
in '' $ac_executable_extensions; do
13794 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13795 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
13796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13806 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
13807 if test -n "$aros_kernel_rescomp"; then
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
13809 $as_echo "$aros_kernel_rescomp" >&6; }
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13812 $as_echo "no" >&6; }
13817 if test "$aros_kernel_rescomp" = ""; then
13820 if test "$aros_kernel_rescomp" = "no"; then
13823 if test "$req_avail" = "no"; then
13824 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
13828 # Set up the sources for the symlink farm
13829 if test "$crosstools" = "yes"; then
13830 crosstools_target
=tools-crosstools
13833 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
13834 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
13836 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/host/config"
13837 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
13838 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Developer/include/aros"
13839 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
13840 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
13841 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
13842 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
13844 # aros_cc_pre is a variable that is added to the front of the compiler name
13845 # in the generated aros-gcc shell script. We need this to enable the cache
13846 # to work across cleaned builds. Also, support DISTCC using the correct
13847 # environment variable.
13850 if test "x${DISTCC}" != "x" ; then
13851 if test "x${CCACHE}" != "x" ; then
13852 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
13854 aros_cc_pre
="${DISTCC} "
13857 if test "x${CCACHE}" != "x" ; then
13858 aros_cc_pre
="${CCACHE} "
13862 aros_target_nostdinc_cflags
=-nostdinc
13864 aros_target_nostartup_ldflags
=-nostartfiles
13866 aros_target_nix_ldflags
=-nix
13868 aros_target_detach_ldflags
=-detach
13870 aros_target_nostdlib_ldflags
=-nostdlib
13873 aros_target_cc_path
=
13877 if test "$aros_target_toolchain" != "yes"; then
13878 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
13879 if test "$GCC" = "yes"; then
13880 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
13883 # We do not know which c compiler version we are going to build and what we need to know
13884 # here is different for different versions so this will be set later during the
13885 # build of crosstools.
13886 if test "$aros_toolchain" = "gnu" ; then
13887 prefix
="$AROS_CROSSTOOLSDIR/${aros_target_cpu}-aros-"
13888 elif test "$aros_toolchain" = "llvm" ; then
13889 prefix
="$AROS_CROSSTOOLSDIR/bin/"
13891 aros_target_cc_path
=@aros_target_cc_path@
13893 aros_target_cpp
="${prefix}${toolchain_cpp_preprocessor}"
13894 aros_target_cc
="${prefix}${toolchain_c_compiler}"
13895 aros_target_cxx
="${prefix}${toolchain_cxx_compiler}"
13896 aros_target_as
="${prefix}${toolchain_as}"
13897 if test "${use_ld_wrapper}" = "yes"; then
13898 aros_target_ld
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${aros_ld}"
13900 aros_target_ld
="${prefix}${toolchain_ld}"
13902 aros_toolchain_ld
="${prefix}${toolchain_ld}"
13904 aros_target_ar
="${prefix}${toolchain_ar} $aros_target_ar_flags"
13905 aros_target_objcopy
="${prefix}${toolchain_objcopy}"
13906 aros_target_objdump
="${prefix}${toolchain_objdump}"
13907 aros_target_ranlib
="${prefix}${toolchain_ranlib} $aros_target_ranlib_flags"
13908 aros_target_nm
="${prefix}${toolchain_nm} $aros_target_nm_flags"
13909 aros_target_strip
="${prefix}${toolchain_strip}"
13910 aros_plain_nm
="${prefix}${toolchain_nm}"
13911 aros_plain_ar
="${prefix}${toolchain_ar}"
13913 # Check whether --enable-includes was given.
13914 if test "${enable_includes+set}" = set; then :
13915 enableval
=$enable_includes; aros_target_incl
=$enable_includes
13917 aros_target_incl
=no
13921 if test "x$aros_target_incl" = "xno"; then
13922 if test "x$test_kernel_cc" != "xno"; then
13923 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
13929 if test "x$aros_kernel_includes" = "x"; then
13930 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13931 if test "x$aros_target_incl" != "x"; then
13932 aros_kernel_includes
="-isystem $aros_target_incl"
13937 if test "x$test_kernel_cc" != "xno"; then
13938 if test "$aros_kernel_includes" != "" ; then
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
13940 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
13941 if test "$aros_kernel_cc_includes" = "" ; then
13942 # Try to guess where the directory is.
13943 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
13944 if test -d $aros_kernel_cc_includes; then
13945 # Check if there is also an include-fixed directory and add it
13946 # to kernel compiler's include path as it may contain some of
13947 # the headers we need.
13948 if test -d "$aros_kernel_cc_includes"-fixed; then
13949 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
13951 # Check for specific includes directory. Needed for Ubuntu 11.10 and Debian
13952 if test -d "/usr/include/${aros_target_cpu}-linux-gnu"; then
13953 aros_kernel_cc_includes
+=" -isystem /usr/include/${aros_target_cpu}-linux-gnu"
13956 # The directory doesn't exist, we need to do some more work.
13957 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
13959 # These are the headers we're looking for.
13960 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13961 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13965 for h
in $headers; do
13966 # Which other headers are needed by each of the above?
13967 deps
=$
(echo "#include <$h>" | \
13968 $aros_kernel_cc -E -M - 2>/dev
/null | \
13969 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13971 # Copy all the needed headers to a directory beneath gendir.
13974 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
13975 sed -n "s,^.*/include\(/.*\),\1,p")
13976 ! test -d $dir && mkdir
-p $dir
13977 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
13983 $as_echo "$aros_kernel_cc_includes" >&6; }
13984 # Adding -nostdinc to kernel includes as they are always used together.
13985 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
13989 if test "$crosstools" != "yes"; then
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
13991 $as_echo_n "checking for the target compiler's include path... " >&6; }
13992 if test "$aros_target_cc_includes" = "" ; then
13993 #try to guess where the directory is
13994 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
13995 if ! test -d $aros_target_cc_includes; then
13996 #the directory doesn't exist, we need to do some more work
13997 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
13999 #these are the headers we're looking for
14000 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
14001 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
14005 for h
in $headers; do
14006 #which other headers each of the above headers needs?
14007 deps
=$
(echo "#include <$h>" | \
14008 $orig_target_cc -E -M - 2>/dev
/null | \
14009 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
14011 #copy all the needed headers to a directory beneath gendir
14014 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
14015 sed -n "s,^.*/include\(/.*\),\1,p")
14016 ! test -d $dir && mkdir
-p $dir
14017 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
14023 $as_echo "$aros_target_cc_includes" >&6; }
14025 # We do not know which c compiler version we are going to build and what we need to know
14026 # here is different for different versions so this will be set later during the
14027 # build of crosstools.
14028 aros_target_cc_includes
=@aros_target_cc_includes@
14032 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
14033 # On GCC >= 4.0 -iquote should be used
14037 save_cflags
="$CFLAGS"
14038 if test "x$test_kernel_cc" != "xno"; then
14040 kernel_cflags_iquote
=$host_cflags_iquote
14041 kernel_cflags_iquote_end
=$host_cflags_iquote_end
14042 if test "x-$cross_compiling" = "x-yes"; then
14043 CC
="$aros_kernel_cc"
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
14045 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
14046 if test "x-$crosstools" != "x-yes"; then
14047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14048 /* end confdefs.h. */
14058 if ac_fn_c_try_compile
"$LINENO"; then :
14059 use_no_stack_protector
="yes"
14061 use_no_stack_protector
="no"
14063 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14065 # we do know it is supported for the smallest version of gcc we are going to build
14066 # we assume it's also supported by later versions
14067 use_no_stack_protector
=yes
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
14070 $as_echo "$use_no_stack_protector" >&6; }
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
14072 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
14073 if test "x-$crosstools" != "x-yes"; then
14074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14075 /* end confdefs.h. */
14085 if ac_fn_c_try_compile
"$LINENO"; then :
14090 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14092 # we do know it is supported for the smallest version of gcc we are going to build
14093 # we assume it's also supported by later versions
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
14097 $as_echo "$has_iquote" >&6; }
14098 if test "x-$has_iquote" = "x-yes" ; then
14099 kernel_cflags_iquote
=-iquote
14100 kernel_cflags_iquote_end
=
14102 kernel_cflags_iquote
=-I
14103 kernel_cflags_iquote_end
=-I-
14106 if test "x-$use_no_stack_protector" = "x-yes" ; then
14107 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
14110 #-----------------------------------------------------------------------------
14112 # Check if we can explicitly choose older version of symbol hashing
14114 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
14115 CC
="$aros_kernel_cc"
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
14117 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
14118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14119 /* end confdefs.h. */
14129 if ac_fn_c_try_link
"$LINENO"; then :
14130 use_hash_style
="yes"
14132 use_hash_style
="no"
14134 rm -f core conftest.err conftest.
$ac_objext \
14135 conftest
$ac_exeext conftest.
$ac_ext
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
14137 $as_echo "$use_hash_style" >&6; }
14138 if test "x-$use_hash_style" = "x-yes" ; then
14139 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
14142 kernel_cflags_iquote
="$""(CFLAGS_IQUOTE)"
14143 kernel_cflags_iquote_end
="$""(CFLAGS_IQUOTE_END)"
14146 CFLAGS
="$save_cflags"
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
14155 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
14157 # Check whether --with-resolution was given.
14158 if test "${with_resolution+set}" = set; then :
14159 withval
=$with_resolution; resolution
=$withval
14164 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
14165 if test "$resolution" = "yes" ; then
14168 if test "$resolution" = "no" ; then
14171 if test "$resolution" != "none" ; then
14172 aros_nominal_width
=`echo $resolution | cut -d'x' -f1`
14173 aros_nominal_height
=`echo $resolution | cut -d'x' -f2`
14174 aros_nominal_depth
=`echo $resolution | cut -d'x' -f3`
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&5
14177 $as_echo "$aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&6; }
14178 aros_cv_nominal_width
=$aros_nominal_width
14179 aros_cv_nominal_height
=$aros_nominal_height
14180 aros_cv_nominal_depth
=$aros_nominal_depth
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether serial debug is enabled" >&5
14183 $as_echo_n "checking whether serial debug is enabled... " >&6; }
14185 # Check whether --with-serial-debug was given.
14186 if test "${with_serial_debug+set}" = set; then :
14187 withval
=$with_serial_debug; serial_debug
=$withval
14192 if test "$aros_serial_debug" = 0 ; then
14193 serial_debug_forced
=""
14194 if test "$serial_debug" = "yes" ; then
14197 if test "$serial_debug" = "no" ; then
14198 serial_debug
="none"
14201 serial_debug_forced
="(forced)"
14202 serial_debug
=$aros_serial_debug
14204 if test "$serial_debug" != "none" ; then
14205 aros_serial_debug
=$serial_debug
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
14207 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14210 $as_echo "no" >&6; }
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether palm debug hack is enabled" >&5
14214 $as_echo_n "checking whether palm debug hack is enabled... " >&6; }
14215 # Check whether --enable-palm_debug_hack was given.
14216 if test "${enable_palm_debug_hack+set}" = set; then :
14217 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
14219 palm_debug_hack
="no"
14222 if test "$palm_debug_hack" = "yes" ; then
14223 aros_palm_debug_hack
="1"
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
14226 $as_echo "$palm_debug_hack" >&6; }
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usb3.0 code is enabled" >&5
14229 $as_echo_n "checking whether usb3.0 code is enabled... " >&6; }
14230 # Check whether --enable-usb30_code was given.
14231 if test "${enable_usb30_code+set}" = set; then :
14232 enableval
=$enable_usb30_code; usb30_code
="yes"
14237 if test "$usb30_code" = "yes" ; then
14238 aros_config_cppflags
="$aros_config_cppflags -DAROS_USB30_CODE"
14239 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
14242 $as_echo "$usb30_code" >&6; }
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether nesting supervisor support is enabled" >&5
14245 $as_echo_n "checking whether nesting supervisor support is enabled... " >&6; }
14246 # Check whether --enable-nesting_supervisor was given.
14247 if test "${enable_nesting_supervisor+set}" = set; then :
14248 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
14250 nesting_supervisor
="no"
14253 if test "$nesting_supervisor" = "yes" ; then
14254 aros_nesting_supervisor
="1"
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
14257 $as_echo "$nesting_supervisor" >&6; }
14259 if test "$aros_enable_mmu" = "" ; then
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MMU support is enabled" >&5
14261 $as_echo_n "checking whether MMU support is enabled... " >&6; }
14262 # Check whether --enable-mmu was given.
14263 if test "${enable_mmu+set}" = set; then :
14264 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
14266 aros_enable_mmu
="yes"
14269 if test "$aros_enable_mmu" = "" ; then
14270 aros_enable_mmu
="yes"
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
14273 $as_echo "$aros_enable_mmu" >&6; }
14275 if test "$aros_enable_mmu" = "no" ; then
14276 aros_enable_mmu
="0"
14278 aros_enable_mmu
="1"
14282 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
14284 if test "x-$need_dlopen" != "x-no" ; then
14287 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
14288 if test "x$ac_cv_func_dlopen" = xyes
; then :
14294 if test "x-$have_dl" = "x-no" ; then
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14296 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14297 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14298 $as_echo_n "(cached) " >&6
14300 ac_check_lib_save_LIBS
=$LIBS
14302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14303 /* end confdefs.h. */
14305 /* Override any GCC internal prototype to avoid an error.
14306 Use char because int might match the return type of a GCC
14307 builtin and then its argument prototype would still apply. */
14320 if ac_fn_c_try_link
"$LINENO"; then :
14321 ac_cv_lib_dl_dlopen
=yes
14323 ac_cv_lib_dl_dlopen
=no
14325 rm -f core conftest.err conftest.
$ac_objext \
14326 conftest
$ac_exeext conftest.
$ac_ext
14327 LIBS
=$ac_check_lib_save_LIBS
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14330 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14331 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14333 aros_host_ldflags
="$aros_host_ldflags -ldl"
14339 if test "x-$have_dl" = "x-no" ; then
14340 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
14346 # Check whether --enable-x11_hidd was given.
14347 if test "${enable_x11_hidd+set}" = set; then :
14348 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
14350 x11_hidd
="$need_x11"
14353 case "x-$x11_hidd" in
14354 x-yes|x-no|x-auto
) ;;
14355 *) x11_hidd
="$need_x11" ;;
14360 if test "x-$x11_hidd" != "x-no" ; then
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
14363 $as_echo_n "checking for X... " >&6; }
14366 # Check whether --with-x was given.
14367 if test "${with_x+set}" = set; then :
14371 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
14372 if test "x$with_x" = xno
; then
14373 # The user explicitly disabled X.
14376 case $x_includes,$x_libraries in #(
14377 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
14378 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
14379 $as_echo_n "(cached) " >&6
14381 # One or both of the vars are not set, and there is no cached value.
14382 ac_x_includes
=no ac_x_libraries
=no
14383 rm -f -r conftest.dir
14384 if mkdir conftest.dir
; then
14386 cat >Imakefile
<<'_ACEOF'
14388 @echo incroot='${INCROOT}'
14390 @echo usrlibdir='${USRLIBDIR}'
14392 @echo libdir='${LIBDIR}'
14394 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
14395 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14396 for ac_var
in incroot usrlibdir libdir
; do
14397 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14399 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14400 for ac_extension
in a so sl dylib la dll
; do
14401 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14402 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14403 ac_im_usrlibdir
=$ac_im_libdir; break
14406 # Screen out bogus values from the imake configuration. They are
14407 # bogus both because they are the default anyway, and because
14408 # using them would break gcc on systems where it needs fixed includes.
14409 case $ac_im_incroot in
14410 /usr
/include
) ac_x_includes
= ;;
14411 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
14413 case $ac_im_usrlibdir in
14414 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
14415 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
14419 rm -f -r conftest.dir
14422 # Standard set of common directories for X headers.
14423 # Check X11 before X11Rn because it is often a symlink to the current release.
14437 /usr/local/X11/include
14438 /usr/local/X11R7/include
14439 /usr/local/X11R6/include
14440 /usr/local/X11R5/include
14441 /usr/local/X11R4/include
14443 /usr/local/include/X11
14444 /usr/local/include/X11R7
14445 /usr/local/include/X11R6
14446 /usr/local/include/X11R5
14447 /usr/local/include/X11R4
14451 /usr/XFree86/include/X11
14455 /usr/unsupported/include
14456 /usr/athena/include
14457 /usr/local/x11r5/include
14458 /usr/lpp/Xamples/include
14460 /usr/openwin/include
14461 /usr/openwin/share/include'
14463 if test "$ac_x_includes" = no
; then
14464 # Guess where to find include files, by looking for Xlib.h.
14465 # First, try using that file with no special directory specified.
14466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14467 /* end confdefs.h. */
14468 #include <X11/Xlib.h>
14470 if ac_fn_c_try_cpp
"$LINENO"; then :
14471 # We can compile using X headers with no special include directory.
14474 for ac_dir
in $ac_x_header_dirs; do
14475 if test -r "$ac_dir/X11/Xlib.h"; then
14476 ac_x_includes
=$ac_dir
14481 rm -f conftest.err conftest.i conftest.
$ac_ext
14482 fi # $ac_x_includes = no
14484 if test "$ac_x_libraries" = no
; then
14485 # Check for the libraries.
14486 # See if we find them without any special options.
14487 # Don't add to $LIBS permanently.
14490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14491 /* end confdefs.h. */
14492 #include <X11/Xlib.h>
14501 if ac_fn_c_try_link
"$LINENO"; then :
14503 # We can link X programs with no special library path.
14507 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14509 # Don't even attempt the hair of trying to link an X program!
14510 for ac_extension
in a so sl dylib la dll
; do
14511 if test -r "$ac_dir/libX11.$ac_extension"; then
14512 ac_x_libraries
=$ac_dir
14518 rm -f core conftest.err conftest.
$ac_objext \
14519 conftest
$ac_exeext conftest.
$ac_ext
14520 fi # $ac_x_libraries = no
14522 case $ac_x_includes,$ac_x_libraries in #(
14523 no
,* |
*,no |
*\'*)
14524 # Didn't find X, or a directory has "'" in its name.
14525 ac_cv_have_x
="have_x=no";; #(
14527 # Record where we found X for the cache.
14528 ac_cv_have_x
="have_x=yes\
14529 ac_x_includes='$ac_x_includes'\
14530 ac_x_libraries='$ac_x_libraries'"
14536 eval "$ac_cv_have_x"
14539 if test "$have_x" != yes; then
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14541 $as_echo "$have_x" >&6; }
14544 # If each of the values was on the command line, it overrides each guess.
14545 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
14546 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
14547 # Update the cache value to reflect the command line values.
14548 ac_cv_have_x
="have_x=yes\
14549 ac_x_includes='$x_includes'\
14550 ac_x_libraries='$x_libraries'"
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14552 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
14556 if test -n "$x_includes"; then
14557 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14560 if test -n "$x_libraries"; then
14561 X_LIBS
="$X_LIBS -L$x_libraries"
14564 if test "x-$no_x" = "x-yes" ; then
14566 if test "x-$x11_hidd" != "x-auto" ; then
14567 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
14571 aros_target_options
+="$export_newline""# Enable X11 Gfx Driver$export_newline""OPT_HOST_X11GFX := yes$export_newline"
14572 if test "x-$host_feature_glx" != "x-no" ; then
14573 aros_target_options
+="$export_newline""# Enable X11 HostGL 3D Passthrough$export_newline""OPT_HOST_X11_HOSTGL := yes$export_newline"
14577 aros_host_x11_cflags
="$X_CFLAGS"
14578 aros_host_x11_ldflags
="$X_LIBS -lX11"
14580 # Check whether --enable-x11_shm was given.
14581 if test "${enable_x11_shm+set}" = set; then :
14582 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
14584 x11_hidd_shm
="auto"
14587 case "x-$x11_hidd_shm" in
14588 x-yes|x-no|x-auto
) ;;
14589 *) x11_hidd_shm
="auto" ;;
14594 if test "x-$x11_hidd_shm" != "x-no" ; then
14596 for ac_header
in sys
/ipc.h
14598 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
14599 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
14600 cat >>confdefs.h
<<_ACEOF
14601 #define HAVE_SYS_IPC_H 1
14608 for ac_header
in sys
/shm.h
14610 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
14611 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
14612 cat >>confdefs.h
<<_ACEOF
14613 #define HAVE_SYS_SHM_H 1
14621 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
14623 save_cflags
="$CFLAGS"
14624 save_ldflags
="$LDFLAGS"
14625 CFLAGS
="$CFLAGS $X_CFLAGS"
14626 LDFLAGS
="$LDFLAGS $X_LIBS"
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14628 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
14629 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
14630 $as_echo_n "(cached) " >&6
14632 ac_check_lib_save_LIBS
=$LIBS
14633 LIBS
="-lXext $LIBS"
14634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14635 /* end confdefs.h. */
14637 /* Override any GCC internal prototype to avoid an error.
14638 Use char because int might match the return type of a GCC
14639 builtin and then its argument prototype would still apply. */
14643 char XShmQueryExtension ();
14647 return XShmQueryExtension ();
14652 if ac_fn_c_try_link
"$LINENO"; then :
14653 ac_cv_lib_Xext_XShmQueryExtension
=yes
14655 ac_cv_lib_Xext_XShmQueryExtension
=no
14657 rm -f core conftest.err conftest.
$ac_objext \
14658 conftest
$ac_exeext conftest.
$ac_ext
14659 LIBS
=$ac_check_lib_save_LIBS
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14662 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14663 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
14667 CFLAGS
="$save_cflags"
14668 LDFLAGS
="$save_ldflags"
14672 if test "x-$have_xshm" = "x-yes" ; then
14673 DO_XSHM_SUPPORT
="1"
14674 elif test "x-$x11_hidd_shm" = "x-yes" ; then
14675 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
14677 DO_XSHM_SUPPORT
="0"
14681 # Check whether --enable-x11_vidmode was given.
14682 if test "${enable_x11_vidmode+set}" = set; then :
14683 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
14685 x11_hidd_vidmode
="auto"
14688 case "x-$x11_hidd_vidmode" in
14689 x-yes|x-no|x-auto
) ;;
14690 *) x11_hidd_vidmode
="auto" ;;
14695 if test "x-$x11_hidd_vidmode" != "x-no" ; then
14697 save_cflags
="$CFLAGS"
14698 save_ldflags
="$LDFLAGS"
14699 CFLAGS
="$CFLAGS $X_CFLAGS"
14700 LDFLAGS
="$LDFLAGS $X_LIBS"
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
14702 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
14703 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
14704 $as_echo_n "(cached) " >&6
14706 ac_check_lib_save_LIBS
=$LIBS
14707 LIBS
="-lXxf86vm $LIBS"
14708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14709 /* end confdefs.h. */
14711 /* Override any GCC internal prototype to avoid an error.
14712 Use char because int might match the return type of a GCC
14713 builtin and then its argument prototype would still apply. */
14717 char XF86VidModeQueryExtension ();
14721 return XF86VidModeQueryExtension ();
14726 if ac_fn_c_try_link
"$LINENO"; then :
14727 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
14729 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
14731 rm -f core conftest.err conftest.
$ac_objext \
14732 conftest
$ac_exeext conftest.
$ac_ext
14733 LIBS
=$ac_check_lib_save_LIBS
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
14736 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
14737 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
14741 CFLAGS
="$save_cflags"
14742 LDFLAGS
="$save_ldflags"
14745 if test "x-$have_vidmode" = "x-yes" ; then
14746 DO_VIDMODE_SUPPORT
="1"
14747 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
14748 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
14750 DO_VIDMODE_SUPPORT
="0"
14755 # Check whether --enable-sdl_hidd was given.
14756 if test "${enable_sdl_hidd+set}" = set; then :
14757 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
14762 case "x-$sdl_hidd" in
14763 x-yes|x-no|x-auto
) ;;
14764 *) sdl_hidd
="auto" ;;
14767 if test "x-$sdl_hidd" != "x-no" ; then
14771 # Check whether --with-sdl-prefix was given.
14772 if test "${with_sdl_prefix+set}" = set; then :
14773 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
14779 # Check whether --with-sdl-exec-prefix was given.
14780 if test "${with_sdl_exec_prefix+set}" = set; then :
14781 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
14786 # Check whether --enable-sdltest was given.
14787 if test "${enable_sdltest+set}" = set; then :
14788 enableval
=$enable_sdltest;
14794 if test x
$sdl_exec_prefix != x
; then
14795 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
14796 if test x
${SDL_CONFIG+set} != xset
; then
14797 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
14800 if test x
$sdl_prefix != x
; then
14801 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
14802 if test x
${SDL_CONFIG+set} != xset
; then
14803 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
14807 as_save_PATH
="$PATH"
14808 if test "x$prefix" != xNONE
; then
14809 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
14811 # Extract the first word of "sdl-config", so it can be a program name with args.
14812 set dummy sdl-config
; ac_word
=$2
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14814 $as_echo_n "checking for $ac_word... " >&6; }
14815 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
14816 $as_echo_n "(cached) " >&6
14818 case $SDL_CONFIG in
14820 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
14823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14824 for as_dir
in $PATH
14827 test -z "$as_dir" && as_dir
=.
14828 for ac_exec_ext
in '' $ac_executable_extensions; do
14829 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14830 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14838 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
14842 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
14843 if test -n "$SDL_CONFIG"; then
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
14845 $as_echo "$SDL_CONFIG" >&6; }
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14848 $as_echo "no" >&6; }
14852 PATH
="$as_save_PATH"
14853 min_sdl_version
=$SDL_VERSION
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
14855 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
14857 if test "$SDL_CONFIG" = "no" ; then
14860 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
14861 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
14863 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
14864 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
14865 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
14866 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
14867 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
14868 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
14869 if test "x$enable_sdltest" = "xyes" ; then
14870 ac_save_CFLAGS
="$CFLAGS"
14871 ac_save_CXXFLAGS
="$CXXFLAGS"
14872 ac_save_LIBS
="$LIBS"
14873 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14874 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14875 LIBS
="$LIBS $SDL_LIBS"
14877 if test "$cross_compiling" = yes; then :
14878 echo $ac_n "cross compiling; assumed OK... $ac_c"
14880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14881 /* end confdefs.h. */
14884 #include <stdlib.h>
14885 #include <string.h>
14889 my_strdup (char *str)
14895 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14896 strcpy (new_str, str);
14904 int main (int argc, char *argv[])
14906 int major, minor, micro;
14909 /* This hangs on some systems (?)
14910 system ("touch conf.sdltest");
14912 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14914 /* HP/UX 9 (%@#!) writes to sscanf strings */
14915 tmp_version = my_strdup("$min_sdl_version");
14916 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14917 printf("%s, bad version string\n", "$min_sdl_version");
14921 if (($sdl_major_version > major) ||
14922 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14923 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14929 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14930 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14931 printf("*** best to upgrade to the required version.\n");
14932 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14933 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14934 printf("*** config.cache before re-running configure\n");
14941 if ac_fn_c_try_run
"$LINENO"; then :
14946 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14947 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14950 CFLAGS
="$ac_save_CFLAGS"
14951 CXXFLAGS
="$ac_save_CXXFLAGS"
14952 LIBS
="$ac_save_LIBS"
14955 if test "x$no_sdl" = x
; then
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14957 $as_echo "yes" >&6; }
14960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14961 $as_echo "no" >&6; }
14962 if test "$SDL_CONFIG" = "no" ; then
14963 echo "*** The sdl-config script installed by SDL could not be found"
14964 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14965 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14966 echo "*** full path to sdl-config."
14968 if test -f conf.sdltest
; then
14971 echo "*** Could not run SDL test program, checking why..."
14972 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14973 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14974 LIBS
="$LIBS $SDL_LIBS"
14975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14976 /* end confdefs.h. */
14981 int main(int argc, char *argv[])
14984 #define main K_and_R_C_main
14994 if ac_fn_c_try_link
"$LINENO"; then :
14995 echo "*** The test program compiled, but did not run. This usually means"
14996 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14997 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14998 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14999 echo "*** to the installed location Also, make sure you have run ldconfig if that"
15000 echo "*** is required on your system"
15002 echo "*** If you have an old version installed, it is best to remove it, although"
15003 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
15005 echo "*** The test program failed to compile or link. See the file config.log for the"
15006 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
15007 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
15008 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
15010 rm -f core conftest.err conftest.
$ac_objext \
15011 conftest
$ac_exeext conftest.
$ac_ext
15012 CFLAGS
="$ac_save_CFLAGS"
15013 CXXFLAGS
="$ac_save_CXXFLAGS"
15014 LIBS
="$ac_save_LIBS"
15026 if test "x-$have_sdl" != "x-yes" ; then
15028 if test "x-$sdl_hidd" != "x-auto" ; then
15029 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
15033 aros_target_options
+="$export_newline""# Enable SDL Gfx Driver$export_newline""OPT_HOST_SDLGFX := yes$export_newline"
15034 aros_host_sdl_cflags
=$SDL_CFLAGS
15035 aros_host_sdl_libs
=$SDL_LIBS
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether building of dbus.library is enabled" >&5
15043 $as_echo_n "checking whether building of dbus.library is enabled... " >&6; }
15044 # Check whether --enable-dbus was given.
15045 if test "${enable_dbus+set}" = set; then :
15046 enableval
=$enable_dbus; dbus
="yes"
15051 if test "$dbus" = "yes" ; then
15053 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
15054 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
15055 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
15056 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
15061 $as_echo "$dbus" >&6; }
15063 if test "$use_kernel_cc_wrapper" = "yes" ; then
15064 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-${toolchain_c_compiler}"
15067 aros_kernel_cppflags
=$aros_config_cppflags
15068 aros_optimization_cflags
="$optimization_level"
15069 if test "$optimization" = "default"; then
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default optimization level to use" >&5
15071 $as_echo_n "checking default optimization level to use... " >&6; }
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization_level" >&5
15073 $as_echo "$optimization_level" >&6; }
15076 if ! test "$gcc_default_cpu" = "" ; then
15077 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"
15080 if test "$use_libatomic" = "yes" ; then
15081 aros_cxx_libs
="$aros_cxx_libs -latomic"
15099 # Compatability with other Amiga-like operating systems
15102 # Host Related ###########################
15133 # Target Related #########################
15226 # Native version related
15234 # Bootloader related
15237 # Unix/Hosted version related
15240 # ARM default GCC target related
15247 # Palm native version related
15250 # Apple iOS related
15267 # Collect-aros stuff: "-ius" to ignore undefined symbols
15270 # C compiler related
15275 #ObjC compiler related
15303 case "$aros_flavour" in
15304 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
15305 aros_flavour
="emulation" ;;
15306 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
15307 aros_flavour
="emulation" ;;
15308 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
15309 aros_flavour
="standalone";;
15310 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15311 aros_flavour
="standalone";;
15312 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
15313 aros_flavour
="native" ;;
15314 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
15315 aros_flavour
="native" ;;
15316 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
15317 aros_flavour
="linklib" ;;
15318 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15319 aros_flavour
="palmnative" ;;
15320 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15321 aros_flavour
="mac68knative" ;;
15322 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15323 aros_flavour
="ppcnative" ;;
15326 if test ! -d ${aros_inc_dir} ; then
15327 ${MKDIR} ${aros_inc_dir}
15329 if test ! -d ${aros_geninc_dir} ; then
15330 ${MKDIR} ${aros_geninc_dir}
15332 if test ! -d ${aros_hostcfg_dir} ; then
15333 ${MKDIR} ${aros_hostcfg_dir}
15335 if test ! -d ${aros_targetcfg_dir} ; then
15336 ${MKDIR} ${aros_targetcfg_dir}
15338 if test ! -d ${aros_tools_dir} ; then
15339 ${MKDIR} ${aros_tools_dir}
15341 if test ! -d ${aros_scripts_dir} ; then
15342 ${MKDIR} ${aros_scripts_dir}
15345 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
15348 # Generic build tools (metamake, etc)
15349 ac_config_commands
="$ac_config_commands genmf-executable-support"
15351 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"
15355 ac_config_commands
="$ac_config_commands binutils-support"
15357 if test "${use_ld_wrapper}" = "yes"; then
15358 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"
15361 # Bare Elf support script and spec
15362 if test "${use_kernel_cc_wrapper}" = "yes"; then
15363 ac_config_commands
="$ac_config_commands elf-compiler-support"
15365 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"
15369 # Host compiler support scripts and spec
15370 if test "${aros_target_toolchain}" = "no"; then
15371 ac_config_commands
="$ac_config_commands host-compiler-wrapper-support"
15373 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"
15378 if test "$aros_target_variant" == "android"; then
15379 ac_config_files
="$ac_config_files ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in"
15384 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in"
15387 cat >confcache
<<\_ACEOF
15388 # This file is a shell script that caches the results of configure
15389 # tests run on this system so they can be shared between configure
15390 # scripts and configure runs, see configure's option --config-cache.
15391 # It is not useful on other systems. If it contains results you don't
15392 # want to keep, you may remove or edit it.
15394 # config.status only pays attention to the cache file if you give it
15395 # the --recheck option to rerun configure.
15397 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15398 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15399 # following values.
15403 # The following way of writing the cache mishandles newlines in values,
15404 # but we know of no workaround that is simple, portable, and efficient.
15405 # So, we kill variables containing newlines.
15406 # Ultrix sh set writes to stderr and can't be redirected directly,
15407 # and sets the high bit in the cache file unless we assign to the vars.
15409 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15410 eval ac_val
=\$
$ac_var
15414 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15415 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15418 _ | IFS | as_nl
) ;; #(
15419 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15420 *) { eval $ac_var=; unset $ac_var;} ;;
15426 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15427 *${as_nl}ac_space
=\
*)
15428 # `set' does not quote correctly, so add quotes: double-quote
15429 # substitution turns \\\\ into \\, and sed turns \\ into \.
15432 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15435 # `set' quotes correctly as required by POSIX, so do not add quotes.
15436 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15445 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15447 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15449 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15450 if test -w "$cache_file"; then
15451 if test "x$cache_file" != "x/dev/null"; then
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15453 $as_echo "$as_me: updating cache $cache_file" >&6;}
15454 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15455 cat confcache
>"$cache_file"
15457 case $cache_file in #(
15459 mv -f confcache
"$cache_file"$$
&&
15460 mv -f "$cache_file"$$
"$cache_file" ;; #(
15462 mv -f confcache
"$cache_file" ;;
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15468 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15473 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15474 # Let make expand exec_prefix.
15475 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15477 DEFS
=-DHAVE_CONFIG_H
15482 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15483 # 1. Remove the extension, and $U if already installed.
15484 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15485 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15486 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15487 # will be set to the directory where LIBOBJS objects are built.
15488 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15489 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15491 LIBOBJS
=$ac_libobjs
15493 LTLIBOBJS
=$ac_ltlibobjs
15497 : "${CONFIG_STATUS=./config.status}"
15499 ac_clean_files_save
=$ac_clean_files
15500 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15502 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15504 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15506 # Generated by $as_me.
15507 # Run this file to recreate the current configuration.
15508 # Compiler output produced by configure, useful for debugging
15509 # configure, is in config.log if it exists.
15512 ac_cs_recheck=false
15515 SHELL=\${CONFIG_SHELL-$SHELL}
15518 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15519 ## -------------------- ##
15520 ## M4sh Initialization. ##
15521 ## -------------------- ##
15523 # Be more Bourne compatible
15524 DUALCASE
=1; export DUALCASE
# for MKS sh
15525 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15528 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15529 # is contrary to our usage. Disable this feature.
15530 alias -g '${1+"$@"}'='"$@"'
15531 setopt NO_GLOB_SUBST
15533 case `(set -o) 2>/dev/null` in #(
15545 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15546 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15547 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15548 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15549 # Prefer a ksh shell builtin over an external printf program on Solaris,
15550 # but without wasting forks for bash or zsh.
15551 if test -z "$BASH_VERSION$ZSH_VERSION" \
15552 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15553 as_echo='print
-r --'
15554 as_echo_n='print
-rn --'
15555 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15556 as_echo='printf %s
\n'
15557 as_echo_n='printf %s
'
15559 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15560 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15561 as_echo_n='/usr
/ucb
/echo -n'
15563 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15564 as_echo_n_body='eval
15568 expr "X$arg" : "X\\(.*\\)$as_nl";
15569 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15571 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15573 export as_echo_n_body
15574 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15576 export as_echo_body
15577 as_echo='sh
-c $as_echo_body as_echo
'
15580 # The user is always right.
15581 if test "${PATH_SEPARATOR+set}" != set; then
15583 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15584 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15591 # We need space, tab and new line, in precisely that order. Quoting is
15592 # there to prevent editors from complaining about space-tab.
15593 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15594 # splitting by setting IFS to empty value.)
15597 # Find who we are. Look in the path if we contain no directory separator.
15600 *[\\/]* ) as_myself=$0 ;;
15601 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15602 for as_dir in $PATH
15605 test -z "$as_dir" && as_dir=.
15606 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15612 # We did not find ourselves, most probably we were run as `sh COMMAND'
15613 # in which case we are not to be found in the path.
15614 if test "x$as_myself" = x
; then
15617 if test ! -f "$as_myself"; then
15618 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15622 # Unset variables that we do not need and which cause bugs (e.g. in
15623 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15624 # suppresses any "Segmentation fault" message there. '((' could
15625 # trigger a bug in pdksh 5.2.14.
15626 for as_var
in BASH_ENV ENV MAIL MAILPATH
15627 do eval test x\
${$as_var+set} = xset \
15628 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15641 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15644 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15645 # ----------------------------------------
15646 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15647 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15648 # script with STATUS, using 1 if that was 0.
15651 as_status
=$1; test $as_status -eq 0 && as_status
=1
15653 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15654 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15656 $as_echo "$as_me: error: $2" >&2
15657 as_fn_exit
$as_status
15661 # as_fn_set_status STATUS
15662 # -----------------------
15663 # Set $? to STATUS, without forking.
15664 as_fn_set_status
()
15667 } # as_fn_set_status
15669 # as_fn_exit STATUS
15670 # -----------------
15671 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15675 as_fn_set_status
$1
15681 # Portably unset VAR.
15684 { eval $1=; unset $1;}
15686 as_unset
=as_fn_unset
15687 # as_fn_append VAR VALUE
15688 # ----------------------
15689 # Append the text in VALUE to the end of the definition contained in VAR. Take
15690 # advantage of any shell optimizations that allow amortized linear growth over
15691 # repeated appends, instead of the typical quadratic growth present in naive
15693 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15694 eval 'as_fn_append ()
15705 # as_fn_arith ARG...
15706 # ------------------
15707 # Perform arithmetic evaluation on the ARGs, and store the result in the
15708 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15709 # must be portable across $(()) and expr.
15710 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15711 eval 'as_fn_arith ()
15718 as_val
=`expr "$@" || test $? -eq 1`
15723 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15724 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15730 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15731 as_basename
=basename
15736 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15742 as_me
=`$as_basename -- "$0" ||
15743 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15744 X"$0" : 'X\(//\)$' \| \
15745 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15747 sed '/^.*\/\([^/][^/]*\)\/*$/{
15761 # Avoid depending upon Character Ranges.
15762 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15763 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15764 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15765 as_cr_digits
='0123456789'
15766 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15768 ECHO_C
= ECHO_N
= ECHO_T
=
15769 case `echo -n x` in #(((((
15771 case `echo 'xy\c'` in
15772 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15774 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15781 rm -f conf$$ conf$$.exe conf$$.
file
15782 if test -d conf$$.dir
; then
15783 rm -f conf$$.dir
/conf$$.
file
15786 mkdir conf$$.dir
2>/dev
/null
15788 if (echo >conf$$.
file) 2>/dev
/null
; then
15789 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15791 # ... but there are two gotchas:
15792 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15793 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15794 # In both cases, we have to default to `cp -pR'.
15795 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15797 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15805 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15806 rmdir conf$$.dir
2>/dev
/null
15811 # Create "$as_dir" as a directory, including parents if necessary.
15816 -*) as_dir
=.
/$as_dir;;
15818 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15822 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15823 *) as_qdir
=$as_dir;;
15825 as_dirs
="'$as_qdir' $as_dirs"
15826 as_dir
=`$as_dirname -- "$as_dir" ||
15827 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15828 X"$as_dir" : 'X\(//\)[^/]' \| \
15829 X"$as_dir" : 'X\(//\)$' \| \
15830 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15831 $as_echo X"$as_dir" |
15832 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15836 /^X\(\/\/\)[^/].*/{
15849 test -d "$as_dir" && break
15851 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15852 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15856 if mkdir
-p .
2>/dev
/null
; then
15857 as_mkdir_p
='mkdir -p "$as_dir"'
15859 test -d .
/-p && rmdir .
/-p
15864 # as_fn_executable_p FILE
15865 # -----------------------
15866 # Test if FILE is an executable regular file.
15867 as_fn_executable_p
()
15869 test -f "$1" && test -x "$1"
15870 } # as_fn_executable_p
15871 as_test_x
='test -x'
15872 as_executable_p
=as_fn_executable_p
15874 # Sed expression to map a string onto a valid CPP name.
15875 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15877 # Sed expression to map a string onto a valid variable name.
15878 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15882 ## ----------------------------------- ##
15883 ## Main body of $CONFIG_STATUS script. ##
15884 ## ----------------------------------- ##
15886 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15888 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15889 # Save the log message, to keep $0 and so on meaningful, and to
15890 # report actual input values of CONFIG_FILES etc. instead of their
15891 # values after options handling.
15893 This file was extended by $as_me, which was
15894 generated by GNU Autoconf 2.69. Invocation command line was
15896 CONFIG_FILES = $CONFIG_FILES
15897 CONFIG_HEADERS = $CONFIG_HEADERS
15898 CONFIG_LINKS = $CONFIG_LINKS
15899 CONFIG_COMMANDS = $CONFIG_COMMANDS
15902 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15907 case $ac_config_files in *"
15908 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15911 case $ac_config_headers in *"
15912 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15916 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15917 # Files that config.status was made for.
15918 config_files="$ac_config_files"
15919 config_headers="$ac_config_headers"
15920 config_commands="$ac_config_commands"
15924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15926 \`$as_me' instantiates files and other configuration actions
15927 from templates according to the current configuration. Unless the files
15928 and actions are specified as TAGs, all are instantiated by default.
15930 Usage: $0 [OPTION]... [TAG]...
15932 -h, --help print this help, then exit
15933 -V, --version print version number and configuration settings, then exit
15934 --config print configuration, then exit
15935 -q, --quiet, --silent
15936 do not print progress messages
15937 -d, --debug don't remove temporary files
15938 --recheck update $as_me by reconfiguring in the same conditions
15939 --file=FILE[:TEMPLATE]
15940 instantiate the configuration file FILE
15941 --header=FILE[:TEMPLATE]
15942 instantiate the configuration header FILE
15944 Configuration files:
15947 Configuration headers:
15950 Configuration commands:
15953 Report bugs to the package provider."
15956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15957 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15960 configured by $0, generated by GNU Autoconf 2.69,
15961 with options \\"\$ac_cs_config\\"
15963 Copyright (C) 2012 Free Software Foundation, Inc.
15964 This config.status script is free software; the Free Software Foundation
15965 gives unlimited permission to copy, distribute and modify it."
15969 test -n "\$AWK" || AWK=awk
15972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15973 # The default lists apply if the user does not specify any file.
15979 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15980 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15984 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15996 # Handling of the options.
15997 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15999 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16000 $as_echo "$ac_cs_version"; exit ;;
16001 --config |
--confi |
--conf |
--con |
--co |
--c )
16002 $as_echo "$ac_cs_config"; exit ;;
16003 --debug |
--debu |
--deb |
--de |
--d |
-d )
16005 --file |
--fil |
--fi |
--f )
16008 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16009 '') as_fn_error $?
"missing file argument" ;;
16011 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16012 ac_need_defaults
=false
;;
16013 --header |
--heade |
--head |
--hea )
16016 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16018 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16019 ac_need_defaults
=false
;;
16021 # Conflict between --help and --header
16022 as_fn_error $?
"ambiguous option: \`$1'
16023 Try \`$0 --help' for more information.";;
16024 --help |
--hel |
-h )
16025 $as_echo "$ac_cs_usage"; exit ;;
16026 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16027 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16030 # This is an error.
16031 -*) as_fn_error $?
"unrecognized option: \`$1'
16032 Try \`$0 --help' for more information." ;;
16034 *) as_fn_append ac_config_targets
" $1"
16035 ac_need_defaults
=false
;;
16041 ac_configure_extra_args
=
16043 if $ac_cs_silent; then
16045 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16050 if \$ac_cs_recheck; then
16051 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16053 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16054 CONFIG_SHELL='$SHELL'
16055 export CONFIG_SHELL
16060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16064 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16065 ## Running $as_me. ##
16071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16076 AROS_CROSSTOOLSDIR=${AROS_CROSSTOOLSDIR}
16077 aros_tools_dir=${aros_tools_dir}
16081 aros_host_exe_suffix=${aros_host_exe_suffix}
16082 aros_tools_dir=${aros_tools_dir}
16083 aros_target_cpu=${aros_target_cpu}
16084 aros_target_arch=${aros_target_arch}
16085 aros_target_suffix=${aros_target_suffix}
16086 orig_target_nm=${orig_target_nm}
16087 orig_target_as=${orig_target_as}
16088 orig_target_ar=${orig_target_ar}
16089 orig_target_ranlib=${orig_target_ranlib}
16090 orig_target_objdump=${orig_target_objdump}
16091 orig_target_objcopy=${orig_target_objcopy}
16092 orig_target_strip=${orig_target_strip}
16093 aros_kernel_ld=${aros_kernel_ld}
16097 aros_host_exe_suffix=${aros_host_exe_suffix}
16098 aros_tools_dir=${aros_tools_dir}
16099 aros_target_cpu=${aros_target_cpu}
16100 aros_target_arch=${aros_target_arch}
16101 aros_target_suffix=${aros_target_suffix}
16102 aros_kernel_ld=${aros_kernel_ld}
16106 aros_host_exe_suffix=${aros_host_exe_suffix}
16107 aros_tools_dir=${aros_tools_dir}
16108 aros_target_cpu=${aros_target_cpu}
16109 aros_target_arch=${aros_target_arch}
16110 aros_target_suffix=${aros_target_suffix}
16116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16118 # Handling of arguments.
16119 for ac_config_target
in $ac_config_targets
16121 case $ac_config_target in
16122 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
16123 "genmf-executable-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf-executable-support" ;;
16124 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16125 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
16126 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
16127 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
16128 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
16129 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
16130 "${aros_targetcfg_dir}/build.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/build.cfg:config/build.cfg.in" ;;
16131 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
16132 "compiler/include/geninc.cfg") CONFIG_FILES
="$CONFIG_FILES compiler/include/geninc.cfg:compiler/include/geninc.cfg.in" ;;
16133 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
16134 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
16135 "${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname") CONFIG_FILES="$CONFIG_FILES ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname:scripts/uname.in" ;;
16136 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
16137 "binutils-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS binutils-support" ;;
16138 "${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" ;;
16139 "elf-compiler-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS elf-compiler-support" ;;
16140 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
16141 "${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" ;;
16142 "host-compiler-wrapper-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS host-compiler-wrapper-support" ;;
16143 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
16144 "${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" ;;
16145 "${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" ;;
16146 "${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" ;;
16147 "${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" ;;
16148 "${aros_targetcfg_dir}/conf.cmake") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in" ;;
16150 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16155 # If the user did not use the arguments to specify the items to instantiate,
16156 # then the envvar interface is used. Set only those that are not.
16157 # We use the long form for the default assignment because of an extremely
16158 # bizarre bug on SunOS 4.1.3.
16159 if $ac_need_defaults; then
16160 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16161 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16162 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16165 # Have a temporary directory for convenience. Make it in the build tree
16166 # simply because there is no reason against having it here, and in addition,
16167 # creating and moving files from /tmp can sometimes cause problems.
16168 # Hook for its removal unless debugging.
16169 # Note that there is a small window in which the directory will not be cleaned:
16170 # after its creation but before its name has been assigned to `$tmp'.
16174 trap 'exit_status=$?
16175 : "${ac_tmp:=$tmp}"
16176 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16178 trap 'as_fn_exit 1' 1 2 13 15
16180 # Create a (secure) tmp directory for tmp files.
16183 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16187 tmp
=.
/conf$$
-$RANDOM
16188 (umask 077 && mkdir
"$tmp")
16189 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16192 # Set up the scripts for CONFIG_FILES section.
16193 # No need to generate them if there are no CONFIG_FILES.
16194 # This happens for instance with `./config.status config.h'.
16195 if test -n "$CONFIG_FILES"; then
16198 ac_cr
=`echo X | tr X '\015'`
16199 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16200 # But we know of no other shell where ac_cr would be empty at this
16201 # point, so we can use a bashism as a fallback.
16202 if test "x$ac_cr" = x
; then
16203 eval ac_cr
=\$
\'\\r
\'
16205 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16206 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16209 ac_cs_awk_cr
=$ac_cr
16212 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16217 echo "cat >conf$$subs.awk <<_ACEOF" &&
16218 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16220 } >conf$$subs.sh ||
16221 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16222 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16224 for ac_last_try in false false false false false :; do
16225 . ./conf$$subs.sh ||
16226 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16228 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16229 if test $ac_delim_n = $ac_delim_num; then
16231 elif $ac_last_try; then
16232 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16234 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16237 rm -f conf$$subs.sh
16239 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16240 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16244 s/^/S["/; s
/!.
*/"]=/
16254 s/\(.\{148\}\)..*/\1/
16256 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16261 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16268 s/\(.\{148\}\)..*/\1/
16270 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16274 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16279 ' <conf$$subs.awk | sed '
16284 ' >>$CONFIG_STATUS || ac_write_fail=1
16285 rm -f conf$$subs.awk
16286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16288 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16289 for (key in S) S_is_set[key] = 1
16295 nfields = split(line, field, "@
")
16297 len = length(field[1])
16298 for (i = 2; i < nfields; i++) {
16300 keylen = length(key)
16301 if (S_is_set[key]) {
16303 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16304 len += length(value) + length(field[++i])
16315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16316 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16317 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16320 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16321 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16324 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16325 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16326 # trailing colons and then remove the whole line if VPATH becomes empty
16327 # (actually we leave an empty line to preserve line numbers).
16328 if test "x
$srcdir" = x.; then
16329 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16347 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16348 fi # test -n "$CONFIG_FILES"
16350 # Set up the scripts for CONFIG_HEADERS section.
16351 # No need to generate them if there are no CONFIG_HEADERS.
16352 # This happens for instance with `./config.status Makefile'.
16353 if test -n "$CONFIG_HEADERS"; then
16354 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16358 # Transform confdefs.h into an awk script `defines.awk', embedded as
16359 # here-document in config.status, that substitutes the proper values into
16360 # config.h.in to produce config.h.
16362 # Create a delimiter string that does not exist in confdefs.h, to ease
16363 # handling of long lines.
16365 for ac_last_try in false false :; do
16366 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16367 if test -z "$ac_tt"; then
16369 elif $ac_last_try; then
16370 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16372 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16376 # For the awk script, D is an array of macro values keyed by name,
16377 # likewise P contains macro parameters if any. Preserve backslash
16378 # newline sequences.
16380 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16382 s/.\{148\}/&'"$ac_delim"'/g
16385 s/^[ ]*#[ ]*define[ ][ ]*/ /
16392 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16394 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16398 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16399 D["\
1"]=" \
3\\\\\\n
"\\/p
16401 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16406 s/.\{148\}/&'"$ac_delim"'/g
16411 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16414 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16416 ' <confdefs.h | sed '
16417 s/'"$ac_delim"'/"\\\
16418 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16420 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16421 for (key in D) D_is_set[key] = 1
16424 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16426 split(line, arg, " ")
16427 if (arg[1] == "#") {
16431 defundef
= substr
(arg
[1], 2)
16434 split(mac1
, mac2
, "(") #)
16436 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16437 if (D_is_set
[macro
]) {
16438 # Preserve the white space surrounding the "#".
16439 print prefix
"define", macro P
[macro
] D
[macro
]
16442 # Replace #undef with comments. This is necessary, for example,
16443 # in the case of _POSIX_SOURCE, which is predefined and required
16444 # on some systems where configure will not decide to define it.
16445 if (defundef
== "undef") {
16446 print
"/*", prefix defundef
, macro
, "*/"
16454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16455 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16456 fi # test -n "$CONFIG_HEADERS"
16459 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16464 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16466 case $ac_mode$ac_tag in
16468 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16469 :[FH
]-) ac_tag
=-:-;;
16470 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16487 -) ac_f
="$ac_tmp/stdin";;
16488 *) # Look for the file first in the build tree, then in the source tree
16489 # (if the path is not absolute). The absolute path cannot be DOS-style,
16490 # because $ac_f cannot contain `:'.
16494 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16496 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16498 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16499 as_fn_append ac_file_inputs
" '$ac_f'"
16502 # Let's still pretend it is `configure' which instantiates (i.e., don't
16503 # use $as_me), people would be surprised to read:
16504 # /* config.h. Generated by config.status. */
16505 configure_input
='Generated from '`
16506 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16508 if test x
"$ac_file" != x-
; then
16509 configure_input
="$ac_file. $configure_input"
16510 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16511 $as_echo "$as_me: creating $ac_file" >&6;}
16513 # Neutralize special characters interpreted by sed in replacement strings.
16514 case $configure_input in #(
16515 *\
&* |
*\|
* |
*\\* )
16516 ac_sed_conf_input
=`$as_echo "$configure_input" |
16517 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16518 *) ac_sed_conf_input
=$configure_input;;
16522 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16523 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16528 ac_dir
=`$as_dirname -- "$ac_file" ||
16529 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16530 X"$ac_file" : 'X\(//\)[^/]' \| \
16531 X"$ac_file" : 'X\(//\)$' \| \
16532 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16533 $as_echo X"$ac_file" |
16534 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16538 /^X\(\/\/\)[^/].*/{
16551 as_dir
="$ac_dir"; as_fn_mkdir_p
16555 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16557 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16558 # A ".." for each directory in $ac_dir_suffix.
16559 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16560 case $ac_top_builddir_sub in
16561 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16562 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16565 ac_abs_top_builddir
=$ac_pwd
16566 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16567 # for backward compatibility:
16568 ac_top_builddir
=$ac_top_build_prefix
16571 .
) # We are building in place.
16573 ac_top_srcdir
=$ac_top_builddir_sub
16574 ac_abs_top_srcdir
=$ac_pwd ;;
16575 [\\/]* | ?
:[\\/]* ) # Absolute name.
16576 ac_srcdir
=$srcdir$ac_dir_suffix;
16577 ac_top_srcdir
=$srcdir
16578 ac_abs_top_srcdir
=$srcdir ;;
16579 *) # Relative name.
16580 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16581 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16582 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16584 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16595 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16596 # If the template does not know about datarootdir, expand it.
16597 # FIXME: This hack should be removed a few years after 2.60.
16598 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16609 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16610 *datarootdir
*) ac_datarootdir_seen
=yes;;
16611 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16613 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16616 ac_datarootdir_hack='
16617 s&@datadir@&$datadir&g
16618 s&@docdir@&$docdir&g
16619 s&@infodir@&$infodir&g
16620 s&@localedir@&$localedir&g
16621 s&@mandir@&$mandir&g
16622 s&\\\${datarootdir}&$datarootdir&g' ;;
16626 # Neutralize VPATH when `$srcdir' = `.'.
16627 # Shell code in configure.ac might set extrasub.
16628 # FIXME: do we really want to maintain this feature?
16629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16630 ac_sed_extra="$ac_vpsub
16633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16635 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16636 s|@configure_input@|
$ac_sed_conf_input|
;t t
16637 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16638 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16639 s
&@srcdir@
&$ac_srcdir&;t t
16640 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16641 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16642 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16643 s
&@builddir@
&$ac_builddir&;t t
16644 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16645 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16646 $ac_datarootdir_hack
16648 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16649 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16651 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16652 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16653 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16654 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16656 which seems to be undefined. Please make sure it is defined" >&5
16657 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16658 which seems to be undefined. Please make sure it is defined" >&2;}
16660 rm -f "$ac_tmp/stdin"
16662 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16663 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16665 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16671 if test x"$ac_file" != x-; then
16673 $as_echo "/* $configure_input */" \
16674 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16675 } >"$ac_tmp/config.h" \
16676 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16677 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16679 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16682 mv "$ac_tmp/config.h" "$ac_file" \
16683 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16686 $as_echo "/* $configure_input */" \
16687 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16688 || as_fn_error $? "could not create -" "$LINENO" 5
16692 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16693 $as_echo "$as_me: executing $ac_file commands" >&6;}
16698 case $ac_file$ac_mode in
16699 "genmf-executable-support":C)
16700 chmod a+x ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname
16701 chmod a+x ${aros_tools_dir}/genmf.py
16703 "binutils-support":C)
16704 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16706 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
16708 chmod a+x ${prefix2}-ld
16710 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
16711 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
16712 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
16713 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
16714 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
16715 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
16716 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
16718 "elf-compiler-support":C)
16719 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16721 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
16723 chmod a+x ${prefix2}-gcc
16725 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix2}-ld$aros_host_exe_suffix
16727 "host-compiler-wrapper-support":C)
16728 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16730 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
16732 chmod a+x ${prefix2}-${toolchain_c_compiler} ${prefix2}-${toolchain_cxx_compiler} ${prefix2}-${toolchain_cpp_preprocessor}
16741 ac_clean_files=$ac_clean_files_save
16743 test $ac_write_fail = 0 ||
16744 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16747 # configure is writing to config.log, and then calls config.status.
16748 # config.status does its own redirection, appending to config.log.
16749 # Unfortunately, on DOS this fails, as config.log is still kept open
16750 # by configure, so config.status won't be able to
write to it
; its
16751 # output is simply discarded. So we exec the FD to /dev/null,
16752 # effectively closing config.log, so it can be properly (re)opened and
16753 # appended to by config.status. When coming back to configure, we
16754 # need to make the FD available again.
16755 if test "$no_create" != yes; then
16757 ac_config_status_args
=
16758 test "$silent" = yes &&
16759 ac_config_status_args
="$ac_config_status_args --quiet"
16761 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16763 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16764 # would make configure fail if this is the last instruction.
16765 $ac_cs_success || as_fn_exit
1
16767 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16769 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16774 #XXX compatability...
16775 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
16777 if test -n "$aros_shared_cflags" ; then
16778 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
16779 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg