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
680 aros_kernel_objcflags
705 aros_target_cc_includes
721 aros_target_bootloader
742 aros_amigaos_compliance
750 aros_target_toolchain
759 kernel_cflags_iquote_end
761 host_cflags_iquote_end
764 aros_target_nostdlib_ldflags
765 aros_target_detach_ldflags
766 aros_target_nix_ldflags
767 aros_target_nostartup_ldflags
768 aros_target_nostdinc_cflags
807 arosconfig_use_libpngconfig
890 program_transform_name
903 enable_option_checking
913 with_kernel_gcc_version
916 enable_target_variant
923 enable_amigaos_compliance
924 with_kernel_toolchain_prefix
925 with_elf_toolchain_prefix
928 with_aros_toolchain_install
929 with_binutils_version
943 enable_palm_debug_hack
945 enable_nesting_supervisor
957 ac_precious_vars
='build_alias
973 # Initialize some variables set by options.
975 ac_init_version
=false
976 ac_unrecognized_opts
=
978 # The variables have the same names as the options, with
979 # dashes changed to underlines.
987 program_transform_name
=s
,x
,x
,
995 # Installation directory options.
996 # These are left unexpanded so users can "make install exec_prefix=/foo"
997 # and all the variables that are supposed to be based on exec_prefix
998 # by default will actually change.
999 # Use braces instead of parens because sh, perl, etc. also accept them.
1000 # (The list follows the same order as the GNU Coding Standards.)
1001 bindir
='${exec_prefix}/bin'
1002 sbindir
='${exec_prefix}/sbin'
1003 libexecdir
='${exec_prefix}/libexec'
1004 datarootdir
='${prefix}/share'
1005 datadir
='${datarootdir}'
1006 sysconfdir
='${prefix}/etc'
1007 sharedstatedir
='${prefix}/com'
1008 localstatedir
='${prefix}/var'
1009 includedir
='${prefix}/include'
1010 oldincludedir
='/usr/include'
1011 docdir
='${datarootdir}/doc/${PACKAGE}'
1012 infodir
='${datarootdir}/info'
1017 libdir
='${exec_prefix}/lib'
1018 localedir
='${datarootdir}/locale'
1019 mandir
='${datarootdir}/man'
1025 # If the previous option needs an argument, assign it.
1026 if test -n "$ac_prev"; then
1027 eval $ac_prev=\
$ac_option
1033 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1038 # Accept the important Cygnus configure options, so we can diagnose typos.
1040 case $ac_dashdash$ac_option in
1044 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1046 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1047 bindir
=$ac_optarg ;;
1049 -build |
--build |
--buil |
--bui |
--bu)
1050 ac_prev
=build_alias
;;
1051 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1052 build_alias
=$ac_optarg ;;
1054 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1055 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1056 ac_prev
=cache_file
;;
1057 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1058 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1059 cache_file
=$ac_optarg ;;
1061 --config-cache |
-C)
1062 cache_file
=config.cache
;;
1064 -datadir |
--datadir |
--datadi |
--datad)
1066 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1067 datadir
=$ac_optarg ;;
1069 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1070 |
--dataroo |
--dataro |
--datar)
1071 ac_prev
=datarootdir
;;
1072 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1073 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1074 datarootdir
=$ac_optarg ;;
1076 -disable-* |
--disable-*)
1077 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1078 # Reject names that are not valid shell variable names.
1079 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1080 as_fn_error $?
"invalid feature name: $ac_useropt"
1081 ac_useropt_orig
=$ac_useropt
1082 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1083 case $ac_user_opts in
1085 "enable_
$ac_useropt"
1087 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1088 ac_unrecognized_sep
=', ';;
1090 eval enable_
$ac_useropt=no
;;
1092 -docdir |
--docdir |
--docdi |
--doc |
--do)
1094 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1095 docdir
=$ac_optarg ;;
1097 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1099 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1100 dvidir
=$ac_optarg ;;
1102 -enable-* |
--enable-*)
1103 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1104 # Reject names that are not valid shell variable names.
1105 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1106 as_fn_error $?
"invalid feature name: $ac_useropt"
1107 ac_useropt_orig
=$ac_useropt
1108 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1109 case $ac_user_opts in
1111 "enable_
$ac_useropt"
1113 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1114 ac_unrecognized_sep
=', ';;
1116 eval enable_
$ac_useropt=\
$ac_optarg ;;
1118 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1119 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1120 |
--exec |
--exe |
--ex)
1121 ac_prev
=exec_prefix
;;
1122 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1123 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1124 |
--exec=* |
--exe=* |
--ex=*)
1125 exec_prefix
=$ac_optarg ;;
1127 -gas |
--gas |
--ga |
--g)
1128 # Obsolete; use --with-gas.
1131 -help |
--help |
--hel |
--he |
-h)
1132 ac_init_help
=long
;;
1133 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1134 ac_init_help
=recursive
;;
1135 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1136 ac_init_help
=short
;;
1138 -host |
--host |
--hos |
--ho)
1139 ac_prev
=host_alias
;;
1140 -host=* |
--host=* |
--hos=* |
--ho=*)
1141 host_alias
=$ac_optarg ;;
1143 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1145 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1147 htmldir
=$ac_optarg ;;
1149 -includedir |
--includedir |
--includedi |
--included |
--include \
1150 |
--includ |
--inclu |
--incl |
--inc)
1151 ac_prev
=includedir
;;
1152 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1153 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1154 includedir
=$ac_optarg ;;
1156 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1158 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1159 infodir
=$ac_optarg ;;
1161 -libdir |
--libdir |
--libdi |
--libd)
1163 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1164 libdir
=$ac_optarg ;;
1166 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1167 |
--libexe |
--libex |
--libe)
1168 ac_prev
=libexecdir
;;
1169 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1170 |
--libexe=* |
--libex=* |
--libe=*)
1171 libexecdir
=$ac_optarg ;;
1173 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1174 ac_prev
=localedir
;;
1175 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1176 localedir
=$ac_optarg ;;
1178 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1179 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1180 ac_prev
=localstatedir
;;
1181 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1182 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1183 localstatedir
=$ac_optarg ;;
1185 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1187 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1188 mandir
=$ac_optarg ;;
1190 -nfp |
--nfp |
--nf)
1191 # Obsolete; use --without-fp.
1194 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1195 |
--no-cr |
--no-c |
-n)
1198 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1199 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1202 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1203 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1204 |
--oldin |
--oldi |
--old |
--ol |
--o)
1205 ac_prev
=oldincludedir
;;
1206 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1207 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1208 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1209 oldincludedir
=$ac_optarg ;;
1211 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1213 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1214 prefix
=$ac_optarg ;;
1216 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1217 |
--program-pre |
--program-pr |
--program-p)
1218 ac_prev
=program_prefix
;;
1219 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1220 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1221 program_prefix
=$ac_optarg ;;
1223 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1224 |
--program-suf |
--program-su |
--program-s)
1225 ac_prev
=program_suffix
;;
1226 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1227 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1228 program_suffix
=$ac_optarg ;;
1230 -program-transform-name |
--program-transform-name \
1231 |
--program-transform-nam |
--program-transform-na \
1232 |
--program-transform-n |
--program-transform- \
1233 |
--program-transform |
--program-transfor \
1234 |
--program-transfo |
--program-transf \
1235 |
--program-trans |
--program-tran \
1236 |
--progr-tra |
--program-tr |
--program-t)
1237 ac_prev
=program_transform_name
;;
1238 -program-transform-name=* |
--program-transform-name=* \
1239 |
--program-transform-nam=* |
--program-transform-na=* \
1240 |
--program-transform-n=* |
--program-transform-=* \
1241 |
--program-transform=* |
--program-transfor=* \
1242 |
--program-transfo=* |
--program-transf=* \
1243 |
--program-trans=* |
--program-tran=* \
1244 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1245 program_transform_name
=$ac_optarg ;;
1247 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1249 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1250 pdfdir
=$ac_optarg ;;
1252 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1254 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1257 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1258 |
-silent |
--silent |
--silen |
--sile |
--sil)
1261 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1263 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1265 sbindir
=$ac_optarg ;;
1267 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1268 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1269 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1271 ac_prev
=sharedstatedir
;;
1272 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1273 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1274 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1276 sharedstatedir
=$ac_optarg ;;
1278 -site |
--site |
--sit)
1280 -site=* |
--site=* |
--sit=*)
1283 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1285 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1286 srcdir
=$ac_optarg ;;
1288 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1289 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1290 ac_prev
=sysconfdir
;;
1291 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1292 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1293 sysconfdir
=$ac_optarg ;;
1295 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1296 ac_prev
=target_alias
;;
1297 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1298 target_alias
=$ac_optarg ;;
1300 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1303 -version |
--version |
--versio |
--versi |
--vers |
-V)
1304 ac_init_version
=: ;;
1307 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1308 # Reject names that are not valid shell variable names.
1309 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1310 as_fn_error $?
"invalid package name: $ac_useropt"
1311 ac_useropt_orig
=$ac_useropt
1312 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1313 case $ac_user_opts in
1317 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1318 ac_unrecognized_sep
=', ';;
1320 eval with_
$ac_useropt=\
$ac_optarg ;;
1322 -without-* |
--without-*)
1323 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1324 # Reject names that are not valid shell variable names.
1325 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1326 as_fn_error $?
"invalid package name: $ac_useropt"
1327 ac_useropt_orig
=$ac_useropt
1328 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1329 case $ac_user_opts in
1333 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1334 ac_unrecognized_sep
=', ';;
1336 eval with_
$ac_useropt=no
;;
1339 # Obsolete; use --with-x.
1342 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1343 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1344 ac_prev
=x_includes
;;
1345 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1346 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1347 x_includes
=$ac_optarg ;;
1349 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1350 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1351 ac_prev
=x_libraries
;;
1352 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1353 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1354 x_libraries
=$ac_optarg ;;
1356 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1357 Try \`$0 --help' for more information"
1361 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1362 # Reject names that are not valid shell variable names.
1363 case $ac_envvar in #(
1364 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1365 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1367 eval $ac_envvar=\
$ac_optarg
1368 export $ac_envvar ;;
1371 # FIXME: should be removed in autoconf 3.0.
1372 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1373 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1374 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1375 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1381 if test -n "$ac_prev"; then
1382 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1383 as_fn_error $?
"missing argument to $ac_option"
1386 if test -n "$ac_unrecognized_opts"; then
1387 case $enable_option_checking in
1389 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1390 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1394 # Check all directory arguments for consistency.
1395 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1396 datadir sysconfdir sharedstatedir localstatedir includedir \
1397 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1398 libdir localedir mandir
1400 eval ac_val
=\$
$ac_var
1401 # Remove trailing slashes.
1404 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1405 eval $ac_var=\
$ac_val;;
1407 # Be sure to have absolute directory names.
1409 [\\/$
]* | ?
:[\\/]* ) continue;;
1410 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1412 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1415 # There might be people who depend on the old broken behavior: `$host'
1416 # used to hold the argument of --host etc.
1417 # FIXME: To remove some day.
1420 target
=$target_alias
1422 # FIXME: To remove some day.
1423 if test "x$host_alias" != x
; then
1424 if test "x$build_alias" = x
; then
1425 cross_compiling
=maybe
1426 elif test "x$build_alias" != "x$host_alias"; then
1432 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1434 test "$silent" = yes && exec 6>/dev
/null
1437 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1438 ac_ls_di
=`ls -di .` &&
1439 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1440 as_fn_error $?
"working directory cannot be determined"
1441 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1442 as_fn_error $?
"pwd does not report name of working directory"
1445 # Find the source files, if location was not specified.
1446 if test -z "$srcdir"; then
1447 ac_srcdir_defaulted
=yes
1448 # Try the directory containing this script, then the parent directory.
1449 ac_confdir
=`$as_dirname -- "$as_myself" ||
1450 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1451 X"$as_myself" : 'X\(//\)[^/]' \| \
1452 X"$as_myself" : 'X\(//\)$' \| \
1453 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1454 $as_echo X"$as_myself" |
1455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1473 if test ! -r "$srcdir/$ac_unique_file"; then
1477 ac_srcdir_defaulted
=no
1479 if test ! -r "$srcdir/$ac_unique_file"; then
1480 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1481 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1483 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1485 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1487 # When building in place, set srcdir=.
1488 if test "$ac_abs_confdir" = "$ac_pwd"; then
1491 # Remove unnecessary trailing slashes from srcdir.
1492 # Double slashes in file names in object file debugging info
1493 # mess up M-x gdb in Emacs.
1495 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1497 for ac_var
in $ac_precious_vars; do
1498 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1499 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1500 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1501 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1505 # Report the --help message.
1507 if test "$ac_init_help" = "long"; then
1508 # Omit some internal or obsolete options to make the list less imposing.
1509 # This message is too long to be a string in the A/UX 3.1 sh.
1511 \`configure' configures this package to adapt to many kinds of systems.
1513 Usage: $0 [OPTION]... [VAR=VALUE]...
1515 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1516 VAR=VALUE. See below for descriptions of some of the useful variables.
1518 Defaults for the options are specified in brackets.
1521 -h, --help display this help and exit
1522 --help=short display options specific to this package
1523 --help=recursive display the short help of all the included packages
1524 -V, --version display version information and exit
1525 -q, --quiet, --silent do not print \`checking ...' messages
1526 --cache-file=FILE cache test results in FILE [disabled]
1527 -C, --config-cache alias for \`--cache-file=config.cache'
1528 -n, --no-create do not create output files
1529 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1531 Installation directories:
1532 --prefix=PREFIX install architecture-independent files in PREFIX
1533 [$ac_default_prefix]
1534 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1537 By default, \`make install' will install all the files in
1538 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1539 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1540 for instance \`--prefix=\$HOME'.
1542 For better control, use the options below.
1544 Fine tuning of the installation directories:
1545 --bindir=DIR user executables [EPREFIX/bin]
1546 --sbindir=DIR system admin executables [EPREFIX/sbin]
1547 --libexecdir=DIR program executables [EPREFIX/libexec]
1548 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1549 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1550 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1551 --libdir=DIR object code libraries [EPREFIX/lib]
1552 --includedir=DIR C header files [PREFIX/include]
1553 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1554 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1555 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1556 --infodir=DIR info documentation [DATAROOTDIR/info]
1557 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1558 --mandir=DIR man documentation [DATAROOTDIR/man]
1559 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1560 --htmldir=DIR html documentation [DOCDIR]
1561 --dvidir=DIR dvi documentation [DOCDIR]
1562 --pdfdir=DIR pdf documentation [DOCDIR]
1563 --psdir=DIR ps documentation [DOCDIR]
1569 --x-includes=DIR X include files are
in DIR
1570 --x-libraries=DIR X library files are
in DIR
1573 --build=BUILD configure
for building on BUILD
[guessed
]
1574 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1578 if test -n "$ac_init_help"; then
1583 --disable-option-checking ignore unrecognized
--enable/--with options
1584 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1585 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1586 --disable-libpng-config disable libpng-config
test and configuration
1587 --enable-lto=yes|no Enable link
time optimizations
if the target
1588 compiler supports them
(default
=no
)
1589 --enable-build-type=TYPE
1590 Select the build
type. Available types are
:
1591 personal
, nightly
, snapshot
, milestone
, release. Do
1592 NOT use this option unless you know what you are
1593 doing
! (default
=personal
)
1594 --enable-debug=list Enable different types of debug. Commas or
1595 whitespaces can be used to separate the items
in the
1596 list. Available types of debug are
: all
, none
,
1597 messages
, stack
, mungwall
, modules
, symbols. If no
1598 list is provided
then "all" is assumed.
1600 --enable-distcc Use distcc as a front end to the compiler
1602 --enable-ccache Use ccache as a front end to the compiler
1604 --enable-target-variant=NAME
1605 Enable a specific target variant
(default
=none
)
1606 --enable-amigaos-compliance=VERSION
1607 Enforce userspace AmigaOS compliance to a specific
1608 KickStart version
(default
=none
).
1609 --disable-crosstools Do not build cross-compiler toolchain
1610 --enable-objc Enable Objectve-C support
(default
=no
)
1611 --enable-java Enable Java support
(default
=no
)
1612 --enable-includes=dir Alternative system include directory
1613 --enable-palm-debug-hack
1614 Enable palm debug output hack
in palm native
1616 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1617 --enable-nesting-supervisor
1618 Enable nesting supervisor support
in unix
1620 --disable-mmu Disable MMU support
(default
=enabled
)
1621 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1622 --enable-x11-shm use X11 shared memory
(default
=auto
)
1623 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1624 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1625 --disable-sdltest Do not try to compile and run a
test SDL program
1626 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1629 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1630 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1631 --with-c-compiler=VERSION
1632 Use specified c compiler
for building AROS
1633 --with-cxx-compiler=VERSION
1634 Use specified c
++ compiler building AROS
1635 --with-toolchain=family Which toolchain family to crosscompile with
1637 --with-kernel-gcc-version=VERSION
1638 Use gcc-VERSION
for building bootstrap
1639 --with-optimization=FLAGS
1640 Use optimization flags FLAGS
(default
=-O2).
1641 --with-paranoia=(yes|no|FLAGS
)
1642 Specific compiler warning FLAGS to
enable for
1643 paranoia builds
(default
=-Wall -Werror)
1644 --with-xcode=PATH Specify XCode path
for iOS targets
1645 (default
=/Developer
).
1646 --with-sdk-version=VERSION
1647 Use iOS SDK version VERSION
(default
=4.1).
1648 --with-sdk=PATH Specify Android SDK path
1649 (default
=$default_android_sdk).
1650 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1651 --with-sdk-version=LEVEL
1652 Use Android SDK
for API LEVEL
(default
=12).
1653 --with-ndk-version=LEVEL
1654 Use Android NDK
for API LEVEL
(default
=9).
1655 --with-apk-version=(release|debug
)
1656 Which version of AROSBootstrap.apk to compile.
1657 Release version needs key
for signing
, debug version
1658 will only run
in emulator.
(default
=release
)
1659 --with-kernel-toolchain-prefix=...
1660 Specify crosscompile toolchain prefix
for kernel
1662 --with-elf-toolchain-prefix=...
1663 Specify crosscompile toolchain prefix to wrap
for
1665 --with-aros-toolchain=PREFIX
1666 Specify prebuilt AROS toolchain. Use
yes for default
1668 --with-aros-toolchain-install=DIR
1669 Where to
install or search
for cross tools binaries
1670 --with-binutils-version=VERSION
1671 Use binutils-VERSION
for building AROS
1672 --with-gcc-version=VERSION
1673 Compile gcc-VERSION
for AROS
1674 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1675 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1676 --with-float=<spec
> Specify floating point ABI
1677 (default
=$gcc_default_float_abi).
1678 --with-portssources=DIR Where to download sourcecode
for external ports
1679 --with-bootloader=NAME Use a specific bootloader
1680 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1681 --with-theme=NAME Use a specific GUI Theme
1682 --with-resolution=XRESxYRESxDEPTH
1683 Default resolution of the initial WorkbenchScreen
1684 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1685 --with-x use the X Window System
1686 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1687 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1689 Some influential environment variables
:
1690 CXX C
++ compiler
command
1691 CXXFLAGS C
++ compiler flags
1692 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1693 nonstandard directory
<lib dir
>
1694 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1695 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1696 you have headers
in a nonstandard directory
<include dir
>
1697 CC C compiler
command
1698 CFLAGS C compiler flags
1700 PYTHON the Python interpreter
1701 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1703 Use these variables to override the choices made by
`configure' or to help
1704 it to find libraries and programs with nonstandard names/locations.
1706 Report bugs to the package provider.
1711 if test "$ac_init_help" = "recursive"; then
1712 # If there are subdirs, report their specific --help.
1713 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1714 test -d "$ac_dir" ||
1715 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1720 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1722 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1723 # A ".." for each directory in $ac_dir_suffix.
1724 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1725 case $ac_top_builddir_sub in
1726 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1727 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1730 ac_abs_top_builddir=$ac_pwd
1731 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1732 # for backward compatibility:
1733 ac_top_builddir=$ac_top_build_prefix
1736 .) # We are building in place.
1738 ac_top_srcdir=$ac_top_builddir_sub
1739 ac_abs_top_srcdir=$ac_pwd ;;
1740 [\\/]* | ?:[\\/]* ) # Absolute name.
1741 ac_srcdir=$srcdir$ac_dir_suffix;
1742 ac_top_srcdir=$srcdir
1743 ac_abs_top_srcdir=$srcdir ;;
1745 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1746 ac_top_srcdir=$ac_top_build_prefix$srcdir
1747 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1749 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1751 cd "$ac_dir" || { ac_status=$?; continue; }
1752 # Check for guested configure.
1753 if test -f "$ac_srcdir/configure.gnu"; then
1755 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1756 elif test -f "$ac_srcdir/configure"; then
1758 $SHELL "$ac_srcdir/configure" --help=recursive
1760 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1762 cd "$ac_pwd" || { ac_status=$?; break; }
1766 test -n "$ac_init_help" && exit $ac_status
1767 if $ac_init_version; then
1770 generated by GNU Autoconf 2.69
1772 Copyright (C) 2012 Free Software Foundation, Inc.
1773 This configure script is free software; the Free Software Foundation
1774 gives unlimited permission to copy, distribute and modify it.
1779 ## ------------------------ ##
1780 ## Autoconf initialization. ##
1781 ## ------------------------ ##
1783 # ac_fn_cxx_try_compile LINENO
1784 # ----------------------------
1785 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1786 ac_fn_cxx_try_compile ()
1788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789 rm -f conftest.$ac_objext
1790 if { { ac_try="$ac_compile"
1792 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1793 *) ac_try_echo
=$ac_try;;
1795 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797 (eval "$ac_compile") 2>conftest.err
1799 if test -s conftest.err
; then
1800 grep -v '^ *+' conftest.err
>conftest.er1
1801 cat conftest.er1
>&5
1802 mv -f conftest.er1 conftest.err
1804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805 test $ac_status = 0; } && {
1806 test -z "$ac_cxx_werror_flag" ||
1807 test ! -s conftest.err
1808 } && test -s conftest.
$ac_objext; then :
1811 $as_echo "$as_me: failed program was:" >&5
1812 sed 's/^/| /' conftest.
$ac_ext >&5
1816 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1817 as_fn_set_status
$ac_retval
1819 } # ac_fn_cxx_try_compile
1821 # ac_fn_c_try_compile LINENO
1822 # --------------------------
1823 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1824 ac_fn_c_try_compile
()
1826 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1827 rm -f conftest.
$ac_objext
1828 if { { ac_try
="$ac_compile"
1830 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1831 *) ac_try_echo=$ac_try;;
1833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1834 $as_echo "$ac_try_echo"; } >&5
1835 (eval "$ac_compile") 2>conftest.err
1837 if test -s conftest.err; then
1838 grep -v '^ *+' conftest.err >conftest.er1
1839 cat conftest.er1 >&5
1840 mv -f conftest.er1 conftest.err
1842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1843 test $ac_status = 0; } && {
1844 test -z "$ac_c_werror_flag" ||
1845 test ! -s conftest.err
1846 } && test -s conftest.$ac_objext; then :
1849 $as_echo "$as_me: failed program was:" >&5
1850 sed 's/^/| /' conftest.$ac_ext >&5
1854 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1855 as_fn_set_status $ac_retval
1857 } # ac_fn_c_try_compile
1859 # ac_fn_c_try_cpp LINENO
1860 # ----------------------
1861 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1864 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1865 if { { ac_try="$ac_cpp conftest.$ac_ext"
1867 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1868 *) ac_try_echo
=$ac_try;;
1870 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1871 $as_echo "$ac_try_echo"; } >&5
1872 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1874 if test -s conftest.err
; then
1875 grep -v '^ *+' conftest.err
>conftest.er1
1876 cat conftest.er1
>&5
1877 mv -f conftest.er1 conftest.err
1879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1880 test $ac_status = 0; } > conftest.i
&& {
1881 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1882 test ! -s conftest.err
1886 $as_echo "$as_me: failed program was:" >&5
1887 sed 's/^/| /' conftest.
$ac_ext >&5
1891 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1892 as_fn_set_status
$ac_retval
1896 # ac_fn_c_try_link LINENO
1897 # -----------------------
1898 # Try to link conftest.$ac_ext, and return whether this succeeded.
1901 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1902 rm -f conftest.
$ac_objext conftest
$ac_exeext
1903 if { { ac_try
="$ac_link"
1905 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1906 *) ac_try_echo=$ac_try;;
1908 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1909 $as_echo "$ac_try_echo"; } >&5
1910 (eval "$ac_link") 2>conftest.err
1912 if test -s conftest.err; then
1913 grep -v '^ *+' conftest.err >conftest.er1
1914 cat conftest.er1 >&5
1915 mv -f conftest.er1 conftest.err
1917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1918 test $ac_status = 0; } && {
1919 test -z "$ac_c_werror_flag" ||
1920 test ! -s conftest.err
1921 } && test -s conftest$ac_exeext && {
1922 test "$cross_compiling" = yes ||
1923 test -x conftest$ac_exeext
1927 $as_echo "$as_me: failed program was:" >&5
1928 sed 's/^/| /' conftest.$ac_ext >&5
1932 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1933 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1934 # interfere with the next link command; also delete a directory that is
1935 # left behind by Apple's compiler. We do this before executing the actions.
1936 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1937 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1938 as_fn_set_status $ac_retval
1940 } # ac_fn_c_try_link
1942 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1943 # -------------------------------------------------------
1944 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1945 # the include files in INCLUDES and setting the cache variable VAR
1947 ac_fn_c_check_header_mongrel ()
1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1950 if eval \${$3+:} false; then :
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1952 $as_echo_n "checking for $2... " >&6; }
1953 if eval \${$3+:} false; then :
1954 $as_echo_n "(cached) " >&6
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1958 $as_echo "$ac_res" >&6; }
1960 # Is the header compilable?
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1962 $as_echo_n "checking $2 usability... " >&6; }
1963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1964 /* end confdefs.h. */
1968 if ac_fn_c_try_compile "$LINENO"; then :
1969 ac_header_compiler=yes
1971 ac_header_compiler=no
1973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1975 $as_echo "$ac_header_compiler" >&6; }
1977 # Is the header present?
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1979 $as_echo_n "checking $2 presence... " >&6; }
1980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1981 /* end confdefs.h. */
1984 if ac_fn_c_try_cpp "$LINENO"; then :
1985 ac_header_preproc=yes
1987 ac_header_preproc=no
1989 rm -f conftest.err conftest.i conftest.$ac_ext
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1991 $as_echo "$ac_header_preproc" >&6; }
1993 # So? What about this header?
1994 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1997 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1999 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2003 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2005 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2007 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2009 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2011 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2015 $as_echo_n "checking for $2... " >&6; }
2016 if eval \${$3+:} false; then :
2017 $as_echo_n "(cached) " >&6
2019 eval "$3=\$ac_header_compiler"
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2023 $as_echo "$ac_res" >&6; }
2025 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2027 } # ac_fn_c_check_header_mongrel
2029 # ac_fn_c_try_run LINENO
2030 # ----------------------
2031 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2032 # that executables *can* be run.
2035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2036 if { { ac_try="$ac_link"
2038 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2039 *) ac_try_echo
=$ac_try;;
2041 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2042 $as_echo "$ac_try_echo"; } >&5
2043 (eval "$ac_link") 2>&5
2045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2046 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2047 { { case "(($ac_try" in
2048 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2049 *) ac_try_echo=$ac_try;;
2051 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2052 $as_echo "$ac_try_echo"; } >&5
2053 (eval "$ac_try") 2>&5
2055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2056 test $ac_status = 0; }; }; then :
2059 $as_echo "$as_me: program exited with status $ac_status" >&5
2060 $as_echo "$as_me: failed program was:" >&5
2061 sed 's/^/| /' conftest.$ac_ext >&5
2063 ac_retval=$ac_status
2065 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2066 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2067 as_fn_set_status $ac_retval
2071 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2072 # -------------------------------------------------------
2073 # Tests whether HEADER exists and can be compiled using the include files in
2074 # INCLUDES, setting the cache variable VAR accordingly.
2075 ac_fn_c_check_header_compile ()
2077 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2079 $as_echo_n "checking for $2... " >&6; }
2080 if eval \${$3+:} false; then :
2081 $as_echo_n "(cached) " >&6
2083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2084 /* end confdefs.h. */
2088 if ac_fn_c_try_compile "$LINENO"; then :
2093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2097 $as_echo "$ac_res" >&6; }
2098 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2100 } # ac_fn_c_check_header_compile
2102 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2103 # ----------------------------------------------------
2104 # Tries to find if the field MEMBER exists in type AGGR, after including
2105 # INCLUDES, setting cache variable VAR accordingly.
2106 ac_fn_c_check_member ()
2108 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2110 $as_echo_n "checking for $2.$3... " >&6; }
2111 if eval \${$4+:} false; then :
2112 $as_echo_n "(cached) " >&6
2114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2115 /* end confdefs.h. */
2127 if ac_fn_c_try_compile "$LINENO"; then :
2130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2131 /* end confdefs.h. */
2137 if (sizeof ac_aggr.$3)
2143 if ac_fn_c_try_compile "$LINENO"; then :
2148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2154 $as_echo "$ac_res" >&6; }
2155 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2157 } # ac_fn_c_check_member
2159 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2160 # ---------------------------------------------
2161 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2163 ac_fn_c_check_decl ()
2165 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2166 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2167 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2169 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2170 if eval \${$3+:} false; then :
2171 $as_echo_n "(cached) " >&6
2173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2174 /* end confdefs.h. */
2179 #ifndef $as_decl_name
2181 (void) $as_decl_use;
2183 (void) $as_decl_name;
2191 if ac_fn_c_try_compile "$LINENO"; then :
2196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2200 $as_echo "$ac_res" >&6; }
2201 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2203 } # ac_fn_c_check_decl
2205 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2206 # -------------------------------------------
2207 # Tests whether TYPE exists after having included INCLUDES, setting cache
2208 # variable VAR accordingly.
2209 ac_fn_c_check_type ()
2211 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2213 $as_echo_n "checking for $2... " >&6; }
2214 if eval \${$3+:} false; then :
2215 $as_echo_n "(cached) " >&6
2218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2219 /* end confdefs.h. */
2230 if ac_fn_c_try_compile "$LINENO"; then :
2231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2232 /* end confdefs.h. */
2243 if ac_fn_c_try_compile "$LINENO"; then :
2248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2254 $as_echo "$ac_res" >&6; }
2255 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2257 } # ac_fn_c_check_type
2259 # ac_fn_c_check_func LINENO FUNC VAR
2260 # ----------------------------------
2261 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2262 ac_fn_c_check_func ()
2264 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2266 $as_echo_n "checking for $2... " >&6; }
2267 if eval \${$3+:} false; then :
2268 $as_echo_n "(cached) " >&6
2270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2271 /* end confdefs.h. */
2272 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2274 #define $2 innocuous_$2
2276 /* System header to define __stub macros and hopefully few prototypes,
2277 which can conflict with char $2 (); below.
2278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2279 <limits.h> exists even on freestanding compilers. */
2282 # include <limits.h>
2284 # include <assert.h>
2289 /* Override any GCC internal prototype to avoid an error.
2290 Use char because int might match the return type of a GCC
2291 builtin and then its argument prototype would still apply. */
2296 /* The GNU C library defines this for functions which it implements
2297 to always fail with ENOSYS. Some functions are actually named
2298 something starting with __ and the normal name is an alias. */
2299 #if defined __stub_$2 || defined __stub___$2
2311 if ac_fn_c_try_link "$LINENO"; then :
2316 rm -f core conftest.err conftest.$ac_objext \
2317 conftest$ac_exeext conftest.$ac_ext
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2321 $as_echo "$ac_res" >&6; }
2322 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2324 } # ac_fn_c_check_func
2325 cat >config.log <<_ACEOF
2326 This file contains any messages produced by compilers while
2327 running configure, to aid debugging if configure makes a mistake.
2329 It was created by $as_me, which was
2330 generated by GNU Autoconf 2.69. Invocation command line was
2342 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2343 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2344 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2345 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2346 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2348 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2349 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2351 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2352 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2353 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2354 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2355 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2356 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2357 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2365 test -z "$as_dir" && as_dir=.
2366 $as_echo "PATH: $as_dir"
2382 # Keep a trace of the command line.
2383 # Strip out --no-create and --no-recursion so they do not pile up.
2384 # Strip out --silent because we don't want to record it for future runs.
2385 # Also quote any args containing shell meta-characters.
2386 # Make two passes to allow for proper duplicate-argument suppression.
2390 ac_must_keep_next=false
2396 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2397 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2398 | -silent | --silent | --silen | --sile | --sil)
2401 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2404 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2406 as_fn_append ac_configure_args1 " '$ac_arg'"
2407 if test $ac_must_keep_next = true; then
2408 ac_must_keep_next=false # Got value, back to normal.
2411 *=* | --config-cache | -C | -disable-* | --disable-* \
2412 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2413 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2414 | -with-* | --with-* | -without-* | --without-* | --x)
2415 case "$ac_configure_args0 " in
2416 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2419 -* ) ac_must_keep_next=true ;;
2422 as_fn_append ac_configure_args " '$ac_arg'"
2427 { ac_configure_args0=; unset ac_configure_args0;}
2428 { ac_configure_args1=; unset ac_configure_args1;}
2430 # When interrupted or exit'd, cleanup temporary files, and complete
2431 # config.log. We remove comments because anyway the quotes in there
2432 # would cause problems or look ugly.
2433 # WARNING: Use '\'' to represent an apostrophe within the trap.
2434 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2435 trap 'exit_status=$?
2436 # Save into config.log some information that might help in debugging.
2440 $as_echo "## ---------------- ##
2441 ## Cache variables. ##
2442 ## ---------------- ##"
2444 # The following way of writing the cache mishandles newlines in values,
2446 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2447 eval ac_val=\$$ac_var
2451 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2452 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2455 _ | IFS | as_nl) ;; #(
2456 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2457 *) { eval $ac_var=; unset $ac_var;} ;;
2462 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2463 *${as_nl}ac_space=\ *)
2465 "s/'\''/'\''\\\\'\'''\''/g;
2466 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2469 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2476 $as_echo "## ----------------- ##
2477 ## Output variables. ##
2478 ## ----------------- ##"
2480 for ac_var in $ac_subst_vars
2482 eval ac_val=\$$ac_var
2484 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2486 $as_echo "$ac_var='\''$ac_val'\''"
2490 if test -n "$ac_subst_files"; then
2491 $as_echo "## ------------------- ##
2492 ## File substitutions. ##
2493 ## ------------------- ##"
2495 for ac_var in $ac_subst_files
2497 eval ac_val=\$$ac_var
2499 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2501 $as_echo "$ac_var='\''$ac_val'\''"
2506 if test -s confdefs.h; then
2507 $as_echo "## ----------- ##
2514 test "$ac_signal" != 0 &&
2515 $as_echo "$as_me: caught signal $ac_signal"
2516 $as_echo "$as_me: exit $exit_status"
2518 rm -f core *.core core.conftest.* &&
2519 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2522 for ac_signal in 1 2 13 15; do
2523 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2527 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2528 rm -f -r conftest* confdefs.h
2530 $as_echo "/* confdefs.h */" > confdefs.h
2532 # Predefined preprocessor variables.
2534 cat >>confdefs.h <<_ACEOF
2535 #define PACKAGE_NAME "$PACKAGE_NAME"
2538 cat >>confdefs.h <<_ACEOF
2539 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2542 cat >>confdefs.h <<_ACEOF
2543 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2546 cat >>confdefs.h <<_ACEOF
2547 #define PACKAGE_STRING "$PACKAGE_STRING"
2550 cat >>confdefs.h <<_ACEOF
2551 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2554 cat >>confdefs.h <<_ACEOF
2555 #define PACKAGE_URL "$PACKAGE_URL"
2559 # Let the site file select an alternate cache file if it wants to.
2560 # Prefer an explicitly selected file to automatically selected ones.
2563 if test -n "$CONFIG_SITE"; then
2564 # We do not want a PATH search for config.site.
2565 case $CONFIG_SITE in #((
2566 -*) ac_site_file1=./$CONFIG_SITE;;
2567 */*) ac_site_file1=$CONFIG_SITE;;
2568 *) ac_site_file1=./$CONFIG_SITE;;
2570 elif test "x$prefix" != xNONE; then
2571 ac_site_file1=$prefix/share/config.site
2572 ac_site_file2=$prefix/etc/config.site
2574 ac_site_file1=$ac_default_prefix/share/config.site
2575 ac_site_file2=$ac_default_prefix/etc/config.site
2577 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2579 test "x$ac_site_file" = xNONE && continue
2580 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2582 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2583 sed 's/^/| /' "$ac_site_file" >&5
2585 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2587 as_fn_error $? "failed to load site
script $ac_site_file
2588 See \
`config.log' for more details" "$LINENO" 5; }
2592 if test -r "$cache_file"; then
2593 # Some versions of bash will fail to source /dev/null (special files
2594 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2595 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2597 $as_echo "$as_me: loading cache $cache_file" >&6;}
2599 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2600 *) . "./$cache_file";;
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2605 $as_echo "$as_me: creating cache $cache_file" >&6;}
2609 as_fn_append ac_header_list " stdlib.h"
2610 as_fn_append ac_header_list " unistd.h"
2611 as_fn_append ac_header_list " sys/param.h"
2612 # Check that the precious variables saved in the cache have kept the same
2614 ac_cache_corrupted=false
2615 for ac_var in $ac_precious_vars; do
2616 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2617 eval ac_new_set=\$ac_env_${ac_var}_set
2618 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2619 eval ac_new_val=\$ac_env_${ac_var}_value
2620 case $ac_old_set,$ac_new_set in
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2623 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2624 ac_cache_corrupted=: ;;
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2627 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2628 ac_cache_corrupted=: ;;
2631 if test "x$ac_old_val" != "x$ac_new_val"; then
2632 # differences in whitespace do not lead to failure.
2633 ac_old_val_w=`echo x
$ac_old_val`
2634 ac_new_val_w=`echo x
$ac_new_val`
2635 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2637 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2638 ac_cache_corrupted=:
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2641 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2642 eval $ac_var=\$ac_old_val
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2645 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2647 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2650 # Pass precious variables to config.status.
2651 if test "$ac_new_set" = set; then
2653 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2654 *) ac_arg=$ac_var=$ac_new_val ;;
2656 case " $ac_configure_args " in
2657 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2658 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2662 if $ac_cache_corrupted; then
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2666 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2667 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2669 ## -------------------- ##
2670 ## Main body of script. ##
2671 ## -------------------- ##
2674 ac_cpp='$CPP $CPPFLAGS'
2675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2682 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2683 if test -f "$ac_dir/install-sh"; then
2685 ac_install_sh="$ac_aux_dir/install-sh -c"
2687 elif test -f "$ac_dir/install.sh"; then
2689 ac_install_sh="$ac_aux_dir/install.sh -c"
2691 elif test -f "$ac_dir/shtool"; then
2693 ac_install_sh="$ac_aux_dir/shtool install -c"
2697 if test -z "$ac_aux_dir"; then
2698 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2701 # These three variables are undocumented and unsupported,
2702 # and are intended to be withdrawn in a future Autoconf release.
2703 # They can cause serious problems if a builder's source tree is in a directory
2704 # whose full name contains unusual characters.
2705 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2706 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2707 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2711 # Check what host we are running on.
2712 # If a target is not suggested, we use this one.
2713 # Note that what we call a target, Autoconf calls a host.
2714 # Make sure we can run config.sub.
2715 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2716 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2719 $as_echo_n "checking build system type... " >&6; }
2720 if ${ac_cv_build+:} false; then :
2721 $as_echo_n "(cached) " >&6
2723 ac_build_alias=$build_alias
2724 test "x$ac_build_alias" = x &&
2725 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2726 test "x$ac_build_alias" = x &&
2727 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2728 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2729 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2733 $as_echo "$ac_cv_build" >&6; }
2734 case $ac_cv_build in
2736 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2739 ac_save_IFS=$IFS; IFS='-'
2745 # Remember, the first character of IFS is used to create $*,
2746 # except with old shells:
2749 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2753 $as_echo_n "checking host system type... " >&6; }
2754 if ${ac_cv_host+:} false; then :
2755 $as_echo_n "(cached) " >&6
2757 if test "x$host_alias" = x; then
2758 ac_cv_host=$ac_cv_build
2760 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2761 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2766 $as_echo "$ac_cv_host" >&6; }
2769 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2772 ac_save_IFS=$IFS; IFS='-'
2778 # Remember, the first character of IFS is used to create $*,
2779 # except with old shells:
2782 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2786 # Default versions for the gnu tools we build
2787 default_gcc_version="4.6.4"
2788 default_binutils_version="2.23.2"
2790 # The AROS target is slightly different to the normal GNU style
2791 # format. We don't have the middle part, and we reverse the order
2792 # of the $(CPU) and $(OS) bits.
2794 # Don't strip the version of the target yet, it might be
2795 # useful on some systems.
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2798 $as_echo_n "checking for AROS style target... " >&6; }
2800 if test "$target" = "NONE" ; then
2801 target=$host_os-$host_cpu
2803 if test "$target" = "" ; then
2804 target=$host_os-$host_cpu
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2808 $as_echo "$target" >&6; }
2810 if test "$host_os" = "mingw32" ; then
2814 # Don't know where else to put this...
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2816 $as_echo_n "checking building AROS in... " >&6; }
2817 AROS_BUILDDIR=`${PWDCMD-pwd}`
2818 AROS_BUILDDIR_UNIX=${PWD}
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2820 $as_echo "$AROS_BUILDDIR" >&6; }
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2823 $as_echo_n "checking AROS source in... " >&6; }
2824 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2827 $as_echo "$SRCDIR" >&6; }
2829 # Parse the target field into something useful.
2831 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2832 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2835 # Some debug output, to be removed again.
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2837 $as_echo_n "checking for target system (debug output)... " >&6; }
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2839 $as_echo "$target_os" >&6; }
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2841 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2843 $as_echo "$target_cpu" >&6; }
2845 aros_nominal_width=800
2846 aros_nominal_height=600
2847 aros_nominal_depth=4
2850 default_c_compilers="gcc clang cc"
2852 # Check whether --with-c-compiler was given.
2853 if test "${with_c_compiler+set}" = set; then :
2854 withval=$with_c_compiler; use_c_compiler="$withval"
2859 if test "$use_c_compiler" = ""; then
2860 host_c_compilers="$default_c_compilers"
2862 host_c_compilers="$use_c_compiler"
2865 default_cxx_compilers="g++ clang++ c++"
2867 # Check whether --with-cxx-compiler was given.
2868 if test "${with_cxx_compiler+set}" = set; then :
2869 withval=$with_cxx_compiler; use_cxx_compiler="$withval"
2874 if test "$use_cxx_compiler" = ""; then
2875 host_cxx_compilers="$default_cxx_compilers"
2877 host_cxx_compilers="$use_cxx_compiler"
2881 # The first step is to find the host binaries.
2882 # Check for a compiler.
2883 # Due to a bug in autoconf check for c++ compiler first.
2884 # For mor info see, http://osdir.com/ml/bug-autoconf-gnu/2010-05/msg00001.html.
2886 ac_cpp='$CXXCPP $CPPFLAGS'
2887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2890 if test -z "$CXX"; then
2891 if test -n "$CCC"; then
2894 if test -n "$ac_tool_prefix"; then
2895 for ac_prog in ${host_cxx_compilers}
2897 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2898 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2900 $as_echo_n "checking for $ac_word... " >&6; }
2901 if ${ac_cv_prog_CXX+:} false; then :
2902 $as_echo_n "(cached) " >&6
2904 if test -n "$CXX"; then
2905 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2911 test -z "$as_dir" && as_dir=.
2912 for ac_exec_ext in '' $ac_executable_extensions; do
2913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2914 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2925 if test -n "$CXX"; then
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2927 $as_echo "$CXX" >&6; }
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2930 $as_echo "no" >&6; }
2934 test -n "$CXX" && break
2937 if test -z "$CXX"; then
2939 for ac_prog in ${host_cxx_compilers}
2941 # Extract the first word of "$ac_prog", so it can be a program name with args.
2942 set dummy $ac_prog; ac_word=$2
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2944 $as_echo_n "checking for $ac_word... " >&6; }
2945 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2946 $as_echo_n "(cached) " >&6
2948 if test -n "$ac_ct_CXX"; then
2949 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2955 test -z "$as_dir" && as_dir=.
2956 for ac_exec_ext in '' $ac_executable_extensions; do
2957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2958 ac_cv_prog_ac_ct_CXX="$ac_prog"
2959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2968 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2969 if test -n "$ac_ct_CXX"; then
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2971 $as_echo "$ac_ct_CXX" >&6; }
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2974 $as_echo "no" >&6; }
2978 test -n "$ac_ct_CXX" && break
2981 if test "x$ac_ct_CXX" = x; then
2984 case $cross_compiling:$ac_tool_warned in
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2987 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2988 ac_tool_warned=yes ;;
2996 # Provide some information about the compiler.
2997 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3000 for ac_option in --version -v -V -qversion; do
3001 { { ac_try="$ac_compiler $ac_option >&5"
3003 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3004 *) ac_try_echo
=$ac_try;;
3006 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3007 $as_echo "$ac_try_echo"; } >&5
3008 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3010 if test -s conftest.err
; then
3012 ... rest of stderr output deleted ...
3013 10q' conftest.err
>conftest.er1
3014 cat conftest.er1
>&5
3016 rm -f conftest.er1 conftest.err
3017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3018 test $ac_status = 0; }
3021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3022 /* end confdefs.h. */
3032 ac_clean_files_save
=$ac_clean_files
3033 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3034 # Try to create an executable without -o first, disregard a.out.
3035 # It will help us diagnose broken compilers, and finding out an intuition
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3038 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3039 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3041 # The possible output files:
3042 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3045 for ac_file
in $ac_files
3048 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3049 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3054 if { { ac_try
="$ac_link_default"
3056 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3057 *) ac_try_echo=$ac_try;;
3059 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3060 $as_echo "$ac_try_echo"; } >&5
3061 (eval "$ac_link_default") 2>&5
3063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3064 test $ac_status = 0; }; then :
3065 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3066 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3067 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3068 # so that the user can short-circuit this test for compilers unknown to
3070 for ac_file in $ac_files ''
3072 test -f "$ac_file" || continue
3074 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3077 # We found the default executable, but exeext='' is most
3081 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3083 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3085 # We set ac_cv_exeext here because the later test for it is not
3086 # safe: cross compilers may not add the suffix if given an `-o'
3087 # argument, so we may need to know it at that point already.
3088 # Even if this section looks crufty: it has the advantage of
3095 test "$ac_cv_exeext" = no && ac_cv_exeext=
3100 if test -z "$ac_file"; then :
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3102 $as_echo "no" >&6; }
3103 $as_echo "$as_me: failed program was:" >&5
3104 sed 's
/^
/|
/' conftest.$ac_ext >&5
3106 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3107 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3108 as_fn_error 77 "C++ compiler cannot create executables
3109 See \`config.log
' for more details" "$LINENO" 5; }
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3112 $as_echo "yes" >&6; }
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3115 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3117 $as_echo "$ac_file" >&6; }
3118 ac_exeext=$ac_cv_exeext
3120 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3121 ac_clean_files=$ac_clean_files_save
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3123 $as_echo_n "checking for suffix of executables... " >&6; }
3124 if { { ac_try="$ac_link"
3126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3127 *) ac_try_echo=$ac_try;;
3129 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3130 $as_echo "$ac_try_echo"; } >&5
3131 (eval "$ac_link") 2>&5
3133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3134 test $ac_status = 0; }; then :
3135 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3136 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3137 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3139 for ac_file
in conftest.exe conftest conftest.
*; do
3140 test -f "$ac_file" ||
continue
3142 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3143 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3149 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3151 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3152 See \`config.log' for more details" "$LINENO" 5; }
3154 rm -f conftest conftest
$ac_cv_exeext
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3156 $as_echo "$ac_cv_exeext" >&6; }
3158 rm -f conftest.
$ac_ext
3159 EXEEXT
=$ac_cv_exeext
3161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3162 /* end confdefs.h. */
3167 FILE *f = fopen ("conftest.out", "w");
3168 return ferror (f) || fclose (f) != 0;
3174 ac_clean_files
="$ac_clean_files conftest.out"
3175 # Check that the compiler produces executables we can run. If not, either
3176 # the compiler is broken, or we cross compile.
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3178 $as_echo_n "checking whether we are cross compiling... " >&6; }
3179 if test "$cross_compiling" != yes; then
3180 { { ac_try
="$ac_link"
3182 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3183 *) ac_try_echo=$ac_try;;
3185 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3186 $as_echo "$ac_try_echo"; } >&5
3187 (eval "$ac_link") 2>&5
3189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3190 test $ac_status = 0; }
3191 if { ac_try='./conftest$ac_cv_exeext'
3192 { { case "(($ac_try" in
3193 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3194 *) ac_try_echo
=$ac_try;;
3196 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3197 $as_echo "$ac_try_echo"; } >&5
3198 (eval "$ac_try") 2>&5
3200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3201 test $ac_status = 0; }; }; then
3204 if test "$cross_compiling" = maybe
; then
3207 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3209 as_fn_error $?
"cannot run C++ compiled programs.
3210 If you meant to cross compile, use \`--host'.
3211 See \`config.log' for more details" "$LINENO" 5; }
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3216 $as_echo "$cross_compiling" >&6; }
3218 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3219 ac_clean_files
=$ac_clean_files_save
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3221 $as_echo_n "checking for suffix of object files... " >&6; }
3222 if ${ac_cv_objext+:} false
; then :
3223 $as_echo_n "(cached) " >&6
3225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3226 /* end confdefs.h. */
3236 rm -f conftest.o conftest.obj
3237 if { { ac_try
="$ac_compile"
3239 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3240 *) ac_try_echo=$ac_try;;
3242 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3243 $as_echo "$ac_try_echo"; } >&5
3244 (eval "$ac_compile") 2>&5
3246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3247 test $ac_status = 0; }; then :
3248 for ac_file in conftest.o conftest.obj conftest.*; do
3249 test -f "$ac_file" || continue;
3251 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3252 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3257 $as_echo "$as_me: failed program was:" >&5
3258 sed 's/^/| /' conftest.$ac_ext >&5
3260 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3262 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3263 See \
`config.log' for more details" "$LINENO" 5; }
3265 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3268 $as_echo "$ac_cv_objext" >&6; }
3269 OBJEXT=$ac_cv_objext
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3272 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3273 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3274 $as_echo_n "(cached) " >&6
3276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3277 /* end confdefs.h. */
3290 if ac_fn_cxx_try_compile "$LINENO"; then :
3295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3300 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3301 if test $ac_compiler_gnu = yes; then
3306 ac_test_CXXFLAGS=${CXXFLAGS+set}
3307 ac_save_CXXFLAGS=$CXXFLAGS
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3309 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3310 if ${ac_cv_prog_cxx_g+:} false; then :
3311 $as_echo_n "(cached) " >&6
3313 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3314 ac_cxx_werror_flag=yes
3317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3318 /* end confdefs.h. */
3328 if ac_fn_cxx_try_compile "$LINENO"; then :
3329 ac_cv_prog_cxx_g=yes
3332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3333 /* end confdefs.h. */
3343 if ac_fn_cxx_try_compile "$LINENO"; then :
3346 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3349 /* end confdefs.h. */
3359 if ac_fn_cxx_try_compile "$LINENO"; then :
3360 ac_cv_prog_cxx_g=yes
3362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3367 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3370 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3371 if test "$ac_test_CXXFLAGS" = set; then
3372 CXXFLAGS=$ac_save_CXXFLAGS
3373 elif test $ac_cv_prog_cxx_g = yes; then
3374 if test "$GXX" = yes; then
3380 if test "$GXX" = yes; then
3387 ac_cpp='$CPP $CPPFLAGS'
3388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3393 ac_cpp='$CPP $CPPFLAGS'
3394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3397 if test -n "$ac_tool_prefix"; then
3398 for ac_prog in ${host_c_compilers}
3400 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3401 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3403 $as_echo_n "checking for $ac_word... " >&6; }
3404 if ${ac_cv_prog_CC+:} false; then :
3405 $as_echo_n "(cached) " >&6
3407 if test -n "$CC"; then
3408 ac_cv_prog_CC="$CC" # Let the user override the test.
3410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3414 test -z "$as_dir" && as_dir=.
3415 for ac_exec_ext in '' $ac_executable_extensions; do
3416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3417 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3428 if test -n "$CC"; then
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3430 $as_echo "$CC" >&6; }
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3433 $as_echo "no" >&6; }
3437 test -n "$CC" && break
3440 if test -z "$CC"; then
3442 for ac_prog in ${host_c_compilers}
3444 # Extract the first word of "$ac_prog", so it can be a program name with args.
3445 set dummy $ac_prog; ac_word=$2
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3447 $as_echo_n "checking for $ac_word... " >&6; }
3448 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3449 $as_echo_n "(cached) " >&6
3451 if test -n "$ac_ct_CC"; then
3452 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3458 test -z "$as_dir" && as_dir=.
3459 for ac_exec_ext in '' $ac_executable_extensions; do
3460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3461 ac_cv_prog_ac_ct_CC="$ac_prog"
3462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3471 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3472 if test -n "$ac_ct_CC"; then
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3474 $as_echo "$ac_ct_CC" >&6; }
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3477 $as_echo "no" >&6; }
3481 test -n "$ac_ct_CC" && break
3484 if test "x$ac_ct_CC" = x; then
3487 case $cross_compiling:$ac_tool_warned in
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3491 ac_tool_warned=yes ;;
3498 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3499 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3500 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3501 See \
`config.log' for more details" "$LINENO" 5; }
3503 # Provide some information about the compiler.
3504 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3507 for ac_option in --version -v -V -qversion; do
3508 { { ac_try="$ac_compiler $ac_option >&5"
3510 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3511 *) ac_try_echo
=$ac_try;;
3513 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3514 $as_echo "$ac_try_echo"; } >&5
3515 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3517 if test -s conftest.err
; then
3519 ... rest of stderr output deleted ...
3520 10q' conftest.err
>conftest.er1
3521 cat conftest.er1
>&5
3523 rm -f conftest.er1 conftest.err
3524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3525 test $ac_status = 0; }
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3529 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3530 if ${ac_cv_c_compiler_gnu+:} false
; then :
3531 $as_echo_n "(cached) " >&6
3533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3534 /* end confdefs.h. */
3547 if ac_fn_c_try_compile
"$LINENO"; then :
3552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3553 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3557 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3558 if test $ac_compiler_gnu = yes; then
3563 ac_test_CFLAGS
=${CFLAGS+set}
3564 ac_save_CFLAGS
=$CFLAGS
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3566 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3567 if ${ac_cv_prog_cc_g+:} false
; then :
3568 $as_echo_n "(cached) " >&6
3570 ac_save_c_werror_flag
=$ac_c_werror_flag
3571 ac_c_werror_flag
=yes
3574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3575 /* end confdefs.h. */
3585 if ac_fn_c_try_compile
"$LINENO"; then :
3589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3590 /* end confdefs.h. */
3600 if ac_fn_c_try_compile
"$LINENO"; then :
3603 ac_c_werror_flag
=$ac_save_c_werror_flag
3605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3606 /* end confdefs.h. */
3616 if ac_fn_c_try_compile
"$LINENO"; then :
3619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3623 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3624 ac_c_werror_flag
=$ac_save_c_werror_flag
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3627 $as_echo "$ac_cv_prog_cc_g" >&6; }
3628 if test "$ac_test_CFLAGS" = set; then
3629 CFLAGS
=$ac_save_CFLAGS
3630 elif test $ac_cv_prog_cc_g = yes; then
3631 if test "$GCC" = yes; then
3637 if test "$GCC" = yes; then
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3644 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3645 if ${ac_cv_prog_cc_c89+:} false
; then :
3646 $as_echo_n "(cached) " >&6
3648 ac_cv_prog_cc_c89
=no
3650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3651 /* end confdefs.h. */
3655 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3656 struct buf { int x; };
3657 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3658 static char *e (p, i)
3664 static char *f (char * (*g) (char **, int), char **p, ...)
3669 s = g (p, va_arg (v,int));
3674 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3675 function prototypes and stuff, but not '\xHH' hex character constants.
3676 These don't provoke an error unfortunately, instead are silently treated
3677 as 'x'. The following induces an error, until -std is added to get
3678 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3679 array size at least. It's necessary to write '\x00'==0 to get something
3680 that's true only with -std. */
3681 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3683 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3684 inside strings and character constants. */
3686 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3688 int test (int i, double x);
3689 struct s1 {int (*f) (int a);};
3690 struct s2 {int (*f) (double a);};
3691 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3697 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3702 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3703 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3705 CC
="$ac_save_CC $ac_arg"
3706 if ac_fn_c_try_compile
"$LINENO"; then :
3707 ac_cv_prog_cc_c89
=$ac_arg
3709 rm -f core conftest.err conftest.
$ac_objext
3710 test "x$ac_cv_prog_cc_c89" != "xno" && break
3712 rm -f conftest.
$ac_ext
3717 case "x$ac_cv_prog_cc_c89" in
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3720 $as_echo "none needed" >&6; } ;;
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3723 $as_echo "unsupported" >&6; } ;;
3725 CC
="$CC $ac_cv_prog_cc_c89"
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3727 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3729 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3734 ac_cpp
='$CPP $CPPFLAGS'
3735 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3736 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3737 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3739 aros_host_def_cc
="$CC"
3740 case $ac_cv_prog_cc_stdc in #(
3742 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3745 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3746 if ${ac_cv_prog_cc_c99+:} false
; then :
3747 $as_echo_n "(cached) " >&6
3749 ac_cv_prog_cc_c99
=no
3751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3752 /* end confdefs.h. */
3754 #include <stdbool.h>
3759 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3760 #define debug(...) fprintf (stderr, __VA_ARGS__)
3761 #define showlist(...) puts (#__VA_ARGS__)
3762 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3764 test_varargs_macros (void)
3769 debug ("X = %d\n", x);
3770 showlist (The first, second, and third items.);
3771 report (x>y, "x is %d but y is %d", x, y);
3774 // Check long long types.
3775 #define BIG64 18446744073709551615ull
3776 #define BIG32 4294967295ul
3777 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3779 your preprocessor is broken;
3783 your preprocessor is broken;
3785 static long long int bignum = -9223372036854775807LL;
3786 static unsigned long long int ubignum = BIG64;
3788 struct incomplete_array
3796 const wchar_t *name;
3800 typedef const char *ccp;
3803 test_restrict (ccp restrict text)
3805 // See if C++-style comments work.
3806 // Iterate through items via the restricted pointer.
3807 // Also check for declarations in for loops.
3808 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3813 // Check varargs and va_copy.
3815 test_varargs (const char *format, ...)
3818 va_start (args, format);
3820 va_copy (args_copy, args);
3831 str = va_arg (args_copy, const char *);
3834 number = va_arg (args_copy, int);
3837 fnumber = va_arg (args_copy, double);
3852 _Bool success = false;
3855 if (test_restrict ("String literal") == 0)
3857 char *restrict newvar = "Another string";
3860 test_varargs ("s, d' f .", "string", 65, 34.234);
3861 test_varargs_macros ();
3863 // Check flexible array members.
3864 struct incomplete_array *ia =
3865 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3867 for (int i = 0; i < ia->datasize; ++i)
3868 ia->data[i] = i * 1.234;
3870 // Check named initializers.
3871 struct named_init ni = {
3873 .name = L"Test wide string",
3874 .average = 543.34343,
3879 int dynamic_array[ni.number];
3880 dynamic_array[ni.number - 1] = 543;
3882 // work around unused variable warnings
3883 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3884 || dynamic_array[ni.number - 1] != 543);
3890 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
3892 CC
="$ac_save_CC $ac_arg"
3893 if ac_fn_c_try_compile
"$LINENO"; then :
3894 ac_cv_prog_cc_c99
=$ac_arg
3896 rm -f core conftest.err conftest.
$ac_objext
3897 test "x$ac_cv_prog_cc_c99" != "xno" && break
3899 rm -f conftest.
$ac_ext
3904 case "x$ac_cv_prog_cc_c99" in
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3907 $as_echo "none needed" >&6; } ;;
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3910 $as_echo "unsupported" >&6; } ;;
3912 CC
="$CC $ac_cv_prog_cc_c99"
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3914 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3916 if test "x$ac_cv_prog_cc_c99" != xno
; then :
3917 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3920 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3921 if ${ac_cv_prog_cc_c89+:} false
; then :
3922 $as_echo_n "(cached) " >&6
3924 ac_cv_prog_cc_c89
=no
3926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3927 /* end confdefs.h. */
3931 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3932 struct buf { int x; };
3933 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3934 static char *e (p, i)
3940 static char *f (char * (*g) (char **, int), char **p, ...)
3945 s = g (p, va_arg (v,int));
3950 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3951 function prototypes and stuff, but not '\xHH' hex character constants.
3952 These don't provoke an error unfortunately, instead are silently treated
3953 as 'x'. The following induces an error, until -std is added to get
3954 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3955 array size at least. It's necessary to write '\x00'==0 to get something
3956 that's true only with -std. */
3957 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3959 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3960 inside strings and character constants. */
3962 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3964 int test (int i, double x);
3965 struct s1 {int (*f) (int a);};
3966 struct s2 {int (*f) (double a);};
3967 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3973 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3978 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3979 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3981 CC
="$ac_save_CC $ac_arg"
3982 if ac_fn_c_try_compile
"$LINENO"; then :
3983 ac_cv_prog_cc_c89
=$ac_arg
3985 rm -f core conftest.err conftest.
$ac_objext
3986 test "x$ac_cv_prog_cc_c89" != "xno" && break
3988 rm -f conftest.
$ac_ext
3993 case "x$ac_cv_prog_cc_c89" in
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3996 $as_echo "none needed" >&6; } ;;
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3999 $as_echo "unsupported" >&6; } ;;
4001 CC
="$CC $ac_cv_prog_cc_c89"
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4003 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4005 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4006 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4008 ac_cv_prog_cc_stdc
=no
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4015 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4016 if ${ac_cv_prog_cc_stdc+:} false
; then :
4017 $as_echo_n "(cached) " >&6
4020 case $ac_cv_prog_cc_stdc in #(
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4023 $as_echo "unsupported" >&6; } ;; #(
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4026 $as_echo "none needed" >&6; } ;; #(
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4029 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4033 ac_cpp
='$CPP $CPPFLAGS'
4034 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4035 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4036 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4038 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4039 # On Suns, sometimes $CPP names a directory.
4040 if test -n "$CPP" && test -d "$CPP"; then
4043 if test -z "$CPP"; then
4044 if ${ac_cv_prog_CPP+:} false
; then :
4045 $as_echo_n "(cached) " >&6
4047 # Double quotes because CPP needs to be expanded
4048 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4051 for ac_c_preproc_warn_flag
in '' yes
4053 # Use a header file that comes with gcc, so configuring glibc
4054 # with a fresh cross-compiler works.
4055 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4056 # <limits.h> exists even on freestanding compilers.
4057 # On the NeXT, cc -E runs the code through the compiler's parser,
4058 # not just through cpp. "Syntax error" is here to catch this case.
4059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4060 /* end confdefs.h. */
4062 # include <limits.h>
4064 # include <assert.h>
4068 if ac_fn_c_try_cpp
"$LINENO"; then :
4071 # Broken: fails on valid input.
4074 rm -f conftest.err conftest.i conftest.
$ac_ext
4076 # OK, works on sane cases. Now check whether nonexistent headers
4077 # can be detected and how.
4078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4079 /* end confdefs.h. */
4080 #include <ac_nonexistent.h>
4082 if ac_fn_c_try_cpp
"$LINENO"; then :
4083 # Broken: success on invalid input.
4086 # Passes both tests.
4090 rm -f conftest.err conftest.i conftest.
$ac_ext
4093 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4094 rm -f conftest.i conftest.err conftest.
$ac_ext
4095 if $ac_preproc_ok; then :
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4108 $as_echo "$CPP" >&6; }
4110 for ac_c_preproc_warn_flag
in '' yes
4112 # Use a header file that comes with gcc, so configuring glibc
4113 # with a fresh cross-compiler works.
4114 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4115 # <limits.h> exists even on freestanding compilers.
4116 # On the NeXT, cc -E runs the code through the compiler's parser,
4117 # not just through cpp. "Syntax error" is here to catch this case.
4118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4119 /* end confdefs.h. */
4121 # include <limits.h>
4123 # include <assert.h>
4127 if ac_fn_c_try_cpp
"$LINENO"; then :
4130 # Broken: fails on valid input.
4133 rm -f conftest.err conftest.i conftest.
$ac_ext
4135 # OK, works on sane cases. Now check whether nonexistent headers
4136 # can be detected and how.
4137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4138 /* end confdefs.h. */
4139 #include <ac_nonexistent.h>
4141 if ac_fn_c_try_cpp
"$LINENO"; then :
4142 # Broken: success on invalid input.
4145 # Passes both tests.
4149 rm -f conftest.err conftest.i conftest.
$ac_ext
4152 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4153 rm -f conftest.i conftest.err conftest.
$ac_ext
4154 if $ac_preproc_ok; then :
4157 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4159 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4160 See \`config.log' for more details" "$LINENO" 5; }
4164 ac_cpp
='$CPP $CPPFLAGS'
4165 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4166 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4167 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4170 # Check for a compatible awk
4171 for ac_prog
in gawk nawk
4173 # Extract the first word of "$ac_prog", so it can be a program name with args.
4174 set dummy
$ac_prog; ac_word
=$2
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4176 $as_echo_n "checking for $ac_word... " >&6; }
4177 if ${ac_cv_prog_AWK+:} false
; then :
4178 $as_echo_n "(cached) " >&6
4180 if test -n "$AWK"; then
4181 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4187 test -z "$as_dir" && as_dir
=.
4188 for ac_exec_ext
in '' $ac_executable_extensions; do
4189 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4190 ac_cv_prog_AWK
="$ac_prog"
4191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4201 if test -n "$AWK"; then
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4203 $as_echo "$AWK" >&6; }
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4206 $as_echo "no" >&6; }
4210 test -n "$AWK" && break
4214 if test "$AWK" = ""; then
4217 if test "$AWK" = "no"; then
4220 if test "$req_avail" = "no"; then
4221 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4223 # Extract the first word of "mmake", so it can be a program name with args.
4224 set dummy mmake
; ac_word
=$2
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4226 $as_echo_n "checking for $ac_word... " >&6; }
4227 if ${ac_cv_prog_MMAKE+:} false
; then :
4228 $as_echo_n "(cached) " >&6
4230 if test -n "$MMAKE"; then
4231 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4237 test -z "$as_dir" && as_dir
=.
4238 for ac_exec_ext
in '' $ac_executable_extensions; do
4239 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4240 ac_cv_prog_MMAKE
="mmake "
4241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4250 MMAKE
=$ac_cv_prog_MMAKE
4251 if test -n "$MMAKE"; then
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4253 $as_echo "$MMAKE" >&6; }
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4256 $as_echo "no" >&6; }
4261 # Perform some default variable assignments. Note all of these will be
4262 # Regenerated from the script, so there is no need to cache them.
4264 aros_build_host
=$host
4265 aros_host_cpp
="$CPP"
4267 aros_host_cxx
="$CXX"
4268 if test "$GCC" = "yes"; then
4269 aros_gcc_ld
=`$CC -print-prog-name=ld`
4270 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4271 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4273 $as_echo_n "checking for $ac_word... " >&6; }
4274 if ${ac_cv_path_aros_host_ld+:} false
; then :
4275 $as_echo_n "(cached) " >&6
4277 case $aros_host_ld in
4279 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4283 for as_dir
in `dirname $aros_gcc_ld`
4286 test -z "$as_dir" && as_dir
=.
4287 for ac_exec_ext
in '' $ac_executable_extensions; do
4288 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4289 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4300 aros_host_ld
=$ac_cv_path_aros_host_ld
4301 if test -n "$aros_host_ld"; then
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4303 $as_echo "$aros_host_ld" >&6; }
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4306 $as_echo "no" >&6; }
4311 if test "$aros_host_ld" = ""; then
4312 # Extract the first word of "ld", so it can be a program name with args.
4313 set dummy ld
; ac_word
=$2
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4315 $as_echo_n "checking for $ac_word... " >&6; }
4316 if ${ac_cv_path_aros_host_ld+:} false
; then :
4317 $as_echo_n "(cached) " >&6
4319 case $aros_host_ld in
4321 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4328 test -z "$as_dir" && as_dir
=.
4329 for ac_exec_ext
in '' $ac_executable_extensions; do
4330 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4331 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4342 aros_host_ld
=$ac_cv_path_aros_host_ld
4343 if test -n "$aros_host_ld"; then
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4345 $as_echo "$aros_host_ld" >&6; }
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4348 $as_echo "no" >&6; }
4354 if test "$aros_host_ld" = ""; then
4357 if test "$aros_host_ld" = "no"; then
4360 if test "$req_avail" = "no"; then
4361 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4363 aros_host_make
="make"
4364 aros_host_cflags
="$CFLAGS"
4365 aros_host_cxxflags
="$CXXFLAGS"
4366 aros_host_ldflags
="$LDFLAGS"
4367 aros_host_debug
="-g -O0"
4368 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4369 aros_host_mkargs
="--no-print-directory"
4370 aros_host_exe_suffix
="$EXEEXT"
4371 aros_host_lib_suffix
=""
4373 # Ignore all compliance, AROS ROMs = 0
4374 # KickStart v1.0 = 30
4375 # KickStart v1.3 = 34
4376 # KickStart v2.0 = 37
4377 # KickStart v3.0 = 39
4378 # KickStart v3.1 = 40
4380 aros_amigaos_compliance
=0
4382 for ac_prog
in aclocal aclocal19 aclocal-1.9
4384 # Extract the first word of "$ac_prog", so it can be a program name with args.
4385 set dummy
$ac_prog; ac_word
=$2
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4387 $as_echo_n "checking for $ac_word... " >&6; }
4388 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4389 $as_echo_n "(cached) " >&6
4391 if test -n "$aros_host_aclocal"; then
4392 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4398 test -z "$as_dir" && as_dir
=.
4399 for ac_exec_ext
in '' $ac_executable_extensions; do
4400 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4401 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4411 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4412 if test -n "$aros_host_aclocal"; then
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4414 $as_echo "$aros_host_aclocal" >&6; }
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4417 $as_echo "no" >&6; }
4421 test -n "$aros_host_aclocal" && break
4424 for ac_prog
in autoconf autoconf259 autoconf253
4426 # Extract the first word of "$ac_prog", so it can be a program name with args.
4427 set dummy
$ac_prog; ac_word
=$2
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4429 $as_echo_n "checking for $ac_word... " >&6; }
4430 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4431 $as_echo_n "(cached) " >&6
4433 if test -n "$aros_host_autoconf"; then
4434 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4440 test -z "$as_dir" && as_dir
=.
4441 for ac_exec_ext
in '' $ac_executable_extensions; do
4442 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4443 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4453 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4454 if test -n "$aros_host_autoconf"; then
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4456 $as_echo "$aros_host_autoconf" >&6; }
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4459 $as_echo "no" >&6; }
4463 test -n "$aros_host_autoconf" && break
4466 for ac_prog
in autoheader autoheader259 autoheader253
4468 # Extract the first word of "$ac_prog", so it can be a program name with args.
4469 set dummy
$ac_prog; ac_word
=$2
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4471 $as_echo_n "checking for $ac_word... " >&6; }
4472 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4473 $as_echo_n "(cached) " >&6
4475 if test -n "$aros_host_autoheader"; then
4476 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4482 test -z "$as_dir" && as_dir
=.
4483 for ac_exec_ext
in '' $ac_executable_extensions; do
4484 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4485 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4495 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4496 if test -n "$aros_host_autoheader"; then
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4498 $as_echo "$aros_host_autoheader" >&6; }
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4501 $as_echo "no" >&6; }
4505 test -n "$aros_host_autoheader" && break
4508 for ac_prog
in automake automake19 automake-1.9
4510 # Extract the first word of "$ac_prog", so it can be a program name with args.
4511 set dummy
$ac_prog; ac_word
=$2
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4513 $as_echo_n "checking for $ac_word... " >&6; }
4514 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4515 $as_echo_n "(cached) " >&6
4517 if test -n "$aros_host_automake"; then
4518 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4524 test -z "$as_dir" && as_dir
=.
4525 for ac_exec_ext
in '' $ac_executable_extensions; do
4526 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4527 ac_cv_prog_aros_host_automake
="$ac_prog"
4528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4537 aros_host_automake
=$ac_cv_prog_aros_host_automake
4538 if test -n "$aros_host_automake"; then
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4540 $as_echo "$aros_host_automake" >&6; }
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4543 $as_echo "no" >&6; }
4547 test -n "$aros_host_automake" && break
4552 if test "$aros_host_aclocal" = ""; then
4555 if test "$aros_host_aclocal" = "no"; then
4558 if test "$req_avail" = "no"; then
4559 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4562 if test "$aros_host_automake" = ""; then
4565 if test "$aros_host_automake" = "no"; then
4568 if test "$req_avail" = "no"; then
4569 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4572 case "$aros_host_cc" in
4574 aros_host_cc_pipe
=""
4577 aros_host_cc_pipe
="-pipe"
4580 aros_host_cc_pipe
=""
4583 aros_host_cc_pipe
=""
4587 aros_kernel_cc_includes
=""
4588 aros_target_cc_includes
=""
4591 # ----------------------------------------------------------------------------------------
4592 # Host-specific defaults
4594 # This is the main host configuration section. It is where the host
4595 # can change the values of any variables it needs to change. We do
4596 # not look at anything that compiles to the target yet, we'll get
4601 aros_host_arch
="aros"
4602 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4605 aros_host_cpu
="i386"
4608 aros_host_cpu
="x86_64"
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4615 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4616 aros_host_cpu
="$host_cpu"
4622 aros_host_arch
="linux"
4623 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4624 android_build_os
="linux-x86"
4625 android_tool
="android"
4626 default_android_sdk
="/opt/android-sdk-linux_x86"
4629 aros_host_cpu
="i386"
4632 aros_host_cpu
="x86_64"
4635 aros_host_cpu
="m68k"
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4645 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4646 aros_host_cpu
="$host_cpu"
4652 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe -I/usr/local/include"
4653 aros_host_make
="gmake"
4654 aros_host_arch
="freebsd"
4655 aros_host_cpu
="i386"
4657 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4661 aros_object_format
="elf_i386"
4665 aros_object_format
="elf_i386_fbsd"
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/include/stddef.h" >&5
4673 $as_echo_n "checking for /usr/include/stddef.h... " >&6; }
4674 if ${ac_cv_file__usr_include_stddef_h+:} false
; then :
4675 $as_echo_n "(cached) " >&6
4677 test "$cross_compiling" = yes &&
4678 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
4679 if test -r "/usr/include/stddef.h"; then
4680 ac_cv_file__usr_include_stddef_h
=yes
4682 ac_cv_file__usr_include_stddef_h
=no
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_include_stddef_h" >&5
4686 $as_echo "$ac_cv_file__usr_include_stddef_h" >&6; }
4687 if test "x$ac_cv_file__usr_include_stddef_h" = xyes
; then :
4690 as_fn_error $?
"XCode incorrectly configured!
4691 please run 'xcode-select --install' before
4692 re-running configure" "$LINENO" 5
4696 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4697 aros_host_arch
="darwin"
4699 if [ -z ${SED+x} ]; then SED
="gsed"; fi
4700 android_build_os
="darwin-x86"
4701 android_tool
="android"
4702 default_android_sdk
="/android-sdk-mac_x86"
4705 aros_host_cpu
="i386"
4708 aros_host_cpu
="x86_64"
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4715 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4716 aros_host_cpu
="$host_cpu"
4720 aros_host_ldflags
="$aros_host_ldflags -liconv"
4725 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4726 aros_host_make
="gmake"
4727 aros_host_arch
="dragonfly"
4730 aros_host_cpu
="i386"
4733 aros_host_cpu
="x86_64"
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4737 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4738 aros_host_cpu
="$host_cpu"
4744 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4745 aros_host_make
="gmake"
4746 aros_host_arch
="netbsd"
4749 aros_host_cpu
="i386"
4752 aros_host_cpu
="m68k"
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4756 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4757 aros_host_cpu
="$host_cpu"
4760 aros_host_lib_suffix
=".0.0"
4764 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4765 aros_host_make
="gmake"
4766 aros_host_arch
="openbsd"
4769 aros_host_cpu
="i386"
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4773 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4774 aros_host_cpu
="$host_cpu"
4780 aros_host_arch
="solaris"
4781 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4784 aros_host_cpu
="i386"
4787 aros_host_cpu
="sparc"
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4791 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4792 aros_host_cpu
="$host_cpu"
4798 aros_host_arch
="morphos"
4804 aros_host_arch
="amiga"
4810 TOUCH
="/gg/bin/touch"
4813 aros_host_cpu
="m68k"
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4820 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4821 aros_host_cpu
="$host_cpu"
4827 aros_host_arch
="cygwin"
4828 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4830 android_build_os
="windows"
4831 android_tool
="android.bat"
4832 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4836 aros_host_cpu
="i386"
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4840 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4841 aros_host_cpu
="$host_cpu"
4847 aros_host_arch
="mingw32"
4848 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4850 android_build_os
="windows"
4851 android_tool
="android.bat"
4852 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4854 libpng_libextra
="-lws2_32"
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4860 $as_echo_n "checking for Windows native gcc target... " >&6; }
4861 host_cpu
=`gcc -dumpmachine`
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4863 $as_echo "$host_cpu" >&6; }
4870 aros_host_cpu
="i386"
4874 aros_host_cpu
="i386"
4878 aros_host_cpu
="x86_64"
4879 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4884 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4885 aros_host_cpu
="$host_cpu"
4890 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4894 # Extract the first word of "ar", so it can be a program name with args.
4895 set dummy
ar; ac_word
=$2
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4897 $as_echo_n "checking for $ac_word... " >&6; }
4898 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4899 $as_echo_n "(cached) " >&6
4901 if test -n "$aros_host_ar"; then
4902 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4908 test -z "$as_dir" && as_dir
=.
4909 for ac_exec_ext
in '' $ac_executable_extensions; do
4910 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4911 ac_cv_prog_aros_host_ar
="ar cr"
4912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4921 aros_host_ar
=$ac_cv_prog_aros_host_ar
4922 if test -n "$aros_host_ar"; then
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4924 $as_echo "$aros_host_ar" >&6; }
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4927 $as_echo "no" >&6; }
4932 if test "$aros_host_ar" = ""; then
4935 if test "$aros_host_ar" = "no"; then
4938 if test "$req_avail" = "no"; then
4939 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4941 # Extract the first word of "ranlib", so it can be a program name with args.
4942 set dummy ranlib
; ac_word
=$2
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4944 $as_echo_n "checking for $ac_word... " >&6; }
4945 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4946 $as_echo_n "(cached) " >&6
4948 if test -n "$aros_host_ranlib"; then
4949 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4955 test -z "$as_dir" && as_dir
=.
4956 for ac_exec_ext
in '' $ac_executable_extensions; do
4957 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4958 ac_cv_prog_aros_host_ranlib
="ranlib "
4959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4968 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4969 if test -n "$aros_host_ranlib"; then
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4971 $as_echo "$aros_host_ranlib" >&6; }
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4974 $as_echo "no" >&6; }
4979 if test "$aros_host_ranlib" = ""; then
4982 if test "$aros_host_ranlib" = "no"; then
4985 if test "$req_avail" = "no"; then
4986 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4988 # Extract the first word of "strip", so it can be a program name with args.
4989 set dummy strip
; ac_word
=$2
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4991 $as_echo_n "checking for $ac_word... " >&6; }
4992 if ${ac_cv_prog_aros_host_strip+:} false
; then :
4993 $as_echo_n "(cached) " >&6
4995 if test -n "$aros_host_strip"; then
4996 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5002 test -z "$as_dir" && as_dir
=.
5003 for ac_exec_ext
in '' $ac_executable_extensions; do
5004 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5005 ac_cv_prog_aros_host_strip
="strip "
5006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5015 aros_host_strip
=$ac_cv_prog_aros_host_strip
5016 if test -n "$aros_host_strip"; then
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5018 $as_echo "$aros_host_strip" >&6; }
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5021 $as_echo "no" >&6; }
5026 if test "$aros_host_strip" = ""; then
5029 if test "$aros_host_strip" = "no"; then
5032 if test "$req_avail" = "no"; then
5033 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5036 # Extract the first word of "rm", so it can be a program name with args.
5037 set dummy
rm; ac_word
=$2
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5039 $as_echo_n "checking for $ac_word... " >&6; }
5040 if ${ac_cv_prog_RM+:} false
; then :
5041 $as_echo_n "(cached) " >&6
5043 if test -n "$RM"; then
5044 ac_cv_prog_RM
="$RM" # Let the user override the test.
5046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5050 test -z "$as_dir" && as_dir
=.
5051 for ac_exec_ext
in '' $ac_executable_extensions; do
5052 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5053 ac_cv_prog_RM
="rm -rf"
5054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5064 if test -n "$RM"; then
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5066 $as_echo "$RM" >&6; }
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 $as_echo "no" >&6; }
5074 if test "$RM" = ""; then
5077 if test "$RM" = "no"; then
5080 if test "$req_avail" = "no"; then
5081 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5083 # Extract the first word of "cp", so it can be a program name with args.
5084 set dummy
cp; ac_word
=$2
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5086 $as_echo_n "checking for $ac_word... " >&6; }
5087 if ${ac_cv_prog_CP+:} false
; then :
5088 $as_echo_n "(cached) " >&6
5090 if test -n "$CP"; then
5091 ac_cv_prog_CP
="$CP" # Let the user override the test.
5093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5097 test -z "$as_dir" && as_dir
=.
5098 for ac_exec_ext
in '' $ac_executable_extensions; do
5099 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5111 if test -n "$CP"; then
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5113 $as_echo "$CP" >&6; }
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5116 $as_echo "no" >&6; }
5121 if test "$CP" = ""; then
5124 if test "$CP" = "no"; then
5127 if test "$req_avail" = "no"; then
5128 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5130 # Extract the first word of "mv", so it can be a program name with args.
5131 set dummy
mv; ac_word
=$2
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5133 $as_echo_n "checking for $ac_word... " >&6; }
5134 if ${ac_cv_prog_MV+:} false
; then :
5135 $as_echo_n "(cached) " >&6
5137 if test -n "$MV"; then
5138 ac_cv_prog_MV
="$MV" # Let the user override the test.
5140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5144 test -z "$as_dir" && as_dir
=.
5145 for ac_exec_ext
in '' $ac_executable_extensions; do
5146 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5158 if test -n "$MV"; then
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5160 $as_echo "$MV" >&6; }
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5163 $as_echo "no" >&6; }
5168 if test "$MV" = ""; then
5171 if test "$MV" = "no"; then
5174 if test "$req_avail" = "no"; then
5175 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5177 # Extract the first word of "echo", so it can be a program name with args.
5178 set dummy
echo; ac_word
=$2
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5180 $as_echo_n "checking for $ac_word... " >&6; }
5181 if ${ac_cv_prog_ECHO+:} false
; then :
5182 $as_echo_n "(cached) " >&6
5184 if test -n "$ECHO"; then
5185 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5191 test -z "$as_dir" && as_dir
=.
5192 for ac_exec_ext
in '' $ac_executable_extensions; do
5193 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5194 ac_cv_prog_ECHO
="echo "
5195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5204 ECHO
=$ac_cv_prog_ECHO
5205 if test -n "$ECHO"; then
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5207 $as_echo "$ECHO" >&6; }
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5210 $as_echo "no" >&6; }
5215 if test "$ECHO" = ""; then
5218 if test "$ECHO" = "no"; then
5221 if test "$req_avail" = "no"; then
5222 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5224 # Extract the first word of "mkdir", so it can be a program name with args.
5225 set dummy mkdir
; ac_word
=$2
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if ${ac_cv_prog_MKDIR+:} false
; then :
5229 $as_echo_n "(cached) " >&6
5231 if test -n "$MKDIR"; then
5232 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5238 test -z "$as_dir" && as_dir
=.
5239 for ac_exec_ext
in '' $ac_executable_extensions; do
5240 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5241 ac_cv_prog_MKDIR
="mkdir -p"
5242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5251 MKDIR
=$ac_cv_prog_MKDIR
5252 if test -n "$MKDIR"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5254 $as_echo "$MKDIR" >&6; }
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5262 if test "$MKDIR" = ""; then
5265 if test "$MKDIR" = "no"; then
5268 if test "$req_avail" = "no"; then
5269 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5271 # Extract the first word of "touch", so it can be a program name with args.
5272 set dummy
touch; ac_word
=$2
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5274 $as_echo_n "checking for $ac_word... " >&6; }
5275 if ${ac_cv_prog_TOUCH+:} false
; then :
5276 $as_echo_n "(cached) " >&6
5278 if test -n "$TOUCH"; then
5279 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5285 test -z "$as_dir" && as_dir
=.
5286 for ac_exec_ext
in '' $ac_executable_extensions; do
5287 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5288 ac_cv_prog_TOUCH
="touch "
5289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5298 TOUCH
=$ac_cv_prog_TOUCH
5299 if test -n "$TOUCH"; then
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5301 $as_echo "$TOUCH" >&6; }
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5304 $as_echo "no" >&6; }
5309 if test "$TOUCH" = ""; then
5312 if test "$TOUCH" = "no"; then
5315 if test "$req_avail" = "no"; then
5316 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5318 # Extract the first word of "sort", so it can be a program name with args.
5319 set dummy
sort; ac_word
=$2
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5321 $as_echo_n "checking for $ac_word... " >&6; }
5322 if ${ac_cv_prog_SORT+:} false
; then :
5323 $as_echo_n "(cached) " >&6
5325 if test -n "$SORT"; then
5326 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5332 test -z "$as_dir" && as_dir
=.
5333 for ac_exec_ext
in '' $ac_executable_extensions; do
5334 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5335 ac_cv_prog_SORT
="sort "
5336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5345 SORT
=$ac_cv_prog_SORT
5346 if test -n "$SORT"; then
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5348 $as_echo "$SORT" >&6; }
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5351 $as_echo "no" >&6; }
5356 if test "$SORT" = ""; then
5359 if test "$SORT" = "no"; then
5362 if test "$req_avail" = "no"; then
5363 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5365 # Extract the first word of "uniq", so it can be a program name with args.
5366 set dummy
uniq; ac_word
=$2
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5368 $as_echo_n "checking for $ac_word... " >&6; }
5369 if ${ac_cv_prog_UNIQ+:} false
; then :
5370 $as_echo_n "(cached) " >&6
5372 if test -n "$UNIQ"; then
5373 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5379 test -z "$as_dir" && as_dir
=.
5380 for ac_exec_ext
in '' $ac_executable_extensions; do
5381 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5382 ac_cv_prog_UNIQ
="uniq "
5383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5392 UNIQ
=$ac_cv_prog_UNIQ
5393 if test -n "$UNIQ"; then
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5395 $as_echo "$UNIQ" >&6; }
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5398 $as_echo "no" >&6; }
5403 if test "$UNIQ" = ""; then
5406 if test "$UNIQ" = "no"; then
5409 if test "$req_avail" = "no"; then
5410 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5412 # Extract the first word of "true", so it can be a program name with args.
5413 set dummy true
; ac_word
=$2
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5415 $as_echo_n "checking for $ac_word... " >&6; }
5416 if ${ac_cv_prog_NOP+:} false
; then :
5417 $as_echo_n "(cached) " >&6
5419 if test -n "$NOP"; then
5420 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5426 test -z "$as_dir" && as_dir
=.
5427 for ac_exec_ext
in '' $ac_executable_extensions; do
5428 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5429 ac_cv_prog_NOP
="true "
5430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5440 if test -n "$NOP"; then
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5442 $as_echo "$NOP" >&6; }
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5445 $as_echo "no" >&6; }
5450 if test "$NOP" = ""; then
5453 if test "$NOP" = "no"; then
5456 if test "$req_avail" = "no"; then
5457 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5459 # Extract the first word of "cat", so it can be a program name with args.
5460 set dummy
cat; ac_word
=$2
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5462 $as_echo_n "checking for $ac_word... " >&6; }
5463 if ${ac_cv_prog_CAT+:} false
; then :
5464 $as_echo_n "(cached) " >&6
5466 if test -n "$CAT"; then
5467 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5473 test -z "$as_dir" && as_dir
=.
5474 for ac_exec_ext
in '' $ac_executable_extensions; do
5475 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5476 ac_cv_prog_CAT
="cat "
5477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5487 if test -n "$CAT"; then
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5489 $as_echo "$CAT" >&6; }
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5492 $as_echo "no" >&6; }
5497 if test "$CAT" = ""; then
5500 if test "$CAT" = "no"; then
5503 if test "$req_avail" = "no"; then
5504 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5506 # Extract the first word of "bison", so it can be a program name with args.
5507 set dummy bison
; ac_word
=$2
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5509 $as_echo_n "checking for $ac_word... " >&6; }
5510 if ${ac_cv_prog_BISON+:} false
; then :
5511 $as_echo_n "(cached) " >&6
5513 if test -n "$BISON"; then
5514 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5520 test -z "$as_dir" && as_dir
=.
5521 for ac_exec_ext
in '' $ac_executable_extensions; do
5522 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5523 ac_cv_prog_BISON
="bison "
5524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5533 BISON
=$ac_cv_prog_BISON
5534 if test -n "$BISON"; then
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5536 $as_echo "$BISON" >&6; }
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5539 $as_echo "no" >&6; }
5544 if test "$BISON" = ""; then
5547 if test "$BISON" = "no"; then
5550 if test "$req_avail" = "no"; then
5551 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5553 # Extract the first word of "flex", so it can be a program name with args.
5554 set dummy flex
; ac_word
=$2
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5556 $as_echo_n "checking for $ac_word... " >&6; }
5557 if ${ac_cv_prog_FLEX+:} false
; then :
5558 $as_echo_n "(cached) " >&6
5560 if test -n "$FLEX"; then
5561 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5567 test -z "$as_dir" && as_dir
=.
5568 for ac_exec_ext
in '' $ac_executable_extensions; do
5569 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5570 ac_cv_prog_FLEX
="flex "
5571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5580 FLEX
=$ac_cv_prog_FLEX
5581 if test -n "$FLEX"; then
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5583 $as_echo "$FLEX" >&6; }
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5586 $as_echo "no" >&6; }
5591 if test "$FLEX" = ""; then
5594 if test "$FLEX" = "no"; then
5597 if test "$req_avail" = "no"; then
5598 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5600 # Extract the first word of "pngtopnm", so it can be a program name with args.
5601 set dummy pngtopnm
; ac_word
=$2
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5603 $as_echo_n "checking for $ac_word... " >&6; }
5604 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5605 $as_echo_n "(cached) " >&6
5607 if test -n "$PNGTOPNM"; then
5608 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5614 test -z "$as_dir" && as_dir
=.
5615 for ac_exec_ext
in '' $ac_executable_extensions; do
5616 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5617 ac_cv_prog_PNGTOPNM
="pngtopnm "
5618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5627 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5628 if test -n "$PNGTOPNM"; then
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5630 $as_echo "$PNGTOPNM" >&6; }
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5633 $as_echo "no" >&6; }
5638 if test "$PNGTOPNM" = ""; then
5641 if test "$PNGTOPNM" = "no"; then
5644 if test "$req_avail" = "no"; then
5645 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5647 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5648 set dummy ppmtoilbm
; ac_word
=$2
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5650 $as_echo_n "checking for $ac_word... " >&6; }
5651 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5652 $as_echo_n "(cached) " >&6
5654 if test -n "$PPMTOILBM"; then
5655 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5661 test -z "$as_dir" && as_dir
=.
5662 for ac_exec_ext
in '' $ac_executable_extensions; do
5663 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5664 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5674 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5675 if test -n "$PPMTOILBM"; then
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5677 $as_echo "$PPMTOILBM" >&6; }
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5680 $as_echo "no" >&6; }
5685 if test "$PPMTOILBM" = ""; then
5688 if test "$PPMTOILBM" = "no"; then
5691 if test "$req_avail" = "no"; then
5692 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5694 # Extract the first word of "sed", so it can be a program name with args.
5695 set dummy
sed; ac_word
=$2
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5697 $as_echo_n "checking for $ac_word... " >&6; }
5698 if ${ac_cv_prog_SED+:} false
; then :
5699 $as_echo_n "(cached) " >&6
5701 if test -n "$SED"; then
5702 ac_cv_prog_SED
="$SED" # Let the user override the test.
5704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5708 test -z "$as_dir" && as_dir
=.
5709 for ac_exec_ext
in '' $ac_executable_extensions; do
5710 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5711 ac_cv_prog_SED
="sed "
5712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5722 if test -n "$SED"; then
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5724 $as_echo "$SED" >&6; }
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5727 $as_echo "no" >&6; }
5732 if test "$SED" = ""; then
5735 if test "$SED" = "no"; then
5738 if test "$req_avail" = "no"; then
5739 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5741 # Extract the first word of "chmod", so it can be a program name with args.
5742 set dummy
chmod; ac_word
=$2
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5744 $as_echo_n "checking for $ac_word... " >&6; }
5745 if ${ac_cv_prog_CHMOD+:} false
; then :
5746 $as_echo_n "(cached) " >&6
5748 if test -n "$CHMOD"; then
5749 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5755 test -z "$as_dir" && as_dir
=.
5756 for ac_exec_ext
in '' $ac_executable_extensions; do
5757 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5758 ac_cv_prog_CHMOD
="chmod "
5759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5768 CHMOD
=$ac_cv_prog_CHMOD
5769 if test -n "$CHMOD"; then
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5771 $as_echo "$CHMOD" >&6; }
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5774 $as_echo "no" >&6; }
5779 if test "$CHMOD" = ""; then
5782 if test "$CHMOD" = "no"; then
5785 if test "$req_avail" = "no"; then
5786 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5788 # Extract the first word of "patch", so it can be a program name with args.
5789 set dummy
patch; ac_word
=$2
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5791 $as_echo_n "checking for $ac_word... " >&6; }
5792 if ${ac_cv_prog_PATCH+:} false
; then :
5793 $as_echo_n "(cached) " >&6
5795 if test -n "$PATCH"; then
5796 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5802 test -z "$as_dir" && as_dir
=.
5803 for ac_exec_ext
in '' $ac_executable_extensions; do
5804 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5805 ac_cv_prog_PATCH
="patch "
5806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5815 PATCH
=$ac_cv_prog_PATCH
5816 if test -n "$PATCH"; then
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5818 $as_echo "$PATCH" >&6; }
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5821 $as_echo "no" >&6; }
5826 if test "$PATCH" = ""; then
5829 if test "$PATCH" = "no"; then
5832 if test "$req_avail" = "no"; then
5833 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5842 if test -n "$PYTHON"; then
5843 # If the user set $PYTHON, use it and don't search something else.
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
5845 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
5847 # split strings by '.' and convert to numeric. Append some zeros
5848 # because we need at least 4 digits for the hex conversion.
5849 # map returns an iterator in Python 3.0 and a list in 2.x
5850 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5852 # xrange is not present in Python 3.0 and range returns an iterator
5853 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5854 sys.exit(sys.hexversion < minverhex)"
5855 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5856 ($PYTHON -c "$prog") >&5 2>&5
5858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859 (exit $ac_status); }; then :
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5861 $as_echo "yes" >&6; }
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5864 $as_echo "no" >&6; }
5865 as_fn_error $?
"Python interpreter is too old" "$LINENO" 5
5867 am_display_PYTHON
=$PYTHON
5869 # Otherwise, try each interpreter until we find one that satisfies
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5872 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5873 if ${am_cv_pathless_PYTHON+:} false
; then :
5874 $as_echo_n "(cached) " >&6
5877 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
5878 test "$am_cv_pathless_PYTHON" = none
&& break
5880 # split strings by '.' and convert to numeric. Append some zeros
5881 # because we need at least 4 digits for the hex conversion.
5882 # map returns an iterator in Python 3.0 and a list in 2.x
5883 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5885 # xrange is not present in Python 3.0 and range returns an iterator
5886 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5887 sys.exit(sys.hexversion < minverhex)"
5888 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5889 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5892 (exit $ac_status); }; then :
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5898 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5899 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5900 if test "$am_cv_pathless_PYTHON" = none
; then
5903 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5904 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5906 $as_echo_n "checking for $ac_word... " >&6; }
5907 if ${ac_cv_path_PYTHON+:} false
; then :
5908 $as_echo_n "(cached) " >&6
5912 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5919 test -z "$as_dir" && as_dir
=.
5920 for ac_exec_ext
in '' $ac_executable_extensions; do
5921 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5922 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5933 PYTHON
=$ac_cv_path_PYTHON
5934 if test -n "$PYTHON"; then
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5936 $as_echo "$PYTHON" >&6; }
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5939 $as_echo "no" >&6; }
5944 am_display_PYTHON
=$am_cv_pathless_PYTHON
5948 if test "$PYTHON" = :; then
5949 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5954 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5955 if ${am_cv_python_version+:} false
; then :
5956 $as_echo_n "(cached) " >&6
5958 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5961 $as_echo "$am_cv_python_version" >&6; }
5962 PYTHON_VERSION
=$am_cv_python_version
5966 PYTHON_PREFIX
='${prefix}'
5968 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5973 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5974 if ${am_cv_python_platform+:} false
; then :
5975 $as_echo_n "(cached) " >&6
5977 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5980 $as_echo "$am_cv_python_platform" >&6; }
5981 PYTHON_PLATFORM
=$am_cv_python_platform
5984 # Just factor out some code duplication.
5985 am_python_setup_sysconfig
="\
5987 # Prefer sysconfig over distutils.sysconfig, for better compatibility
5988 # with python 3.x. See automake bug#10227.
5992 can_use_sysconfig = 0
5994 can_use_sysconfig = 1
5995 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
5996 # <https://github.com/pypa/virtualenv/issues/118>
5998 from platform import python_implementation
5999 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
6000 can_use_sysconfig = 0
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
6006 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
6007 if ${am_cv_python_pythondir+:} false
; then :
6008 $as_echo_n "(cached) " >&6
6010 if test "x$prefix" = xNONE
6012 am_py_prefix
=$ac_default_prefix
6014 am_py_prefix
=$prefix
6016 am_cv_python_pythondir
=`$PYTHON -c "
6017 $am_python_setup_sysconfig
6018 if can_use_sysconfig:
6019 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
6021 from distutils import sysconfig
6022 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
6023 sys.stdout.write(sitedir)"`
6024 case $am_cv_python_pythondir in
6026 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
6027 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
6030 case $am_py_prefix in
6033 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
6041 $as_echo "$am_cv_python_pythondir" >&6; }
6042 pythondir
=$am_cv_python_pythondir
6046 pkgpythondir
=\
${pythondir}/$PACKAGE
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
6050 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
6051 if ${am_cv_python_pyexecdir+:} false
; then :
6052 $as_echo_n "(cached) " >&6
6054 if test "x$exec_prefix" = xNONE
6056 am_py_exec_prefix
=$am_py_prefix
6058 am_py_exec_prefix
=$exec_prefix
6060 am_cv_python_pyexecdir
=`$PYTHON -c "
6061 $am_python_setup_sysconfig
6062 if can_use_sysconfig:
6063 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
6065 from distutils import sysconfig
6066 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
6067 sys.stdout.write(sitedir)"`
6068 case $am_cv_python_pyexecdir in
6069 $am_py_exec_prefix*)
6070 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
6071 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
6074 case $am_py_exec_prefix in
6077 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
6085 $as_echo "$am_cv_python_pyexecdir" >&6; }
6086 pyexecdir
=$am_cv_python_pyexecdir
6090 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
6098 # Check whether --enable-libpng-config was given.
6099 if test "${enable_libpng_config+set}" = set; then :
6100 enableval
=$enable_libpng_config;
6103 if test "$enable_libpng_config" != "no"; then
6104 # Extract the first word of "libpng-config", so it can be a program name with args.
6105 set dummy libpng-config
; ac_word
=$2
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6107 $as_echo_n "checking for $ac_word... " >&6; }
6108 if ${ac_cv_prog_arosconfig_use_libpngconfig+:} false
; then :
6109 $as_echo_n "(cached) " >&6
6111 if test -n "$arosconfig_use_libpngconfig"; then
6112 ac_cv_prog_arosconfig_use_libpngconfig
="$arosconfig_use_libpngconfig" # Let the user override the test.
6114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6118 test -z "$as_dir" && as_dir
=.
6119 for ac_exec_ext
in '' $ac_executable_extensions; do
6120 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6121 ac_cv_prog_arosconfig_use_libpngconfig
="yes"
6122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6129 test -z "$ac_cv_prog_arosconfig_use_libpngconfig" && ac_cv_prog_arosconfig_use_libpngconfig
="no"
6132 arosconfig_use_libpngconfig
=$ac_cv_prog_arosconfig_use_libpngconfig
6133 if test -n "$arosconfig_use_libpngconfig"; then
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $arosconfig_use_libpngconfig" >&5
6135 $as_echo "$arosconfig_use_libpngconfig" >&6; }
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138 $as_echo "no" >&6; }
6143 if test "$arosconfig_use_libpngconfig" = "yes"; then
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libpng-config library" >&5
6145 $as_echo_n "checking libpng-config library... " >&6; }
6146 libpng_incdir
="`libpng-config --cflags`"
6147 libpng_libextra
="$libpng_libextra `libpng-config --ldflags`"
6148 libpng
="`libpng-config --libs`"
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libpng" >&5
6150 $as_echo "$libpng" >&6; }
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
6154 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
6155 if ${ac_cv_lib_png_png_read_png+:} false
; then :
6156 $as_echo_n "(cached) " >&6
6158 ac_check_lib_save_LIBS
=$LIBS
6160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6161 /* end confdefs.h. */
6163 /* Override any GCC internal prototype to avoid an error.
6164 Use char because int might match the return type of a GCC
6165 builtin and then its argument prototype would still apply. */
6169 char png_read_png ();
6173 return png_read_png ();
6178 if ac_fn_c_try_link
"$LINENO"; then :
6179 ac_cv_lib_png_png_read_png
=yes
6181 ac_cv_lib_png_png_read_png
=no
6183 rm -f core conftest.err conftest.
$ac_objext \
6184 conftest
$ac_exeext conftest.
$ac_ext
6185 LIBS
=$ac_check_lib_save_LIBS
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
6188 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
6189 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
6195 if test "$libpng_libextra" != ""; then
6196 if test "$libpng" != "no"; then
6197 libpng_libextra
="$libpng_libextra $libpng"
6202 if test "$libpng" = ""; then
6205 if test "$libpng" = "no"; then
6208 if test "$req_avail" = "no"; then
6209 as_fn_error $?
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
6225 # Check for some includes for the X11 HIDD and the kernel
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6228 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6229 if ${ac_cv_path_GREP+:} false
; then :
6230 $as_echo_n "(cached) " >&6
6232 if test -z "$GREP"; then
6233 ac_path_GREP_found
=false
6234 # Loop through the user's path and test for each of PROGNAME-LIST
6235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6236 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6239 test -z "$as_dir" && as_dir
=.
6240 for ac_prog
in grep ggrep
; do
6241 for ac_exec_ext
in '' $ac_executable_extensions; do
6242 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6243 as_fn_executable_p
"$ac_path_GREP" ||
continue
6244 # Check for GNU ac_path_GREP and select it if it is found.
6245 # Check for GNU $ac_path_GREP
6246 case `"$ac_path_GREP" --version 2>&1` in
6248 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6251 $as_echo_n 0123456789 >"conftest.in"
6254 cat "conftest.in" "conftest.in" >"conftest.tmp"
6255 mv "conftest.tmp" "conftest.in"
6256 cp "conftest.in" "conftest.nl"
6257 $as_echo 'GREP' >> "conftest.nl"
6258 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6259 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6260 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6261 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6262 # Best one so far, save it but keep looking for a better one
6263 ac_cv_path_GREP
="$ac_path_GREP"
6264 ac_path_GREP_max
=$ac_count
6266 # 10*(2^10) chars as input seems more than enough
6267 test $ac_count -gt 10 && break
6269 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6272 $ac_path_GREP_found && break 3
6277 if test -z "$ac_cv_path_GREP"; then
6278 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6281 ac_cv_path_GREP
=$GREP
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6286 $as_echo "$ac_cv_path_GREP" >&6; }
6287 GREP
="$ac_cv_path_GREP"
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6291 $as_echo_n "checking for egrep... " >&6; }
6292 if ${ac_cv_path_EGREP+:} false
; then :
6293 $as_echo_n "(cached) " >&6
6295 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6296 then ac_cv_path_EGREP
="$GREP -E"
6298 if test -z "$EGREP"; then
6299 ac_path_EGREP_found
=false
6300 # Loop through the user's path and test for each of PROGNAME-LIST
6301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6302 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6305 test -z "$as_dir" && as_dir
=.
6306 for ac_prog
in egrep; do
6307 for ac_exec_ext
in '' $ac_executable_extensions; do
6308 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6309 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6310 # Check for GNU ac_path_EGREP and select it if it is found.
6311 # Check for GNU $ac_path_EGREP
6312 case `"$ac_path_EGREP" --version 2>&1` in
6314 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6317 $as_echo_n 0123456789 >"conftest.in"
6320 cat "conftest.in" "conftest.in" >"conftest.tmp"
6321 mv "conftest.tmp" "conftest.in"
6322 cp "conftest.in" "conftest.nl"
6323 $as_echo 'EGREP' >> "conftest.nl"
6324 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6325 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6326 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6327 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6328 # Best one so far, save it but keep looking for a better one
6329 ac_cv_path_EGREP
="$ac_path_EGREP"
6330 ac_path_EGREP_max
=$ac_count
6332 # 10*(2^10) chars as input seems more than enough
6333 test $ac_count -gt 10 && break
6335 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6338 $ac_path_EGREP_found && break 3
6343 if test -z "$ac_cv_path_EGREP"; then
6344 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6347 ac_cv_path_EGREP
=$EGREP
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6353 $as_echo "$ac_cv_path_EGREP" >&6; }
6354 EGREP
="$ac_cv_path_EGREP"
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6358 $as_echo_n "checking for ANSI C header files... " >&6; }
6359 if ${ac_cv_header_stdc+:} false
; then :
6360 $as_echo_n "(cached) " >&6
6362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6363 /* end confdefs.h. */
6377 if ac_fn_c_try_compile
"$LINENO"; then :
6378 ac_cv_header_stdc
=yes
6380 ac_cv_header_stdc
=no
6382 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6384 if test $ac_cv_header_stdc = yes; then
6385 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6387 /* end confdefs.h. */
6391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6392 $EGREP "memchr" >/dev
/null
2>&1; then :
6395 ac_cv_header_stdc
=no
6401 if test $ac_cv_header_stdc = yes; then
6402 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6404 /* end confdefs.h. */
6408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6409 $EGREP "free" >/dev
/null
2>&1; then :
6412 ac_cv_header_stdc
=no
6418 if test $ac_cv_header_stdc = yes; then
6419 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6420 if test "$cross_compiling" = yes; then :
6423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6424 /* end confdefs.h. */
6427 #if ((' ' & 0x0FF) == 0x020)
6428 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6429 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6431 # define ISLOWER(c) \
6432 (('a' <= (c) && (c) <= 'i') \
6433 || ('j' <= (c) && (c) <= 'r') \
6434 || ('s' <= (c) && (c) <= 'z'))
6435 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6438 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6443 for (i = 0; i < 256; i++)
6444 if (XOR (islower (i), ISLOWER (i))
6445 || toupper (i) != TOUPPER (i))
6450 if ac_fn_c_try_run
"$LINENO"; then :
6453 ac_cv_header_stdc
=no
6455 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6456 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6462 $as_echo "$ac_cv_header_stdc" >&6; }
6463 if test $ac_cv_header_stdc = yes; then
6465 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6469 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6470 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6471 inttypes.h stdint.h unistd.h
6473 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6474 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6476 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6477 cat >>confdefs.h
<<_ACEOF
6478 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6486 for ac_header
in sys
/ipc.h sys
/shm.h \
6487 sys
/mmap.h sys
/mman.h sysexits.h \
6488 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6491 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6492 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6493 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6494 cat >>confdefs.h
<<_ACEOF
6495 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6503 for ac_header
in sys
/mount.h
6505 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6507 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6508 cat >>confdefs.h
<<_ACEOF
6509 #define HAVE_SYS_MOUNT_H 1
6518 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6519 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6521 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6522 if eval \
${$as_ac_Header+:} false
; then :
6523 $as_echo_n "(cached) " >&6
6525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6526 /* end confdefs.h. */
6527 #include <sys/types.h>
6539 if ac_fn_c_try_compile
"$LINENO"; then :
6540 eval "$as_ac_Header=yes"
6542 eval "$as_ac_Header=no"
6544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6546 eval ac_res
=\$
$as_ac_Header
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6548 $as_echo "$ac_res" >&6; }
6549 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6550 cat >>confdefs.h
<<_ACEOF
6551 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6554 ac_header_dirent
=$ac_hdr; break
6558 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6559 if test $ac_header_dirent = dirent.h
; then
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6561 $as_echo_n "checking for library containing opendir... " >&6; }
6562 if ${ac_cv_search_opendir+:} false
; then :
6563 $as_echo_n "(cached) " >&6
6565 ac_func_search_save_LIBS
=$LIBS
6566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6567 /* end confdefs.h. */
6569 /* Override any GCC internal prototype to avoid an error.
6570 Use char because int might match the return type of a GCC
6571 builtin and then its argument prototype would still apply. */
6584 for ac_lib
in '' dir
; do
6585 if test -z "$ac_lib"; then
6586 ac_res
="none required"
6589 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6591 if ac_fn_c_try_link
"$LINENO"; then :
6592 ac_cv_search_opendir
=$ac_res
6594 rm -f core conftest.err conftest.
$ac_objext \
6596 if ${ac_cv_search_opendir+:} false
; then :
6600 if ${ac_cv_search_opendir+:} false
; then :
6603 ac_cv_search_opendir
=no
6606 LIBS
=$ac_func_search_save_LIBS
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6609 $as_echo "$ac_cv_search_opendir" >&6; }
6610 ac_res
=$ac_cv_search_opendir
6611 if test "$ac_res" != no
; then :
6612 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6618 $as_echo_n "checking for library containing opendir... " >&6; }
6619 if ${ac_cv_search_opendir+:} false
; then :
6620 $as_echo_n "(cached) " >&6
6622 ac_func_search_save_LIBS
=$LIBS
6623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6624 /* end confdefs.h. */
6626 /* Override any GCC internal prototype to avoid an error.
6627 Use char because int might match the return type of a GCC
6628 builtin and then its argument prototype would still apply. */
6641 for ac_lib
in '' x
; do
6642 if test -z "$ac_lib"; then
6643 ac_res
="none required"
6646 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6648 if ac_fn_c_try_link
"$LINENO"; then :
6649 ac_cv_search_opendir
=$ac_res
6651 rm -f core conftest.err conftest.
$ac_objext \
6653 if ${ac_cv_search_opendir+:} false
; then :
6657 if ${ac_cv_search_opendir+:} false
; then :
6660 ac_cv_search_opendir
=no
6663 LIBS
=$ac_func_search_save_LIBS
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6666 $as_echo "$ac_cv_search_opendir" >&6; }
6667 ac_res
=$ac_cv_search_opendir
6668 if test "$ac_res" != no
; then :
6669 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6676 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6677 if ${ac_cv_header_stat_broken+:} false
; then :
6678 $as_echo_n "(cached) " >&6
6680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6681 /* end confdefs.h. */
6682 #include <sys/types.h>
6683 #include <sys/stat.h>
6685 #if defined S_ISBLK && defined S_IFDIR
6686 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6689 #if defined S_ISBLK && defined S_IFCHR
6690 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6693 #if defined S_ISLNK && defined S_IFREG
6694 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6697 #if defined S_ISSOCK && defined S_IFREG
6698 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6702 if ac_fn_c_try_compile
"$LINENO"; then :
6703 ac_cv_header_stat_broken
=no
6705 ac_cv_header_stat_broken
=yes
6707 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6710 $as_echo "$ac_cv_header_stat_broken" >&6; }
6711 if test $ac_cv_header_stat_broken = yes; then
6713 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6718 $as_echo_n "checking for ANSI C header files... " >&6; }
6719 if ${ac_cv_header_stdc+:} false
; then :
6720 $as_echo_n "(cached) " >&6
6722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6723 /* end confdefs.h. */
6737 if ac_fn_c_try_compile
"$LINENO"; then :
6738 ac_cv_header_stdc
=yes
6740 ac_cv_header_stdc
=no
6742 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6744 if test $ac_cv_header_stdc = yes; then
6745 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6747 /* end confdefs.h. */
6751 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6752 $EGREP "memchr" >/dev
/null
2>&1; then :
6755 ac_cv_header_stdc
=no
6761 if test $ac_cv_header_stdc = yes; then
6762 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6764 /* end confdefs.h. */
6768 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6769 $EGREP "free" >/dev
/null
2>&1; then :
6772 ac_cv_header_stdc
=no
6778 if test $ac_cv_header_stdc = yes; then
6779 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6780 if test "$cross_compiling" = yes; then :
6783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6784 /* end confdefs.h. */
6787 #if ((' ' & 0x0FF) == 0x020)
6788 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6789 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6791 # define ISLOWER(c) \
6792 (('a' <= (c) && (c) <= 'i') \
6793 || ('j' <= (c) && (c) <= 'r') \
6794 || ('s' <= (c) && (c) <= 'z'))
6795 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6798 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6803 for (i = 0; i < 256; i++)
6804 if (XOR (islower (i), ISLOWER (i))
6805 || toupper (i) != TOUPPER (i))
6810 if ac_fn_c_try_run
"$LINENO"; then :
6813 ac_cv_header_stdc
=no
6815 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6816 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6822 $as_echo "$ac_cv_header_stdc" >&6; }
6823 if test $ac_cv_header_stdc = yes; then
6825 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6830 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6831 if ${ac_cv_header_sys_wait_h+:} false
; then :
6832 $as_echo_n "(cached) " >&6
6834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6835 /* end confdefs.h. */
6836 #include <sys/types.h>
6837 #include <sys/wait.h>
6839 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6842 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6850 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6855 if ac_fn_c_try_compile
"$LINENO"; then :
6856 ac_cv_header_sys_wait_h
=yes
6858 ac_cv_header_sys_wait_h
=no
6860 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6863 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6864 if test $ac_cv_header_sys_wait_h = yes; then
6866 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6871 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6872 if ${ac_cv_header_time+:} false
; then :
6873 $as_echo_n "(cached) " >&6
6875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6876 /* end confdefs.h. */
6877 #include <sys/types.h>
6878 #include <sys/time.h>
6884 if ((struct tm *) 0)
6890 if ac_fn_c_try_compile
"$LINENO"; then :
6891 ac_cv_header_time
=yes
6893 ac_cv_header_time
=no
6895 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6898 $as_echo "$ac_cv_header_time" >&6; }
6899 if test $ac_cv_header_time = yes; then
6901 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6905 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6906 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6908 cat >>confdefs.h
<<_ACEOF
6909 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6913 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6918 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6919 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6921 cat >>confdefs.h
<<_ACEOF
6922 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6926 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6929 case " $LIBOBJS " in
6930 *" fileblocks.$ac_objext "* ) ;;
6931 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6938 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6939 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6941 cat >>confdefs.h
<<_ACEOF
6942 #define HAVE_STRUCT_STAT_ST_RDEV 1
6946 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6952 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6953 if ${ac_cv_struct_tm+:} false
; then :
6954 $as_echo_n "(cached) " >&6
6956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6957 /* end confdefs.h. */
6958 #include <sys/types.h>
6965 int *p = &tm.tm_sec;
6971 if ac_fn_c_try_compile
"$LINENO"; then :
6972 ac_cv_struct_tm
=time.h
6974 ac_cv_struct_tm
=sys
/time.h
6976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6979 $as_echo "$ac_cv_struct_tm" >&6; }
6980 if test $ac_cv_struct_tm = sys
/time.h
; then
6982 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6986 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6987 #include <$ac_cv_struct_tm>
6990 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6992 cat >>confdefs.h
<<_ACEOF
6993 #define HAVE_STRUCT_TM_TM_ZONE 1
6999 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
7001 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
7004 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
7006 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
7012 cat >>confdefs.h
<<_ACEOF
7013 #define HAVE_DECL_TZNAME $ac_have_decl
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
7017 $as_echo_n "checking for tzname... " >&6; }
7018 if ${ac_cv_var_tzname+:} false
; then :
7019 $as_echo_n "(cached) " >&6
7021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7022 /* end confdefs.h. */
7024 #if !HAVE_DECL_TZNAME
7025 extern char *tzname[];
7031 return tzname[0][0];
7036 if ac_fn_c_try_link
"$LINENO"; then :
7037 ac_cv_var_tzname
=yes
7041 rm -f core conftest.err conftest.
$ac_objext \
7042 conftest
$ac_exeext conftest.
$ac_ext
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
7045 $as_echo "$ac_cv_var_tzname" >&6; }
7046 if test $ac_cv_var_tzname = yes; then
7048 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
7053 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
7054 if test "x$ac_cv_type_off_t" = xyes
; then :
7058 cat >>confdefs.h
<<_ACEOF
7059 #define off_t long int
7064 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
7065 if test "x$ac_cv_type_pid_t" = xyes
; then :
7069 cat >>confdefs.h
<<_ACEOF
7075 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7076 if test "x$ac_cv_type_size_t" = xyes
; then :
7080 cat >>confdefs.h
<<_ACEOF
7081 #define size_t unsigned int
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
7087 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7088 if ${ac_cv_type_uid_t+:} false
; then :
7089 $as_echo_n "(cached) " >&6
7091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7092 /* end confdefs.h. */
7093 #include <sys/types.h>
7096 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7097 $EGREP "uid_t" >/dev
/null
2>&1; then :
7098 ac_cv_type_uid_t
=yes
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
7106 $as_echo "$ac_cv_type_uid_t" >&6; }
7107 if test $ac_cv_type_uid_t = no
; then
7109 $as_echo "#define uid_t int" >>confdefs.h
7112 $as_echo "#define gid_t int" >>confdefs.h
7117 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
7118 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
7120 cat >>confdefs.h
<<_ACEOF
7121 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7128 # Look for some functions
7129 for ac_func
in getpagesize kqueue statfs statvfs \
7130 clone kse_create rfork_thread thr_create sa_register \
7131 getcontext makecontext setcontext sigaltstack swapcontext
7133 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7134 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7135 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7136 cat >>confdefs.h
<<_ACEOF
7137 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7147 for ac_header
in $ac_header_list
7149 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7150 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7152 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7153 cat >>confdefs.h
<<_ACEOF
7154 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7168 for ac_func
in getpagesize
7170 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
7171 if test "x$ac_cv_func_getpagesize" = xyes
; then :
7172 cat >>confdefs.h
<<_ACEOF
7173 #define HAVE_GETPAGESIZE 1
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
7180 $as_echo_n "checking for working mmap... " >&6; }
7181 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
7182 $as_echo_n "(cached) " >&6
7184 if test "$cross_compiling" = yes; then :
7185 ac_cv_func_mmap_fixed_mapped
=no
7187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7188 /* end confdefs.h. */
7189 $ac_includes_default
7190 /* malloc might have been renamed as rpl_malloc. */
7193 /* Thanks to Mike Haertel and Jim Avera for this test.
7194 Here is a matrix of mmap possibilities:
7195 mmap private not fixed
7196 mmap private fixed at somewhere currently unmapped
7197 mmap private fixed at somewhere already mapped
7198 mmap shared not fixed
7199 mmap shared fixed at somewhere currently unmapped
7200 mmap shared fixed at somewhere already mapped
7201 For private mappings, we should verify that changes cannot be read()
7202 back from the file, nor mmap's back from the file at a different
7203 address. (There have been systems where private was not correctly
7204 implemented like the infamous i386 svr4.0, and systems where the
7205 VM page cache was not coherent with the file system buffer cache
7206 like early versions of FreeBSD and possibly contemporary NetBSD.)
7207 For shared mappings, we should conversely verify that changes get
7208 propagated back to all the places they're supposed to be.
7210 Grep wants private fixed already mapped.
7211 The main things grep needs to know about mmap are:
7212 * does it exist and is it safe to write into the mmap'd area
7213 * how to use it (BSD variants) */
7216 #include <sys/mman.h>
7218 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7222 /* This mess was copied from the GNU getpagesize.h. */
7223 #ifndef HAVE_GETPAGESIZE
7224 # ifdef _SC_PAGESIZE
7225 # define getpagesize() sysconf(_SC_PAGESIZE)
7226 # else /* no _SC_PAGESIZE */
7227 # ifdef HAVE_SYS_PARAM_H
7228 # include <sys/param.h>
7229 # ifdef EXEC_PAGESIZE
7230 # define getpagesize() EXEC_PAGESIZE
7231 # else /* no EXEC_PAGESIZE */
7233 # define getpagesize() NBPG * CLSIZE
7236 # endif /* no CLSIZE */
7237 # else /* no NBPG */
7239 # define getpagesize() NBPC
7240 # else /* no NBPC */
7242 # define getpagesize() PAGESIZE
7243 # endif /* PAGESIZE */
7244 # endif /* no NBPC */
7245 # endif /* no NBPG */
7246 # endif /* no EXEC_PAGESIZE */
7247 # else /* no HAVE_SYS_PARAM_H */
7248 # define getpagesize() 8192 /* punt totally */
7249 # endif /* no HAVE_SYS_PARAM_H */
7250 # endif /* no _SC_PAGESIZE */
7252 #endif /* no HAVE_GETPAGESIZE */
7257 char *data, *data2, *data3;
7262 pagesize = getpagesize ();
7264 /* First, make a file with some known garbage in it. */
7265 data = (char *) malloc (pagesize);
7268 for (i = 0; i < pagesize; ++i)
7269 *(data + i) = rand ();
7271 fd = creat ("conftest.mmap", 0600);
7274 if (write (fd, data, pagesize) != pagesize)
7278 /* Next, check that the tail of a page is zero-filled. File must have
7279 non-zero length, otherwise we risk SIGBUS for entire page. */
7280 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7284 if (write (fd2, cdata2, 1) != 1)
7286 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7287 if (data2 == MAP_FAILED)
7289 for (i = 0; i < pagesize; ++i)
7293 if (munmap (data2, pagesize))
7296 /* Next, try to mmap the file at a fixed address which already has
7297 something else allocated at it. If we can, also make sure that
7298 we see the same garbage. */
7299 fd = open ("conftest.mmap", O_RDWR);
7302 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7303 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7305 for (i = 0; i < pagesize; ++i)
7306 if (*(data + i) != *(data2 + i))
7309 /* Finally, make sure that changes to the mapped area do not
7310 percolate back to the file as seen by read(). (This is a bug on
7311 some variants of i386 svr4.0.) */
7312 for (i = 0; i < pagesize; ++i)
7313 *(data2 + i) = *(data2 + i) + 1;
7314 data3 = (char *) malloc (pagesize);
7317 if (read (fd, data3, pagesize) != pagesize)
7319 for (i = 0; i < pagesize; ++i)
7320 if (*(data + i) != *(data3 + i))
7326 if ac_fn_c_try_run
"$LINENO"; then :
7327 ac_cv_func_mmap_fixed_mapped
=yes
7329 ac_cv_func_mmap_fixed_mapped
=no
7331 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7332 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7337 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7338 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7340 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7343 rm -f conftest.mmap conftest.txt
7346 #-----------------------------------------------------------------------------
7349 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7350 # it switched on by default, and we use the host compiler, so it compiles AROS
7351 # code with this enabled resulting in link failures as we don't have support
7354 # We use two methods to disable it. For the host compiler (used to compile
7355 # some hosted modules), we test to see if the compiler supports stack
7356 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7357 # work on all platforms.
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7361 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7362 save_cflags
="$CFLAGS"
7363 CFLAGS
="$CFLAGS -fno-stack-protector"
7364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7365 /* end confdefs.h. */
7375 if ac_fn_c_try_compile
"$LINENO"; then :
7376 use_no_stack_protector
="yes"
7378 use_no_stack_protector
="no"
7380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7382 $as_echo "$use_no_stack_protector" >&6; }
7383 if test "x-$use_no_stack_protector" = "x-yes" ; then
7384 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7386 CFLAGS
="$save_cflags"
7388 #-----------------------------------------------------------------------------
7390 # Disable pointer-signedness warnings if the compiler recognises the option
7391 # (this only works for the host compiler at the moment)
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7394 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7395 save_cflags
="$CFLAGS"
7396 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7398 /* end confdefs.h. */
7408 if ac_fn_c_try_compile
"$LINENO"; then :
7409 use_no_sign_warning
="yes"
7411 use_no_sign_warning
="no"
7413 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7415 $as_echo "$use_no_sign_warning" >&6; }
7416 if test "x-$use_no_sign_warning" = "x-yes" ; then
7417 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7419 CFLAGS
="$save_cflags"
7421 #-----------------------------------------------------------------------------
7423 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7426 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7427 save_cflags
="$CFLAGS"
7428 CFLAGS
="$CFLAGS -fgnu89-inline"
7429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7430 /* end confdefs.h. */
7440 if ac_fn_c_try_compile
"$LINENO"; then :
7441 use_gnu89_inline
="yes"
7443 use_gnu89_inline
="no"
7445 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7447 $as_echo "$use_gnu89_inline" >&6; }
7448 if test "x-$use_gnu89_inline" = "x-yes" ; then
7449 gnu89_inline
="-fgnu89-inline"
7451 CFLAGS
="$save_cflags"
7454 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
7455 # On GCC >= 4.0 -iquote should be used
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
7458 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
7459 CFLAGS
="$CFLAGS -iquote."
7460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7461 /* end confdefs.h. */
7471 if ac_fn_c_try_compile
"$LINENO"; then :
7476 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
7478 $as_echo "$has_iquote" >&6; }
7479 if test "x-$has_iquote" = "x-yes" ; then
7480 host_cflags_iquote
=-iquote
7481 host_cflags_iquote_end
=
7483 host_cflags_iquote
=-I
7484 host_cflags_iquote_end
=-I-
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: Performing target configuration..." >&5
7488 $as_echo "$as_me: Performing target configuration..." >&6;}
7491 aros_nowarn_flags
="NOWARN_UNUSED_COMMAND_LINE_ARGUMENT NOWARN_UNKNOWN_WARNING_OPTION NOWARN_POINTER_SIGN NOWARN_PARENTHESES"
7493 toolchain_needs_sysroot
=no
7498 aros_config_cxxflags
=
7499 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7500 aros_config_ldflags
=""
7502 aros_shared_default
=yes
7504 aros_shared_cflags
="-fPIC"
7505 aros_shared_aflags
=""
7506 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7507 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7509 aros_kernel_ar_flags
="cr"
7510 aros_target_ar_flags
="cr"
7511 aros_target_nm_flags
="-C -ul"
7512 aros_target_strip_flags
="--strip-unneeded -R.comment"
7517 aros_target_genmap
="-Wl,-Map -Xlinker"
7519 # Native flavour stuff
7520 aros_serial_debug
="0"
7522 # Palm native flavour stuff
7523 aros_palm_debug_hack
="0"
7525 # Unix flavour stuff
7526 aros_nesting_supervisor
="0"
7528 # Collect-aros stuff: "-ius" to ignore undefined symbols
7529 ignore_undefined_symbols
=""
7531 # Check for X11 by default
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which toolchain family to use ..." >&5
7540 $as_echo_n "checking Which toolchain family to use ...... " >&6; }
7542 # Check whether --with-toolchain was given.
7543 if test "${with_toolchain+set}" = set; then :
7544 withval
=$with_toolchain; aros_toolchain
="$withval"
7546 aros_toolchain
="gnu"
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_toolchain" >&5
7550 $as_echo "$aros_toolchain" >&6; }
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should enable link time optimizations (LTO)" >&5
7554 $as_echo_n "checking if we should enable link time optimizations (LTO)... " >&6; }
7555 # Check whether --enable-lto was given.
7556 if test "${enable_lto+set}" = set; then :
7557 enableval
=$enable_lto; aros_config_lto
="$enableval"
7559 aros_config_lto
="no"
7562 if test "$aros_config_lto" != "no"; then
7563 aros_config_lto
="yes"
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_config_lto" >&5
7566 $as_echo "$aros_config_lto" >&6; }
7570 case "$aros_toolchain" in
7572 # toolchain_needs_sysroot=yes
7573 toolchain_c_compiler
="clang"
7574 toolchain_cxx_compiler
="clang++"
7575 toolchain_cpp_preprocessor
="clang -E"
7576 toolchain_ld
="ld.lld"
7578 toolchain_as
="llvm-as"
7579 toolchain_ar
="llvm-ar"
7580 toolchain_ranlib
="llvm-ranlib"
7581 toolchain_nm
="llvm-nm"
7582 toolchain_strip
="true"
7583 toolchain_objcopy
="llvm-objcopy"
7584 toolchain_objdump
="llvm-objdump"
7587 toolchain_c_compiler
="gcc"
7588 toolchain_cxx_compiler
="g++"
7589 toolchain_cpp_preprocessor
="gcc -E"
7592 if test "$aros_config_lto" != "yes"; then
7595 toolchain_ranlib
="ranlib"
7598 toolchain_ld
="ld.bfd"
7599 toolchain_ar
="gcc-ar"
7600 toolchain_ranlib
="gcc-ranlib"
7601 toolchain_nm
="gcc-nm"
7603 toolchain_strip
="strip"
7604 toolchain_objcopy
="objcopy"
7605 toolchain_objdump
="objdump"
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown toolchain family!\"" >&5
7609 $as_echo "$as_me: WARNING: \"Unknown toolchain family!\"" >&2;}
7610 toolchain_c_compiler
="cc"
7611 toolchain_cxx_compiler
="c++"
7612 toolchain_cpp_preprocessor
="cpp"
7617 toolchain_ranlib
="ranlib"
7619 toolchain_strip
="strip"
7620 toolchain_objcopy
="objcopy"
7621 toolchain_objdump
="objdump"
7625 #-----------------------------------------------------------------------------
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which type of build to do" >&5
7628 $as_echo_n "checking which type of build to do... " >&6; }
7629 # Check whether --enable-build_type was given.
7630 if test "${enable_build_type+set}" = set; then :
7631 enableval
=$enable_build_type; build_type
=$enableval
7633 build_type
="personal"
7637 if test "$build_type" = "nightly"; then
7638 build_type_string
="NIGHTLY"
7639 elif test "$build_type" = "snapshot"; then
7640 build_type_string
="SNAPSHOT"
7641 elif test "$build_type" = "milestone"; then
7642 build_type_string
="MILESTONE"
7643 elif test "$build_type" = "release"; then
7644 build_type_string
="RELEASE"
7646 build_type_string
="PERSONAL"
7647 build_type
="personal"
7650 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7651 aros_config_cxxflags
="$aros_config_cxxflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7654 $as_echo "$build_type" >&6; }
7656 #-----------------------------------------------------------------------------
7657 all_debug_types
="messages stack modules mungwall symbols"
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7660 $as_echo_n "checking which debug types to enable... " >&6; }
7661 # Check whether --enable-debug was given.
7662 if test "${enable_debug+set}" = set; then :
7663 enableval
=$enable_debug; debug
="$enableval"
7669 if test "$debug" = "" -o "$debug" = "no"; then
7671 elif test "$debug" = "yes"; then
7675 if test "$debug" = "all" ; then
7676 debug
="messages stack modules symbols"
7677 for d
in $all_debug_types; do
7678 export aros_
${d}_debug
="1"
7681 for d
in $all_debug_types; do
7682 export aros_
${d}_debug
="0"
7686 if test "$debug" != "none"; then
7687 debug
=`echo $debug | sed s/,/\ /g`
7690 for d2
in $all_debug_types; do
7691 if test "$d2" = "$d"; then
7696 if test "$found" = "0"; then
7697 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7699 export aros_
${d}_debug
="1"
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7704 $as_echo "$debug" >&6; }
7706 if test "$aros_messages_debug" = "1"; then
7707 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7709 aros_messages_debug
=""
7711 if test "$aros_symbols_debug" = "1"; then
7712 aros_symbols_debug
="-g"
7714 aros_symbols_debug
=""
7717 # These are the flags to pass when compiling debugged programs
7718 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7719 aros_debug_aflags
=""
7720 aros_debug_ldflags
="$aros_symbols_debug"
7722 #-----------------------------------------------------------------------------
7723 # Checking for distcc and ccache.
7725 # Always apply the transforms in this particular order. Basically you should
7726 # always run 'ccache distcc compiler' in that order for the best performance.
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7729 $as_echo_n "checking whether to enable distcc... " >&6; }
7730 # Check whether --enable-distcc was given.
7731 if test "${enable_distcc+set}" = set; then :
7732 enableval
=$enable_distcc; distcc
="$enableval"
7737 if test "$distcc" != "" -a "$distcc" != "no"; then
7738 # AC_CHECK_PROG will print out the result in this case
7739 # Extract the first word of "distcc", so it can be a program name with args.
7740 set dummy distcc
; ac_word
=$2
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7742 $as_echo_n "checking for $ac_word... " >&6; }
7743 if ${ac_cv_path_DISTCC+:} false
; then :
7744 $as_echo_n "(cached) " >&6
7748 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7755 test -z "$as_dir" && as_dir
=.
7756 for ac_exec_ext
in '' $ac_executable_extensions; do
7757 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7758 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7766 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7770 DISTCC
=$ac_cv_path_DISTCC
7771 if test -n "$DISTCC"; then
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7773 $as_echo "$DISTCC" >&6; }
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7776 $as_echo "no" >&6; }
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7782 $as_echo "no" >&6; }
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7786 $as_echo_n "checking whether to enable ccache... " >&6; }
7787 # Check whether --enable-ccache was given.
7788 if test "${enable_ccache+set}" = set; then :
7789 enableval
=$enable_ccache; ccache
="$enableval"
7794 if test "$ccache" != "" -a "$ccache" != "no"; then
7795 # AC_CHECK_PROG will print out the result in this case
7796 # Extract the first word of "ccache", so it can be a program name with args.
7797 set dummy ccache
; ac_word
=$2
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7799 $as_echo_n "checking for $ac_word... " >&6; }
7800 if ${ac_cv_prog_CCACHE+:} false
; then :
7801 $as_echo_n "(cached) " >&6
7803 if test -n "$CCACHE"; then
7804 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7810 test -z "$as_dir" && as_dir
=.
7811 for ac_exec_ext
in '' $ac_executable_extensions; do
7812 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7813 ac_cv_prog_CCACHE
="ccache"
7814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7823 CCACHE
=$ac_cv_prog_CCACHE
7824 if test -n "$CCACHE"; then
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7826 $as_echo "$CCACHE" >&6; }
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7829 $as_echo "no" >&6; }
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7835 $as_echo "no" >&6; }
7838 #-----------------------------------------------------------------------------
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7840 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7842 # Check whether --with-kernel-gcc-version was given.
7843 if test "${with_kernel_gcc_version+set}" = set; then :
7844 withval
=$with_kernel_gcc_version; kernel_tool_version
="$withval"
7846 kernel_tool_version
=""
7849 if test "$kernel_tool_version" != "" ; then
7850 msg_result
=$kernel_tool_version
7852 msg_result
="default"
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
7855 $as_echo "$msg_result" >&6; }
7857 #-----------------------------------------------------------------------------
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7859 $as_echo_n "checking what optimization flags to use... " >&6; }
7861 # Check whether --with-optimization was given.
7862 if test "${with_optimization+set}" = set; then :
7863 withval
=$with_optimization; optimization
="$withval"
7865 optimization
="unknown"
7868 if test "$optimization" = "unknown"; then
7869 if test "$debug" != "none"; then
7875 aros_optimization_cflags
="$optimization"
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7877 $as_echo "$optimization" >&6; }
7879 paranoia_default
=yes
7880 #-----------------------------------------------------------------------------
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which paranoia flags to use" >&5
7882 $as_echo_n "checking which paranoia flags to use... " >&6; }
7884 # Check whether --with-paranoia was given.
7885 if test "${with_paranoia+set}" = set; then :
7886 withval
=$with_paranoia; paranoia_flags
="$withval"
7888 paranoia_flags
="$paranoia_default"
7891 if test "$paranoia_flags" = "no"; then
7892 paranoia_flags
="-Wall -Werror-implicit-function-declaration"
7895 if test "$paranoia_flags" = "yes"; then
7896 paranoia_flags
="-Wall -Werror"
7898 msg_result
="$paranoia_flags"
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
7901 $as_echo "$msg_result" >&6; }
7902 aros_warn_flags
="$aros_warn_flags $paranoia_flags"
7904 #-----------------------------------------------------------------------------
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7906 $as_echo_n "checking what target variant to enable... " >&6; }
7907 # Check whether --enable-target_variant was given.
7908 if test "${enable_target_variant+set}" = set; then :
7909 enableval
=$enable_target_variant; target_variant
=$enableval
7914 if test "$target_variant" = ""; then
7915 aros_target_variant
=""
7916 aros_target_suffix
=""
7919 aros_target_variant
="$target_variant"
7920 aros_target_suffix
="-$target_variant"
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7923 $as_echo "$enableval" >&6; }
7925 #-----------------------------------------------------------------------------
7926 # Target-specific defaults. You can override then on a per-target basis.
7928 # Bootloader name. Currently used by PC target.
7929 target_bootloader
="none"
7933 #-----------------------------------------------------------------------------
7934 # Additional options for some specific targets
7936 case "$aros_target_variant" in
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7939 $as_echo_n "checking XCode path... " >&6; }
7941 # Check whether --with-xcode was given.
7942 if test "${with_xcode+set}" = set; then :
7943 withval
=$with_xcode; aros_xcode_path
="$withval"
7945 aros_xcode_path
="/Developer"
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7949 $as_echo "$aros_xcode_path" >&6; }
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7952 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7954 # Check whether --with-sdk-version was given.
7955 if test "${with_sdk_version+set}" = set; then :
7956 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7958 aros_sdk_version
="4.1"
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7962 $as_echo "$aros_sdk_version" >&6; }
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7968 $as_echo_n "checking Android SDK path... " >&6; }
7970 # Check whether --with-sdk was given.
7971 if test "${with_sdk+set}" = set; then :
7972 withval
=$with_sdk; aros_android_sdk
="$withval"
7974 aros_android_sdk
=$default_android_sdk
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7978 $as_echo "$aros_android_sdk" >&6; }
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7981 $as_echo_n "checking Android NDK path... " >&6; }
7983 # Check whether --with-ndk was given.
7984 if test "${with_ndk+set}" = set; then :
7985 withval
=$with_ndk; aros_android_ndk
="$withval"
7987 aros_android_ndk
="none"
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7991 $as_echo "$aros_android_ndk" >&6; }
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7994 $as_echo_n "checking what Android SDK version to use... " >&6; }
7996 # Check whether --with-sdk-version was given.
7997 if test "${with_sdk_version+set}" = set; then :
7998 withval
=$with_sdk_version; aros_sdk_version
="$withval"
8000 aros_sdk_version
="12"
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
8004 $as_echo "$aros_sdk_version" >&6; }
8006 aros_android_level
=android-
$aros_sdk_version
8007 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
8008 echo "Platform $aros_android_level is not installed in your SDK"
8009 echo "Use --with-sdk-version=<API level number> to select another platform version"
8010 echo "You can check what plaform versions are installed in your SDK"
8011 echo "by examining contents of $aros_android_sdk/platforms directory"
8012 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
8015 export PATH
="$aros_android_sdk/tools:$PATH"
8016 # Extract the first word of "$android_tool", so it can be a program name with args.
8017 set dummy
$android_tool; ac_word
=$2
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8019 $as_echo_n "checking for $ac_word... " >&6; }
8020 if ${ac_cv_path_android_tool+:} false
; then :
8021 $as_echo_n "(cached) " >&6
8023 case $android_tool in
8025 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
8028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8032 test -z "$as_dir" && as_dir
=.
8033 for ac_exec_ext
in '' $ac_executable_extensions; do
8034 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8035 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
8036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8046 android_tool
=$ac_cv_path_android_tool
8047 if test -n "$android_tool"; then
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
8049 $as_echo "$android_tool" >&6; }
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8052 $as_echo "no" >&6; }
8057 if test "$android_tool" = ""; then
8060 if test "$android_tool" = "no"; then
8063 if test "$req_avail" = "no"; then
8064 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
8067 if test "$aros_android_ndk" != "none"; then
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
8069 $as_echo_n "checking what Android NDK version to use... " >&6; }
8071 # Check whether --with-ndk-version was given.
8072 if test "${with_ndk_version+set}" = set; then :
8073 withval
=$with_ndk_version; aros_ndk_version
="$withval"
8075 aros_ndk_version
="9"
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
8079 $as_echo "$aros_ndk_version" >&6; }
8082 # Extract the first word of "ant", so it can be a program name with args.
8083 set dummy ant
; ac_word
=$2
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8085 $as_echo_n "checking for $ac_word... " >&6; }
8086 if ${ac_cv_path_ant+:} false
; then :
8087 $as_echo_n "(cached) " >&6
8091 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
8094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8098 test -z "$as_dir" && as_dir
=.
8099 for ac_exec_ext
in '' $ac_executable_extensions; do
8100 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8101 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
8102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8113 if test -n "$ant"; then
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
8115 $as_echo "$ant" >&6; }
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8118 $as_echo "no" >&6; }
8122 if test "$ant" = ""; then
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
8124 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Build debug or release apk" >&5
8128 $as_echo_n "checking Build debug or release apk... " >&6; }
8130 # Check whether --with-apk-version was given.
8131 if test "${with_apk_version+set}" = set; then :
8132 withval
=$with_apk_version; aros_android_antapk
=$withval
8134 aros_android_antapk
=release
8137 if test $aros_android_antapk != release
-a $aros_android_antapk != debug
; then
8138 as_fn_error $?
"apk-version has to be release or debug" "$LINENO" 5
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_antapk" >&5
8141 $as_echo "$aros_android_antapk" >&6; }
8143 if test "$host_os" = "mingw32"; then
8144 android_tool
="cmd //c $android_tool"
8152 #-----------------------------------------------------------------------------
8153 # External toolchains
8154 kernel_tool_prefix
="none"
8155 aros_tool_prefix
="none"
8156 elf_tool_prefix
="${target_cpu}-elf-"
8158 # This is the target configuration switch.
8159 case "$target_os" in
8161 aros_target_arch
="linux"
8162 aros_target_family
="unix"
8163 case "$target_cpu" in
8165 aros_target_cpu
="m68k"
8166 aros_object_format
="m68kelf"
8167 aros_flavour
="emulcompat"
8168 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8169 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8170 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8171 gcc_target_cpu
="mc68000"
8174 aros_target_cpu
="i386"
8175 aros_object_format
="elf_i386"
8176 aros_flavour
="emulation"
8177 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8178 aros_kernel_ldflags
="-Wl,-melf_i386"
8179 aros_nominal_depth
=8
8180 gcc_target_cpu
="i386"
8181 pci_hidd_target
="hidd-pci-linux"
8182 android_tool_dir_prefix
="x86"
8183 android_tool_prefix
="i686-android-linux"
8184 android_ndk_arch
="x86"
8187 aros_target_cpu
="x86_64"
8188 aros_object_format
="elf_x86_64"
8189 aros_flavour
="emulation"
8190 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8191 aros_isa_flags
="$aros_isa_flags -mcmodel=large -mno-red-zone"
8192 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8193 aros_config_cxxflags
="$aros_config_cxxflags -fno-omit-frame-pointer"
8194 aros_nominal_depth
=8
8195 pci_hidd_target
="hidd-pci-linux"
8198 aros_target_cpu
="ppc"
8199 aros_object_format
="elf32ppc"
8200 aros_flavour
="emulation"
8201 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8202 aros_nominal_depth
=8
8203 gcc_target_cpu
="ppc"
8206 # Same as powerpc, but I need this for the nightly build to work again.
8207 # Actually, the nightly should be made working with powerpc target.
8208 # That just was too much work for the moment, another week or two.
8210 aros_target_cpu
="ppc"
8211 aros_object_format
="elf32ppc"
8212 aros_flavour
="emulation"
8213 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8214 aros_nominal_depth
=8
8215 gcc_target_cpu
="ppc"
8218 aros_target_cpu
="aarch64"
8219 target_cpu
="aarch64"
8220 aros_object_format
="aarch64elf_aros"
8221 aros_flavour
="emulation"
8222 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8223 gcc_target_cpu
="aarch64"
8224 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
8225 aros_config_cxxflags
="$aros_config_cxxflags -fno-strict-aliasing -fno-omit-frame-pointer"
8226 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
8227 aros_arch_libs
="-laeabi"
8228 gcc_default_float_abi
="hard"
8229 kernel_tool_prefix
="aarch64-linux-gnueabihf-"
8232 aros_target_cpu
="arm"
8234 aros_object_format
="armelf_aros"
8235 aros_flavour
="emulation"
8236 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8237 gcc_target_cpu
="arm"
8238 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
8239 aros_config_cxxflags
="$aros_config_cxxflags -fno-strict-aliasing -fno-omit-frame-pointer"
8240 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
8241 aros_arch_libs
="-laeabi"
8242 gcc_default_float_abi
="hard"
8243 android_tool_dir_prefix
="arm-linux-androideabi"
8244 android_tool_prefix
="arm-linux-androideabi"
8245 android_ndk_arch
="arm"
8246 kernel_tool_prefix
="arm-linux-gnueabihf-"
8249 aros_target_cpu
="arm"
8250 aros_object_format
="armelf_aros"
8251 aros_flavour
="emulation"
8252 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8253 gcc_target_cpu
="arm"
8254 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
8255 aros_config_cxxflags
="$aros_config_cxxflags -fno-strict-aliasing -fno-omit-frame-pointer"
8256 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
8257 aros_arch_libs
="-laeabi"
8258 android_tool_dir_prefix
="arm-linux-androideabi"
8259 android_tool_prefix
="arm-linux-androideabi"
8260 android_ndk_arch
="arm"
8261 kernel_tool_prefix
="arm-linux-gnueabi-"
8264 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
8267 case "$aros_target_variant" in
8270 if test "$android_ndk_arch" = ""; then
8271 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
8274 aros_nominal_width
=320
8275 aros_nominal_height
=480
8276 if test "$aros_android_ndk" = "none"; then
8277 aros_kernel_cflags
="-mandroid"
8278 aros_kernel_ldflags
="-mandroid"
8281 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$kernel_tool_version/prebuilt/$android_build_os/bin:$PATH"
8282 kernel_tool_version
=""
8283 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
8284 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
8285 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
8286 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
8287 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
8290 host_android_gfx
=yes
8291 # Disable implicit PIC mode
8292 aros_config_cflags
="$aros_config_cflags -fno-pic"
8293 kernel_tool_prefix
="$android_tool_prefix-"
8299 aros_target_arch
="pc"
8300 aros_shared_default
="no"
8301 target_bootloader
="grub2"
8302 case "$target_cpu" in
8304 aros_target_cpu
="i386"
8307 if test "$aros_object_format" = "" ; then
8308 aros_object_format
="elf_i386"
8310 aros_flavour
="standalone"
8311 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8312 aros_kernel_ldflags
="-Wl,-melf_i386"
8313 aros_nominal_width
=640
8314 aros_nominal_height
=480
8315 gcc_target_cpu
="i386"
8318 PLATFORM_EXECSMP
="#define __AROSPLATFORM_SMP__"
8319 aros_target_cpu
="x86_64"
8321 if test "$aros_object_format" = "" ; then
8322 aros_object_format
="elf_x86_64"
8324 aros_flavour
="standalone"
8325 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8326 aros_isa_flags
="$aros_isa_flags -mcmodel=large -mno-red-zone"
8327 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -fno-omit-frame-pointer"
8328 aros_config_cxxflags
="$aros_config_cxxflags -fno-asynchronous-unwind-tables -fno-omit-frame-pointer"
8329 aros_kernel_ldflags
=""
8330 aros_nominal_width
=640
8331 aros_nominal_height
=480
8332 case "$aros_target_variant" in
8334 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8339 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
8345 aros_target_arch
="prep"
8346 aros_shared_default
="no"
8347 aros_target_cpu
="ppc"
8348 aros_object_format
="elf32ppc"
8349 aros_flavour
="ppcnative"
8350 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8351 aros_kernel_ldflags
=""
8352 aros_nominal_width
=640
8353 aros_nominal_height
=480
8354 gcc_target_cpu
="ppc"
8358 aros_target_arch
="freebsd"
8359 aros_target_family
="unix"
8360 aros_target_cpu
="i386"
8361 aros_flavour
="emulation"
8362 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8363 gcc_target_cpu
="i386"
8365 aros_target_strip_flags
="-x"
8369 aros_target_arch
="darwin"
8370 aros_target_family
="unix"
8371 aros_flavour
="emulation"
8372 case "$target_cpu" in
8374 aros_ios_platform
="iPhoneSimulator"
8375 aros_target_cpu
="i386"
8376 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8377 aros_kernel_ldflags
=""
8378 aros_macosx_version
="10.4"
8379 aros_nominal_depth
=8
8380 gcc_target_cpu
="i386"
8381 aros_object_format
="elf_i386"
8382 aros_kernel_ar_flags
="-cr"
8383 aros_target_strip_flags
="-x"
8384 kernel_tool_flags
="-m32"
8387 aros_target_cpu
="x86_64"
8388 aros_object_format
="elf_x86_64"
8389 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8390 aros_macosx_version
="10.6"
8391 aros_isa_flags
="$aros_isa_flags -mcmodel=large"
8392 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8393 aros_config_cxxflags
="$aros_config_cxxflags -fno-omit-frame-pointer"
8394 aros_kernel_cflags
="-m64"
8395 aros_kernel_ldflags
="-m64"
8396 aros_nominal_depth
=8
8398 aros_kernel_ar_flags
="-cr"
8401 aros_kernel_ranlib
="ranlib"
8403 aros_kernel_strip
="strip"
8404 kernel_tool_prefix
="i686-apple-darwin10-"
8407 aros_target_cpu
="ppc"
8408 aros_object_format
="elf32ppc"
8409 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8410 aros_kernel_ldflags
=""
8411 aros_macosx_version
="10.0"
8412 aros_nominal_depth
=8
8413 gcc_target_cpu
="ppc"
8415 aros_kernel_ar_flags
="-cr"
8416 aros_kernel_ld
="ld -arch ppc"
8417 aros_kernel_as
="as -arch ppc"
8418 aros_kernel_ranlib
="ranlib -arch ppc"
8419 aros_kernel_nm
="nm -arch ppc"
8420 aros_kernel_strip
="strip -arch ppc"
8421 kernel_tool_prefix
="powerpc-apple-darwin10-"
8424 aros_ios_platform
="iPhoneOS"
8425 aros_target_cpu
="arm"
8426 aros_object_format
="armelf_aros"
8427 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8428 aros_arch_libs
="-laeabi"
8429 aros_nominal_depth
=8
8430 gcc_target_cpu
="arm"
8432 aros_kernel_ar_flags
="-cr"
8433 aros_kernel_ld
="ld -arch arm"
8434 aros_kernel_ranlib
="ranlib -arch arm"
8435 kernel_tool_prefix
="arm-apple-darwin10-"
8436 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8439 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8442 case "$aros_target_variant" in
8444 aros_ios_version
="3.0"
8445 aros_nominal_width
=320
8446 aros_nominal_height
=480
8447 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8448 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8449 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8451 # This is here because it may depend on iOS or SDK version
8452 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8453 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8454 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8457 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8458 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8464 aros_target_arch
="dragonfly"
8465 aros_target_family
="unix"
8466 aros_flavour
="emulation"
8467 case "$target_cpu" in
8469 aros_target_cpu
="i386"
8470 aros_object_format
="elf_i386"
8471 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8474 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8475 aros_config_cxxflags
="$aros_config_cxxflags -fno-omit-frame-pointer"
8476 aros_target_cpu
="x86_64"
8477 aros_object_format
="elf_x86_64"
8478 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8481 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8487 aros_target_arch
="netbsd"
8488 aros_target_family
="unix"
8489 case "$target_cpu" in
8491 aros_target_cpu
="m68k"
8492 aros_object_format
="m68kelf"
8493 aros_flavour
="emulcompat"
8494 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8495 gcc_target_cpu
="mc68000"
8498 aros_target_cpu
="i386"
8499 aros_object_format
="elf_i386"
8500 aros_flavour
="emulation"
8501 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8502 aros_nominal_depth
=8
8503 gcc_target_cpu
="i386"
8506 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8509 aros_target_genmap
="-Wl,-M -Xlinker >"
8510 aros_flavour
="emulation"
8511 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8515 aros_target_arch
="openbsd"
8516 aros_target_family
="unix"
8517 case "$target_cpu" in
8519 aros_target_cpu
="i386"
8520 aros_object_format
="elf_i386"
8521 aros_flavour
="emulation"
8522 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8523 gcc_target_cpu
="i386"
8526 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8529 aros_target_genmap
="-Wl,-M -Xlinker >"
8530 aros_target_nm_flags
="-u"
8531 aros_flavour
="emulation"
8535 aros_target_arch
="solaris"
8536 aros_target_family
="unix"
8537 case "$target_cpu" in
8539 aros_target_cpu
="i386"
8540 aros_object_format
="elf_i386"
8541 aros_flavour
="emulation"
8542 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8543 aros_nominal_depth
=8
8544 gcc_target_cpu
="i386"
8547 aros_target_cpu
="sparc"
8548 aros_object_format
="elf_sparc"
8549 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8550 gcc_target_cpu
="sparc"
8553 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8556 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8557 aros_config_cxxflags
="$aros_config_cxxflags -D$aros_target_cpu"
8558 aros_flavour
="emulation"
8562 aros_target_arch
="morphos"
8563 aros_shared_default
="no"
8564 aros_target_cpu
="ppc"
8565 aros_object_format
="elf_ppc"
8566 aros_flavour
="nativecompat"
8567 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8568 gcc_target_cpu
="ppc"
8572 aros_target_arch
="sam440"
8573 aros_shared_default
="no"
8574 aros_target_cpu
="ppc"
8575 aros_object_format
="elf32ppc"
8576 aros_flavour
="ppcnative"
8577 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8578 aros_kernel_ldflags
=""
8579 aros_nominal_width
=1024
8580 aros_nominal_height
=768
8581 aros_nominal_depth
=24
8582 aros_isa_flags
="$aros_isa_flags -mcpu=440fp -mno-toc"
8583 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables"
8584 aros_config_cxxflags
="$aros_config_cxxflags -fno-asynchronous-unwind-tables"
8585 gcc_target_cpu
="powerpc"
8589 aros_target_arch
="efika"
8590 aros_shared_default
="no"
8591 aros_target_cpu
="arm"
8592 aros_object_format
="armelf_aros"
8593 aros_flavour
="standalone"
8594 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8595 aros_kernel_ldflags
=""
8596 aros_nominal_width
=1024
8597 aros_nominal_height
=600
8598 aros_arch_libs
="-laeabi"
8599 gcc_default_cpu
="armv7-a"
8600 gcc_default_fpu
="vfpv3"
8601 aros_isa_flags
="$aros_isa_flags -mtune=cortex-a8"
8602 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8603 aros_config_cxxflags
="$aros_config_cxxflags -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8604 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8605 aros_optimization_cflags
="$aros_optimization_cflags -Os"
8606 case "$target_cpu" in
8608 gcc_default_float_abi
="hard"
8613 gcc_default_float_abi
="softfp"
8616 as_fn_error $?
"\"Unknown CPU for EfikaMX $target_cpu\"" "$LINENO" 5
8622 aros_target_arch
="chrp"
8623 aros_shared_default
="no"
8624 aros_target_cpu
="ppc"
8625 aros_object_format
="elf32ppc"
8626 aros_flavour
="ppcnative"
8627 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8628 aros_kernel_ldflags
=""
8629 aros_nominal_width
=640
8630 aros_nominal_height
=480
8631 aros_isa_flags
="$aros_isa_flags -mno-toc"
8632 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables"
8633 aros_config_cxxflags
="$aros_config_cxxflags -fno-asynchronous-unwind-tables"
8634 gcc_target_cpu
="powerpc"
8635 case "$aros_target_variant" in
8637 aros_isa_flags
="$aros_isa_flags -mcpu=603e"
8638 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1"
8639 aros_config_cxxflags
="$aros_config_cxxflags -DBIG_ENDIAN_OHCI=1"
8645 PLATFORM_EXECSMP
="#define __AROSPLATFORM_SMP__"
8646 aros_flavour
="standalone"
8647 aros_target_arch
="raspi"
8649 aros_shared_default
="no"
8651 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__"
8653 case "$target_cpu" in
8655 aros_target_cpu
="aarch64"
8656 gcc_default_cpu
="aarch64"
8657 aros_object_format
="aarch64elf_aros"
8660 aros_target_cpu
="arm"
8661 gcc_default_cpu
="armv6zk"
8662 gcc_default_cpu_tune
="arm1176jzf-s"
8663 aros_object_format
="armelf_aros"
8664 aros_isa_flags
="$aros_isa_flags -marm"
8665 aros_config_cflags
="$aros_config_cflags"
8666 aros_config_cxxflags
="$aros_config_cxxflags"
8667 aros_config_aflags
="$aros_config_aflags -marm"
8668 aros_kernel_cflags
="$aros_kernel_cflags -marm"
8669 aros_target_mkdep
="$aros_target_mkdep -Darm"
8670 aros_arch_libs
="-laeabi"
8673 aros_target_cpu
="arm"
8674 gcc_default_cpu
="armv6zk"
8675 gcc_default_cpu_tune
="arm1176jzf-s"
8676 aros_object_format
="armelf_aros"
8677 aros_isa_flags
="$aros_isa_flags -marm"
8678 aros_config_cflags
="$aros_config_cflags"
8679 aros_config_cxxflags
="$aros_config_cxxflags"
8680 aros_config_aflags
="$aros_config_aflags -marm"
8681 aros_kernel_cflags
="$aros_kernel_cflags -marm"
8682 aros_target_mkdep
="$aros_target_mkdep -Darm"
8683 aros_arch_libs
="-laeabi"
8686 as_fn_error $?
"\"Unknown CPU for RasPi $target_cpu\"" "$LINENO" 5
8690 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -fno-exceptions"
8691 aros_config_cxxflags
="$aros_config_cxxflags -fno-asynchronous-unwind-tables -fno-exceptions"
8692 aros_config_aflags
="$aros_config_aflags -fno-asynchronous-unwind-tables -fno-exceptions"
8693 aros_kernel_cflags
="$aros_kernel_cflags -fno-asynchronous-unwind-tables -fno-exceptions"
8695 case "$aros_target_variant" in
8697 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8703 aros_flavour
="standalone"
8704 aros_target_arch
="stm32f7_discovery"
8705 aros_target_cpu
="arm"
8706 aros_target_cpu_mode
="thumb2"
8707 aros_object_format
="armelf_aros"
8708 aros_shared_default
="no"
8710 gcc_default_cpu
="armv7e-m"
8711 gcc_default_cpu_tune
="cortex-m7"
8712 gcc_default_fpu
="fpv5-sp-d16"
8713 gcc_default_float_abi
="hard"
8715 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dthumb"
8719 aros_target_arch
="amiga"
8720 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8721 aros_shared_default
="no"
8723 case "$target_cpu" in
8725 # Check whether --enable-amigaos_compliance was given.
8726 if test "${enable_amigaos_compliance+set}" = set; then :
8727 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8731 aros_target_cpu
="m68k"
8732 aros_object_format
="m68kelf"
8733 aros_flavour
="standcompat"
8734 gcc_target_cpu
="m68000"
8735 aros_nowarn_flags
="$aros_nowarn_flags NOWARN_VOLATILE_REGISTER_VAR"
8736 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -DNOLIBINLINE"
8737 aros_config_cxxflags
="$aros_config_cxxflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -DNOLIBINLINE"
8738 aros_optimization_cflags
="$aros_optimization_cflags -Os"
8739 aros_config_aflags
="$aros_config_aflags"
8740 aros_target_strip_flags
="-R.comment --strip-debug"
8741 aros_nominal_width
=640
8742 aros_nominal_height
=256
8743 aros_nominal_depth
=2
8747 aros_flavour
="native"
8748 gcc_target_cpu
="ppc"
8751 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8757 aros_target_arch
="mingw32"
8758 aros_shared_default
="no"
8759 aros_flavour
="emulation"
8760 aros_shared_cflags
=""
8761 need_crosstools
="yes"
8764 case "$target_cpu" in
8766 aros_target_cpu
="i386"
8767 aros_object_format
="elf_i386"
8768 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8769 aros_nominal_depth
=8
8770 gcc_target_cpu
="i386"
8772 kernel_tool_prefix
="i386-mingw32-"
8775 aros_target_cpu
="x86_64"
8776 aros_object_format
="elf_x86_64"
8777 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8778 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8779 aros_config_cxxflags
="$aros_config_cxxflags -fno-omit-frame-pointer"
8780 aros_nominal_depth
=8
8781 kernel_tool_prefix
="x86_64-w64-mingw32-"
8784 aros_target_cpu
="arm"
8785 aros_object_format
="armelf_aros"
8786 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8787 aros_arch_libs
="-laeabi"
8788 aros_nominal_depth
=8
8789 gcc_target_cpu
="arm"
8790 gcc_default_float_abi
="soft"
8791 kernel_tool_prefix
="arm-mingw32ce-"
8792 aros_nominal_width
=160
8793 aros_nominal_height
=160
8796 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8799 if test $host_os = "cygwin"; then
8800 aros_kernel_cflags
="-mno-cygwin"
8804 aros_target_arch
="pp"
8805 aros_shared_default
="no"
8806 case "$target_cpu" in
8808 aros_target_cpu
="m68k"
8809 aros_object_format
="m68kelf"
8810 aros_flavour
="palmnative"
8811 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8812 aros_nominal_width
=160
8813 aros_nominal_height
=160
8814 aros_nominal_depth
=1
8815 aros_target_ar_flags
="cru"
8816 aros_compiler_libs
="-lgcc1"
8817 aros_shared_default
=no
8818 aros_shared_cflags
="-fpic"
8819 aros_shared_aflags
=""
8820 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8821 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8822 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8823 aros_debug_aflags
=""
8824 aros_debug_ldflags
="$aros_symbols_debug"
8825 aros_mungwall_debug
="0"
8826 aros_modules_debug
="0"
8827 gcc_target_cpu
="mc68000"
8828 ignore_undefined_symbols
="-ius"
8831 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8837 aros_target_arch
="mac"
8838 aros_shared_default
="no"
8839 case "$target_cpu" in
8841 aros_target_cpu
="m68k"
8842 aros_object_format
="m68kelf"
8843 aros_flavour
="mac68knative"
8844 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8845 aros_nominal_width
=512
8846 aros_nominal_height
=384
8847 aros_nominal_depth
=8
8848 aros_target_ar_flags
="cru"
8849 aros_compiler_libs
="-lgcc1"
8850 aros_shared_default
=no
8851 aros_shared_cflags
="-fpic"
8852 aros_shared_aflags
=""
8853 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8854 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8855 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8856 aros_debug_aflags
=""
8857 aros_debug_ldflags
="$aros_symbols_debug"
8858 aros_mungwall_debug
="0"
8859 aros_modules_debug
="0"
8860 gcc_target_cpu
="mc68000"
8861 ignore_undefined_symbols
="-ius"
8864 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8870 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8874 #-----------------------------------------------------------------------------
8875 crosstools_guess
="yes"
8876 aros_target_toolchain
="no"
8877 aros_config_sysroot
=""
8878 aros_kernel_sysroot
=""
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8881 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8883 # Check whether --with-kernel-toolchain-prefix was given.
8884 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8885 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8889 $as_echo "$kernel_tool_prefix" >&6; }
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8892 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8894 # Check whether --with-elf-toolchain-prefix was given.
8895 if test "${with_elf_toolchain_prefix+set}" = set; then :
8896 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8897 crosstools_guess
="no"
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8901 $as_echo "$elf_tool_prefix" >&6; }
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8904 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8906 # Check whether --with-aros-toolchain was given.
8907 if test "${with_aros_toolchain+set}" = set; then :
8908 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8909 crosstools_guess
="no"
8912 if test "$aros_tool_prefix" = "yes" ; then
8913 aros_tool_prefix
=$aros_target_cpu-aros-
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8916 $as_echo "$aros_tool_prefix" >&6; }
8918 #-----------------------------------------------------------------------------
8919 # Checking if we should build crosstools..
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8921 $as_echo_n "checking whether to build crosstools... " >&6; }
8922 # Check whether --enable-crosstools was given.
8923 if test "${enable_crosstools+set}" = set; then :
8924 enableval
=$enable_crosstools; crosstools
="$enableval"
8926 crosstools
="$crosstools_guess"
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8930 $as_echo "$crosstools" >&6; }
8932 if test "${crosstools}" = "yes"; then
8933 if test "${crosstools_guess}" = "no"; then
8934 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8938 if test "${crosstools}" = "yes" ||
test "${crosstools_guess}" = "no"; then
8939 aros_target_toolchain
="yes"
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8943 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8945 # Check whether --with-aros-toolchain-install was given.
8946 if test "${with_aros_toolchain_install+set}" = set; then :
8947 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8950 if test "x$aros_toolchain_install" = "x"; then
8951 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8953 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8954 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8955 if test "$crosstools_guess" = "no" ; then
8956 toolchain_needs_sysroot
=yes
8958 if test "x-$aros_flavour" != "x-emulation" -a "x-$aros_flavour" != "x-emulcompat" ; then
8959 aros_kernel_sysroot
= $aros_config_sysroot
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8964 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking If we need to use --sysroot" >&5
8967 $as_echo_n "checking If we need to use --sysroot... " >&6; }
8968 if test "$toolchain_needs_sysroot" = "yes" ; then
8969 aros_config_sysroot
="--sysroot $AROS_BUILDDIR_UNIX/bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Developer"
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolchain_needs_sysroot" >&5
8972 $as_echo "$toolchain_needs_sysroot" >&6; }
8974 #-----------------------------------------------------------------------------
8975 if test "$aros_toolchain" = "gnu" ; then
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target binutils version to use" >&5
8977 $as_echo_n "checking what specific target binutils version to use... " >&6; }
8980 # Check whether --with-binutils-version was given.
8981 if test "${with_binutils_version+set}" = set; then :
8982 withval
=$with_binutils_version; use_binutils_version
="$withval"
8984 use_binutils_version
=""
8987 if test "$use_binutils_version" = ""; then
8988 target_binutils_version
="$default_binutils_version"
8990 target_binutils_version
="$use_binutils_version"
8992 if test "$aros_toolchain" = "gnu" ; then
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_binutils_version" >&5
8994 $as_echo "$target_binutils_version" >&6; }
8998 # Helper to identify gcc version
9001 #-----------------------------------------------------------------------------
9002 if test "$aros_toolchain" = "gnu" ; then
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
9004 $as_echo_n "checking what specific target gcc version to use... " >&6; }
9007 # Check whether --with-gcc-version was given.
9008 if test "${with_gcc_version+set}" = set; then :
9009 withval
=$with_gcc_version; use_gcc_version
="$withval"
9014 if test "$use_gcc_version" = ""; then
9015 if test "${crosstools}" = "no"; then
9016 if test "x$aros_toolchain_install" != "x"; then
9018 target_gcc_version
=""
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
9020 $as_echo_n "checking gcc version... " >&6; }
9021 if ${ax_cv_gcc_version+:} false
; then :
9022 $as_echo_n "(cached) " >&6
9025 ax_cv_gcc_version
="`$AROS_CROSSTOOLSDIR/${aros_tool_prefix}${toolchain_cpp_preprocessor} -dumpversion`"
9026 if test "x$ax_cv_gcc_version" = "x"; then :
9028 ax_cv_gcc_version
=""
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_version" >&5
9034 $as_echo "$ax_cv_gcc_version" >&6; }
9035 target_gcc_version
=$ax_cv_gcc_version
9040 if test "$use_gcc_version" = ""; then
9041 target_gcc_version
="$default_gcc_version"
9044 target_gcc_version
="$use_gcc_version"
9046 if test "$aros_toolchain" = "gnu" ; then
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_gcc_version" >&5
9048 $as_echo "$target_gcc_version" >&6; }
9050 GCC_VERSION_MAJOR
=$
(echo $target_gcc_version | cut
-d'.' -f1)
9051 GCC_VERSION_MINOR
=$
(echo $target_gcc_version | cut
-d'.' -f2)
9052 GCC_VERSION_PATCH
=$
(echo $target_gcc_version | cut
-d'.' -f3)
9054 gcc_fix_bitfields
="false"
9055 if test "$GCC_VERSION_MAJOR" -gt "4" ; then
9056 gcc_fix_bitfields
="true"
9058 if test "$GCC_VERSION_MAJOR" -gt "3" ; then
9059 if test "$GCC_VERSION_MINOR" -gt "6" ; then
9060 gcc_fix_bitfields
="true"
9065 if test "$gcc_fix_bitfields" = "true" ; then
9066 case "$aros_target_cpu" in
9068 aros_kernel_cflags
="$aros_kernel_cflags -mno-ms-bitfields"
9069 aros_isa_flags
="$aros_isa_flags -mno-ms-bitfields"
9072 aros_kernel_cflags
="$aros_kernel_cflags -mno-ms-bitfields"
9073 aros_isa_flags
="$aros_isa_flags -mno-ms-bitfields"
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Objective-C suppport" >&5
9080 $as_echo_n "checking whether to enable Objective-C suppport... " >&6; }
9081 # Check whether --enable-objc was given.
9082 if test "${enable_objc+set}" = set; then :
9083 enableval
=$enable_objc; objc
="$enableval"
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objc" >&5
9089 $as_echo "$objc" >&6; }
9090 if test "x$objc" = "xyes"; then
9093 objc_target
="no-objc"
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Java suppport" >&5
9097 $as_echo_n "checking whether to enable Java suppport... " >&6; }
9098 # Check whether --enable-java was given.
9099 if test "${enable_java+set}" = set; then :
9100 enableval
=$enable_java; java
="$enableval"
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $java" >&5
9106 $as_echo "$java" >&6; }
9107 if test "x$java" != "xno"; then
9110 java_target
="no-java"
9113 spec_obj_format
="-m $aros_object_format"
9114 # Now process extra architecture-specific options.
9115 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
9116 # as well as floating-point ABI.
9117 case "$aros_target_cpu" in
9119 spec_obj_format
="%{!m32:-m elf_x86_64} %{m32:-m elf_i386}"
9122 if test "$gcc_default_cpu" = ""; then
9123 gcc_default_cpu
="armv6"
9125 if test "$gcc_default_fpu" = ""; then
9126 gcc_default_fpu
="vfp"
9128 if test "$gcc_default_float_abi" = ""; then
9129 if test "$target_cpu" = "armhf"; then
9130 gcc_default_float_abi
="hard"
9132 gcc_default_float_abi
="softfp"
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
9137 $as_echo_n "checking Which minimum CPU to use... " >&6; }
9139 # Check whether --with-cpu was given.
9140 if test "${with_cpu+set}" = set; then :
9141 withval
=$with_cpu; aros_gcc_cpu
="$withval"
9143 aros_gcc_cpu
=$gcc_default_cpu
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
9147 $as_echo "$aros_gcc_cpu" >&6; }
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
9150 $as_echo_n "checking Which minimum FPU to use... " >&6; }
9152 # Check whether --with-fpu was given.
9153 if test "${with_fpu+set}" = set; then :
9154 withval
=$with_fpu; aros_gcc_fpu
="$withval"
9156 aros_gcc_fpu
=$gcc_default_fpu
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
9160 $as_echo "$aros_gcc_fpu" >&6; }
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
9163 $as_echo_n "checking Which floating point ABI to use... " >&6; }
9165 # Check whether --with-float was given.
9166 if test "${with_float+set}" = set; then :
9167 withval
=$with_float; aros_gcc_float_abi
="$withval"
9169 aros_gcc_float_abi
=$gcc_default_float_abi
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
9173 $as_echo "$aros_gcc_float_abi" >&6; }
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which ARM mode to use" >&5
9176 $as_echo_n "checking Which ARM mode to use... " >&6; }
9177 if test "$aros_target_cpu_mode" = ""; then
9178 aros_target_cpu_mode
="arm32"
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Defaulting to $aros_target_cpu_mode" >&5
9180 $as_echo "Defaulting to $aros_target_cpu_mode" >&6; }
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cpu_mode" >&5
9183 $as_echo "$aros_target_cpu_mode" >&6; }
9186 case "$aros_target_cpu_mode" in
9188 gcc_default_mode
="arm"
9189 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"
9192 as_fn_error $?
"ARM 64-bit mode is unsupported" "$LINENO" 5
9195 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9198 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9201 gcc_default_mode
="thumb"
9202 # Do not specify -mthumb-interwork as it may add extra code to support arm/thumb interwork
9203 aros_isa_flags
="$aros_isa_flags -m$gcc_default_mode -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi"
9206 as_fn_error $?
"Unsupported ARM mode specified $aros_target_cpu_mode" "$LINENO" 5
9210 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -fno-exceptions"
9211 aros_config_cxxflags
="$aros_config_cxxflags -fno-asynchronous-unwind-tables -fno-exceptions"
9212 aros_config_aflags
="$aros_config_aflags -fno-asynchronous-unwind-tables -fno-exceptions"
9215 aros_isa_flags
="$aros_isa_flags -m32 -march=i486"
9216 aros_kernel_cflags
="$aros_kernel_cflags $aros_isa_flags"
9217 aros_kernel_ldflags
="$aros_kernel_ldflags -m32"
9221 # Some architectures may need custom ELF specs.
9222 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
9223 elf_specs_in
=config
/${aros_object_format}-specs.
in
9225 elf_specs_in
=config
/elf-specs.
in
9228 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
9229 # Since we override specs, we may need to put these defines there
9230 if test "$gcc_target_cpu" != ""; then
9231 gcc_target_cpu
="-D__${gcc_target_cpu}__"
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
9235 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
9237 # Check whether --with-portssources was given.
9238 if test "${with_portssources+set}" = set; then :
9239 withval
=$with_portssources; with_portssrcdir
=$withval
9241 with_portssrcdir
="default"
9244 if test "$with_portssrcdir" = "default"; then
9245 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
9247 AROS_PORTSSRCDIR
="$with_portssrcdir"
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
9250 $as_echo "$AROS_PORTSSRCDIR" >&6; }
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
9253 $as_echo_n "checking which bootloader to use... " >&6; }
9255 # Check whether --with-bootloader was given.
9256 if test "${with_bootloader+set}" = set; then :
9257 withval
=$with_bootloader; target_bootloader
=$withval
9259 target_bootloader
=$target_bootloader
9262 if test "$target_bootloader" = "none"; then
9263 aros_target_bootloader
=""
9265 aros_target_bootloader
="$target_bootloader"
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
9268 $as_echo "$target_bootloader" >&6; }
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
9271 $as_echo_n "checking which icon-set to use... " >&6; }
9273 # Check whether --with-iconset was given.
9274 if test "${with_iconset+set}" = set; then :
9275 withval
=$with_iconset; target_iconset
=$withval
9277 target_iconset
="default"
9280 if test "$target_iconset" = "default"; then
9281 aros_target_iconset
="Gorilla"
9282 target_iconset
="default (Gorilla)"
9284 aros_target_iconset
="$target_iconset"
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
9287 $as_echo "$target_iconset" >&6; }
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
9290 $as_echo_n "checking which GUI Theme to use... " >&6; }
9292 # Check whether --with-theme was given.
9293 if test "${with_theme+set}" = set; then :
9294 withval
=$with_theme; target_guitheme
=$withval
9296 target_guitheme
="default"
9299 if test "$target_guitheme" = "default"; then
9300 aros_target_guitheme
="Ice"
9302 aros_target_guitheme
="$target_guitheme"
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
9305 $as_echo "$aros_target_guitheme" >&6; }
9307 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
9311 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9315 if test "$aros_host_cpu" == "x86_64" ; then
9316 if test "$aros_target_cpu" == "i386" ; then
9321 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9322 if test "$aros_host_arch" != "$aros_target_arch" ; then
9326 if test "$host_cc_elf" = "no" ; then
9331 if test "$cross_compiling" = "no" ; then
9332 kernel_tool_prefix
=""
9333 if test "$host_cc_elf" = "yes" ; then
9338 if test "$kernel_tool_version" != ""; then
9339 kernel_tool_version
="-$kernel_tool_version"
9342 #######################################################################
9343 ## Compute what toolchains to use, and their paths ##
9344 #######################################################################
9346 # This takes, as input:
9347 # crosstools {yes,no}
9348 # kernel_tool_version {"",[version]}
9349 # target_tool_version {"",[version]}
9350 # kernel_tool_prefix {none,[some-arch-os-]}
9352 # target_tool_prefix ${aros_target_cpu}-aros-
9353 # aros_tool_prefix ${aros_target_cpu}-aros-
9356 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9357 # Where the 'kernel' binaries are located
9358 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9359 # Where the 'target' binaries are located
9360 # (not the symlink farm - that is aros_target_*!)
9363 # if crosstools then
9364 # if kernel_tools_prefix = "no-kernel-prefix-"
9365 # aros_kernel_* = crosstools cc paths
9366 # aros_kernel_cc = elf cc wrapper around crosstools cc
9368 # VALIDATE(${kernel_tools_prefix}*)
9369 # aros_kernel_* = ${kernel_tools_prefix}*
9370 # if ${kernel_tools_prefix}cc is an AROS gcc
9371 # aros_kernel_cc = ${kernel_tools_prefix}cc
9373 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
9377 # orig_target_* = aros built crosstools
9378 # orig_target_cc = elf cc wrapper around crosstools cc
9380 # VALIDATE(${kernel_tools_prefix}*)
9382 # orig_target_* = aros_kernel_*
9383 # if aros_kernel_cc is an AROS gcc
9384 # orig_target_cc = aros_kernel_cc
9386 # orig_target_cc = aros cc wrapper around aros_kernel_cc
9390 if test "$aros_toolchain" = "gnu" ; then
9391 target_tool_prefix
="${aros_target_cpu}-aros-"
9392 elif test "$aros_toolchain" = "llvm" ; then
9393 target_tool_prefix
="bin/"
9396 if test "$kernel_tool_prefix" != "" ; then
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
9398 $as_echo_n "checking which kernel tools... " >&6; }
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
9400 $as_echo "$kernel_tool_prefix" >&6; };
9403 if test "$kernel_tool_prefix" = "none" ; then
9404 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9405 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
9408 # Kernel tools required - find them
9409 # Note that 'normally', aros_kernel_* overrides will be
9410 # empty, unless specified in the per-arch sections above.
9411 if test "x$aros_kernel_cpp" = "x"; then
9412 aros_kernel_cpp
=${kernel_tool_prefix}${CPP}
9414 if test "${kernel_tool_version}" != ""; then
9415 if test "$aros_kernel_cpp" != ""; then
9416 ac_prog_args
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9417 ac_prog_cmd
=`expr "X$aros_kernel_cpp" : '^\S*'`
9418 aros_kernel_cpp
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9422 if test "$aros_kernel_cpp" = ""; then
9423 if test "$cross_compiling" = "yes" ; then
9424 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
9425 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9427 $as_echo_n "checking for $ac_word... " >&6; }
9428 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9429 $as_echo_n "(cached) " >&6
9431 case $aros_kernel_cpp in
9433 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9440 test -z "$as_dir" && as_dir
=.
9441 for ac_exec_ext
in '' $ac_executable_extensions; do
9442 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9443 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9454 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9455 if test -n "$aros_kernel_cpp"; then
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9457 $as_echo "$aros_kernel_cpp" >&6; }
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9460 $as_echo "no" >&6; }
9465 if test "$GCC" = "yes"; then
9466 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
9467 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
9468 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9470 $as_echo_n "checking for $ac_word... " >&6; }
9471 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9472 $as_echo_n "(cached) " >&6
9474 case $aros_kernel_cpp in
9476 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9480 for as_dir
in `dirname $aros_gcc_cpp`
9483 test -z "$as_dir" && as_dir
=.
9484 for ac_exec_ext
in '' $ac_executable_extensions; do
9485 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9486 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9497 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9498 if test -n "$aros_kernel_cpp"; then
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9500 $as_echo "$aros_kernel_cpp" >&6; }
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9503 $as_echo "no" >&6; }
9508 if test "$aros_kernel_cpp" = ""; then
9509 # Extract the first word of "cpp", so it can be a program name with args.
9510 set dummy cpp
; ac_word
=$2
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9512 $as_echo_n "checking for $ac_word... " >&6; }
9513 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9514 $as_echo_n "(cached) " >&6
9516 case $aros_kernel_cpp in
9518 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9525 test -z "$as_dir" && as_dir
=.
9526 for ac_exec_ext
in '' $ac_executable_extensions; do
9527 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9528 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9539 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9540 if test -n "$aros_kernel_cpp"; then
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9542 $as_echo "$aros_kernel_cpp" >&6; }
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9545 $as_echo "no" >&6; }
9552 ac_tool_optarg
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9553 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
9554 set dummy
$aros_kernel_cpp; ac_word
=$2
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9556 $as_echo_n "checking for $ac_word... " >&6; }
9557 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9558 $as_echo_n "(cached) " >&6
9560 case $aros_kernel_cpp in
9562 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9569 test -z "$as_dir" && as_dir
=.
9570 for ac_exec_ext
in '' $ac_executable_extensions; do
9571 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9572 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9583 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9584 if test -n "$aros_kernel_cpp"; then
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9586 $as_echo "$aros_kernel_cpp" >&6; }
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9589 $as_echo "no" >&6; }
9593 aros_kernel_cpp
="$aros_kernel_cpp $ac_tool_optarg"
9597 if test "$aros_kernel_cpp" = ""; then
9600 if test "$aros_kernel_cpp" = "no"; then
9603 if test "$req_avail" = "no"; then
9604 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
9607 if test "x$aros_kernel_cc" = "x"; then
9608 aros_kernel_cc
=${kernel_tool_prefix}${CC}
9610 if test "${kernel_tool_version}" != ""; then
9611 if test "$aros_kernel_cc" != ""; then
9612 ac_prog_args
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
9613 ac_prog_cmd
=`expr "X$aros_kernel_cc" : '^\S*'`
9614 aros_kernel_cc
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9618 if test "$aros_kernel_cc" = ""; then
9619 if test "$cross_compiling" = "yes" ; then
9620 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
9621 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9623 $as_echo_n "checking for $ac_word... " >&6; }
9624 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9625 $as_echo_n "(cached) " >&6
9627 case $aros_kernel_cc in
9629 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9636 test -z "$as_dir" && as_dir
=.
9637 for ac_exec_ext
in '' $ac_executable_extensions; do
9638 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9639 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9650 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9651 if test -n "$aros_kernel_cc"; then
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9653 $as_echo "$aros_kernel_cc" >&6; }
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9656 $as_echo "no" >&6; }
9661 if test "$GCC" = "yes"; then
9662 aros_gcc_cc
=`$CC -print-prog-name=cc`
9663 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
9664 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9666 $as_echo_n "checking for $ac_word... " >&6; }
9667 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9668 $as_echo_n "(cached) " >&6
9670 case $aros_kernel_cc in
9672 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9676 for as_dir
in `dirname $aros_gcc_cc`
9679 test -z "$as_dir" && as_dir
=.
9680 for ac_exec_ext
in '' $ac_executable_extensions; do
9681 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9682 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9693 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9694 if test -n "$aros_kernel_cc"; then
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9696 $as_echo "$aros_kernel_cc" >&6; }
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9699 $as_echo "no" >&6; }
9704 if test "$aros_kernel_cc" = ""; then
9705 # Extract the first word of "cc", so it can be a program name with args.
9706 set dummy cc
; ac_word
=$2
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9708 $as_echo_n "checking for $ac_word... " >&6; }
9709 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9710 $as_echo_n "(cached) " >&6
9712 case $aros_kernel_cc in
9714 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9721 test -z "$as_dir" && as_dir
=.
9722 for ac_exec_ext
in '' $ac_executable_extensions; do
9723 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9724 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9735 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9736 if test -n "$aros_kernel_cc"; then
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9738 $as_echo "$aros_kernel_cc" >&6; }
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9741 $as_echo "no" >&6; }
9748 ac_tool_optarg
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
9749 # Extract the first word of "$aros_kernel_cc", so it can be a program name with args.
9750 set dummy
$aros_kernel_cc; ac_word
=$2
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9752 $as_echo_n "checking for $ac_word... " >&6; }
9753 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9754 $as_echo_n "(cached) " >&6
9756 case $aros_kernel_cc in
9758 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9765 test -z "$as_dir" && as_dir
=.
9766 for ac_exec_ext
in '' $ac_executable_extensions; do
9767 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9768 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9779 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9780 if test -n "$aros_kernel_cc"; then
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9782 $as_echo "$aros_kernel_cc" >&6; }
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9785 $as_echo "no" >&6; }
9789 aros_kernel_cc
="$aros_kernel_cc $ac_tool_optarg"
9793 if test "$aros_kernel_cc" = ""; then
9796 if test "$aros_kernel_cc" = "no"; then
9799 if test "$req_avail" = "no"; then
9800 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9803 if test "x$aros_kernel_cxx" = "x"; then
9804 aros_kernel_cxx
=${kernel_tool_prefix}${CXX}
9806 if test "${kernel_tool_version}" != ""; then
9807 if test "$aros_kernel_cxx" != ""; then
9808 ac_prog_args
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
9809 ac_prog_cmd
=`expr "X$aros_kernel_cxx" : '^\S*'`
9810 aros_kernel_cxx
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9814 if test "$aros_kernel_cxx" = ""; then
9815 if test "$cross_compiling" = "yes" ; then
9816 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9817 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9819 $as_echo_n "checking for $ac_word... " >&6; }
9820 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9821 $as_echo_n "(cached) " >&6
9823 case $aros_kernel_cxx in
9825 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9832 test -z "$as_dir" && as_dir
=.
9833 for ac_exec_ext
in '' $ac_executable_extensions; do
9834 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9835 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9846 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9847 if test -n "$aros_kernel_cxx"; then
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9849 $as_echo "$aros_kernel_cxx" >&6; }
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9852 $as_echo "no" >&6; }
9857 if test "$GCC" = "yes"; then
9858 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9859 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9860 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9862 $as_echo_n "checking for $ac_word... " >&6; }
9863 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9864 $as_echo_n "(cached) " >&6
9866 case $aros_kernel_cxx in
9868 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9872 for as_dir
in `dirname $aros_gcc_cxx`
9875 test -z "$as_dir" && as_dir
=.
9876 for ac_exec_ext
in '' $ac_executable_extensions; do
9877 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9878 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9889 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9890 if test -n "$aros_kernel_cxx"; then
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9892 $as_echo "$aros_kernel_cxx" >&6; }
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9895 $as_echo "no" >&6; }
9900 if test "$aros_kernel_cxx" = ""; then
9901 # Extract the first word of "cxx", so it can be a program name with args.
9902 set dummy cxx
; ac_word
=$2
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9904 $as_echo_n "checking for $ac_word... " >&6; }
9905 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9906 $as_echo_n "(cached) " >&6
9908 case $aros_kernel_cxx in
9910 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9917 test -z "$as_dir" && as_dir
=.
9918 for ac_exec_ext
in '' $ac_executable_extensions; do
9919 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9920 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9931 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9932 if test -n "$aros_kernel_cxx"; then
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9934 $as_echo "$aros_kernel_cxx" >&6; }
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9937 $as_echo "no" >&6; }
9944 ac_tool_optarg
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
9945 # Extract the first word of "$aros_kernel_cxx", so it can be a program name with args.
9946 set dummy
$aros_kernel_cxx; ac_word
=$2
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9948 $as_echo_n "checking for $ac_word... " >&6; }
9949 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9950 $as_echo_n "(cached) " >&6
9952 case $aros_kernel_cxx in
9954 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9961 test -z "$as_dir" && as_dir
=.
9962 for ac_exec_ext
in '' $ac_executable_extensions; do
9963 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9964 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9975 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9976 if test -n "$aros_kernel_cxx"; then
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9978 $as_echo "$aros_kernel_cxx" >&6; }
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9981 $as_echo "no" >&6; }
9985 aros_kernel_cxx
="$aros_kernel_cxx $ac_tool_optarg"
9988 # If it's set, make sure it's really there
9989 if test "x$aros_kernel_cxx" != "x" ; then
9991 if test "$aros_kernel_cxx" = ""; then
9994 if test "$aros_kernel_cxx" = "no"; then
9997 if test "$req_avail" = "no"; then
9998 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
10002 if test "$aros_kernel_ld" = ""; then
10003 if test "$cross_compiling" = "yes" ; then
10004 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
10005 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10007 $as_echo_n "checking for $ac_word... " >&6; }
10008 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10009 $as_echo_n "(cached) " >&6
10011 case $aros_kernel_ld in
10013 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10017 for as_dir
in $PATH
10020 test -z "$as_dir" && as_dir
=.
10021 for ac_exec_ext
in '' $ac_executable_extensions; do
10022 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10023 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10034 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10035 if test -n "$aros_kernel_ld"; then
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10037 $as_echo "$aros_kernel_ld" >&6; }
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10040 $as_echo "no" >&6; }
10045 if test "$GCC" = "yes"; then
10046 aros_gcc_ld
=`$CC -print-prog-name=ld`
10047 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
10048 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10050 $as_echo_n "checking for $ac_word... " >&6; }
10051 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10052 $as_echo_n "(cached) " >&6
10054 case $aros_kernel_ld in
10056 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10060 for as_dir
in `dirname $aros_gcc_ld`
10063 test -z "$as_dir" && as_dir
=.
10064 for ac_exec_ext
in '' $ac_executable_extensions; do
10065 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10066 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10077 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10078 if test -n "$aros_kernel_ld"; then
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10080 $as_echo "$aros_kernel_ld" >&6; }
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10083 $as_echo "no" >&6; }
10088 if test "$aros_kernel_ld" = ""; then
10089 # Extract the first word of "ld", so it can be a program name with args.
10090 set dummy ld
; ac_word
=$2
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10092 $as_echo_n "checking for $ac_word... " >&6; }
10093 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10094 $as_echo_n "(cached) " >&6
10096 case $aros_kernel_ld in
10098 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10102 for as_dir
in $PATH
10105 test -z "$as_dir" && as_dir
=.
10106 for ac_exec_ext
in '' $ac_executable_extensions; do
10107 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10108 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10119 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10120 if test -n "$aros_kernel_ld"; then
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10122 $as_echo "$aros_kernel_ld" >&6; }
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10125 $as_echo "no" >&6; }
10132 ac_tool_optarg
=`expr "X$aros_kernel_ld" : '[^ ]* \(.*\)'`
10133 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
10134 set dummy
$aros_kernel_ld; ac_word
=$2
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10136 $as_echo_n "checking for $ac_word... " >&6; }
10137 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10138 $as_echo_n "(cached) " >&6
10140 case $aros_kernel_ld in
10142 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10146 for as_dir
in $PATH
10149 test -z "$as_dir" && as_dir
=.
10150 for ac_exec_ext
in '' $ac_executable_extensions; do
10151 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10152 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10163 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10164 if test -n "$aros_kernel_ld"; then
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10166 $as_echo "$aros_kernel_ld" >&6; }
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10169 $as_echo "no" >&6; }
10173 aros_kernel_ld
="$aros_kernel_ld $ac_tool_optarg"
10177 if test "$aros_kernel_ld" = ""; then
10180 if test "$aros_kernel_ld" = "no"; then
10183 if test "$req_avail" = "no"; then
10184 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10187 if test "$aros_kernel_as" = ""; then
10188 if test "$cross_compiling" = "yes" ; then
10189 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
10190 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10192 $as_echo_n "checking for $ac_word... " >&6; }
10193 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10194 $as_echo_n "(cached) " >&6
10196 case $aros_kernel_as in
10198 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10202 for as_dir
in $PATH
10205 test -z "$as_dir" && as_dir
=.
10206 for ac_exec_ext
in '' $ac_executable_extensions; do
10207 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10208 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10219 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10220 if test -n "$aros_kernel_as"; then
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10222 $as_echo "$aros_kernel_as" >&6; }
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10225 $as_echo "no" >&6; }
10230 if test "$GCC" = "yes"; then
10231 aros_gcc_as
=`$CC -print-prog-name=as`
10232 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
10233 set dummy
`basename $aros_gcc_as`; ac_word
=$2
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10235 $as_echo_n "checking for $ac_word... " >&6; }
10236 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10237 $as_echo_n "(cached) " >&6
10239 case $aros_kernel_as in
10241 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10245 for as_dir
in `dirname $aros_gcc_as`
10248 test -z "$as_dir" && as_dir
=.
10249 for ac_exec_ext
in '' $ac_executable_extensions; do
10250 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10251 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10262 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10263 if test -n "$aros_kernel_as"; then
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10265 $as_echo "$aros_kernel_as" >&6; }
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10268 $as_echo "no" >&6; }
10273 if test "$aros_kernel_as" = ""; then
10274 # Extract the first word of "as", so it can be a program name with args.
10275 set dummy as
; ac_word
=$2
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10277 $as_echo_n "checking for $ac_word... " >&6; }
10278 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10279 $as_echo_n "(cached) " >&6
10281 case $aros_kernel_as in
10283 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10287 for as_dir
in $PATH
10290 test -z "$as_dir" && as_dir
=.
10291 for ac_exec_ext
in '' $ac_executable_extensions; do
10292 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10293 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10304 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10305 if test -n "$aros_kernel_as"; then
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10307 $as_echo "$aros_kernel_as" >&6; }
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10310 $as_echo "no" >&6; }
10317 ac_tool_optarg
=`expr "X$aros_kernel_as" : '[^ ]* \(.*\)'`
10318 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
10319 set dummy
$aros_kernel_as; ac_word
=$2
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10321 $as_echo_n "checking for $ac_word... " >&6; }
10322 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10323 $as_echo_n "(cached) " >&6
10325 case $aros_kernel_as in
10327 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10331 for as_dir
in $PATH
10334 test -z "$as_dir" && as_dir
=.
10335 for ac_exec_ext
in '' $ac_executable_extensions; do
10336 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10337 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10348 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10349 if test -n "$aros_kernel_as"; then
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10351 $as_echo "$aros_kernel_as" >&6; }
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10354 $as_echo "no" >&6; }
10358 aros_kernel_as
="$aros_kernel_as $ac_tool_optarg"
10362 if test "$aros_kernel_as" = ""; then
10365 if test "$aros_kernel_as" = "no"; then
10368 if test "$req_avail" = "no"; then
10369 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
10372 if test "$aros_kernel_ar" = ""; then
10373 if test "$cross_compiling" = "yes" ; then
10374 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
10375 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10377 $as_echo_n "checking for $ac_word... " >&6; }
10378 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10379 $as_echo_n "(cached) " >&6
10381 case $aros_kernel_ar in
10383 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10387 for as_dir
in $PATH
10390 test -z "$as_dir" && as_dir
=.
10391 for ac_exec_ext
in '' $ac_executable_extensions; do
10392 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10393 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10404 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10405 if test -n "$aros_kernel_ar"; then
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10407 $as_echo "$aros_kernel_ar" >&6; }
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10410 $as_echo "no" >&6; }
10415 if test "$GCC" = "yes"; then
10416 aros_gcc_ar
=`$CC -print-prog-name=ar`
10417 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
10418 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10420 $as_echo_n "checking for $ac_word... " >&6; }
10421 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10422 $as_echo_n "(cached) " >&6
10424 case $aros_kernel_ar in
10426 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10430 for as_dir
in `dirname $aros_gcc_ar`
10433 test -z "$as_dir" && as_dir
=.
10434 for ac_exec_ext
in '' $ac_executable_extensions; do
10435 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10436 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10447 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10448 if test -n "$aros_kernel_ar"; then
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10450 $as_echo "$aros_kernel_ar" >&6; }
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10453 $as_echo "no" >&6; }
10458 if test "$aros_kernel_ar" = ""; then
10459 # Extract the first word of "ar", so it can be a program name with args.
10460 set dummy
ar; ac_word
=$2
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10462 $as_echo_n "checking for $ac_word... " >&6; }
10463 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10464 $as_echo_n "(cached) " >&6
10466 case $aros_kernel_ar in
10468 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10472 for as_dir
in $PATH
10475 test -z "$as_dir" && as_dir
=.
10476 for ac_exec_ext
in '' $ac_executable_extensions; do
10477 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10478 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10489 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10490 if test -n "$aros_kernel_ar"; then
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10492 $as_echo "$aros_kernel_ar" >&6; }
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10495 $as_echo "no" >&6; }
10502 ac_tool_optarg
=`expr "X$aros_kernel_ar" : '[^ ]* \(.*\)'`
10503 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
10504 set dummy
$aros_kernel_ar; ac_word
=$2
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10506 $as_echo_n "checking for $ac_word... " >&6; }
10507 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10508 $as_echo_n "(cached) " >&6
10510 case $aros_kernel_ar in
10512 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10516 for as_dir
in $PATH
10519 test -z "$as_dir" && as_dir
=.
10520 for ac_exec_ext
in '' $ac_executable_extensions; do
10521 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10522 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10533 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10534 if test -n "$aros_kernel_ar"; then
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10536 $as_echo "$aros_kernel_ar" >&6; }
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10539 $as_echo "no" >&6; }
10543 aros_kernel_ar
="$aros_kernel_ar $ac_tool_optarg"
10547 if test "$aros_kernel_ar" = ""; then
10550 if test "$aros_kernel_ar" = "no"; then
10553 if test "$req_avail" = "no"; then
10554 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
10557 if test "$aros_kernel_ranlib" = ""; then
10558 if test "$cross_compiling" = "yes" ; then
10559 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
10560 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10562 $as_echo_n "checking for $ac_word... " >&6; }
10563 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10564 $as_echo_n "(cached) " >&6
10566 case $aros_kernel_ranlib in
10568 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10572 for as_dir
in $PATH
10575 test -z "$as_dir" && as_dir
=.
10576 for ac_exec_ext
in '' $ac_executable_extensions; do
10577 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10578 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10589 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10590 if test -n "$aros_kernel_ranlib"; then
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10592 $as_echo "$aros_kernel_ranlib" >&6; }
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10595 $as_echo "no" >&6; }
10600 if test "$GCC" = "yes"; then
10601 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10602 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10603 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10605 $as_echo_n "checking for $ac_word... " >&6; }
10606 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10607 $as_echo_n "(cached) " >&6
10609 case $aros_kernel_ranlib in
10611 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10615 for as_dir
in `dirname $aros_gcc_ranlib`
10618 test -z "$as_dir" && as_dir
=.
10619 for ac_exec_ext
in '' $ac_executable_extensions; do
10620 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10621 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10632 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10633 if test -n "$aros_kernel_ranlib"; then
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10635 $as_echo "$aros_kernel_ranlib" >&6; }
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10638 $as_echo "no" >&6; }
10643 if test "$aros_kernel_ranlib" = ""; then
10644 # Extract the first word of "ranlib", so it can be a program name with args.
10645 set dummy ranlib
; ac_word
=$2
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10647 $as_echo_n "checking for $ac_word... " >&6; }
10648 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10649 $as_echo_n "(cached) " >&6
10651 case $aros_kernel_ranlib in
10653 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10657 for as_dir
in $PATH
10660 test -z "$as_dir" && as_dir
=.
10661 for ac_exec_ext
in '' $ac_executable_extensions; do
10662 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10663 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10674 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10675 if test -n "$aros_kernel_ranlib"; then
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10677 $as_echo "$aros_kernel_ranlib" >&6; }
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10680 $as_echo "no" >&6; }
10687 ac_tool_optarg
=`expr "X$aros_kernel_ranlib" : '[^ ]* \(.*\)'`
10688 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
10689 set dummy
$aros_kernel_ranlib; ac_word
=$2
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10691 $as_echo_n "checking for $ac_word... " >&6; }
10692 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10693 $as_echo_n "(cached) " >&6
10695 case $aros_kernel_ranlib in
10697 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10701 for as_dir
in $PATH
10704 test -z "$as_dir" && as_dir
=.
10705 for ac_exec_ext
in '' $ac_executable_extensions; do
10706 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10707 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10718 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10719 if test -n "$aros_kernel_ranlib"; then
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10721 $as_echo "$aros_kernel_ranlib" >&6; }
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10724 $as_echo "no" >&6; }
10728 aros_kernel_ranlib
="$aros_kernel_ranlib $ac_tool_optarg"
10732 if test "$aros_kernel_ranlib" = ""; then
10735 if test "$aros_kernel_ranlib" = "no"; then
10738 if test "$req_avail" = "no"; then
10739 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
10742 if test "$aros_kernel_nm" = ""; then
10743 if test "$cross_compiling" = "yes" ; then
10744 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
10745 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10747 $as_echo_n "checking for $ac_word... " >&6; }
10748 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10749 $as_echo_n "(cached) " >&6
10751 case $aros_kernel_nm in
10753 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10757 for as_dir
in $PATH
10760 test -z "$as_dir" && as_dir
=.
10761 for ac_exec_ext
in '' $ac_executable_extensions; do
10762 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10763 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10774 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10775 if test -n "$aros_kernel_nm"; then
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10777 $as_echo "$aros_kernel_nm" >&6; }
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10780 $as_echo "no" >&6; }
10785 if test "$GCC" = "yes"; then
10786 aros_gcc_nm
=`$CC -print-prog-name=nm`
10787 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10788 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10790 $as_echo_n "checking for $ac_word... " >&6; }
10791 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10792 $as_echo_n "(cached) " >&6
10794 case $aros_kernel_nm in
10796 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10800 for as_dir
in `dirname $aros_gcc_nm`
10803 test -z "$as_dir" && as_dir
=.
10804 for ac_exec_ext
in '' $ac_executable_extensions; do
10805 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10806 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10817 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10818 if test -n "$aros_kernel_nm"; then
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10820 $as_echo "$aros_kernel_nm" >&6; }
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10823 $as_echo "no" >&6; }
10828 if test "$aros_kernel_nm" = ""; then
10829 # Extract the first word of "nm", so it can be a program name with args.
10830 set dummy nm
; ac_word
=$2
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10832 $as_echo_n "checking for $ac_word... " >&6; }
10833 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10834 $as_echo_n "(cached) " >&6
10836 case $aros_kernel_nm in
10838 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10842 for as_dir
in $PATH
10845 test -z "$as_dir" && as_dir
=.
10846 for ac_exec_ext
in '' $ac_executable_extensions; do
10847 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10848 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10859 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10860 if test -n "$aros_kernel_nm"; then
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10862 $as_echo "$aros_kernel_nm" >&6; }
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10865 $as_echo "no" >&6; }
10872 ac_tool_optarg
=`expr "X$aros_kernel_nm" : '[^ ]* \(.*\)'`
10873 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10874 set dummy
$aros_kernel_nm; ac_word
=$2
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10876 $as_echo_n "checking for $ac_word... " >&6; }
10877 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10878 $as_echo_n "(cached) " >&6
10880 case $aros_kernel_nm in
10882 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10886 for as_dir
in $PATH
10889 test -z "$as_dir" && as_dir
=.
10890 for ac_exec_ext
in '' $ac_executable_extensions; do
10891 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10892 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10903 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10904 if test -n "$aros_kernel_nm"; then
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10906 $as_echo "$aros_kernel_nm" >&6; }
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10909 $as_echo "no" >&6; }
10913 aros_kernel_nm
="$aros_kernel_nm $ac_tool_optarg"
10917 if test "$aros_kernel_nm" = ""; then
10920 if test "$aros_kernel_nm" = "no"; then
10923 if test "$req_avail" = "no"; then
10924 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10927 if test "$aros_kernel_strip" = ""; then
10928 if test "$cross_compiling" = "yes" ; then
10929 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10930 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10932 $as_echo_n "checking for $ac_word... " >&6; }
10933 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10934 $as_echo_n "(cached) " >&6
10936 case $aros_kernel_strip in
10938 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10942 for as_dir
in $PATH
10945 test -z "$as_dir" && as_dir
=.
10946 for ac_exec_ext
in '' $ac_executable_extensions; do
10947 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10948 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10959 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10960 if test -n "$aros_kernel_strip"; then
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10962 $as_echo "$aros_kernel_strip" >&6; }
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10965 $as_echo "no" >&6; }
10970 if test "$GCC" = "yes"; then
10971 aros_gcc_strip
=`$CC -print-prog-name=strip`
10972 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10973 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10975 $as_echo_n "checking for $ac_word... " >&6; }
10976 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10977 $as_echo_n "(cached) " >&6
10979 case $aros_kernel_strip in
10981 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10985 for as_dir
in `dirname $aros_gcc_strip`
10988 test -z "$as_dir" && as_dir
=.
10989 for ac_exec_ext
in '' $ac_executable_extensions; do
10990 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10991 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11002 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11003 if test -n "$aros_kernel_strip"; then
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11005 $as_echo "$aros_kernel_strip" >&6; }
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11008 $as_echo "no" >&6; }
11013 if test "$aros_kernel_strip" = ""; then
11014 # Extract the first word of "strip", so it can be a program name with args.
11015 set dummy strip
; ac_word
=$2
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11017 $as_echo_n "checking for $ac_word... " >&6; }
11018 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11019 $as_echo_n "(cached) " >&6
11021 case $aros_kernel_strip in
11023 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11027 for as_dir
in $PATH
11030 test -z "$as_dir" && as_dir
=.
11031 for ac_exec_ext
in '' $ac_executable_extensions; do
11032 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11033 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11044 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11045 if test -n "$aros_kernel_strip"; then
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11047 $as_echo "$aros_kernel_strip" >&6; }
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11050 $as_echo "no" >&6; }
11057 ac_tool_optarg
=`expr "X$aros_kernel_strip" : '[^ ]* \(.*\)'`
11058 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
11059 set dummy
$aros_kernel_strip; ac_word
=$2
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11061 $as_echo_n "checking for $ac_word... " >&6; }
11062 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11063 $as_echo_n "(cached) " >&6
11065 case $aros_kernel_strip in
11067 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11071 for as_dir
in $PATH
11074 test -z "$as_dir" && as_dir
=.
11075 for ac_exec_ext
in '' $ac_executable_extensions; do
11076 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11077 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11088 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11089 if test -n "$aros_kernel_strip"; then
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11091 $as_echo "$aros_kernel_strip" >&6; }
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11094 $as_echo "no" >&6; }
11098 aros_kernel_strip
="$aros_kernel_strip $ac_tool_optarg"
11102 if test "$aros_kernel_strip" = ""; then
11105 if test "$aros_kernel_strip" = "no"; then
11108 if test "$req_avail" = "no"; then
11109 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
11112 # Objcopy and objdump are not required for the kernel
11113 # toolchain on many architectures.
11114 # So we'll look for them, but not make them strictly required.
11116 if test "$aros_kernel_objcopy" = ""; then
11117 if test "$cross_compiling" = "yes" ; then
11118 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
11119 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11121 $as_echo_n "checking for $ac_word... " >&6; }
11122 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11123 $as_echo_n "(cached) " >&6
11125 case $aros_kernel_objcopy in
11127 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11131 for as_dir
in $PATH
11134 test -z "$as_dir" && as_dir
=.
11135 for ac_exec_ext
in '' $ac_executable_extensions; do
11136 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11137 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11148 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11149 if test -n "$aros_kernel_objcopy"; then
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11151 $as_echo "$aros_kernel_objcopy" >&6; }
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11154 $as_echo "no" >&6; }
11159 if test "$GCC" = "yes"; then
11160 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
11161 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
11162 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11164 $as_echo_n "checking for $ac_word... " >&6; }
11165 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11166 $as_echo_n "(cached) " >&6
11168 case $aros_kernel_objcopy in
11170 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11174 for as_dir
in `dirname $aros_gcc_objcopy`
11177 test -z "$as_dir" && as_dir
=.
11178 for ac_exec_ext
in '' $ac_executable_extensions; do
11179 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11180 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11191 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11192 if test -n "$aros_kernel_objcopy"; then
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11194 $as_echo "$aros_kernel_objcopy" >&6; }
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11197 $as_echo "no" >&6; }
11202 if test "$aros_kernel_objcopy" = ""; then
11203 # Extract the first word of "objcopy", so it can be a program name with args.
11204 set dummy objcopy
; ac_word
=$2
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11206 $as_echo_n "checking for $ac_word... " >&6; }
11207 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11208 $as_echo_n "(cached) " >&6
11210 case $aros_kernel_objcopy in
11212 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11216 for as_dir
in $PATH
11219 test -z "$as_dir" && as_dir
=.
11220 for ac_exec_ext
in '' $ac_executable_extensions; do
11221 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11222 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11233 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11234 if test -n "$aros_kernel_objcopy"; then
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11236 $as_echo "$aros_kernel_objcopy" >&6; }
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11239 $as_echo "no" >&6; }
11246 ac_tool_optarg
=`expr "X$aros_kernel_objcopy" : '[^ ]* \(.*\)'`
11247 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
11248 set dummy
$aros_kernel_objcopy; ac_word
=$2
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11250 $as_echo_n "checking for $ac_word... " >&6; }
11251 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11252 $as_echo_n "(cached) " >&6
11254 case $aros_kernel_objcopy in
11256 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11260 for as_dir
in $PATH
11263 test -z "$as_dir" && as_dir
=.
11264 for ac_exec_ext
in '' $ac_executable_extensions; do
11265 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11266 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11277 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11278 if test -n "$aros_kernel_objcopy"; then
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11280 $as_echo "$aros_kernel_objcopy" >&6; }
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11283 $as_echo "no" >&6; }
11287 aros_kernel_objcopy
="$aros_kernel_objcopy $ac_tool_optarg"
11291 if test "$aros_kernel_objdump" = ""; then
11292 if test "$cross_compiling" = "yes" ; then
11293 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
11294 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11296 $as_echo_n "checking for $ac_word... " >&6; }
11297 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11298 $as_echo_n "(cached) " >&6
11300 case $aros_kernel_objdump in
11302 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11306 for as_dir
in $PATH
11309 test -z "$as_dir" && as_dir
=.
11310 for ac_exec_ext
in '' $ac_executable_extensions; do
11311 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11312 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11323 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11324 if test -n "$aros_kernel_objdump"; then
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11326 $as_echo "$aros_kernel_objdump" >&6; }
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11329 $as_echo "no" >&6; }
11334 if test "$GCC" = "yes"; then
11335 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
11336 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
11337 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11339 $as_echo_n "checking for $ac_word... " >&6; }
11340 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11341 $as_echo_n "(cached) " >&6
11343 case $aros_kernel_objdump in
11345 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11349 for as_dir
in `dirname $aros_gcc_objdump`
11352 test -z "$as_dir" && as_dir
=.
11353 for ac_exec_ext
in '' $ac_executable_extensions; do
11354 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11355 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11366 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11367 if test -n "$aros_kernel_objdump"; then
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11369 $as_echo "$aros_kernel_objdump" >&6; }
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11372 $as_echo "no" >&6; }
11377 if test "$aros_kernel_objdump" = ""; then
11378 # Extract the first word of "objdump", so it can be a program name with args.
11379 set dummy objdump
; ac_word
=$2
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11381 $as_echo_n "checking for $ac_word... " >&6; }
11382 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11383 $as_echo_n "(cached) " >&6
11385 case $aros_kernel_objdump in
11387 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11391 for as_dir
in $PATH
11394 test -z "$as_dir" && as_dir
=.
11395 for ac_exec_ext
in '' $ac_executable_extensions; do
11396 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11397 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11408 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11409 if test -n "$aros_kernel_objdump"; then
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11411 $as_echo "$aros_kernel_objdump" >&6; }
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11414 $as_echo "no" >&6; }
11421 ac_tool_optarg
=`expr "X$aros_kernel_objdump" : '[^ ]* \(.*\)'`
11422 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
11423 set dummy
$aros_kernel_objdump; ac_word
=$2
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11425 $as_echo_n "checking for $ac_word... " >&6; }
11426 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11427 $as_echo_n "(cached) " >&6
11429 case $aros_kernel_objdump in
11431 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11435 for as_dir
in $PATH
11438 test -z "$as_dir" && as_dir
=.
11439 for ac_exec_ext
in '' $ac_executable_extensions; do
11440 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11441 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11452 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11453 if test -n "$aros_kernel_objdump"; then
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11455 $as_echo "$aros_kernel_objdump" >&6; }
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11458 $as_echo "no" >&6; }
11462 aros_kernel_objdump
="$aros_kernel_objdump $ac_tool_optarg"
11465 if test "x${crosstools}" != "xyes" ; then
11467 if test "$aros_kernel_objcopy" = ""; then
11470 if test "$aros_kernel_objcopy" = "no"; then
11473 if test "$req_avail" = "no"; then
11474 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
11477 if test "$aros_kernel_objdump" = ""; then
11480 if test "$aros_kernel_objdump" = "no"; then
11483 if test "$req_avail" = "no"; then
11484 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
11490 $as_echo_n "checking which target tools to use... " >&6; }
11491 if test "$aros_target_toolchain" = "yes"; then
11492 if test "$aros_toolchain" = "llvm" ; then
11495 msg_result
=$target_tool_prefix
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
11498 $as_echo "$msg_result" >&6; }
11499 # We are building AROS crosstools
11500 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
11501 orig_target_cc
="${tmp_tool_prefix}${toolchain_c_compiler}${target_tool_version}"
11502 orig_target_cxx
="${tmp_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}"
11503 orig_target_cpp
="${tmp_tool_prefix}${toolchain_cpp_preprocessor}"
11504 orig_target_ld
="${tmp_tool_prefix}${toolchain_ld}"
11505 orig_target_as
="${tmp_tool_prefix}${toolchain_as}"
11506 orig_target_ar
="${tmp_tool_prefix}${toolchain_ar}"
11507 orig_target_ranlib
="${tmp_tool_prefix}${toolchain_ranlib}"
11508 orig_target_nm
="${tmp_tool_prefix}${toolchain_nm}"
11509 orig_target_strip
="${tmp_tool_prefix}${toolchain_strip}"
11510 orig_target_objcopy
="${tmp_tool_prefix}${toolchain_objcopy}"
11511 orig_target_objdump
="${tmp_tool_prefix}${toolchain_objdump}"
11513 # Determine whether AROS or ELF tools should be used
11514 if test "$aros_tool_prefix" = "none"; then
11515 aros_tool_prefix
="${elf_tool_prefix}"
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
11519 $as_echo "$aros_tool_prefix" >&6; }
11520 # We are *not* building AROS crosstools - use the AROS or ELF tools
11522 if test "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" = ""; then
11523 if test "$cross_compiling" = "yes" ; then
11524 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
11525 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11527 $as_echo_n "checking for $ac_word... " >&6; }
11528 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11529 $as_echo_n "(cached) " >&6
11531 case $orig_target_cpp in
11533 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11537 for as_dir
in $PATH
11540 test -z "$as_dir" && as_dir
=.
11541 for ac_exec_ext
in '' $ac_executable_extensions; do
11542 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11543 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11554 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11555 if test -n "$orig_target_cpp"; then
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11557 $as_echo "$orig_target_cpp" >&6; }
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11560 $as_echo "no" >&6; }
11565 if test "$GCC" = "yes"; then
11566 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
11567 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
11568 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11570 $as_echo_n "checking for $ac_word... " >&6; }
11571 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11572 $as_echo_n "(cached) " >&6
11574 case $orig_target_cpp in
11576 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11580 for as_dir
in `dirname $aros_gcc_cpp`
11583 test -z "$as_dir" && as_dir
=.
11584 for ac_exec_ext
in '' $ac_executable_extensions; do
11585 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11586 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11597 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11598 if test -n "$orig_target_cpp"; then
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11600 $as_echo "$orig_target_cpp" >&6; }
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11603 $as_echo "no" >&6; }
11608 if test "$orig_target_cpp" = ""; then
11609 # Extract the first word of "cpp", so it can be a program name with args.
11610 set dummy cpp
; ac_word
=$2
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11612 $as_echo_n "checking for $ac_word... " >&6; }
11613 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11614 $as_echo_n "(cached) " >&6
11616 case $orig_target_cpp in
11618 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11622 for as_dir
in $PATH
11625 test -z "$as_dir" && as_dir
=.
11626 for ac_exec_ext
in '' $ac_executable_extensions; do
11627 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11628 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11639 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11640 if test -n "$orig_target_cpp"; then
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11642 $as_echo "$orig_target_cpp" >&6; }
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11645 $as_echo "no" >&6; }
11652 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" : '[^ ]* \(.*\)'`
11653 # Extract the first word of "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}", so it can be a program name with args.
11654 set dummy
${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}; ac_word
=$2
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11656 $as_echo_n "checking for $ac_word... " >&6; }
11657 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11658 $as_echo_n "(cached) " >&6
11660 case $orig_target_cpp in
11662 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11666 for as_dir
in $PATH
11669 test -z "$as_dir" && as_dir
=.
11670 for ac_exec_ext
in '' $ac_executable_extensions; do
11671 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11672 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11683 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11684 if test -n "$orig_target_cpp"; then
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11686 $as_echo "$orig_target_cpp" >&6; }
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11689 $as_echo "no" >&6; }
11693 orig_target_cpp
="$orig_target_cpp $ac_tool_optarg"
11697 if test "$orig_target_cpp" = ""; then
11700 if test "$orig_target_cpp" = "no"; then
11703 if test "$req_avail" = "no"; then
11704 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
11707 if test "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" = ""; then
11708 if test "$cross_compiling" = "yes" ; then
11709 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11710 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11712 $as_echo_n "checking for $ac_word... " >&6; }
11713 if ${ac_cv_path_orig_target_cc+:} false
; then :
11714 $as_echo_n "(cached) " >&6
11716 case $orig_target_cc in
11718 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11722 for as_dir
in $PATH
11725 test -z "$as_dir" && as_dir
=.
11726 for ac_exec_ext
in '' $ac_executable_extensions; do
11727 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11728 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11739 orig_target_cc
=$ac_cv_path_orig_target_cc
11740 if test -n "$orig_target_cc"; then
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11742 $as_echo "$orig_target_cc" >&6; }
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11745 $as_echo "no" >&6; }
11750 if test "$GCC" = "yes"; then
11751 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11752 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11753 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11755 $as_echo_n "checking for $ac_word... " >&6; }
11756 if ${ac_cv_path_orig_target_cc+:} false
; then :
11757 $as_echo_n "(cached) " >&6
11759 case $orig_target_cc in
11761 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11765 for as_dir
in `dirname $aros_gcc_gcc`
11768 test -z "$as_dir" && as_dir
=.
11769 for ac_exec_ext
in '' $ac_executable_extensions; do
11770 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11771 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11782 orig_target_cc
=$ac_cv_path_orig_target_cc
11783 if test -n "$orig_target_cc"; then
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11785 $as_echo "$orig_target_cc" >&6; }
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11788 $as_echo "no" >&6; }
11793 if test "$orig_target_cc" = ""; then
11794 # Extract the first word of "gcc", so it can be a program name with args.
11795 set dummy gcc
; ac_word
=$2
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11797 $as_echo_n "checking for $ac_word... " >&6; }
11798 if ${ac_cv_path_orig_target_cc+:} false
; then :
11799 $as_echo_n "(cached) " >&6
11801 case $orig_target_cc in
11803 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11807 for as_dir
in $PATH
11810 test -z "$as_dir" && as_dir
=.
11811 for ac_exec_ext
in '' $ac_executable_extensions; do
11812 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11813 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11824 orig_target_cc
=$ac_cv_path_orig_target_cc
11825 if test -n "$orig_target_cc"; then
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11827 $as_echo "$orig_target_cc" >&6; }
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11830 $as_echo "no" >&6; }
11837 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
11838 # Extract the first word of "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}", so it can be a program name with args.
11839 set dummy
${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}; ac_word
=$2
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11841 $as_echo_n "checking for $ac_word... " >&6; }
11842 if ${ac_cv_path_orig_target_cc+:} false
; then :
11843 $as_echo_n "(cached) " >&6
11845 case $orig_target_cc in
11847 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11851 for as_dir
in $PATH
11854 test -z "$as_dir" && as_dir
=.
11855 for ac_exec_ext
in '' $ac_executable_extensions; do
11856 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11857 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11868 orig_target_cc
=$ac_cv_path_orig_target_cc
11869 if test -n "$orig_target_cc"; then
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11871 $as_echo "$orig_target_cc" >&6; }
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11874 $as_echo "no" >&6; }
11878 orig_target_cc
="$orig_target_cc $ac_tool_optarg"
11882 if test "$orig_target_cc" = ""; then
11885 if test "$orig_target_cc" = "no"; then
11888 if test "$req_avail" = "no"; then
11889 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11892 if test "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" = ""; then
11893 if test "$cross_compiling" = "yes" ; then
11894 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11895 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11897 $as_echo_n "checking for $ac_word... " >&6; }
11898 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11899 $as_echo_n "(cached) " >&6
11901 case $orig_target_cxx in
11903 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11907 for as_dir
in $PATH
11910 test -z "$as_dir" && as_dir
=.
11911 for ac_exec_ext
in '' $ac_executable_extensions; do
11912 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11913 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11924 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11925 if test -n "$orig_target_cxx"; then
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11927 $as_echo "$orig_target_cxx" >&6; }
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11930 $as_echo "no" >&6; }
11935 if test "$GCC" = "yes"; then
11936 aros_gcc_g
++=`$CC -print-prog-name=g++`
11937 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11938 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11940 $as_echo_n "checking for $ac_word... " >&6; }
11941 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11942 $as_echo_n "(cached) " >&6
11944 case $orig_target_cxx in
11946 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11950 for as_dir
in `dirname $aros_gcc_g++`
11953 test -z "$as_dir" && as_dir
=.
11954 for ac_exec_ext
in '' $ac_executable_extensions; do
11955 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11956 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11967 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11968 if test -n "$orig_target_cxx"; then
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11970 $as_echo "$orig_target_cxx" >&6; }
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11973 $as_echo "no" >&6; }
11978 if test "$orig_target_cxx" = ""; then
11979 # Extract the first word of "g++", so it can be a program name with args.
11980 set dummy g
++; ac_word
=$2
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11982 $as_echo_n "checking for $ac_word... " >&6; }
11983 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11984 $as_echo_n "(cached) " >&6
11986 case $orig_target_cxx in
11988 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11992 for as_dir
in $PATH
11995 test -z "$as_dir" && as_dir
=.
11996 for ac_exec_ext
in '' $ac_executable_extensions; do
11997 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11998 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12009 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12010 if test -n "$orig_target_cxx"; then
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12012 $as_echo "$orig_target_cxx" >&6; }
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12015 $as_echo "no" >&6; }
12022 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
12023 # Extract the first word of "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}", so it can be a program name with args.
12024 set dummy
${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}; ac_word
=$2
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12026 $as_echo_n "checking for $ac_word... " >&6; }
12027 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12028 $as_echo_n "(cached) " >&6
12030 case $orig_target_cxx in
12032 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12036 for as_dir
in $PATH
12039 test -z "$as_dir" && as_dir
=.
12040 for ac_exec_ext
in '' $ac_executable_extensions; do
12041 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12042 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12053 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12054 if test -n "$orig_target_cxx"; then
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12056 $as_echo "$orig_target_cxx" >&6; }
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12059 $as_echo "no" >&6; }
12063 orig_target_cxx
="$orig_target_cxx $ac_tool_optarg"
12067 if test "$orig_target_cxx" = ""; then
12070 if test "$orig_target_cxx" = "no"; then
12073 if test "$req_avail" = "no"; then
12074 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
12077 if test "${aros_tool_prefix}${toolchain_ld}" = ""; then
12078 if test "$cross_compiling" = "yes" ; then
12079 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
12080 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12082 $as_echo_n "checking for $ac_word... " >&6; }
12083 if ${ac_cv_path_orig_target_ld+:} false
; then :
12084 $as_echo_n "(cached) " >&6
12086 case $orig_target_ld in
12088 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12092 for as_dir
in $PATH
12095 test -z "$as_dir" && as_dir
=.
12096 for ac_exec_ext
in '' $ac_executable_extensions; do
12097 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12098 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12109 orig_target_ld
=$ac_cv_path_orig_target_ld
12110 if test -n "$orig_target_ld"; then
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12112 $as_echo "$orig_target_ld" >&6; }
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12115 $as_echo "no" >&6; }
12120 if test "$GCC" = "yes"; then
12121 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
12122 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
12123 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12125 $as_echo_n "checking for $ac_word... " >&6; }
12126 if ${ac_cv_path_orig_target_ld+:} false
; then :
12127 $as_echo_n "(cached) " >&6
12129 case $orig_target_ld in
12131 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12135 for as_dir
in `dirname $aros_gcc_gcc`
12138 test -z "$as_dir" && as_dir
=.
12139 for ac_exec_ext
in '' $ac_executable_extensions; do
12140 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12141 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12152 orig_target_ld
=$ac_cv_path_orig_target_ld
12153 if test -n "$orig_target_ld"; then
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12155 $as_echo "$orig_target_ld" >&6; }
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12158 $as_echo "no" >&6; }
12163 if test "$orig_target_ld" = ""; then
12164 # Extract the first word of "gcc", so it can be a program name with args.
12165 set dummy gcc
; ac_word
=$2
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12167 $as_echo_n "checking for $ac_word... " >&6; }
12168 if ${ac_cv_path_orig_target_ld+:} false
; then :
12169 $as_echo_n "(cached) " >&6
12171 case $orig_target_ld in
12173 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12177 for as_dir
in $PATH
12180 test -z "$as_dir" && as_dir
=.
12181 for ac_exec_ext
in '' $ac_executable_extensions; do
12182 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12183 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12194 orig_target_ld
=$ac_cv_path_orig_target_ld
12195 if test -n "$orig_target_ld"; then
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12197 $as_echo "$orig_target_ld" >&6; }
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12200 $as_echo "no" >&6; }
12207 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ld}" : '[^ ]* \(.*\)'`
12208 # Extract the first word of "${aros_tool_prefix}${toolchain_ld}", so it can be a program name with args.
12209 set dummy
${aros_tool_prefix}${toolchain_ld}; ac_word
=$2
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12211 $as_echo_n "checking for $ac_word... " >&6; }
12212 if ${ac_cv_path_orig_target_ld+:} false
; then :
12213 $as_echo_n "(cached) " >&6
12215 case $orig_target_ld in
12217 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12221 for as_dir
in $PATH
12224 test -z "$as_dir" && as_dir
=.
12225 for ac_exec_ext
in '' $ac_executable_extensions; do
12226 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12227 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12238 orig_target_ld
=$ac_cv_path_orig_target_ld
12239 if test -n "$orig_target_ld"; then
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12241 $as_echo "$orig_target_ld" >&6; }
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12244 $as_echo "no" >&6; }
12248 orig_target_ld
="$orig_target_ld $ac_tool_optarg"
12252 if test "$orig_target_ld" = ""; then
12255 if test "$orig_target_ld" = "no"; then
12258 if test "$req_avail" = "no"; then
12259 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
12262 if test "aros_tool_prefix}${toolchain_as}" = ""; then
12263 if test "$cross_compiling" = "yes" ; then
12264 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
12265 set dummy
${target_tool_prefix}as
; ac_word
=$2
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12267 $as_echo_n "checking for $ac_word... " >&6; }
12268 if ${ac_cv_path_orig_target_as+:} false
; then :
12269 $as_echo_n "(cached) " >&6
12271 case $orig_target_as in
12273 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12277 for as_dir
in $PATH
12280 test -z "$as_dir" && as_dir
=.
12281 for ac_exec_ext
in '' $ac_executable_extensions; do
12282 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12283 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12294 orig_target_as
=$ac_cv_path_orig_target_as
12295 if test -n "$orig_target_as"; then
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12297 $as_echo "$orig_target_as" >&6; }
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12300 $as_echo "no" >&6; }
12305 if test "$GCC" = "yes"; then
12306 aros_gcc_as
=`$CC -print-prog-name=as`
12307 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
12308 set dummy
`basename $aros_gcc_as`; ac_word
=$2
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12310 $as_echo_n "checking for $ac_word... " >&6; }
12311 if ${ac_cv_path_orig_target_as+:} false
; then :
12312 $as_echo_n "(cached) " >&6
12314 case $orig_target_as in
12316 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12320 for as_dir
in `dirname $aros_gcc_as`
12323 test -z "$as_dir" && as_dir
=.
12324 for ac_exec_ext
in '' $ac_executable_extensions; do
12325 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12326 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12337 orig_target_as
=$ac_cv_path_orig_target_as
12338 if test -n "$orig_target_as"; then
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12340 $as_echo "$orig_target_as" >&6; }
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12343 $as_echo "no" >&6; }
12348 if test "$orig_target_as" = ""; then
12349 # Extract the first word of "as", so it can be a program name with args.
12350 set dummy as
; ac_word
=$2
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12352 $as_echo_n "checking for $ac_word... " >&6; }
12353 if ${ac_cv_path_orig_target_as+:} false
; then :
12354 $as_echo_n "(cached) " >&6
12356 case $orig_target_as in
12358 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12362 for as_dir
in $PATH
12365 test -z "$as_dir" && as_dir
=.
12366 for ac_exec_ext
in '' $ac_executable_extensions; do
12367 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12368 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12379 orig_target_as
=$ac_cv_path_orig_target_as
12380 if test -n "$orig_target_as"; then
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12382 $as_echo "$orig_target_as" >&6; }
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12385 $as_echo "no" >&6; }
12392 ac_tool_optarg
=`expr "Xaros_tool_prefix}${toolchain_as}" : '[^ ]* \(.*\)'`
12393 # Extract the first word of "aros_tool_prefix}${toolchain_as}", so it can be a program name with args.
12394 set dummy aros_tool_prefix
}${toolchain_as}; ac_word
=$2
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12396 $as_echo_n "checking for $ac_word... " >&6; }
12397 if ${ac_cv_path_orig_target_as+:} false
; then :
12398 $as_echo_n "(cached) " >&6
12400 case $orig_target_as in
12402 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12406 for as_dir
in $PATH
12409 test -z "$as_dir" && as_dir
=.
12410 for ac_exec_ext
in '' $ac_executable_extensions; do
12411 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12412 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12423 orig_target_as
=$ac_cv_path_orig_target_as
12424 if test -n "$orig_target_as"; then
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12426 $as_echo "$orig_target_as" >&6; }
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12429 $as_echo "no" >&6; }
12433 orig_target_as
="$orig_target_as $ac_tool_optarg"
12437 if test "$orig_target_as" = ""; then
12440 if test "$orig_target_as" = "no"; then
12443 if test "$req_avail" = "no"; then
12444 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
12447 if test "${aros_tool_prefix}${toolchain_ar}" = ""; then
12448 if test "$cross_compiling" = "yes" ; then
12449 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
12450 set dummy
${target_tool_prefix}ar; ac_word
=$2
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12452 $as_echo_n "checking for $ac_word... " >&6; }
12453 if ${ac_cv_path_orig_target_ar+:} false
; then :
12454 $as_echo_n "(cached) " >&6
12456 case $orig_target_ar in
12458 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12462 for as_dir
in $PATH
12465 test -z "$as_dir" && as_dir
=.
12466 for ac_exec_ext
in '' $ac_executable_extensions; do
12467 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12468 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12479 orig_target_ar
=$ac_cv_path_orig_target_ar
12480 if test -n "$orig_target_ar"; then
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12482 $as_echo "$orig_target_ar" >&6; }
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12485 $as_echo "no" >&6; }
12490 if test "$GCC" = "yes"; then
12491 aros_gcc_ar
=`$CC -print-prog-name=ar`
12492 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
12493 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12495 $as_echo_n "checking for $ac_word... " >&6; }
12496 if ${ac_cv_path_orig_target_ar+:} false
; then :
12497 $as_echo_n "(cached) " >&6
12499 case $orig_target_ar in
12501 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12505 for as_dir
in `dirname $aros_gcc_ar`
12508 test -z "$as_dir" && as_dir
=.
12509 for ac_exec_ext
in '' $ac_executable_extensions; do
12510 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12511 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12522 orig_target_ar
=$ac_cv_path_orig_target_ar
12523 if test -n "$orig_target_ar"; then
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12525 $as_echo "$orig_target_ar" >&6; }
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12528 $as_echo "no" >&6; }
12533 if test "$orig_target_ar" = ""; then
12534 # Extract the first word of "ar", so it can be a program name with args.
12535 set dummy
ar; ac_word
=$2
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12537 $as_echo_n "checking for $ac_word... " >&6; }
12538 if ${ac_cv_path_orig_target_ar+:} false
; then :
12539 $as_echo_n "(cached) " >&6
12541 case $orig_target_ar in
12543 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12547 for as_dir
in $PATH
12550 test -z "$as_dir" && as_dir
=.
12551 for ac_exec_ext
in '' $ac_executable_extensions; do
12552 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12553 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12564 orig_target_ar
=$ac_cv_path_orig_target_ar
12565 if test -n "$orig_target_ar"; then
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12567 $as_echo "$orig_target_ar" >&6; }
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12570 $as_echo "no" >&6; }
12577 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ar}" : '[^ ]* \(.*\)'`
12578 # Extract the first word of "${aros_tool_prefix}${toolchain_ar}", so it can be a program name with args.
12579 set dummy
${aros_tool_prefix}${toolchain_ar}; ac_word
=$2
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12581 $as_echo_n "checking for $ac_word... " >&6; }
12582 if ${ac_cv_path_orig_target_ar+:} false
; then :
12583 $as_echo_n "(cached) " >&6
12585 case $orig_target_ar in
12587 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12591 for as_dir
in $PATH
12594 test -z "$as_dir" && as_dir
=.
12595 for ac_exec_ext
in '' $ac_executable_extensions; do
12596 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12597 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12608 orig_target_ar
=$ac_cv_path_orig_target_ar
12609 if test -n "$orig_target_ar"; then
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12611 $as_echo "$orig_target_ar" >&6; }
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12614 $as_echo "no" >&6; }
12618 orig_target_ar
="$orig_target_ar $ac_tool_optarg"
12622 if test "$orig_target_ar" = ""; then
12625 if test "$orig_target_ar" = "no"; then
12628 if test "$req_avail" = "no"; then
12629 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
12632 if test "${aros_tool_prefix}${toolchain_ranlib}" = ""; then
12633 if test "$cross_compiling" = "yes" ; then
12634 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
12635 set dummy
${target_tool_prefix}ar; ac_word
=$2
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12637 $as_echo_n "checking for $ac_word... " >&6; }
12638 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12639 $as_echo_n "(cached) " >&6
12641 case $orig_target_ranlib in
12643 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12647 for as_dir
in $PATH
12650 test -z "$as_dir" && as_dir
=.
12651 for ac_exec_ext
in '' $ac_executable_extensions; do
12652 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12653 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12664 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12665 if test -n "$orig_target_ranlib"; then
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12667 $as_echo "$orig_target_ranlib" >&6; }
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12670 $as_echo "no" >&6; }
12675 if test "$GCC" = "yes"; then
12676 aros_gcc_ar
=`$CC -print-prog-name=ar`
12677 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
12678 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12680 $as_echo_n "checking for $ac_word... " >&6; }
12681 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12682 $as_echo_n "(cached) " >&6
12684 case $orig_target_ranlib in
12686 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12690 for as_dir
in `dirname $aros_gcc_ar`
12693 test -z "$as_dir" && as_dir
=.
12694 for ac_exec_ext
in '' $ac_executable_extensions; do
12695 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12696 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12707 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12708 if test -n "$orig_target_ranlib"; then
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12710 $as_echo "$orig_target_ranlib" >&6; }
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12713 $as_echo "no" >&6; }
12718 if test "$orig_target_ranlib" = ""; then
12719 # Extract the first word of "ar", so it can be a program name with args.
12720 set dummy
ar; ac_word
=$2
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12722 $as_echo_n "checking for $ac_word... " >&6; }
12723 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12724 $as_echo_n "(cached) " >&6
12726 case $orig_target_ranlib in
12728 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12732 for as_dir
in $PATH
12735 test -z "$as_dir" && as_dir
=.
12736 for ac_exec_ext
in '' $ac_executable_extensions; do
12737 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12738 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12749 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12750 if test -n "$orig_target_ranlib"; then
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12752 $as_echo "$orig_target_ranlib" >&6; }
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12755 $as_echo "no" >&6; }
12762 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ranlib}" : '[^ ]* \(.*\)'`
12763 # Extract the first word of "${aros_tool_prefix}${toolchain_ranlib}", so it can be a program name with args.
12764 set dummy
${aros_tool_prefix}${toolchain_ranlib}; ac_word
=$2
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12766 $as_echo_n "checking for $ac_word... " >&6; }
12767 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12768 $as_echo_n "(cached) " >&6
12770 case $orig_target_ranlib in
12772 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12776 for as_dir
in $PATH
12779 test -z "$as_dir" && as_dir
=.
12780 for ac_exec_ext
in '' $ac_executable_extensions; do
12781 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12782 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12793 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12794 if test -n "$orig_target_ranlib"; then
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12796 $as_echo "$orig_target_ranlib" >&6; }
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12799 $as_echo "no" >&6; }
12803 orig_target_ranlib
="$orig_target_ranlib $ac_tool_optarg"
12807 if test "$orig_target_ranlib" = ""; then
12810 if test "$orig_target_ranlib" = "no"; then
12813 if test "$req_avail" = "no"; then
12814 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
12817 if test "${aros_tool_prefix}${toolchain_nm}" = ""; then
12818 if test "$cross_compiling" = "yes" ; then
12819 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
12820 set dummy
${target_tool_prefix}nm
; ac_word
=$2
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12822 $as_echo_n "checking for $ac_word... " >&6; }
12823 if ${ac_cv_path_orig_target_nm+:} false
; then :
12824 $as_echo_n "(cached) " >&6
12826 case $orig_target_nm in
12828 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12832 for as_dir
in $PATH
12835 test -z "$as_dir" && as_dir
=.
12836 for ac_exec_ext
in '' $ac_executable_extensions; do
12837 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12838 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12849 orig_target_nm
=$ac_cv_path_orig_target_nm
12850 if test -n "$orig_target_nm"; then
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12852 $as_echo "$orig_target_nm" >&6; }
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12855 $as_echo "no" >&6; }
12860 if test "$GCC" = "yes"; then
12861 aros_gcc_nm
=`$CC -print-prog-name=nm`
12862 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
12863 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12865 $as_echo_n "checking for $ac_word... " >&6; }
12866 if ${ac_cv_path_orig_target_nm+:} false
; then :
12867 $as_echo_n "(cached) " >&6
12869 case $orig_target_nm in
12871 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12875 for as_dir
in `dirname $aros_gcc_nm`
12878 test -z "$as_dir" && as_dir
=.
12879 for ac_exec_ext
in '' $ac_executable_extensions; do
12880 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12881 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12892 orig_target_nm
=$ac_cv_path_orig_target_nm
12893 if test -n "$orig_target_nm"; then
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12895 $as_echo "$orig_target_nm" >&6; }
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12898 $as_echo "no" >&6; }
12903 if test "$orig_target_nm" = ""; then
12904 # Extract the first word of "nm", so it can be a program name with args.
12905 set dummy nm
; ac_word
=$2
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12907 $as_echo_n "checking for $ac_word... " >&6; }
12908 if ${ac_cv_path_orig_target_nm+:} false
; then :
12909 $as_echo_n "(cached) " >&6
12911 case $orig_target_nm in
12913 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12917 for as_dir
in $PATH
12920 test -z "$as_dir" && as_dir
=.
12921 for ac_exec_ext
in '' $ac_executable_extensions; do
12922 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12923 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12934 orig_target_nm
=$ac_cv_path_orig_target_nm
12935 if test -n "$orig_target_nm"; then
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12937 $as_echo "$orig_target_nm" >&6; }
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12940 $as_echo "no" >&6; }
12947 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_nm}" : '[^ ]* \(.*\)'`
12948 # Extract the first word of "${aros_tool_prefix}${toolchain_nm}", so it can be a program name with args.
12949 set dummy
${aros_tool_prefix}${toolchain_nm}; ac_word
=$2
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12951 $as_echo_n "checking for $ac_word... " >&6; }
12952 if ${ac_cv_path_orig_target_nm+:} false
; then :
12953 $as_echo_n "(cached) " >&6
12955 case $orig_target_nm in
12957 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12961 for as_dir
in $PATH
12964 test -z "$as_dir" && as_dir
=.
12965 for ac_exec_ext
in '' $ac_executable_extensions; do
12966 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12967 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12978 orig_target_nm
=$ac_cv_path_orig_target_nm
12979 if test -n "$orig_target_nm"; then
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12981 $as_echo "$orig_target_nm" >&6; }
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12984 $as_echo "no" >&6; }
12988 orig_target_nm
="$orig_target_nm $ac_tool_optarg"
12992 if test "$orig_target_nm" = ""; then
12995 if test "$orig_target_nm" = "no"; then
12998 if test "$req_avail" = "no"; then
12999 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
13002 if test "${aros_tool_prefix}${toolchain_strip}" = ""; then
13003 if test "$cross_compiling" = "yes" ; then
13004 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
13005 set dummy
${target_tool_prefix}strip
; ac_word
=$2
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13007 $as_echo_n "checking for $ac_word... " >&6; }
13008 if ${ac_cv_path_orig_target_strip+:} false
; then :
13009 $as_echo_n "(cached) " >&6
13011 case $orig_target_strip in
13013 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13017 for as_dir
in $PATH
13020 test -z "$as_dir" && as_dir
=.
13021 for ac_exec_ext
in '' $ac_executable_extensions; do
13022 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13023 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13034 orig_target_strip
=$ac_cv_path_orig_target_strip
13035 if test -n "$orig_target_strip"; then
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13037 $as_echo "$orig_target_strip" >&6; }
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13040 $as_echo "no" >&6; }
13045 if test "$GCC" = "yes"; then
13046 aros_gcc_strip
=`$CC -print-prog-name=strip`
13047 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
13048 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13050 $as_echo_n "checking for $ac_word... " >&6; }
13051 if ${ac_cv_path_orig_target_strip+:} false
; then :
13052 $as_echo_n "(cached) " >&6
13054 case $orig_target_strip in
13056 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13060 for as_dir
in `dirname $aros_gcc_strip`
13063 test -z "$as_dir" && as_dir
=.
13064 for ac_exec_ext
in '' $ac_executable_extensions; do
13065 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13066 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13077 orig_target_strip
=$ac_cv_path_orig_target_strip
13078 if test -n "$orig_target_strip"; then
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13080 $as_echo "$orig_target_strip" >&6; }
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13083 $as_echo "no" >&6; }
13088 if test "$orig_target_strip" = ""; then
13089 # Extract the first word of "strip", so it can be a program name with args.
13090 set dummy strip
; ac_word
=$2
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13092 $as_echo_n "checking for $ac_word... " >&6; }
13093 if ${ac_cv_path_orig_target_strip+:} false
; then :
13094 $as_echo_n "(cached) " >&6
13096 case $orig_target_strip in
13098 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13102 for as_dir
in $PATH
13105 test -z "$as_dir" && as_dir
=.
13106 for ac_exec_ext
in '' $ac_executable_extensions; do
13107 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13108 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13119 orig_target_strip
=$ac_cv_path_orig_target_strip
13120 if test -n "$orig_target_strip"; then
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13122 $as_echo "$orig_target_strip" >&6; }
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13125 $as_echo "no" >&6; }
13132 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_strip}" : '[^ ]* \(.*\)'`
13133 # Extract the first word of "${aros_tool_prefix}${toolchain_strip}", so it can be a program name with args.
13134 set dummy
${aros_tool_prefix}${toolchain_strip}; ac_word
=$2
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13136 $as_echo_n "checking for $ac_word... " >&6; }
13137 if ${ac_cv_path_orig_target_strip+:} false
; then :
13138 $as_echo_n "(cached) " >&6
13140 case $orig_target_strip in
13142 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13146 for as_dir
in $PATH
13149 test -z "$as_dir" && as_dir
=.
13150 for ac_exec_ext
in '' $ac_executable_extensions; do
13151 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13152 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13163 orig_target_strip
=$ac_cv_path_orig_target_strip
13164 if test -n "$orig_target_strip"; then
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13166 $as_echo "$orig_target_strip" >&6; }
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13169 $as_echo "no" >&6; }
13173 orig_target_strip
="$orig_target_strip $ac_tool_optarg"
13177 if test "$orig_target_strip" = ""; then
13180 if test "$orig_target_strip" = "no"; then
13183 if test "$req_avail" = "no"; then
13184 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
13187 if test "${aros_tool_prefix}${toolchain_objcopy}" = ""; then
13188 if test "$cross_compiling" = "yes" ; then
13189 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
13190 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13192 $as_echo_n "checking for $ac_word... " >&6; }
13193 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13194 $as_echo_n "(cached) " >&6
13196 case $orig_target_objcopy in
13198 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13202 for as_dir
in $PATH
13205 test -z "$as_dir" && as_dir
=.
13206 for ac_exec_ext
in '' $ac_executable_extensions; do
13207 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13208 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13219 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13220 if test -n "$orig_target_objcopy"; then
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13222 $as_echo "$orig_target_objcopy" >&6; }
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13225 $as_echo "no" >&6; }
13230 if test "$GCC" = "yes"; then
13231 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
13232 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
13233 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13235 $as_echo_n "checking for $ac_word... " >&6; }
13236 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13237 $as_echo_n "(cached) " >&6
13239 case $orig_target_objcopy in
13241 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13245 for as_dir
in `dirname $aros_gcc_objcopy`
13248 test -z "$as_dir" && as_dir
=.
13249 for ac_exec_ext
in '' $ac_executable_extensions; do
13250 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13251 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13262 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13263 if test -n "$orig_target_objcopy"; then
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13265 $as_echo "$orig_target_objcopy" >&6; }
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13268 $as_echo "no" >&6; }
13273 if test "$orig_target_objcopy" = ""; then
13274 # Extract the first word of "objcopy", so it can be a program name with args.
13275 set dummy objcopy
; ac_word
=$2
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13277 $as_echo_n "checking for $ac_word... " >&6; }
13278 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13279 $as_echo_n "(cached) " >&6
13281 case $orig_target_objcopy in
13283 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13287 for as_dir
in $PATH
13290 test -z "$as_dir" && as_dir
=.
13291 for ac_exec_ext
in '' $ac_executable_extensions; do
13292 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13293 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13304 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13305 if test -n "$orig_target_objcopy"; then
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13307 $as_echo "$orig_target_objcopy" >&6; }
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13310 $as_echo "no" >&6; }
13317 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objcopy}" : '[^ ]* \(.*\)'`
13318 # Extract the first word of "${aros_tool_prefix}${toolchain_objcopy}", so it can be a program name with args.
13319 set dummy
${aros_tool_prefix}${toolchain_objcopy}; ac_word
=$2
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13321 $as_echo_n "checking for $ac_word... " >&6; }
13322 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13323 $as_echo_n "(cached) " >&6
13325 case $orig_target_objcopy in
13327 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13331 for as_dir
in $PATH
13334 test -z "$as_dir" && as_dir
=.
13335 for ac_exec_ext
in '' $ac_executable_extensions; do
13336 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13337 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13348 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13349 if test -n "$orig_target_objcopy"; then
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13351 $as_echo "$orig_target_objcopy" >&6; }
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13354 $as_echo "no" >&6; }
13358 orig_target_objcopy
="$orig_target_objcopy $ac_tool_optarg"
13362 if test "$orig_target_objcopy" = ""; then
13365 if test "$orig_target_objcopy" = "no"; then
13368 if test "$req_avail" = "no"; then
13369 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
13372 if test "${aros_tool_prefix}${toolchain_objdump}" = ""; then
13373 if test "$cross_compiling" = "yes" ; then
13374 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
13375 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13377 $as_echo_n "checking for $ac_word... " >&6; }
13378 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13379 $as_echo_n "(cached) " >&6
13381 case $orig_target_objdump in
13383 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13387 for as_dir
in $PATH
13390 test -z "$as_dir" && as_dir
=.
13391 for ac_exec_ext
in '' $ac_executable_extensions; do
13392 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13393 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13404 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13405 if test -n "$orig_target_objdump"; then
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13407 $as_echo "$orig_target_objdump" >&6; }
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13410 $as_echo "no" >&6; }
13415 if test "$GCC" = "yes"; then
13416 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
13417 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
13418 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13420 $as_echo_n "checking for $ac_word... " >&6; }
13421 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13422 $as_echo_n "(cached) " >&6
13424 case $orig_target_objdump in
13426 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13430 for as_dir
in `dirname $aros_gcc_objdump`
13433 test -z "$as_dir" && as_dir
=.
13434 for ac_exec_ext
in '' $ac_executable_extensions; do
13435 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13436 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13447 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13448 if test -n "$orig_target_objdump"; then
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13450 $as_echo "$orig_target_objdump" >&6; }
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13453 $as_echo "no" >&6; }
13458 if test "$orig_target_objdump" = ""; then
13459 # Extract the first word of "objdump", so it can be a program name with args.
13460 set dummy objdump
; ac_word
=$2
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13462 $as_echo_n "checking for $ac_word... " >&6; }
13463 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13464 $as_echo_n "(cached) " >&6
13466 case $orig_target_objdump in
13468 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13472 for as_dir
in $PATH
13475 test -z "$as_dir" && as_dir
=.
13476 for ac_exec_ext
in '' $ac_executable_extensions; do
13477 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13478 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13489 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13490 if test -n "$orig_target_objdump"; then
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13492 $as_echo "$orig_target_objdump" >&6; }
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13495 $as_echo "no" >&6; }
13502 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objdump}" : '[^ ]* \(.*\)'`
13503 # Extract the first word of "${aros_tool_prefix}${toolchain_objdump}", so it can be a program name with args.
13504 set dummy
${aros_tool_prefix}${toolchain_objdump}; ac_word
=$2
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13506 $as_echo_n "checking for $ac_word... " >&6; }
13507 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13508 $as_echo_n "(cached) " >&6
13510 case $orig_target_objdump in
13512 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13516 for as_dir
in $PATH
13519 test -z "$as_dir" && as_dir
=.
13520 for ac_exec_ext
in '' $ac_executable_extensions; do
13521 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13522 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13533 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13534 if test -n "$orig_target_objdump"; then
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13536 $as_echo "$orig_target_objdump" >&6; }
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13539 $as_echo "no" >&6; }
13543 orig_target_objdump
="$orig_target_objdump $ac_tool_optarg"
13547 if test "$orig_target_objdump" = ""; then
13550 if test "$orig_target_objdump" = "no"; then
13553 if test "$req_avail" = "no"; then
13554 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
13558 if test "$kernel_tool_prefix" = "none" ; then
13559 # No kernel tools specified
13560 # Assume target tools == kernel tools with ELF wrapper
13561 aros_kernel_cc
=$orig_target_cc
13562 aros_kernel_cxx
=$orig_target_cxx
13563 aros_kernel_cpp
=$orig_target_cpp
13564 aros_kernel_ld
=$orig_target_ld
13565 aros_kernel_as
=$orig_target_as
13566 aros_kernel_ar
=$orig_target_ar
13567 aros_kernel_ranlib
=$orig_target_ranlib
13568 aros_kernel_nm
=$orig_target_nm
13569 aros_kernel_strip
=$orig_target_strip
13570 aros_kernel_objcopy
=$orig_target_objcopy
13571 aros_kernel_objdump
=$orig_target_objdump
13572 use_kernel_cc_wrapper
=yes
13575 # At this point, all aros_kernel_* and aros_target_*
13576 # tools should be set up correctly
13578 CC
="$aros_kernel_cc $kernel_tool_flags"
13579 CPP
="$aros_kernel_cpp"
13581 #-----------------------------------------------------------------------------
13583 # Find all the tools we need to compile. This could be cross-compiling
13584 # though! If that is the case we use the GNU form of the target and
13585 # simply add this to the front of the binary name. This is rather simple,
13586 # but it should work under most circumstances.
13588 # The default tools are to use the same as the host, but only if the
13589 # host and target CPU are the same. With GCC this is normally enough.
13593 aros_shared_ld
="$aros_host_ld"
13595 aros_target_mkdep
="$aros_host_mkdep"
13597 # The default tools executables to be linked to.
13598 if test "$rescomp" != ""; then
13599 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
13600 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13602 $as_echo_n "checking for $ac_word... " >&6; }
13603 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
13604 $as_echo_n "(cached) " >&6
13606 case $aros_kernel_rescomp in
13608 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
13611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13612 for as_dir
in $PATH
13615 test -z "$as_dir" && as_dir
=.
13616 for ac_exec_ext
in '' $ac_executable_extensions; do
13617 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13618 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
13619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13629 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
13630 if test -n "$aros_kernel_rescomp"; then
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
13632 $as_echo "$aros_kernel_rescomp" >&6; }
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13635 $as_echo "no" >&6; }
13640 if test "$aros_kernel_rescomp" = ""; then
13643 if test "$aros_kernel_rescomp" = "no"; then
13646 if test "$req_avail" = "no"; then
13647 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
13651 # Set up the sources for the symlink farm
13652 if test "$crosstools" = "yes"; then
13653 crosstools_target
=tools-crosstools
13656 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
13657 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
13659 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/host/config"
13660 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
13661 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Developer/include/aros"
13662 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
13663 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
13664 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
13665 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
13667 # aros_cc_pre is a variable that is added to the front of the compiler name
13668 # in the generated aros-gcc shell script. We need this to enable the cache
13669 # to work across cleaned builds. Also, support DISTCC using the correct
13670 # environment variable.
13673 if test "x${DISTCC}" != "x" ; then
13674 if test "x${CCACHE}" != "x" ; then
13675 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
13677 aros_cc_pre
="${DISTCC} "
13680 if test "x${CCACHE}" != "x" ; then
13681 aros_cc_pre
="${CCACHE} "
13685 aros_target_nostdinc_cflags
=-nostdinc
13687 aros_target_nostartup_ldflags
=-nostartfiles
13689 aros_target_nix_ldflags
=-nix
13691 aros_target_detach_ldflags
=-detach
13693 aros_target_nostdlib_ldflags
=-nostdlib
13698 if test "$aros_target_toolchain" != "yes"; then
13699 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
13700 if test "$GCC" = "yes"; then
13701 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
13704 # We do not know which c compiler version we are going to build and what we need to know
13705 # here is different for different versions so this will be set later during the
13706 # build of crosstools.
13707 if test "$aros_toolchain" = "gnu" ; then
13708 prefix
="$AROS_CROSSTOOLSDIR/${aros_target_cpu}-aros-"
13709 elif test "$aros_toolchain" = "llvm" ; then
13710 prefix
="$AROS_CROSSTOOLSDIR/bin/"
13712 aros_target_cc_path
=@aros_target_cc_path@
13714 aros_target_cpp
="${prefix}${toolchain_cpp_preprocessor}"
13715 aros_target_cc
="${prefix}${toolchain_c_compiler}"
13716 aros_target_cxx
="${prefix}${toolchain_cxx_compiler}"
13717 aros_target_as
="${prefix}${toolchain_as}"
13718 if test "${use_ld_wrapper}" = "yes"; then
13719 aros_target_ld
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${aros_ld}"
13721 aros_target_ld
="${prefix}${toolchain_ld}"
13723 aros_toolchain_ld
="${prefix}${toolchain_ld}"
13725 aros_target_ar
="${prefix}${toolchain_ar} $aros_target_ar_flags"
13726 aros_target_objcopy
="${prefix}${toolchain_objcopy}"
13727 aros_target_objdump
="${prefix}${toolchain_objdump}"
13728 aros_target_ranlib
="${prefix}${toolchain_ranlib} $aros_target_ranlib_flags"
13729 aros_target_nm
="${prefix}${toolchain_nm} $aros_target_nm_flags"
13730 aros_target_strip
="${prefix}${toolchain_strip}"
13731 aros_plain_nm
="${prefix}${toolchain_nm}"
13732 aros_plain_ar
="${prefix}${toolchain_ar}"
13734 # Check whether --enable-includes was given.
13735 if test "${enable_includes+set}" = set; then :
13736 enableval
=$enable_includes; aros_target_incl
=$enable_includes
13738 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
13742 if test "$aros_kernel_includes" = ""; then
13743 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13744 aros_kernel_includes
="-isystem $aros_target_incl"
13748 if test "$aros_kernel_includes" != "" ; then
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
13750 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
13751 if test "$aros_kernel_cc_includes" = "" ; then
13752 # Try to guess where the directory is.
13753 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
13754 if test -d $aros_kernel_cc_includes; then
13755 # Check if there is also an include-fixed directory and add it
13756 # to kernel compiler's include path as it may contain some of
13757 # the headers we need.
13758 if test -d "$aros_kernel_cc_includes"-fixed; then
13759 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
13761 # Check for specific includes directory. Needed for Ubuntu 11.10 and Debian
13762 if test -d "/usr/include/${aros_target_cpu}-linux-gnu"; then
13763 aros_kernel_cc_includes
+=" -isystem /usr/include/${aros_target_cpu}-linux-gnu"
13766 # The directory doesn't exist, we need to do some more work.
13767 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
13769 # These are the headers we're looking for.
13770 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13771 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13775 for h
in $headers; do
13776 # Which other headers are needed by each of the above?
13777 deps
=$
(echo "#include <$h>" | \
13778 $aros_kernel_cc -E -M - 2>/dev
/null | \
13779 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13781 # Copy all the needed headers to a directory beneath gendir.
13784 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
13785 sed -n "s,^.*/include\(/.*\),\1,p")
13786 ! test -d $dir && mkdir
-p $dir
13787 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
13793 $as_echo "$aros_kernel_cc_includes" >&6; }
13794 # Adding -nostdinc to kernel includes as they are always used together.
13795 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
13798 if test "$crosstools" != "yes"; then
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
13800 $as_echo_n "checking for the target compiler's include path... " >&6; }
13801 if test "$aros_target_cc_includes" = "" ; then
13802 #try to guess where the directory is
13803 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
13804 if ! test -d $aros_target_cc_includes; then
13805 #the directory doesn't exist, we need to do some more work
13806 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
13808 #these are the headers we're looking for
13809 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13810 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13814 for h
in $headers; do
13815 #which other headers each of the above headers needs?
13816 deps
=$
(echo "#include <$h>" | \
13817 $orig_target_cc -E -M - 2>/dev
/null | \
13818 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13820 #copy all the needed headers to a directory beneath gendir
13823 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
13824 sed -n "s,^.*/include\(/.*\),\1,p")
13825 ! test -d $dir && mkdir
-p $dir
13826 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
13832 $as_echo "$aros_target_cc_includes" >&6; }
13834 # We do not know which c compiler version we are going to build and what we need to know
13835 # here is different for different versions so this will be set later during the
13836 # build of crosstools.
13837 aros_target_cc_includes
=@aros_target_cc_includes@
13841 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
13842 # On GCC >= 4.0 -iquote should be used
13846 save_cflags
="$CFLAGS"
13848 kernel_cflags_iquote
=$host_cflags_iquote
13849 kernel_cflags_iquote_end
=$host_cflags_iquote_end
13850 if test "x-$cross_compiling" = "x-yes"; then
13851 CC
="$aros_kernel_cc"
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
13853 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
13854 if test "x-$crosstools" != "x-yes"; then
13855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13856 /* end confdefs.h. */
13866 if ac_fn_c_try_compile
"$LINENO"; then :
13867 use_no_stack_protector
="yes"
13869 use_no_stack_protector
="no"
13871 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13873 # we do know it is supported for the smallest version of gcc we are going to build
13874 # we assume it's also supported by later versions
13875 use_no_stack_protector
=yes
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
13878 $as_echo "$use_no_stack_protector" >&6; }
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13880 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13881 if test "x-$crosstools" != "x-yes"; then
13882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13883 /* end confdefs.h. */
13893 if ac_fn_c_try_compile
"$LINENO"; then :
13898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13900 # we do know it is supported for the smallest version of gcc we are going to build
13901 # we assume it's also supported by later versions
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13905 $as_echo "$has_iquote" >&6; }
13906 if test "x-$has_iquote" = "x-yes" ; then
13907 kernel_cflags_iquote
=-iquote
13908 kernel_cflags_iquote_end
=
13910 kernel_cflags_iquote
=-I
13911 kernel_cflags_iquote_end
=-I-
13914 if test "x-$use_no_stack_protector" = "x-yes" ; then
13915 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13918 #-----------------------------------------------------------------------------
13920 # Check if we can explicitly choose older version of symbol hashing
13922 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13923 CC
="$aros_kernel_cc"
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13925 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13927 /* end confdefs.h. */
13937 if ac_fn_c_try_link
"$LINENO"; then :
13938 use_hash_style
="yes"
13940 use_hash_style
="no"
13942 rm -f core conftest.err conftest.
$ac_objext \
13943 conftest
$ac_exeext conftest.
$ac_ext
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13945 $as_echo "$use_hash_style" >&6; }
13946 if test "x-$use_hash_style" = "x-yes" ; then
13947 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13950 CFLAGS
="$save_cflags"
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13959 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13961 # Check whether --with-resolution was given.
13962 if test "${with_resolution+set}" = set; then :
13963 withval
=$with_resolution; resolution
=$withval
13968 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13969 if test "$resolution" = "yes" ; then
13972 if test "$resolution" = "no" ; then
13975 if test "$resolution" != "none" ; then
13976 aros_nominal_width
=`echo $resolution | cut -d'x' -f1`
13977 aros_nominal_height
=`echo $resolution | cut -d'x' -f2`
13978 aros_nominal_depth
=`echo $resolution | cut -d'x' -f3`
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&5
13981 $as_echo "$aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&6; }
13982 aros_cv_nominal_width
=$aros_nominal_width
13983 aros_cv_nominal_height
=$aros_nominal_height
13984 aros_cv_nominal_depth
=$aros_nominal_depth
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether serial debug is enabled" >&5
13987 $as_echo_n "checking whether serial debug is enabled... " >&6; }
13989 # Check whether --with-serial-debug was given.
13990 if test "${with_serial_debug+set}" = set; then :
13991 withval
=$with_serial_debug; serial_debug
=$withval
13996 if test "$aros_serial_debug" = 0 ; then
13997 serial_debug_forced
=""
13998 if test "$serial_debug" = "yes" ; then
14001 if test "$serial_debug" = "no" ; then
14002 serial_debug
="none"
14005 serial_debug_forced
="(forced)"
14006 serial_debug
=$aros_serial_debug
14008 if test "$serial_debug" != "none" ; then
14009 aros_serial_debug
=$serial_debug
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
14011 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14014 $as_echo "no" >&6; }
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether palm debug hack is enabled" >&5
14018 $as_echo_n "checking whether palm debug hack is enabled... " >&6; }
14019 # Check whether --enable-palm_debug_hack was given.
14020 if test "${enable_palm_debug_hack+set}" = set; then :
14021 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
14023 palm_debug_hack
="no"
14026 if test "$palm_debug_hack" = "yes" ; then
14027 aros_palm_debug_hack
="1"
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
14030 $as_echo "$palm_debug_hack" >&6; }
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usb3.0 code is enabled" >&5
14033 $as_echo_n "checking whether usb3.0 code is enabled... " >&6; }
14034 # Check whether --enable-usb30_code was given.
14035 if test "${enable_usb30_code+set}" = set; then :
14036 enableval
=$enable_usb30_code; usb30_code
="yes"
14041 if test "$usb30_code" = "yes" ; then
14042 aros_config_cflags
="$aros_config_cflags -DAROS_USB30_CODE"
14043 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
14046 $as_echo "$usb30_code" >&6; }
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether nesting supervisor support is enabled" >&5
14049 $as_echo_n "checking whether nesting supervisor support is enabled... " >&6; }
14050 # Check whether --enable-nesting_supervisor was given.
14051 if test "${enable_nesting_supervisor+set}" = set; then :
14052 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
14054 nesting_supervisor
="no"
14057 if test "$nesting_supervisor" = "yes" ; then
14058 aros_nesting_supervisor
="1"
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
14061 $as_echo "$nesting_supervisor" >&6; }
14063 if test "$aros_enable_mmu" = "" ; then
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MMU support is enabled" >&5
14065 $as_echo_n "checking whether MMU support is enabled... " >&6; }
14066 # Check whether --enable-mmu was given.
14067 if test "${enable_mmu+set}" = set; then :
14068 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
14070 aros_enable_mmu
="yes"
14073 if test "$aros_enable_mmu" = "" ; then
14074 aros_enable_mmu
="yes"
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
14077 $as_echo "$aros_enable_mmu" >&6; }
14079 if test "$aros_enable_mmu" = "no" ; then
14080 aros_enable_mmu
="0"
14082 aros_enable_mmu
="1"
14086 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
14088 if test "x-$need_dlopen" != "x-no" ; then
14091 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
14092 if test "x$ac_cv_func_dlopen" = xyes
; then :
14098 if test "x-$have_dl" = "x-no" ; then
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14100 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14101 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14102 $as_echo_n "(cached) " >&6
14104 ac_check_lib_save_LIBS
=$LIBS
14106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14107 /* end confdefs.h. */
14109 /* Override any GCC internal prototype to avoid an error.
14110 Use char because int might match the return type of a GCC
14111 builtin and then its argument prototype would still apply. */
14124 if ac_fn_c_try_link
"$LINENO"; then :
14125 ac_cv_lib_dl_dlopen
=yes
14127 ac_cv_lib_dl_dlopen
=no
14129 rm -f core conftest.err conftest.
$ac_objext \
14130 conftest
$ac_exeext conftest.
$ac_ext
14131 LIBS
=$ac_check_lib_save_LIBS
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14134 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14135 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14137 aros_host_ldflags
="$aros_host_ldflags -ldl"
14143 if test "x-$have_dl" = "x-no" ; then
14144 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
14150 # Check whether --enable-x11_hidd was given.
14151 if test "${enable_x11_hidd+set}" = set; then :
14152 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
14154 x11_hidd
="$need_x11"
14157 case "x-$x11_hidd" in
14158 x-yes|x-no|x-auto
) ;;
14159 *) x11_hidd
="$need_x11" ;;
14164 if test "x-$x11_hidd" != "x-no" ; then
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
14167 $as_echo_n "checking for X... " >&6; }
14170 # Check whether --with-x was given.
14171 if test "${with_x+set}" = set; then :
14175 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
14176 if test "x$with_x" = xno
; then
14177 # The user explicitly disabled X.
14180 case $x_includes,$x_libraries in #(
14181 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
14182 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
14183 $as_echo_n "(cached) " >&6
14185 # One or both of the vars are not set, and there is no cached value.
14186 ac_x_includes
=no ac_x_libraries
=no
14187 rm -f -r conftest.dir
14188 if mkdir conftest.dir
; then
14190 cat >Imakefile
<<'_ACEOF'
14192 @echo incroot='${INCROOT}'
14194 @echo usrlibdir='${USRLIBDIR}'
14196 @echo libdir='${LIBDIR}'
14198 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
14199 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14200 for ac_var
in incroot usrlibdir libdir
; do
14201 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14203 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14204 for ac_extension
in a so sl dylib la dll
; do
14205 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14206 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14207 ac_im_usrlibdir
=$ac_im_libdir; break
14210 # Screen out bogus values from the imake configuration. They are
14211 # bogus both because they are the default anyway, and because
14212 # using them would break gcc on systems where it needs fixed includes.
14213 case $ac_im_incroot in
14214 /usr
/include
) ac_x_includes
= ;;
14215 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
14217 case $ac_im_usrlibdir in
14218 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
14219 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
14223 rm -f -r conftest.dir
14226 # Standard set of common directories for X headers.
14227 # Check X11 before X11Rn because it is often a symlink to the current release.
14241 /usr/local/X11/include
14242 /usr/local/X11R7/include
14243 /usr/local/X11R6/include
14244 /usr/local/X11R5/include
14245 /usr/local/X11R4/include
14247 /usr/local/include/X11
14248 /usr/local/include/X11R7
14249 /usr/local/include/X11R6
14250 /usr/local/include/X11R5
14251 /usr/local/include/X11R4
14255 /usr/XFree86/include/X11
14259 /usr/unsupported/include
14260 /usr/athena/include
14261 /usr/local/x11r5/include
14262 /usr/lpp/Xamples/include
14264 /usr/openwin/include
14265 /usr/openwin/share/include'
14267 if test "$ac_x_includes" = no
; then
14268 # Guess where to find include files, by looking for Xlib.h.
14269 # First, try using that file with no special directory specified.
14270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14271 /* end confdefs.h. */
14272 #include <X11/Xlib.h>
14274 if ac_fn_c_try_cpp
"$LINENO"; then :
14275 # We can compile using X headers with no special include directory.
14278 for ac_dir
in $ac_x_header_dirs; do
14279 if test -r "$ac_dir/X11/Xlib.h"; then
14280 ac_x_includes
=$ac_dir
14285 rm -f conftest.err conftest.i conftest.
$ac_ext
14286 fi # $ac_x_includes = no
14288 if test "$ac_x_libraries" = no
; then
14289 # Check for the libraries.
14290 # See if we find them without any special options.
14291 # Don't add to $LIBS permanently.
14294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14295 /* end confdefs.h. */
14296 #include <X11/Xlib.h>
14305 if ac_fn_c_try_link
"$LINENO"; then :
14307 # We can link X programs with no special library path.
14311 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14313 # Don't even attempt the hair of trying to link an X program!
14314 for ac_extension
in a so sl dylib la dll
; do
14315 if test -r "$ac_dir/libX11.$ac_extension"; then
14316 ac_x_libraries
=$ac_dir
14322 rm -f core conftest.err conftest.
$ac_objext \
14323 conftest
$ac_exeext conftest.
$ac_ext
14324 fi # $ac_x_libraries = no
14326 case $ac_x_includes,$ac_x_libraries in #(
14327 no
,* |
*,no |
*\'*)
14328 # Didn't find X, or a directory has "'" in its name.
14329 ac_cv_have_x
="have_x=no";; #(
14331 # Record where we found X for the cache.
14332 ac_cv_have_x
="have_x=yes\
14333 ac_x_includes='$ac_x_includes'\
14334 ac_x_libraries='$ac_x_libraries'"
14340 eval "$ac_cv_have_x"
14343 if test "$have_x" != yes; then
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14345 $as_echo "$have_x" >&6; }
14348 # If each of the values was on the command line, it overrides each guess.
14349 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
14350 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
14351 # Update the cache value to reflect the command line values.
14352 ac_cv_have_x
="have_x=yes\
14353 ac_x_includes='$x_includes'\
14354 ac_x_libraries='$x_libraries'"
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14356 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
14360 if test -n "$x_includes"; then
14361 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14364 if test -n "$x_libraries"; then
14365 X_LIBS
="$X_LIBS -L$x_libraries"
14368 if test "x-$no_x" = "x-yes" ; then
14370 if test "x-$x11_hidd" != "x-auto" ; then
14371 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
14378 aros_host_x11_cflags
="$X_CFLAGS"
14379 aros_host_x11_ldflags
="$X_LIBS -lX11"
14381 # Check whether --enable-x11_shm was given.
14382 if test "${enable_x11_shm+set}" = set; then :
14383 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
14385 x11_hidd_shm
="auto"
14388 case "x-$x11_hidd_shm" in
14389 x-yes|x-no|x-auto
) ;;
14390 *) x11_hidd_shm
="auto" ;;
14395 if test "x-$x11_hidd_shm" != "x-no" ; then
14397 for ac_header
in sys
/ipc.h
14399 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
14400 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
14401 cat >>confdefs.h
<<_ACEOF
14402 #define HAVE_SYS_IPC_H 1
14409 for ac_header
in sys
/shm.h
14411 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
14412 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
14413 cat >>confdefs.h
<<_ACEOF
14414 #define HAVE_SYS_SHM_H 1
14422 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
14424 save_cflags
="$CFLAGS"
14425 save_ldflags
="$LDFLAGS"
14426 CFLAGS
="$CFLAGS $X_CFLAGS"
14427 LDFLAGS
="$LDFLAGS $X_LIBS"
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14429 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
14430 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
14431 $as_echo_n "(cached) " >&6
14433 ac_check_lib_save_LIBS
=$LIBS
14434 LIBS
="-lXext $LIBS"
14435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14436 /* end confdefs.h. */
14438 /* Override any GCC internal prototype to avoid an error.
14439 Use char because int might match the return type of a GCC
14440 builtin and then its argument prototype would still apply. */
14444 char XShmQueryExtension ();
14448 return XShmQueryExtension ();
14453 if ac_fn_c_try_link
"$LINENO"; then :
14454 ac_cv_lib_Xext_XShmQueryExtension
=yes
14456 ac_cv_lib_Xext_XShmQueryExtension
=no
14458 rm -f core conftest.err conftest.
$ac_objext \
14459 conftest
$ac_exeext conftest.
$ac_ext
14460 LIBS
=$ac_check_lib_save_LIBS
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14463 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14464 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
14468 CFLAGS
="$save_cflags"
14469 LDFLAGS
="$save_ldflags"
14473 if test "x-$have_xshm" = "x-yes" ; then
14474 DO_XSHM_SUPPORT
="1"
14475 elif test "x-$x11_hidd_shm" = "x-yes" ; then
14476 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
14478 DO_XSHM_SUPPORT
="0"
14482 # Check whether --enable-x11_vidmode was given.
14483 if test "${enable_x11_vidmode+set}" = set; then :
14484 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
14486 x11_hidd_vidmode
="auto"
14489 case "x-$x11_hidd_vidmode" in
14490 x-yes|x-no|x-auto
) ;;
14491 *) x11_hidd_vidmode
="auto" ;;
14496 if test "x-$x11_hidd_vidmode" != "x-no" ; then
14498 save_cflags
="$CFLAGS"
14499 save_ldflags
="$LDFLAGS"
14500 CFLAGS
="$CFLAGS $X_CFLAGS"
14501 LDFLAGS
="$LDFLAGS $X_LIBS"
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
14503 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
14504 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
14505 $as_echo_n "(cached) " >&6
14507 ac_check_lib_save_LIBS
=$LIBS
14508 LIBS
="-lXxf86vm $LIBS"
14509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14510 /* end confdefs.h. */
14512 /* Override any GCC internal prototype to avoid an error.
14513 Use char because int might match the return type of a GCC
14514 builtin and then its argument prototype would still apply. */
14518 char XF86VidModeQueryExtension ();
14522 return XF86VidModeQueryExtension ();
14527 if ac_fn_c_try_link
"$LINENO"; then :
14528 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
14530 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
14532 rm -f core conftest.err conftest.
$ac_objext \
14533 conftest
$ac_exeext conftest.
$ac_ext
14534 LIBS
=$ac_check_lib_save_LIBS
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
14537 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
14538 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
14542 CFLAGS
="$save_cflags"
14543 LDFLAGS
="$save_ldflags"
14546 if test "x-$have_vidmode" = "x-yes" ; then
14547 DO_VIDMODE_SUPPORT
="1"
14548 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
14549 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
14551 DO_VIDMODE_SUPPORT
="0"
14556 # Check whether --enable-sdl_hidd was given.
14557 if test "${enable_sdl_hidd+set}" = set; then :
14558 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
14563 case "x-$sdl_hidd" in
14564 x-yes|x-no|x-auto
) ;;
14565 *) sdl_hidd
="auto" ;;
14568 if test "x-$sdl_hidd" != "x-no" ; then
14572 # Check whether --with-sdl-prefix was given.
14573 if test "${with_sdl_prefix+set}" = set; then :
14574 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
14580 # Check whether --with-sdl-exec-prefix was given.
14581 if test "${with_sdl_exec_prefix+set}" = set; then :
14582 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
14587 # Check whether --enable-sdltest was given.
14588 if test "${enable_sdltest+set}" = set; then :
14589 enableval
=$enable_sdltest;
14595 if test x
$sdl_exec_prefix != x
; then
14596 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
14597 if test x
${SDL_CONFIG+set} != xset
; then
14598 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
14601 if test x
$sdl_prefix != x
; then
14602 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
14603 if test x
${SDL_CONFIG+set} != xset
; then
14604 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
14608 as_save_PATH
="$PATH"
14609 if test "x$prefix" != xNONE
; then
14610 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
14612 # Extract the first word of "sdl-config", so it can be a program name with args.
14613 set dummy sdl-config
; ac_word
=$2
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14615 $as_echo_n "checking for $ac_word... " >&6; }
14616 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
14617 $as_echo_n "(cached) " >&6
14619 case $SDL_CONFIG in
14621 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
14624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14625 for as_dir
in $PATH
14628 test -z "$as_dir" && as_dir
=.
14629 for ac_exec_ext
in '' $ac_executable_extensions; do
14630 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14631 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14639 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
14643 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
14644 if test -n "$SDL_CONFIG"; then
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
14646 $as_echo "$SDL_CONFIG" >&6; }
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14649 $as_echo "no" >&6; }
14653 PATH
="$as_save_PATH"
14654 min_sdl_version
=$SDL_VERSION
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
14656 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
14658 if test "$SDL_CONFIG" = "no" ; then
14661 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
14662 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
14664 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
14665 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
14666 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
14667 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
14668 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
14669 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
14670 if test "x$enable_sdltest" = "xyes" ; then
14671 ac_save_CFLAGS
="$CFLAGS"
14672 ac_save_CXXFLAGS
="$CXXFLAGS"
14673 ac_save_LIBS
="$LIBS"
14674 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14675 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14676 LIBS
="$LIBS $SDL_LIBS"
14678 if test "$cross_compiling" = yes; then :
14679 echo $ac_n "cross compiling; assumed OK... $ac_c"
14681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14682 /* end confdefs.h. */
14685 #include <stdlib.h>
14686 #include <string.h>
14690 my_strdup (char *str)
14696 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14697 strcpy (new_str, str);
14705 int main (int argc, char *argv[])
14707 int major, minor, micro;
14710 /* This hangs on some systems (?)
14711 system ("touch conf.sdltest");
14713 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14715 /* HP/UX 9 (%@#!) writes to sscanf strings */
14716 tmp_version = my_strdup("$min_sdl_version");
14717 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14718 printf("%s, bad version string\n", "$min_sdl_version");
14722 if (($sdl_major_version > major) ||
14723 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14724 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14730 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14731 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14732 printf("*** best to upgrade to the required version.\n");
14733 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14734 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14735 printf("*** config.cache before re-running configure\n");
14742 if ac_fn_c_try_run
"$LINENO"; then :
14747 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14748 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14751 CFLAGS
="$ac_save_CFLAGS"
14752 CXXFLAGS
="$ac_save_CXXFLAGS"
14753 LIBS
="$ac_save_LIBS"
14756 if test "x$no_sdl" = x
; then
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14758 $as_echo "yes" >&6; }
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14762 $as_echo "no" >&6; }
14763 if test "$SDL_CONFIG" = "no" ; then
14764 echo "*** The sdl-config script installed by SDL could not be found"
14765 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14766 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14767 echo "*** full path to sdl-config."
14769 if test -f conf.sdltest
; then
14772 echo "*** Could not run SDL test program, checking why..."
14773 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14774 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14775 LIBS
="$LIBS $SDL_LIBS"
14776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14777 /* end confdefs.h. */
14782 int main(int argc, char *argv[])
14785 #define main K_and_R_C_main
14795 if ac_fn_c_try_link
"$LINENO"; then :
14796 echo "*** The test program compiled, but did not run. This usually means"
14797 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14798 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14799 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14800 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14801 echo "*** is required on your system"
14803 echo "*** If you have an old version installed, it is best to remove it, although"
14804 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14806 echo "*** The test program failed to compile or link. See the file config.log for the"
14807 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14808 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14809 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14811 rm -f core conftest.err conftest.
$ac_objext \
14812 conftest
$ac_exeext conftest.
$ac_ext
14813 CFLAGS
="$ac_save_CFLAGS"
14814 CXXFLAGS
="$ac_save_CXXFLAGS"
14815 LIBS
="$ac_save_LIBS"
14827 if test "x-$have_sdl" != "x-yes" ; then
14829 if test "x-$sdl_hidd" != "x-auto" ; then
14830 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14835 aros_host_sdl_cflags
=$SDL_CFLAGS
14836 aros_host_sdl_libs
=$SDL_LIBS
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether building of dbus.library is enabled" >&5
14844 $as_echo_n "checking whether building of dbus.library is enabled... " >&6; }
14845 # Check whether --enable-dbus was given.
14846 if test "${enable_dbus+set}" = set; then :
14847 enableval
=$enable_dbus; dbus
="yes"
14852 if test "$dbus" = "yes" ; then
14854 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14855 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14856 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14857 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14862 $as_echo "$dbus" >&6; }
14864 if test "$use_kernel_cc_wrapper" = "yes" ; then
14865 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-${toolchain_c_compiler}"
14883 # Compatability with other Amiga-like operation systems
14989 # Hosted Graphics Related
15007 # Native version related
15012 # Palm native version related
15015 # Unix/Hosted version related
15021 # Apple iOS related
15026 # ARM default GCC target related
15054 # Collect-aros stuff: "-ius" to ignore undefined symbols
15057 # C compiler related
15062 #ObjC compiler related
15071 case "$aros_flavour" in
15072 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
15073 aros_flavour
="emulation" ;;
15074 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
15075 aros_flavour
="emulation" ;;
15076 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
15077 aros_flavour
="standalone";;
15078 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15079 aros_flavour
="standalone";;
15080 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
15081 aros_flavour
="native" ;;
15082 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
15083 aros_flavour
="native" ;;
15084 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
15085 aros_flavour
="linklib" ;;
15086 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15087 aros_flavour
="palmnative" ;;
15088 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15089 aros_flavour
="mac68knative" ;;
15090 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15091 aros_flavour
="ppcnative" ;;
15094 if test ! -d ${aros_inc_dir} ; then
15095 ${MKDIR} ${aros_inc_dir}
15097 if test ! -d ${aros_geninc_dir} ; then
15098 ${MKDIR} ${aros_geninc_dir}
15100 if test ! -d ${aros_hostcfg_dir} ; then
15101 ${MKDIR} ${aros_hostcfg_dir}
15103 if test ! -d ${aros_targetcfg_dir} ; then
15104 ${MKDIR} ${aros_targetcfg_dir}
15106 if test ! -d ${aros_tools_dir} ; then
15107 ${MKDIR} ${aros_tools_dir}
15109 if test ! -d ${aros_scripts_dir} ; then
15110 ${MKDIR} ${aros_scripts_dir}
15113 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
15116 # Generic build tools (metamake, etc)
15117 ac_config_commands
="$ac_config_commands genmf-executable-support"
15119 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"
15123 ac_config_commands
="$ac_config_commands binutils-support"
15125 if test "${use_ld_wrapper}" = "yes"; then
15126 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"
15129 # Bare Elf support script and spec
15130 if test "${use_kernel_cc_wrapper}" = "yes"; then
15131 ac_config_commands
="$ac_config_commands elf-compiler-support"
15133 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"
15137 # Host compiler support scripts and spec
15138 if test "${aros_target_toolchain}" = "no"; then
15139 ac_config_commands
="$ac_config_commands host-compiler-wrapper-support"
15141 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"
15146 if test "$aros_target_variant" == "android"; then
15147 ac_config_files
="$ac_config_files ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in"
15152 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in"
15155 cat >confcache
<<\_ACEOF
15156 # This file is a shell script that caches the results of configure
15157 # tests run on this system so they can be shared between configure
15158 # scripts and configure runs, see configure's option --config-cache.
15159 # It is not useful on other systems. If it contains results you don't
15160 # want to keep, you may remove or edit it.
15162 # config.status only pays attention to the cache file if you give it
15163 # the --recheck option to rerun configure.
15165 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15166 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15167 # following values.
15171 # The following way of writing the cache mishandles newlines in values,
15172 # but we know of no workaround that is simple, portable, and efficient.
15173 # So, we kill variables containing newlines.
15174 # Ultrix sh set writes to stderr and can't be redirected directly,
15175 # and sets the high bit in the cache file unless we assign to the vars.
15177 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15178 eval ac_val
=\$
$ac_var
15182 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15183 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15186 _ | IFS | as_nl
) ;; #(
15187 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15188 *) { eval $ac_var=; unset $ac_var;} ;;
15194 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15195 *${as_nl}ac_space
=\
*)
15196 # `set' does not quote correctly, so add quotes: double-quote
15197 # substitution turns \\\\ into \\, and sed turns \\ into \.
15200 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15203 # `set' quotes correctly as required by POSIX, so do not add quotes.
15204 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15213 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15215 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15217 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15218 if test -w "$cache_file"; then
15219 if test "x$cache_file" != "x/dev/null"; then
15220 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15221 $as_echo "$as_me: updating cache $cache_file" >&6;}
15222 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15223 cat confcache
>"$cache_file"
15225 case $cache_file in #(
15227 mv -f confcache
"$cache_file"$$
&&
15228 mv -f "$cache_file"$$
"$cache_file" ;; #(
15230 mv -f confcache
"$cache_file" ;;
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15236 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15241 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15242 # Let make expand exec_prefix.
15243 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15245 DEFS
=-DHAVE_CONFIG_H
15250 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15251 # 1. Remove the extension, and $U if already installed.
15252 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15253 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15254 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15255 # will be set to the directory where LIBOBJS objects are built.
15256 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15257 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15259 LIBOBJS
=$ac_libobjs
15261 LTLIBOBJS
=$ac_ltlibobjs
15265 : "${CONFIG_STATUS=./config.status}"
15267 ac_clean_files_save
=$ac_clean_files
15268 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15270 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15272 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15274 # Generated by $as_me.
15275 # Run this file to recreate the current configuration.
15276 # Compiler output produced by configure, useful for debugging
15277 # configure, is in config.log if it exists.
15280 ac_cs_recheck=false
15283 SHELL=\${CONFIG_SHELL-$SHELL}
15286 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15287 ## -------------------- ##
15288 ## M4sh Initialization. ##
15289 ## -------------------- ##
15291 # Be more Bourne compatible
15292 DUALCASE
=1; export DUALCASE
# for MKS sh
15293 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15296 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15297 # is contrary to our usage. Disable this feature.
15298 alias -g '${1+"$@"}'='"$@"'
15299 setopt NO_GLOB_SUBST
15301 case `(set -o) 2>/dev/null` in #(
15313 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15314 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15315 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15316 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15317 # Prefer a ksh shell builtin over an external printf program on Solaris,
15318 # but without wasting forks for bash or zsh.
15319 if test -z "$BASH_VERSION$ZSH_VERSION" \
15320 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15321 as_echo='print
-r --'
15322 as_echo_n='print
-rn --'
15323 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15324 as_echo='printf %s
\n'
15325 as_echo_n='printf %s
'
15327 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15328 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15329 as_echo_n='/usr
/ucb
/echo -n'
15331 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15332 as_echo_n_body='eval
15336 expr "X$arg" : "X\\(.*\\)$as_nl";
15337 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15339 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15341 export as_echo_n_body
15342 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15344 export as_echo_body
15345 as_echo='sh
-c $as_echo_body as_echo
'
15348 # The user is always right.
15349 if test "${PATH_SEPARATOR+set}" != set; then
15351 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15352 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15359 # We need space, tab and new line, in precisely that order. Quoting is
15360 # there to prevent editors from complaining about space-tab.
15361 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15362 # splitting by setting IFS to empty value.)
15365 # Find who we are. Look in the path if we contain no directory separator.
15368 *[\\/]* ) as_myself=$0 ;;
15369 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15370 for as_dir in $PATH
15373 test -z "$as_dir" && as_dir=.
15374 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15380 # We did not find ourselves, most probably we were run as `sh COMMAND'
15381 # in which case we are not to be found in the path.
15382 if test "x$as_myself" = x
; then
15385 if test ! -f "$as_myself"; then
15386 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15390 # Unset variables that we do not need and which cause bugs (e.g. in
15391 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15392 # suppresses any "Segmentation fault" message there. '((' could
15393 # trigger a bug in pdksh 5.2.14.
15394 for as_var
in BASH_ENV ENV MAIL MAILPATH
15395 do eval test x\
${$as_var+set} = xset \
15396 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15409 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15412 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15413 # ----------------------------------------
15414 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15415 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15416 # script with STATUS, using 1 if that was 0.
15419 as_status
=$1; test $as_status -eq 0 && as_status
=1
15421 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15422 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15424 $as_echo "$as_me: error: $2" >&2
15425 as_fn_exit
$as_status
15429 # as_fn_set_status STATUS
15430 # -----------------------
15431 # Set $? to STATUS, without forking.
15432 as_fn_set_status
()
15435 } # as_fn_set_status
15437 # as_fn_exit STATUS
15438 # -----------------
15439 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15443 as_fn_set_status
$1
15449 # Portably unset VAR.
15452 { eval $1=; unset $1;}
15454 as_unset
=as_fn_unset
15455 # as_fn_append VAR VALUE
15456 # ----------------------
15457 # Append the text in VALUE to the end of the definition contained in VAR. Take
15458 # advantage of any shell optimizations that allow amortized linear growth over
15459 # repeated appends, instead of the typical quadratic growth present in naive
15461 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15462 eval 'as_fn_append ()
15473 # as_fn_arith ARG...
15474 # ------------------
15475 # Perform arithmetic evaluation on the ARGs, and store the result in the
15476 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15477 # must be portable across $(()) and expr.
15478 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15479 eval 'as_fn_arith ()
15486 as_val
=`expr "$@" || test $? -eq 1`
15491 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15492 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15498 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15499 as_basename
=basename
15504 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15510 as_me
=`$as_basename -- "$0" ||
15511 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15512 X"$0" : 'X\(//\)$' \| \
15513 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15515 sed '/^.*\/\([^/][^/]*\)\/*$/{
15529 # Avoid depending upon Character Ranges.
15530 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15531 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15532 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15533 as_cr_digits
='0123456789'
15534 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15536 ECHO_C
= ECHO_N
= ECHO_T
=
15537 case `echo -n x` in #(((((
15539 case `echo 'xy\c'` in
15540 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15542 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15549 rm -f conf$$ conf$$.exe conf$$.
file
15550 if test -d conf$$.dir
; then
15551 rm -f conf$$.dir
/conf$$.
file
15554 mkdir conf$$.dir
2>/dev
/null
15556 if (echo >conf$$.
file) 2>/dev
/null
; then
15557 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15559 # ... but there are two gotchas:
15560 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15561 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15562 # In both cases, we have to default to `cp -pR'.
15563 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15565 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15573 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15574 rmdir conf$$.dir
2>/dev
/null
15579 # Create "$as_dir" as a directory, including parents if necessary.
15584 -*) as_dir
=.
/$as_dir;;
15586 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15590 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15591 *) as_qdir
=$as_dir;;
15593 as_dirs
="'$as_qdir' $as_dirs"
15594 as_dir
=`$as_dirname -- "$as_dir" ||
15595 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15596 X"$as_dir" : 'X\(//\)[^/]' \| \
15597 X"$as_dir" : 'X\(//\)$' \| \
15598 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15599 $as_echo X"$as_dir" |
15600 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15604 /^X\(\/\/\)[^/].*/{
15617 test -d "$as_dir" && break
15619 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15620 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15624 if mkdir
-p .
2>/dev
/null
; then
15625 as_mkdir_p
='mkdir -p "$as_dir"'
15627 test -d .
/-p && rmdir .
/-p
15632 # as_fn_executable_p FILE
15633 # -----------------------
15634 # Test if FILE is an executable regular file.
15635 as_fn_executable_p
()
15637 test -f "$1" && test -x "$1"
15638 } # as_fn_executable_p
15639 as_test_x
='test -x'
15640 as_executable_p
=as_fn_executable_p
15642 # Sed expression to map a string onto a valid CPP name.
15643 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15645 # Sed expression to map a string onto a valid variable name.
15646 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15650 ## ----------------------------------- ##
15651 ## Main body of $CONFIG_STATUS script. ##
15652 ## ----------------------------------- ##
15654 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15657 # Save the log message, to keep $0 and so on meaningful, and to
15658 # report actual input values of CONFIG_FILES etc. instead of their
15659 # values after options handling.
15661 This file was extended by $as_me, which was
15662 generated by GNU Autoconf 2.69. Invocation command line was
15664 CONFIG_FILES = $CONFIG_FILES
15665 CONFIG_HEADERS = $CONFIG_HEADERS
15666 CONFIG_LINKS = $CONFIG_LINKS
15667 CONFIG_COMMANDS = $CONFIG_COMMANDS
15670 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15675 case $ac_config_files in *"
15676 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15679 case $ac_config_headers in *"
15680 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15684 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15685 # Files that config.status was made for.
15686 config_files="$ac_config_files"
15687 config_headers="$ac_config_headers"
15688 config_commands="$ac_config_commands"
15692 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15694 \`$as_me' instantiates files and other configuration actions
15695 from templates according to the current configuration. Unless the files
15696 and actions are specified as TAGs, all are instantiated by default.
15698 Usage: $0 [OPTION]... [TAG]...
15700 -h, --help print this help, then exit
15701 -V, --version print version number and configuration settings, then exit
15702 --config print configuration, then exit
15703 -q, --quiet, --silent
15704 do not print progress messages
15705 -d, --debug don't remove temporary files
15706 --recheck update $as_me by reconfiguring in the same conditions
15707 --file=FILE[:TEMPLATE]
15708 instantiate the configuration file FILE
15709 --header=FILE[:TEMPLATE]
15710 instantiate the configuration header FILE
15712 Configuration files:
15715 Configuration headers:
15718 Configuration commands:
15721 Report bugs to the package provider."
15724 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15725 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15728 configured by $0, generated by GNU Autoconf 2.69,
15729 with options \\"\$ac_cs_config\\"
15731 Copyright (C) 2012 Free Software Foundation, Inc.
15732 This config.status script is free software; the Free Software Foundation
15733 gives unlimited permission to copy, distribute and modify it."
15737 test -n "\$AWK" || AWK=awk
15740 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15741 # The default lists apply if the user does not specify any file.
15747 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15748 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15752 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15764 # Handling of the options.
15765 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15767 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15768 $as_echo "$ac_cs_version"; exit ;;
15769 --config |
--confi |
--conf |
--con |
--co |
--c )
15770 $as_echo "$ac_cs_config"; exit ;;
15771 --debug |
--debu |
--deb |
--de |
--d |
-d )
15773 --file |
--fil |
--fi |
--f )
15776 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15777 '') as_fn_error $?
"missing file argument" ;;
15779 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15780 ac_need_defaults
=false
;;
15781 --header |
--heade |
--head |
--hea )
15784 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15786 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15787 ac_need_defaults
=false
;;
15789 # Conflict between --help and --header
15790 as_fn_error $?
"ambiguous option: \`$1'
15791 Try \`$0 --help' for more information.";;
15792 --help |
--hel |
-h )
15793 $as_echo "$ac_cs_usage"; exit ;;
15794 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15795 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15798 # This is an error.
15799 -*) as_fn_error $?
"unrecognized option: \`$1'
15800 Try \`$0 --help' for more information." ;;
15802 *) as_fn_append ac_config_targets
" $1"
15803 ac_need_defaults
=false
;;
15809 ac_configure_extra_args
=
15811 if $ac_cs_silent; then
15813 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15818 if \$ac_cs_recheck; then
15819 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15821 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15822 CONFIG_SHELL='$SHELL'
15823 export CONFIG_SHELL
15828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15832 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15833 ## Running $as_me. ##
15839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15844 AROS_CROSSTOOLSDIR=${AROS_CROSSTOOLSDIR}
15845 aros_tools_dir=${aros_tools_dir}
15849 aros_host_exe_suffix=${aros_host_exe_suffix}
15850 aros_tools_dir=${aros_tools_dir}
15851 aros_target_cpu=${aros_target_cpu}
15852 aros_target_arch=${aros_target_arch}
15853 aros_target_suffix=${aros_target_suffix}
15854 orig_target_nm=${orig_target_nm}
15855 orig_target_as=${orig_target_as}
15856 orig_target_ar=${orig_target_ar}
15857 orig_target_ranlib=${orig_target_ranlib}
15858 orig_target_objdump=${orig_target_objdump}
15859 orig_target_objcopy=${orig_target_objcopy}
15860 orig_target_strip=${orig_target_strip}
15861 aros_kernel_ld=${aros_kernel_ld}
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 aros_kernel_ld=${aros_kernel_ld}
15874 aros_host_exe_suffix=${aros_host_exe_suffix}
15875 aros_tools_dir=${aros_tools_dir}
15876 aros_target_cpu=${aros_target_cpu}
15877 aros_target_arch=${aros_target_arch}
15878 aros_target_suffix=${aros_target_suffix}
15884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15886 # Handling of arguments.
15887 for ac_config_target
in $ac_config_targets
15889 case $ac_config_target in
15890 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15891 "genmf-executable-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf-executable-support" ;;
15892 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15893 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15894 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15895 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15896 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15897 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15898 "${aros_targetcfg_dir}/build.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/build.cfg:config/build.cfg.in" ;;
15899 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15900 "compiler/include/geninc.cfg") CONFIG_FILES
="$CONFIG_FILES compiler/include/geninc.cfg:compiler/include/geninc.cfg.in" ;;
15901 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15902 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15903 "${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname") CONFIG_FILES="$CONFIG_FILES ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname:scripts/uname.in" ;;
15904 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15905 "binutils-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS binutils-support" ;;
15906 "${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" ;;
15907 "elf-compiler-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS elf-compiler-support" ;;
15908 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15909 "${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" ;;
15910 "host-compiler-wrapper-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS host-compiler-wrapper-support" ;;
15911 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15912 "${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" ;;
15913 "${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" ;;
15914 "${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" ;;
15915 "${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" ;;
15916 "${aros_targetcfg_dir}/conf.cmake") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in" ;;
15918 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15923 # If the user did not use the arguments to specify the items to instantiate,
15924 # then the envvar interface is used. Set only those that are not.
15925 # We use the long form for the default assignment because of an extremely
15926 # bizarre bug on SunOS 4.1.3.
15927 if $ac_need_defaults; then
15928 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15929 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15930 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15933 # Have a temporary directory for convenience. Make it in the build tree
15934 # simply because there is no reason against having it here, and in addition,
15935 # creating and moving files from /tmp can sometimes cause problems.
15936 # Hook for its removal unless debugging.
15937 # Note that there is a small window in which the directory will not be cleaned:
15938 # after its creation but before its name has been assigned to `$tmp'.
15942 trap 'exit_status=$?
15943 : "${ac_tmp:=$tmp}"
15944 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15946 trap 'as_fn_exit 1' 1 2 13 15
15948 # Create a (secure) tmp directory for tmp files.
15951 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15955 tmp
=.
/conf$$
-$RANDOM
15956 (umask 077 && mkdir
"$tmp")
15957 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15960 # Set up the scripts for CONFIG_FILES section.
15961 # No need to generate them if there are no CONFIG_FILES.
15962 # This happens for instance with `./config.status config.h'.
15963 if test -n "$CONFIG_FILES"; then
15966 ac_cr
=`echo X | tr X '\015'`
15967 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15968 # But we know of no other shell where ac_cr would be empty at this
15969 # point, so we can use a bashism as a fallback.
15970 if test "x$ac_cr" = x
; then
15971 eval ac_cr
=\$
\'\\r
\'
15973 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15974 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15977 ac_cs_awk_cr
=$ac_cr
15980 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15985 echo "cat >conf$$subs.awk <<_ACEOF" &&
15986 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15988 } >conf$$subs.sh ||
15989 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15990 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15992 for ac_last_try in false false false false false :; do
15993 . ./conf$$subs.sh ||
15994 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15996 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15997 if test $ac_delim_n = $ac_delim_num; then
15999 elif $ac_last_try; then
16000 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16002 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16005 rm -f conf$$subs.sh
16007 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16008 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16012 s/^/S["/; s
/!.
*/"]=/
16022 s/\(.\{148\}\)..*/\1/
16024 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16029 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16036 s/\(.\{148\}\)..*/\1/
16038 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16042 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16047 ' <conf$$subs.awk | sed '
16052 ' >>$CONFIG_STATUS || ac_write_fail=1
16053 rm -f conf$$subs.awk
16054 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16056 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16057 for (key in S) S_is_set[key] = 1
16063 nfields = split(line, field, "@
")
16065 len = length(field[1])
16066 for (i = 2; i < nfields; i++) {
16068 keylen = length(key)
16069 if (S_is_set[key]) {
16071 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16072 len += length(value) + length(field[++i])
16083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16084 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16085 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16088 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16089 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16092 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16093 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16094 # trailing colons and then remove the whole line if VPATH becomes empty
16095 # (actually we leave an empty line to preserve line numbers).
16096 if test "x
$srcdir" = x.; then
16097 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16116 fi # test -n "$CONFIG_FILES"
16118 # Set up the scripts for CONFIG_HEADERS section.
16119 # No need to generate them if there are no CONFIG_HEADERS.
16120 # This happens for instance with `./config.status Makefile'.
16121 if test -n "$CONFIG_HEADERS"; then
16122 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16126 # Transform confdefs.h into an awk script `defines.awk', embedded as
16127 # here-document in config.status, that substitutes the proper values into
16128 # config.h.in to produce config.h.
16130 # Create a delimiter string that does not exist in confdefs.h, to ease
16131 # handling of long lines.
16133 for ac_last_try in false false :; do
16134 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16135 if test -z "$ac_tt"; then
16137 elif $ac_last_try; then
16138 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16140 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16144 # For the awk script, D is an array of macro values keyed by name,
16145 # likewise P contains macro parameters if any. Preserve backslash
16146 # newline sequences.
16148 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16150 s/.\{148\}/&'"$ac_delim"'/g
16153 s/^[ ]*#[ ]*define[ ][ ]*/ /
16160 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16162 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16166 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16167 D["\
1"]=" \
3\\\\\\n
"\\/p
16169 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16174 s/.\{148\}/&'"$ac_delim"'/g
16179 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16182 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16184 ' <confdefs.h | sed '
16185 s/'"$ac_delim"'/"\\\
16186 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16189 for (key in D) D_is_set[key] = 1
16192 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16194 split(line, arg, " ")
16195 if (arg[1] == "#") {
16199 defundef
= substr
(arg
[1], 2)
16202 split(mac1
, mac2
, "(") #)
16204 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16205 if (D_is_set
[macro
]) {
16206 # Preserve the white space surrounding the "#".
16207 print prefix
"define", macro P
[macro
] D
[macro
]
16210 # Replace #undef with comments. This is necessary, for example,
16211 # in the case of _POSIX_SOURCE, which is predefined and required
16212 # on some systems where configure will not decide to define it.
16213 if (defundef
== "undef") {
16214 print
"/*", prefix defundef
, macro
, "*/"
16222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16223 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16224 fi # test -n "$CONFIG_HEADERS"
16227 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16232 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16234 case $ac_mode$ac_tag in
16236 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16237 :[FH
]-) ac_tag
=-:-;;
16238 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16255 -) ac_f
="$ac_tmp/stdin";;
16256 *) # Look for the file first in the build tree, then in the source tree
16257 # (if the path is not absolute). The absolute path cannot be DOS-style,
16258 # because $ac_f cannot contain `:'.
16262 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16264 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16266 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16267 as_fn_append ac_file_inputs
" '$ac_f'"
16270 # Let's still pretend it is `configure' which instantiates (i.e., don't
16271 # use $as_me), people would be surprised to read:
16272 # /* config.h. Generated by config.status. */
16273 configure_input
='Generated from '`
16274 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16276 if test x
"$ac_file" != x-
; then
16277 configure_input
="$ac_file. $configure_input"
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16279 $as_echo "$as_me: creating $ac_file" >&6;}
16281 # Neutralize special characters interpreted by sed in replacement strings.
16282 case $configure_input in #(
16283 *\
&* |
*\|
* |
*\\* )
16284 ac_sed_conf_input
=`$as_echo "$configure_input" |
16285 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16286 *) ac_sed_conf_input
=$configure_input;;
16290 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16291 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16296 ac_dir
=`$as_dirname -- "$ac_file" ||
16297 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16298 X"$ac_file" : 'X\(//\)[^/]' \| \
16299 X"$ac_file" : 'X\(//\)$' \| \
16300 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16301 $as_echo X"$ac_file" |
16302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16306 /^X\(\/\/\)[^/].*/{
16319 as_dir
="$ac_dir"; as_fn_mkdir_p
16323 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16325 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16326 # A ".." for each directory in $ac_dir_suffix.
16327 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16328 case $ac_top_builddir_sub in
16329 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16330 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16333 ac_abs_top_builddir
=$ac_pwd
16334 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16335 # for backward compatibility:
16336 ac_top_builddir
=$ac_top_build_prefix
16339 .
) # We are building in place.
16341 ac_top_srcdir
=$ac_top_builddir_sub
16342 ac_abs_top_srcdir
=$ac_pwd ;;
16343 [\\/]* | ?
:[\\/]* ) # Absolute name.
16344 ac_srcdir
=$srcdir$ac_dir_suffix;
16345 ac_top_srcdir
=$srcdir
16346 ac_abs_top_srcdir
=$srcdir ;;
16347 *) # Relative name.
16348 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16349 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16350 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16352 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16364 # If the template does not know about datarootdir, expand it.
16365 # FIXME: This hack should be removed a few years after 2.60.
16366 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16377 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16378 *datarootdir
*) ac_datarootdir_seen
=yes;;
16379 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16381 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16384 ac_datarootdir_hack='
16385 s&@datadir@&$datadir&g
16386 s&@docdir@&$docdir&g
16387 s&@infodir@&$infodir&g
16388 s&@localedir@&$localedir&g
16389 s&@mandir@&$mandir&g
16390 s&\\\${datarootdir}&$datarootdir&g' ;;
16394 # Neutralize VPATH when `$srcdir' = `.'.
16395 # Shell code in configure.ac might set extrasub.
16396 # FIXME: do we really want to maintain this feature?
16397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16398 ac_sed_extra="$ac_vpsub
16401 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16403 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16404 s|@configure_input@|
$ac_sed_conf_input|
;t t
16405 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16406 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16407 s
&@srcdir@
&$ac_srcdir&;t t
16408 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16409 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16410 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16411 s
&@builddir@
&$ac_builddir&;t t
16412 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16413 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16414 $ac_datarootdir_hack
16416 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16417 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16419 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16420 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16421 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16422 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16424 which seems to be undefined. Please make sure it is defined" >&5
16425 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16426 which seems to be undefined. Please make sure it is defined" >&2;}
16428 rm -f "$ac_tmp/stdin"
16430 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16431 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16433 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16439 if test x"$ac_file" != x-; then
16441 $as_echo "/* $configure_input */" \
16442 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16443 } >"$ac_tmp/config.h" \
16444 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16445 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16447 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16450 mv "$ac_tmp/config.h" "$ac_file" \
16451 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16454 $as_echo "/* $configure_input */" \
16455 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16456 || as_fn_error $? "could not create -" "$LINENO" 5
16460 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16461 $as_echo "$as_me: executing $ac_file commands" >&6;}
16466 case $ac_file$ac_mode in
16467 "genmf-executable-support":C)
16468 chmod a+x ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname
16469 chmod a+x ${aros_tools_dir}/genmf.py
16471 "binutils-support":C)
16472 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16474 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
16476 chmod a+x ${prefix2}-ld
16478 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
16479 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
16480 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
16481 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
16482 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
16483 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
16484 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
16486 "elf-compiler-support":C)
16487 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16489 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
16491 chmod a+x ${prefix2}-gcc
16493 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix2}-ld$aros_host_exe_suffix
16495 "host-compiler-wrapper-support":C)
16496 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16498 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
16500 chmod a+x ${prefix2}-${toolchain_c_compiler} ${prefix2}-${toolchain_cxx_compiler} ${prefix2}-${toolchain_cpp_preprocessor}
16509 ac_clean_files=$ac_clean_files_save
16511 test $ac_write_fail = 0 ||
16512 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16515 # configure is writing to config.log, and then calls config.status.
16516 # config.status does its own redirection, appending to config.log.
16517 # Unfortunately, on DOS this fails, as config.log is still kept open
16518 # by configure, so config.status won't be able to
write to it
; its
16519 # output is simply discarded. So we exec the FD to /dev/null,
16520 # effectively closing config.log, so it can be properly (re)opened and
16521 # appended to by config.status. When coming back to configure, we
16522 # need to make the FD available again.
16523 if test "$no_create" != yes; then
16525 ac_config_status_args
=
16526 test "$silent" = yes &&
16527 ac_config_status_args
="$ac_config_status_args --quiet"
16529 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16531 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16532 # would make configure fail if this is the last instruction.
16533 $ac_cs_success || as_fn_exit
1
16535 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16537 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16542 #XXX compatability...
16543 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
16545 if test -n "$aros_shared_cflags" ; then
16546 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
16547 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg