2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="mmakefile"
586 # Factoring default headers for most tests.
587 ac_includes_default
="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
623 ac_subst_vars
='LTLIBOBJS
627 target_binutils_version
629 ignore_undefined_symbols
643 gcc_default_float_abi
651 aros_nesting_supervisor
658 aros_host_x11_ldflags
669 crosstools_cxx_target
672 aros_optimization_cflags
674 aros_target_strip_flags
682 aros_kernel_objcflags
709 aros_target_cc_includes
725 aros_target_bootloader
747 aros_amigaos_compliance
755 aros_target_toolchain
764 kernel_cflags_iquote_end
766 host_cflags_iquote_end
769 aros_target_nostdlib_ldflags
770 aros_target_detach_ldflags
771 aros_target_nix_ldflags
772 aros_target_nostartup_ldflags
773 aros_target_nostdinc_cflags
812 arosconfig_use_libpngconfig
895 program_transform_name
908 enable_option_checking
918 with_kernel_gcc_version
921 enable_target_variant
928 enable_amigaos_compliance
929 with_kernel_toolchain_prefix
930 with_elf_toolchain_prefix
933 with_aros_toolchain_install
934 with_binutils_version
948 enable_palm_debug_hack
950 enable_nesting_supervisor
962 ac_precious_vars
='build_alias
978 # Initialize some variables set by options.
980 ac_init_version
=false
981 ac_unrecognized_opts
=
983 # The variables have the same names as the options, with
984 # dashes changed to underlines.
992 program_transform_name
=s
,x
,x
,
1000 # Installation directory options.
1001 # These are left unexpanded so users can "make install exec_prefix=/foo"
1002 # and all the variables that are supposed to be based on exec_prefix
1003 # by default will actually change.
1004 # Use braces instead of parens because sh, perl, etc. also accept them.
1005 # (The list follows the same order as the GNU Coding Standards.)
1006 bindir
='${exec_prefix}/bin'
1007 sbindir
='${exec_prefix}/sbin'
1008 libexecdir
='${exec_prefix}/libexec'
1009 datarootdir
='${prefix}/share'
1010 datadir
='${datarootdir}'
1011 sysconfdir
='${prefix}/etc'
1012 sharedstatedir
='${prefix}/com'
1013 localstatedir
='${prefix}/var'
1014 includedir
='${prefix}/include'
1015 oldincludedir
='/usr/include'
1016 docdir
='${datarootdir}/doc/${PACKAGE}'
1017 infodir
='${datarootdir}/info'
1022 libdir
='${exec_prefix}/lib'
1023 localedir
='${datarootdir}/locale'
1024 mandir
='${datarootdir}/man'
1030 # If the previous option needs an argument, assign it.
1031 if test -n "$ac_prev"; then
1032 eval $ac_prev=\
$ac_option
1038 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1043 # Accept the important Cygnus configure options, so we can diagnose typos.
1045 case $ac_dashdash$ac_option in
1049 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1051 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1052 bindir
=$ac_optarg ;;
1054 -build |
--build |
--buil |
--bui |
--bu)
1055 ac_prev
=build_alias
;;
1056 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1057 build_alias
=$ac_optarg ;;
1059 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1060 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1061 ac_prev
=cache_file
;;
1062 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1063 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1064 cache_file
=$ac_optarg ;;
1066 --config-cache |
-C)
1067 cache_file
=config.cache
;;
1069 -datadir |
--datadir |
--datadi |
--datad)
1071 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1072 datadir
=$ac_optarg ;;
1074 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1075 |
--dataroo |
--dataro |
--datar)
1076 ac_prev
=datarootdir
;;
1077 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1078 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1079 datarootdir
=$ac_optarg ;;
1081 -disable-* |
--disable-*)
1082 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1083 # Reject names that are not valid shell variable names.
1084 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1085 as_fn_error $?
"invalid feature name: $ac_useropt"
1086 ac_useropt_orig
=$ac_useropt
1087 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1088 case $ac_user_opts in
1090 "enable_
$ac_useropt"
1092 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1093 ac_unrecognized_sep
=', ';;
1095 eval enable_
$ac_useropt=no
;;
1097 -docdir |
--docdir |
--docdi |
--doc |
--do)
1099 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1100 docdir
=$ac_optarg ;;
1102 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1104 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1105 dvidir
=$ac_optarg ;;
1107 -enable-* |
--enable-*)
1108 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1109 # Reject names that are not valid shell variable names.
1110 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1111 as_fn_error $?
"invalid feature name: $ac_useropt"
1112 ac_useropt_orig
=$ac_useropt
1113 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1114 case $ac_user_opts in
1116 "enable_
$ac_useropt"
1118 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1119 ac_unrecognized_sep
=', ';;
1121 eval enable_
$ac_useropt=\
$ac_optarg ;;
1123 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1124 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1125 |
--exec |
--exe |
--ex)
1126 ac_prev
=exec_prefix
;;
1127 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1128 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1129 |
--exec=* |
--exe=* |
--ex=*)
1130 exec_prefix
=$ac_optarg ;;
1132 -gas |
--gas |
--ga |
--g)
1133 # Obsolete; use --with-gas.
1136 -help |
--help |
--hel |
--he |
-h)
1137 ac_init_help
=long
;;
1138 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1139 ac_init_help
=recursive
;;
1140 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1141 ac_init_help
=short
;;
1143 -host |
--host |
--hos |
--ho)
1144 ac_prev
=host_alias
;;
1145 -host=* |
--host=* |
--hos=* |
--ho=*)
1146 host_alias
=$ac_optarg ;;
1148 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1150 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1152 htmldir
=$ac_optarg ;;
1154 -includedir |
--includedir |
--includedi |
--included |
--include \
1155 |
--includ |
--inclu |
--incl |
--inc)
1156 ac_prev
=includedir
;;
1157 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1158 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1159 includedir
=$ac_optarg ;;
1161 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1163 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1164 infodir
=$ac_optarg ;;
1166 -libdir |
--libdir |
--libdi |
--libd)
1168 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1169 libdir
=$ac_optarg ;;
1171 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1172 |
--libexe |
--libex |
--libe)
1173 ac_prev
=libexecdir
;;
1174 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1175 |
--libexe=* |
--libex=* |
--libe=*)
1176 libexecdir
=$ac_optarg ;;
1178 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1179 ac_prev
=localedir
;;
1180 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1181 localedir
=$ac_optarg ;;
1183 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1184 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1185 ac_prev
=localstatedir
;;
1186 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1187 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1188 localstatedir
=$ac_optarg ;;
1190 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1192 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1193 mandir
=$ac_optarg ;;
1195 -nfp |
--nfp |
--nf)
1196 # Obsolete; use --without-fp.
1199 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1200 |
--no-cr |
--no-c |
-n)
1203 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1204 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1207 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1208 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1209 |
--oldin |
--oldi |
--old |
--ol |
--o)
1210 ac_prev
=oldincludedir
;;
1211 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1212 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1213 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1214 oldincludedir
=$ac_optarg ;;
1216 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1218 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1219 prefix
=$ac_optarg ;;
1221 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1222 |
--program-pre |
--program-pr |
--program-p)
1223 ac_prev
=program_prefix
;;
1224 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1225 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1226 program_prefix
=$ac_optarg ;;
1228 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1229 |
--program-suf |
--program-su |
--program-s)
1230 ac_prev
=program_suffix
;;
1231 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1232 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1233 program_suffix
=$ac_optarg ;;
1235 -program-transform-name |
--program-transform-name \
1236 |
--program-transform-nam |
--program-transform-na \
1237 |
--program-transform-n |
--program-transform- \
1238 |
--program-transform |
--program-transfor \
1239 |
--program-transfo |
--program-transf \
1240 |
--program-trans |
--program-tran \
1241 |
--progr-tra |
--program-tr |
--program-t)
1242 ac_prev
=program_transform_name
;;
1243 -program-transform-name=* |
--program-transform-name=* \
1244 |
--program-transform-nam=* |
--program-transform-na=* \
1245 |
--program-transform-n=* |
--program-transform-=* \
1246 |
--program-transform=* |
--program-transfor=* \
1247 |
--program-transfo=* |
--program-transf=* \
1248 |
--program-trans=* |
--program-tran=* \
1249 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1250 program_transform_name
=$ac_optarg ;;
1252 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1254 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1255 pdfdir
=$ac_optarg ;;
1257 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1259 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1262 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1263 |
-silent |
--silent |
--silen |
--sile |
--sil)
1266 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1268 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1270 sbindir
=$ac_optarg ;;
1272 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1273 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1274 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1276 ac_prev
=sharedstatedir
;;
1277 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1278 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1279 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1281 sharedstatedir
=$ac_optarg ;;
1283 -site |
--site |
--sit)
1285 -site=* |
--site=* |
--sit=*)
1288 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1290 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1291 srcdir
=$ac_optarg ;;
1293 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1294 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1295 ac_prev
=sysconfdir
;;
1296 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1297 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1298 sysconfdir
=$ac_optarg ;;
1300 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1301 ac_prev
=target_alias
;;
1302 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1303 target_alias
=$ac_optarg ;;
1305 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1308 -version |
--version |
--versio |
--versi |
--vers |
-V)
1309 ac_init_version
=: ;;
1312 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1313 # Reject names that are not valid shell variable names.
1314 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1315 as_fn_error $?
"invalid package name: $ac_useropt"
1316 ac_useropt_orig
=$ac_useropt
1317 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1318 case $ac_user_opts in
1322 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1323 ac_unrecognized_sep
=', ';;
1325 eval with_
$ac_useropt=\
$ac_optarg ;;
1327 -without-* |
--without-*)
1328 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1329 # Reject names that are not valid shell variable names.
1330 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1331 as_fn_error $?
"invalid package name: $ac_useropt"
1332 ac_useropt_orig
=$ac_useropt
1333 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1334 case $ac_user_opts in
1338 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1339 ac_unrecognized_sep
=', ';;
1341 eval with_
$ac_useropt=no
;;
1344 # Obsolete; use --with-x.
1347 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1348 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1349 ac_prev
=x_includes
;;
1350 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1351 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1352 x_includes
=$ac_optarg ;;
1354 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1355 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1356 ac_prev
=x_libraries
;;
1357 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1358 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1359 x_libraries
=$ac_optarg ;;
1361 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1362 Try \`$0 --help' for more information"
1366 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1367 # Reject names that are not valid shell variable names.
1368 case $ac_envvar in #(
1369 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1370 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1372 eval $ac_envvar=\
$ac_optarg
1373 export $ac_envvar ;;
1376 # FIXME: should be removed in autoconf 3.0.
1377 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1378 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1379 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1380 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1386 if test -n "$ac_prev"; then
1387 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1388 as_fn_error $?
"missing argument to $ac_option"
1391 if test -n "$ac_unrecognized_opts"; then
1392 case $enable_option_checking in
1394 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1395 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1399 # Check all directory arguments for consistency.
1400 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1401 datadir sysconfdir sharedstatedir localstatedir includedir \
1402 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1403 libdir localedir mandir
1405 eval ac_val
=\$
$ac_var
1406 # Remove trailing slashes.
1409 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1410 eval $ac_var=\
$ac_val;;
1412 # Be sure to have absolute directory names.
1414 [\\/$
]* | ?
:[\\/]* ) continue;;
1415 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1417 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1420 # There might be people who depend on the old broken behavior: `$host'
1421 # used to hold the argument of --host etc.
1422 # FIXME: To remove some day.
1425 target
=$target_alias
1427 # FIXME: To remove some day.
1428 if test "x$host_alias" != x
; then
1429 if test "x$build_alias" = x
; then
1430 cross_compiling
=maybe
1431 elif test "x$build_alias" != "x$host_alias"; then
1437 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1439 test "$silent" = yes && exec 6>/dev
/null
1442 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1443 ac_ls_di
=`ls -di .` &&
1444 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1445 as_fn_error $?
"working directory cannot be determined"
1446 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1447 as_fn_error $?
"pwd does not report name of working directory"
1450 # Find the source files, if location was not specified.
1451 if test -z "$srcdir"; then
1452 ac_srcdir_defaulted
=yes
1453 # Try the directory containing this script, then the parent directory.
1454 ac_confdir
=`$as_dirname -- "$as_myself" ||
1455 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1456 X"$as_myself" : 'X\(//\)[^/]' \| \
1457 X"$as_myself" : 'X\(//\)$' \| \
1458 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1459 $as_echo X"$as_myself" |
1460 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1478 if test ! -r "$srcdir/$ac_unique_file"; then
1482 ac_srcdir_defaulted
=no
1484 if test ! -r "$srcdir/$ac_unique_file"; then
1485 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1486 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1488 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1490 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1492 # When building in place, set srcdir=.
1493 if test "$ac_abs_confdir" = "$ac_pwd"; then
1496 # Remove unnecessary trailing slashes from srcdir.
1497 # Double slashes in file names in object file debugging info
1498 # mess up M-x gdb in Emacs.
1500 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1502 for ac_var
in $ac_precious_vars; do
1503 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1504 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1505 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1506 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1510 # Report the --help message.
1512 if test "$ac_init_help" = "long"; then
1513 # Omit some internal or obsolete options to make the list less imposing.
1514 # This message is too long to be a string in the A/UX 3.1 sh.
1516 \`configure' configures this package to adapt to many kinds of systems.
1518 Usage: $0 [OPTION]... [VAR=VALUE]...
1520 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1521 VAR=VALUE. See below for descriptions of some of the useful variables.
1523 Defaults for the options are specified in brackets.
1526 -h, --help display this help and exit
1527 --help=short display options specific to this package
1528 --help=recursive display the short help of all the included packages
1529 -V, --version display version information and exit
1530 -q, --quiet, --silent do not print \`checking ...' messages
1531 --cache-file=FILE cache test results in FILE [disabled]
1532 -C, --config-cache alias for \`--cache-file=config.cache'
1533 -n, --no-create do not create output files
1534 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1536 Installation directories:
1537 --prefix=PREFIX install architecture-independent files in PREFIX
1538 [$ac_default_prefix]
1539 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1542 By default, \`make install' will install all the files in
1543 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1544 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1545 for instance \`--prefix=\$HOME'.
1547 For better control, use the options below.
1549 Fine tuning of the installation directories:
1550 --bindir=DIR user executables [EPREFIX/bin]
1551 --sbindir=DIR system admin executables [EPREFIX/sbin]
1552 --libexecdir=DIR program executables [EPREFIX/libexec]
1553 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1554 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1555 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1556 --libdir=DIR object code libraries [EPREFIX/lib]
1557 --includedir=DIR C header files [PREFIX/include]
1558 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1559 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1560 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1561 --infodir=DIR info documentation [DATAROOTDIR/info]
1562 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1563 --mandir=DIR man documentation [DATAROOTDIR/man]
1564 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1565 --htmldir=DIR html documentation [DOCDIR]
1566 --dvidir=DIR dvi documentation [DOCDIR]
1567 --pdfdir=DIR pdf documentation [DOCDIR]
1568 --psdir=DIR ps documentation [DOCDIR]
1574 --x-includes=DIR X include files are
in DIR
1575 --x-libraries=DIR X library files are
in DIR
1578 --build=BUILD configure
for building on BUILD
[guessed
]
1579 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1583 if test -n "$ac_init_help"; then
1588 --disable-option-checking ignore unrecognized
--enable/--with options
1589 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1590 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1591 --disable-libpng-config disable libpng-config
test and configuration
1592 --enable-lto=yes|no Enable link
time optimizations
if the target
1593 compiler supports them
(default
=no
)
1594 --enable-build-type=TYPE
1595 Select the build
type. Available types are
:
1596 personal
, nightly
, snapshot
, milestone
, release. Do
1597 NOT use this option unless you know what you are
1598 doing
! (default
=personal
)
1599 --enable-debug=list Enable different types of debug. Commas or
1600 whitespaces can be used to separate the items
in the
1601 list. Available types of debug are
: all
, none
,
1602 messages
, stack
, mungwall
, modules
, symbols. If no
1603 list is provided
then "all" is assumed.
1605 --enable-distcc Use distcc as a front end to the compiler
1607 --enable-ccache Use ccache as a front end to the compiler
1609 --enable-target-variant=NAME
1610 Enable a specific target variant
(default
=none
)
1611 --enable-amigaos-compliance=VERSION
1612 Enforce userspace AmigaOS compliance to a specific
1613 KickStart version
(default
=none
).
1614 --disable-crosstools Do not build cross-compiler toolchain
1615 --enable-objc Enable Objectve-C support
(default
=no
)
1616 --enable-java Enable Java support
(default
=no
)
1617 --enable-includes=dir Alternative system include directory
1618 --enable-palm-debug-hack
1619 Enable palm debug output hack
in palm native
1621 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1622 --enable-nesting-supervisor
1623 Enable nesting supervisor support
in unix
1625 --disable-mmu Disable MMU support
(default
=enabled
)
1626 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1627 --enable-x11-shm use X11 shared memory
(default
=auto
)
1628 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1629 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1630 --disable-sdltest Do not try to compile and run a
test SDL program
1631 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1634 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1635 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1636 --with-c-compiler=VERSION
1637 Use specified c compiler
for building AROS
1638 --with-cxx-compiler=VERSION
1639 Use specified c
++ compiler building AROS
1640 --with-toolchain=family Which toolchain family to crosscompile with
1642 --with-kernel-gcc-version=VERSION
1643 Use gcc-VERSION
for building bootstrap
1644 --with-optimization=FLAGS
1645 Use optimization flags FLAGS
(default
=-O2).
1646 --with-paranoia=(yes|no|FLAGS
)
1647 Specific compiler warning FLAGS to
enable for
1648 paranoia builds
(default
=-Wall -Werror)
1649 --with-xcode=PATH Specify XCode path
for iOS targets
1650 (default
=/Developer
).
1651 --with-sdk-version=VERSION
1652 Use iOS SDK version VERSION
(default
=4.1).
1653 --with-sdk=PATH Specify Android SDK path
1654 (default
=$default_android_sdk).
1655 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1656 --with-sdk-version=LEVEL
1657 Use Android SDK
for API LEVEL
(default
=12).
1658 --with-ndk-version=LEVEL
1659 Use Android NDK
for API LEVEL
(default
=9).
1660 --with-apk-version=(release|debug
)
1661 Which version of AROSBootstrap.apk to compile.
1662 Release version needs key
for signing
, debug version
1663 will only run
in emulator.
(default
=release
)
1664 --with-kernel-toolchain-prefix=...
1665 Specify crosscompile toolchain prefix
for kernel
1667 --with-elf-toolchain-prefix=...
1668 Specify crosscompile toolchain prefix to wrap
for
1670 --with-aros-toolchain=PREFIX
1671 Specify prebuilt AROS toolchain. Use
yes for default
1673 --with-aros-toolchain-install=DIR
1674 Where to
install or search
for cross tools binaries
1675 --with-binutils-version=VERSION
1676 Use binutils-VERSION
for building AROS
1677 --with-gcc-version=VERSION
1678 Compile gcc-VERSION
for AROS
1679 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1680 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1681 --with-float=<spec
> Specify floating point ABI
1682 (default
=$gcc_default_float_abi).
1683 --with-portssources=DIR Where to download sourcecode
for external ports
1684 --with-bootloader=NAME Use a specific bootloader
1685 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1686 --with-theme=NAME Use a specific GUI Theme
1687 --with-resolution=XRESxYRESxDEPTH
1688 Default resolution of the initial WorkbenchScreen
1689 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1690 --with-x use the X Window System
1691 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1692 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1694 Some influential environment variables
:
1695 CXX C
++ compiler
command
1696 CXXFLAGS C
++ compiler flags
1697 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1698 nonstandard directory
<lib dir
>
1699 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1700 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1701 you have headers
in a nonstandard directory
<include dir
>
1702 CC C compiler
command
1703 CFLAGS C compiler flags
1705 PYTHON the Python interpreter
1706 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1708 Use these variables to override the choices made by
`configure' or to help
1709 it to find libraries and programs with nonstandard names/locations.
1711 Report bugs to the package provider.
1716 if test "$ac_init_help" = "recursive"; then
1717 # If there are subdirs, report their specific --help.
1718 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1719 test -d "$ac_dir" ||
1720 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1725 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1727 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1728 # A ".." for each directory in $ac_dir_suffix.
1729 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1730 case $ac_top_builddir_sub in
1731 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1732 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1735 ac_abs_top_builddir=$ac_pwd
1736 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1737 # for backward compatibility:
1738 ac_top_builddir=$ac_top_build_prefix
1741 .) # We are building in place.
1743 ac_top_srcdir=$ac_top_builddir_sub
1744 ac_abs_top_srcdir=$ac_pwd ;;
1745 [\\/]* | ?:[\\/]* ) # Absolute name.
1746 ac_srcdir=$srcdir$ac_dir_suffix;
1747 ac_top_srcdir=$srcdir
1748 ac_abs_top_srcdir=$srcdir ;;
1750 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1751 ac_top_srcdir=$ac_top_build_prefix$srcdir
1752 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1754 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1756 cd "$ac_dir" || { ac_status=$?; continue; }
1757 # Check for guested configure.
1758 if test -f "$ac_srcdir/configure.gnu"; then
1760 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1761 elif test -f "$ac_srcdir/configure"; then
1763 $SHELL "$ac_srcdir/configure" --help=recursive
1765 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1767 cd "$ac_pwd" || { ac_status=$?; break; }
1771 test -n "$ac_init_help" && exit $ac_status
1772 if $ac_init_version; then
1775 generated by GNU Autoconf 2.69
1777 Copyright (C) 2012 Free Software Foundation, Inc.
1778 This configure script is free software; the Free Software Foundation
1779 gives unlimited permission to copy, distribute and modify it.
1784 ## ------------------------ ##
1785 ## Autoconf initialization. ##
1786 ## ------------------------ ##
1788 # ac_fn_cxx_try_compile LINENO
1789 # ----------------------------
1790 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1791 ac_fn_cxx_try_compile ()
1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1794 rm -f conftest.$ac_objext
1795 if { { ac_try="$ac_compile"
1797 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1798 *) ac_try_echo
=$ac_try;;
1800 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1801 $as_echo "$ac_try_echo"; } >&5
1802 (eval "$ac_compile") 2>conftest.err
1804 if test -s conftest.err
; then
1805 grep -v '^ *+' conftest.err
>conftest.er1
1806 cat conftest.er1
>&5
1807 mv -f conftest.er1 conftest.err
1809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1810 test $ac_status = 0; } && {
1811 test -z "$ac_cxx_werror_flag" ||
1812 test ! -s conftest.err
1813 } && test -s conftest.
$ac_objext; then :
1816 $as_echo "$as_me: failed program was:" >&5
1817 sed 's/^/| /' conftest.
$ac_ext >&5
1821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1822 as_fn_set_status
$ac_retval
1824 } # ac_fn_cxx_try_compile
1826 # ac_fn_c_try_compile LINENO
1827 # --------------------------
1828 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1829 ac_fn_c_try_compile
()
1831 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1832 rm -f conftest.
$ac_objext
1833 if { { ac_try
="$ac_compile"
1835 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1836 *) ac_try_echo=$ac_try;;
1838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1839 $as_echo "$ac_try_echo"; } >&5
1840 (eval "$ac_compile") 2>conftest.err
1842 if test -s conftest.err; then
1843 grep -v '^ *+' conftest.err >conftest.er1
1844 cat conftest.er1 >&5
1845 mv -f conftest.er1 conftest.err
1847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1848 test $ac_status = 0; } && {
1849 test -z "$ac_c_werror_flag" ||
1850 test ! -s conftest.err
1851 } && test -s conftest.$ac_objext; then :
1854 $as_echo "$as_me: failed program was:" >&5
1855 sed 's/^/| /' conftest.$ac_ext >&5
1859 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1860 as_fn_set_status $ac_retval
1862 } # ac_fn_c_try_compile
1864 # ac_fn_c_try_cpp LINENO
1865 # ----------------------
1866 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1870 if { { ac_try="$ac_cpp conftest.$ac_ext"
1872 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1873 *) ac_try_echo
=$ac_try;;
1875 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1876 $as_echo "$ac_try_echo"; } >&5
1877 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1879 if test -s conftest.err
; then
1880 grep -v '^ *+' conftest.err
>conftest.er1
1881 cat conftest.er1
>&5
1882 mv -f conftest.er1 conftest.err
1884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1885 test $ac_status = 0; } > conftest.i
&& {
1886 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1887 test ! -s conftest.err
1891 $as_echo "$as_me: failed program was:" >&5
1892 sed 's/^/| /' conftest.
$ac_ext >&5
1896 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1897 as_fn_set_status
$ac_retval
1901 # ac_fn_c_try_link LINENO
1902 # -----------------------
1903 # Try to link conftest.$ac_ext, and return whether this succeeded.
1906 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1907 rm -f conftest.
$ac_objext conftest
$ac_exeext
1908 if { { ac_try
="$ac_link"
1910 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1911 *) ac_try_echo=$ac_try;;
1913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1914 $as_echo "$ac_try_echo"; } >&5
1915 (eval "$ac_link") 2>conftest.err
1917 if test -s conftest.err; then
1918 grep -v '^ *+' conftest.err >conftest.er1
1919 cat conftest.er1 >&5
1920 mv -f conftest.er1 conftest.err
1922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1923 test $ac_status = 0; } && {
1924 test -z "$ac_c_werror_flag" ||
1925 test ! -s conftest.err
1926 } && test -s conftest$ac_exeext && {
1927 test "$cross_compiling" = yes ||
1928 test -x conftest$ac_exeext
1932 $as_echo "$as_me: failed program was:" >&5
1933 sed 's/^/| /' conftest.$ac_ext >&5
1937 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1938 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1939 # interfere with the next link command; also delete a directory that is
1940 # left behind by Apple's compiler. We do this before executing the actions.
1941 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1942 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1943 as_fn_set_status $ac_retval
1945 } # ac_fn_c_try_link
1947 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1948 # -------------------------------------------------------
1949 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1950 # the include files in INCLUDES and setting the cache variable VAR
1952 ac_fn_c_check_header_mongrel ()
1954 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1955 if eval \${$3+:} false; then :
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1957 $as_echo_n "checking for $2... " >&6; }
1958 if eval \${$3+:} false; then :
1959 $as_echo_n "(cached) " >&6
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1963 $as_echo "$ac_res" >&6; }
1965 # Is the header compilable?
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1967 $as_echo_n "checking $2 usability... " >&6; }
1968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1969 /* end confdefs.h. */
1973 if ac_fn_c_try_compile "$LINENO"; then :
1974 ac_header_compiler=yes
1976 ac_header_compiler=no
1978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1980 $as_echo "$ac_header_compiler" >&6; }
1982 # Is the header present?
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1984 $as_echo_n "checking $2 presence... " >&6; }
1985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1986 /* end confdefs.h. */
1989 if ac_fn_c_try_cpp "$LINENO"; then :
1990 ac_header_preproc=yes
1992 ac_header_preproc=no
1994 rm -f conftest.err conftest.i conftest.$ac_ext
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1996 $as_echo "$ac_header_preproc" >&6; }
1998 # So? What about this header?
1999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2002 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2004 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2008 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2010 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2012 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2014 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2016 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2020 $as_echo_n "checking for $2... " >&6; }
2021 if eval \${$3+:} false; then :
2022 $as_echo_n "(cached) " >&6
2024 eval "$3=\$ac_header_compiler"
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2028 $as_echo "$ac_res" >&6; }
2030 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2032 } # ac_fn_c_check_header_mongrel
2034 # ac_fn_c_try_run LINENO
2035 # ----------------------
2036 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2037 # that executables *can* be run.
2040 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2041 if { { ac_try="$ac_link"
2043 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2044 *) ac_try_echo
=$ac_try;;
2046 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2047 $as_echo "$ac_try_echo"; } >&5
2048 (eval "$ac_link") 2>&5
2050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2051 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2052 { { case "(($ac_try" in
2053 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2054 *) ac_try_echo=$ac_try;;
2056 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2057 $as_echo "$ac_try_echo"; } >&5
2058 (eval "$ac_try") 2>&5
2060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2061 test $ac_status = 0; }; }; then :
2064 $as_echo "$as_me: program exited with status $ac_status" >&5
2065 $as_echo "$as_me: failed program was:" >&5
2066 sed 's/^/| /' conftest.$ac_ext >&5
2068 ac_retval=$ac_status
2070 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2071 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2072 as_fn_set_status $ac_retval
2076 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2077 # -------------------------------------------------------
2078 # Tests whether HEADER exists and can be compiled using the include files in
2079 # INCLUDES, setting the cache variable VAR accordingly.
2080 ac_fn_c_check_header_compile ()
2082 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2084 $as_echo_n "checking for $2... " >&6; }
2085 if eval \${$3+:} false; then :
2086 $as_echo_n "(cached) " >&6
2088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2089 /* end confdefs.h. */
2093 if ac_fn_c_try_compile "$LINENO"; then :
2098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2102 $as_echo "$ac_res" >&6; }
2103 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2105 } # ac_fn_c_check_header_compile
2107 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2108 # ----------------------------------------------------
2109 # Tries to find if the field MEMBER exists in type AGGR, after including
2110 # INCLUDES, setting cache variable VAR accordingly.
2111 ac_fn_c_check_member ()
2113 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2115 $as_echo_n "checking for $2.$3... " >&6; }
2116 if eval \${$4+:} false; then :
2117 $as_echo_n "(cached) " >&6
2119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2120 /* end confdefs.h. */
2132 if ac_fn_c_try_compile "$LINENO"; then :
2135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2136 /* end confdefs.h. */
2142 if (sizeof ac_aggr.$3)
2148 if ac_fn_c_try_compile "$LINENO"; then :
2153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2159 $as_echo "$ac_res" >&6; }
2160 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2162 } # ac_fn_c_check_member
2164 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2165 # ---------------------------------------------
2166 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2168 ac_fn_c_check_decl ()
2170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2171 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2172 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2174 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2175 if eval \${$3+:} false; then :
2176 $as_echo_n "(cached) " >&6
2178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2179 /* end confdefs.h. */
2184 #ifndef $as_decl_name
2186 (void) $as_decl_use;
2188 (void) $as_decl_name;
2196 if ac_fn_c_try_compile "$LINENO"; then :
2201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2205 $as_echo "$ac_res" >&6; }
2206 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2208 } # ac_fn_c_check_decl
2210 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2211 # -------------------------------------------
2212 # Tests whether TYPE exists after having included INCLUDES, setting cache
2213 # variable VAR accordingly.
2214 ac_fn_c_check_type ()
2216 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2218 $as_echo_n "checking for $2... " >&6; }
2219 if eval \${$3+:} false; then :
2220 $as_echo_n "(cached) " >&6
2223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2224 /* end confdefs.h. */
2235 if ac_fn_c_try_compile "$LINENO"; then :
2236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2237 /* end confdefs.h. */
2248 if ac_fn_c_try_compile "$LINENO"; then :
2253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2259 $as_echo "$ac_res" >&6; }
2260 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2262 } # ac_fn_c_check_type
2264 # ac_fn_c_check_func LINENO FUNC VAR
2265 # ----------------------------------
2266 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2267 ac_fn_c_check_func ()
2269 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2271 $as_echo_n "checking for $2... " >&6; }
2272 if eval \${$3+:} false; then :
2273 $as_echo_n "(cached) " >&6
2275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2276 /* end confdefs.h. */
2277 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2279 #define $2 innocuous_$2
2281 /* System header to define __stub macros and hopefully few prototypes,
2282 which can conflict with char $2 (); below.
2283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2284 <limits.h> exists even on freestanding compilers. */
2287 # include <limits.h>
2289 # include <assert.h>
2294 /* Override any GCC internal prototype to avoid an error.
2295 Use char because int might match the return type of a GCC
2296 builtin and then its argument prototype would still apply. */
2301 /* The GNU C library defines this for functions which it implements
2302 to always fail with ENOSYS. Some functions are actually named
2303 something starting with __ and the normal name is an alias. */
2304 #if defined __stub_$2 || defined __stub___$2
2316 if ac_fn_c_try_link "$LINENO"; then :
2321 rm -f core conftest.err conftest.$ac_objext \
2322 conftest$ac_exeext conftest.$ac_ext
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2326 $as_echo "$ac_res" >&6; }
2327 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2329 } # ac_fn_c_check_func
2330 cat >config.log <<_ACEOF
2331 This file contains any messages produced by compilers while
2332 running configure, to aid debugging if configure makes a mistake.
2334 It was created by $as_me, which was
2335 generated by GNU Autoconf 2.69. Invocation command line was
2347 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2348 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2349 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2350 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2351 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2353 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2354 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2356 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2357 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2358 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2359 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2360 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2361 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2362 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2370 test -z "$as_dir" && as_dir=.
2371 $as_echo "PATH: $as_dir"
2387 # Keep a trace of the command line.
2388 # Strip out --no-create and --no-recursion so they do not pile up.
2389 # Strip out --silent because we don't want to record it for future runs.
2390 # Also quote any args containing shell meta-characters.
2391 # Make two passes to allow for proper duplicate-argument suppression.
2395 ac_must_keep_next=false
2401 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2402 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2403 | -silent | --silent | --silen | --sile | --sil)
2406 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2409 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2411 as_fn_append ac_configure_args1 " '$ac_arg'"
2412 if test $ac_must_keep_next = true; then
2413 ac_must_keep_next=false # Got value, back to normal.
2416 *=* | --config-cache | -C | -disable-* | --disable-* \
2417 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2418 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2419 | -with-* | --with-* | -without-* | --without-* | --x)
2420 case "$ac_configure_args0 " in
2421 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2424 -* ) ac_must_keep_next=true ;;
2427 as_fn_append ac_configure_args " '$ac_arg'"
2432 { ac_configure_args0=; unset ac_configure_args0;}
2433 { ac_configure_args1=; unset ac_configure_args1;}
2435 # When interrupted or exit'd, cleanup temporary files, and complete
2436 # config.log. We remove comments because anyway the quotes in there
2437 # would cause problems or look ugly.
2438 # WARNING: Use '\'' to represent an apostrophe within the trap.
2439 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2440 trap 'exit_status=$?
2441 # Save into config.log some information that might help in debugging.
2445 $as_echo "## ---------------- ##
2446 ## Cache variables. ##
2447 ## ---------------- ##"
2449 # The following way of writing the cache mishandles newlines in values,
2451 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2452 eval ac_val=\$$ac_var
2456 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2457 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2460 _ | IFS | as_nl) ;; #(
2461 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2462 *) { eval $ac_var=; unset $ac_var;} ;;
2467 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2468 *${as_nl}ac_space=\ *)
2470 "s/'\''/'\''\\\\'\'''\''/g;
2471 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2474 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2481 $as_echo "## ----------------- ##
2482 ## Output variables. ##
2483 ## ----------------- ##"
2485 for ac_var in $ac_subst_vars
2487 eval ac_val=\$$ac_var
2489 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2491 $as_echo "$ac_var='\''$ac_val'\''"
2495 if test -n "$ac_subst_files"; then
2496 $as_echo "## ------------------- ##
2497 ## File substitutions. ##
2498 ## ------------------- ##"
2500 for ac_var in $ac_subst_files
2502 eval ac_val=\$$ac_var
2504 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2506 $as_echo "$ac_var='\''$ac_val'\''"
2511 if test -s confdefs.h; then
2512 $as_echo "## ----------- ##
2519 test "$ac_signal" != 0 &&
2520 $as_echo "$as_me: caught signal $ac_signal"
2521 $as_echo "$as_me: exit $exit_status"
2523 rm -f core *.core core.conftest.* &&
2524 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2527 for ac_signal in 1 2 13 15; do
2528 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2532 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2533 rm -f -r conftest* confdefs.h
2535 $as_echo "/* confdefs.h */" > confdefs.h
2537 # Predefined preprocessor variables.
2539 cat >>confdefs.h <<_ACEOF
2540 #define PACKAGE_NAME "$PACKAGE_NAME"
2543 cat >>confdefs.h <<_ACEOF
2544 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2547 cat >>confdefs.h <<_ACEOF
2548 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2551 cat >>confdefs.h <<_ACEOF
2552 #define PACKAGE_STRING "$PACKAGE_STRING"
2555 cat >>confdefs.h <<_ACEOF
2556 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2559 cat >>confdefs.h <<_ACEOF
2560 #define PACKAGE_URL "$PACKAGE_URL"
2564 # Let the site file select an alternate cache file if it wants to.
2565 # Prefer an explicitly selected file to automatically selected ones.
2568 if test -n "$CONFIG_SITE"; then
2569 # We do not want a PATH search for config.site.
2570 case $CONFIG_SITE in #((
2571 -*) ac_site_file1=./$CONFIG_SITE;;
2572 */*) ac_site_file1=$CONFIG_SITE;;
2573 *) ac_site_file1=./$CONFIG_SITE;;
2575 elif test "x$prefix" != xNONE; then
2576 ac_site_file1=$prefix/share/config.site
2577 ac_site_file2=$prefix/etc/config.site
2579 ac_site_file1=$ac_default_prefix/share/config.site
2580 ac_site_file2=$ac_default_prefix/etc/config.site
2582 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2584 test "x$ac_site_file" = xNONE && continue
2585 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2587 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2588 sed 's/^/| /' "$ac_site_file" >&5
2590 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2592 as_fn_error $? "failed to load site
script $ac_site_file
2593 See \
`config.log' for more details" "$LINENO" 5; }
2597 if test -r "$cache_file"; then
2598 # Some versions of bash will fail to source /dev/null (special files
2599 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2600 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2602 $as_echo "$as_me: loading cache $cache_file" >&6;}
2604 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2605 *) . "./$cache_file";;
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2610 $as_echo "$as_me: creating cache $cache_file" >&6;}
2614 as_fn_append ac_header_list " stdlib.h"
2615 as_fn_append ac_header_list " unistd.h"
2616 as_fn_append ac_header_list " sys/param.h"
2617 # Check that the precious variables saved in the cache have kept the same
2619 ac_cache_corrupted=false
2620 for ac_var in $ac_precious_vars; do
2621 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2622 eval ac_new_set=\$ac_env_${ac_var}_set
2623 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2624 eval ac_new_val=\$ac_env_${ac_var}_value
2625 case $ac_old_set,$ac_new_set in
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2628 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2629 ac_cache_corrupted=: ;;
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2632 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2633 ac_cache_corrupted=: ;;
2636 if test "x$ac_old_val" != "x$ac_new_val"; then
2637 # differences in whitespace do not lead to failure.
2638 ac_old_val_w=`echo x
$ac_old_val`
2639 ac_new_val_w=`echo x
$ac_new_val`
2640 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2642 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2643 ac_cache_corrupted=:
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2646 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2647 eval $ac_var=\$ac_old_val
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2650 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2652 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2655 # Pass precious variables to config.status.
2656 if test "$ac_new_set" = set; then
2658 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2659 *) ac_arg=$ac_var=$ac_new_val ;;
2661 case " $ac_configure_args " in
2662 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2663 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2667 if $ac_cache_corrupted; then
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2669 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2671 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2672 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2674 ## -------------------- ##
2675 ## Main body of script. ##
2676 ## -------------------- ##
2679 ac_cpp='$CPP $CPPFLAGS'
2680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2687 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2688 if test -f "$ac_dir/install-sh"; then
2690 ac_install_sh="$ac_aux_dir/install-sh -c"
2692 elif test -f "$ac_dir/install.sh"; then
2694 ac_install_sh="$ac_aux_dir/install.sh -c"
2696 elif test -f "$ac_dir/shtool"; then
2698 ac_install_sh="$ac_aux_dir/shtool install -c"
2702 if test -z "$ac_aux_dir"; then
2703 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2706 # These three variables are undocumented and unsupported,
2707 # and are intended to be withdrawn in a future Autoconf release.
2708 # They can cause serious problems if a builder's source tree is in a directory
2709 # whose full name contains unusual characters.
2710 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2711 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2712 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2716 # Check what host we are running on.
2717 # If a target is not suggested, we use this one.
2718 # Note that what we call a target, Autoconf calls a host.
2719 # Make sure we can run config.sub.
2720 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2721 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2724 $as_echo_n "checking build system type... " >&6; }
2725 if ${ac_cv_build+:} false; then :
2726 $as_echo_n "(cached) " >&6
2728 ac_build_alias=$build_alias
2729 test "x$ac_build_alias" = x &&
2730 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2731 test "x$ac_build_alias" = x &&
2732 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2733 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2734 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2738 $as_echo "$ac_cv_build" >&6; }
2739 case $ac_cv_build in
2741 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2744 ac_save_IFS=$IFS; IFS='-'
2750 # Remember, the first character of IFS is used to create $*,
2751 # except with old shells:
2754 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2758 $as_echo_n "checking host system type... " >&6; }
2759 if ${ac_cv_host+:} false; then :
2760 $as_echo_n "(cached) " >&6
2762 if test "x$host_alias" = x; then
2763 ac_cv_host=$ac_cv_build
2765 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2766 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2771 $as_echo "$ac_cv_host" >&6; }
2774 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2777 ac_save_IFS=$IFS; IFS='-'
2783 # Remember, the first character of IFS is used to create $*,
2784 # except with old shells:
2787 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2791 # Default versions for the gnu tools we build
2792 default_gcc_version="4.6.4"
2793 default_binutils_version="2.23.2"
2795 # The AROS target is slightly different to the normal GNU style
2796 # format. We don't have the middle part, and we reverse the order
2797 # of the $(CPU) and $(OS) bits.
2799 # Don't strip the version of the target yet, it might be
2800 # useful on some systems.
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2803 $as_echo_n "checking for AROS style target... " >&6; }
2805 if test "$target" = "NONE" ; then
2806 target=$host_os-$host_cpu
2808 if test "$target" = "" ; then
2809 target=$host_os-$host_cpu
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2813 $as_echo "$target" >&6; }
2815 if test "$host_os" = "mingw32" ; then
2819 # Don't know where else to put this...
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2821 $as_echo_n "checking building AROS in... " >&6; }
2822 AROS_BUILDDIR=`${PWDCMD-pwd}`
2823 AROS_BUILDDIR_UNIX=${PWD}
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2825 $as_echo "$AROS_BUILDDIR" >&6; }
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2828 $as_echo_n "checking AROS source in... " >&6; }
2829 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2832 $as_echo "$SRCDIR" >&6; }
2834 # Parse the target field into something useful.
2836 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2837 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2840 # Some debug output, to be removed again.
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2842 $as_echo_n "checking for target system (debug output)... " >&6; }
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2844 $as_echo "$target_os" >&6; }
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2846 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2848 $as_echo "$target_cpu" >&6; }
2850 aros_nominal_width=800
2851 aros_nominal_height=600
2852 aros_nominal_depth=4
2855 default_c_compilers="gcc clang cc"
2857 # Check whether --with-c-compiler was given.
2858 if test "${with_c_compiler+set}" = set; then :
2859 withval=$with_c_compiler; use_c_compiler="$withval"
2864 if test "$use_c_compiler" = ""; then
2865 host_c_compilers="$default_c_compilers"
2867 host_c_compilers="$use_c_compiler"
2870 default_cxx_compilers="g++ clang++ c++"
2872 # Check whether --with-cxx-compiler was given.
2873 if test "${with_cxx_compiler+set}" = set; then :
2874 withval=$with_cxx_compiler; use_cxx_compiler="$withval"
2879 if test "$use_cxx_compiler" = ""; then
2880 host_cxx_compilers="$default_cxx_compilers"
2882 host_cxx_compilers="$use_cxx_compiler"
2886 # The first step is to find the host binaries.
2887 # Check for a compiler.
2888 # Due to a bug in autoconf check for c++ compiler first.
2889 # For mor info see, http://osdir.com/ml/bug-autoconf-gnu/2010-05/msg00001.html.
2891 ac_cpp='$CXXCPP $CPPFLAGS'
2892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2895 if test -z "$CXX"; then
2896 if test -n "$CCC"; then
2899 if test -n "$ac_tool_prefix"; then
2900 for ac_prog in ${host_cxx_compilers}
2902 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2903 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2905 $as_echo_n "checking for $ac_word... " >&6; }
2906 if ${ac_cv_prog_CXX+:} false; then :
2907 $as_echo_n "(cached) " >&6
2909 if test -n "$CXX"; then
2910 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2916 test -z "$as_dir" && as_dir=.
2917 for ac_exec_ext in '' $ac_executable_extensions; do
2918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2919 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2930 if test -n "$CXX"; then
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2932 $as_echo "$CXX" >&6; }
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2935 $as_echo "no" >&6; }
2939 test -n "$CXX" && break
2942 if test -z "$CXX"; then
2944 for ac_prog in ${host_cxx_compilers}
2946 # Extract the first word of "$ac_prog", so it can be a program name with args.
2947 set dummy $ac_prog; ac_word=$2
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2949 $as_echo_n "checking for $ac_word... " >&6; }
2950 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2951 $as_echo_n "(cached) " >&6
2953 if test -n "$ac_ct_CXX"; then
2954 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2960 test -z "$as_dir" && as_dir=.
2961 for ac_exec_ext in '' $ac_executable_extensions; do
2962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2963 ac_cv_prog_ac_ct_CXX="$ac_prog"
2964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2973 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2974 if test -n "$ac_ct_CXX"; then
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2976 $as_echo "$ac_ct_CXX" >&6; }
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2979 $as_echo "no" >&6; }
2983 test -n "$ac_ct_CXX" && break
2986 if test "x$ac_ct_CXX" = x; then
2989 case $cross_compiling:$ac_tool_warned in
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2993 ac_tool_warned=yes ;;
3001 # Provide some information about the compiler.
3002 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3005 for ac_option in --version -v -V -qversion; do
3006 { { ac_try="$ac_compiler $ac_option >&5"
3008 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3009 *) ac_try_echo
=$ac_try;;
3011 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3012 $as_echo "$ac_try_echo"; } >&5
3013 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3015 if test -s conftest.err
; then
3017 ... rest of stderr output deleted ...
3018 10q' conftest.err
>conftest.er1
3019 cat conftest.er1
>&5
3021 rm -f conftest.er1 conftest.err
3022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3023 test $ac_status = 0; }
3026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3027 /* end confdefs.h. */
3037 ac_clean_files_save
=$ac_clean_files
3038 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3039 # Try to create an executable without -o first, disregard a.out.
3040 # It will help us diagnose broken compilers, and finding out an intuition
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3043 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3044 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3046 # The possible output files:
3047 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3050 for ac_file
in $ac_files
3053 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3054 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3059 if { { ac_try
="$ac_link_default"
3061 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3062 *) ac_try_echo=$ac_try;;
3064 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3065 $as_echo "$ac_try_echo"; } >&5
3066 (eval "$ac_link_default") 2>&5
3068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3069 test $ac_status = 0; }; then :
3070 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3071 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3072 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3073 # so that the user can short-circuit this test for compilers unknown to
3075 for ac_file in $ac_files ''
3077 test -f "$ac_file" || continue
3079 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3082 # We found the default executable, but exeext='' is most
3086 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3088 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3090 # We set ac_cv_exeext here because the later test for it is not
3091 # safe: cross compilers may not add the suffix if given an `-o'
3092 # argument, so we may need to know it at that point already.
3093 # Even if this section looks crufty: it has the advantage of
3100 test "$ac_cv_exeext" = no && ac_cv_exeext=
3105 if test -z "$ac_file"; then :
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3107 $as_echo "no" >&6; }
3108 $as_echo "$as_me: failed program was:" >&5
3109 sed 's
/^
/|
/' conftest.$ac_ext >&5
3111 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3112 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3113 as_fn_error 77 "C++ compiler cannot create executables
3114 See \`config.log
' for more details" "$LINENO" 5; }
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3117 $as_echo "yes" >&6; }
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3120 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3122 $as_echo "$ac_file" >&6; }
3123 ac_exeext=$ac_cv_exeext
3125 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3126 ac_clean_files=$ac_clean_files_save
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3128 $as_echo_n "checking for suffix of executables... " >&6; }
3129 if { { ac_try="$ac_link"
3131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3132 *) ac_try_echo=$ac_try;;
3134 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3135 $as_echo "$ac_try_echo"; } >&5
3136 (eval "$ac_link") 2>&5
3138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3139 test $ac_status = 0; }; then :
3140 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3141 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3142 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3144 for ac_file
in conftest.exe conftest conftest.
*; do
3145 test -f "$ac_file" ||
continue
3147 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3148 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3154 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3155 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3156 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3157 See \`config.log' for more details" "$LINENO" 5; }
3159 rm -f conftest conftest
$ac_cv_exeext
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3161 $as_echo "$ac_cv_exeext" >&6; }
3163 rm -f conftest.
$ac_ext
3164 EXEEXT
=$ac_cv_exeext
3166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3167 /* end confdefs.h. */
3172 FILE *f = fopen ("conftest.out", "w");
3173 return ferror (f) || fclose (f) != 0;
3179 ac_clean_files
="$ac_clean_files conftest.out"
3180 # Check that the compiler produces executables we can run. If not, either
3181 # the compiler is broken, or we cross compile.
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3183 $as_echo_n "checking whether we are cross compiling... " >&6; }
3184 if test "$cross_compiling" != yes; then
3185 { { ac_try
="$ac_link"
3187 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3188 *) ac_try_echo=$ac_try;;
3190 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3191 $as_echo "$ac_try_echo"; } >&5
3192 (eval "$ac_link") 2>&5
3194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3195 test $ac_status = 0; }
3196 if { ac_try='./conftest$ac_cv_exeext'
3197 { { case "(($ac_try" in
3198 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3199 *) ac_try_echo
=$ac_try;;
3201 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3202 $as_echo "$ac_try_echo"; } >&5
3203 (eval "$ac_try") 2>&5
3205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3206 test $ac_status = 0; }; }; then
3209 if test "$cross_compiling" = maybe
; then
3212 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3214 as_fn_error $?
"cannot run C++ compiled programs.
3215 If you meant to cross compile, use \`--host'.
3216 See \`config.log' for more details" "$LINENO" 5; }
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3221 $as_echo "$cross_compiling" >&6; }
3223 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3224 ac_clean_files
=$ac_clean_files_save
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3226 $as_echo_n "checking for suffix of object files... " >&6; }
3227 if ${ac_cv_objext+:} false
; then :
3228 $as_echo_n "(cached) " >&6
3230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3231 /* end confdefs.h. */
3241 rm -f conftest.o conftest.obj
3242 if { { ac_try
="$ac_compile"
3244 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3245 *) ac_try_echo=$ac_try;;
3247 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3248 $as_echo "$ac_try_echo"; } >&5
3249 (eval "$ac_compile") 2>&5
3251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3252 test $ac_status = 0; }; then :
3253 for ac_file in conftest.o conftest.obj conftest.*; do
3254 test -f "$ac_file" || continue;
3256 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3257 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3262 $as_echo "$as_me: failed program was:" >&5
3263 sed 's/^/| /' conftest.$ac_ext >&5
3265 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3267 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3268 See \
`config.log' for more details" "$LINENO" 5; }
3270 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3273 $as_echo "$ac_cv_objext" >&6; }
3274 OBJEXT=$ac_cv_objext
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3277 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3278 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3279 $as_echo_n "(cached) " >&6
3281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3282 /* end confdefs.h. */
3295 if ac_fn_cxx_try_compile "$LINENO"; then :
3300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3301 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3305 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3306 if test $ac_compiler_gnu = yes; then
3311 ac_test_CXXFLAGS=${CXXFLAGS+set}
3312 ac_save_CXXFLAGS=$CXXFLAGS
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3314 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3315 if ${ac_cv_prog_cxx_g+:} false; then :
3316 $as_echo_n "(cached) " >&6
3318 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3319 ac_cxx_werror_flag=yes
3322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3323 /* end confdefs.h. */
3333 if ac_fn_cxx_try_compile "$LINENO"; then :
3334 ac_cv_prog_cxx_g=yes
3337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3338 /* end confdefs.h. */
3348 if ac_fn_cxx_try_compile "$LINENO"; then :
3351 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3354 /* end confdefs.h. */
3364 if ac_fn_cxx_try_compile "$LINENO"; then :
3365 ac_cv_prog_cxx_g=yes
3367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3372 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3375 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3376 if test "$ac_test_CXXFLAGS" = set; then
3377 CXXFLAGS=$ac_save_CXXFLAGS
3378 elif test $ac_cv_prog_cxx_g = yes; then
3379 if test "$GXX" = yes; then
3385 if test "$GXX" = yes; then
3392 ac_cpp='$CPP $CPPFLAGS'
3393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3398 ac_cpp='$CPP $CPPFLAGS'
3399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3402 if test -n "$ac_tool_prefix"; then
3403 for ac_prog in ${host_c_compilers}
3405 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3406 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3408 $as_echo_n "checking for $ac_word... " >&6; }
3409 if ${ac_cv_prog_CC+:} false; then :
3410 $as_echo_n "(cached) " >&6
3412 if test -n "$CC"; then
3413 ac_cv_prog_CC="$CC" # Let the user override the test.
3415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3419 test -z "$as_dir" && as_dir=.
3420 for ac_exec_ext in '' $ac_executable_extensions; do
3421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3422 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3433 if test -n "$CC"; then
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3435 $as_echo "$CC" >&6; }
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3438 $as_echo "no" >&6; }
3442 test -n "$CC" && break
3445 if test -z "$CC"; then
3447 for ac_prog in ${host_c_compilers}
3449 # Extract the first word of "$ac_prog", so it can be a program name with args.
3450 set dummy $ac_prog; ac_word=$2
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3452 $as_echo_n "checking for $ac_word... " >&6; }
3453 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3454 $as_echo_n "(cached) " >&6
3456 if test -n "$ac_ct_CC"; then
3457 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3463 test -z "$as_dir" && as_dir=.
3464 for ac_exec_ext in '' $ac_executable_extensions; do
3465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3466 ac_cv_prog_ac_ct_CC="$ac_prog"
3467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3476 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3477 if test -n "$ac_ct_CC"; then
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3479 $as_echo "$ac_ct_CC" >&6; }
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3482 $as_echo "no" >&6; }
3486 test -n "$ac_ct_CC" && break
3489 if test "x$ac_ct_CC" = x; then
3492 case $cross_compiling:$ac_tool_warned in
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3496 ac_tool_warned=yes ;;
3503 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3505 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3506 See \
`config.log' for more details" "$LINENO" 5; }
3508 # Provide some information about the compiler.
3509 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3512 for ac_option in --version -v -V -qversion; do
3513 { { ac_try="$ac_compiler $ac_option >&5"
3515 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3516 *) ac_try_echo
=$ac_try;;
3518 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3519 $as_echo "$ac_try_echo"; } >&5
3520 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3522 if test -s conftest.err
; then
3524 ... rest of stderr output deleted ...
3525 10q' conftest.err
>conftest.er1
3526 cat conftest.er1
>&5
3528 rm -f conftest.er1 conftest.err
3529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3530 test $ac_status = 0; }
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3534 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3535 if ${ac_cv_c_compiler_gnu+:} false
; then :
3536 $as_echo_n "(cached) " >&6
3538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3539 /* end confdefs.h. */
3552 if ac_fn_c_try_compile
"$LINENO"; then :
3557 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3558 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3562 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3563 if test $ac_compiler_gnu = yes; then
3568 ac_test_CFLAGS
=${CFLAGS+set}
3569 ac_save_CFLAGS
=$CFLAGS
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3571 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3572 if ${ac_cv_prog_cc_g+:} false
; then :
3573 $as_echo_n "(cached) " >&6
3575 ac_save_c_werror_flag
=$ac_c_werror_flag
3576 ac_c_werror_flag
=yes
3579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3580 /* end confdefs.h. */
3590 if ac_fn_c_try_compile
"$LINENO"; then :
3594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3595 /* end confdefs.h. */
3605 if ac_fn_c_try_compile
"$LINENO"; then :
3608 ac_c_werror_flag
=$ac_save_c_werror_flag
3610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3611 /* end confdefs.h. */
3621 if ac_fn_c_try_compile
"$LINENO"; then :
3624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3629 ac_c_werror_flag
=$ac_save_c_werror_flag
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3632 $as_echo "$ac_cv_prog_cc_g" >&6; }
3633 if test "$ac_test_CFLAGS" = set; then
3634 CFLAGS
=$ac_save_CFLAGS
3635 elif test $ac_cv_prog_cc_g = yes; then
3636 if test "$GCC" = yes; then
3642 if test "$GCC" = yes; then
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3649 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3650 if ${ac_cv_prog_cc_c89+:} false
; then :
3651 $as_echo_n "(cached) " >&6
3653 ac_cv_prog_cc_c89
=no
3655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3656 /* end confdefs.h. */
3660 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3661 struct buf { int x; };
3662 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3663 static char *e (p, i)
3669 static char *f (char * (*g) (char **, int), char **p, ...)
3674 s = g (p, va_arg (v,int));
3679 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3680 function prototypes and stuff, but not '\xHH' hex character constants.
3681 These don't provoke an error unfortunately, instead are silently treated
3682 as 'x'. The following induces an error, until -std is added to get
3683 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3684 array size at least. It's necessary to write '\x00'==0 to get something
3685 that's true only with -std. */
3686 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3688 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3689 inside strings and character constants. */
3691 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3693 int test (int i, double x);
3694 struct s1 {int (*f) (int a);};
3695 struct s2 {int (*f) (double a);};
3696 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3702 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3707 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3708 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3710 CC
="$ac_save_CC $ac_arg"
3711 if ac_fn_c_try_compile
"$LINENO"; then :
3712 ac_cv_prog_cc_c89
=$ac_arg
3714 rm -f core conftest.err conftest.
$ac_objext
3715 test "x$ac_cv_prog_cc_c89" != "xno" && break
3717 rm -f conftest.
$ac_ext
3722 case "x$ac_cv_prog_cc_c89" in
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3725 $as_echo "none needed" >&6; } ;;
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3728 $as_echo "unsupported" >&6; } ;;
3730 CC
="$CC $ac_cv_prog_cc_c89"
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3732 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3734 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3739 ac_cpp
='$CPP $CPPFLAGS'
3740 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3741 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3742 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3744 aros_host_def_cc
="$CC"
3745 case $ac_cv_prog_cc_stdc in #(
3747 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3750 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3751 if ${ac_cv_prog_cc_c99+:} false
; then :
3752 $as_echo_n "(cached) " >&6
3754 ac_cv_prog_cc_c99
=no
3756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3757 /* end confdefs.h. */
3759 #include <stdbool.h>
3764 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3765 #define debug(...) fprintf (stderr, __VA_ARGS__)
3766 #define showlist(...) puts (#__VA_ARGS__)
3767 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3769 test_varargs_macros (void)
3774 debug ("X = %d\n", x);
3775 showlist (The first, second, and third items.);
3776 report (x>y, "x is %d but y is %d", x, y);
3779 // Check long long types.
3780 #define BIG64 18446744073709551615ull
3781 #define BIG32 4294967295ul
3782 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3784 your preprocessor is broken;
3788 your preprocessor is broken;
3790 static long long int bignum = -9223372036854775807LL;
3791 static unsigned long long int ubignum = BIG64;
3793 struct incomplete_array
3801 const wchar_t *name;
3805 typedef const char *ccp;
3808 test_restrict (ccp restrict text)
3810 // See if C++-style comments work.
3811 // Iterate through items via the restricted pointer.
3812 // Also check for declarations in for loops.
3813 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3818 // Check varargs and va_copy.
3820 test_varargs (const char *format, ...)
3823 va_start (args, format);
3825 va_copy (args_copy, args);
3836 str = va_arg (args_copy, const char *);
3839 number = va_arg (args_copy, int);
3842 fnumber = va_arg (args_copy, double);
3857 _Bool success = false;
3860 if (test_restrict ("String literal") == 0)
3862 char *restrict newvar = "Another string";
3865 test_varargs ("s, d' f .", "string", 65, 34.234);
3866 test_varargs_macros ();
3868 // Check flexible array members.
3869 struct incomplete_array *ia =
3870 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3872 for (int i = 0; i < ia->datasize; ++i)
3873 ia->data[i] = i * 1.234;
3875 // Check named initializers.
3876 struct named_init ni = {
3878 .name = L"Test wide string",
3879 .average = 543.34343,
3884 int dynamic_array[ni.number];
3885 dynamic_array[ni.number - 1] = 543;
3887 // work around unused variable warnings
3888 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3889 || dynamic_array[ni.number - 1] != 543);
3895 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
3897 CC
="$ac_save_CC $ac_arg"
3898 if ac_fn_c_try_compile
"$LINENO"; then :
3899 ac_cv_prog_cc_c99
=$ac_arg
3901 rm -f core conftest.err conftest.
$ac_objext
3902 test "x$ac_cv_prog_cc_c99" != "xno" && break
3904 rm -f conftest.
$ac_ext
3909 case "x$ac_cv_prog_cc_c99" in
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3912 $as_echo "none needed" >&6; } ;;
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3915 $as_echo "unsupported" >&6; } ;;
3917 CC
="$CC $ac_cv_prog_cc_c99"
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3919 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3921 if test "x$ac_cv_prog_cc_c99" != xno
; then :
3922 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3925 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3926 if ${ac_cv_prog_cc_c89+:} false
; then :
3927 $as_echo_n "(cached) " >&6
3929 ac_cv_prog_cc_c89
=no
3931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3932 /* end confdefs.h. */
3936 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3937 struct buf { int x; };
3938 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3939 static char *e (p, i)
3945 static char *f (char * (*g) (char **, int), char **p, ...)
3950 s = g (p, va_arg (v,int));
3955 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3956 function prototypes and stuff, but not '\xHH' hex character constants.
3957 These don't provoke an error unfortunately, instead are silently treated
3958 as 'x'. The following induces an error, until -std is added to get
3959 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3960 array size at least. It's necessary to write '\x00'==0 to get something
3961 that's true only with -std. */
3962 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3964 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3965 inside strings and character constants. */
3967 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3969 int test (int i, double x);
3970 struct s1 {int (*f) (int a);};
3971 struct s2 {int (*f) (double a);};
3972 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3978 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3983 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3984 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3986 CC
="$ac_save_CC $ac_arg"
3987 if ac_fn_c_try_compile
"$LINENO"; then :
3988 ac_cv_prog_cc_c89
=$ac_arg
3990 rm -f core conftest.err conftest.
$ac_objext
3991 test "x$ac_cv_prog_cc_c89" != "xno" && break
3993 rm -f conftest.
$ac_ext
3998 case "x$ac_cv_prog_cc_c89" in
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4001 $as_echo "none needed" >&6; } ;;
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4004 $as_echo "unsupported" >&6; } ;;
4006 CC
="$CC $ac_cv_prog_cc_c89"
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4008 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4010 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4011 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4013 ac_cv_prog_cc_stdc
=no
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4020 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4021 if ${ac_cv_prog_cc_stdc+:} false
; then :
4022 $as_echo_n "(cached) " >&6
4025 case $ac_cv_prog_cc_stdc in #(
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4028 $as_echo "unsupported" >&6; } ;; #(
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4031 $as_echo "none needed" >&6; } ;; #(
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4034 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4038 ac_cpp
='$CPP $CPPFLAGS'
4039 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4040 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4041 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4043 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4044 # On Suns, sometimes $CPP names a directory.
4045 if test -n "$CPP" && test -d "$CPP"; then
4048 if test -z "$CPP"; then
4049 if ${ac_cv_prog_CPP+:} false
; then :
4050 $as_echo_n "(cached) " >&6
4052 # Double quotes because CPP needs to be expanded
4053 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4056 for ac_c_preproc_warn_flag
in '' yes
4058 # Use a header file that comes with gcc, so configuring glibc
4059 # with a fresh cross-compiler works.
4060 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4061 # <limits.h> exists even on freestanding compilers.
4062 # On the NeXT, cc -E runs the code through the compiler's parser,
4063 # not just through cpp. "Syntax error" is here to catch this case.
4064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4065 /* end confdefs.h. */
4067 # include <limits.h>
4069 # include <assert.h>
4073 if ac_fn_c_try_cpp
"$LINENO"; then :
4076 # Broken: fails on valid input.
4079 rm -f conftest.err conftest.i conftest.
$ac_ext
4081 # OK, works on sane cases. Now check whether nonexistent headers
4082 # can be detected and how.
4083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4084 /* end confdefs.h. */
4085 #include <ac_nonexistent.h>
4087 if ac_fn_c_try_cpp
"$LINENO"; then :
4088 # Broken: success on invalid input.
4091 # Passes both tests.
4095 rm -f conftest.err conftest.i conftest.
$ac_ext
4098 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4099 rm -f conftest.i conftest.err conftest.
$ac_ext
4100 if $ac_preproc_ok; then :
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4113 $as_echo "$CPP" >&6; }
4115 for ac_c_preproc_warn_flag
in '' yes
4117 # Use a header file that comes with gcc, so configuring glibc
4118 # with a fresh cross-compiler works.
4119 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4120 # <limits.h> exists even on freestanding compilers.
4121 # On the NeXT, cc -E runs the code through the compiler's parser,
4122 # not just through cpp. "Syntax error" is here to catch this case.
4123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4124 /* end confdefs.h. */
4126 # include <limits.h>
4128 # include <assert.h>
4132 if ac_fn_c_try_cpp
"$LINENO"; then :
4135 # Broken: fails on valid input.
4138 rm -f conftest.err conftest.i conftest.
$ac_ext
4140 # OK, works on sane cases. Now check whether nonexistent headers
4141 # can be detected and how.
4142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4143 /* end confdefs.h. */
4144 #include <ac_nonexistent.h>
4146 if ac_fn_c_try_cpp
"$LINENO"; then :
4147 # Broken: success on invalid input.
4150 # Passes both tests.
4154 rm -f conftest.err conftest.i conftest.
$ac_ext
4157 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4158 rm -f conftest.i conftest.err conftest.
$ac_ext
4159 if $ac_preproc_ok; then :
4162 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4163 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4164 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4165 See \`config.log' for more details" "$LINENO" 5; }
4169 ac_cpp
='$CPP $CPPFLAGS'
4170 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4171 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4172 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4175 # Check for a compatible awk
4176 for ac_prog
in gawk nawk
4178 # Extract the first word of "$ac_prog", so it can be a program name with args.
4179 set dummy
$ac_prog; ac_word
=$2
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4181 $as_echo_n "checking for $ac_word... " >&6; }
4182 if ${ac_cv_prog_AWK+:} false
; then :
4183 $as_echo_n "(cached) " >&6
4185 if test -n "$AWK"; then
4186 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4192 test -z "$as_dir" && as_dir
=.
4193 for ac_exec_ext
in '' $ac_executable_extensions; do
4194 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4195 ac_cv_prog_AWK
="$ac_prog"
4196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4206 if test -n "$AWK"; then
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4208 $as_echo "$AWK" >&6; }
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4211 $as_echo "no" >&6; }
4215 test -n "$AWK" && break
4219 if test "$AWK" = ""; then
4222 if test "$AWK" = "no"; then
4225 if test "$req_avail" = "no"; then
4226 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4228 # Extract the first word of "mmake", so it can be a program name with args.
4229 set dummy mmake
; ac_word
=$2
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4231 $as_echo_n "checking for $ac_word... " >&6; }
4232 if ${ac_cv_prog_MMAKE+:} false
; then :
4233 $as_echo_n "(cached) " >&6
4235 if test -n "$MMAKE"; then
4236 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4242 test -z "$as_dir" && as_dir
=.
4243 for ac_exec_ext
in '' $ac_executable_extensions; do
4244 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4245 ac_cv_prog_MMAKE
="mmake "
4246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4255 MMAKE
=$ac_cv_prog_MMAKE
4256 if test -n "$MMAKE"; then
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4258 $as_echo "$MMAKE" >&6; }
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4261 $as_echo "no" >&6; }
4266 # Perform some default variable assignments. Note all of these will be
4267 # Regenerated from the script, so there is no need to cache them.
4269 aros_build_host
=$host
4270 aros_host_cpp
="$CPP"
4272 aros_host_cxx
="$CXX"
4273 if test "$GCC" = "yes"; then
4274 aros_gcc_ld
=`$CC -print-prog-name=ld`
4275 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4276 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4278 $as_echo_n "checking for $ac_word... " >&6; }
4279 if ${ac_cv_path_aros_host_ld+:} false
; then :
4280 $as_echo_n "(cached) " >&6
4282 case $aros_host_ld in
4284 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4288 for as_dir
in `dirname $aros_gcc_ld`
4291 test -z "$as_dir" && as_dir
=.
4292 for ac_exec_ext
in '' $ac_executable_extensions; do
4293 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4294 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4305 aros_host_ld
=$ac_cv_path_aros_host_ld
4306 if test -n "$aros_host_ld"; then
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4308 $as_echo "$aros_host_ld" >&6; }
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4311 $as_echo "no" >&6; }
4316 if test "$aros_host_ld" = ""; then
4317 # Extract the first word of "ld", so it can be a program name with args.
4318 set dummy ld
; ac_word
=$2
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4320 $as_echo_n "checking for $ac_word... " >&6; }
4321 if ${ac_cv_path_aros_host_ld+:} false
; then :
4322 $as_echo_n "(cached) " >&6
4324 case $aros_host_ld in
4326 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4333 test -z "$as_dir" && as_dir
=.
4334 for ac_exec_ext
in '' $ac_executable_extensions; do
4335 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4336 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4347 aros_host_ld
=$ac_cv_path_aros_host_ld
4348 if test -n "$aros_host_ld"; then
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4350 $as_echo "$aros_host_ld" >&6; }
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4353 $as_echo "no" >&6; }
4359 if test "$aros_host_ld" = ""; then
4362 if test "$aros_host_ld" = "no"; then
4365 if test "$req_avail" = "no"; then
4366 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4368 aros_host_make
="make"
4369 aros_host_cflags
="$CFLAGS"
4370 aros_host_cxxflags
="$CXXFLAGS"
4371 aros_host_cppflags
="$CPPFLAGS"
4372 aros_host_ldflags
="$LDFLAGS"
4373 aros_host_debug
="-g -O0"
4374 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4375 aros_host_mkargs
="--no-print-directory"
4376 aros_host_exe_suffix
="$EXEEXT"
4377 aros_host_lib_suffix
=""
4379 # Ignore all compliance, AROS ROMs = 0
4380 # KickStart v1.0 = 30
4381 # KickStart v1.3 = 34
4382 # KickStart v2.0 = 37
4383 # KickStart v3.0 = 39
4384 # KickStart v3.1 = 40
4386 aros_amigaos_compliance
=0
4388 for ac_prog
in aclocal aclocal19 aclocal-1.9
4390 # Extract the first word of "$ac_prog", so it can be a program name with args.
4391 set dummy
$ac_prog; ac_word
=$2
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4393 $as_echo_n "checking for $ac_word... " >&6; }
4394 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4395 $as_echo_n "(cached) " >&6
4397 if test -n "$aros_host_aclocal"; then
4398 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4404 test -z "$as_dir" && as_dir
=.
4405 for ac_exec_ext
in '' $ac_executable_extensions; do
4406 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4407 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4417 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4418 if test -n "$aros_host_aclocal"; then
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4420 $as_echo "$aros_host_aclocal" >&6; }
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423 $as_echo "no" >&6; }
4427 test -n "$aros_host_aclocal" && break
4430 for ac_prog
in autoconf autoconf259 autoconf253
4432 # Extract the first word of "$ac_prog", so it can be a program name with args.
4433 set dummy
$ac_prog; ac_word
=$2
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4435 $as_echo_n "checking for $ac_word... " >&6; }
4436 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4437 $as_echo_n "(cached) " >&6
4439 if test -n "$aros_host_autoconf"; then
4440 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4446 test -z "$as_dir" && as_dir
=.
4447 for ac_exec_ext
in '' $ac_executable_extensions; do
4448 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4449 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4459 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4460 if test -n "$aros_host_autoconf"; then
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4462 $as_echo "$aros_host_autoconf" >&6; }
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4465 $as_echo "no" >&6; }
4469 test -n "$aros_host_autoconf" && break
4472 for ac_prog
in autoheader autoheader259 autoheader253
4474 # Extract the first word of "$ac_prog", so it can be a program name with args.
4475 set dummy
$ac_prog; ac_word
=$2
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4477 $as_echo_n "checking for $ac_word... " >&6; }
4478 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4479 $as_echo_n "(cached) " >&6
4481 if test -n "$aros_host_autoheader"; then
4482 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4488 test -z "$as_dir" && as_dir
=.
4489 for ac_exec_ext
in '' $ac_executable_extensions; do
4490 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4491 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4501 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4502 if test -n "$aros_host_autoheader"; then
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4504 $as_echo "$aros_host_autoheader" >&6; }
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4507 $as_echo "no" >&6; }
4511 test -n "$aros_host_autoheader" && break
4514 for ac_prog
in automake automake19 automake-1.9
4516 # Extract the first word of "$ac_prog", so it can be a program name with args.
4517 set dummy
$ac_prog; ac_word
=$2
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4519 $as_echo_n "checking for $ac_word... " >&6; }
4520 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4521 $as_echo_n "(cached) " >&6
4523 if test -n "$aros_host_automake"; then
4524 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4530 test -z "$as_dir" && as_dir
=.
4531 for ac_exec_ext
in '' $ac_executable_extensions; do
4532 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4533 ac_cv_prog_aros_host_automake
="$ac_prog"
4534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4543 aros_host_automake
=$ac_cv_prog_aros_host_automake
4544 if test -n "$aros_host_automake"; then
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4546 $as_echo "$aros_host_automake" >&6; }
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4549 $as_echo "no" >&6; }
4553 test -n "$aros_host_automake" && break
4558 if test "$aros_host_aclocal" = ""; then
4561 if test "$aros_host_aclocal" = "no"; then
4564 if test "$req_avail" = "no"; then
4565 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4568 if test "$aros_host_automake" = ""; then
4571 if test "$aros_host_automake" = "no"; then
4574 if test "$req_avail" = "no"; then
4575 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4578 case "$aros_host_cc" in
4580 aros_host_cc_pipe
=""
4583 aros_host_cc_pipe
="-pipe"
4586 aros_host_cc_pipe
=""
4589 aros_host_cc_pipe
=""
4593 aros_kernel_cc_includes
=""
4594 aros_target_cc_includes
=""
4597 # ----------------------------------------------------------------------------------------
4598 # Host-specific defaults
4600 # This is the main host configuration section. It is where the host
4601 # can change the values of any variables it needs to change. We do
4602 # not look at anything that compiles to the target yet, we'll get
4607 aros_host_arch
="aros"
4608 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4611 aros_host_cpu
="i386"
4614 aros_host_cpu
="x86_64"
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4621 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4622 aros_host_cpu
="$host_cpu"
4628 aros_host_arch
="linux"
4629 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4630 android_build_os
="linux-x86"
4631 android_tool
="android"
4632 default_android_sdk
="/opt/android-sdk-linux_x86"
4635 aros_host_cpu
="i386"
4638 aros_host_cpu
="x86_64"
4641 aros_host_cpu
="m68k"
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4651 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4652 aros_host_cpu
="$host_cpu"
4658 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe -I/usr/local/include"
4659 aros_host_make
="gmake"
4660 aros_host_arch
="freebsd"
4661 aros_host_cpu
="i386"
4663 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4667 aros_object_format
="elf_i386"
4671 aros_object_format
="elf_i386_fbsd"
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/include/stddef.h" >&5
4679 $as_echo_n "checking for /usr/include/stddef.h... " >&6; }
4680 if ${ac_cv_file__usr_include_stddef_h+:} false
; then :
4681 $as_echo_n "(cached) " >&6
4683 test "$cross_compiling" = yes &&
4684 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
4685 if test -r "/usr/include/stddef.h"; then
4686 ac_cv_file__usr_include_stddef_h
=yes
4688 ac_cv_file__usr_include_stddef_h
=no
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_include_stddef_h" >&5
4692 $as_echo "$ac_cv_file__usr_include_stddef_h" >&6; }
4693 if test "x$ac_cv_file__usr_include_stddef_h" = xyes
; then :
4696 as_fn_error $?
"XCode incorrectly configured!
4697 please run 'xcode-select --install' before
4698 re-running configure" "$LINENO" 5
4702 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4703 aros_host_arch
="darwin"
4705 if [ -z ${SED+x} ]; then SED
="gsed"; fi
4706 android_build_os
="darwin-x86"
4707 android_tool
="android"
4708 default_android_sdk
="/android-sdk-mac_x86"
4711 aros_host_cpu
="i386"
4714 aros_host_cpu
="x86_64"
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4721 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4722 aros_host_cpu
="$host_cpu"
4726 aros_host_ldflags
="$aros_host_ldflags -liconv"
4731 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4732 aros_host_make
="gmake"
4733 aros_host_arch
="dragonfly"
4736 aros_host_cpu
="i386"
4739 aros_host_cpu
="x86_64"
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4743 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4744 aros_host_cpu
="$host_cpu"
4750 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4751 aros_host_make
="gmake"
4752 aros_host_arch
="netbsd"
4755 aros_host_cpu
="i386"
4758 aros_host_cpu
="m68k"
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4762 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4763 aros_host_cpu
="$host_cpu"
4766 aros_host_lib_suffix
=".0.0"
4770 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4771 aros_host_make
="gmake"
4772 aros_host_arch
="openbsd"
4775 aros_host_cpu
="i386"
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4779 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4780 aros_host_cpu
="$host_cpu"
4786 aros_host_arch
="solaris"
4787 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4790 aros_host_cpu
="i386"
4793 aros_host_cpu
="sparc"
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4797 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4798 aros_host_cpu
="$host_cpu"
4804 aros_host_arch
="morphos"
4810 aros_host_arch
="amiga"
4816 TOUCH
="/gg/bin/touch"
4819 aros_host_cpu
="m68k"
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4826 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4827 aros_host_cpu
="$host_cpu"
4833 aros_host_arch
="cygwin"
4834 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4836 android_build_os
="windows"
4837 android_tool
="android.bat"
4838 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4842 aros_host_cpu
="i386"
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4846 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4847 aros_host_cpu
="$host_cpu"
4853 aros_host_arch
="mingw32"
4854 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4856 android_build_os
="windows"
4857 android_tool
="android.bat"
4858 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4860 libpng_libextra
="-lws2_32"
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4866 $as_echo_n "checking for Windows native gcc target... " >&6; }
4867 host_cpu
=`gcc -dumpmachine`
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4869 $as_echo "$host_cpu" >&6; }
4876 aros_host_cpu
="i386"
4880 aros_host_cpu
="i386"
4884 aros_host_cpu
="x86_64"
4885 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4890 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4891 aros_host_cpu
="$host_cpu"
4896 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4900 # Extract the first word of "ar", so it can be a program name with args.
4901 set dummy
ar; ac_word
=$2
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4903 $as_echo_n "checking for $ac_word... " >&6; }
4904 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4905 $as_echo_n "(cached) " >&6
4907 if test -n "$aros_host_ar"; then
4908 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4914 test -z "$as_dir" && as_dir
=.
4915 for ac_exec_ext
in '' $ac_executable_extensions; do
4916 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4917 ac_cv_prog_aros_host_ar
="ar cr"
4918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4927 aros_host_ar
=$ac_cv_prog_aros_host_ar
4928 if test -n "$aros_host_ar"; then
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4930 $as_echo "$aros_host_ar" >&6; }
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4933 $as_echo "no" >&6; }
4938 if test "$aros_host_ar" = ""; then
4941 if test "$aros_host_ar" = "no"; then
4944 if test "$req_avail" = "no"; then
4945 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4947 # Extract the first word of "ranlib", so it can be a program name with args.
4948 set dummy ranlib
; ac_word
=$2
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4950 $as_echo_n "checking for $ac_word... " >&6; }
4951 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4952 $as_echo_n "(cached) " >&6
4954 if test -n "$aros_host_ranlib"; then
4955 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4961 test -z "$as_dir" && as_dir
=.
4962 for ac_exec_ext
in '' $ac_executable_extensions; do
4963 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4964 ac_cv_prog_aros_host_ranlib
="ranlib "
4965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4974 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4975 if test -n "$aros_host_ranlib"; then
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4977 $as_echo "$aros_host_ranlib" >&6; }
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4980 $as_echo "no" >&6; }
4985 if test "$aros_host_ranlib" = ""; then
4988 if test "$aros_host_ranlib" = "no"; then
4991 if test "$req_avail" = "no"; then
4992 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4994 # Extract the first word of "strip", so it can be a program name with args.
4995 set dummy strip
; ac_word
=$2
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4997 $as_echo_n "checking for $ac_word... " >&6; }
4998 if ${ac_cv_prog_aros_host_strip+:} false
; then :
4999 $as_echo_n "(cached) " >&6
5001 if test -n "$aros_host_strip"; then
5002 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5008 test -z "$as_dir" && as_dir
=.
5009 for ac_exec_ext
in '' $ac_executable_extensions; do
5010 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5011 ac_cv_prog_aros_host_strip
="strip "
5012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5021 aros_host_strip
=$ac_cv_prog_aros_host_strip
5022 if test -n "$aros_host_strip"; then
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5024 $as_echo "$aros_host_strip" >&6; }
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5027 $as_echo "no" >&6; }
5032 if test "$aros_host_strip" = ""; then
5035 if test "$aros_host_strip" = "no"; then
5038 if test "$req_avail" = "no"; then
5039 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5042 # Extract the first word of "rm", so it can be a program name with args.
5043 set dummy
rm; ac_word
=$2
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5045 $as_echo_n "checking for $ac_word... " >&6; }
5046 if ${ac_cv_prog_RM+:} false
; then :
5047 $as_echo_n "(cached) " >&6
5049 if test -n "$RM"; then
5050 ac_cv_prog_RM
="$RM" # Let the user override the test.
5052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5056 test -z "$as_dir" && as_dir
=.
5057 for ac_exec_ext
in '' $ac_executable_extensions; do
5058 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5059 ac_cv_prog_RM
="rm -rf"
5060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5070 if test -n "$RM"; then
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5072 $as_echo "$RM" >&6; }
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5080 if test "$RM" = ""; then
5083 if test "$RM" = "no"; then
5086 if test "$req_avail" = "no"; then
5087 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5089 # Extract the first word of "cp", so it can be a program name with args.
5090 set dummy
cp; ac_word
=$2
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5092 $as_echo_n "checking for $ac_word... " >&6; }
5093 if ${ac_cv_prog_CP+:} false
; then :
5094 $as_echo_n "(cached) " >&6
5096 if test -n "$CP"; then
5097 ac_cv_prog_CP
="$CP" # Let the user override the test.
5099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5103 test -z "$as_dir" && as_dir
=.
5104 for ac_exec_ext
in '' $ac_executable_extensions; do
5105 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5117 if test -n "$CP"; then
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5119 $as_echo "$CP" >&6; }
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5122 $as_echo "no" >&6; }
5127 if test "$CP" = ""; then
5130 if test "$CP" = "no"; then
5133 if test "$req_avail" = "no"; then
5134 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5136 # Extract the first word of "mv", so it can be a program name with args.
5137 set dummy
mv; ac_word
=$2
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5139 $as_echo_n "checking for $ac_word... " >&6; }
5140 if ${ac_cv_prog_MV+:} false
; then :
5141 $as_echo_n "(cached) " >&6
5143 if test -n "$MV"; then
5144 ac_cv_prog_MV
="$MV" # Let the user override the test.
5146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5150 test -z "$as_dir" && as_dir
=.
5151 for ac_exec_ext
in '' $ac_executable_extensions; do
5152 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5164 if test -n "$MV"; then
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5166 $as_echo "$MV" >&6; }
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5169 $as_echo "no" >&6; }
5174 if test "$MV" = ""; then
5177 if test "$MV" = "no"; then
5180 if test "$req_avail" = "no"; then
5181 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5183 # Extract the first word of "echo", so it can be a program name with args.
5184 set dummy
echo; ac_word
=$2
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5186 $as_echo_n "checking for $ac_word... " >&6; }
5187 if ${ac_cv_prog_ECHO+:} false
; then :
5188 $as_echo_n "(cached) " >&6
5190 if test -n "$ECHO"; then
5191 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5197 test -z "$as_dir" && as_dir
=.
5198 for ac_exec_ext
in '' $ac_executable_extensions; do
5199 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5200 ac_cv_prog_ECHO
="echo "
5201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5210 ECHO
=$ac_cv_prog_ECHO
5211 if test -n "$ECHO"; then
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5213 $as_echo "$ECHO" >&6; }
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5216 $as_echo "no" >&6; }
5221 if test "$ECHO" = ""; then
5224 if test "$ECHO" = "no"; then
5227 if test "$req_avail" = "no"; then
5228 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5230 # Extract the first word of "mkdir", so it can be a program name with args.
5231 set dummy mkdir
; ac_word
=$2
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5233 $as_echo_n "checking for $ac_word... " >&6; }
5234 if ${ac_cv_prog_MKDIR+:} false
; then :
5235 $as_echo_n "(cached) " >&6
5237 if test -n "$MKDIR"; then
5238 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5244 test -z "$as_dir" && as_dir
=.
5245 for ac_exec_ext
in '' $ac_executable_extensions; do
5246 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5247 ac_cv_prog_MKDIR
="mkdir -p"
5248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5257 MKDIR
=$ac_cv_prog_MKDIR
5258 if test -n "$MKDIR"; then
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5260 $as_echo "$MKDIR" >&6; }
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5263 $as_echo "no" >&6; }
5268 if test "$MKDIR" = ""; then
5271 if test "$MKDIR" = "no"; then
5274 if test "$req_avail" = "no"; then
5275 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5277 # Extract the first word of "touch", so it can be a program name with args.
5278 set dummy
touch; ac_word
=$2
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5280 $as_echo_n "checking for $ac_word... " >&6; }
5281 if ${ac_cv_prog_TOUCH+:} false
; then :
5282 $as_echo_n "(cached) " >&6
5284 if test -n "$TOUCH"; then
5285 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5291 test -z "$as_dir" && as_dir
=.
5292 for ac_exec_ext
in '' $ac_executable_extensions; do
5293 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5294 ac_cv_prog_TOUCH
="touch "
5295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5304 TOUCH
=$ac_cv_prog_TOUCH
5305 if test -n "$TOUCH"; then
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5307 $as_echo "$TOUCH" >&6; }
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5310 $as_echo "no" >&6; }
5315 if test "$TOUCH" = ""; then
5318 if test "$TOUCH" = "no"; then
5321 if test "$req_avail" = "no"; then
5322 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5324 # Extract the first word of "sort", so it can be a program name with args.
5325 set dummy
sort; ac_word
=$2
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5327 $as_echo_n "checking for $ac_word... " >&6; }
5328 if ${ac_cv_prog_SORT+:} false
; then :
5329 $as_echo_n "(cached) " >&6
5331 if test -n "$SORT"; then
5332 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5338 test -z "$as_dir" && as_dir
=.
5339 for ac_exec_ext
in '' $ac_executable_extensions; do
5340 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5341 ac_cv_prog_SORT
="sort "
5342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5351 SORT
=$ac_cv_prog_SORT
5352 if test -n "$SORT"; then
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5354 $as_echo "$SORT" >&6; }
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5357 $as_echo "no" >&6; }
5362 if test "$SORT" = ""; then
5365 if test "$SORT" = "no"; then
5368 if test "$req_avail" = "no"; then
5369 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5371 # Extract the first word of "uniq", so it can be a program name with args.
5372 set dummy
uniq; ac_word
=$2
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5374 $as_echo_n "checking for $ac_word... " >&6; }
5375 if ${ac_cv_prog_UNIQ+:} false
; then :
5376 $as_echo_n "(cached) " >&6
5378 if test -n "$UNIQ"; then
5379 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5385 test -z "$as_dir" && as_dir
=.
5386 for ac_exec_ext
in '' $ac_executable_extensions; do
5387 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5388 ac_cv_prog_UNIQ
="uniq "
5389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5398 UNIQ
=$ac_cv_prog_UNIQ
5399 if test -n "$UNIQ"; then
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5401 $as_echo "$UNIQ" >&6; }
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5404 $as_echo "no" >&6; }
5409 if test "$UNIQ" = ""; then
5412 if test "$UNIQ" = "no"; then
5415 if test "$req_avail" = "no"; then
5416 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5418 # Extract the first word of "true", so it can be a program name with args.
5419 set dummy true
; ac_word
=$2
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5421 $as_echo_n "checking for $ac_word... " >&6; }
5422 if ${ac_cv_prog_NOP+:} false
; then :
5423 $as_echo_n "(cached) " >&6
5425 if test -n "$NOP"; then
5426 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5432 test -z "$as_dir" && as_dir
=.
5433 for ac_exec_ext
in '' $ac_executable_extensions; do
5434 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5435 ac_cv_prog_NOP
="true "
5436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5446 if test -n "$NOP"; then
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5448 $as_echo "$NOP" >&6; }
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5451 $as_echo "no" >&6; }
5456 if test "$NOP" = ""; then
5459 if test "$NOP" = "no"; then
5462 if test "$req_avail" = "no"; then
5463 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5465 # Extract the first word of "cat", so it can be a program name with args.
5466 set dummy
cat; ac_word
=$2
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5468 $as_echo_n "checking for $ac_word... " >&6; }
5469 if ${ac_cv_prog_CAT+:} false
; then :
5470 $as_echo_n "(cached) " >&6
5472 if test -n "$CAT"; then
5473 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5479 test -z "$as_dir" && as_dir
=.
5480 for ac_exec_ext
in '' $ac_executable_extensions; do
5481 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5482 ac_cv_prog_CAT
="cat "
5483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5493 if test -n "$CAT"; then
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5495 $as_echo "$CAT" >&6; }
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5498 $as_echo "no" >&6; }
5503 if test "$CAT" = ""; then
5506 if test "$CAT" = "no"; then
5509 if test "$req_avail" = "no"; then
5510 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5512 # Extract the first word of "bison", so it can be a program name with args.
5513 set dummy bison
; ac_word
=$2
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5515 $as_echo_n "checking for $ac_word... " >&6; }
5516 if ${ac_cv_prog_BISON+:} false
; then :
5517 $as_echo_n "(cached) " >&6
5519 if test -n "$BISON"; then
5520 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5526 test -z "$as_dir" && as_dir
=.
5527 for ac_exec_ext
in '' $ac_executable_extensions; do
5528 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5529 ac_cv_prog_BISON
="bison "
5530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5539 BISON
=$ac_cv_prog_BISON
5540 if test -n "$BISON"; then
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5542 $as_echo "$BISON" >&6; }
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5545 $as_echo "no" >&6; }
5550 if test "$BISON" = ""; then
5553 if test "$BISON" = "no"; then
5556 if test "$req_avail" = "no"; then
5557 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5559 # Extract the first word of "flex", so it can be a program name with args.
5560 set dummy flex
; ac_word
=$2
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5562 $as_echo_n "checking for $ac_word... " >&6; }
5563 if ${ac_cv_prog_FLEX+:} false
; then :
5564 $as_echo_n "(cached) " >&6
5566 if test -n "$FLEX"; then
5567 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5573 test -z "$as_dir" && as_dir
=.
5574 for ac_exec_ext
in '' $ac_executable_extensions; do
5575 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5576 ac_cv_prog_FLEX
="flex "
5577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5586 FLEX
=$ac_cv_prog_FLEX
5587 if test -n "$FLEX"; then
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5589 $as_echo "$FLEX" >&6; }
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5592 $as_echo "no" >&6; }
5597 if test "$FLEX" = ""; then
5600 if test "$FLEX" = "no"; then
5603 if test "$req_avail" = "no"; then
5604 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5606 # Extract the first word of "pngtopnm", so it can be a program name with args.
5607 set dummy pngtopnm
; ac_word
=$2
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5609 $as_echo_n "checking for $ac_word... " >&6; }
5610 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5611 $as_echo_n "(cached) " >&6
5613 if test -n "$PNGTOPNM"; then
5614 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5620 test -z "$as_dir" && as_dir
=.
5621 for ac_exec_ext
in '' $ac_executable_extensions; do
5622 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5623 ac_cv_prog_PNGTOPNM
="pngtopnm "
5624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5633 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5634 if test -n "$PNGTOPNM"; then
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5636 $as_echo "$PNGTOPNM" >&6; }
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5639 $as_echo "no" >&6; }
5644 if test "$PNGTOPNM" = ""; then
5647 if test "$PNGTOPNM" = "no"; then
5650 if test "$req_avail" = "no"; then
5651 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5653 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5654 set dummy ppmtoilbm
; ac_word
=$2
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5656 $as_echo_n "checking for $ac_word... " >&6; }
5657 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5658 $as_echo_n "(cached) " >&6
5660 if test -n "$PPMTOILBM"; then
5661 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5667 test -z "$as_dir" && as_dir
=.
5668 for ac_exec_ext
in '' $ac_executable_extensions; do
5669 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5670 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5680 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5681 if test -n "$PPMTOILBM"; then
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5683 $as_echo "$PPMTOILBM" >&6; }
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5686 $as_echo "no" >&6; }
5691 if test "$PPMTOILBM" = ""; then
5694 if test "$PPMTOILBM" = "no"; then
5697 if test "$req_avail" = "no"; then
5698 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5700 # Extract the first word of "sed", so it can be a program name with args.
5701 set dummy
sed; ac_word
=$2
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5703 $as_echo_n "checking for $ac_word... " >&6; }
5704 if ${ac_cv_prog_SED+:} false
; then :
5705 $as_echo_n "(cached) " >&6
5707 if test -n "$SED"; then
5708 ac_cv_prog_SED
="$SED" # Let the user override the test.
5710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5714 test -z "$as_dir" && as_dir
=.
5715 for ac_exec_ext
in '' $ac_executable_extensions; do
5716 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5717 ac_cv_prog_SED
="sed "
5718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5728 if test -n "$SED"; then
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5730 $as_echo "$SED" >&6; }
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5733 $as_echo "no" >&6; }
5738 if test "$SED" = ""; then
5741 if test "$SED" = "no"; then
5744 if test "$req_avail" = "no"; then
5745 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5747 # Extract the first word of "chmod", so it can be a program name with args.
5748 set dummy
chmod; ac_word
=$2
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5750 $as_echo_n "checking for $ac_word... " >&6; }
5751 if ${ac_cv_prog_CHMOD+:} false
; then :
5752 $as_echo_n "(cached) " >&6
5754 if test -n "$CHMOD"; then
5755 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5761 test -z "$as_dir" && as_dir
=.
5762 for ac_exec_ext
in '' $ac_executable_extensions; do
5763 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5764 ac_cv_prog_CHMOD
="chmod "
5765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5774 CHMOD
=$ac_cv_prog_CHMOD
5775 if test -n "$CHMOD"; then
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5777 $as_echo "$CHMOD" >&6; }
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5780 $as_echo "no" >&6; }
5785 if test "$CHMOD" = ""; then
5788 if test "$CHMOD" = "no"; then
5791 if test "$req_avail" = "no"; then
5792 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5794 # Extract the first word of "patch", so it can be a program name with args.
5795 set dummy
patch; ac_word
=$2
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5797 $as_echo_n "checking for $ac_word... " >&6; }
5798 if ${ac_cv_prog_PATCH+:} false
; then :
5799 $as_echo_n "(cached) " >&6
5801 if test -n "$PATCH"; then
5802 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5808 test -z "$as_dir" && as_dir
=.
5809 for ac_exec_ext
in '' $ac_executable_extensions; do
5810 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5811 ac_cv_prog_PATCH
="patch "
5812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5821 PATCH
=$ac_cv_prog_PATCH
5822 if test -n "$PATCH"; then
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5824 $as_echo "$PATCH" >&6; }
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5827 $as_echo "no" >&6; }
5832 if test "$PATCH" = ""; then
5835 if test "$PATCH" = "no"; then
5838 if test "$req_avail" = "no"; then
5839 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5848 if test -n "$PYTHON"; then
5849 # If the user set $PYTHON, use it and don't search something else.
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
5851 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
5853 # split strings by '.' and convert to numeric. Append some zeros
5854 # because we need at least 4 digits for the hex conversion.
5855 # map returns an iterator in Python 3.0 and a list in 2.x
5856 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5858 # xrange is not present in Python 3.0 and range returns an iterator
5859 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5860 sys.exit(sys.hexversion < minverhex)"
5861 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5862 ($PYTHON -c "$prog") >&5 2>&5
5864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865 (exit $ac_status); }; then :
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5867 $as_echo "yes" >&6; }
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5870 $as_echo "no" >&6; }
5871 as_fn_error $?
"Python interpreter is too old" "$LINENO" 5
5873 am_display_PYTHON
=$PYTHON
5875 # Otherwise, try each interpreter until we find one that satisfies
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5878 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5879 if ${am_cv_pathless_PYTHON+:} false
; then :
5880 $as_echo_n "(cached) " >&6
5883 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
5884 test "$am_cv_pathless_PYTHON" = none
&& break
5886 # split strings by '.' and convert to numeric. Append some zeros
5887 # because we need at least 4 digits for the hex conversion.
5888 # map returns an iterator in Python 3.0 and a list in 2.x
5889 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5891 # xrange is not present in Python 3.0 and range returns an iterator
5892 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5893 sys.exit(sys.hexversion < minverhex)"
5894 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5895 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5898 (exit $ac_status); }; then :
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5904 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5905 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5906 if test "$am_cv_pathless_PYTHON" = none
; then
5909 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5910 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5912 $as_echo_n "checking for $ac_word... " >&6; }
5913 if ${ac_cv_path_PYTHON+:} false
; then :
5914 $as_echo_n "(cached) " >&6
5918 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5925 test -z "$as_dir" && as_dir
=.
5926 for ac_exec_ext
in '' $ac_executable_extensions; do
5927 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5928 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5939 PYTHON
=$ac_cv_path_PYTHON
5940 if test -n "$PYTHON"; then
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5942 $as_echo "$PYTHON" >&6; }
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5945 $as_echo "no" >&6; }
5950 am_display_PYTHON
=$am_cv_pathless_PYTHON
5954 if test "$PYTHON" = :; then
5955 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5960 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5961 if ${am_cv_python_version+:} false
; then :
5962 $as_echo_n "(cached) " >&6
5964 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5967 $as_echo "$am_cv_python_version" >&6; }
5968 PYTHON_VERSION
=$am_cv_python_version
5972 PYTHON_PREFIX
='${prefix}'
5974 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5979 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5980 if ${am_cv_python_platform+:} false
; then :
5981 $as_echo_n "(cached) " >&6
5983 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5986 $as_echo "$am_cv_python_platform" >&6; }
5987 PYTHON_PLATFORM
=$am_cv_python_platform
5990 # Just factor out some code duplication.
5991 am_python_setup_sysconfig
="\
5993 # Prefer sysconfig over distutils.sysconfig, for better compatibility
5994 # with python 3.x. See automake bug#10227.
5998 can_use_sysconfig = 0
6000 can_use_sysconfig = 1
6001 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
6002 # <https://github.com/pypa/virtualenv/issues/118>
6004 from platform import python_implementation
6005 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
6006 can_use_sysconfig = 0
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
6012 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
6013 if ${am_cv_python_pythondir+:} false
; then :
6014 $as_echo_n "(cached) " >&6
6016 if test "x$prefix" = xNONE
6018 am_py_prefix
=$ac_default_prefix
6020 am_py_prefix
=$prefix
6022 am_cv_python_pythondir
=`$PYTHON -c "
6023 $am_python_setup_sysconfig
6024 if can_use_sysconfig:
6025 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
6027 from distutils import sysconfig
6028 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
6029 sys.stdout.write(sitedir)"`
6030 case $am_cv_python_pythondir in
6032 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
6033 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
6036 case $am_py_prefix in
6039 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
6047 $as_echo "$am_cv_python_pythondir" >&6; }
6048 pythondir
=$am_cv_python_pythondir
6052 pkgpythondir
=\
${pythondir}/$PACKAGE
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
6056 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
6057 if ${am_cv_python_pyexecdir+:} false
; then :
6058 $as_echo_n "(cached) " >&6
6060 if test "x$exec_prefix" = xNONE
6062 am_py_exec_prefix
=$am_py_prefix
6064 am_py_exec_prefix
=$exec_prefix
6066 am_cv_python_pyexecdir
=`$PYTHON -c "
6067 $am_python_setup_sysconfig
6068 if can_use_sysconfig:
6069 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
6071 from distutils import sysconfig
6072 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
6073 sys.stdout.write(sitedir)"`
6074 case $am_cv_python_pyexecdir in
6075 $am_py_exec_prefix*)
6076 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
6077 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
6080 case $am_py_exec_prefix in
6083 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
6091 $as_echo "$am_cv_python_pyexecdir" >&6; }
6092 pyexecdir
=$am_cv_python_pyexecdir
6096 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
6104 # Check whether --enable-libpng-config was given.
6105 if test "${enable_libpng_config+set}" = set; then :
6106 enableval
=$enable_libpng_config;
6109 if test "$enable_libpng_config" != "no"; then
6110 # Extract the first word of "libpng-config", so it can be a program name with args.
6111 set dummy libpng-config
; ac_word
=$2
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6113 $as_echo_n "checking for $ac_word... " >&6; }
6114 if ${ac_cv_prog_arosconfig_use_libpngconfig+:} false
; then :
6115 $as_echo_n "(cached) " >&6
6117 if test -n "$arosconfig_use_libpngconfig"; then
6118 ac_cv_prog_arosconfig_use_libpngconfig
="$arosconfig_use_libpngconfig" # Let the user override the test.
6120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6124 test -z "$as_dir" && as_dir
=.
6125 for ac_exec_ext
in '' $ac_executable_extensions; do
6126 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6127 ac_cv_prog_arosconfig_use_libpngconfig
="yes"
6128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6135 test -z "$ac_cv_prog_arosconfig_use_libpngconfig" && ac_cv_prog_arosconfig_use_libpngconfig
="no"
6138 arosconfig_use_libpngconfig
=$ac_cv_prog_arosconfig_use_libpngconfig
6139 if test -n "$arosconfig_use_libpngconfig"; then
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $arosconfig_use_libpngconfig" >&5
6141 $as_echo "$arosconfig_use_libpngconfig" >&6; }
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6144 $as_echo "no" >&6; }
6149 if test "$arosconfig_use_libpngconfig" = "yes"; then
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libpng-config library" >&5
6151 $as_echo_n "checking libpng-config library... " >&6; }
6152 libpng_incdir
="`libpng-config --cflags`"
6153 libpng_libextra
="$libpng_libextra `libpng-config --ldflags`"
6154 libpng
="`libpng-config --libs`"
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libpng" >&5
6156 $as_echo "$libpng" >&6; }
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
6160 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
6161 if ${ac_cv_lib_png_png_read_png+:} false
; then :
6162 $as_echo_n "(cached) " >&6
6164 ac_check_lib_save_LIBS
=$LIBS
6166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6167 /* end confdefs.h. */
6169 /* Override any GCC internal prototype to avoid an error.
6170 Use char because int might match the return type of a GCC
6171 builtin and then its argument prototype would still apply. */
6175 char png_read_png ();
6179 return png_read_png ();
6184 if ac_fn_c_try_link
"$LINENO"; then :
6185 ac_cv_lib_png_png_read_png
=yes
6187 ac_cv_lib_png_png_read_png
=no
6189 rm -f core conftest.err conftest.
$ac_objext \
6190 conftest
$ac_exeext conftest.
$ac_ext
6191 LIBS
=$ac_check_lib_save_LIBS
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
6194 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
6195 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
6201 if test "$libpng_libextra" != ""; then
6202 if test "$libpng" != "no"; then
6203 libpng_libextra
="$libpng_libextra $libpng"
6208 if test "$libpng" = ""; then
6211 if test "$libpng" = "no"; then
6214 if test "$req_avail" = "no"; then
6215 as_fn_error $?
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
6231 # Check for some includes for the X11 HIDD and the kernel
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6234 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6235 if ${ac_cv_path_GREP+:} false
; then :
6236 $as_echo_n "(cached) " >&6
6238 if test -z "$GREP"; then
6239 ac_path_GREP_found
=false
6240 # Loop through the user's path and test for each of PROGNAME-LIST
6241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6242 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6245 test -z "$as_dir" && as_dir
=.
6246 for ac_prog
in grep ggrep
; do
6247 for ac_exec_ext
in '' $ac_executable_extensions; do
6248 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6249 as_fn_executable_p
"$ac_path_GREP" ||
continue
6250 # Check for GNU ac_path_GREP and select it if it is found.
6251 # Check for GNU $ac_path_GREP
6252 case `"$ac_path_GREP" --version 2>&1` in
6254 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6257 $as_echo_n 0123456789 >"conftest.in"
6260 cat "conftest.in" "conftest.in" >"conftest.tmp"
6261 mv "conftest.tmp" "conftest.in"
6262 cp "conftest.in" "conftest.nl"
6263 $as_echo 'GREP' >> "conftest.nl"
6264 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6265 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6266 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6267 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6268 # Best one so far, save it but keep looking for a better one
6269 ac_cv_path_GREP
="$ac_path_GREP"
6270 ac_path_GREP_max
=$ac_count
6272 # 10*(2^10) chars as input seems more than enough
6273 test $ac_count -gt 10 && break
6275 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6278 $ac_path_GREP_found && break 3
6283 if test -z "$ac_cv_path_GREP"; then
6284 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6287 ac_cv_path_GREP
=$GREP
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6292 $as_echo "$ac_cv_path_GREP" >&6; }
6293 GREP
="$ac_cv_path_GREP"
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6297 $as_echo_n "checking for egrep... " >&6; }
6298 if ${ac_cv_path_EGREP+:} false
; then :
6299 $as_echo_n "(cached) " >&6
6301 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6302 then ac_cv_path_EGREP
="$GREP -E"
6304 if test -z "$EGREP"; then
6305 ac_path_EGREP_found
=false
6306 # Loop through the user's path and test for each of PROGNAME-LIST
6307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6308 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6311 test -z "$as_dir" && as_dir
=.
6312 for ac_prog
in egrep; do
6313 for ac_exec_ext
in '' $ac_executable_extensions; do
6314 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6315 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6316 # Check for GNU ac_path_EGREP and select it if it is found.
6317 # Check for GNU $ac_path_EGREP
6318 case `"$ac_path_EGREP" --version 2>&1` in
6320 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6323 $as_echo_n 0123456789 >"conftest.in"
6326 cat "conftest.in" "conftest.in" >"conftest.tmp"
6327 mv "conftest.tmp" "conftest.in"
6328 cp "conftest.in" "conftest.nl"
6329 $as_echo 'EGREP' >> "conftest.nl"
6330 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6331 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6332 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6333 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6334 # Best one so far, save it but keep looking for a better one
6335 ac_cv_path_EGREP
="$ac_path_EGREP"
6336 ac_path_EGREP_max
=$ac_count
6338 # 10*(2^10) chars as input seems more than enough
6339 test $ac_count -gt 10 && break
6341 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6344 $ac_path_EGREP_found && break 3
6349 if test -z "$ac_cv_path_EGREP"; then
6350 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6353 ac_cv_path_EGREP
=$EGREP
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6359 $as_echo "$ac_cv_path_EGREP" >&6; }
6360 EGREP
="$ac_cv_path_EGREP"
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6364 $as_echo_n "checking for ANSI C header files... " >&6; }
6365 if ${ac_cv_header_stdc+:} false
; then :
6366 $as_echo_n "(cached) " >&6
6368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6369 /* end confdefs.h. */
6383 if ac_fn_c_try_compile
"$LINENO"; then :
6384 ac_cv_header_stdc
=yes
6386 ac_cv_header_stdc
=no
6388 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6390 if test $ac_cv_header_stdc = yes; then
6391 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6393 /* end confdefs.h. */
6397 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6398 $EGREP "memchr" >/dev
/null
2>&1; then :
6401 ac_cv_header_stdc
=no
6407 if test $ac_cv_header_stdc = yes; then
6408 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6410 /* end confdefs.h. */
6414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6415 $EGREP "free" >/dev
/null
2>&1; then :
6418 ac_cv_header_stdc
=no
6424 if test $ac_cv_header_stdc = yes; then
6425 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6426 if test "$cross_compiling" = yes; then :
6429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6430 /* end confdefs.h. */
6433 #if ((' ' & 0x0FF) == 0x020)
6434 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6435 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6437 # define ISLOWER(c) \
6438 (('a' <= (c) && (c) <= 'i') \
6439 || ('j' <= (c) && (c) <= 'r') \
6440 || ('s' <= (c) && (c) <= 'z'))
6441 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6444 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6449 for (i = 0; i < 256; i++)
6450 if (XOR (islower (i), ISLOWER (i))
6451 || toupper (i) != TOUPPER (i))
6456 if ac_fn_c_try_run
"$LINENO"; then :
6459 ac_cv_header_stdc
=no
6461 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6462 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6468 $as_echo "$ac_cv_header_stdc" >&6; }
6469 if test $ac_cv_header_stdc = yes; then
6471 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6475 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6476 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6477 inttypes.h stdint.h unistd.h
6479 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6480 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6482 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6483 cat >>confdefs.h
<<_ACEOF
6484 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6492 for ac_header
in sys
/ipc.h sys
/shm.h \
6493 sys
/mmap.h sys
/mman.h sysexits.h \
6494 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6497 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6498 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6499 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6500 cat >>confdefs.h
<<_ACEOF
6501 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6509 for ac_header
in sys
/mount.h
6511 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6513 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6514 cat >>confdefs.h
<<_ACEOF
6515 #define HAVE_SYS_MOUNT_H 1
6524 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6525 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6527 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6528 if eval \
${$as_ac_Header+:} false
; then :
6529 $as_echo_n "(cached) " >&6
6531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6532 /* end confdefs.h. */
6533 #include <sys/types.h>
6545 if ac_fn_c_try_compile
"$LINENO"; then :
6546 eval "$as_ac_Header=yes"
6548 eval "$as_ac_Header=no"
6550 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6552 eval ac_res
=\$
$as_ac_Header
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6554 $as_echo "$ac_res" >&6; }
6555 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6556 cat >>confdefs.h
<<_ACEOF
6557 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6560 ac_header_dirent
=$ac_hdr; break
6564 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6565 if test $ac_header_dirent = dirent.h
; then
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6567 $as_echo_n "checking for library containing opendir... " >&6; }
6568 if ${ac_cv_search_opendir+:} false
; then :
6569 $as_echo_n "(cached) " >&6
6571 ac_func_search_save_LIBS
=$LIBS
6572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6573 /* end confdefs.h. */
6575 /* Override any GCC internal prototype to avoid an error.
6576 Use char because int might match the return type of a GCC
6577 builtin and then its argument prototype would still apply. */
6590 for ac_lib
in '' dir
; do
6591 if test -z "$ac_lib"; then
6592 ac_res
="none required"
6595 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6597 if ac_fn_c_try_link
"$LINENO"; then :
6598 ac_cv_search_opendir
=$ac_res
6600 rm -f core conftest.err conftest.
$ac_objext \
6602 if ${ac_cv_search_opendir+:} false
; then :
6606 if ${ac_cv_search_opendir+:} false
; then :
6609 ac_cv_search_opendir
=no
6612 LIBS
=$ac_func_search_save_LIBS
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6615 $as_echo "$ac_cv_search_opendir" >&6; }
6616 ac_res
=$ac_cv_search_opendir
6617 if test "$ac_res" != no
; then :
6618 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6624 $as_echo_n "checking for library containing opendir... " >&6; }
6625 if ${ac_cv_search_opendir+:} false
; then :
6626 $as_echo_n "(cached) " >&6
6628 ac_func_search_save_LIBS
=$LIBS
6629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6630 /* end confdefs.h. */
6632 /* Override any GCC internal prototype to avoid an error.
6633 Use char because int might match the return type of a GCC
6634 builtin and then its argument prototype would still apply. */
6647 for ac_lib
in '' x
; do
6648 if test -z "$ac_lib"; then
6649 ac_res
="none required"
6652 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6654 if ac_fn_c_try_link
"$LINENO"; then :
6655 ac_cv_search_opendir
=$ac_res
6657 rm -f core conftest.err conftest.
$ac_objext \
6659 if ${ac_cv_search_opendir+:} false
; then :
6663 if ${ac_cv_search_opendir+:} false
; then :
6666 ac_cv_search_opendir
=no
6669 LIBS
=$ac_func_search_save_LIBS
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6672 $as_echo "$ac_cv_search_opendir" >&6; }
6673 ac_res
=$ac_cv_search_opendir
6674 if test "$ac_res" != no
; then :
6675 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6682 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6683 if ${ac_cv_header_stat_broken+:} false
; then :
6684 $as_echo_n "(cached) " >&6
6686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6687 /* end confdefs.h. */
6688 #include <sys/types.h>
6689 #include <sys/stat.h>
6691 #if defined S_ISBLK && defined S_IFDIR
6692 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6695 #if defined S_ISBLK && defined S_IFCHR
6696 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6699 #if defined S_ISLNK && defined S_IFREG
6700 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6703 #if defined S_ISSOCK && defined S_IFREG
6704 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6708 if ac_fn_c_try_compile
"$LINENO"; then :
6709 ac_cv_header_stat_broken
=no
6711 ac_cv_header_stat_broken
=yes
6713 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6716 $as_echo "$ac_cv_header_stat_broken" >&6; }
6717 if test $ac_cv_header_stat_broken = yes; then
6719 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6724 $as_echo_n "checking for ANSI C header files... " >&6; }
6725 if ${ac_cv_header_stdc+:} false
; then :
6726 $as_echo_n "(cached) " >&6
6728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6729 /* end confdefs.h. */
6743 if ac_fn_c_try_compile
"$LINENO"; then :
6744 ac_cv_header_stdc
=yes
6746 ac_cv_header_stdc
=no
6748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6750 if test $ac_cv_header_stdc = yes; then
6751 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6753 /* end confdefs.h. */
6757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6758 $EGREP "memchr" >/dev
/null
2>&1; then :
6761 ac_cv_header_stdc
=no
6767 if test $ac_cv_header_stdc = yes; then
6768 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6770 /* end confdefs.h. */
6774 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6775 $EGREP "free" >/dev
/null
2>&1; then :
6778 ac_cv_header_stdc
=no
6784 if test $ac_cv_header_stdc = yes; then
6785 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6786 if test "$cross_compiling" = yes; then :
6789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6790 /* end confdefs.h. */
6793 #if ((' ' & 0x0FF) == 0x020)
6794 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6795 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6797 # define ISLOWER(c) \
6798 (('a' <= (c) && (c) <= 'i') \
6799 || ('j' <= (c) && (c) <= 'r') \
6800 || ('s' <= (c) && (c) <= 'z'))
6801 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6804 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6809 for (i = 0; i < 256; i++)
6810 if (XOR (islower (i), ISLOWER (i))
6811 || toupper (i) != TOUPPER (i))
6816 if ac_fn_c_try_run
"$LINENO"; then :
6819 ac_cv_header_stdc
=no
6821 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6822 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6828 $as_echo "$ac_cv_header_stdc" >&6; }
6829 if test $ac_cv_header_stdc = yes; then
6831 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6836 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6837 if ${ac_cv_header_sys_wait_h+:} false
; then :
6838 $as_echo_n "(cached) " >&6
6840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6841 /* end confdefs.h. */
6842 #include <sys/types.h>
6843 #include <sys/wait.h>
6845 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6848 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6856 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6861 if ac_fn_c_try_compile
"$LINENO"; then :
6862 ac_cv_header_sys_wait_h
=yes
6864 ac_cv_header_sys_wait_h
=no
6866 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6869 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6870 if test $ac_cv_header_sys_wait_h = yes; then
6872 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6877 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6878 if ${ac_cv_header_time+:} false
; then :
6879 $as_echo_n "(cached) " >&6
6881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6882 /* end confdefs.h. */
6883 #include <sys/types.h>
6884 #include <sys/time.h>
6890 if ((struct tm *) 0)
6896 if ac_fn_c_try_compile
"$LINENO"; then :
6897 ac_cv_header_time
=yes
6899 ac_cv_header_time
=no
6901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6904 $as_echo "$ac_cv_header_time" >&6; }
6905 if test $ac_cv_header_time = yes; then
6907 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6911 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6912 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6914 cat >>confdefs.h
<<_ACEOF
6915 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6919 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6924 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6925 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6927 cat >>confdefs.h
<<_ACEOF
6928 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6932 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6935 case " $LIBOBJS " in
6936 *" fileblocks.$ac_objext "* ) ;;
6937 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6944 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6945 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6947 cat >>confdefs.h
<<_ACEOF
6948 #define HAVE_STRUCT_STAT_ST_RDEV 1
6952 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6958 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6959 if ${ac_cv_struct_tm+:} false
; then :
6960 $as_echo_n "(cached) " >&6
6962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6963 /* end confdefs.h. */
6964 #include <sys/types.h>
6971 int *p = &tm.tm_sec;
6977 if ac_fn_c_try_compile
"$LINENO"; then :
6978 ac_cv_struct_tm
=time.h
6980 ac_cv_struct_tm
=sys
/time.h
6982 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6985 $as_echo "$ac_cv_struct_tm" >&6; }
6986 if test $ac_cv_struct_tm = sys
/time.h
; then
6988 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6992 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6993 #include <$ac_cv_struct_tm>
6996 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6998 cat >>confdefs.h
<<_ACEOF
6999 #define HAVE_STRUCT_TM_TM_ZONE 1
7005 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
7007 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
7010 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
7012 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
7018 cat >>confdefs.h
<<_ACEOF
7019 #define HAVE_DECL_TZNAME $ac_have_decl
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
7023 $as_echo_n "checking for tzname... " >&6; }
7024 if ${ac_cv_var_tzname+:} false
; then :
7025 $as_echo_n "(cached) " >&6
7027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7028 /* end confdefs.h. */
7030 #if !HAVE_DECL_TZNAME
7031 extern char *tzname[];
7037 return tzname[0][0];
7042 if ac_fn_c_try_link
"$LINENO"; then :
7043 ac_cv_var_tzname
=yes
7047 rm -f core conftest.err conftest.
$ac_objext \
7048 conftest
$ac_exeext conftest.
$ac_ext
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
7051 $as_echo "$ac_cv_var_tzname" >&6; }
7052 if test $ac_cv_var_tzname = yes; then
7054 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
7059 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
7060 if test "x$ac_cv_type_off_t" = xyes
; then :
7064 cat >>confdefs.h
<<_ACEOF
7065 #define off_t long int
7070 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
7071 if test "x$ac_cv_type_pid_t" = xyes
; then :
7075 cat >>confdefs.h
<<_ACEOF
7081 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7082 if test "x$ac_cv_type_size_t" = xyes
; then :
7086 cat >>confdefs.h
<<_ACEOF
7087 #define size_t unsigned int
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
7093 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7094 if ${ac_cv_type_uid_t+:} false
; then :
7095 $as_echo_n "(cached) " >&6
7097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7098 /* end confdefs.h. */
7099 #include <sys/types.h>
7102 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7103 $EGREP "uid_t" >/dev
/null
2>&1; then :
7104 ac_cv_type_uid_t
=yes
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
7112 $as_echo "$ac_cv_type_uid_t" >&6; }
7113 if test $ac_cv_type_uid_t = no
; then
7115 $as_echo "#define uid_t int" >>confdefs.h
7118 $as_echo "#define gid_t int" >>confdefs.h
7123 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
7124 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
7126 cat >>confdefs.h
<<_ACEOF
7127 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7134 # Look for some functions
7135 for ac_func
in getpagesize kqueue statfs statvfs \
7136 clone kse_create rfork_thread thr_create sa_register \
7137 getcontext makecontext setcontext sigaltstack swapcontext
7139 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7140 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7141 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7142 cat >>confdefs.h
<<_ACEOF
7143 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7153 for ac_header
in $ac_header_list
7155 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7156 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7158 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7159 cat >>confdefs.h
<<_ACEOF
7160 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7174 for ac_func
in getpagesize
7176 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
7177 if test "x$ac_cv_func_getpagesize" = xyes
; then :
7178 cat >>confdefs.h
<<_ACEOF
7179 #define HAVE_GETPAGESIZE 1
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
7186 $as_echo_n "checking for working mmap... " >&6; }
7187 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
7188 $as_echo_n "(cached) " >&6
7190 if test "$cross_compiling" = yes; then :
7191 ac_cv_func_mmap_fixed_mapped
=no
7193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7194 /* end confdefs.h. */
7195 $ac_includes_default
7196 /* malloc might have been renamed as rpl_malloc. */
7199 /* Thanks to Mike Haertel and Jim Avera for this test.
7200 Here is a matrix of mmap possibilities:
7201 mmap private not fixed
7202 mmap private fixed at somewhere currently unmapped
7203 mmap private fixed at somewhere already mapped
7204 mmap shared not fixed
7205 mmap shared fixed at somewhere currently unmapped
7206 mmap shared fixed at somewhere already mapped
7207 For private mappings, we should verify that changes cannot be read()
7208 back from the file, nor mmap's back from the file at a different
7209 address. (There have been systems where private was not correctly
7210 implemented like the infamous i386 svr4.0, and systems where the
7211 VM page cache was not coherent with the file system buffer cache
7212 like early versions of FreeBSD and possibly contemporary NetBSD.)
7213 For shared mappings, we should conversely verify that changes get
7214 propagated back to all the places they're supposed to be.
7216 Grep wants private fixed already mapped.
7217 The main things grep needs to know about mmap are:
7218 * does it exist and is it safe to write into the mmap'd area
7219 * how to use it (BSD variants) */
7222 #include <sys/mman.h>
7224 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7228 /* This mess was copied from the GNU getpagesize.h. */
7229 #ifndef HAVE_GETPAGESIZE
7230 # ifdef _SC_PAGESIZE
7231 # define getpagesize() sysconf(_SC_PAGESIZE)
7232 # else /* no _SC_PAGESIZE */
7233 # ifdef HAVE_SYS_PARAM_H
7234 # include <sys/param.h>
7235 # ifdef EXEC_PAGESIZE
7236 # define getpagesize() EXEC_PAGESIZE
7237 # else /* no EXEC_PAGESIZE */
7239 # define getpagesize() NBPG * CLSIZE
7242 # endif /* no CLSIZE */
7243 # else /* no NBPG */
7245 # define getpagesize() NBPC
7246 # else /* no NBPC */
7248 # define getpagesize() PAGESIZE
7249 # endif /* PAGESIZE */
7250 # endif /* no NBPC */
7251 # endif /* no NBPG */
7252 # endif /* no EXEC_PAGESIZE */
7253 # else /* no HAVE_SYS_PARAM_H */
7254 # define getpagesize() 8192 /* punt totally */
7255 # endif /* no HAVE_SYS_PARAM_H */
7256 # endif /* no _SC_PAGESIZE */
7258 #endif /* no HAVE_GETPAGESIZE */
7263 char *data, *data2, *data3;
7268 pagesize = getpagesize ();
7270 /* First, make a file with some known garbage in it. */
7271 data = (char *) malloc (pagesize);
7274 for (i = 0; i < pagesize; ++i)
7275 *(data + i) = rand ();
7277 fd = creat ("conftest.mmap", 0600);
7280 if (write (fd, data, pagesize) != pagesize)
7284 /* Next, check that the tail of a page is zero-filled. File must have
7285 non-zero length, otherwise we risk SIGBUS for entire page. */
7286 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7290 if (write (fd2, cdata2, 1) != 1)
7292 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7293 if (data2 == MAP_FAILED)
7295 for (i = 0; i < pagesize; ++i)
7299 if (munmap (data2, pagesize))
7302 /* Next, try to mmap the file at a fixed address which already has
7303 something else allocated at it. If we can, also make sure that
7304 we see the same garbage. */
7305 fd = open ("conftest.mmap", O_RDWR);
7308 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7309 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7311 for (i = 0; i < pagesize; ++i)
7312 if (*(data + i) != *(data2 + i))
7315 /* Finally, make sure that changes to the mapped area do not
7316 percolate back to the file as seen by read(). (This is a bug on
7317 some variants of i386 svr4.0.) */
7318 for (i = 0; i < pagesize; ++i)
7319 *(data2 + i) = *(data2 + i) + 1;
7320 data3 = (char *) malloc (pagesize);
7323 if (read (fd, data3, pagesize) != pagesize)
7325 for (i = 0; i < pagesize; ++i)
7326 if (*(data + i) != *(data3 + i))
7332 if ac_fn_c_try_run
"$LINENO"; then :
7333 ac_cv_func_mmap_fixed_mapped
=yes
7335 ac_cv_func_mmap_fixed_mapped
=no
7337 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7338 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7343 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7344 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7346 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7349 rm -f conftest.mmap conftest.txt
7352 #-----------------------------------------------------------------------------
7355 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7356 # it switched on by default, and we use the host compiler, so it compiles AROS
7357 # code with this enabled resulting in link failures as we don't have support
7360 # We use two methods to disable it. For the host compiler (used to compile
7361 # some hosted modules), we test to see if the compiler supports stack
7362 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7363 # work on all platforms.
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7367 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7368 save_cflags
="$CFLAGS"
7369 CFLAGS
="$CFLAGS -fno-stack-protector"
7370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7371 /* end confdefs.h. */
7381 if ac_fn_c_try_compile
"$LINENO"; then :
7382 use_no_stack_protector
="yes"
7384 use_no_stack_protector
="no"
7386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7388 $as_echo "$use_no_stack_protector" >&6; }
7389 if test "x-$use_no_stack_protector" = "x-yes" ; then
7390 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7392 CFLAGS
="$save_cflags"
7394 #-----------------------------------------------------------------------------
7396 # Disable pointer-signedness warnings if the compiler recognises the option
7397 # (this only works for the host compiler at the moment)
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7400 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7401 save_cflags
="$CFLAGS"
7402 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7404 /* end confdefs.h. */
7414 if ac_fn_c_try_compile
"$LINENO"; then :
7415 use_no_sign_warning
="yes"
7417 use_no_sign_warning
="no"
7419 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7421 $as_echo "$use_no_sign_warning" >&6; }
7422 if test "x-$use_no_sign_warning" = "x-yes" ; then
7423 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7425 CFLAGS
="$save_cflags"
7427 #-----------------------------------------------------------------------------
7429 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7432 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7433 save_cflags
="$CFLAGS"
7434 CFLAGS
="$CFLAGS -fgnu89-inline"
7435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7436 /* end confdefs.h. */
7446 if ac_fn_c_try_compile
"$LINENO"; then :
7447 use_gnu89_inline
="yes"
7449 use_gnu89_inline
="no"
7451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7453 $as_echo "$use_gnu89_inline" >&6; }
7454 if test "x-$use_gnu89_inline" = "x-yes" ; then
7455 gnu89_inline
="-fgnu89-inline"
7457 CFLAGS
="$save_cflags"
7460 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
7461 # On GCC >= 4.0 -iquote should be used
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
7464 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
7465 CFLAGS
="$CFLAGS -iquote."
7466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7467 /* end confdefs.h. */
7477 if ac_fn_c_try_compile
"$LINENO"; then :
7482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
7484 $as_echo "$has_iquote" >&6; }
7485 if test "x-$has_iquote" = "x-yes" ; then
7486 host_cflags_iquote
=-iquote
7487 host_cflags_iquote_end
=
7489 host_cflags_iquote
=-I
7490 host_cflags_iquote_end
=-I-
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: Performing target configuration..." >&5
7494 $as_echo "$as_me: Performing target configuration..." >&6;}
7497 aros_nowarn_flags
="NOWARN_UNUSED_COMMAND_LINE_ARGUMENT NOWARN_UNKNOWN_WARNING_OPTION NOWARN_POINTER_SIGN NOWARN_PARENTHESES"
7499 toolchain_needs_sysroot
=no
7503 aros_config_cppflags
=
7505 aros_config_cxxflags
=
7506 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7507 aros_config_ldflags
=""
7509 aros_shared_default
=yes
7511 aros_shared_cflags
="-fPIC"
7512 aros_shared_aflags
=""
7513 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7514 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7516 aros_kernel_ar_flags
="cr"
7517 aros_target_ar_flags
="cr"
7518 aros_target_nm_flags
="-C -ul"
7519 aros_target_strip_flags
="--strip-unneeded -R.comment"
7524 aros_target_genmap
="-Wl,-Map -Xlinker"
7526 # Native flavour stuff
7527 aros_serial_debug
="0"
7529 # Palm native flavour stuff
7530 aros_palm_debug_hack
="0"
7532 # Unix flavour stuff
7533 aros_nesting_supervisor
="0"
7535 # Collect-aros stuff: "-ius" to ignore undefined symbols
7536 ignore_undefined_symbols
=""
7538 # Check for X11 by default
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which toolchain family to use ..." >&5
7547 $as_echo_n "checking Which toolchain family to use ...... " >&6; }
7549 # Check whether --with-toolchain was given.
7550 if test "${with_toolchain+set}" = set; then :
7551 withval
=$with_toolchain; aros_toolchain
="$withval"
7553 aros_toolchain
="gnu"
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_toolchain" >&5
7557 $as_echo "$aros_toolchain" >&6; }
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should enable link time optimizations (LTO)" >&5
7561 $as_echo_n "checking if we should enable link time optimizations (LTO)... " >&6; }
7562 # Check whether --enable-lto was given.
7563 if test "${enable_lto+set}" = set; then :
7564 enableval
=$enable_lto; aros_config_lto
="$enableval"
7566 aros_config_lto
="no"
7569 if test "$aros_config_lto" != "no"; then
7570 aros_config_lto
="yes"
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_config_lto" >&5
7573 $as_echo "$aros_config_lto" >&6; }
7577 case "$aros_toolchain" in
7579 # toolchain_needs_sysroot=yes
7580 toolchain_c_compiler
="clang"
7581 toolchain_cxx_compiler
="clang++"
7582 toolchain_cpp_preprocessor
="clang -E"
7583 toolchain_ld
="ld.lld"
7585 toolchain_as
="llvm-as"
7586 toolchain_ar
="llvm-ar"
7587 toolchain_ranlib
="llvm-ranlib"
7588 toolchain_nm
="llvm-nm"
7589 toolchain_strip
="true"
7590 toolchain_objcopy
="llvm-objcopy"
7591 toolchain_objdump
="llvm-objdump"
7594 toolchain_c_compiler
="gcc"
7595 toolchain_cxx_compiler
="g++"
7596 toolchain_cpp_preprocessor
="gcc -E"
7599 if test "$aros_config_lto" != "yes"; then
7602 toolchain_ranlib
="ranlib"
7605 toolchain_ld
="ld.bfd"
7606 toolchain_ar
="gcc-ar"
7607 toolchain_ranlib
="gcc-ranlib"
7608 toolchain_nm
="gcc-nm"
7610 toolchain_strip
="strip"
7611 toolchain_objcopy
="objcopy"
7612 toolchain_objdump
="objdump"
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown toolchain family!\"" >&5
7616 $as_echo "$as_me: WARNING: \"Unknown toolchain family!\"" >&2;}
7617 toolchain_c_compiler
="cc"
7618 toolchain_cxx_compiler
="c++"
7619 toolchain_cpp_preprocessor
="cpp"
7624 toolchain_ranlib
="ranlib"
7626 toolchain_strip
="strip"
7627 toolchain_objcopy
="objcopy"
7628 toolchain_objdump
="objdump"
7632 #-----------------------------------------------------------------------------
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which type of build to do" >&5
7635 $as_echo_n "checking which type of build to do... " >&6; }
7636 # Check whether --enable-build_type was given.
7637 if test "${enable_build_type+set}" = set; then :
7638 enableval
=$enable_build_type; build_type
=$enableval
7640 build_type
="personal"
7644 if test "$build_type" = "nightly"; then
7645 build_type_string
="NIGHTLY"
7646 elif test "$build_type" = "snapshot"; then
7647 build_type_string
="SNAPSHOT"
7648 elif test "$build_type" = "milestone"; then
7649 build_type_string
="MILESTONE"
7650 elif test "$build_type" = "release"; then
7651 build_type_string
="RELEASE"
7653 build_type_string
="PERSONAL"
7654 build_type
="personal"
7657 aros_config_cppflags
="$aros_config_cppflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7660 $as_echo "$build_type" >&6; }
7662 #-----------------------------------------------------------------------------
7663 all_debug_types
="messages stack modules mungwall symbols"
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7666 $as_echo_n "checking which debug types to enable... " >&6; }
7667 # Check whether --enable-debug was given.
7668 if test "${enable_debug+set}" = set; then :
7669 enableval
=$enable_debug; debug
="$enableval"
7675 if test "$debug" = "" -o "$debug" = "no"; then
7677 elif test "$debug" = "yes"; then
7681 if test "$debug" = "all" ; then
7682 debug
="messages stack modules symbols"
7683 for d
in $all_debug_types; do
7684 export aros_
${d}_debug
="1"
7687 for d
in $all_debug_types; do
7688 export aros_
${d}_debug
="0"
7692 if test "$debug" != "none"; then
7693 debug
=`echo $debug | sed s/,/\ /g`
7696 for d2
in $all_debug_types; do
7697 if test "$d2" = "$d"; then
7702 if test "$found" = "0"; then
7703 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7705 export aros_
${d}_debug
="1"
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7710 $as_echo "$debug" >&6; }
7712 if test "$aros_messages_debug" = "1"; then
7713 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7715 aros_messages_debug
=""
7717 if test "$aros_symbols_debug" = "1"; then
7718 aros_symbols_debug
="-g"
7720 aros_symbols_debug
=""
7723 # These are the flags to pass when compiling debugged programs
7724 aros_debug_cppflags
="$aros_messages_debug"
7725 aros_debug_cflags
="$aros_symbols_debug"
7726 aros_debug_cxxflags
=
7727 aros_debug_aflags
=""
7728 aros_debug_ldflags
="$aros_symbols_debug"
7730 #-----------------------------------------------------------------------------
7731 # Checking for distcc and ccache.
7733 # Always apply the transforms in this particular order. Basically you should
7734 # always run 'ccache distcc compiler' in that order for the best performance.
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7737 $as_echo_n "checking whether to enable distcc... " >&6; }
7738 # Check whether --enable-distcc was given.
7739 if test "${enable_distcc+set}" = set; then :
7740 enableval
=$enable_distcc; distcc
="$enableval"
7745 if test "$distcc" != "" -a "$distcc" != "no"; then
7746 # AC_CHECK_PROG will print out the result in this case
7747 # Extract the first word of "distcc", so it can be a program name with args.
7748 set dummy distcc
; ac_word
=$2
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7750 $as_echo_n "checking for $ac_word... " >&6; }
7751 if ${ac_cv_path_DISTCC+:} false
; then :
7752 $as_echo_n "(cached) " >&6
7756 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7763 test -z "$as_dir" && as_dir
=.
7764 for ac_exec_ext
in '' $ac_executable_extensions; do
7765 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7766 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7774 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7778 DISTCC
=$ac_cv_path_DISTCC
7779 if test -n "$DISTCC"; then
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7781 $as_echo "$DISTCC" >&6; }
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7784 $as_echo "no" >&6; }
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7790 $as_echo "no" >&6; }
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7794 $as_echo_n "checking whether to enable ccache... " >&6; }
7795 # Check whether --enable-ccache was given.
7796 if test "${enable_ccache+set}" = set; then :
7797 enableval
=$enable_ccache; ccache
="$enableval"
7802 if test "$ccache" != "" -a "$ccache" != "no"; then
7803 # AC_CHECK_PROG will print out the result in this case
7804 # Extract the first word of "ccache", so it can be a program name with args.
7805 set dummy ccache
; ac_word
=$2
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7807 $as_echo_n "checking for $ac_word... " >&6; }
7808 if ${ac_cv_prog_CCACHE+:} false
; then :
7809 $as_echo_n "(cached) " >&6
7811 if test -n "$CCACHE"; then
7812 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7818 test -z "$as_dir" && as_dir
=.
7819 for ac_exec_ext
in '' $ac_executable_extensions; do
7820 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7821 ac_cv_prog_CCACHE
="ccache"
7822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7831 CCACHE
=$ac_cv_prog_CCACHE
7832 if test -n "$CCACHE"; then
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7834 $as_echo "$CCACHE" >&6; }
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7837 $as_echo "no" >&6; }
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7843 $as_echo "no" >&6; }
7846 #-----------------------------------------------------------------------------
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7848 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7850 # Check whether --with-kernel-gcc-version was given.
7851 if test "${with_kernel_gcc_version+set}" = set; then :
7852 withval
=$with_kernel_gcc_version; kernel_tool_version
="$withval"
7854 kernel_tool_version
=""
7857 if test "$kernel_tool_version" != "" ; then
7858 msg_result
=$kernel_tool_version
7860 msg_result
="default"
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
7863 $as_echo "$msg_result" >&6; }
7865 #-----------------------------------------------------------------------------
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7867 $as_echo_n "checking what optimization flags to use... " >&6; }
7869 # Check whether --with-optimization was given.
7870 if test "${with_optimization+set}" = set; then :
7871 withval
=$with_optimization; optimization
="$withval"
7873 optimization
="unknown"
7876 if test "$optimization" = "unknown"; then
7877 if test "$debug" != "none"; then
7883 aros_optimization_cflags
="$optimization"
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7885 $as_echo "$optimization" >&6; }
7887 paranoia_default
=yes
7888 #-----------------------------------------------------------------------------
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which paranoia flags to use" >&5
7890 $as_echo_n "checking which paranoia flags to use... " >&6; }
7892 # Check whether --with-paranoia was given.
7893 if test "${with_paranoia+set}" = set; then :
7894 withval
=$with_paranoia; paranoia_flags
="$withval"
7896 paranoia_flags
="$paranoia_default"
7899 if test "$paranoia_flags" = "no"; then
7900 paranoia_flags
="-Wall -Werror-implicit-function-declaration"
7903 if test "$paranoia_flags" = "yes"; then
7904 paranoia_flags
="-Wall -Werror"
7906 msg_result
="$paranoia_flags"
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
7909 $as_echo "$msg_result" >&6; }
7910 aros_warn_flags
="$aros_warn_flags $paranoia_flags"
7912 #-----------------------------------------------------------------------------
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7914 $as_echo_n "checking what target variant to enable... " >&6; }
7915 # Check whether --enable-target_variant was given.
7916 if test "${enable_target_variant+set}" = set; then :
7917 enableval
=$enable_target_variant; target_variant
=$enableval
7922 if test "$target_variant" = ""; then
7923 aros_target_variant
=""
7924 aros_target_suffix
=""
7927 aros_target_variant
="$target_variant"
7928 aros_target_suffix
="-$target_variant"
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7931 $as_echo "$enableval" >&6; }
7933 #-----------------------------------------------------------------------------
7934 # Target-specific defaults. You can override then on a per-target basis.
7936 # Bootloader name. Currently used by PC target.
7937 target_bootloader
="none"
7941 #-----------------------------------------------------------------------------
7942 # Additional options for some specific targets
7944 case "$aros_target_variant" in
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7947 $as_echo_n "checking XCode path... " >&6; }
7949 # Check whether --with-xcode was given.
7950 if test "${with_xcode+set}" = set; then :
7951 withval
=$with_xcode; aros_xcode_path
="$withval"
7953 aros_xcode_path
="/Developer"
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7957 $as_echo "$aros_xcode_path" >&6; }
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7960 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7962 # Check whether --with-sdk-version was given.
7963 if test "${with_sdk_version+set}" = set; then :
7964 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7966 aros_sdk_version
="4.1"
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7970 $as_echo "$aros_sdk_version" >&6; }
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7976 $as_echo_n "checking Android SDK path... " >&6; }
7978 # Check whether --with-sdk was given.
7979 if test "${with_sdk+set}" = set; then :
7980 withval
=$with_sdk; aros_android_sdk
="$withval"
7982 aros_android_sdk
=$default_android_sdk
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7986 $as_echo "$aros_android_sdk" >&6; }
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7989 $as_echo_n "checking Android NDK path... " >&6; }
7991 # Check whether --with-ndk was given.
7992 if test "${with_ndk+set}" = set; then :
7993 withval
=$with_ndk; aros_android_ndk
="$withval"
7995 aros_android_ndk
="none"
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7999 $as_echo "$aros_android_ndk" >&6; }
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
8002 $as_echo_n "checking what Android SDK version to use... " >&6; }
8004 # Check whether --with-sdk-version was given.
8005 if test "${with_sdk_version+set}" = set; then :
8006 withval
=$with_sdk_version; aros_sdk_version
="$withval"
8008 aros_sdk_version
="12"
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
8012 $as_echo "$aros_sdk_version" >&6; }
8014 aros_android_level
=android-
$aros_sdk_version
8015 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
8016 echo "Platform $aros_android_level is not installed in your SDK"
8017 echo "Use --with-sdk-version=<API level number> to select another platform version"
8018 echo "You can check what plaform versions are installed in your SDK"
8019 echo "by examining contents of $aros_android_sdk/platforms directory"
8020 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
8023 export PATH
="$aros_android_sdk/tools:$PATH"
8024 # Extract the first word of "$android_tool", so it can be a program name with args.
8025 set dummy
$android_tool; ac_word
=$2
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8027 $as_echo_n "checking for $ac_word... " >&6; }
8028 if ${ac_cv_path_android_tool+:} false
; then :
8029 $as_echo_n "(cached) " >&6
8031 case $android_tool in
8033 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
8036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8040 test -z "$as_dir" && as_dir
=.
8041 for ac_exec_ext
in '' $ac_executable_extensions; do
8042 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8043 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
8044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8054 android_tool
=$ac_cv_path_android_tool
8055 if test -n "$android_tool"; then
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
8057 $as_echo "$android_tool" >&6; }
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8060 $as_echo "no" >&6; }
8065 if test "$android_tool" = ""; then
8068 if test "$android_tool" = "no"; then
8071 if test "$req_avail" = "no"; then
8072 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
8075 if test "$aros_android_ndk" != "none"; then
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
8077 $as_echo_n "checking what Android NDK version to use... " >&6; }
8079 # Check whether --with-ndk-version was given.
8080 if test "${with_ndk_version+set}" = set; then :
8081 withval
=$with_ndk_version; aros_ndk_version
="$withval"
8083 aros_ndk_version
="9"
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
8087 $as_echo "$aros_ndk_version" >&6; }
8090 # Extract the first word of "ant", so it can be a program name with args.
8091 set dummy ant
; ac_word
=$2
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8093 $as_echo_n "checking for $ac_word... " >&6; }
8094 if ${ac_cv_path_ant+:} false
; then :
8095 $as_echo_n "(cached) " >&6
8099 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
8102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8106 test -z "$as_dir" && as_dir
=.
8107 for ac_exec_ext
in '' $ac_executable_extensions; do
8108 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8109 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
8110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8121 if test -n "$ant"; then
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
8123 $as_echo "$ant" >&6; }
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8126 $as_echo "no" >&6; }
8130 if test "$ant" = ""; then
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
8132 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Build debug or release apk" >&5
8136 $as_echo_n "checking Build debug or release apk... " >&6; }
8138 # Check whether --with-apk-version was given.
8139 if test "${with_apk_version+set}" = set; then :
8140 withval
=$with_apk_version; aros_android_antapk
=$withval
8142 aros_android_antapk
=release
8145 if test $aros_android_antapk != release
-a $aros_android_antapk != debug
; then
8146 as_fn_error $?
"apk-version has to be release or debug" "$LINENO" 5
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_antapk" >&5
8149 $as_echo "$aros_android_antapk" >&6; }
8151 if test "$host_os" = "mingw32"; then
8152 android_tool
="cmd //c $android_tool"
8160 #-----------------------------------------------------------------------------
8161 # External toolchains
8162 kernel_tool_prefix
="none"
8163 aros_tool_prefix
="none"
8164 elf_tool_prefix
="${target_cpu}-elf-"
8166 # This is the target configuration switch.
8167 case "$target_os" in
8169 aros_target_arch
="linux"
8170 aros_target_family
="unix"
8171 case "$target_cpu" in
8173 aros_target_cpu
="m68k"
8174 aros_object_format
="m68kelf"
8175 aros_flavour
="emulcompat"
8176 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8177 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8178 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8179 gcc_target_cpu
="mc68000"
8182 aros_target_cpu
="i386"
8183 aros_object_format
="elf_i386"
8184 aros_flavour
="emulation"
8185 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8186 aros_kernel_ldflags
="-Wl,-melf_i386"
8187 aros_nominal_depth
=8
8188 gcc_target_cpu
="i386"
8189 pci_hidd_target
="hidd-pci-linux"
8190 android_tool_dir_prefix
="x86"
8191 android_tool_prefix
="i686-android-linux"
8192 android_ndk_arch
="x86"
8195 aros_target_cpu
="x86_64"
8196 aros_object_format
="elf_x86_64"
8197 aros_flavour
="emulation"
8198 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8199 aros_isa_flags
="$aros_isa_flags -mcmodel=large -mno-red-zone"
8200 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8201 aros_config_cxxflags
="$aros_config_cxxflags -fno-omit-frame-pointer"
8202 aros_nominal_depth
=8
8203 pci_hidd_target
="hidd-pci-linux"
8206 aros_target_cpu
="ppc"
8207 aros_object_format
="elf32ppc"
8208 aros_flavour
="emulation"
8209 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8210 aros_nominal_depth
=8
8211 gcc_target_cpu
="ppc"
8214 # Same as powerpc, but I need this for the nightly build to work again.
8215 # Actually, the nightly should be made working with powerpc target.
8216 # That just was too much work for the moment, another week or two.
8218 aros_target_cpu
="ppc"
8219 aros_object_format
="elf32ppc"
8220 aros_flavour
="emulation"
8221 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8222 aros_nominal_depth
=8
8223 gcc_target_cpu
="ppc"
8226 aros_target_cpu
="aarch64"
8227 target_cpu
="aarch64"
8228 aros_object_format
="aarch64elf_aros"
8229 aros_flavour
="emulation"
8230 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8231 gcc_target_cpu
="aarch64"
8232 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
8233 aros_config_cxxflags
="$aros_config_cxxflags -fno-strict-aliasing -fno-omit-frame-pointer"
8234 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
8235 aros_arch_libs
="-laeabi"
8236 gcc_default_float_abi
="hard"
8237 kernel_tool_prefix
="aarch64-linux-gnueabihf-"
8240 aros_target_cpu
="arm"
8242 aros_object_format
="armelf_aros"
8243 aros_flavour
="emulation"
8244 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8245 gcc_target_cpu
="arm"
8246 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
8247 aros_config_cxxflags
="$aros_config_cxxflags -fno-strict-aliasing -fno-omit-frame-pointer"
8248 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
8249 aros_arch_libs
="-laeabi"
8250 gcc_default_float_abi
="hard"
8251 android_tool_dir_prefix
="arm-linux-androideabi"
8252 android_tool_prefix
="arm-linux-androideabi"
8253 android_ndk_arch
="arm"
8254 kernel_tool_prefix
="arm-linux-gnueabihf-"
8257 aros_target_cpu
="arm"
8258 aros_object_format
="armelf_aros"
8259 aros_flavour
="emulation"
8260 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8261 gcc_target_cpu
="arm"
8262 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
8263 aros_config_cxxflags
="$aros_config_cxxflags -fno-strict-aliasing -fno-omit-frame-pointer"
8264 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
8265 aros_arch_libs
="-laeabi"
8266 android_tool_dir_prefix
="arm-linux-androideabi"
8267 android_tool_prefix
="arm-linux-androideabi"
8268 android_ndk_arch
="arm"
8269 kernel_tool_prefix
="arm-linux-gnueabi-"
8272 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
8275 case "$aros_target_variant" in
8278 if test "$android_ndk_arch" = ""; then
8279 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
8282 aros_nominal_width
=320
8283 aros_nominal_height
=480
8284 if test "$aros_android_ndk" = "none"; then
8285 aros_kernel_cflags
="-mandroid"
8286 aros_kernel_ldflags
="-mandroid"
8289 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$kernel_tool_version/prebuilt/$android_build_os/bin:$PATH"
8290 kernel_tool_version
=""
8291 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
8292 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
8293 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
8294 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
8295 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
8298 host_android_gfx
=yes
8299 # Disable implicit PIC mode
8300 aros_config_cflags
="$aros_config_cflags -fno-pic"
8301 kernel_tool_prefix
="$android_tool_prefix-"
8307 aros_target_arch
="pc"
8308 aros_shared_default
="no"
8309 target_bootloader
="grub2"
8310 case "$target_cpu" in
8312 aros_target_cpu
="i386"
8315 if test "$aros_object_format" = "" ; then
8316 aros_object_format
="elf_i386"
8318 aros_flavour
="standalone"
8319 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8320 aros_kernel_ldflags
="-Wl,-melf_i386"
8321 aros_nominal_width
=640
8322 aros_nominal_height
=480
8323 gcc_target_cpu
="i386"
8326 PLATFORM_EXECSMP
="#define __AROSPLATFORM_SMP__"
8327 aros_target_cpu
="x86_64"
8329 if test "$aros_object_format" = "" ; then
8330 aros_object_format
="elf_x86_64"
8332 aros_flavour
="standalone"
8333 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8334 aros_isa_flags
="$aros_isa_flags -mcmodel=large -mno-red-zone"
8335 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -fno-omit-frame-pointer"
8336 aros_config_cxxflags
="$aros_config_cxxflags -fno-asynchronous-unwind-tables -fno-omit-frame-pointer"
8337 aros_kernel_ldflags
=""
8338 aros_nominal_width
=640
8339 aros_nominal_height
=480
8340 case "$aros_target_variant" in
8342 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8347 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
8353 aros_target_arch
="prep"
8354 aros_shared_default
="no"
8355 aros_target_cpu
="ppc"
8356 aros_object_format
="elf32ppc"
8357 aros_flavour
="ppcnative"
8358 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8359 aros_kernel_ldflags
=""
8360 aros_nominal_width
=640
8361 aros_nominal_height
=480
8362 gcc_target_cpu
="ppc"
8366 aros_target_arch
="freebsd"
8367 aros_target_family
="unix"
8368 aros_target_cpu
="i386"
8369 aros_flavour
="emulation"
8370 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8371 gcc_target_cpu
="i386"
8373 aros_target_strip_flags
="-x"
8377 aros_target_arch
="darwin"
8378 aros_target_family
="unix"
8379 aros_flavour
="emulation"
8380 case "$target_cpu" in
8382 aros_ios_platform
="iPhoneSimulator"
8383 aros_target_cpu
="i386"
8384 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8385 aros_kernel_ldflags
=""
8386 aros_macosx_version
="10.4"
8387 aros_nominal_depth
=8
8388 gcc_target_cpu
="i386"
8389 aros_object_format
="elf_i386"
8390 aros_kernel_ar_flags
="-cr"
8391 aros_target_strip_flags
="-x"
8392 kernel_tool_flags
="-m32"
8395 aros_target_cpu
="x86_64"
8396 aros_object_format
="elf_x86_64"
8397 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8398 aros_macosx_version
="10.6"
8399 aros_isa_flags
="$aros_isa_flags -mcmodel=large"
8400 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8401 aros_config_cxxflags
="$aros_config_cxxflags -fno-omit-frame-pointer"
8402 aros_kernel_cflags
="-m64"
8403 aros_kernel_ldflags
="-m64"
8404 aros_nominal_depth
=8
8406 aros_kernel_ar_flags
="-cr"
8409 aros_kernel_ranlib
="ranlib"
8411 aros_kernel_strip
="strip"
8412 kernel_tool_prefix
="i686-apple-darwin10-"
8415 aros_target_cpu
="ppc"
8416 aros_object_format
="elf32ppc"
8417 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8418 aros_kernel_ldflags
=""
8419 aros_macosx_version
="10.0"
8420 aros_nominal_depth
=8
8421 gcc_target_cpu
="ppc"
8423 aros_kernel_ar_flags
="-cr"
8424 aros_kernel_ld
="ld -arch ppc"
8425 aros_kernel_as
="as -arch ppc"
8426 aros_kernel_ranlib
="ranlib -arch ppc"
8427 aros_kernel_nm
="nm -arch ppc"
8428 aros_kernel_strip
="strip -arch ppc"
8429 kernel_tool_prefix
="powerpc-apple-darwin10-"
8432 aros_ios_platform
="iPhoneOS"
8433 aros_target_cpu
="arm"
8434 aros_object_format
="armelf_aros"
8435 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8436 aros_arch_libs
="-laeabi"
8437 aros_nominal_depth
=8
8438 gcc_target_cpu
="arm"
8440 aros_kernel_ar_flags
="-cr"
8441 aros_kernel_ld
="ld -arch arm"
8442 aros_kernel_ranlib
="ranlib -arch arm"
8443 kernel_tool_prefix
="arm-apple-darwin10-"
8444 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8447 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8450 case "$aros_target_variant" in
8452 aros_ios_version
="3.0"
8453 aros_nominal_width
=320
8454 aros_nominal_height
=480
8455 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8456 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8457 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8459 # This is here because it may depend on iOS or SDK version
8460 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8461 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8462 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8465 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8466 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8472 aros_target_arch
="dragonfly"
8473 aros_target_family
="unix"
8474 aros_flavour
="emulation"
8475 case "$target_cpu" in
8477 aros_target_cpu
="i386"
8478 aros_object_format
="elf_i386"
8479 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8482 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8483 aros_config_cxxflags
="$aros_config_cxxflags -fno-omit-frame-pointer"
8484 aros_target_cpu
="x86_64"
8485 aros_object_format
="elf_x86_64"
8486 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8489 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8495 aros_target_arch
="netbsd"
8496 aros_target_family
="unix"
8497 case "$target_cpu" in
8499 aros_target_cpu
="m68k"
8500 aros_object_format
="m68kelf"
8501 aros_flavour
="emulcompat"
8502 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8503 gcc_target_cpu
="mc68000"
8506 aros_target_cpu
="i386"
8507 aros_object_format
="elf_i386"
8508 aros_flavour
="emulation"
8509 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8510 aros_nominal_depth
=8
8511 gcc_target_cpu
="i386"
8514 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8517 aros_target_genmap
="-Wl,-M -Xlinker >"
8518 aros_flavour
="emulation"
8519 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8523 aros_target_arch
="openbsd"
8524 aros_target_family
="unix"
8525 case "$target_cpu" in
8527 aros_target_cpu
="i386"
8528 aros_object_format
="elf_i386"
8529 aros_flavour
="emulation"
8530 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8531 gcc_target_cpu
="i386"
8534 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8537 aros_target_genmap
="-Wl,-M -Xlinker >"
8538 aros_target_nm_flags
="-u"
8539 aros_flavour
="emulation"
8543 aros_target_arch
="solaris"
8544 aros_target_family
="unix"
8545 case "$target_cpu" in
8547 aros_target_cpu
="i386"
8548 aros_object_format
="elf_i386"
8549 aros_flavour
="emulation"
8550 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8551 aros_nominal_depth
=8
8552 gcc_target_cpu
="i386"
8555 aros_target_cpu
="sparc"
8556 aros_object_format
="elf_sparc"
8557 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8558 gcc_target_cpu
="sparc"
8561 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8564 aros_config_cppflags
="$aros_config_cppflags -D$aros_target_cpu"
8565 aros_flavour
="emulation"
8569 aros_target_arch
="morphos"
8570 aros_shared_default
="no"
8571 aros_target_cpu
="ppc"
8572 aros_object_format
="elf_ppc"
8573 aros_flavour
="nativecompat"
8574 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8575 gcc_target_cpu
="ppc"
8579 aros_target_arch
="sam440"
8580 aros_shared_default
="no"
8581 aros_target_cpu
="ppc"
8582 aros_object_format
="elf32ppc"
8583 aros_flavour
="ppcnative"
8584 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8585 aros_kernel_ldflags
=""
8586 aros_nominal_width
=1024
8587 aros_nominal_height
=768
8588 aros_nominal_depth
=24
8589 aros_isa_flags
="$aros_isa_flags -mcpu=440fp -mno-toc"
8590 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables"
8591 aros_config_cxxflags
="$aros_config_cxxflags -fno-asynchronous-unwind-tables"
8592 gcc_target_cpu
="powerpc"
8596 aros_target_arch
="efika"
8597 aros_shared_default
="no"
8598 aros_target_cpu
="arm"
8599 aros_object_format
="armelf_aros"
8600 aros_flavour
="standalone"
8601 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8602 aros_kernel_ldflags
=""
8603 aros_nominal_width
=1024
8604 aros_nominal_height
=600
8605 aros_arch_libs
="-laeabi"
8606 gcc_default_cpu
="armv7-a"
8607 gcc_default_fpu
="vfpv3"
8608 aros_isa_flags
="$aros_isa_flags -mtune=cortex-a8"
8609 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8610 aros_config_cxxflags
="$aros_config_cxxflags -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8611 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8612 aros_optimization_cflags
="$aros_optimization_cflags -Os"
8613 case "$target_cpu" in
8615 gcc_default_float_abi
="hard"
8620 gcc_default_float_abi
="softfp"
8623 as_fn_error $?
"\"Unknown CPU for EfikaMX $target_cpu\"" "$LINENO" 5
8629 aros_target_arch
="chrp"
8630 aros_shared_default
="no"
8631 aros_target_cpu
="ppc"
8632 aros_object_format
="elf32ppc"
8633 aros_flavour
="ppcnative"
8634 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8635 aros_kernel_ldflags
=""
8636 aros_nominal_width
=640
8637 aros_nominal_height
=480
8638 aros_isa_flags
="$aros_isa_flags -mno-toc"
8639 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables"
8640 aros_config_cxxflags
="$aros_config_cxxflags -fno-asynchronous-unwind-tables"
8641 gcc_target_cpu
="powerpc"
8642 case "$aros_target_variant" in
8644 aros_isa_flags
="$aros_isa_flags -mcpu=603e"
8645 aros_config_cppflags
="$aros_config_cppflags -DBIG_ENDIAN_OHCI=1"
8651 PLATFORM_EXECSMP
="#define __AROSPLATFORM_SMP__"
8652 aros_flavour
="standalone"
8653 aros_target_arch
="raspi"
8655 aros_shared_default
="no"
8657 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__"
8659 case "$target_cpu" in
8661 aros_target_cpu
="aarch64"
8662 gcc_default_cpu
="aarch64"
8663 aros_object_format
="aarch64elf_aros"
8666 aros_target_cpu
="arm"
8667 gcc_default_cpu
="armv6zk"
8668 gcc_default_cpu_tune
="arm1176jzf-s"
8669 aros_object_format
="armelf_aros"
8670 aros_isa_flags
="$aros_isa_flags -marm"
8671 aros_config_cflags
="$aros_config_cflags"
8672 aros_config_cxxflags
="$aros_config_cxxflags"
8673 aros_config_aflags
="$aros_config_aflags -marm"
8674 aros_kernel_cflags
="$aros_kernel_cflags -marm"
8675 aros_target_mkdep
="$aros_target_mkdep -Darm"
8676 aros_arch_libs
="-laeabi"
8679 aros_target_cpu
="arm"
8680 gcc_default_cpu
="armv6zk"
8681 gcc_default_cpu_tune
="arm1176jzf-s"
8682 aros_object_format
="armelf_aros"
8683 aros_isa_flags
="$aros_isa_flags -marm"
8684 aros_config_cflags
="$aros_config_cflags"
8685 aros_config_cxxflags
="$aros_config_cxxflags"
8686 aros_config_aflags
="$aros_config_aflags -marm"
8687 aros_kernel_cflags
="$aros_kernel_cflags -marm"
8688 aros_target_mkdep
="$aros_target_mkdep -Darm"
8689 aros_arch_libs
="-laeabi"
8692 as_fn_error $?
"\"Unknown CPU for RasPi $target_cpu\"" "$LINENO" 5
8696 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -fno-exceptions"
8697 aros_config_cxxflags
="$aros_config_cxxflags -fno-asynchronous-unwind-tables -fno-exceptions"
8698 aros_config_aflags
="$aros_config_aflags -fno-asynchronous-unwind-tables -fno-exceptions"
8699 aros_kernel_cflags
="$aros_kernel_cflags -fno-asynchronous-unwind-tables -fno-exceptions"
8701 case "$aros_target_variant" in
8703 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8709 aros_flavour
="standalone"
8710 aros_target_arch
="stm32f7_discovery"
8711 aros_target_cpu
="arm"
8712 aros_target_cpu_mode
="thumb2"
8713 aros_object_format
="armelf_aros"
8714 aros_shared_default
="no"
8716 gcc_default_cpu
="armv7e-m"
8717 gcc_default_cpu_tune
="cortex-m7"
8718 gcc_default_fpu
="fpv5-sp-d16"
8719 gcc_default_float_abi
="hard"
8721 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dthumb"
8725 aros_target_arch
="amiga"
8726 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8727 aros_shared_default
="no"
8729 case "$target_cpu" in
8731 # Check whether --enable-amigaos_compliance was given.
8732 if test "${enable_amigaos_compliance+set}" = set; then :
8733 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8737 aros_target_cpu
="m68k"
8738 aros_object_format
="m68kelf"
8739 aros_flavour
="standcompat"
8740 gcc_target_cpu
="m68000"
8741 aros_nowarn_flags
="$aros_nowarn_flags NOWARN_VOLATILE_REGISTER_VAR"
8742 aros_config_cppflags
="$aros_config_cppflags -DNOLIBINLINE"
8743 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin"
8744 aros_config_cxxflags
="$aros_config_cxxflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin"
8745 aros_optimization_cflags
="$aros_optimization_cflags -Os"
8746 aros_config_aflags
="$aros_config_aflags"
8747 aros_target_strip_flags
="-R.comment --strip-debug"
8748 aros_nominal_width
=640
8749 aros_nominal_height
=256
8750 aros_nominal_depth
=2
8754 aros_flavour
="native"
8755 gcc_target_cpu
="ppc"
8758 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8764 aros_target_arch
="mingw32"
8765 aros_shared_default
="no"
8766 aros_flavour
="emulation"
8767 aros_shared_cflags
=""
8768 need_crosstools
="yes"
8771 case "$target_cpu" in
8773 aros_target_cpu
="i386"
8774 aros_object_format
="elf_i386"
8775 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8776 aros_nominal_depth
=8
8777 gcc_target_cpu
="i386"
8779 kernel_tool_prefix
="i386-mingw32-"
8782 aros_target_cpu
="x86_64"
8783 aros_object_format
="elf_x86_64"
8784 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8785 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8786 aros_config_cxxflags
="$aros_config_cxxflags -fno-omit-frame-pointer"
8787 aros_nominal_depth
=8
8788 kernel_tool_prefix
="x86_64-w64-mingw32-"
8791 aros_target_cpu
="arm"
8792 aros_object_format
="armelf_aros"
8793 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8794 aros_arch_libs
="-laeabi"
8795 aros_nominal_depth
=8
8796 gcc_target_cpu
="arm"
8797 gcc_default_float_abi
="soft"
8798 kernel_tool_prefix
="arm-mingw32ce-"
8799 aros_nominal_width
=160
8800 aros_nominal_height
=160
8803 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8806 if test $host_os = "cygwin"; then
8807 aros_kernel_cflags
="-mno-cygwin"
8811 aros_target_arch
="pp"
8812 aros_shared_default
="no"
8813 case "$target_cpu" in
8815 aros_target_cpu
="m68k"
8816 aros_object_format
="m68kelf"
8817 aros_flavour
="palmnative"
8818 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8819 aros_nominal_width
=160
8820 aros_nominal_height
=160
8821 aros_nominal_depth
=1
8822 aros_target_ar_flags
="cru"
8823 aros_compiler_libs
="-lgcc1"
8824 aros_shared_default
=no
8825 aros_shared_cflags
="-fpic"
8826 aros_shared_aflags
=""
8827 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8828 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8829 aros_debug_cppflags
="$aros_messages_debug"
8830 aros_debug_cflags
="$aros_symbols_debug"
8831 aros_debug_aflags
=""
8832 aros_debug_ldflags
="$aros_symbols_debug"
8833 aros_mungwall_debug
="0"
8834 aros_modules_debug
="0"
8835 gcc_target_cpu
="mc68000"
8836 ignore_undefined_symbols
="-ius"
8839 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8845 aros_target_arch
="mac"
8846 aros_shared_default
="no"
8847 case "$target_cpu" in
8849 aros_target_cpu
="m68k"
8850 aros_object_format
="m68kelf"
8851 aros_flavour
="mac68knative"
8852 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8853 aros_nominal_width
=512
8854 aros_nominal_height
=384
8855 aros_nominal_depth
=8
8856 aros_target_ar_flags
="cru"
8857 aros_compiler_libs
="-lgcc1"
8858 aros_shared_default
=no
8859 aros_shared_cflags
="-fpic"
8860 aros_shared_aflags
=""
8861 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8862 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8863 aros_debug_cppflags
="$aros_messages_debug"
8864 aros_debug_cflags
="$aros_symbols_debug"
8865 aros_debug_aflags
=""
8866 aros_debug_ldflags
="$aros_symbols_debug"
8867 aros_mungwall_debug
="0"
8868 aros_modules_debug
="0"
8869 gcc_target_cpu
="mc68000"
8870 ignore_undefined_symbols
="-ius"
8873 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8879 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8883 #-----------------------------------------------------------------------------
8884 crosstools_guess
="yes"
8885 aros_target_toolchain
="no"
8886 aros_config_sysroot
=""
8887 aros_kernel_sysroot
=""
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8890 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8892 # Check whether --with-kernel-toolchain-prefix was given.
8893 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8894 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8898 $as_echo "$kernel_tool_prefix" >&6; }
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8901 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8903 # Check whether --with-elf-toolchain-prefix was given.
8904 if test "${with_elf_toolchain_prefix+set}" = set; then :
8905 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8906 crosstools_guess
="no"
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8910 $as_echo "$elf_tool_prefix" >&6; }
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8913 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8915 # Check whether --with-aros-toolchain was given.
8916 if test "${with_aros_toolchain+set}" = set; then :
8917 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8918 crosstools_guess
="no"
8921 if test "$aros_tool_prefix" = "yes" ; then
8922 aros_tool_prefix
=$aros_target_cpu-aros-
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8925 $as_echo "$aros_tool_prefix" >&6; }
8927 #-----------------------------------------------------------------------------
8928 # Checking if we should build crosstools..
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8930 $as_echo_n "checking whether to build crosstools... " >&6; }
8931 # Check whether --enable-crosstools was given.
8932 if test "${enable_crosstools+set}" = set; then :
8933 enableval
=$enable_crosstools; crosstools
="$enableval"
8935 crosstools
="$crosstools_guess"
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8939 $as_echo "$crosstools" >&6; }
8941 if test "${crosstools}" = "yes"; then
8942 if test "${crosstools_guess}" = "no"; then
8943 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8947 if test "${crosstools}" = "yes" ||
test "${crosstools_guess}" = "no"; then
8948 aros_target_toolchain
="yes"
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8952 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8954 # Check whether --with-aros-toolchain-install was given.
8955 if test "${with_aros_toolchain_install+set}" = set; then :
8956 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8959 if test "x$aros_toolchain_install" = "x"; then
8960 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8962 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8963 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8964 if test "$crosstools_guess" = "no" ; then
8965 toolchain_needs_sysroot
=yes
8967 if test "x-$aros_flavour" != "x-emulation" -a "x-$aros_flavour" != "x-emulcompat" ; then
8968 aros_kernel_sysroot
= $aros_config_sysroot
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8973 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking If we need to use --sysroot" >&5
8976 $as_echo_n "checking If we need to use --sysroot... " >&6; }
8977 if test "$toolchain_needs_sysroot" = "yes" ; then
8978 aros_config_sysroot
="--sysroot $AROS_BUILDDIR_UNIX/bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Developer"
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolchain_needs_sysroot" >&5
8981 $as_echo "$toolchain_needs_sysroot" >&6; }
8983 #-----------------------------------------------------------------------------
8984 if test "$aros_toolchain" = "gnu" ; then
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target binutils version to use" >&5
8986 $as_echo_n "checking what specific target binutils version to use... " >&6; }
8989 # Check whether --with-binutils-version was given.
8990 if test "${with_binutils_version+set}" = set; then :
8991 withval
=$with_binutils_version; use_binutils_version
="$withval"
8993 use_binutils_version
=""
8996 if test "$use_binutils_version" = ""; then
8997 target_binutils_version
="$default_binutils_version"
8999 target_binutils_version
="$use_binutils_version"
9001 if test "$aros_toolchain" = "gnu" ; then
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_binutils_version" >&5
9003 $as_echo "$target_binutils_version" >&6; }
9007 # Helper to identify gcc version
9010 #-----------------------------------------------------------------------------
9011 if test "$aros_toolchain" = "gnu" ; then
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
9013 $as_echo_n "checking what specific target gcc version to use... " >&6; }
9016 # Check whether --with-gcc-version was given.
9017 if test "${with_gcc_version+set}" = set; then :
9018 withval
=$with_gcc_version; use_gcc_version
="$withval"
9023 if test "$use_gcc_version" = ""; then
9024 if test "${crosstools}" = "no"; then
9025 if test "x$aros_toolchain_install" != "x"; then
9027 target_gcc_version
=""
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
9029 $as_echo_n "checking gcc version... " >&6; }
9030 if ${ax_cv_gcc_version+:} false
; then :
9031 $as_echo_n "(cached) " >&6
9034 ax_cv_gcc_version
="`$AROS_CROSSTOOLSDIR/${aros_tool_prefix}${toolchain_cpp_preprocessor} -dumpversion`"
9035 if test "x$ax_cv_gcc_version" = "x"; then :
9037 ax_cv_gcc_version
=""
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_version" >&5
9043 $as_echo "$ax_cv_gcc_version" >&6; }
9044 target_gcc_version
=$ax_cv_gcc_version
9049 if test "$use_gcc_version" = ""; then
9050 target_gcc_version
="$default_gcc_version"
9053 target_gcc_version
="$use_gcc_version"
9055 if test "$aros_toolchain" = "gnu" ; then
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_gcc_version" >&5
9057 $as_echo "$target_gcc_version" >&6; }
9059 GCC_VERSION_MAJOR
=$
(echo $target_gcc_version | cut
-d'.' -f1)
9060 GCC_VERSION_MINOR
=$
(echo $target_gcc_version | cut
-d'.' -f2)
9061 GCC_VERSION_PATCH
=$
(echo $target_gcc_version | cut
-d'.' -f3)
9063 gcc_fix_bitfields
="false"
9064 if test "$GCC_VERSION_MAJOR" -gt "4" ; then
9065 gcc_fix_bitfields
="true"
9067 if test "$GCC_VERSION_MAJOR" -gt "3" ; then
9068 if test "$GCC_VERSION_MINOR" -gt "6" ; then
9069 gcc_fix_bitfields
="true"
9074 if test "$gcc_fix_bitfields" = "true" ; then
9075 case "$aros_target_cpu" in
9077 aros_kernel_cflags
="$aros_kernel_cflags -mno-ms-bitfields"
9078 aros_isa_flags
="$aros_isa_flags -mno-ms-bitfields"
9081 aros_kernel_cflags
="$aros_kernel_cflags -mno-ms-bitfields"
9082 aros_isa_flags
="$aros_isa_flags -mno-ms-bitfields"
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Objective-C suppport" >&5
9089 $as_echo_n "checking whether to enable Objective-C suppport... " >&6; }
9090 # Check whether --enable-objc was given.
9091 if test "${enable_objc+set}" = set; then :
9092 enableval
=$enable_objc; objc
="$enableval"
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objc" >&5
9098 $as_echo "$objc" >&6; }
9099 if test "x$objc" = "xyes"; then
9102 objc_target
="no-objc"
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Java suppport" >&5
9106 $as_echo_n "checking whether to enable Java suppport... " >&6; }
9107 # Check whether --enable-java was given.
9108 if test "${enable_java+set}" = set; then :
9109 enableval
=$enable_java; java
="$enableval"
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $java" >&5
9115 $as_echo "$java" >&6; }
9116 if test "x$java" != "xno"; then
9119 java_target
="no-java"
9122 spec_obj_format
="-m $aros_object_format"
9123 # Now process extra architecture-specific options.
9124 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
9125 # as well as floating-point ABI.
9126 case "$aros_target_cpu" in
9128 spec_obj_format
="%{!m32:-m elf_x86_64} %{m32:-m elf_i386}"
9131 if test "$gcc_default_cpu" = ""; then
9132 gcc_default_cpu
="armv6"
9134 if test "$gcc_default_fpu" = ""; then
9135 gcc_default_fpu
="vfp"
9137 if test "$gcc_default_float_abi" = ""; then
9138 if test "$target_cpu" = "armhf"; then
9139 gcc_default_float_abi
="hard"
9141 gcc_default_float_abi
="softfp"
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
9146 $as_echo_n "checking Which minimum CPU to use... " >&6; }
9148 # Check whether --with-cpu was given.
9149 if test "${with_cpu+set}" = set; then :
9150 withval
=$with_cpu; aros_gcc_cpu
="$withval"
9152 aros_gcc_cpu
=$gcc_default_cpu
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
9156 $as_echo "$aros_gcc_cpu" >&6; }
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
9159 $as_echo_n "checking Which minimum FPU to use... " >&6; }
9161 # Check whether --with-fpu was given.
9162 if test "${with_fpu+set}" = set; then :
9163 withval
=$with_fpu; aros_gcc_fpu
="$withval"
9165 aros_gcc_fpu
=$gcc_default_fpu
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
9169 $as_echo "$aros_gcc_fpu" >&6; }
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
9172 $as_echo_n "checking Which floating point ABI to use... " >&6; }
9174 # Check whether --with-float was given.
9175 if test "${with_float+set}" = set; then :
9176 withval
=$with_float; aros_gcc_float_abi
="$withval"
9178 aros_gcc_float_abi
=$gcc_default_float_abi
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
9182 $as_echo "$aros_gcc_float_abi" >&6; }
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which ARM mode to use" >&5
9185 $as_echo_n "checking Which ARM mode to use... " >&6; }
9186 if test "$aros_target_cpu_mode" = ""; then
9187 aros_target_cpu_mode
="arm32"
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Defaulting to $aros_target_cpu_mode" >&5
9189 $as_echo "Defaulting to $aros_target_cpu_mode" >&6; }
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cpu_mode" >&5
9192 $as_echo "$aros_target_cpu_mode" >&6; }
9195 case "$aros_target_cpu_mode" in
9197 gcc_default_mode
="arm"
9198 aros_isa_flags
="$aros_isa_flags -m$gcc_default_mode -mthumb-interwork -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi"
9201 as_fn_error $?
"ARM 64-bit mode is unsupported" "$LINENO" 5
9204 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9207 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9210 gcc_default_mode
="thumb"
9211 # Do not specify -mthumb-interwork as it may add extra code to support arm/thumb interwork
9212 aros_isa_flags
="$aros_isa_flags -m$gcc_default_mode -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi"
9215 as_fn_error $?
"Unsupported ARM mode specified $aros_target_cpu_mode" "$LINENO" 5
9219 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -fno-exceptions"
9220 aros_config_cxxflags
="$aros_config_cxxflags -fno-asynchronous-unwind-tables -fno-exceptions"
9221 aros_config_aflags
="$aros_config_aflags -fno-asynchronous-unwind-tables -fno-exceptions"
9224 aros_isa_flags
="$aros_isa_flags -m32 -march=i486"
9225 aros_kernel_cflags
="$aros_kernel_cflags $aros_isa_flags"
9226 aros_kernel_ldflags
="$aros_kernel_ldflags -m32"
9230 # Some architectures may need custom ELF specs.
9231 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
9232 elf_specs_in
=config
/${aros_object_format}-specs.
in
9234 elf_specs_in
=config
/elf-specs.
in
9237 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
9238 # Since we override specs, we may need to put these defines there
9239 if test "$gcc_target_cpu" != ""; then
9240 gcc_target_cpu
="-D__${gcc_target_cpu}__"
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
9244 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
9246 # Check whether --with-portssources was given.
9247 if test "${with_portssources+set}" = set; then :
9248 withval
=$with_portssources; with_portssrcdir
=$withval
9250 with_portssrcdir
="default"
9253 if test "$with_portssrcdir" = "default"; then
9254 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
9256 AROS_PORTSSRCDIR
="$with_portssrcdir"
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
9259 $as_echo "$AROS_PORTSSRCDIR" >&6; }
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
9262 $as_echo_n "checking which bootloader to use... " >&6; }
9264 # Check whether --with-bootloader was given.
9265 if test "${with_bootloader+set}" = set; then :
9266 withval
=$with_bootloader; target_bootloader
=$withval
9268 target_bootloader
=$target_bootloader
9271 if test "$target_bootloader" = "none"; then
9272 aros_target_bootloader
=""
9274 aros_target_bootloader
="$target_bootloader"
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
9277 $as_echo "$target_bootloader" >&6; }
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
9280 $as_echo_n "checking which icon-set to use... " >&6; }
9282 # Check whether --with-iconset was given.
9283 if test "${with_iconset+set}" = set; then :
9284 withval
=$with_iconset; target_iconset
=$withval
9286 target_iconset
="default"
9289 if test "$target_iconset" = "default"; then
9290 aros_target_iconset
="Gorilla"
9291 target_iconset
="default (Gorilla)"
9293 aros_target_iconset
="$target_iconset"
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
9296 $as_echo "$target_iconset" >&6; }
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
9299 $as_echo_n "checking which GUI Theme to use... " >&6; }
9301 # Check whether --with-theme was given.
9302 if test "${with_theme+set}" = set; then :
9303 withval
=$with_theme; target_guitheme
=$withval
9305 target_guitheme
="default"
9308 if test "$target_guitheme" = "default"; then
9309 aros_target_guitheme
="Ice"
9311 aros_target_guitheme
="$target_guitheme"
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
9314 $as_echo "$aros_target_guitheme" >&6; }
9316 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
9320 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9324 if test "$aros_host_cpu" == "x86_64" ; then
9325 if test "$aros_target_cpu" == "i386" ; then
9330 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9331 if test "$aros_host_arch" != "$aros_target_arch" ; then
9335 if test "$host_cc_elf" = "no" ; then
9340 if test "$cross_compiling" = "no" ; then
9341 kernel_tool_prefix
=""
9342 if test "$host_cc_elf" = "yes" ; then
9347 if test "$kernel_tool_version" != ""; then
9348 kernel_tool_version
="-$kernel_tool_version"
9351 #######################################################################
9352 ## Compute what toolchains to use, and their paths ##
9353 #######################################################################
9355 # This takes, as input:
9356 # crosstools {yes,no}
9357 # kernel_tool_version {"",[version]}
9358 # target_tool_version {"",[version]}
9359 # kernel_tool_prefix {none,[some-arch-os-]}
9361 # target_tool_prefix ${aros_target_cpu}-aros-
9362 # aros_tool_prefix ${aros_target_cpu}-aros-
9365 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9366 # Where the 'kernel' binaries are located
9367 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9368 # Where the 'target' binaries are located
9369 # (not the symlink farm - that is aros_target_*!)
9372 # if crosstools then
9373 # if kernel_tools_prefix = "no-kernel-prefix-"
9374 # aros_kernel_* = crosstools cc paths
9375 # aros_kernel_cc = elf cc wrapper around crosstools cc
9377 # VALIDATE(${kernel_tools_prefix}*)
9378 # aros_kernel_* = ${kernel_tools_prefix}*
9379 # if ${kernel_tools_prefix}cc is an AROS gcc
9380 # aros_kernel_cc = ${kernel_tools_prefix}cc
9382 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
9386 # orig_target_* = aros built crosstools
9387 # orig_target_cc = elf cc wrapper around crosstools cc
9389 # VALIDATE(${kernel_tools_prefix}*)
9391 # orig_target_* = aros_kernel_*
9392 # if aros_kernel_cc is an AROS gcc
9393 # orig_target_cc = aros_kernel_cc
9395 # orig_target_cc = aros cc wrapper around aros_kernel_cc
9399 if test "$aros_toolchain" = "gnu" ; then
9400 target_tool_prefix
="${aros_target_cpu}-aros-"
9401 elif test "$aros_toolchain" = "llvm" ; then
9402 target_tool_prefix
="bin/"
9405 if test "$kernel_tool_prefix" != "" ; then
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
9407 $as_echo_n "checking which kernel tools... " >&6; }
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
9409 $as_echo "$kernel_tool_prefix" >&6; };
9412 if test "$kernel_tool_prefix" = "none" ; then
9413 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9414 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
9417 # Kernel tools required - find them
9418 # Note that 'normally', aros_kernel_* overrides will be
9419 # empty, unless specified in the per-arch sections above.
9420 if test "x$aros_kernel_cpp" = "x"; then
9421 aros_kernel_cpp
=${kernel_tool_prefix}${CPP}
9423 if test "${kernel_tool_version}" != ""; then
9424 if test "$aros_kernel_cpp" != ""; then
9425 ac_prog_args
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9426 ac_prog_cmd
=`expr "X$aros_kernel_cpp" : '^\S*'`
9427 aros_kernel_cpp
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9431 if test "$aros_kernel_cpp" = ""; then
9432 if test "$cross_compiling" = "yes" ; then
9433 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
9434 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9436 $as_echo_n "checking for $ac_word... " >&6; }
9437 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9438 $as_echo_n "(cached) " >&6
9440 case $aros_kernel_cpp in
9442 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9449 test -z "$as_dir" && as_dir
=.
9450 for ac_exec_ext
in '' $ac_executable_extensions; do
9451 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9452 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9463 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9464 if test -n "$aros_kernel_cpp"; then
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9466 $as_echo "$aros_kernel_cpp" >&6; }
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9469 $as_echo "no" >&6; }
9474 if test "$GCC" = "yes"; then
9475 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
9476 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
9477 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9479 $as_echo_n "checking for $ac_word... " >&6; }
9480 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9481 $as_echo_n "(cached) " >&6
9483 case $aros_kernel_cpp in
9485 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9489 for as_dir
in `dirname $aros_gcc_cpp`
9492 test -z "$as_dir" && as_dir
=.
9493 for ac_exec_ext
in '' $ac_executable_extensions; do
9494 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9495 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9506 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9507 if test -n "$aros_kernel_cpp"; then
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9509 $as_echo "$aros_kernel_cpp" >&6; }
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9512 $as_echo "no" >&6; }
9517 if test "$aros_kernel_cpp" = ""; then
9518 # Extract the first word of "cpp", so it can be a program name with args.
9519 set dummy cpp
; ac_word
=$2
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9521 $as_echo_n "checking for $ac_word... " >&6; }
9522 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9523 $as_echo_n "(cached) " >&6
9525 case $aros_kernel_cpp in
9527 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9534 test -z "$as_dir" && as_dir
=.
9535 for ac_exec_ext
in '' $ac_executable_extensions; do
9536 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9537 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9548 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9549 if test -n "$aros_kernel_cpp"; then
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9551 $as_echo "$aros_kernel_cpp" >&6; }
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9554 $as_echo "no" >&6; }
9561 ac_tool_optarg
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9562 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
9563 set dummy
$aros_kernel_cpp; ac_word
=$2
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9565 $as_echo_n "checking for $ac_word... " >&6; }
9566 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9567 $as_echo_n "(cached) " >&6
9569 case $aros_kernel_cpp in
9571 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9578 test -z "$as_dir" && as_dir
=.
9579 for ac_exec_ext
in '' $ac_executable_extensions; do
9580 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9581 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9592 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9593 if test -n "$aros_kernel_cpp"; then
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9595 $as_echo "$aros_kernel_cpp" >&6; }
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9598 $as_echo "no" >&6; }
9602 aros_kernel_cpp
="$aros_kernel_cpp $ac_tool_optarg"
9606 if test "$aros_kernel_cpp" = ""; then
9609 if test "$aros_kernel_cpp" = "no"; then
9612 if test "$req_avail" = "no"; then
9613 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
9616 if test "x$aros_kernel_cc" = "x"; then
9617 aros_kernel_cc
=${kernel_tool_prefix}${CC}
9619 if test "${kernel_tool_version}" != ""; then
9620 if test "$aros_kernel_cc" != ""; then
9621 ac_prog_args
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
9622 ac_prog_cmd
=`expr "X$aros_kernel_cc" : '^\S*'`
9623 aros_kernel_cc
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9627 if test "$aros_kernel_cc" = ""; then
9628 if test "$cross_compiling" = "yes" ; then
9629 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
9630 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9632 $as_echo_n "checking for $ac_word... " >&6; }
9633 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9634 $as_echo_n "(cached) " >&6
9636 case $aros_kernel_cc in
9638 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9645 test -z "$as_dir" && as_dir
=.
9646 for ac_exec_ext
in '' $ac_executable_extensions; do
9647 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9648 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9659 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9660 if test -n "$aros_kernel_cc"; then
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9662 $as_echo "$aros_kernel_cc" >&6; }
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9665 $as_echo "no" >&6; }
9670 if test "$GCC" = "yes"; then
9671 aros_gcc_cc
=`$CC -print-prog-name=cc`
9672 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
9673 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9675 $as_echo_n "checking for $ac_word... " >&6; }
9676 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9677 $as_echo_n "(cached) " >&6
9679 case $aros_kernel_cc in
9681 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9685 for as_dir
in `dirname $aros_gcc_cc`
9688 test -z "$as_dir" && as_dir
=.
9689 for ac_exec_ext
in '' $ac_executable_extensions; do
9690 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9691 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9702 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9703 if test -n "$aros_kernel_cc"; then
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9705 $as_echo "$aros_kernel_cc" >&6; }
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9708 $as_echo "no" >&6; }
9713 if test "$aros_kernel_cc" = ""; then
9714 # Extract the first word of "cc", so it can be a program name with args.
9715 set dummy cc
; ac_word
=$2
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9717 $as_echo_n "checking for $ac_word... " >&6; }
9718 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9719 $as_echo_n "(cached) " >&6
9721 case $aros_kernel_cc in
9723 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9730 test -z "$as_dir" && as_dir
=.
9731 for ac_exec_ext
in '' $ac_executable_extensions; do
9732 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9733 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9744 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9745 if test -n "$aros_kernel_cc"; then
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9747 $as_echo "$aros_kernel_cc" >&6; }
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9750 $as_echo "no" >&6; }
9757 ac_tool_optarg
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
9758 # Extract the first word of "$aros_kernel_cc", so it can be a program name with args.
9759 set dummy
$aros_kernel_cc; ac_word
=$2
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9761 $as_echo_n "checking for $ac_word... " >&6; }
9762 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9763 $as_echo_n "(cached) " >&6
9765 case $aros_kernel_cc in
9767 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9774 test -z "$as_dir" && as_dir
=.
9775 for ac_exec_ext
in '' $ac_executable_extensions; do
9776 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9777 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9788 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9789 if test -n "$aros_kernel_cc"; then
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9791 $as_echo "$aros_kernel_cc" >&6; }
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9794 $as_echo "no" >&6; }
9798 aros_kernel_cc
="$aros_kernel_cc $ac_tool_optarg"
9802 if test "$aros_kernel_cc" = ""; then
9805 if test "$aros_kernel_cc" = "no"; then
9808 if test "$req_avail" = "no"; then
9809 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9812 if test "x$aros_kernel_cxx" = "x"; then
9813 aros_kernel_cxx
=${kernel_tool_prefix}${CXX}
9815 if test "${kernel_tool_version}" != ""; then
9816 if test "$aros_kernel_cxx" != ""; then
9817 ac_prog_args
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
9818 ac_prog_cmd
=`expr "X$aros_kernel_cxx" : '^\S*'`
9819 aros_kernel_cxx
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9823 if test "$aros_kernel_cxx" = ""; then
9824 if test "$cross_compiling" = "yes" ; then
9825 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9826 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9828 $as_echo_n "checking for $ac_word... " >&6; }
9829 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9830 $as_echo_n "(cached) " >&6
9832 case $aros_kernel_cxx in
9834 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9841 test -z "$as_dir" && as_dir
=.
9842 for ac_exec_ext
in '' $ac_executable_extensions; do
9843 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9844 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9855 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9856 if test -n "$aros_kernel_cxx"; then
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9858 $as_echo "$aros_kernel_cxx" >&6; }
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9861 $as_echo "no" >&6; }
9866 if test "$GCC" = "yes"; then
9867 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9868 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9869 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9871 $as_echo_n "checking for $ac_word... " >&6; }
9872 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9873 $as_echo_n "(cached) " >&6
9875 case $aros_kernel_cxx in
9877 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9881 for as_dir
in `dirname $aros_gcc_cxx`
9884 test -z "$as_dir" && as_dir
=.
9885 for ac_exec_ext
in '' $ac_executable_extensions; do
9886 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9887 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9898 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9899 if test -n "$aros_kernel_cxx"; then
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9901 $as_echo "$aros_kernel_cxx" >&6; }
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9904 $as_echo "no" >&6; }
9909 if test "$aros_kernel_cxx" = ""; then
9910 # Extract the first word of "cxx", so it can be a program name with args.
9911 set dummy cxx
; ac_word
=$2
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9913 $as_echo_n "checking for $ac_word... " >&6; }
9914 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9915 $as_echo_n "(cached) " >&6
9917 case $aros_kernel_cxx in
9919 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9926 test -z "$as_dir" && as_dir
=.
9927 for ac_exec_ext
in '' $ac_executable_extensions; do
9928 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9929 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9940 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9941 if test -n "$aros_kernel_cxx"; then
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9943 $as_echo "$aros_kernel_cxx" >&6; }
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9946 $as_echo "no" >&6; }
9953 ac_tool_optarg
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
9954 # Extract the first word of "$aros_kernel_cxx", so it can be a program name with args.
9955 set dummy
$aros_kernel_cxx; ac_word
=$2
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9957 $as_echo_n "checking for $ac_word... " >&6; }
9958 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9959 $as_echo_n "(cached) " >&6
9961 case $aros_kernel_cxx in
9963 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9970 test -z "$as_dir" && as_dir
=.
9971 for ac_exec_ext
in '' $ac_executable_extensions; do
9972 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9973 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9984 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9985 if test -n "$aros_kernel_cxx"; then
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9987 $as_echo "$aros_kernel_cxx" >&6; }
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9990 $as_echo "no" >&6; }
9994 aros_kernel_cxx
="$aros_kernel_cxx $ac_tool_optarg"
9997 # If it's set, make sure it's really there
9998 if test "x$aros_kernel_cxx" != "x" ; then
10000 if test "$aros_kernel_cxx" = ""; then
10003 if test "$aros_kernel_cxx" = "no"; then
10006 if test "$req_avail" = "no"; then
10007 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
10011 if test "$aros_kernel_ld" = ""; then
10012 if test "$cross_compiling" = "yes" ; then
10013 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
10014 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10016 $as_echo_n "checking for $ac_word... " >&6; }
10017 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10018 $as_echo_n "(cached) " >&6
10020 case $aros_kernel_ld in
10022 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10026 for as_dir
in $PATH
10029 test -z "$as_dir" && as_dir
=.
10030 for ac_exec_ext
in '' $ac_executable_extensions; do
10031 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10032 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10043 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10044 if test -n "$aros_kernel_ld"; then
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10046 $as_echo "$aros_kernel_ld" >&6; }
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10049 $as_echo "no" >&6; }
10054 if test "$GCC" = "yes"; then
10055 aros_gcc_ld
=`$CC -print-prog-name=ld`
10056 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
10057 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10059 $as_echo_n "checking for $ac_word... " >&6; }
10060 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10061 $as_echo_n "(cached) " >&6
10063 case $aros_kernel_ld in
10065 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10069 for as_dir
in `dirname $aros_gcc_ld`
10072 test -z "$as_dir" && as_dir
=.
10073 for ac_exec_ext
in '' $ac_executable_extensions; do
10074 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10075 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10086 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10087 if test -n "$aros_kernel_ld"; then
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10089 $as_echo "$aros_kernel_ld" >&6; }
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10092 $as_echo "no" >&6; }
10097 if test "$aros_kernel_ld" = ""; then
10098 # Extract the first word of "ld", so it can be a program name with args.
10099 set dummy ld
; ac_word
=$2
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10101 $as_echo_n "checking for $ac_word... " >&6; }
10102 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10103 $as_echo_n "(cached) " >&6
10105 case $aros_kernel_ld in
10107 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10111 for as_dir
in $PATH
10114 test -z "$as_dir" && as_dir
=.
10115 for ac_exec_ext
in '' $ac_executable_extensions; do
10116 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10117 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10128 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10129 if test -n "$aros_kernel_ld"; then
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10131 $as_echo "$aros_kernel_ld" >&6; }
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10134 $as_echo "no" >&6; }
10141 ac_tool_optarg
=`expr "X$aros_kernel_ld" : '[^ ]* \(.*\)'`
10142 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
10143 set dummy
$aros_kernel_ld; ac_word
=$2
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10145 $as_echo_n "checking for $ac_word... " >&6; }
10146 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10147 $as_echo_n "(cached) " >&6
10149 case $aros_kernel_ld in
10151 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10155 for as_dir
in $PATH
10158 test -z "$as_dir" && as_dir
=.
10159 for ac_exec_ext
in '' $ac_executable_extensions; do
10160 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10161 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10172 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10173 if test -n "$aros_kernel_ld"; then
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10175 $as_echo "$aros_kernel_ld" >&6; }
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10178 $as_echo "no" >&6; }
10182 aros_kernel_ld
="$aros_kernel_ld $ac_tool_optarg"
10186 if test "$aros_kernel_ld" = ""; then
10189 if test "$aros_kernel_ld" = "no"; then
10192 if test "$req_avail" = "no"; then
10193 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10196 if test "$aros_kernel_as" = ""; then
10197 if test "$cross_compiling" = "yes" ; then
10198 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
10199 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10201 $as_echo_n "checking for $ac_word... " >&6; }
10202 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10203 $as_echo_n "(cached) " >&6
10205 case $aros_kernel_as in
10207 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10211 for as_dir
in $PATH
10214 test -z "$as_dir" && as_dir
=.
10215 for ac_exec_ext
in '' $ac_executable_extensions; do
10216 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10217 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10228 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10229 if test -n "$aros_kernel_as"; then
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10231 $as_echo "$aros_kernel_as" >&6; }
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10234 $as_echo "no" >&6; }
10239 if test "$GCC" = "yes"; then
10240 aros_gcc_as
=`$CC -print-prog-name=as`
10241 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
10242 set dummy
`basename $aros_gcc_as`; ac_word
=$2
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10244 $as_echo_n "checking for $ac_word... " >&6; }
10245 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10246 $as_echo_n "(cached) " >&6
10248 case $aros_kernel_as in
10250 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10254 for as_dir
in `dirname $aros_gcc_as`
10257 test -z "$as_dir" && as_dir
=.
10258 for ac_exec_ext
in '' $ac_executable_extensions; do
10259 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10260 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10271 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10272 if test -n "$aros_kernel_as"; then
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10274 $as_echo "$aros_kernel_as" >&6; }
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10277 $as_echo "no" >&6; }
10282 if test "$aros_kernel_as" = ""; then
10283 # Extract the first word of "as", so it can be a program name with args.
10284 set dummy as
; ac_word
=$2
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10286 $as_echo_n "checking for $ac_word... " >&6; }
10287 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10288 $as_echo_n "(cached) " >&6
10290 case $aros_kernel_as in
10292 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10296 for as_dir
in $PATH
10299 test -z "$as_dir" && as_dir
=.
10300 for ac_exec_ext
in '' $ac_executable_extensions; do
10301 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10302 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10313 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10314 if test -n "$aros_kernel_as"; then
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10316 $as_echo "$aros_kernel_as" >&6; }
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10319 $as_echo "no" >&6; }
10326 ac_tool_optarg
=`expr "X$aros_kernel_as" : '[^ ]* \(.*\)'`
10327 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
10328 set dummy
$aros_kernel_as; ac_word
=$2
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10330 $as_echo_n "checking for $ac_word... " >&6; }
10331 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10332 $as_echo_n "(cached) " >&6
10334 case $aros_kernel_as in
10336 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10340 for as_dir
in $PATH
10343 test -z "$as_dir" && as_dir
=.
10344 for ac_exec_ext
in '' $ac_executable_extensions; do
10345 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10346 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10357 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10358 if test -n "$aros_kernel_as"; then
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10360 $as_echo "$aros_kernel_as" >&6; }
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10363 $as_echo "no" >&6; }
10367 aros_kernel_as
="$aros_kernel_as $ac_tool_optarg"
10371 if test "$aros_kernel_as" = ""; then
10374 if test "$aros_kernel_as" = "no"; then
10377 if test "$req_avail" = "no"; then
10378 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
10381 if test "$aros_kernel_ar" = ""; then
10382 if test "$cross_compiling" = "yes" ; then
10383 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
10384 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10386 $as_echo_n "checking for $ac_word... " >&6; }
10387 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10388 $as_echo_n "(cached) " >&6
10390 case $aros_kernel_ar in
10392 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10396 for as_dir
in $PATH
10399 test -z "$as_dir" && as_dir
=.
10400 for ac_exec_ext
in '' $ac_executable_extensions; do
10401 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10402 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10413 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10414 if test -n "$aros_kernel_ar"; then
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10416 $as_echo "$aros_kernel_ar" >&6; }
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10419 $as_echo "no" >&6; }
10424 if test "$GCC" = "yes"; then
10425 aros_gcc_ar
=`$CC -print-prog-name=ar`
10426 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
10427 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10429 $as_echo_n "checking for $ac_word... " >&6; }
10430 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10431 $as_echo_n "(cached) " >&6
10433 case $aros_kernel_ar in
10435 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10439 for as_dir
in `dirname $aros_gcc_ar`
10442 test -z "$as_dir" && as_dir
=.
10443 for ac_exec_ext
in '' $ac_executable_extensions; do
10444 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10445 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10456 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10457 if test -n "$aros_kernel_ar"; then
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10459 $as_echo "$aros_kernel_ar" >&6; }
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10462 $as_echo "no" >&6; }
10467 if test "$aros_kernel_ar" = ""; then
10468 # Extract the first word of "ar", so it can be a program name with args.
10469 set dummy
ar; ac_word
=$2
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10471 $as_echo_n "checking for $ac_word... " >&6; }
10472 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10473 $as_echo_n "(cached) " >&6
10475 case $aros_kernel_ar in
10477 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10481 for as_dir
in $PATH
10484 test -z "$as_dir" && as_dir
=.
10485 for ac_exec_ext
in '' $ac_executable_extensions; do
10486 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10487 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10498 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10499 if test -n "$aros_kernel_ar"; then
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10501 $as_echo "$aros_kernel_ar" >&6; }
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10504 $as_echo "no" >&6; }
10511 ac_tool_optarg
=`expr "X$aros_kernel_ar" : '[^ ]* \(.*\)'`
10512 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
10513 set dummy
$aros_kernel_ar; ac_word
=$2
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10515 $as_echo_n "checking for $ac_word... " >&6; }
10516 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10517 $as_echo_n "(cached) " >&6
10519 case $aros_kernel_ar in
10521 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10525 for as_dir
in $PATH
10528 test -z "$as_dir" && as_dir
=.
10529 for ac_exec_ext
in '' $ac_executable_extensions; do
10530 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10531 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10542 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10543 if test -n "$aros_kernel_ar"; then
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10545 $as_echo "$aros_kernel_ar" >&6; }
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10548 $as_echo "no" >&6; }
10552 aros_kernel_ar
="$aros_kernel_ar $ac_tool_optarg"
10556 if test "$aros_kernel_ar" = ""; then
10559 if test "$aros_kernel_ar" = "no"; then
10562 if test "$req_avail" = "no"; then
10563 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
10566 if test "$aros_kernel_ranlib" = ""; then
10567 if test "$cross_compiling" = "yes" ; then
10568 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
10569 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10571 $as_echo_n "checking for $ac_word... " >&6; }
10572 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10573 $as_echo_n "(cached) " >&6
10575 case $aros_kernel_ranlib in
10577 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10581 for as_dir
in $PATH
10584 test -z "$as_dir" && as_dir
=.
10585 for ac_exec_ext
in '' $ac_executable_extensions; do
10586 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10587 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10598 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10599 if test -n "$aros_kernel_ranlib"; then
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10601 $as_echo "$aros_kernel_ranlib" >&6; }
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10604 $as_echo "no" >&6; }
10609 if test "$GCC" = "yes"; then
10610 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10611 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10612 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10614 $as_echo_n "checking for $ac_word... " >&6; }
10615 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10616 $as_echo_n "(cached) " >&6
10618 case $aros_kernel_ranlib in
10620 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10624 for as_dir
in `dirname $aros_gcc_ranlib`
10627 test -z "$as_dir" && as_dir
=.
10628 for ac_exec_ext
in '' $ac_executable_extensions; do
10629 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10630 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10641 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10642 if test -n "$aros_kernel_ranlib"; then
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10644 $as_echo "$aros_kernel_ranlib" >&6; }
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10647 $as_echo "no" >&6; }
10652 if test "$aros_kernel_ranlib" = ""; then
10653 # Extract the first word of "ranlib", so it can be a program name with args.
10654 set dummy ranlib
; ac_word
=$2
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10656 $as_echo_n "checking for $ac_word... " >&6; }
10657 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10658 $as_echo_n "(cached) " >&6
10660 case $aros_kernel_ranlib in
10662 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10666 for as_dir
in $PATH
10669 test -z "$as_dir" && as_dir
=.
10670 for ac_exec_ext
in '' $ac_executable_extensions; do
10671 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10672 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10683 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10684 if test -n "$aros_kernel_ranlib"; then
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10686 $as_echo "$aros_kernel_ranlib" >&6; }
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10689 $as_echo "no" >&6; }
10696 ac_tool_optarg
=`expr "X$aros_kernel_ranlib" : '[^ ]* \(.*\)'`
10697 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
10698 set dummy
$aros_kernel_ranlib; ac_word
=$2
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10700 $as_echo_n "checking for $ac_word... " >&6; }
10701 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10702 $as_echo_n "(cached) " >&6
10704 case $aros_kernel_ranlib in
10706 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10710 for as_dir
in $PATH
10713 test -z "$as_dir" && as_dir
=.
10714 for ac_exec_ext
in '' $ac_executable_extensions; do
10715 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10716 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10727 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10728 if test -n "$aros_kernel_ranlib"; then
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10730 $as_echo "$aros_kernel_ranlib" >&6; }
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10733 $as_echo "no" >&6; }
10737 aros_kernel_ranlib
="$aros_kernel_ranlib $ac_tool_optarg"
10741 if test "$aros_kernel_ranlib" = ""; then
10744 if test "$aros_kernel_ranlib" = "no"; then
10747 if test "$req_avail" = "no"; then
10748 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
10751 if test "$aros_kernel_nm" = ""; then
10752 if test "$cross_compiling" = "yes" ; then
10753 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
10754 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10756 $as_echo_n "checking for $ac_word... " >&6; }
10757 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10758 $as_echo_n "(cached) " >&6
10760 case $aros_kernel_nm in
10762 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10766 for as_dir
in $PATH
10769 test -z "$as_dir" && as_dir
=.
10770 for ac_exec_ext
in '' $ac_executable_extensions; do
10771 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10772 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10783 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10784 if test -n "$aros_kernel_nm"; then
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10786 $as_echo "$aros_kernel_nm" >&6; }
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10789 $as_echo "no" >&6; }
10794 if test "$GCC" = "yes"; then
10795 aros_gcc_nm
=`$CC -print-prog-name=nm`
10796 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10797 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10799 $as_echo_n "checking for $ac_word... " >&6; }
10800 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10801 $as_echo_n "(cached) " >&6
10803 case $aros_kernel_nm in
10805 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10809 for as_dir
in `dirname $aros_gcc_nm`
10812 test -z "$as_dir" && as_dir
=.
10813 for ac_exec_ext
in '' $ac_executable_extensions; do
10814 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10815 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10826 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10827 if test -n "$aros_kernel_nm"; then
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10829 $as_echo "$aros_kernel_nm" >&6; }
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10832 $as_echo "no" >&6; }
10837 if test "$aros_kernel_nm" = ""; then
10838 # Extract the first word of "nm", so it can be a program name with args.
10839 set dummy nm
; ac_word
=$2
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10841 $as_echo_n "checking for $ac_word... " >&6; }
10842 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10843 $as_echo_n "(cached) " >&6
10845 case $aros_kernel_nm in
10847 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10851 for as_dir
in $PATH
10854 test -z "$as_dir" && as_dir
=.
10855 for ac_exec_ext
in '' $ac_executable_extensions; do
10856 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10857 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10868 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10869 if test -n "$aros_kernel_nm"; then
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10871 $as_echo "$aros_kernel_nm" >&6; }
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10874 $as_echo "no" >&6; }
10881 ac_tool_optarg
=`expr "X$aros_kernel_nm" : '[^ ]* \(.*\)'`
10882 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10883 set dummy
$aros_kernel_nm; ac_word
=$2
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10885 $as_echo_n "checking for $ac_word... " >&6; }
10886 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10887 $as_echo_n "(cached) " >&6
10889 case $aros_kernel_nm in
10891 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10895 for as_dir
in $PATH
10898 test -z "$as_dir" && as_dir
=.
10899 for ac_exec_ext
in '' $ac_executable_extensions; do
10900 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10901 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10912 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10913 if test -n "$aros_kernel_nm"; then
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10915 $as_echo "$aros_kernel_nm" >&6; }
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10918 $as_echo "no" >&6; }
10922 aros_kernel_nm
="$aros_kernel_nm $ac_tool_optarg"
10926 if test "$aros_kernel_nm" = ""; then
10929 if test "$aros_kernel_nm" = "no"; then
10932 if test "$req_avail" = "no"; then
10933 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10936 if test "$aros_kernel_strip" = ""; then
10937 if test "$cross_compiling" = "yes" ; then
10938 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10939 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10941 $as_echo_n "checking for $ac_word... " >&6; }
10942 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10943 $as_echo_n "(cached) " >&6
10945 case $aros_kernel_strip in
10947 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10951 for as_dir
in $PATH
10954 test -z "$as_dir" && as_dir
=.
10955 for ac_exec_ext
in '' $ac_executable_extensions; do
10956 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10957 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10968 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10969 if test -n "$aros_kernel_strip"; then
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10971 $as_echo "$aros_kernel_strip" >&6; }
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10974 $as_echo "no" >&6; }
10979 if test "$GCC" = "yes"; then
10980 aros_gcc_strip
=`$CC -print-prog-name=strip`
10981 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10982 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10984 $as_echo_n "checking for $ac_word... " >&6; }
10985 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10986 $as_echo_n "(cached) " >&6
10988 case $aros_kernel_strip in
10990 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10994 for as_dir
in `dirname $aros_gcc_strip`
10997 test -z "$as_dir" && as_dir
=.
10998 for ac_exec_ext
in '' $ac_executable_extensions; do
10999 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11000 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11011 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11012 if test -n "$aros_kernel_strip"; then
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11014 $as_echo "$aros_kernel_strip" >&6; }
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11017 $as_echo "no" >&6; }
11022 if test "$aros_kernel_strip" = ""; then
11023 # Extract the first word of "strip", so it can be a program name with args.
11024 set dummy strip
; ac_word
=$2
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11026 $as_echo_n "checking for $ac_word... " >&6; }
11027 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11028 $as_echo_n "(cached) " >&6
11030 case $aros_kernel_strip in
11032 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11036 for as_dir
in $PATH
11039 test -z "$as_dir" && as_dir
=.
11040 for ac_exec_ext
in '' $ac_executable_extensions; do
11041 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11042 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11053 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11054 if test -n "$aros_kernel_strip"; then
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11056 $as_echo "$aros_kernel_strip" >&6; }
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11059 $as_echo "no" >&6; }
11066 ac_tool_optarg
=`expr "X$aros_kernel_strip" : '[^ ]* \(.*\)'`
11067 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
11068 set dummy
$aros_kernel_strip; ac_word
=$2
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11070 $as_echo_n "checking for $ac_word... " >&6; }
11071 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11072 $as_echo_n "(cached) " >&6
11074 case $aros_kernel_strip in
11076 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11080 for as_dir
in $PATH
11083 test -z "$as_dir" && as_dir
=.
11084 for ac_exec_ext
in '' $ac_executable_extensions; do
11085 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11086 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11097 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11098 if test -n "$aros_kernel_strip"; then
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11100 $as_echo "$aros_kernel_strip" >&6; }
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11103 $as_echo "no" >&6; }
11107 aros_kernel_strip
="$aros_kernel_strip $ac_tool_optarg"
11111 if test "$aros_kernel_strip" = ""; then
11114 if test "$aros_kernel_strip" = "no"; then
11117 if test "$req_avail" = "no"; then
11118 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
11121 # Objcopy and objdump are not required for the kernel
11122 # toolchain on many architectures.
11123 # So we'll look for them, but not make them strictly required.
11125 if test "$aros_kernel_objcopy" = ""; then
11126 if test "$cross_compiling" = "yes" ; then
11127 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
11128 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11130 $as_echo_n "checking for $ac_word... " >&6; }
11131 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11132 $as_echo_n "(cached) " >&6
11134 case $aros_kernel_objcopy in
11136 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11140 for as_dir
in $PATH
11143 test -z "$as_dir" && as_dir
=.
11144 for ac_exec_ext
in '' $ac_executable_extensions; do
11145 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11146 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11157 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11158 if test -n "$aros_kernel_objcopy"; then
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11160 $as_echo "$aros_kernel_objcopy" >&6; }
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11163 $as_echo "no" >&6; }
11168 if test "$GCC" = "yes"; then
11169 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
11170 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
11171 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11173 $as_echo_n "checking for $ac_word... " >&6; }
11174 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11175 $as_echo_n "(cached) " >&6
11177 case $aros_kernel_objcopy in
11179 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11183 for as_dir
in `dirname $aros_gcc_objcopy`
11186 test -z "$as_dir" && as_dir
=.
11187 for ac_exec_ext
in '' $ac_executable_extensions; do
11188 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11189 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11200 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11201 if test -n "$aros_kernel_objcopy"; then
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11203 $as_echo "$aros_kernel_objcopy" >&6; }
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11206 $as_echo "no" >&6; }
11211 if test "$aros_kernel_objcopy" = ""; then
11212 # Extract the first word of "objcopy", so it can be a program name with args.
11213 set dummy objcopy
; ac_word
=$2
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11215 $as_echo_n "checking for $ac_word... " >&6; }
11216 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11217 $as_echo_n "(cached) " >&6
11219 case $aros_kernel_objcopy in
11221 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11225 for as_dir
in $PATH
11228 test -z "$as_dir" && as_dir
=.
11229 for ac_exec_ext
in '' $ac_executable_extensions; do
11230 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11231 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11242 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11243 if test -n "$aros_kernel_objcopy"; then
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11245 $as_echo "$aros_kernel_objcopy" >&6; }
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11248 $as_echo "no" >&6; }
11255 ac_tool_optarg
=`expr "X$aros_kernel_objcopy" : '[^ ]* \(.*\)'`
11256 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
11257 set dummy
$aros_kernel_objcopy; ac_word
=$2
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11259 $as_echo_n "checking for $ac_word... " >&6; }
11260 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11261 $as_echo_n "(cached) " >&6
11263 case $aros_kernel_objcopy in
11265 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11269 for as_dir
in $PATH
11272 test -z "$as_dir" && as_dir
=.
11273 for ac_exec_ext
in '' $ac_executable_extensions; do
11274 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11275 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11286 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11287 if test -n "$aros_kernel_objcopy"; then
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11289 $as_echo "$aros_kernel_objcopy" >&6; }
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11292 $as_echo "no" >&6; }
11296 aros_kernel_objcopy
="$aros_kernel_objcopy $ac_tool_optarg"
11300 if test "$aros_kernel_objdump" = ""; then
11301 if test "$cross_compiling" = "yes" ; then
11302 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
11303 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11305 $as_echo_n "checking for $ac_word... " >&6; }
11306 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11307 $as_echo_n "(cached) " >&6
11309 case $aros_kernel_objdump in
11311 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11315 for as_dir
in $PATH
11318 test -z "$as_dir" && as_dir
=.
11319 for ac_exec_ext
in '' $ac_executable_extensions; do
11320 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11321 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11332 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11333 if test -n "$aros_kernel_objdump"; then
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11335 $as_echo "$aros_kernel_objdump" >&6; }
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11338 $as_echo "no" >&6; }
11343 if test "$GCC" = "yes"; then
11344 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
11345 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
11346 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11348 $as_echo_n "checking for $ac_word... " >&6; }
11349 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11350 $as_echo_n "(cached) " >&6
11352 case $aros_kernel_objdump in
11354 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11358 for as_dir
in `dirname $aros_gcc_objdump`
11361 test -z "$as_dir" && as_dir
=.
11362 for ac_exec_ext
in '' $ac_executable_extensions; do
11363 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11364 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11375 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11376 if test -n "$aros_kernel_objdump"; then
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11378 $as_echo "$aros_kernel_objdump" >&6; }
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11381 $as_echo "no" >&6; }
11386 if test "$aros_kernel_objdump" = ""; then
11387 # Extract the first word of "objdump", so it can be a program name with args.
11388 set dummy objdump
; ac_word
=$2
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11390 $as_echo_n "checking for $ac_word... " >&6; }
11391 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11392 $as_echo_n "(cached) " >&6
11394 case $aros_kernel_objdump in
11396 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11400 for as_dir
in $PATH
11403 test -z "$as_dir" && as_dir
=.
11404 for ac_exec_ext
in '' $ac_executable_extensions; do
11405 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11406 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11417 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11418 if test -n "$aros_kernel_objdump"; then
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11420 $as_echo "$aros_kernel_objdump" >&6; }
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11423 $as_echo "no" >&6; }
11430 ac_tool_optarg
=`expr "X$aros_kernel_objdump" : '[^ ]* \(.*\)'`
11431 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
11432 set dummy
$aros_kernel_objdump; ac_word
=$2
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11434 $as_echo_n "checking for $ac_word... " >&6; }
11435 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11436 $as_echo_n "(cached) " >&6
11438 case $aros_kernel_objdump in
11440 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11444 for as_dir
in $PATH
11447 test -z "$as_dir" && as_dir
=.
11448 for ac_exec_ext
in '' $ac_executable_extensions; do
11449 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11450 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11461 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11462 if test -n "$aros_kernel_objdump"; then
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11464 $as_echo "$aros_kernel_objdump" >&6; }
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11467 $as_echo "no" >&6; }
11471 aros_kernel_objdump
="$aros_kernel_objdump $ac_tool_optarg"
11474 if test "x${crosstools}" != "xyes" ; then
11476 if test "$aros_kernel_objcopy" = ""; then
11479 if test "$aros_kernel_objcopy" = "no"; then
11482 if test "$req_avail" = "no"; then
11483 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
11486 if test "$aros_kernel_objdump" = ""; then
11489 if test "$aros_kernel_objdump" = "no"; then
11492 if test "$req_avail" = "no"; then
11493 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
11499 $as_echo_n "checking which target tools to use... " >&6; }
11500 if test "$aros_target_toolchain" = "yes"; then
11501 if test "$aros_toolchain" = "llvm" ; then
11504 msg_result
=$target_tool_prefix
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
11507 $as_echo "$msg_result" >&6; }
11508 # We are building AROS crosstools
11509 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
11510 orig_target_cc
="${tmp_tool_prefix}${toolchain_c_compiler}${target_tool_version}"
11511 orig_target_cxx
="${tmp_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}"
11512 orig_target_cpp
="${tmp_tool_prefix}${toolchain_cpp_preprocessor}"
11513 orig_target_ld
="${tmp_tool_prefix}${toolchain_ld}"
11514 orig_target_as
="${tmp_tool_prefix}${toolchain_as}"
11515 orig_target_ar
="${tmp_tool_prefix}${toolchain_ar}"
11516 orig_target_ranlib
="${tmp_tool_prefix}${toolchain_ranlib}"
11517 orig_target_nm
="${tmp_tool_prefix}${toolchain_nm}"
11518 orig_target_strip
="${tmp_tool_prefix}${toolchain_strip}"
11519 orig_target_objcopy
="${tmp_tool_prefix}${toolchain_objcopy}"
11520 orig_target_objdump
="${tmp_tool_prefix}${toolchain_objdump}"
11522 # Determine whether AROS or ELF tools should be used
11523 if test "$aros_tool_prefix" = "none"; then
11524 aros_tool_prefix
="${elf_tool_prefix}"
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
11528 $as_echo "$aros_tool_prefix" >&6; }
11529 # We are *not* building AROS crosstools - use the AROS or ELF tools
11531 if test "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" = ""; then
11532 if test "$cross_compiling" = "yes" ; then
11533 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
11534 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11536 $as_echo_n "checking for $ac_word... " >&6; }
11537 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11538 $as_echo_n "(cached) " >&6
11540 case $orig_target_cpp in
11542 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11546 for as_dir
in $PATH
11549 test -z "$as_dir" && as_dir
=.
11550 for ac_exec_ext
in '' $ac_executable_extensions; do
11551 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11552 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11563 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11564 if test -n "$orig_target_cpp"; then
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11566 $as_echo "$orig_target_cpp" >&6; }
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11569 $as_echo "no" >&6; }
11574 if test "$GCC" = "yes"; then
11575 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
11576 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
11577 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11579 $as_echo_n "checking for $ac_word... " >&6; }
11580 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11581 $as_echo_n "(cached) " >&6
11583 case $orig_target_cpp in
11585 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11589 for as_dir
in `dirname $aros_gcc_cpp`
11592 test -z "$as_dir" && as_dir
=.
11593 for ac_exec_ext
in '' $ac_executable_extensions; do
11594 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11595 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11606 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11607 if test -n "$orig_target_cpp"; then
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11609 $as_echo "$orig_target_cpp" >&6; }
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11612 $as_echo "no" >&6; }
11617 if test "$orig_target_cpp" = ""; then
11618 # Extract the first word of "cpp", so it can be a program name with args.
11619 set dummy cpp
; ac_word
=$2
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11621 $as_echo_n "checking for $ac_word... " >&6; }
11622 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11623 $as_echo_n "(cached) " >&6
11625 case $orig_target_cpp in
11627 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11631 for as_dir
in $PATH
11634 test -z "$as_dir" && as_dir
=.
11635 for ac_exec_ext
in '' $ac_executable_extensions; do
11636 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11637 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11648 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11649 if test -n "$orig_target_cpp"; then
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11651 $as_echo "$orig_target_cpp" >&6; }
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11654 $as_echo "no" >&6; }
11661 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" : '[^ ]* \(.*\)'`
11662 # Extract the first word of "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}", so it can be a program name with args.
11663 set dummy
${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}; ac_word
=$2
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11665 $as_echo_n "checking for $ac_word... " >&6; }
11666 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11667 $as_echo_n "(cached) " >&6
11669 case $orig_target_cpp in
11671 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11675 for as_dir
in $PATH
11678 test -z "$as_dir" && as_dir
=.
11679 for ac_exec_ext
in '' $ac_executable_extensions; do
11680 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11681 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11692 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11693 if test -n "$orig_target_cpp"; then
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11695 $as_echo "$orig_target_cpp" >&6; }
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11698 $as_echo "no" >&6; }
11702 orig_target_cpp
="$orig_target_cpp $ac_tool_optarg"
11706 if test "$orig_target_cpp" = ""; then
11709 if test "$orig_target_cpp" = "no"; then
11712 if test "$req_avail" = "no"; then
11713 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
11716 if test "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" = ""; then
11717 if test "$cross_compiling" = "yes" ; then
11718 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11719 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11721 $as_echo_n "checking for $ac_word... " >&6; }
11722 if ${ac_cv_path_orig_target_cc+:} false
; then :
11723 $as_echo_n "(cached) " >&6
11725 case $orig_target_cc in
11727 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11731 for as_dir
in $PATH
11734 test -z "$as_dir" && as_dir
=.
11735 for ac_exec_ext
in '' $ac_executable_extensions; do
11736 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11737 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11748 orig_target_cc
=$ac_cv_path_orig_target_cc
11749 if test -n "$orig_target_cc"; then
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11751 $as_echo "$orig_target_cc" >&6; }
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11754 $as_echo "no" >&6; }
11759 if test "$GCC" = "yes"; then
11760 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11761 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11762 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11764 $as_echo_n "checking for $ac_word... " >&6; }
11765 if ${ac_cv_path_orig_target_cc+:} false
; then :
11766 $as_echo_n "(cached) " >&6
11768 case $orig_target_cc in
11770 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11774 for as_dir
in `dirname $aros_gcc_gcc`
11777 test -z "$as_dir" && as_dir
=.
11778 for ac_exec_ext
in '' $ac_executable_extensions; do
11779 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11780 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11791 orig_target_cc
=$ac_cv_path_orig_target_cc
11792 if test -n "$orig_target_cc"; then
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11794 $as_echo "$orig_target_cc" >&6; }
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11797 $as_echo "no" >&6; }
11802 if test "$orig_target_cc" = ""; then
11803 # Extract the first word of "gcc", so it can be a program name with args.
11804 set dummy gcc
; ac_word
=$2
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11806 $as_echo_n "checking for $ac_word... " >&6; }
11807 if ${ac_cv_path_orig_target_cc+:} false
; then :
11808 $as_echo_n "(cached) " >&6
11810 case $orig_target_cc in
11812 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11816 for as_dir
in $PATH
11819 test -z "$as_dir" && as_dir
=.
11820 for ac_exec_ext
in '' $ac_executable_extensions; do
11821 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11822 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11833 orig_target_cc
=$ac_cv_path_orig_target_cc
11834 if test -n "$orig_target_cc"; then
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11836 $as_echo "$orig_target_cc" >&6; }
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11839 $as_echo "no" >&6; }
11846 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
11847 # Extract the first word of "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}", so it can be a program name with args.
11848 set dummy
${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}; ac_word
=$2
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11850 $as_echo_n "checking for $ac_word... " >&6; }
11851 if ${ac_cv_path_orig_target_cc+:} false
; then :
11852 $as_echo_n "(cached) " >&6
11854 case $orig_target_cc in
11856 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11860 for as_dir
in $PATH
11863 test -z "$as_dir" && as_dir
=.
11864 for ac_exec_ext
in '' $ac_executable_extensions; do
11865 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11866 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11877 orig_target_cc
=$ac_cv_path_orig_target_cc
11878 if test -n "$orig_target_cc"; then
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11880 $as_echo "$orig_target_cc" >&6; }
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11883 $as_echo "no" >&6; }
11887 orig_target_cc
="$orig_target_cc $ac_tool_optarg"
11891 if test "$orig_target_cc" = ""; then
11894 if test "$orig_target_cc" = "no"; then
11897 if test "$req_avail" = "no"; then
11898 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11901 if test "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" = ""; then
11902 if test "$cross_compiling" = "yes" ; then
11903 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11904 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11906 $as_echo_n "checking for $ac_word... " >&6; }
11907 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11908 $as_echo_n "(cached) " >&6
11910 case $orig_target_cxx in
11912 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11916 for as_dir
in $PATH
11919 test -z "$as_dir" && as_dir
=.
11920 for ac_exec_ext
in '' $ac_executable_extensions; do
11921 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11922 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11933 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11934 if test -n "$orig_target_cxx"; then
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11936 $as_echo "$orig_target_cxx" >&6; }
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11939 $as_echo "no" >&6; }
11944 if test "$GCC" = "yes"; then
11945 aros_gcc_g
++=`$CC -print-prog-name=g++`
11946 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11947 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11949 $as_echo_n "checking for $ac_word... " >&6; }
11950 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11951 $as_echo_n "(cached) " >&6
11953 case $orig_target_cxx in
11955 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11959 for as_dir
in `dirname $aros_gcc_g++`
11962 test -z "$as_dir" && as_dir
=.
11963 for ac_exec_ext
in '' $ac_executable_extensions; do
11964 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11965 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11976 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11977 if test -n "$orig_target_cxx"; then
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11979 $as_echo "$orig_target_cxx" >&6; }
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11982 $as_echo "no" >&6; }
11987 if test "$orig_target_cxx" = ""; then
11988 # Extract the first word of "g++", so it can be a program name with args.
11989 set dummy g
++; ac_word
=$2
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11991 $as_echo_n "checking for $ac_word... " >&6; }
11992 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11993 $as_echo_n "(cached) " >&6
11995 case $orig_target_cxx in
11997 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12001 for as_dir
in $PATH
12004 test -z "$as_dir" && as_dir
=.
12005 for ac_exec_ext
in '' $ac_executable_extensions; do
12006 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12007 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12018 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12019 if test -n "$orig_target_cxx"; then
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12021 $as_echo "$orig_target_cxx" >&6; }
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12024 $as_echo "no" >&6; }
12031 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
12032 # Extract the first word of "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}", so it can be a program name with args.
12033 set dummy
${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}; ac_word
=$2
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12035 $as_echo_n "checking for $ac_word... " >&6; }
12036 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12037 $as_echo_n "(cached) " >&6
12039 case $orig_target_cxx in
12041 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12045 for as_dir
in $PATH
12048 test -z "$as_dir" && as_dir
=.
12049 for ac_exec_ext
in '' $ac_executable_extensions; do
12050 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12051 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12062 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12063 if test -n "$orig_target_cxx"; then
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12065 $as_echo "$orig_target_cxx" >&6; }
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12068 $as_echo "no" >&6; }
12072 orig_target_cxx
="$orig_target_cxx $ac_tool_optarg"
12076 if test "$orig_target_cxx" = ""; then
12079 if test "$orig_target_cxx" = "no"; then
12082 if test "$req_avail" = "no"; then
12083 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
12086 if test "${aros_tool_prefix}${toolchain_ld}" = ""; then
12087 if test "$cross_compiling" = "yes" ; then
12088 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
12089 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12091 $as_echo_n "checking for $ac_word... " >&6; }
12092 if ${ac_cv_path_orig_target_ld+:} false
; then :
12093 $as_echo_n "(cached) " >&6
12095 case $orig_target_ld in
12097 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12101 for as_dir
in $PATH
12104 test -z "$as_dir" && as_dir
=.
12105 for ac_exec_ext
in '' $ac_executable_extensions; do
12106 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12107 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12118 orig_target_ld
=$ac_cv_path_orig_target_ld
12119 if test -n "$orig_target_ld"; then
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12121 $as_echo "$orig_target_ld" >&6; }
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12124 $as_echo "no" >&6; }
12129 if test "$GCC" = "yes"; then
12130 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
12131 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
12132 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12134 $as_echo_n "checking for $ac_word... " >&6; }
12135 if ${ac_cv_path_orig_target_ld+:} false
; then :
12136 $as_echo_n "(cached) " >&6
12138 case $orig_target_ld in
12140 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12144 for as_dir
in `dirname $aros_gcc_gcc`
12147 test -z "$as_dir" && as_dir
=.
12148 for ac_exec_ext
in '' $ac_executable_extensions; do
12149 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12150 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12161 orig_target_ld
=$ac_cv_path_orig_target_ld
12162 if test -n "$orig_target_ld"; then
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12164 $as_echo "$orig_target_ld" >&6; }
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12167 $as_echo "no" >&6; }
12172 if test "$orig_target_ld" = ""; then
12173 # Extract the first word of "gcc", so it can be a program name with args.
12174 set dummy gcc
; ac_word
=$2
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12176 $as_echo_n "checking for $ac_word... " >&6; }
12177 if ${ac_cv_path_orig_target_ld+:} false
; then :
12178 $as_echo_n "(cached) " >&6
12180 case $orig_target_ld in
12182 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12186 for as_dir
in $PATH
12189 test -z "$as_dir" && as_dir
=.
12190 for ac_exec_ext
in '' $ac_executable_extensions; do
12191 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12192 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12203 orig_target_ld
=$ac_cv_path_orig_target_ld
12204 if test -n "$orig_target_ld"; then
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12206 $as_echo "$orig_target_ld" >&6; }
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12209 $as_echo "no" >&6; }
12216 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ld}" : '[^ ]* \(.*\)'`
12217 # Extract the first word of "${aros_tool_prefix}${toolchain_ld}", so it can be a program name with args.
12218 set dummy
${aros_tool_prefix}${toolchain_ld}; ac_word
=$2
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12220 $as_echo_n "checking for $ac_word... " >&6; }
12221 if ${ac_cv_path_orig_target_ld+:} false
; then :
12222 $as_echo_n "(cached) " >&6
12224 case $orig_target_ld in
12226 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12230 for as_dir
in $PATH
12233 test -z "$as_dir" && as_dir
=.
12234 for ac_exec_ext
in '' $ac_executable_extensions; do
12235 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12236 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12247 orig_target_ld
=$ac_cv_path_orig_target_ld
12248 if test -n "$orig_target_ld"; then
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12250 $as_echo "$orig_target_ld" >&6; }
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12253 $as_echo "no" >&6; }
12257 orig_target_ld
="$orig_target_ld $ac_tool_optarg"
12261 if test "$orig_target_ld" = ""; then
12264 if test "$orig_target_ld" = "no"; then
12267 if test "$req_avail" = "no"; then
12268 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
12271 if test "aros_tool_prefix}${toolchain_as}" = ""; then
12272 if test "$cross_compiling" = "yes" ; then
12273 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
12274 set dummy
${target_tool_prefix}as
; ac_word
=$2
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12276 $as_echo_n "checking for $ac_word... " >&6; }
12277 if ${ac_cv_path_orig_target_as+:} false
; then :
12278 $as_echo_n "(cached) " >&6
12280 case $orig_target_as in
12282 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12286 for as_dir
in $PATH
12289 test -z "$as_dir" && as_dir
=.
12290 for ac_exec_ext
in '' $ac_executable_extensions; do
12291 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12292 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12303 orig_target_as
=$ac_cv_path_orig_target_as
12304 if test -n "$orig_target_as"; then
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12306 $as_echo "$orig_target_as" >&6; }
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12309 $as_echo "no" >&6; }
12314 if test "$GCC" = "yes"; then
12315 aros_gcc_as
=`$CC -print-prog-name=as`
12316 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
12317 set dummy
`basename $aros_gcc_as`; ac_word
=$2
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12319 $as_echo_n "checking for $ac_word... " >&6; }
12320 if ${ac_cv_path_orig_target_as+:} false
; then :
12321 $as_echo_n "(cached) " >&6
12323 case $orig_target_as in
12325 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12329 for as_dir
in `dirname $aros_gcc_as`
12332 test -z "$as_dir" && as_dir
=.
12333 for ac_exec_ext
in '' $ac_executable_extensions; do
12334 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12335 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12346 orig_target_as
=$ac_cv_path_orig_target_as
12347 if test -n "$orig_target_as"; then
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12349 $as_echo "$orig_target_as" >&6; }
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12352 $as_echo "no" >&6; }
12357 if test "$orig_target_as" = ""; then
12358 # Extract the first word of "as", so it can be a program name with args.
12359 set dummy as
; ac_word
=$2
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12361 $as_echo_n "checking for $ac_word... " >&6; }
12362 if ${ac_cv_path_orig_target_as+:} false
; then :
12363 $as_echo_n "(cached) " >&6
12365 case $orig_target_as in
12367 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12371 for as_dir
in $PATH
12374 test -z "$as_dir" && as_dir
=.
12375 for ac_exec_ext
in '' $ac_executable_extensions; do
12376 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12377 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12388 orig_target_as
=$ac_cv_path_orig_target_as
12389 if test -n "$orig_target_as"; then
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12391 $as_echo "$orig_target_as" >&6; }
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12394 $as_echo "no" >&6; }
12401 ac_tool_optarg
=`expr "Xaros_tool_prefix}${toolchain_as}" : '[^ ]* \(.*\)'`
12402 # Extract the first word of "aros_tool_prefix}${toolchain_as}", so it can be a program name with args.
12403 set dummy aros_tool_prefix
}${toolchain_as}; ac_word
=$2
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12405 $as_echo_n "checking for $ac_word... " >&6; }
12406 if ${ac_cv_path_orig_target_as+:} false
; then :
12407 $as_echo_n "(cached) " >&6
12409 case $orig_target_as in
12411 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12415 for as_dir
in $PATH
12418 test -z "$as_dir" && as_dir
=.
12419 for ac_exec_ext
in '' $ac_executable_extensions; do
12420 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12421 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12432 orig_target_as
=$ac_cv_path_orig_target_as
12433 if test -n "$orig_target_as"; then
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12435 $as_echo "$orig_target_as" >&6; }
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12438 $as_echo "no" >&6; }
12442 orig_target_as
="$orig_target_as $ac_tool_optarg"
12446 if test "$orig_target_as" = ""; then
12449 if test "$orig_target_as" = "no"; then
12452 if test "$req_avail" = "no"; then
12453 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
12456 if test "${aros_tool_prefix}${toolchain_ar}" = ""; then
12457 if test "$cross_compiling" = "yes" ; then
12458 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
12459 set dummy
${target_tool_prefix}ar; ac_word
=$2
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12461 $as_echo_n "checking for $ac_word... " >&6; }
12462 if ${ac_cv_path_orig_target_ar+:} false
; then :
12463 $as_echo_n "(cached) " >&6
12465 case $orig_target_ar in
12467 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12471 for as_dir
in $PATH
12474 test -z "$as_dir" && as_dir
=.
12475 for ac_exec_ext
in '' $ac_executable_extensions; do
12476 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12477 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12488 orig_target_ar
=$ac_cv_path_orig_target_ar
12489 if test -n "$orig_target_ar"; then
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12491 $as_echo "$orig_target_ar" >&6; }
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12494 $as_echo "no" >&6; }
12499 if test "$GCC" = "yes"; then
12500 aros_gcc_ar
=`$CC -print-prog-name=ar`
12501 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
12502 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12504 $as_echo_n "checking for $ac_word... " >&6; }
12505 if ${ac_cv_path_orig_target_ar+:} false
; then :
12506 $as_echo_n "(cached) " >&6
12508 case $orig_target_ar in
12510 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12514 for as_dir
in `dirname $aros_gcc_ar`
12517 test -z "$as_dir" && as_dir
=.
12518 for ac_exec_ext
in '' $ac_executable_extensions; do
12519 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12520 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12531 orig_target_ar
=$ac_cv_path_orig_target_ar
12532 if test -n "$orig_target_ar"; then
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12534 $as_echo "$orig_target_ar" >&6; }
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12537 $as_echo "no" >&6; }
12542 if test "$orig_target_ar" = ""; then
12543 # Extract the first word of "ar", so it can be a program name with args.
12544 set dummy
ar; ac_word
=$2
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12546 $as_echo_n "checking for $ac_word... " >&6; }
12547 if ${ac_cv_path_orig_target_ar+:} false
; then :
12548 $as_echo_n "(cached) " >&6
12550 case $orig_target_ar in
12552 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12556 for as_dir
in $PATH
12559 test -z "$as_dir" && as_dir
=.
12560 for ac_exec_ext
in '' $ac_executable_extensions; do
12561 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12562 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12573 orig_target_ar
=$ac_cv_path_orig_target_ar
12574 if test -n "$orig_target_ar"; then
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12576 $as_echo "$orig_target_ar" >&6; }
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12579 $as_echo "no" >&6; }
12586 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ar}" : '[^ ]* \(.*\)'`
12587 # Extract the first word of "${aros_tool_prefix}${toolchain_ar}", so it can be a program name with args.
12588 set dummy
${aros_tool_prefix}${toolchain_ar}; ac_word
=$2
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12590 $as_echo_n "checking for $ac_word... " >&6; }
12591 if ${ac_cv_path_orig_target_ar+:} false
; then :
12592 $as_echo_n "(cached) " >&6
12594 case $orig_target_ar in
12596 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12600 for as_dir
in $PATH
12603 test -z "$as_dir" && as_dir
=.
12604 for ac_exec_ext
in '' $ac_executable_extensions; do
12605 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12606 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12617 orig_target_ar
=$ac_cv_path_orig_target_ar
12618 if test -n "$orig_target_ar"; then
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12620 $as_echo "$orig_target_ar" >&6; }
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12623 $as_echo "no" >&6; }
12627 orig_target_ar
="$orig_target_ar $ac_tool_optarg"
12631 if test "$orig_target_ar" = ""; then
12634 if test "$orig_target_ar" = "no"; then
12637 if test "$req_avail" = "no"; then
12638 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
12641 if test "${aros_tool_prefix}${toolchain_ranlib}" = ""; then
12642 if test "$cross_compiling" = "yes" ; then
12643 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
12644 set dummy
${target_tool_prefix}ar; ac_word
=$2
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12646 $as_echo_n "checking for $ac_word... " >&6; }
12647 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12648 $as_echo_n "(cached) " >&6
12650 case $orig_target_ranlib in
12652 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12656 for as_dir
in $PATH
12659 test -z "$as_dir" && as_dir
=.
12660 for ac_exec_ext
in '' $ac_executable_extensions; do
12661 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12662 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12673 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12674 if test -n "$orig_target_ranlib"; then
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12676 $as_echo "$orig_target_ranlib" >&6; }
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12679 $as_echo "no" >&6; }
12684 if test "$GCC" = "yes"; then
12685 aros_gcc_ar
=`$CC -print-prog-name=ar`
12686 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
12687 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12689 $as_echo_n "checking for $ac_word... " >&6; }
12690 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12691 $as_echo_n "(cached) " >&6
12693 case $orig_target_ranlib in
12695 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12699 for as_dir
in `dirname $aros_gcc_ar`
12702 test -z "$as_dir" && as_dir
=.
12703 for ac_exec_ext
in '' $ac_executable_extensions; do
12704 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12705 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12716 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12717 if test -n "$orig_target_ranlib"; then
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12719 $as_echo "$orig_target_ranlib" >&6; }
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12722 $as_echo "no" >&6; }
12727 if test "$orig_target_ranlib" = ""; then
12728 # Extract the first word of "ar", so it can be a program name with args.
12729 set dummy
ar; ac_word
=$2
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12731 $as_echo_n "checking for $ac_word... " >&6; }
12732 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12733 $as_echo_n "(cached) " >&6
12735 case $orig_target_ranlib in
12737 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12741 for as_dir
in $PATH
12744 test -z "$as_dir" && as_dir
=.
12745 for ac_exec_ext
in '' $ac_executable_extensions; do
12746 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12747 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12758 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12759 if test -n "$orig_target_ranlib"; then
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12761 $as_echo "$orig_target_ranlib" >&6; }
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12764 $as_echo "no" >&6; }
12771 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ranlib}" : '[^ ]* \(.*\)'`
12772 # Extract the first word of "${aros_tool_prefix}${toolchain_ranlib}", so it can be a program name with args.
12773 set dummy
${aros_tool_prefix}${toolchain_ranlib}; ac_word
=$2
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12775 $as_echo_n "checking for $ac_word... " >&6; }
12776 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12777 $as_echo_n "(cached) " >&6
12779 case $orig_target_ranlib in
12781 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12785 for as_dir
in $PATH
12788 test -z "$as_dir" && as_dir
=.
12789 for ac_exec_ext
in '' $ac_executable_extensions; do
12790 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12791 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12802 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12803 if test -n "$orig_target_ranlib"; then
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12805 $as_echo "$orig_target_ranlib" >&6; }
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12808 $as_echo "no" >&6; }
12812 orig_target_ranlib
="$orig_target_ranlib $ac_tool_optarg"
12816 if test "$orig_target_ranlib" = ""; then
12819 if test "$orig_target_ranlib" = "no"; then
12822 if test "$req_avail" = "no"; then
12823 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
12826 if test "${aros_tool_prefix}${toolchain_nm}" = ""; then
12827 if test "$cross_compiling" = "yes" ; then
12828 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
12829 set dummy
${target_tool_prefix}nm
; ac_word
=$2
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12831 $as_echo_n "checking for $ac_word... " >&6; }
12832 if ${ac_cv_path_orig_target_nm+:} false
; then :
12833 $as_echo_n "(cached) " >&6
12835 case $orig_target_nm in
12837 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12841 for as_dir
in $PATH
12844 test -z "$as_dir" && as_dir
=.
12845 for ac_exec_ext
in '' $ac_executable_extensions; do
12846 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12847 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12858 orig_target_nm
=$ac_cv_path_orig_target_nm
12859 if test -n "$orig_target_nm"; then
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12861 $as_echo "$orig_target_nm" >&6; }
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12864 $as_echo "no" >&6; }
12869 if test "$GCC" = "yes"; then
12870 aros_gcc_nm
=`$CC -print-prog-name=nm`
12871 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
12872 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12874 $as_echo_n "checking for $ac_word... " >&6; }
12875 if ${ac_cv_path_orig_target_nm+:} false
; then :
12876 $as_echo_n "(cached) " >&6
12878 case $orig_target_nm in
12880 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12884 for as_dir
in `dirname $aros_gcc_nm`
12887 test -z "$as_dir" && as_dir
=.
12888 for ac_exec_ext
in '' $ac_executable_extensions; do
12889 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12890 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12901 orig_target_nm
=$ac_cv_path_orig_target_nm
12902 if test -n "$orig_target_nm"; then
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12904 $as_echo "$orig_target_nm" >&6; }
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12907 $as_echo "no" >&6; }
12912 if test "$orig_target_nm" = ""; then
12913 # Extract the first word of "nm", so it can be a program name with args.
12914 set dummy nm
; ac_word
=$2
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12916 $as_echo_n "checking for $ac_word... " >&6; }
12917 if ${ac_cv_path_orig_target_nm+:} false
; then :
12918 $as_echo_n "(cached) " >&6
12920 case $orig_target_nm in
12922 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12926 for as_dir
in $PATH
12929 test -z "$as_dir" && as_dir
=.
12930 for ac_exec_ext
in '' $ac_executable_extensions; do
12931 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12932 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12943 orig_target_nm
=$ac_cv_path_orig_target_nm
12944 if test -n "$orig_target_nm"; then
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12946 $as_echo "$orig_target_nm" >&6; }
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12949 $as_echo "no" >&6; }
12956 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_nm}" : '[^ ]* \(.*\)'`
12957 # Extract the first word of "${aros_tool_prefix}${toolchain_nm}", so it can be a program name with args.
12958 set dummy
${aros_tool_prefix}${toolchain_nm}; ac_word
=$2
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12960 $as_echo_n "checking for $ac_word... " >&6; }
12961 if ${ac_cv_path_orig_target_nm+:} false
; then :
12962 $as_echo_n "(cached) " >&6
12964 case $orig_target_nm in
12966 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12970 for as_dir
in $PATH
12973 test -z "$as_dir" && as_dir
=.
12974 for ac_exec_ext
in '' $ac_executable_extensions; do
12975 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12976 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12987 orig_target_nm
=$ac_cv_path_orig_target_nm
12988 if test -n "$orig_target_nm"; then
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12990 $as_echo "$orig_target_nm" >&6; }
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12993 $as_echo "no" >&6; }
12997 orig_target_nm
="$orig_target_nm $ac_tool_optarg"
13001 if test "$orig_target_nm" = ""; then
13004 if test "$orig_target_nm" = "no"; then
13007 if test "$req_avail" = "no"; then
13008 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
13011 if test "${aros_tool_prefix}${toolchain_strip}" = ""; then
13012 if test "$cross_compiling" = "yes" ; then
13013 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
13014 set dummy
${target_tool_prefix}strip
; ac_word
=$2
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13016 $as_echo_n "checking for $ac_word... " >&6; }
13017 if ${ac_cv_path_orig_target_strip+:} false
; then :
13018 $as_echo_n "(cached) " >&6
13020 case $orig_target_strip in
13022 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13026 for as_dir
in $PATH
13029 test -z "$as_dir" && as_dir
=.
13030 for ac_exec_ext
in '' $ac_executable_extensions; do
13031 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13032 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13043 orig_target_strip
=$ac_cv_path_orig_target_strip
13044 if test -n "$orig_target_strip"; then
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13046 $as_echo "$orig_target_strip" >&6; }
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13049 $as_echo "no" >&6; }
13054 if test "$GCC" = "yes"; then
13055 aros_gcc_strip
=`$CC -print-prog-name=strip`
13056 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
13057 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13059 $as_echo_n "checking for $ac_word... " >&6; }
13060 if ${ac_cv_path_orig_target_strip+:} false
; then :
13061 $as_echo_n "(cached) " >&6
13063 case $orig_target_strip in
13065 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13069 for as_dir
in `dirname $aros_gcc_strip`
13072 test -z "$as_dir" && as_dir
=.
13073 for ac_exec_ext
in '' $ac_executable_extensions; do
13074 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13075 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13086 orig_target_strip
=$ac_cv_path_orig_target_strip
13087 if test -n "$orig_target_strip"; then
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13089 $as_echo "$orig_target_strip" >&6; }
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13092 $as_echo "no" >&6; }
13097 if test "$orig_target_strip" = ""; then
13098 # Extract the first word of "strip", so it can be a program name with args.
13099 set dummy strip
; ac_word
=$2
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13101 $as_echo_n "checking for $ac_word... " >&6; }
13102 if ${ac_cv_path_orig_target_strip+:} false
; then :
13103 $as_echo_n "(cached) " >&6
13105 case $orig_target_strip in
13107 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13111 for as_dir
in $PATH
13114 test -z "$as_dir" && as_dir
=.
13115 for ac_exec_ext
in '' $ac_executable_extensions; do
13116 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13117 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13128 orig_target_strip
=$ac_cv_path_orig_target_strip
13129 if test -n "$orig_target_strip"; then
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13131 $as_echo "$orig_target_strip" >&6; }
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13134 $as_echo "no" >&6; }
13141 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_strip}" : '[^ ]* \(.*\)'`
13142 # Extract the first word of "${aros_tool_prefix}${toolchain_strip}", so it can be a program name with args.
13143 set dummy
${aros_tool_prefix}${toolchain_strip}; ac_word
=$2
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13145 $as_echo_n "checking for $ac_word... " >&6; }
13146 if ${ac_cv_path_orig_target_strip+:} false
; then :
13147 $as_echo_n "(cached) " >&6
13149 case $orig_target_strip in
13151 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13155 for as_dir
in $PATH
13158 test -z "$as_dir" && as_dir
=.
13159 for ac_exec_ext
in '' $ac_executable_extensions; do
13160 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13161 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13172 orig_target_strip
=$ac_cv_path_orig_target_strip
13173 if test -n "$orig_target_strip"; then
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13175 $as_echo "$orig_target_strip" >&6; }
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13178 $as_echo "no" >&6; }
13182 orig_target_strip
="$orig_target_strip $ac_tool_optarg"
13186 if test "$orig_target_strip" = ""; then
13189 if test "$orig_target_strip" = "no"; then
13192 if test "$req_avail" = "no"; then
13193 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
13196 if test "${aros_tool_prefix}${toolchain_objcopy}" = ""; then
13197 if test "$cross_compiling" = "yes" ; then
13198 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
13199 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13201 $as_echo_n "checking for $ac_word... " >&6; }
13202 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13203 $as_echo_n "(cached) " >&6
13205 case $orig_target_objcopy in
13207 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13211 for as_dir
in $PATH
13214 test -z "$as_dir" && as_dir
=.
13215 for ac_exec_ext
in '' $ac_executable_extensions; do
13216 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13217 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13228 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13229 if test -n "$orig_target_objcopy"; then
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13231 $as_echo "$orig_target_objcopy" >&6; }
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13234 $as_echo "no" >&6; }
13239 if test "$GCC" = "yes"; then
13240 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
13241 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
13242 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13244 $as_echo_n "checking for $ac_word... " >&6; }
13245 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13246 $as_echo_n "(cached) " >&6
13248 case $orig_target_objcopy in
13250 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13254 for as_dir
in `dirname $aros_gcc_objcopy`
13257 test -z "$as_dir" && as_dir
=.
13258 for ac_exec_ext
in '' $ac_executable_extensions; do
13259 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13260 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13271 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13272 if test -n "$orig_target_objcopy"; then
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13274 $as_echo "$orig_target_objcopy" >&6; }
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13277 $as_echo "no" >&6; }
13282 if test "$orig_target_objcopy" = ""; then
13283 # Extract the first word of "objcopy", so it can be a program name with args.
13284 set dummy objcopy
; ac_word
=$2
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13286 $as_echo_n "checking for $ac_word... " >&6; }
13287 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13288 $as_echo_n "(cached) " >&6
13290 case $orig_target_objcopy in
13292 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13296 for as_dir
in $PATH
13299 test -z "$as_dir" && as_dir
=.
13300 for ac_exec_ext
in '' $ac_executable_extensions; do
13301 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13302 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13313 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13314 if test -n "$orig_target_objcopy"; then
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13316 $as_echo "$orig_target_objcopy" >&6; }
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13319 $as_echo "no" >&6; }
13326 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objcopy}" : '[^ ]* \(.*\)'`
13327 # Extract the first word of "${aros_tool_prefix}${toolchain_objcopy}", so it can be a program name with args.
13328 set dummy
${aros_tool_prefix}${toolchain_objcopy}; ac_word
=$2
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13330 $as_echo_n "checking for $ac_word... " >&6; }
13331 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13332 $as_echo_n "(cached) " >&6
13334 case $orig_target_objcopy in
13336 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13340 for as_dir
in $PATH
13343 test -z "$as_dir" && as_dir
=.
13344 for ac_exec_ext
in '' $ac_executable_extensions; do
13345 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13346 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13357 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13358 if test -n "$orig_target_objcopy"; then
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13360 $as_echo "$orig_target_objcopy" >&6; }
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13363 $as_echo "no" >&6; }
13367 orig_target_objcopy
="$orig_target_objcopy $ac_tool_optarg"
13371 if test "$orig_target_objcopy" = ""; then
13374 if test "$orig_target_objcopy" = "no"; then
13377 if test "$req_avail" = "no"; then
13378 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
13381 if test "${aros_tool_prefix}${toolchain_objdump}" = ""; then
13382 if test "$cross_compiling" = "yes" ; then
13383 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
13384 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13386 $as_echo_n "checking for $ac_word... " >&6; }
13387 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13388 $as_echo_n "(cached) " >&6
13390 case $orig_target_objdump in
13392 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13396 for as_dir
in $PATH
13399 test -z "$as_dir" && as_dir
=.
13400 for ac_exec_ext
in '' $ac_executable_extensions; do
13401 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13402 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13413 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13414 if test -n "$orig_target_objdump"; then
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13416 $as_echo "$orig_target_objdump" >&6; }
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13419 $as_echo "no" >&6; }
13424 if test "$GCC" = "yes"; then
13425 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
13426 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
13427 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13429 $as_echo_n "checking for $ac_word... " >&6; }
13430 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13431 $as_echo_n "(cached) " >&6
13433 case $orig_target_objdump in
13435 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13439 for as_dir
in `dirname $aros_gcc_objdump`
13442 test -z "$as_dir" && as_dir
=.
13443 for ac_exec_ext
in '' $ac_executable_extensions; do
13444 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13445 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13456 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13457 if test -n "$orig_target_objdump"; then
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13459 $as_echo "$orig_target_objdump" >&6; }
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13462 $as_echo "no" >&6; }
13467 if test "$orig_target_objdump" = ""; then
13468 # Extract the first word of "objdump", so it can be a program name with args.
13469 set dummy objdump
; ac_word
=$2
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13471 $as_echo_n "checking for $ac_word... " >&6; }
13472 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13473 $as_echo_n "(cached) " >&6
13475 case $orig_target_objdump in
13477 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13481 for as_dir
in $PATH
13484 test -z "$as_dir" && as_dir
=.
13485 for ac_exec_ext
in '' $ac_executable_extensions; do
13486 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13487 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13498 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13499 if test -n "$orig_target_objdump"; then
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13501 $as_echo "$orig_target_objdump" >&6; }
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13504 $as_echo "no" >&6; }
13511 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objdump}" : '[^ ]* \(.*\)'`
13512 # Extract the first word of "${aros_tool_prefix}${toolchain_objdump}", so it can be a program name with args.
13513 set dummy
${aros_tool_prefix}${toolchain_objdump}; ac_word
=$2
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13515 $as_echo_n "checking for $ac_word... " >&6; }
13516 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13517 $as_echo_n "(cached) " >&6
13519 case $orig_target_objdump in
13521 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13525 for as_dir
in $PATH
13528 test -z "$as_dir" && as_dir
=.
13529 for ac_exec_ext
in '' $ac_executable_extensions; do
13530 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13531 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13542 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13543 if test -n "$orig_target_objdump"; then
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13545 $as_echo "$orig_target_objdump" >&6; }
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13548 $as_echo "no" >&6; }
13552 orig_target_objdump
="$orig_target_objdump $ac_tool_optarg"
13556 if test "$orig_target_objdump" = ""; then
13559 if test "$orig_target_objdump" = "no"; then
13562 if test "$req_avail" = "no"; then
13563 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
13567 if test "$kernel_tool_prefix" = "none" ; then
13568 # No kernel tools specified
13569 # Assume target tools == kernel tools with ELF wrapper
13570 aros_kernel_cc
=$orig_target_cc
13571 aros_kernel_cxx
=$orig_target_cxx
13572 aros_kernel_cpp
=$orig_target_cpp
13573 aros_kernel_ld
=$orig_target_ld
13574 aros_kernel_as
=$orig_target_as
13575 aros_kernel_ar
=$orig_target_ar
13576 aros_kernel_ranlib
=$orig_target_ranlib
13577 aros_kernel_nm
=$orig_target_nm
13578 aros_kernel_strip
=$orig_target_strip
13579 aros_kernel_objcopy
=$orig_target_objcopy
13580 aros_kernel_objdump
=$orig_target_objdump
13581 use_kernel_cc_wrapper
=yes
13584 # At this point, all aros_kernel_* and aros_target_*
13585 # tools should be set up correctly
13587 CC
="$aros_kernel_cc $kernel_tool_flags"
13588 CPP
="$aros_kernel_cpp"
13590 #-----------------------------------------------------------------------------
13592 # Find all the tools we need to compile. This could be cross-compiling
13593 # though! If that is the case we use the GNU form of the target and
13594 # simply add this to the front of the binary name. This is rather simple,
13595 # but it should work under most circumstances.
13597 # The default tools are to use the same as the host, but only if the
13598 # host and target CPU are the same. With GCC this is normally enough.
13602 aros_shared_ld
="$aros_host_ld"
13604 aros_target_mkdep
="$aros_host_mkdep"
13606 # The default tools executables to be linked to.
13607 if test "$rescomp" != ""; then
13608 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
13609 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13611 $as_echo_n "checking for $ac_word... " >&6; }
13612 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
13613 $as_echo_n "(cached) " >&6
13615 case $aros_kernel_rescomp in
13617 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
13620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13621 for as_dir
in $PATH
13624 test -z "$as_dir" && as_dir
=.
13625 for ac_exec_ext
in '' $ac_executable_extensions; do
13626 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13627 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
13628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13638 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
13639 if test -n "$aros_kernel_rescomp"; then
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
13641 $as_echo "$aros_kernel_rescomp" >&6; }
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13644 $as_echo "no" >&6; }
13649 if test "$aros_kernel_rescomp" = ""; then
13652 if test "$aros_kernel_rescomp" = "no"; then
13655 if test "$req_avail" = "no"; then
13656 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
13660 # Set up the sources for the symlink farm
13661 if test "$crosstools" = "yes"; then
13662 crosstools_target
=tools-crosstools
13665 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
13666 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
13668 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/host/config"
13669 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
13670 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Developer/include/aros"
13671 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
13672 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
13673 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
13674 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
13676 # aros_cc_pre is a variable that is added to the front of the compiler name
13677 # in the generated aros-gcc shell script. We need this to enable the cache
13678 # to work across cleaned builds. Also, support DISTCC using the correct
13679 # environment variable.
13682 if test "x${DISTCC}" != "x" ; then
13683 if test "x${CCACHE}" != "x" ; then
13684 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
13686 aros_cc_pre
="${DISTCC} "
13689 if test "x${CCACHE}" != "x" ; then
13690 aros_cc_pre
="${CCACHE} "
13694 aros_target_nostdinc_cflags
=-nostdinc
13696 aros_target_nostartup_ldflags
=-nostartfiles
13698 aros_target_nix_ldflags
=-nix
13700 aros_target_detach_ldflags
=-detach
13702 aros_target_nostdlib_ldflags
=-nostdlib
13707 if test "$aros_target_toolchain" != "yes"; then
13708 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
13709 if test "$GCC" = "yes"; then
13710 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
13713 # We do not know which c compiler version we are going to build and what we need to know
13714 # here is different for different versions so this will be set later during the
13715 # build of crosstools.
13716 if test "$aros_toolchain" = "gnu" ; then
13717 prefix
="$AROS_CROSSTOOLSDIR/${aros_target_cpu}-aros-"
13718 elif test "$aros_toolchain" = "llvm" ; then
13719 prefix
="$AROS_CROSSTOOLSDIR/bin/"
13721 aros_target_cc_path
=@aros_target_cc_path@
13723 aros_target_cpp
="${prefix}${toolchain_cpp_preprocessor}"
13724 aros_target_cc
="${prefix}${toolchain_c_compiler}"
13725 aros_target_cxx
="${prefix}${toolchain_cxx_compiler}"
13726 aros_target_as
="${prefix}${toolchain_as}"
13727 if test "${use_ld_wrapper}" = "yes"; then
13728 aros_target_ld
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${aros_ld}"
13730 aros_target_ld
="${prefix}${toolchain_ld}"
13732 aros_toolchain_ld
="${prefix}${toolchain_ld}"
13734 aros_target_ar
="${prefix}${toolchain_ar} $aros_target_ar_flags"
13735 aros_target_objcopy
="${prefix}${toolchain_objcopy}"
13736 aros_target_objdump
="${prefix}${toolchain_objdump}"
13737 aros_target_ranlib
="${prefix}${toolchain_ranlib} $aros_target_ranlib_flags"
13738 aros_target_nm
="${prefix}${toolchain_nm} $aros_target_nm_flags"
13739 aros_target_strip
="${prefix}${toolchain_strip}"
13740 aros_plain_nm
="${prefix}${toolchain_nm}"
13741 aros_plain_ar
="${prefix}${toolchain_ar}"
13743 # Check whether --enable-includes was given.
13744 if test "${enable_includes+set}" = set; then :
13745 enableval
=$enable_includes; aros_target_incl
=$enable_includes
13747 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
13751 if test "$aros_kernel_includes" = ""; then
13752 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13753 aros_kernel_includes
="-isystem $aros_target_incl"
13757 if test "$aros_kernel_includes" != "" ; then
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
13759 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
13760 if test "$aros_kernel_cc_includes" = "" ; then
13761 # Try to guess where the directory is.
13762 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
13763 if test -d $aros_kernel_cc_includes; then
13764 # Check if there is also an include-fixed directory and add it
13765 # to kernel compiler's include path as it may contain some of
13766 # the headers we need.
13767 if test -d "$aros_kernel_cc_includes"-fixed; then
13768 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
13770 # Check for specific includes directory. Needed for Ubuntu 11.10 and Debian
13771 if test -d "/usr/include/${aros_target_cpu}-linux-gnu"; then
13772 aros_kernel_cc_includes
+=" -isystem /usr/include/${aros_target_cpu}-linux-gnu"
13775 # The directory doesn't exist, we need to do some more work.
13776 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
13778 # These are the headers we're looking for.
13779 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13780 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13784 for h
in $headers; do
13785 # Which other headers are needed by each of the above?
13786 deps
=$
(echo "#include <$h>" | \
13787 $aros_kernel_cc -E -M - 2>/dev
/null | \
13788 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13790 # Copy all the needed headers to a directory beneath gendir.
13793 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
13794 sed -n "s,^.*/include\(/.*\),\1,p")
13795 ! test -d $dir && mkdir
-p $dir
13796 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
13802 $as_echo "$aros_kernel_cc_includes" >&6; }
13803 # Adding -nostdinc to kernel includes as they are always used together.
13804 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
13807 if test "$crosstools" != "yes"; then
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
13809 $as_echo_n "checking for the target compiler's include path... " >&6; }
13810 if test "$aros_target_cc_includes" = "" ; then
13811 #try to guess where the directory is
13812 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
13813 if ! test -d $aros_target_cc_includes; then
13814 #the directory doesn't exist, we need to do some more work
13815 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
13817 #these are the headers we're looking for
13818 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13819 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13823 for h
in $headers; do
13824 #which other headers each of the above headers needs?
13825 deps
=$
(echo "#include <$h>" | \
13826 $orig_target_cc -E -M - 2>/dev
/null | \
13827 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13829 #copy all the needed headers to a directory beneath gendir
13832 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
13833 sed -n "s,^.*/include\(/.*\),\1,p")
13834 ! test -d $dir && mkdir
-p $dir
13835 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
13841 $as_echo "$aros_target_cc_includes" >&6; }
13843 # We do not know which c compiler version we are going to build and what we need to know
13844 # here is different for different versions so this will be set later during the
13845 # build of crosstools.
13846 aros_target_cc_includes
=@aros_target_cc_includes@
13850 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
13851 # On GCC >= 4.0 -iquote should be used
13855 save_cflags
="$CFLAGS"
13857 kernel_cflags_iquote
=$host_cflags_iquote
13858 kernel_cflags_iquote_end
=$host_cflags_iquote_end
13859 if test "x-$cross_compiling" = "x-yes"; then
13860 CC
="$aros_kernel_cc"
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
13862 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
13863 if test "x-$crosstools" != "x-yes"; then
13864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13865 /* end confdefs.h. */
13875 if ac_fn_c_try_compile
"$LINENO"; then :
13876 use_no_stack_protector
="yes"
13878 use_no_stack_protector
="no"
13880 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13882 # we do know it is supported for the smallest version of gcc we are going to build
13883 # we assume it's also supported by later versions
13884 use_no_stack_protector
=yes
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
13887 $as_echo "$use_no_stack_protector" >&6; }
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13889 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13890 if test "x-$crosstools" != "x-yes"; then
13891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13892 /* end confdefs.h. */
13902 if ac_fn_c_try_compile
"$LINENO"; then :
13907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13909 # we do know it is supported for the smallest version of gcc we are going to build
13910 # we assume it's also supported by later versions
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13914 $as_echo "$has_iquote" >&6; }
13915 if test "x-$has_iquote" = "x-yes" ; then
13916 kernel_cflags_iquote
=-iquote
13917 kernel_cflags_iquote_end
=
13919 kernel_cflags_iquote
=-I
13920 kernel_cflags_iquote_end
=-I-
13923 if test "x-$use_no_stack_protector" = "x-yes" ; then
13924 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13927 #-----------------------------------------------------------------------------
13929 # Check if we can explicitly choose older version of symbol hashing
13931 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13932 CC
="$aros_kernel_cc"
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13934 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13936 /* end confdefs.h. */
13946 if ac_fn_c_try_link
"$LINENO"; then :
13947 use_hash_style
="yes"
13949 use_hash_style
="no"
13951 rm -f core conftest.err conftest.
$ac_objext \
13952 conftest
$ac_exeext conftest.
$ac_ext
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13954 $as_echo "$use_hash_style" >&6; }
13955 if test "x-$use_hash_style" = "x-yes" ; then
13956 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13959 CFLAGS
="$save_cflags"
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13968 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13970 # Check whether --with-resolution was given.
13971 if test "${with_resolution+set}" = set; then :
13972 withval
=$with_resolution; resolution
=$withval
13977 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13978 if test "$resolution" = "yes" ; then
13981 if test "$resolution" = "no" ; then
13984 if test "$resolution" != "none" ; then
13985 aros_nominal_width
=`echo $resolution | cut -d'x' -f1`
13986 aros_nominal_height
=`echo $resolution | cut -d'x' -f2`
13987 aros_nominal_depth
=`echo $resolution | cut -d'x' -f3`
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&5
13990 $as_echo "$aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&6; }
13991 aros_cv_nominal_width
=$aros_nominal_width
13992 aros_cv_nominal_height
=$aros_nominal_height
13993 aros_cv_nominal_depth
=$aros_nominal_depth
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether serial debug is enabled" >&5
13996 $as_echo_n "checking whether serial debug is enabled... " >&6; }
13998 # Check whether --with-serial-debug was given.
13999 if test "${with_serial_debug+set}" = set; then :
14000 withval
=$with_serial_debug; serial_debug
=$withval
14005 if test "$aros_serial_debug" = 0 ; then
14006 serial_debug_forced
=""
14007 if test "$serial_debug" = "yes" ; then
14010 if test "$serial_debug" = "no" ; then
14011 serial_debug
="none"
14014 serial_debug_forced
="(forced)"
14015 serial_debug
=$aros_serial_debug
14017 if test "$serial_debug" != "none" ; then
14018 aros_serial_debug
=$serial_debug
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
14020 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14023 $as_echo "no" >&6; }
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether palm debug hack is enabled" >&5
14027 $as_echo_n "checking whether palm debug hack is enabled... " >&6; }
14028 # Check whether --enable-palm_debug_hack was given.
14029 if test "${enable_palm_debug_hack+set}" = set; then :
14030 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
14032 palm_debug_hack
="no"
14035 if test "$palm_debug_hack" = "yes" ; then
14036 aros_palm_debug_hack
="1"
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
14039 $as_echo "$palm_debug_hack" >&6; }
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usb3.0 code is enabled" >&5
14042 $as_echo_n "checking whether usb3.0 code is enabled... " >&6; }
14043 # Check whether --enable-usb30_code was given.
14044 if test "${enable_usb30_code+set}" = set; then :
14045 enableval
=$enable_usb30_code; usb30_code
="yes"
14050 if test "$usb30_code" = "yes" ; then
14051 aros_config_cppflags
="$aros_config_cppflags -DAROS_USB30_CODE"
14052 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
14055 $as_echo "$usb30_code" >&6; }
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether nesting supervisor support is enabled" >&5
14058 $as_echo_n "checking whether nesting supervisor support is enabled... " >&6; }
14059 # Check whether --enable-nesting_supervisor was given.
14060 if test "${enable_nesting_supervisor+set}" = set; then :
14061 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
14063 nesting_supervisor
="no"
14066 if test "$nesting_supervisor" = "yes" ; then
14067 aros_nesting_supervisor
="1"
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
14070 $as_echo "$nesting_supervisor" >&6; }
14072 if test "$aros_enable_mmu" = "" ; then
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MMU support is enabled" >&5
14074 $as_echo_n "checking whether MMU support is enabled... " >&6; }
14075 # Check whether --enable-mmu was given.
14076 if test "${enable_mmu+set}" = set; then :
14077 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
14079 aros_enable_mmu
="yes"
14082 if test "$aros_enable_mmu" = "" ; then
14083 aros_enable_mmu
="yes"
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
14086 $as_echo "$aros_enable_mmu" >&6; }
14088 if test "$aros_enable_mmu" = "no" ; then
14089 aros_enable_mmu
="0"
14091 aros_enable_mmu
="1"
14095 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
14097 if test "x-$need_dlopen" != "x-no" ; then
14100 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
14101 if test "x$ac_cv_func_dlopen" = xyes
; then :
14107 if test "x-$have_dl" = "x-no" ; then
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14109 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14110 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14111 $as_echo_n "(cached) " >&6
14113 ac_check_lib_save_LIBS
=$LIBS
14115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14116 /* end confdefs.h. */
14118 /* Override any GCC internal prototype to avoid an error.
14119 Use char because int might match the return type of a GCC
14120 builtin and then its argument prototype would still apply. */
14133 if ac_fn_c_try_link
"$LINENO"; then :
14134 ac_cv_lib_dl_dlopen
=yes
14136 ac_cv_lib_dl_dlopen
=no
14138 rm -f core conftest.err conftest.
$ac_objext \
14139 conftest
$ac_exeext conftest.
$ac_ext
14140 LIBS
=$ac_check_lib_save_LIBS
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14143 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14144 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14146 aros_host_ldflags
="$aros_host_ldflags -ldl"
14152 if test "x-$have_dl" = "x-no" ; then
14153 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
14159 # Check whether --enable-x11_hidd was given.
14160 if test "${enable_x11_hidd+set}" = set; then :
14161 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
14163 x11_hidd
="$need_x11"
14166 case "x-$x11_hidd" in
14167 x-yes|x-no|x-auto
) ;;
14168 *) x11_hidd
="$need_x11" ;;
14173 if test "x-$x11_hidd" != "x-no" ; then
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
14176 $as_echo_n "checking for X... " >&6; }
14179 # Check whether --with-x was given.
14180 if test "${with_x+set}" = set; then :
14184 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
14185 if test "x$with_x" = xno
; then
14186 # The user explicitly disabled X.
14189 case $x_includes,$x_libraries in #(
14190 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
14191 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
14192 $as_echo_n "(cached) " >&6
14194 # One or both of the vars are not set, and there is no cached value.
14195 ac_x_includes
=no ac_x_libraries
=no
14196 rm -f -r conftest.dir
14197 if mkdir conftest.dir
; then
14199 cat >Imakefile
<<'_ACEOF'
14201 @echo incroot='${INCROOT}'
14203 @echo usrlibdir='${USRLIBDIR}'
14205 @echo libdir='${LIBDIR}'
14207 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
14208 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14209 for ac_var
in incroot usrlibdir libdir
; do
14210 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14212 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14213 for ac_extension
in a so sl dylib la dll
; do
14214 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14215 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14216 ac_im_usrlibdir
=$ac_im_libdir; break
14219 # Screen out bogus values from the imake configuration. They are
14220 # bogus both because they are the default anyway, and because
14221 # using them would break gcc on systems where it needs fixed includes.
14222 case $ac_im_incroot in
14223 /usr
/include
) ac_x_includes
= ;;
14224 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
14226 case $ac_im_usrlibdir in
14227 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
14228 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
14232 rm -f -r conftest.dir
14235 # Standard set of common directories for X headers.
14236 # Check X11 before X11Rn because it is often a symlink to the current release.
14250 /usr/local/X11/include
14251 /usr/local/X11R7/include
14252 /usr/local/X11R6/include
14253 /usr/local/X11R5/include
14254 /usr/local/X11R4/include
14256 /usr/local/include/X11
14257 /usr/local/include/X11R7
14258 /usr/local/include/X11R6
14259 /usr/local/include/X11R5
14260 /usr/local/include/X11R4
14264 /usr/XFree86/include/X11
14268 /usr/unsupported/include
14269 /usr/athena/include
14270 /usr/local/x11r5/include
14271 /usr/lpp/Xamples/include
14273 /usr/openwin/include
14274 /usr/openwin/share/include'
14276 if test "$ac_x_includes" = no
; then
14277 # Guess where to find include files, by looking for Xlib.h.
14278 # First, try using that file with no special directory specified.
14279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14280 /* end confdefs.h. */
14281 #include <X11/Xlib.h>
14283 if ac_fn_c_try_cpp
"$LINENO"; then :
14284 # We can compile using X headers with no special include directory.
14287 for ac_dir
in $ac_x_header_dirs; do
14288 if test -r "$ac_dir/X11/Xlib.h"; then
14289 ac_x_includes
=$ac_dir
14294 rm -f conftest.err conftest.i conftest.
$ac_ext
14295 fi # $ac_x_includes = no
14297 if test "$ac_x_libraries" = no
; then
14298 # Check for the libraries.
14299 # See if we find them without any special options.
14300 # Don't add to $LIBS permanently.
14303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14304 /* end confdefs.h. */
14305 #include <X11/Xlib.h>
14314 if ac_fn_c_try_link
"$LINENO"; then :
14316 # We can link X programs with no special library path.
14320 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14322 # Don't even attempt the hair of trying to link an X program!
14323 for ac_extension
in a so sl dylib la dll
; do
14324 if test -r "$ac_dir/libX11.$ac_extension"; then
14325 ac_x_libraries
=$ac_dir
14331 rm -f core conftest.err conftest.
$ac_objext \
14332 conftest
$ac_exeext conftest.
$ac_ext
14333 fi # $ac_x_libraries = no
14335 case $ac_x_includes,$ac_x_libraries in #(
14336 no
,* |
*,no |
*\'*)
14337 # Didn't find X, or a directory has "'" in its name.
14338 ac_cv_have_x
="have_x=no";; #(
14340 # Record where we found X for the cache.
14341 ac_cv_have_x
="have_x=yes\
14342 ac_x_includes='$ac_x_includes'\
14343 ac_x_libraries='$ac_x_libraries'"
14349 eval "$ac_cv_have_x"
14352 if test "$have_x" != yes; then
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14354 $as_echo "$have_x" >&6; }
14357 # If each of the values was on the command line, it overrides each guess.
14358 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
14359 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
14360 # Update the cache value to reflect the command line values.
14361 ac_cv_have_x
="have_x=yes\
14362 ac_x_includes='$x_includes'\
14363 ac_x_libraries='$x_libraries'"
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14365 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
14369 if test -n "$x_includes"; then
14370 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14373 if test -n "$x_libraries"; then
14374 X_LIBS
="$X_LIBS -L$x_libraries"
14377 if test "x-$no_x" = "x-yes" ; then
14379 if test "x-$x11_hidd" != "x-auto" ; then
14380 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
14387 aros_host_x11_cflags
="$X_CFLAGS"
14388 aros_host_x11_ldflags
="$X_LIBS -lX11"
14390 # Check whether --enable-x11_shm was given.
14391 if test "${enable_x11_shm+set}" = set; then :
14392 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
14394 x11_hidd_shm
="auto"
14397 case "x-$x11_hidd_shm" in
14398 x-yes|x-no|x-auto
) ;;
14399 *) x11_hidd_shm
="auto" ;;
14404 if test "x-$x11_hidd_shm" != "x-no" ; then
14406 for ac_header
in sys
/ipc.h
14408 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
14409 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
14410 cat >>confdefs.h
<<_ACEOF
14411 #define HAVE_SYS_IPC_H 1
14418 for ac_header
in sys
/shm.h
14420 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
14421 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
14422 cat >>confdefs.h
<<_ACEOF
14423 #define HAVE_SYS_SHM_H 1
14431 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
14433 save_cflags
="$CFLAGS"
14434 save_ldflags
="$LDFLAGS"
14435 CFLAGS
="$CFLAGS $X_CFLAGS"
14436 LDFLAGS
="$LDFLAGS $X_LIBS"
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14438 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
14439 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
14440 $as_echo_n "(cached) " >&6
14442 ac_check_lib_save_LIBS
=$LIBS
14443 LIBS
="-lXext $LIBS"
14444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14445 /* end confdefs.h. */
14447 /* Override any GCC internal prototype to avoid an error.
14448 Use char because int might match the return type of a GCC
14449 builtin and then its argument prototype would still apply. */
14453 char XShmQueryExtension ();
14457 return XShmQueryExtension ();
14462 if ac_fn_c_try_link
"$LINENO"; then :
14463 ac_cv_lib_Xext_XShmQueryExtension
=yes
14465 ac_cv_lib_Xext_XShmQueryExtension
=no
14467 rm -f core conftest.err conftest.
$ac_objext \
14468 conftest
$ac_exeext conftest.
$ac_ext
14469 LIBS
=$ac_check_lib_save_LIBS
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14472 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14473 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
14477 CFLAGS
="$save_cflags"
14478 LDFLAGS
="$save_ldflags"
14482 if test "x-$have_xshm" = "x-yes" ; then
14483 DO_XSHM_SUPPORT
="1"
14484 elif test "x-$x11_hidd_shm" = "x-yes" ; then
14485 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
14487 DO_XSHM_SUPPORT
="0"
14491 # Check whether --enable-x11_vidmode was given.
14492 if test "${enable_x11_vidmode+set}" = set; then :
14493 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
14495 x11_hidd_vidmode
="auto"
14498 case "x-$x11_hidd_vidmode" in
14499 x-yes|x-no|x-auto
) ;;
14500 *) x11_hidd_vidmode
="auto" ;;
14505 if test "x-$x11_hidd_vidmode" != "x-no" ; then
14507 save_cflags
="$CFLAGS"
14508 save_ldflags
="$LDFLAGS"
14509 CFLAGS
="$CFLAGS $X_CFLAGS"
14510 LDFLAGS
="$LDFLAGS $X_LIBS"
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
14512 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
14513 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
14514 $as_echo_n "(cached) " >&6
14516 ac_check_lib_save_LIBS
=$LIBS
14517 LIBS
="-lXxf86vm $LIBS"
14518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14519 /* end confdefs.h. */
14521 /* Override any GCC internal prototype to avoid an error.
14522 Use char because int might match the return type of a GCC
14523 builtin and then its argument prototype would still apply. */
14527 char XF86VidModeQueryExtension ();
14531 return XF86VidModeQueryExtension ();
14536 if ac_fn_c_try_link
"$LINENO"; then :
14537 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
14539 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
14541 rm -f core conftest.err conftest.
$ac_objext \
14542 conftest
$ac_exeext conftest.
$ac_ext
14543 LIBS
=$ac_check_lib_save_LIBS
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
14546 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
14547 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
14551 CFLAGS
="$save_cflags"
14552 LDFLAGS
="$save_ldflags"
14555 if test "x-$have_vidmode" = "x-yes" ; then
14556 DO_VIDMODE_SUPPORT
="1"
14557 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
14558 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
14560 DO_VIDMODE_SUPPORT
="0"
14565 # Check whether --enable-sdl_hidd was given.
14566 if test "${enable_sdl_hidd+set}" = set; then :
14567 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
14572 case "x-$sdl_hidd" in
14573 x-yes|x-no|x-auto
) ;;
14574 *) sdl_hidd
="auto" ;;
14577 if test "x-$sdl_hidd" != "x-no" ; then
14581 # Check whether --with-sdl-prefix was given.
14582 if test "${with_sdl_prefix+set}" = set; then :
14583 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
14589 # Check whether --with-sdl-exec-prefix was given.
14590 if test "${with_sdl_exec_prefix+set}" = set; then :
14591 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
14596 # Check whether --enable-sdltest was given.
14597 if test "${enable_sdltest+set}" = set; then :
14598 enableval
=$enable_sdltest;
14604 if test x
$sdl_exec_prefix != x
; then
14605 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
14606 if test x
${SDL_CONFIG+set} != xset
; then
14607 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
14610 if test x
$sdl_prefix != x
; then
14611 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
14612 if test x
${SDL_CONFIG+set} != xset
; then
14613 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
14617 as_save_PATH
="$PATH"
14618 if test "x$prefix" != xNONE
; then
14619 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
14621 # Extract the first word of "sdl-config", so it can be a program name with args.
14622 set dummy sdl-config
; ac_word
=$2
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14624 $as_echo_n "checking for $ac_word... " >&6; }
14625 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
14626 $as_echo_n "(cached) " >&6
14628 case $SDL_CONFIG in
14630 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
14633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14634 for as_dir
in $PATH
14637 test -z "$as_dir" && as_dir
=.
14638 for ac_exec_ext
in '' $ac_executable_extensions; do
14639 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14640 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14648 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
14652 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
14653 if test -n "$SDL_CONFIG"; then
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
14655 $as_echo "$SDL_CONFIG" >&6; }
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14658 $as_echo "no" >&6; }
14662 PATH
="$as_save_PATH"
14663 min_sdl_version
=$SDL_VERSION
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
14665 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
14667 if test "$SDL_CONFIG" = "no" ; then
14670 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
14671 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
14673 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
14674 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
14675 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
14676 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
14677 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
14678 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
14679 if test "x$enable_sdltest" = "xyes" ; then
14680 ac_save_CFLAGS
="$CFLAGS"
14681 ac_save_CXXFLAGS
="$CXXFLAGS"
14682 ac_save_LIBS
="$LIBS"
14683 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14684 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14685 LIBS
="$LIBS $SDL_LIBS"
14687 if test "$cross_compiling" = yes; then :
14688 echo $ac_n "cross compiling; assumed OK... $ac_c"
14690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14691 /* end confdefs.h. */
14694 #include <stdlib.h>
14695 #include <string.h>
14699 my_strdup (char *str)
14705 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14706 strcpy (new_str, str);
14714 int main (int argc, char *argv[])
14716 int major, minor, micro;
14719 /* This hangs on some systems (?)
14720 system ("touch conf.sdltest");
14722 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14724 /* HP/UX 9 (%@#!) writes to sscanf strings */
14725 tmp_version = my_strdup("$min_sdl_version");
14726 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14727 printf("%s, bad version string\n", "$min_sdl_version");
14731 if (($sdl_major_version > major) ||
14732 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14733 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14739 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14740 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14741 printf("*** best to upgrade to the required version.\n");
14742 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14743 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14744 printf("*** config.cache before re-running configure\n");
14751 if ac_fn_c_try_run
"$LINENO"; then :
14756 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14757 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14760 CFLAGS
="$ac_save_CFLAGS"
14761 CXXFLAGS
="$ac_save_CXXFLAGS"
14762 LIBS
="$ac_save_LIBS"
14765 if test "x$no_sdl" = x
; then
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14767 $as_echo "yes" >&6; }
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14771 $as_echo "no" >&6; }
14772 if test "$SDL_CONFIG" = "no" ; then
14773 echo "*** The sdl-config script installed by SDL could not be found"
14774 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14775 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14776 echo "*** full path to sdl-config."
14778 if test -f conf.sdltest
; then
14781 echo "*** Could not run SDL test program, checking why..."
14782 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14783 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14784 LIBS
="$LIBS $SDL_LIBS"
14785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14786 /* end confdefs.h. */
14791 int main(int argc, char *argv[])
14794 #define main K_and_R_C_main
14804 if ac_fn_c_try_link
"$LINENO"; then :
14805 echo "*** The test program compiled, but did not run. This usually means"
14806 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14807 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14808 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14809 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14810 echo "*** is required on your system"
14812 echo "*** If you have an old version installed, it is best to remove it, although"
14813 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14815 echo "*** The test program failed to compile or link. See the file config.log for the"
14816 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14817 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14818 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14820 rm -f core conftest.err conftest.
$ac_objext \
14821 conftest
$ac_exeext conftest.
$ac_ext
14822 CFLAGS
="$ac_save_CFLAGS"
14823 CXXFLAGS
="$ac_save_CXXFLAGS"
14824 LIBS
="$ac_save_LIBS"
14836 if test "x-$have_sdl" != "x-yes" ; then
14838 if test "x-$sdl_hidd" != "x-auto" ; then
14839 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14844 aros_host_sdl_cflags
=$SDL_CFLAGS
14845 aros_host_sdl_libs
=$SDL_LIBS
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether building of dbus.library is enabled" >&5
14853 $as_echo_n "checking whether building of dbus.library is enabled... " >&6; }
14854 # Check whether --enable-dbus was given.
14855 if test "${enable_dbus+set}" = set; then :
14856 enableval
=$enable_dbus; dbus
="yes"
14861 if test "$dbus" = "yes" ; then
14863 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14864 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14865 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14866 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14871 $as_echo "$dbus" >&6; }
14873 if test "$use_kernel_cc_wrapper" = "yes" ; then
14874 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-${toolchain_c_compiler}"
14877 aros_kernel_cppflags
=$aros_config_cppflags
14894 # Compatability with other Amiga-like operation systems
15005 # Hosted Graphics Related
15023 # Native version related
15028 # Palm native version related
15031 # Unix/Hosted version related
15037 # Apple iOS related
15042 # ARM default GCC target related
15070 # Collect-aros stuff: "-ius" to ignore undefined symbols
15073 # C compiler related
15078 #ObjC compiler related
15087 case "$aros_flavour" in
15088 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
15089 aros_flavour
="emulation" ;;
15090 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
15091 aros_flavour
="emulation" ;;
15092 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
15093 aros_flavour
="standalone";;
15094 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15095 aros_flavour
="standalone";;
15096 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
15097 aros_flavour
="native" ;;
15098 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
15099 aros_flavour
="native" ;;
15100 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
15101 aros_flavour
="linklib" ;;
15102 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15103 aros_flavour
="palmnative" ;;
15104 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15105 aros_flavour
="mac68knative" ;;
15106 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15107 aros_flavour
="ppcnative" ;;
15110 if test ! -d ${aros_inc_dir} ; then
15111 ${MKDIR} ${aros_inc_dir}
15113 if test ! -d ${aros_geninc_dir} ; then
15114 ${MKDIR} ${aros_geninc_dir}
15116 if test ! -d ${aros_hostcfg_dir} ; then
15117 ${MKDIR} ${aros_hostcfg_dir}
15119 if test ! -d ${aros_targetcfg_dir} ; then
15120 ${MKDIR} ${aros_targetcfg_dir}
15122 if test ! -d ${aros_tools_dir} ; then
15123 ${MKDIR} ${aros_tools_dir}
15125 if test ! -d ${aros_scripts_dir} ; then
15126 ${MKDIR} ${aros_scripts_dir}
15129 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
15132 # Generic build tools (metamake, etc)
15133 ac_config_commands
="$ac_config_commands genmf-executable-support"
15135 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"
15139 ac_config_commands
="$ac_config_commands binutils-support"
15141 if test "${use_ld_wrapper}" = "yes"; then
15142 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"
15145 # Bare Elf support script and spec
15146 if test "${use_kernel_cc_wrapper}" = "yes"; then
15147 ac_config_commands
="$ac_config_commands elf-compiler-support"
15149 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"
15153 # Host compiler support scripts and spec
15154 if test "${aros_target_toolchain}" = "no"; then
15155 ac_config_commands
="$ac_config_commands host-compiler-wrapper-support"
15157 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"
15162 if test "$aros_target_variant" == "android"; then
15163 ac_config_files
="$ac_config_files ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in"
15168 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in"
15171 cat >confcache
<<\_ACEOF
15172 # This file is a shell script that caches the results of configure
15173 # tests run on this system so they can be shared between configure
15174 # scripts and configure runs, see configure's option --config-cache.
15175 # It is not useful on other systems. If it contains results you don't
15176 # want to keep, you may remove or edit it.
15178 # config.status only pays attention to the cache file if you give it
15179 # the --recheck option to rerun configure.
15181 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15182 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15183 # following values.
15187 # The following way of writing the cache mishandles newlines in values,
15188 # but we know of no workaround that is simple, portable, and efficient.
15189 # So, we kill variables containing newlines.
15190 # Ultrix sh set writes to stderr and can't be redirected directly,
15191 # and sets the high bit in the cache file unless we assign to the vars.
15193 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15194 eval ac_val
=\$
$ac_var
15198 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15199 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15202 _ | IFS | as_nl
) ;; #(
15203 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15204 *) { eval $ac_var=; unset $ac_var;} ;;
15210 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15211 *${as_nl}ac_space
=\
*)
15212 # `set' does not quote correctly, so add quotes: double-quote
15213 # substitution turns \\\\ into \\, and sed turns \\ into \.
15216 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15219 # `set' quotes correctly as required by POSIX, so do not add quotes.
15220 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15229 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15231 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15233 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15234 if test -w "$cache_file"; then
15235 if test "x$cache_file" != "x/dev/null"; then
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15237 $as_echo "$as_me: updating cache $cache_file" >&6;}
15238 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15239 cat confcache
>"$cache_file"
15241 case $cache_file in #(
15243 mv -f confcache
"$cache_file"$$
&&
15244 mv -f "$cache_file"$$
"$cache_file" ;; #(
15246 mv -f confcache
"$cache_file" ;;
15251 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15252 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15257 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15258 # Let make expand exec_prefix.
15259 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15261 DEFS
=-DHAVE_CONFIG_H
15266 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15267 # 1. Remove the extension, and $U if already installed.
15268 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15269 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15270 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15271 # will be set to the directory where LIBOBJS objects are built.
15272 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15273 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15275 LIBOBJS
=$ac_libobjs
15277 LTLIBOBJS
=$ac_ltlibobjs
15281 : "${CONFIG_STATUS=./config.status}"
15283 ac_clean_files_save
=$ac_clean_files
15284 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15285 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15286 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15288 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15290 # Generated by $as_me.
15291 # Run this file to recreate the current configuration.
15292 # Compiler output produced by configure, useful for debugging
15293 # configure, is in config.log if it exists.
15296 ac_cs_recheck=false
15299 SHELL=\${CONFIG_SHELL-$SHELL}
15302 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15303 ## -------------------- ##
15304 ## M4sh Initialization. ##
15305 ## -------------------- ##
15307 # Be more Bourne compatible
15308 DUALCASE
=1; export DUALCASE
# for MKS sh
15309 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15312 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15313 # is contrary to our usage. Disable this feature.
15314 alias -g '${1+"$@"}'='"$@"'
15315 setopt NO_GLOB_SUBST
15317 case `(set -o) 2>/dev/null` in #(
15329 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15330 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15331 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15332 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15333 # Prefer a ksh shell builtin over an external printf program on Solaris,
15334 # but without wasting forks for bash or zsh.
15335 if test -z "$BASH_VERSION$ZSH_VERSION" \
15336 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15337 as_echo='print
-r --'
15338 as_echo_n='print
-rn --'
15339 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15340 as_echo='printf %s
\n'
15341 as_echo_n='printf %s
'
15343 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15344 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15345 as_echo_n='/usr
/ucb
/echo -n'
15347 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15348 as_echo_n_body='eval
15352 expr "X$arg" : "X\\(.*\\)$as_nl";
15353 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15355 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15357 export as_echo_n_body
15358 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15360 export as_echo_body
15361 as_echo='sh
-c $as_echo_body as_echo
'
15364 # The user is always right.
15365 if test "${PATH_SEPARATOR+set}" != set; then
15367 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15368 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15375 # We need space, tab and new line, in precisely that order. Quoting is
15376 # there to prevent editors from complaining about space-tab.
15377 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15378 # splitting by setting IFS to empty value.)
15381 # Find who we are. Look in the path if we contain no directory separator.
15384 *[\\/]* ) as_myself=$0 ;;
15385 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15386 for as_dir in $PATH
15389 test -z "$as_dir" && as_dir=.
15390 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15396 # We did not find ourselves, most probably we were run as `sh COMMAND'
15397 # in which case we are not to be found in the path.
15398 if test "x$as_myself" = x
; then
15401 if test ! -f "$as_myself"; then
15402 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15406 # Unset variables that we do not need and which cause bugs (e.g. in
15407 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15408 # suppresses any "Segmentation fault" message there. '((' could
15409 # trigger a bug in pdksh 5.2.14.
15410 for as_var
in BASH_ENV ENV MAIL MAILPATH
15411 do eval test x\
${$as_var+set} = xset \
15412 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15425 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15428 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15429 # ----------------------------------------
15430 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15431 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15432 # script with STATUS, using 1 if that was 0.
15435 as_status
=$1; test $as_status -eq 0 && as_status
=1
15437 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15438 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15440 $as_echo "$as_me: error: $2" >&2
15441 as_fn_exit
$as_status
15445 # as_fn_set_status STATUS
15446 # -----------------------
15447 # Set $? to STATUS, without forking.
15448 as_fn_set_status
()
15451 } # as_fn_set_status
15453 # as_fn_exit STATUS
15454 # -----------------
15455 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15459 as_fn_set_status
$1
15465 # Portably unset VAR.
15468 { eval $1=; unset $1;}
15470 as_unset
=as_fn_unset
15471 # as_fn_append VAR VALUE
15472 # ----------------------
15473 # Append the text in VALUE to the end of the definition contained in VAR. Take
15474 # advantage of any shell optimizations that allow amortized linear growth over
15475 # repeated appends, instead of the typical quadratic growth present in naive
15477 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15478 eval 'as_fn_append ()
15489 # as_fn_arith ARG...
15490 # ------------------
15491 # Perform arithmetic evaluation on the ARGs, and store the result in the
15492 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15493 # must be portable across $(()) and expr.
15494 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15495 eval 'as_fn_arith ()
15502 as_val
=`expr "$@" || test $? -eq 1`
15507 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15508 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15514 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15515 as_basename
=basename
15520 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15526 as_me
=`$as_basename -- "$0" ||
15527 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15528 X"$0" : 'X\(//\)$' \| \
15529 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15531 sed '/^.*\/\([^/][^/]*\)\/*$/{
15545 # Avoid depending upon Character Ranges.
15546 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15547 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15548 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15549 as_cr_digits
='0123456789'
15550 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15552 ECHO_C
= ECHO_N
= ECHO_T
=
15553 case `echo -n x` in #(((((
15555 case `echo 'xy\c'` in
15556 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15558 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15565 rm -f conf$$ conf$$.exe conf$$.
file
15566 if test -d conf$$.dir
; then
15567 rm -f conf$$.dir
/conf$$.
file
15570 mkdir conf$$.dir
2>/dev
/null
15572 if (echo >conf$$.
file) 2>/dev
/null
; then
15573 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15575 # ... but there are two gotchas:
15576 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15577 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15578 # In both cases, we have to default to `cp -pR'.
15579 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15581 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15589 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15590 rmdir conf$$.dir
2>/dev
/null
15595 # Create "$as_dir" as a directory, including parents if necessary.
15600 -*) as_dir
=.
/$as_dir;;
15602 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15606 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15607 *) as_qdir
=$as_dir;;
15609 as_dirs
="'$as_qdir' $as_dirs"
15610 as_dir
=`$as_dirname -- "$as_dir" ||
15611 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15612 X"$as_dir" : 'X\(//\)[^/]' \| \
15613 X"$as_dir" : 'X\(//\)$' \| \
15614 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15615 $as_echo X"$as_dir" |
15616 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15620 /^X\(\/\/\)[^/].*/{
15633 test -d "$as_dir" && break
15635 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15636 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15640 if mkdir
-p .
2>/dev
/null
; then
15641 as_mkdir_p
='mkdir -p "$as_dir"'
15643 test -d .
/-p && rmdir .
/-p
15648 # as_fn_executable_p FILE
15649 # -----------------------
15650 # Test if FILE is an executable regular file.
15651 as_fn_executable_p
()
15653 test -f "$1" && test -x "$1"
15654 } # as_fn_executable_p
15655 as_test_x
='test -x'
15656 as_executable_p
=as_fn_executable_p
15658 # Sed expression to map a string onto a valid CPP name.
15659 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15661 # Sed expression to map a string onto a valid variable name.
15662 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15666 ## ----------------------------------- ##
15667 ## Main body of $CONFIG_STATUS script. ##
15668 ## ----------------------------------- ##
15670 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15673 # Save the log message, to keep $0 and so on meaningful, and to
15674 # report actual input values of CONFIG_FILES etc. instead of their
15675 # values after options handling.
15677 This file was extended by $as_me, which was
15678 generated by GNU Autoconf 2.69. Invocation command line was
15680 CONFIG_FILES = $CONFIG_FILES
15681 CONFIG_HEADERS = $CONFIG_HEADERS
15682 CONFIG_LINKS = $CONFIG_LINKS
15683 CONFIG_COMMANDS = $CONFIG_COMMANDS
15686 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15691 case $ac_config_files in *"
15692 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15695 case $ac_config_headers in *"
15696 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15701 # Files that config.status was made for.
15702 config_files="$ac_config_files"
15703 config_headers="$ac_config_headers"
15704 config_commands="$ac_config_commands"
15708 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15710 \`$as_me' instantiates files and other configuration actions
15711 from templates according to the current configuration. Unless the files
15712 and actions are specified as TAGs, all are instantiated by default.
15714 Usage: $0 [OPTION]... [TAG]...
15716 -h, --help print this help, then exit
15717 -V, --version print version number and configuration settings, then exit
15718 --config print configuration, then exit
15719 -q, --quiet, --silent
15720 do not print progress messages
15721 -d, --debug don't remove temporary files
15722 --recheck update $as_me by reconfiguring in the same conditions
15723 --file=FILE[:TEMPLATE]
15724 instantiate the configuration file FILE
15725 --header=FILE[:TEMPLATE]
15726 instantiate the configuration header FILE
15728 Configuration files:
15731 Configuration headers:
15734 Configuration commands:
15737 Report bugs to the package provider."
15740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15741 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15744 configured by $0, generated by GNU Autoconf 2.69,
15745 with options \\"\$ac_cs_config\\"
15747 Copyright (C) 2012 Free Software Foundation, Inc.
15748 This config.status script is free software; the Free Software Foundation
15749 gives unlimited permission to copy, distribute and modify it."
15753 test -n "\$AWK" || AWK=awk
15756 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15757 # The default lists apply if the user does not specify any file.
15763 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15764 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15768 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15780 # Handling of the options.
15781 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15783 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15784 $as_echo "$ac_cs_version"; exit ;;
15785 --config |
--confi |
--conf |
--con |
--co |
--c )
15786 $as_echo "$ac_cs_config"; exit ;;
15787 --debug |
--debu |
--deb |
--de |
--d |
-d )
15789 --file |
--fil |
--fi |
--f )
15792 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15793 '') as_fn_error $?
"missing file argument" ;;
15795 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15796 ac_need_defaults
=false
;;
15797 --header |
--heade |
--head |
--hea )
15800 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15802 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15803 ac_need_defaults
=false
;;
15805 # Conflict between --help and --header
15806 as_fn_error $?
"ambiguous option: \`$1'
15807 Try \`$0 --help' for more information.";;
15808 --help |
--hel |
-h )
15809 $as_echo "$ac_cs_usage"; exit ;;
15810 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15811 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15814 # This is an error.
15815 -*) as_fn_error $?
"unrecognized option: \`$1'
15816 Try \`$0 --help' for more information." ;;
15818 *) as_fn_append ac_config_targets
" $1"
15819 ac_need_defaults
=false
;;
15825 ac_configure_extra_args
=
15827 if $ac_cs_silent; then
15829 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15833 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15834 if \$ac_cs_recheck; then
15835 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15837 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15838 CONFIG_SHELL='$SHELL'
15839 export CONFIG_SHELL
15844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15848 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15849 ## Running $as_me. ##
15855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15860 AROS_CROSSTOOLSDIR=${AROS_CROSSTOOLSDIR}
15861 aros_tools_dir=${aros_tools_dir}
15865 aros_host_exe_suffix=${aros_host_exe_suffix}
15866 aros_tools_dir=${aros_tools_dir}
15867 aros_target_cpu=${aros_target_cpu}
15868 aros_target_arch=${aros_target_arch}
15869 aros_target_suffix=${aros_target_suffix}
15870 orig_target_nm=${orig_target_nm}
15871 orig_target_as=${orig_target_as}
15872 orig_target_ar=${orig_target_ar}
15873 orig_target_ranlib=${orig_target_ranlib}
15874 orig_target_objdump=${orig_target_objdump}
15875 orig_target_objcopy=${orig_target_objcopy}
15876 orig_target_strip=${orig_target_strip}
15877 aros_kernel_ld=${aros_kernel_ld}
15881 aros_host_exe_suffix=${aros_host_exe_suffix}
15882 aros_tools_dir=${aros_tools_dir}
15883 aros_target_cpu=${aros_target_cpu}
15884 aros_target_arch=${aros_target_arch}
15885 aros_target_suffix=${aros_target_suffix}
15886 aros_kernel_ld=${aros_kernel_ld}
15890 aros_host_exe_suffix=${aros_host_exe_suffix}
15891 aros_tools_dir=${aros_tools_dir}
15892 aros_target_cpu=${aros_target_cpu}
15893 aros_target_arch=${aros_target_arch}
15894 aros_target_suffix=${aros_target_suffix}
15900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15902 # Handling of arguments.
15903 for ac_config_target
in $ac_config_targets
15905 case $ac_config_target in
15906 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15907 "genmf-executable-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf-executable-support" ;;
15908 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15909 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15910 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15911 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15912 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15913 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15914 "${aros_targetcfg_dir}/build.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/build.cfg:config/build.cfg.in" ;;
15915 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15916 "compiler/include/geninc.cfg") CONFIG_FILES
="$CONFIG_FILES compiler/include/geninc.cfg:compiler/include/geninc.cfg.in" ;;
15917 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15918 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15919 "${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname") CONFIG_FILES="$CONFIG_FILES ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname:scripts/uname.in" ;;
15920 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15921 "binutils-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS binutils-support" ;;
15922 "${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" ;;
15923 "elf-compiler-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS elf-compiler-support" ;;
15924 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15925 "${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" ;;
15926 "host-compiler-wrapper-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS host-compiler-wrapper-support" ;;
15927 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15928 "${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" ;;
15929 "${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" ;;
15930 "${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" ;;
15931 "${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" ;;
15932 "${aros_targetcfg_dir}/conf.cmake") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in" ;;
15934 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15939 # If the user did not use the arguments to specify the items to instantiate,
15940 # then the envvar interface is used. Set only those that are not.
15941 # We use the long form for the default assignment because of an extremely
15942 # bizarre bug on SunOS 4.1.3.
15943 if $ac_need_defaults; then
15944 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15945 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15946 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15949 # Have a temporary directory for convenience. Make it in the build tree
15950 # simply because there is no reason against having it here, and in addition,
15951 # creating and moving files from /tmp can sometimes cause problems.
15952 # Hook for its removal unless debugging.
15953 # Note that there is a small window in which the directory will not be cleaned:
15954 # after its creation but before its name has been assigned to `$tmp'.
15958 trap 'exit_status=$?
15959 : "${ac_tmp:=$tmp}"
15960 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15962 trap 'as_fn_exit 1' 1 2 13 15
15964 # Create a (secure) tmp directory for tmp files.
15967 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15971 tmp
=.
/conf$$
-$RANDOM
15972 (umask 077 && mkdir
"$tmp")
15973 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15976 # Set up the scripts for CONFIG_FILES section.
15977 # No need to generate them if there are no CONFIG_FILES.
15978 # This happens for instance with `./config.status config.h'.
15979 if test -n "$CONFIG_FILES"; then
15982 ac_cr
=`echo X | tr X '\015'`
15983 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15984 # But we know of no other shell where ac_cr would be empty at this
15985 # point, so we can use a bashism as a fallback.
15986 if test "x$ac_cr" = x
; then
15987 eval ac_cr
=\$
\'\\r
\'
15989 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15990 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15993 ac_cs_awk_cr
=$ac_cr
15996 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16001 echo "cat >conf$$subs.awk <<_ACEOF" &&
16002 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16004 } >conf$$subs.sh ||
16005 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16006 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16008 for ac_last_try in false false false false false :; do
16009 . ./conf$$subs.sh ||
16010 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16012 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16013 if test $ac_delim_n = $ac_delim_num; then
16015 elif $ac_last_try; then
16016 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16018 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16021 rm -f conf$$subs.sh
16023 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16024 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16028 s/^/S["/; s
/!.
*/"]=/
16038 s/\(.\{148\}\)..*/\1/
16040 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16045 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16052 s/\(.\{148\}\)..*/\1/
16054 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16058 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16063 ' <conf$$subs.awk | sed '
16068 ' >>$CONFIG_STATUS || ac_write_fail=1
16069 rm -f conf$$subs.awk
16070 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16072 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16073 for (key in S) S_is_set[key] = 1
16079 nfields = split(line, field, "@
")
16081 len = length(field[1])
16082 for (i = 2; i < nfields; i++) {
16084 keylen = length(key)
16085 if (S_is_set[key]) {
16087 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16088 len += length(value) + length(field[++i])
16099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16100 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16101 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16104 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16105 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16108 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16109 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16110 # trailing colons and then remove the whole line if VPATH becomes empty
16111 # (actually we leave an empty line to preserve line numbers).
16112 if test "x
$srcdir" = x.; then
16113 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16131 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16132 fi # test -n "$CONFIG_FILES"
16134 # Set up the scripts for CONFIG_HEADERS section.
16135 # No need to generate them if there are no CONFIG_HEADERS.
16136 # This happens for instance with `./config.status Makefile'.
16137 if test -n "$CONFIG_HEADERS"; then
16138 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16142 # Transform confdefs.h into an awk script `defines.awk', embedded as
16143 # here-document in config.status, that substitutes the proper values into
16144 # config.h.in to produce config.h.
16146 # Create a delimiter string that does not exist in confdefs.h, to ease
16147 # handling of long lines.
16149 for ac_last_try in false false :; do
16150 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16151 if test -z "$ac_tt"; then
16153 elif $ac_last_try; then
16154 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16156 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16160 # For the awk script, D is an array of macro values keyed by name,
16161 # likewise P contains macro parameters if any. Preserve backslash
16162 # newline sequences.
16164 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16166 s/.\{148\}/&'"$ac_delim"'/g
16169 s/^[ ]*#[ ]*define[ ][ ]*/ /
16176 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16178 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16182 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16183 D["\
1"]=" \
3\\\\\\n
"\\/p
16185 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16190 s/.\{148\}/&'"$ac_delim"'/g
16195 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16198 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16200 ' <confdefs.h | sed '
16201 s/'"$ac_delim"'/"\\\
16202 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16204 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16205 for (key in D) D_is_set[key] = 1
16208 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16210 split(line, arg, " ")
16211 if (arg[1] == "#") {
16215 defundef
= substr
(arg
[1], 2)
16218 split(mac1
, mac2
, "(") #)
16220 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16221 if (D_is_set
[macro
]) {
16222 # Preserve the white space surrounding the "#".
16223 print prefix
"define", macro P
[macro
] D
[macro
]
16226 # Replace #undef with comments. This is necessary, for example,
16227 # in the case of _POSIX_SOURCE, which is predefined and required
16228 # on some systems where configure will not decide to define it.
16229 if (defundef
== "undef") {
16230 print
"/*", prefix defundef
, macro
, "*/"
16238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16239 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16240 fi # test -n "$CONFIG_HEADERS"
16243 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16248 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16250 case $ac_mode$ac_tag in
16252 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16253 :[FH
]-) ac_tag
=-:-;;
16254 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16271 -) ac_f
="$ac_tmp/stdin";;
16272 *) # Look for the file first in the build tree, then in the source tree
16273 # (if the path is not absolute). The absolute path cannot be DOS-style,
16274 # because $ac_f cannot contain `:'.
16278 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16280 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16282 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16283 as_fn_append ac_file_inputs
" '$ac_f'"
16286 # Let's still pretend it is `configure' which instantiates (i.e., don't
16287 # use $as_me), people would be surprised to read:
16288 # /* config.h. Generated by config.status. */
16289 configure_input
='Generated from '`
16290 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16292 if test x
"$ac_file" != x-
; then
16293 configure_input
="$ac_file. $configure_input"
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16295 $as_echo "$as_me: creating $ac_file" >&6;}
16297 # Neutralize special characters interpreted by sed in replacement strings.
16298 case $configure_input in #(
16299 *\
&* |
*\|
* |
*\\* )
16300 ac_sed_conf_input
=`$as_echo "$configure_input" |
16301 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16302 *) ac_sed_conf_input
=$configure_input;;
16306 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16307 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16312 ac_dir
=`$as_dirname -- "$ac_file" ||
16313 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16314 X"$ac_file" : 'X\(//\)[^/]' \| \
16315 X"$ac_file" : 'X\(//\)$' \| \
16316 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16317 $as_echo X"$ac_file" |
16318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16322 /^X\(\/\/\)[^/].*/{
16335 as_dir
="$ac_dir"; as_fn_mkdir_p
16339 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16341 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16342 # A ".." for each directory in $ac_dir_suffix.
16343 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16344 case $ac_top_builddir_sub in
16345 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16346 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16349 ac_abs_top_builddir
=$ac_pwd
16350 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16351 # for backward compatibility:
16352 ac_top_builddir
=$ac_top_build_prefix
16355 .
) # We are building in place.
16357 ac_top_srcdir
=$ac_top_builddir_sub
16358 ac_abs_top_srcdir
=$ac_pwd ;;
16359 [\\/]* | ?
:[\\/]* ) # Absolute name.
16360 ac_srcdir
=$srcdir$ac_dir_suffix;
16361 ac_top_srcdir
=$srcdir
16362 ac_abs_top_srcdir
=$srcdir ;;
16363 *) # Relative name.
16364 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16365 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16366 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16368 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16379 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16380 # If the template does not know about datarootdir, expand it.
16381 # FIXME: This hack should be removed a few years after 2.60.
16382 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16393 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16394 *datarootdir
*) ac_datarootdir_seen
=yes;;
16395 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16397 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16400 ac_datarootdir_hack='
16401 s&@datadir@&$datadir&g
16402 s&@docdir@&$docdir&g
16403 s&@infodir@&$infodir&g
16404 s&@localedir@&$localedir&g
16405 s&@mandir@&$mandir&g
16406 s&\\\${datarootdir}&$datarootdir&g' ;;
16410 # Neutralize VPATH when `$srcdir' = `.'.
16411 # Shell code in configure.ac might set extrasub.
16412 # FIXME: do we really want to maintain this feature?
16413 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16414 ac_sed_extra="$ac_vpsub
16417 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16419 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16420 s|@configure_input@|
$ac_sed_conf_input|
;t t
16421 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16422 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16423 s
&@srcdir@
&$ac_srcdir&;t t
16424 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16425 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16426 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16427 s
&@builddir@
&$ac_builddir&;t t
16428 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16429 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16430 $ac_datarootdir_hack
16432 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16433 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16435 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16436 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16437 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16438 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16440 which seems to be undefined. Please make sure it is defined" >&5
16441 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16442 which seems to be undefined. Please make sure it is defined" >&2;}
16444 rm -f "$ac_tmp/stdin"
16446 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16447 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16449 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16455 if test x"$ac_file" != x-; then
16457 $as_echo "/* $configure_input */" \
16458 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16459 } >"$ac_tmp/config.h" \
16460 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16461 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16462 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16463 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16466 mv "$ac_tmp/config.h" "$ac_file" \
16467 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16470 $as_echo "/* $configure_input */" \
16471 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16472 || as_fn_error $? "could not create -" "$LINENO" 5
16476 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16477 $as_echo "$as_me: executing $ac_file commands" >&6;}
16482 case $ac_file$ac_mode in
16483 "genmf-executable-support":C)
16484 chmod a+x ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname
16485 chmod a+x ${aros_tools_dir}/genmf.py
16487 "binutils-support":C)
16488 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16490 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
16492 chmod a+x ${prefix2}-ld
16494 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
16495 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
16496 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
16497 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
16498 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
16499 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
16500 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
16502 "elf-compiler-support":C)
16503 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16505 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
16507 chmod a+x ${prefix2}-gcc
16509 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix2}-ld$aros_host_exe_suffix
16511 "host-compiler-wrapper-support":C)
16512 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16514 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
16516 chmod a+x ${prefix2}-${toolchain_c_compiler} ${prefix2}-${toolchain_cxx_compiler} ${prefix2}-${toolchain_cpp_preprocessor}
16525 ac_clean_files=$ac_clean_files_save
16527 test $ac_write_fail = 0 ||
16528 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16531 # configure is writing to config.log, and then calls config.status.
16532 # config.status does its own redirection, appending to config.log.
16533 # Unfortunately, on DOS this fails, as config.log is still kept open
16534 # by configure, so config.status won't be able to
write to it
; its
16535 # output is simply discarded. So we exec the FD to /dev/null,
16536 # effectively closing config.log, so it can be properly (re)opened and
16537 # appended to by config.status. When coming back to configure, we
16538 # need to make the FD available again.
16539 if test "$no_create" != yes; then
16541 ac_config_status_args
=
16542 test "$silent" = yes &&
16543 ac_config_status_args
="$ac_config_status_args --quiet"
16545 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16547 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16548 # would make configure fail if this is the last instruction.
16549 $ac_cs_success || as_fn_exit
1
16551 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16553 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16558 #XXX compatability...
16559 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
16561 if test -n "$aros_shared_cflags" ; then
16562 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
16563 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg