2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="mmakefile"
586 # Factoring default headers for most tests.
587 ac_includes_default
="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
623 ac_subst_vars
='LTLIBOBJS
627 target_binutils_version
629 ignore_undefined_symbols
643 gcc_default_float_abi
651 aros_nesting_supervisor
657 aros_host_x11_ldflags
668 crosstools_cxx_target
671 aros_optimization_cflags
673 aros_target_strip_flags
680 aros_kernel_objcflags
703 aros_target_cc_includes
719 aros_target_bootloader
740 aros_amigaos_compliance
747 aros_target_toolchain
760 kernel_cflags_iquote_end
762 host_cflags_iquote_end
765 aros_target_nostdlib_ldflags
766 aros_target_detach_ldflags
767 aros_target_nix_ldflags
768 aros_target_nostartup_ldflags
769 aros_target_nostdinc_cflags
808 arosconfig_use_libpngconfig
891 program_transform_name
904 enable_option_checking
913 with_kernel_gcc_version
917 enable_target_variant
924 enable_amigaos_compliance
925 with_kernel_toolchain_prefix
926 with_elf_toolchain_prefix
929 with_aros_toolchain_install
930 with_binutils_version
944 enable_palm_debug_hack
946 enable_nesting_supervisor
958 ac_precious_vars
='build_alias
974 # Initialize some variables set by options.
976 ac_init_version
=false
977 ac_unrecognized_opts
=
979 # The variables have the same names as the options, with
980 # dashes changed to underlines.
988 program_transform_name
=s
,x
,x
,
996 # Installation directory options.
997 # These are left unexpanded so users can "make install exec_prefix=/foo"
998 # and all the variables that are supposed to be based on exec_prefix
999 # by default will actually change.
1000 # Use braces instead of parens because sh, perl, etc. also accept them.
1001 # (The list follows the same order as the GNU Coding Standards.)
1002 bindir
='${exec_prefix}/bin'
1003 sbindir
='${exec_prefix}/sbin'
1004 libexecdir
='${exec_prefix}/libexec'
1005 datarootdir
='${prefix}/share'
1006 datadir
='${datarootdir}'
1007 sysconfdir
='${prefix}/etc'
1008 sharedstatedir
='${prefix}/com'
1009 localstatedir
='${prefix}/var'
1010 includedir
='${prefix}/include'
1011 oldincludedir
='/usr/include'
1012 docdir
='${datarootdir}/doc/${PACKAGE}'
1013 infodir
='${datarootdir}/info'
1018 libdir
='${exec_prefix}/lib'
1019 localedir
='${datarootdir}/locale'
1020 mandir
='${datarootdir}/man'
1026 # If the previous option needs an argument, assign it.
1027 if test -n "$ac_prev"; then
1028 eval $ac_prev=\
$ac_option
1034 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1039 # Accept the important Cygnus configure options, so we can diagnose typos.
1041 case $ac_dashdash$ac_option in
1045 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1047 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1048 bindir
=$ac_optarg ;;
1050 -build |
--build |
--buil |
--bui |
--bu)
1051 ac_prev
=build_alias
;;
1052 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1053 build_alias
=$ac_optarg ;;
1055 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1056 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1057 ac_prev
=cache_file
;;
1058 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1059 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1060 cache_file
=$ac_optarg ;;
1062 --config-cache |
-C)
1063 cache_file
=config.cache
;;
1065 -datadir |
--datadir |
--datadi |
--datad)
1067 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1068 datadir
=$ac_optarg ;;
1070 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1071 |
--dataroo |
--dataro |
--datar)
1072 ac_prev
=datarootdir
;;
1073 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1074 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1075 datarootdir
=$ac_optarg ;;
1077 -disable-* |
--disable-*)
1078 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1079 # Reject names that are not valid shell variable names.
1080 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1081 as_fn_error $?
"invalid feature name: $ac_useropt"
1082 ac_useropt_orig
=$ac_useropt
1083 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1084 case $ac_user_opts in
1086 "enable_
$ac_useropt"
1088 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1089 ac_unrecognized_sep
=', ';;
1091 eval enable_
$ac_useropt=no
;;
1093 -docdir |
--docdir |
--docdi |
--doc |
--do)
1095 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1096 docdir
=$ac_optarg ;;
1098 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1100 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1101 dvidir
=$ac_optarg ;;
1103 -enable-* |
--enable-*)
1104 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1105 # Reject names that are not valid shell variable names.
1106 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1107 as_fn_error $?
"invalid feature name: $ac_useropt"
1108 ac_useropt_orig
=$ac_useropt
1109 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1110 case $ac_user_opts in
1112 "enable_
$ac_useropt"
1114 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1115 ac_unrecognized_sep
=', ';;
1117 eval enable_
$ac_useropt=\
$ac_optarg ;;
1119 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1120 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1121 |
--exec |
--exe |
--ex)
1122 ac_prev
=exec_prefix
;;
1123 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1124 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1125 |
--exec=* |
--exe=* |
--ex=*)
1126 exec_prefix
=$ac_optarg ;;
1128 -gas |
--gas |
--ga |
--g)
1129 # Obsolete; use --with-gas.
1132 -help |
--help |
--hel |
--he |
-h)
1133 ac_init_help
=long
;;
1134 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1135 ac_init_help
=recursive
;;
1136 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1137 ac_init_help
=short
;;
1139 -host |
--host |
--hos |
--ho)
1140 ac_prev
=host_alias
;;
1141 -host=* |
--host=* |
--hos=* |
--ho=*)
1142 host_alias
=$ac_optarg ;;
1144 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1146 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1148 htmldir
=$ac_optarg ;;
1150 -includedir |
--includedir |
--includedi |
--included |
--include \
1151 |
--includ |
--inclu |
--incl |
--inc)
1152 ac_prev
=includedir
;;
1153 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1154 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1155 includedir
=$ac_optarg ;;
1157 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1159 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1160 infodir
=$ac_optarg ;;
1162 -libdir |
--libdir |
--libdi |
--libd)
1164 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1165 libdir
=$ac_optarg ;;
1167 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1168 |
--libexe |
--libex |
--libe)
1169 ac_prev
=libexecdir
;;
1170 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1171 |
--libexe=* |
--libex=* |
--libe=*)
1172 libexecdir
=$ac_optarg ;;
1174 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1175 ac_prev
=localedir
;;
1176 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1177 localedir
=$ac_optarg ;;
1179 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1180 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1181 ac_prev
=localstatedir
;;
1182 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1183 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1184 localstatedir
=$ac_optarg ;;
1186 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1188 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1189 mandir
=$ac_optarg ;;
1191 -nfp |
--nfp |
--nf)
1192 # Obsolete; use --without-fp.
1195 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1196 |
--no-cr |
--no-c |
-n)
1199 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1200 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1203 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1204 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1205 |
--oldin |
--oldi |
--old |
--ol |
--o)
1206 ac_prev
=oldincludedir
;;
1207 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1208 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1209 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1210 oldincludedir
=$ac_optarg ;;
1212 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1214 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1215 prefix
=$ac_optarg ;;
1217 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1218 |
--program-pre |
--program-pr |
--program-p)
1219 ac_prev
=program_prefix
;;
1220 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1221 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1222 program_prefix
=$ac_optarg ;;
1224 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1225 |
--program-suf |
--program-su |
--program-s)
1226 ac_prev
=program_suffix
;;
1227 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1228 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1229 program_suffix
=$ac_optarg ;;
1231 -program-transform-name |
--program-transform-name \
1232 |
--program-transform-nam |
--program-transform-na \
1233 |
--program-transform-n |
--program-transform- \
1234 |
--program-transform |
--program-transfor \
1235 |
--program-transfo |
--program-transf \
1236 |
--program-trans |
--program-tran \
1237 |
--progr-tra |
--program-tr |
--program-t)
1238 ac_prev
=program_transform_name
;;
1239 -program-transform-name=* |
--program-transform-name=* \
1240 |
--program-transform-nam=* |
--program-transform-na=* \
1241 |
--program-transform-n=* |
--program-transform-=* \
1242 |
--program-transform=* |
--program-transfor=* \
1243 |
--program-transfo=* |
--program-transf=* \
1244 |
--program-trans=* |
--program-tran=* \
1245 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1246 program_transform_name
=$ac_optarg ;;
1248 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1250 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1251 pdfdir
=$ac_optarg ;;
1253 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1255 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1258 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1259 |
-silent |
--silent |
--silen |
--sile |
--sil)
1262 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1264 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1266 sbindir
=$ac_optarg ;;
1268 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1269 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1270 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1272 ac_prev
=sharedstatedir
;;
1273 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1274 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1275 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1277 sharedstatedir
=$ac_optarg ;;
1279 -site |
--site |
--sit)
1281 -site=* |
--site=* |
--sit=*)
1284 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1286 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1287 srcdir
=$ac_optarg ;;
1289 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1290 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1291 ac_prev
=sysconfdir
;;
1292 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1293 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1294 sysconfdir
=$ac_optarg ;;
1296 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1297 ac_prev
=target_alias
;;
1298 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1299 target_alias
=$ac_optarg ;;
1301 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1304 -version |
--version |
--versio |
--versi |
--vers |
-V)
1305 ac_init_version
=: ;;
1308 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1309 # Reject names that are not valid shell variable names.
1310 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1311 as_fn_error $?
"invalid package name: $ac_useropt"
1312 ac_useropt_orig
=$ac_useropt
1313 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1314 case $ac_user_opts in
1318 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1319 ac_unrecognized_sep
=', ';;
1321 eval with_
$ac_useropt=\
$ac_optarg ;;
1323 -without-* |
--without-*)
1324 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1325 # Reject names that are not valid shell variable names.
1326 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1327 as_fn_error $?
"invalid package name: $ac_useropt"
1328 ac_useropt_orig
=$ac_useropt
1329 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1330 case $ac_user_opts in
1334 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1335 ac_unrecognized_sep
=', ';;
1337 eval with_
$ac_useropt=no
;;
1340 # Obsolete; use --with-x.
1343 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1344 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1345 ac_prev
=x_includes
;;
1346 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1347 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1348 x_includes
=$ac_optarg ;;
1350 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1351 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1352 ac_prev
=x_libraries
;;
1353 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1354 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1355 x_libraries
=$ac_optarg ;;
1357 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1358 Try \`$0 --help' for more information"
1362 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1363 # Reject names that are not valid shell variable names.
1364 case $ac_envvar in #(
1365 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1366 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1368 eval $ac_envvar=\
$ac_optarg
1369 export $ac_envvar ;;
1372 # FIXME: should be removed in autoconf 3.0.
1373 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1374 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1375 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1376 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1382 if test -n "$ac_prev"; then
1383 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1384 as_fn_error $?
"missing argument to $ac_option"
1387 if test -n "$ac_unrecognized_opts"; then
1388 case $enable_option_checking in
1390 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1391 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1395 # Check all directory arguments for consistency.
1396 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1397 datadir sysconfdir sharedstatedir localstatedir includedir \
1398 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1399 libdir localedir mandir
1401 eval ac_val
=\$
$ac_var
1402 # Remove trailing slashes.
1405 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1406 eval $ac_var=\
$ac_val;;
1408 # Be sure to have absolute directory names.
1410 [\\/$
]* | ?
:[\\/]* ) continue;;
1411 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1413 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1416 # There might be people who depend on the old broken behavior: `$host'
1417 # used to hold the argument of --host etc.
1418 # FIXME: To remove some day.
1421 target
=$target_alias
1423 # FIXME: To remove some day.
1424 if test "x$host_alias" != x
; then
1425 if test "x$build_alias" = x
; then
1426 cross_compiling
=maybe
1427 elif test "x$build_alias" != "x$host_alias"; then
1433 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1435 test "$silent" = yes && exec 6>/dev
/null
1438 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1439 ac_ls_di
=`ls -di .` &&
1440 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1441 as_fn_error $?
"working directory cannot be determined"
1442 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1443 as_fn_error $?
"pwd does not report name of working directory"
1446 # Find the source files, if location was not specified.
1447 if test -z "$srcdir"; then
1448 ac_srcdir_defaulted
=yes
1449 # Try the directory containing this script, then the parent directory.
1450 ac_confdir
=`$as_dirname -- "$as_myself" ||
1451 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1452 X"$as_myself" : 'X\(//\)[^/]' \| \
1453 X"$as_myself" : 'X\(//\)$' \| \
1454 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1455 $as_echo X"$as_myself" |
1456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1474 if test ! -r "$srcdir/$ac_unique_file"; then
1478 ac_srcdir_defaulted
=no
1480 if test ! -r "$srcdir/$ac_unique_file"; then
1481 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1482 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1484 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1486 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1488 # When building in place, set srcdir=.
1489 if test "$ac_abs_confdir" = "$ac_pwd"; then
1492 # Remove unnecessary trailing slashes from srcdir.
1493 # Double slashes in file names in object file debugging info
1494 # mess up M-x gdb in Emacs.
1496 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1498 for ac_var
in $ac_precious_vars; do
1499 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1500 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1501 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1502 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1506 # Report the --help message.
1508 if test "$ac_init_help" = "long"; then
1509 # Omit some internal or obsolete options to make the list less imposing.
1510 # This message is too long to be a string in the A/UX 3.1 sh.
1512 \`configure' configures this package to adapt to many kinds of systems.
1514 Usage: $0 [OPTION]... [VAR=VALUE]...
1516 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1517 VAR=VALUE. See below for descriptions of some of the useful variables.
1519 Defaults for the options are specified in brackets.
1522 -h, --help display this help and exit
1523 --help=short display options specific to this package
1524 --help=recursive display the short help of all the included packages
1525 -V, --version display version information and exit
1526 -q, --quiet, --silent do not print \`checking ...' messages
1527 --cache-file=FILE cache test results in FILE [disabled]
1528 -C, --config-cache alias for \`--cache-file=config.cache'
1529 -n, --no-create do not create output files
1530 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1532 Installation directories:
1533 --prefix=PREFIX install architecture-independent files in PREFIX
1534 [$ac_default_prefix]
1535 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1538 By default, \`make install' will install all the files in
1539 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1540 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1541 for instance \`--prefix=\$HOME'.
1543 For better control, use the options below.
1545 Fine tuning of the installation directories:
1546 --bindir=DIR user executables [EPREFIX/bin]
1547 --sbindir=DIR system admin executables [EPREFIX/sbin]
1548 --libexecdir=DIR program executables [EPREFIX/libexec]
1549 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1550 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1551 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1552 --libdir=DIR object code libraries [EPREFIX/lib]
1553 --includedir=DIR C header files [PREFIX/include]
1554 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1555 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1556 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1557 --infodir=DIR info documentation [DATAROOTDIR/info]
1558 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1559 --mandir=DIR man documentation [DATAROOTDIR/man]
1560 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1561 --htmldir=DIR html documentation [DOCDIR]
1562 --dvidir=DIR dvi documentation [DOCDIR]
1563 --pdfdir=DIR pdf documentation [DOCDIR]
1564 --psdir=DIR ps documentation [DOCDIR]
1570 --x-includes=DIR X include files are
in DIR
1571 --x-libraries=DIR X library files are
in DIR
1574 --build=BUILD configure
for building on BUILD
[guessed
]
1575 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1579 if test -n "$ac_init_help"; then
1584 --disable-option-checking ignore unrecognized
--enable/--with options
1585 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1586 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1587 --disable-libpng-config disable libpng-config
test and configuration
1588 --enable-build-type=TYPE
1589 Select the build
type. Available types are
:
1590 personal
, nightly
, snapshot
, milestone
, release. Do
1591 NOT use this option unless you know what you are
1592 doing
! (default
=personal
)
1593 --enable-debug=list Enable different types of debug. Commas or
1594 whitespaces can be used to separate the items
in the
1595 list. Available types of debug are
: all
, none
,
1596 messages
, stack
, mungwall
, modules
, symbols. If no
1597 list is provided
then "all" is assumed.
1599 --enable-distcc Use distcc as a front end to the compiler
1601 --enable-ccache Use ccache as a front end to the compiler
1603 --enable-lto=yes|no Enable link
time optimizations
if the target
1604 compiler supports them
(default
=yes)
1605 --enable-target-variant=NAME
1606 Enable a specific target variant
(default
=none
)
1607 --enable-amigaos-compliance=VERSION
1608 Enforce userspace AmigaOS compliance to a specific
1609 KickStart version
(default
=none
).
1610 --disable-crosstools Do not build cross-compiler toolchain
1611 --enable-objc Enable Objectve-C support
(default
=no
)
1612 --enable-java Enable Java support
(default
=no
)
1613 --enable-includes=dir Alternative system include directory
1614 --enable-palm-debug-hack
1615 Enable palm debug output hack
in palm native
1617 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1618 --enable-nesting-supervisor
1619 Enable nesting supervisor support
in unix
1621 --disable-mmu Disable MMU support
(default
=enabled
)
1622 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1623 --enable-x11-shm use X11 shared memory
(default
=auto
)
1624 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1625 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1626 --disable-sdltest Do not try to compile and run a
test SDL program
1627 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1630 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1631 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1632 --with-c-compiler=VERSION
1633 Use specified c compiler
for building AROS
1634 --with-cxx-compiler=VERSION
1635 Use specified c
++ compiler building AROS
1636 --with-toolchain=family Which toolchain family to crosscompile with
1638 --with-kernel-gcc-version=VERSION
1639 Use gcc-VERSION
for building bootstrap
1640 --with-optimization=FLAGS
1641 Use optimization flags FLAGS
(default
=-O2).
1642 --with-paranoia=(yes|no|FLAGS
)
1643 Specific compiler warning FLAGS to
enable for
1644 paranoia builds
(default
=-Wall -Werror)
1645 --with-xcode=PATH Specify XCode path
for iOS targets
1646 (default
=/Developer
).
1647 --with-sdk-version=VERSION
1648 Use iOS SDK version VERSION
(default
=4.1).
1649 --with-sdk=PATH Specify Android SDK path
1650 (default
=$default_android_sdk).
1651 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1652 --with-sdk-version=LEVEL
1653 Use Android SDK
for API LEVEL
(default
=12).
1654 --with-ndk-version=LEVEL
1655 Use Android NDK
for API LEVEL
(default
=9).
1656 --with-apk-version=(release|debug
)
1657 Which version of AROSBootstrap.apk to compile.
1658 Release version needs key
for signing
, debug version
1659 will only run
in emulator.
(default
=release
)
1660 --with-kernel-toolchain-prefix=...
1661 Specify crosscompile toolchain prefix
for kernel
1663 --with-elf-toolchain-prefix=...
1664 Specify crosscompile toolchain prefix to wrap
for
1666 --with-aros-toolchain=PREFIX
1667 Specify prebuilt AROS toolchain. Use
yes for default
1669 --with-aros-toolchain-install=DIR
1670 Where to
install or search
for cross tools binaries
1671 --with-binutils-version=VERSION
1672 Use binutils-VERSION
for building AROS
1673 --with-gcc-version=VERSION
1674 Compile gcc-VERSION
for AROS
1675 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1676 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1677 --with-float=<spec
> Specify floating point ABI
1678 (default
=$gcc_default_float_abi).
1679 --with-portssources=DIR Where to download sourcecode
for external ports
1680 --with-bootloader=NAME Use a specific bootloader
1681 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1682 --with-theme=NAME Use a specific GUI Theme
1683 --with-resolution=XRESxYRESxDEPTH
1684 Default resolution of the initial WorkbenchScreen
1685 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1686 --with-x use the X Window System
1687 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1688 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1690 Some influential environment variables
:
1691 CXX C
++ compiler
command
1692 CXXFLAGS C
++ compiler flags
1693 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1694 nonstandard directory
<lib dir
>
1695 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1696 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1697 you have headers
in a nonstandard directory
<include dir
>
1698 CC C compiler
command
1699 CFLAGS C compiler flags
1701 PYTHON the Python interpreter
1702 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1704 Use these variables to override the choices made by
`configure' or to help
1705 it to find libraries and programs with nonstandard names/locations.
1707 Report bugs to the package provider.
1712 if test "$ac_init_help" = "recursive"; then
1713 # If there are subdirs, report their specific --help.
1714 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1715 test -d "$ac_dir" ||
1716 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1721 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1723 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1724 # A ".." for each directory in $ac_dir_suffix.
1725 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1726 case $ac_top_builddir_sub in
1727 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1728 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1731 ac_abs_top_builddir=$ac_pwd
1732 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1733 # for backward compatibility:
1734 ac_top_builddir=$ac_top_build_prefix
1737 .) # We are building in place.
1739 ac_top_srcdir=$ac_top_builddir_sub
1740 ac_abs_top_srcdir=$ac_pwd ;;
1741 [\\/]* | ?:[\\/]* ) # Absolute name.
1742 ac_srcdir=$srcdir$ac_dir_suffix;
1743 ac_top_srcdir=$srcdir
1744 ac_abs_top_srcdir=$srcdir ;;
1746 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1747 ac_top_srcdir=$ac_top_build_prefix$srcdir
1748 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1750 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1752 cd "$ac_dir" || { ac_status=$?; continue; }
1753 # Check for guested configure.
1754 if test -f "$ac_srcdir/configure.gnu"; then
1756 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1757 elif test -f "$ac_srcdir/configure"; then
1759 $SHELL "$ac_srcdir/configure" --help=recursive
1761 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1763 cd "$ac_pwd" || { ac_status=$?; break; }
1767 test -n "$ac_init_help" && exit $ac_status
1768 if $ac_init_version; then
1771 generated by GNU Autoconf 2.69
1773 Copyright (C) 2012 Free Software Foundation, Inc.
1774 This configure script is free software; the Free Software Foundation
1775 gives unlimited permission to copy, distribute and modify it.
1780 ## ------------------------ ##
1781 ## Autoconf initialization. ##
1782 ## ------------------------ ##
1784 # ac_fn_cxx_try_compile LINENO
1785 # ----------------------------
1786 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1787 ac_fn_cxx_try_compile ()
1789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1790 rm -f conftest.$ac_objext
1791 if { { ac_try="$ac_compile"
1793 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1794 *) ac_try_echo
=$ac_try;;
1796 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1797 $as_echo "$ac_try_echo"; } >&5
1798 (eval "$ac_compile") 2>conftest.err
1800 if test -s conftest.err
; then
1801 grep -v '^ *+' conftest.err
>conftest.er1
1802 cat conftest.er1
>&5
1803 mv -f conftest.er1 conftest.err
1805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1806 test $ac_status = 0; } && {
1807 test -z "$ac_cxx_werror_flag" ||
1808 test ! -s conftest.err
1809 } && test -s conftest.
$ac_objext; then :
1812 $as_echo "$as_me: failed program was:" >&5
1813 sed 's/^/| /' conftest.
$ac_ext >&5
1817 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1818 as_fn_set_status
$ac_retval
1820 } # ac_fn_cxx_try_compile
1822 # ac_fn_c_try_compile LINENO
1823 # --------------------------
1824 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1825 ac_fn_c_try_compile
()
1827 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1828 rm -f conftest.
$ac_objext
1829 if { { ac_try
="$ac_compile"
1831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1832 *) ac_try_echo=$ac_try;;
1834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1835 $as_echo "$ac_try_echo"; } >&5
1836 (eval "$ac_compile") 2>conftest.err
1838 if test -s conftest.err; then
1839 grep -v '^ *+' conftest.err >conftest.er1
1840 cat conftest.er1 >&5
1841 mv -f conftest.er1 conftest.err
1843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1844 test $ac_status = 0; } && {
1845 test -z "$ac_c_werror_flag" ||
1846 test ! -s conftest.err
1847 } && test -s conftest.$ac_objext; then :
1850 $as_echo "$as_me: failed program was:" >&5
1851 sed 's/^/| /' conftest.$ac_ext >&5
1855 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1856 as_fn_set_status $ac_retval
1858 } # ac_fn_c_try_compile
1860 # ac_fn_c_try_cpp LINENO
1861 # ----------------------
1862 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1865 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1866 if { { ac_try="$ac_cpp conftest.$ac_ext"
1868 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1869 *) ac_try_echo
=$ac_try;;
1871 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1872 $as_echo "$ac_try_echo"; } >&5
1873 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1875 if test -s conftest.err
; then
1876 grep -v '^ *+' conftest.err
>conftest.er1
1877 cat conftest.er1
>&5
1878 mv -f conftest.er1 conftest.err
1880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881 test $ac_status = 0; } > conftest.i
&& {
1882 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1883 test ! -s conftest.err
1887 $as_echo "$as_me: failed program was:" >&5
1888 sed 's/^/| /' conftest.
$ac_ext >&5
1892 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1893 as_fn_set_status
$ac_retval
1897 # ac_fn_c_try_link LINENO
1898 # -----------------------
1899 # Try to link conftest.$ac_ext, and return whether this succeeded.
1902 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1903 rm -f conftest.
$ac_objext conftest
$ac_exeext
1904 if { { ac_try
="$ac_link"
1906 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1907 *) ac_try_echo=$ac_try;;
1909 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1910 $as_echo "$ac_try_echo"; } >&5
1911 (eval "$ac_link") 2>conftest.err
1913 if test -s conftest.err; then
1914 grep -v '^ *+' conftest.err >conftest.er1
1915 cat conftest.er1 >&5
1916 mv -f conftest.er1 conftest.err
1918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1919 test $ac_status = 0; } && {
1920 test -z "$ac_c_werror_flag" ||
1921 test ! -s conftest.err
1922 } && test -s conftest$ac_exeext && {
1923 test "$cross_compiling" = yes ||
1924 test -x conftest$ac_exeext
1928 $as_echo "$as_me: failed program was:" >&5
1929 sed 's/^/| /' conftest.$ac_ext >&5
1933 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1934 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1935 # interfere with the next link command; also delete a directory that is
1936 # left behind by Apple's compiler. We do this before executing the actions.
1937 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1939 as_fn_set_status $ac_retval
1941 } # ac_fn_c_try_link
1943 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1944 # -------------------------------------------------------
1945 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1946 # the include files in INCLUDES and setting the cache variable VAR
1948 ac_fn_c_check_header_mongrel ()
1950 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1951 if eval \${$3+:} false; then :
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1953 $as_echo_n "checking for $2... " >&6; }
1954 if eval \${$3+:} false; then :
1955 $as_echo_n "(cached) " >&6
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1959 $as_echo "$ac_res" >&6; }
1961 # Is the header compilable?
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1963 $as_echo_n "checking $2 usability... " >&6; }
1964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1965 /* end confdefs.h. */
1969 if ac_fn_c_try_compile "$LINENO"; then :
1970 ac_header_compiler=yes
1972 ac_header_compiler=no
1974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1976 $as_echo "$ac_header_compiler" >&6; }
1978 # Is the header present?
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1980 $as_echo_n "checking $2 presence... " >&6; }
1981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1982 /* end confdefs.h. */
1985 if ac_fn_c_try_cpp "$LINENO"; then :
1986 ac_header_preproc=yes
1988 ac_header_preproc=no
1990 rm -f conftest.err conftest.i conftest.$ac_ext
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1992 $as_echo "$ac_header_preproc" >&6; }
1994 # So? What about this header?
1995 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1998 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2000 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2004 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2006 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2008 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2010 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2012 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2016 $as_echo_n "checking for $2... " >&6; }
2017 if eval \${$3+:} false; then :
2018 $as_echo_n "(cached) " >&6
2020 eval "$3=\$ac_header_compiler"
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2024 $as_echo "$ac_res" >&6; }
2026 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2028 } # ac_fn_c_check_header_mongrel
2030 # ac_fn_c_try_run LINENO
2031 # ----------------------
2032 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2033 # that executables *can* be run.
2036 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2037 if { { ac_try="$ac_link"
2039 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2040 *) ac_try_echo
=$ac_try;;
2042 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2043 $as_echo "$ac_try_echo"; } >&5
2044 (eval "$ac_link") 2>&5
2046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2047 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2048 { { case "(($ac_try" in
2049 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2050 *) ac_try_echo=$ac_try;;
2052 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2053 $as_echo "$ac_try_echo"; } >&5
2054 (eval "$ac_try") 2>&5
2056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2057 test $ac_status = 0; }; }; then :
2060 $as_echo "$as_me: program exited with status $ac_status" >&5
2061 $as_echo "$as_me: failed program was:" >&5
2062 sed 's/^/| /' conftest.$ac_ext >&5
2064 ac_retval=$ac_status
2066 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2067 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2068 as_fn_set_status $ac_retval
2072 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2073 # -------------------------------------------------------
2074 # Tests whether HEADER exists and can be compiled using the include files in
2075 # INCLUDES, setting the cache variable VAR accordingly.
2076 ac_fn_c_check_header_compile ()
2078 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2080 $as_echo_n "checking for $2... " >&6; }
2081 if eval \${$3+:} false; then :
2082 $as_echo_n "(cached) " >&6
2084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2085 /* end confdefs.h. */
2089 if ac_fn_c_try_compile "$LINENO"; then :
2094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2098 $as_echo "$ac_res" >&6; }
2099 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2101 } # ac_fn_c_check_header_compile
2103 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2104 # ----------------------------------------------------
2105 # Tries to find if the field MEMBER exists in type AGGR, after including
2106 # INCLUDES, setting cache variable VAR accordingly.
2107 ac_fn_c_check_member ()
2109 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2111 $as_echo_n "checking for $2.$3... " >&6; }
2112 if eval \${$4+:} false; then :
2113 $as_echo_n "(cached) " >&6
2115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2116 /* end confdefs.h. */
2128 if ac_fn_c_try_compile "$LINENO"; then :
2131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2132 /* end confdefs.h. */
2138 if (sizeof ac_aggr.$3)
2144 if ac_fn_c_try_compile "$LINENO"; then :
2149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2155 $as_echo "$ac_res" >&6; }
2156 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2158 } # ac_fn_c_check_member
2160 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2161 # ---------------------------------------------
2162 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2164 ac_fn_c_check_decl ()
2166 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2167 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2168 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2170 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2171 if eval \${$3+:} false; then :
2172 $as_echo_n "(cached) " >&6
2174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2175 /* end confdefs.h. */
2180 #ifndef $as_decl_name
2182 (void) $as_decl_use;
2184 (void) $as_decl_name;
2192 if ac_fn_c_try_compile "$LINENO"; then :
2197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2201 $as_echo "$ac_res" >&6; }
2202 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2204 } # ac_fn_c_check_decl
2206 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2207 # -------------------------------------------
2208 # Tests whether TYPE exists after having included INCLUDES, setting cache
2209 # variable VAR accordingly.
2210 ac_fn_c_check_type ()
2212 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2214 $as_echo_n "checking for $2... " >&6; }
2215 if eval \${$3+:} false; then :
2216 $as_echo_n "(cached) " >&6
2219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2220 /* end confdefs.h. */
2231 if ac_fn_c_try_compile "$LINENO"; then :
2232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2233 /* end confdefs.h. */
2244 if ac_fn_c_try_compile "$LINENO"; then :
2249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2255 $as_echo "$ac_res" >&6; }
2256 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2258 } # ac_fn_c_check_type
2260 # ac_fn_c_check_func LINENO FUNC VAR
2261 # ----------------------------------
2262 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2263 ac_fn_c_check_func ()
2265 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2267 $as_echo_n "checking for $2... " >&6; }
2268 if eval \${$3+:} false; then :
2269 $as_echo_n "(cached) " >&6
2271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2272 /* end confdefs.h. */
2273 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2275 #define $2 innocuous_$2
2277 /* System header to define __stub macros and hopefully few prototypes,
2278 which can conflict with char $2 (); below.
2279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2280 <limits.h> exists even on freestanding compilers. */
2283 # include <limits.h>
2285 # include <assert.h>
2290 /* Override any GCC internal prototype to avoid an error.
2291 Use char because int might match the return type of a GCC
2292 builtin and then its argument prototype would still apply. */
2297 /* The GNU C library defines this for functions which it implements
2298 to always fail with ENOSYS. Some functions are actually named
2299 something starting with __ and the normal name is an alias. */
2300 #if defined __stub_$2 || defined __stub___$2
2312 if ac_fn_c_try_link "$LINENO"; then :
2317 rm -f core conftest.err conftest.$ac_objext \
2318 conftest$ac_exeext conftest.$ac_ext
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2322 $as_echo "$ac_res" >&6; }
2323 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2325 } # ac_fn_c_check_func
2326 cat >config.log <<_ACEOF
2327 This file contains any messages produced by compilers while
2328 running configure, to aid debugging if configure makes a mistake.
2330 It was created by $as_me, which was
2331 generated by GNU Autoconf 2.69. Invocation command line was
2343 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2344 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2345 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2346 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2347 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2349 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2350 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2352 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2353 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2354 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2355 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2356 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2357 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2358 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2366 test -z "$as_dir" && as_dir=.
2367 $as_echo "PATH: $as_dir"
2383 # Keep a trace of the command line.
2384 # Strip out --no-create and --no-recursion so they do not pile up.
2385 # Strip out --silent because we don't want to record it for future runs.
2386 # Also quote any args containing shell meta-characters.
2387 # Make two passes to allow for proper duplicate-argument suppression.
2391 ac_must_keep_next=false
2397 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2398 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2399 | -silent | --silent | --silen | --sile | --sil)
2402 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2405 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2407 as_fn_append ac_configure_args1 " '$ac_arg'"
2408 if test $ac_must_keep_next = true; then
2409 ac_must_keep_next=false # Got value, back to normal.
2412 *=* | --config-cache | -C | -disable-* | --disable-* \
2413 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2414 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2415 | -with-* | --with-* | -without-* | --without-* | --x)
2416 case "$ac_configure_args0 " in
2417 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2420 -* ) ac_must_keep_next=true ;;
2423 as_fn_append ac_configure_args " '$ac_arg'"
2428 { ac_configure_args0=; unset ac_configure_args0;}
2429 { ac_configure_args1=; unset ac_configure_args1;}
2431 # When interrupted or exit'd, cleanup temporary files, and complete
2432 # config.log. We remove comments because anyway the quotes in there
2433 # would cause problems or look ugly.
2434 # WARNING: Use '\'' to represent an apostrophe within the trap.
2435 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2436 trap 'exit_status=$?
2437 # Save into config.log some information that might help in debugging.
2441 $as_echo "## ---------------- ##
2442 ## Cache variables. ##
2443 ## ---------------- ##"
2445 # The following way of writing the cache mishandles newlines in values,
2447 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2448 eval ac_val=\$$ac_var
2452 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2453 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2456 _ | IFS | as_nl) ;; #(
2457 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2458 *) { eval $ac_var=; unset $ac_var;} ;;
2463 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2464 *${as_nl}ac_space=\ *)
2466 "s/'\''/'\''\\\\'\'''\''/g;
2467 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2470 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2477 $as_echo "## ----------------- ##
2478 ## Output variables. ##
2479 ## ----------------- ##"
2481 for ac_var in $ac_subst_vars
2483 eval ac_val=\$$ac_var
2485 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2487 $as_echo "$ac_var='\''$ac_val'\''"
2491 if test -n "$ac_subst_files"; then
2492 $as_echo "## ------------------- ##
2493 ## File substitutions. ##
2494 ## ------------------- ##"
2496 for ac_var in $ac_subst_files
2498 eval ac_val=\$$ac_var
2500 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2502 $as_echo "$ac_var='\''$ac_val'\''"
2507 if test -s confdefs.h; then
2508 $as_echo "## ----------- ##
2515 test "$ac_signal" != 0 &&
2516 $as_echo "$as_me: caught signal $ac_signal"
2517 $as_echo "$as_me: exit $exit_status"
2519 rm -f core *.core core.conftest.* &&
2520 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2523 for ac_signal in 1 2 13 15; do
2524 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2528 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2529 rm -f -r conftest* confdefs.h
2531 $as_echo "/* confdefs.h */" > confdefs.h
2533 # Predefined preprocessor variables.
2535 cat >>confdefs.h <<_ACEOF
2536 #define PACKAGE_NAME "$PACKAGE_NAME"
2539 cat >>confdefs.h <<_ACEOF
2540 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2543 cat >>confdefs.h <<_ACEOF
2544 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2547 cat >>confdefs.h <<_ACEOF
2548 #define PACKAGE_STRING "$PACKAGE_STRING"
2551 cat >>confdefs.h <<_ACEOF
2552 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2555 cat >>confdefs.h <<_ACEOF
2556 #define PACKAGE_URL "$PACKAGE_URL"
2560 # Let the site file select an alternate cache file if it wants to.
2561 # Prefer an explicitly selected file to automatically selected ones.
2564 if test -n "$CONFIG_SITE"; then
2565 # We do not want a PATH search for config.site.
2566 case $CONFIG_SITE in #((
2567 -*) ac_site_file1=./$CONFIG_SITE;;
2568 */*) ac_site_file1=$CONFIG_SITE;;
2569 *) ac_site_file1=./$CONFIG_SITE;;
2571 elif test "x$prefix" != xNONE; then
2572 ac_site_file1=$prefix/share/config.site
2573 ac_site_file2=$prefix/etc/config.site
2575 ac_site_file1=$ac_default_prefix/share/config.site
2576 ac_site_file2=$ac_default_prefix/etc/config.site
2578 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2580 test "x$ac_site_file" = xNONE && continue
2581 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2583 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2584 sed 's/^/| /' "$ac_site_file" >&5
2586 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2587 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2588 as_fn_error $? "failed to load site
script $ac_site_file
2589 See \
`config.log' for more details" "$LINENO" 5; }
2593 if test -r "$cache_file"; then
2594 # Some versions of bash will fail to source /dev/null (special files
2595 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2596 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2598 $as_echo "$as_me: loading cache $cache_file" >&6;}
2600 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2601 *) . "./$cache_file";;
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2606 $as_echo "$as_me: creating cache $cache_file" >&6;}
2610 as_fn_append ac_header_list " stdlib.h"
2611 as_fn_append ac_header_list " unistd.h"
2612 as_fn_append ac_header_list " sys/param.h"
2613 # Check that the precious variables saved in the cache have kept the same
2615 ac_cache_corrupted=false
2616 for ac_var in $ac_precious_vars; do
2617 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2618 eval ac_new_set=\$ac_env_${ac_var}_set
2619 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2620 eval ac_new_val=\$ac_env_${ac_var}_value
2621 case $ac_old_set,$ac_new_set in
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2624 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2625 ac_cache_corrupted=: ;;
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2628 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2629 ac_cache_corrupted=: ;;
2632 if test "x$ac_old_val" != "x$ac_new_val"; then
2633 # differences in whitespace do not lead to failure.
2634 ac_old_val_w=`echo x
$ac_old_val`
2635 ac_new_val_w=`echo x
$ac_new_val`
2636 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2638 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2639 ac_cache_corrupted=:
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2642 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2643 eval $ac_var=\$ac_old_val
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2646 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2648 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2651 # Pass precious variables to config.status.
2652 if test "$ac_new_set" = set; then
2654 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2655 *) ac_arg=$ac_var=$ac_new_val ;;
2657 case " $ac_configure_args " in
2658 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2659 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2663 if $ac_cache_corrupted; then
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2665 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2667 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2668 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2670 ## -------------------- ##
2671 ## Main body of script. ##
2672 ## -------------------- ##
2675 ac_cpp='$CPP $CPPFLAGS'
2676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2683 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2684 if test -f "$ac_dir/install-sh"; then
2686 ac_install_sh="$ac_aux_dir/install-sh -c"
2688 elif test -f "$ac_dir/install.sh"; then
2690 ac_install_sh="$ac_aux_dir/install.sh -c"
2692 elif test -f "$ac_dir/shtool"; then
2694 ac_install_sh="$ac_aux_dir/shtool install -c"
2698 if test -z "$ac_aux_dir"; then
2699 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2702 # These three variables are undocumented and unsupported,
2703 # and are intended to be withdrawn in a future Autoconf release.
2704 # They can cause serious problems if a builder's source tree is in a directory
2705 # whose full name contains unusual characters.
2706 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2707 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2708 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2712 # Check what host we are running on.
2713 # If a target is not suggested, we use this one.
2714 # Note that what we call a target, Autoconf calls a host.
2715 # Make sure we can run config.sub.
2716 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2717 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2720 $as_echo_n "checking build system type... " >&6; }
2721 if ${ac_cv_build+:} false; then :
2722 $as_echo_n "(cached) " >&6
2724 ac_build_alias=$build_alias
2725 test "x$ac_build_alias" = x &&
2726 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2727 test "x$ac_build_alias" = x &&
2728 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2729 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2730 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2734 $as_echo "$ac_cv_build" >&6; }
2735 case $ac_cv_build in
2737 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2740 ac_save_IFS=$IFS; IFS='-'
2746 # Remember, the first character of IFS is used to create $*,
2747 # except with old shells:
2750 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2754 $as_echo_n "checking host system type... " >&6; }
2755 if ${ac_cv_host+:} false; then :
2756 $as_echo_n "(cached) " >&6
2758 if test "x$host_alias" = x; then
2759 ac_cv_host=$ac_cv_build
2761 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2762 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2767 $as_echo "$ac_cv_host" >&6; }
2770 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2773 ac_save_IFS=$IFS; IFS='-'
2779 # Remember, the first character of IFS is used to create $*,
2780 # except with old shells:
2783 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2787 # Default versions for the gnu tools we build
2788 default_gcc_version="4.6.4"
2789 default_binutils_version="2.23.2"
2791 # The AROS target is slightly different to the normal GNU style
2792 # format. We don't have the middle part, and we reverse the order
2793 # of the $(CPU) and $(OS) bits.
2795 # Don't strip the version of the target yet, it might be
2796 # useful on some systems.
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2799 $as_echo_n "checking for AROS style target... " >&6; }
2801 if test "$target" = "NONE" ; then
2802 target=$host_os-$host_cpu
2804 if test "$target" = "" ; then
2805 target=$host_os-$host_cpu
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2809 $as_echo "$target" >&6; }
2811 if test "$host_os" = "mingw32" ; then
2815 # Don't know where else to put this...
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2817 $as_echo_n "checking building AROS in... " >&6; }
2818 AROS_BUILDDIR=`${PWDCMD-pwd}`
2819 AROS_BUILDDIR_UNIX=${PWD}
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2821 $as_echo "$AROS_BUILDDIR" >&6; }
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2824 $as_echo_n "checking AROS source in... " >&6; }
2825 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2828 $as_echo "$SRCDIR" >&6; }
2830 # Parse the target field into something useful.
2832 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2833 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2836 # Some debug output, to be removed again.
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2838 $as_echo_n "checking for target system (debug output)... " >&6; }
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2840 $as_echo "$target_os" >&6; }
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2842 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2844 $as_echo "$target_cpu" >&6; }
2846 aros_nominal_width=800
2847 aros_nominal_height=600
2848 aros_nominal_depth=4
2851 default_c_compilers="gcc clang cc"
2853 # Check whether --with-c-compiler was given.
2854 if test "${with_c_compiler+set}" = set; then :
2855 withval=$with_c_compiler; use_c_compiler="$withval"
2860 if test "$use_c_compiler" = ""; then
2861 host_c_compilers="$default_c_compilers"
2863 host_c_compilers="$use_c_compiler"
2866 default_cxx_compilers="g++ clang++ c++"
2868 # Check whether --with-cxx-compiler was given.
2869 if test "${with_cxx_compiler+set}" = set; then :
2870 withval=$with_cxx_compiler; use_cxx_compiler="$withval"
2875 if test "$use_cxx_compiler" = ""; then
2876 host_cxx_compilers="$default_cxx_compilers"
2878 host_cxx_compilers="$use_cxx_compiler"
2882 # The first step is to find the host binaries.
2883 # Check for a compiler.
2884 # Due to a bug in autoconf check for c++ compiler first.
2885 # For mor info see, http://osdir.com/ml/bug-autoconf-gnu/2010-05/msg00001.html.
2887 ac_cpp='$CXXCPP $CPPFLAGS'
2888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2891 if test -z "$CXX"; then
2892 if test -n "$CCC"; then
2895 if test -n "$ac_tool_prefix"; then
2896 for ac_prog in ${host_cxx_compilers}
2898 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2899 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2901 $as_echo_n "checking for $ac_word... " >&6; }
2902 if ${ac_cv_prog_CXX+:} false; then :
2903 $as_echo_n "(cached) " >&6
2905 if test -n "$CXX"; then
2906 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2912 test -z "$as_dir" && as_dir=.
2913 for ac_exec_ext in '' $ac_executable_extensions; do
2914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2915 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2926 if test -n "$CXX"; then
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2928 $as_echo "$CXX" >&6; }
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2931 $as_echo "no" >&6; }
2935 test -n "$CXX" && break
2938 if test -z "$CXX"; then
2940 for ac_prog in ${host_cxx_compilers}
2942 # Extract the first word of "$ac_prog", so it can be a program name with args.
2943 set dummy $ac_prog; ac_word=$2
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2945 $as_echo_n "checking for $ac_word... " >&6; }
2946 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2947 $as_echo_n "(cached) " >&6
2949 if test -n "$ac_ct_CXX"; then
2950 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2956 test -z "$as_dir" && as_dir=.
2957 for ac_exec_ext in '' $ac_executable_extensions; do
2958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2959 ac_cv_prog_ac_ct_CXX="$ac_prog"
2960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2969 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2970 if test -n "$ac_ct_CXX"; then
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2972 $as_echo "$ac_ct_CXX" >&6; }
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2975 $as_echo "no" >&6; }
2979 test -n "$ac_ct_CXX" && break
2982 if test "x$ac_ct_CXX" = x; then
2985 case $cross_compiling:$ac_tool_warned in
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2989 ac_tool_warned=yes ;;
2997 # Provide some information about the compiler.
2998 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3001 for ac_option in --version -v -V -qversion; do
3002 { { ac_try="$ac_compiler $ac_option >&5"
3004 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3005 *) ac_try_echo
=$ac_try;;
3007 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3008 $as_echo "$ac_try_echo"; } >&5
3009 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3011 if test -s conftest.err
; then
3013 ... rest of stderr output deleted ...
3014 10q' conftest.err
>conftest.er1
3015 cat conftest.er1
>&5
3017 rm -f conftest.er1 conftest.err
3018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3019 test $ac_status = 0; }
3022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3023 /* end confdefs.h. */
3033 ac_clean_files_save
=$ac_clean_files
3034 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3035 # Try to create an executable without -o first, disregard a.out.
3036 # It will help us diagnose broken compilers, and finding out an intuition
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3039 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3040 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3042 # The possible output files:
3043 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3046 for ac_file
in $ac_files
3049 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3050 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3055 if { { ac_try
="$ac_link_default"
3057 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3058 *) ac_try_echo=$ac_try;;
3060 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3061 $as_echo "$ac_try_echo"; } >&5
3062 (eval "$ac_link_default") 2>&5
3064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3065 test $ac_status = 0; }; then :
3066 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3067 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3068 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3069 # so that the user can short-circuit this test for compilers unknown to
3071 for ac_file in $ac_files ''
3073 test -f "$ac_file" || continue
3075 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3078 # We found the default executable, but exeext='' is most
3082 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3084 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3086 # We set ac_cv_exeext here because the later test for it is not
3087 # safe: cross compilers may not add the suffix if given an `-o'
3088 # argument, so we may need to know it at that point already.
3089 # Even if this section looks crufty: it has the advantage of
3096 test "$ac_cv_exeext" = no && ac_cv_exeext=
3101 if test -z "$ac_file"; then :
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3103 $as_echo "no" >&6; }
3104 $as_echo "$as_me: failed program was:" >&5
3105 sed 's
/^
/|
/' conftest.$ac_ext >&5
3107 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3108 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3109 as_fn_error 77 "C++ compiler cannot create executables
3110 See \`config.log
' for more details" "$LINENO" 5; }
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3113 $as_echo "yes" >&6; }
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3116 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3118 $as_echo "$ac_file" >&6; }
3119 ac_exeext=$ac_cv_exeext
3121 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3122 ac_clean_files=$ac_clean_files_save
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3124 $as_echo_n "checking for suffix of executables... " >&6; }
3125 if { { ac_try="$ac_link"
3127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3128 *) ac_try_echo=$ac_try;;
3130 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3131 $as_echo "$ac_try_echo"; } >&5
3132 (eval "$ac_link") 2>&5
3134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3135 test $ac_status = 0; }; then :
3136 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3137 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3138 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3140 for ac_file
in conftest.exe conftest conftest.
*; do
3141 test -f "$ac_file" ||
continue
3143 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3144 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3150 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3152 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3153 See \`config.log' for more details" "$LINENO" 5; }
3155 rm -f conftest conftest
$ac_cv_exeext
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3157 $as_echo "$ac_cv_exeext" >&6; }
3159 rm -f conftest.
$ac_ext
3160 EXEEXT
=$ac_cv_exeext
3162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3163 /* end confdefs.h. */
3168 FILE *f = fopen ("conftest.out", "w");
3169 return ferror (f) || fclose (f) != 0;
3175 ac_clean_files
="$ac_clean_files conftest.out"
3176 # Check that the compiler produces executables we can run. If not, either
3177 # the compiler is broken, or we cross compile.
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3179 $as_echo_n "checking whether we are cross compiling... " >&6; }
3180 if test "$cross_compiling" != yes; then
3181 { { ac_try
="$ac_link"
3183 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3184 *) ac_try_echo=$ac_try;;
3186 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3187 $as_echo "$ac_try_echo"; } >&5
3188 (eval "$ac_link") 2>&5
3190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3191 test $ac_status = 0; }
3192 if { ac_try='./conftest$ac_cv_exeext'
3193 { { case "(($ac_try" in
3194 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3195 *) ac_try_echo
=$ac_try;;
3197 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3198 $as_echo "$ac_try_echo"; } >&5
3199 (eval "$ac_try") 2>&5
3201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3202 test $ac_status = 0; }; }; then
3205 if test "$cross_compiling" = maybe
; then
3208 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3210 as_fn_error $?
"cannot run C++ compiled programs.
3211 If you meant to cross compile, use \`--host'.
3212 See \`config.log' for more details" "$LINENO" 5; }
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3217 $as_echo "$cross_compiling" >&6; }
3219 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3220 ac_clean_files
=$ac_clean_files_save
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3222 $as_echo_n "checking for suffix of object files... " >&6; }
3223 if ${ac_cv_objext+:} false
; then :
3224 $as_echo_n "(cached) " >&6
3226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3227 /* end confdefs.h. */
3237 rm -f conftest.o conftest.obj
3238 if { { ac_try
="$ac_compile"
3240 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3241 *) ac_try_echo=$ac_try;;
3243 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3244 $as_echo "$ac_try_echo"; } >&5
3245 (eval "$ac_compile") 2>&5
3247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3248 test $ac_status = 0; }; then :
3249 for ac_file in conftest.o conftest.obj conftest.*; do
3250 test -f "$ac_file" || continue;
3252 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3253 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3258 $as_echo "$as_me: failed program was:" >&5
3259 sed 's/^/| /' conftest.$ac_ext >&5
3261 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3263 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3264 See \
`config.log' for more details" "$LINENO" 5; }
3266 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3269 $as_echo "$ac_cv_objext" >&6; }
3270 OBJEXT=$ac_cv_objext
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3273 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3274 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3275 $as_echo_n "(cached) " >&6
3277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h. */
3291 if ac_fn_cxx_try_compile "$LINENO"; then :
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3301 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3302 if test $ac_compiler_gnu = yes; then
3307 ac_test_CXXFLAGS=${CXXFLAGS+set}
3308 ac_save_CXXFLAGS=$CXXFLAGS
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3310 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3311 if ${ac_cv_prog_cxx_g+:} false; then :
3312 $as_echo_n "(cached) " >&6
3314 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3315 ac_cxx_werror_flag=yes
3318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3319 /* end confdefs.h. */
3329 if ac_fn_cxx_try_compile "$LINENO"; then :
3330 ac_cv_prog_cxx_g=yes
3333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3334 /* end confdefs.h. */
3344 if ac_fn_cxx_try_compile "$LINENO"; then :
3347 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3350 /* end confdefs.h. */
3360 if ac_fn_cxx_try_compile "$LINENO"; then :
3361 ac_cv_prog_cxx_g=yes
3363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3368 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3371 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3372 if test "$ac_test_CXXFLAGS" = set; then
3373 CXXFLAGS=$ac_save_CXXFLAGS
3374 elif test $ac_cv_prog_cxx_g = yes; then
3375 if test "$GXX" = yes; then
3381 if test "$GXX" = yes; then
3388 ac_cpp='$CPP $CPPFLAGS'
3389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3394 ac_cpp='$CPP $CPPFLAGS'
3395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3398 if test -n "$ac_tool_prefix"; then
3399 for ac_prog in ${host_c_compilers}
3401 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3402 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3404 $as_echo_n "checking for $ac_word... " >&6; }
3405 if ${ac_cv_prog_CC+:} false; then :
3406 $as_echo_n "(cached) " >&6
3408 if test -n "$CC"; then
3409 ac_cv_prog_CC="$CC" # Let the user override the test.
3411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3415 test -z "$as_dir" && as_dir=.
3416 for ac_exec_ext in '' $ac_executable_extensions; do
3417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3418 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3429 if test -n "$CC"; then
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3431 $as_echo "$CC" >&6; }
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3434 $as_echo "no" >&6; }
3438 test -n "$CC" && break
3441 if test -z "$CC"; then
3443 for ac_prog in ${host_c_compilers}
3445 # Extract the first word of "$ac_prog", so it can be a program name with args.
3446 set dummy $ac_prog; ac_word=$2
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3448 $as_echo_n "checking for $ac_word... " >&6; }
3449 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3450 $as_echo_n "(cached) " >&6
3452 if test -n "$ac_ct_CC"; then
3453 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3459 test -z "$as_dir" && as_dir=.
3460 for ac_exec_ext in '' $ac_executable_extensions; do
3461 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3462 ac_cv_prog_ac_ct_CC="$ac_prog"
3463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3472 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3473 if test -n "$ac_ct_CC"; then
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3475 $as_echo "$ac_ct_CC" >&6; }
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3478 $as_echo "no" >&6; }
3482 test -n "$ac_ct_CC" && break
3485 if test "x$ac_ct_CC" = x; then
3488 case $cross_compiling:$ac_tool_warned in
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3492 ac_tool_warned=yes ;;
3499 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3500 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3501 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3502 See \
`config.log' for more details" "$LINENO" 5; }
3504 # Provide some information about the compiler.
3505 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3508 for ac_option in --version -v -V -qversion; do
3509 { { ac_try="$ac_compiler $ac_option >&5"
3511 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3512 *) ac_try_echo
=$ac_try;;
3514 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3515 $as_echo "$ac_try_echo"; } >&5
3516 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3518 if test -s conftest.err
; then
3520 ... rest of stderr output deleted ...
3521 10q' conftest.err
>conftest.er1
3522 cat conftest.er1
>&5
3524 rm -f conftest.er1 conftest.err
3525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3526 test $ac_status = 0; }
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3530 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3531 if ${ac_cv_c_compiler_gnu+:} false
; then :
3532 $as_echo_n "(cached) " >&6
3534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3535 /* end confdefs.h. */
3548 if ac_fn_c_try_compile
"$LINENO"; then :
3553 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3554 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3558 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3559 if test $ac_compiler_gnu = yes; then
3564 ac_test_CFLAGS
=${CFLAGS+set}
3565 ac_save_CFLAGS
=$CFLAGS
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3567 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3568 if ${ac_cv_prog_cc_g+:} false
; then :
3569 $as_echo_n "(cached) " >&6
3571 ac_save_c_werror_flag
=$ac_c_werror_flag
3572 ac_c_werror_flag
=yes
3575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3576 /* end confdefs.h. */
3586 if ac_fn_c_try_compile
"$LINENO"; then :
3590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3591 /* end confdefs.h. */
3601 if ac_fn_c_try_compile
"$LINENO"; then :
3604 ac_c_werror_flag
=$ac_save_c_werror_flag
3606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3607 /* end confdefs.h. */
3617 if ac_fn_c_try_compile
"$LINENO"; then :
3620 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3622 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3625 ac_c_werror_flag
=$ac_save_c_werror_flag
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3628 $as_echo "$ac_cv_prog_cc_g" >&6; }
3629 if test "$ac_test_CFLAGS" = set; then
3630 CFLAGS
=$ac_save_CFLAGS
3631 elif test $ac_cv_prog_cc_g = yes; then
3632 if test "$GCC" = yes; then
3638 if test "$GCC" = yes; then
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3645 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3646 if ${ac_cv_prog_cc_c89+:} false
; then :
3647 $as_echo_n "(cached) " >&6
3649 ac_cv_prog_cc_c89
=no
3651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3652 /* end confdefs.h. */
3656 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3657 struct buf { int x; };
3658 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3659 static char *e (p, i)
3665 static char *f (char * (*g) (char **, int), char **p, ...)
3670 s = g (p, va_arg (v,int));
3675 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3676 function prototypes and stuff, but not '\xHH' hex character constants.
3677 These don't provoke an error unfortunately, instead are silently treated
3678 as 'x'. The following induces an error, until -std is added to get
3679 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3680 array size at least. It's necessary to write '\x00'==0 to get something
3681 that's true only with -std. */
3682 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3684 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3685 inside strings and character constants. */
3687 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3689 int test (int i, double x);
3690 struct s1 {int (*f) (int a);};
3691 struct s2 {int (*f) (double a);};
3692 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3698 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3703 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3704 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3706 CC
="$ac_save_CC $ac_arg"
3707 if ac_fn_c_try_compile
"$LINENO"; then :
3708 ac_cv_prog_cc_c89
=$ac_arg
3710 rm -f core conftest.err conftest.
$ac_objext
3711 test "x$ac_cv_prog_cc_c89" != "xno" && break
3713 rm -f conftest.
$ac_ext
3718 case "x$ac_cv_prog_cc_c89" in
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3721 $as_echo "none needed" >&6; } ;;
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3724 $as_echo "unsupported" >&6; } ;;
3726 CC
="$CC $ac_cv_prog_cc_c89"
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3728 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3730 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3735 ac_cpp
='$CPP $CPPFLAGS'
3736 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3737 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3738 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3740 aros_host_def_cc
="$CC"
3741 case $ac_cv_prog_cc_stdc in #(
3743 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3746 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3747 if ${ac_cv_prog_cc_c99+:} false
; then :
3748 $as_echo_n "(cached) " >&6
3750 ac_cv_prog_cc_c99
=no
3752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3753 /* end confdefs.h. */
3755 #include <stdbool.h>
3760 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3761 #define debug(...) fprintf (stderr, __VA_ARGS__)
3762 #define showlist(...) puts (#__VA_ARGS__)
3763 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3765 test_varargs_macros (void)
3770 debug ("X = %d\n", x);
3771 showlist (The first, second, and third items.);
3772 report (x>y, "x is %d but y is %d", x, y);
3775 // Check long long types.
3776 #define BIG64 18446744073709551615ull
3777 #define BIG32 4294967295ul
3778 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3780 your preprocessor is broken;
3784 your preprocessor is broken;
3786 static long long int bignum = -9223372036854775807LL;
3787 static unsigned long long int ubignum = BIG64;
3789 struct incomplete_array
3797 const wchar_t *name;
3801 typedef const char *ccp;
3804 test_restrict (ccp restrict text)
3806 // See if C++-style comments work.
3807 // Iterate through items via the restricted pointer.
3808 // Also check for declarations in for loops.
3809 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3814 // Check varargs and va_copy.
3816 test_varargs (const char *format, ...)
3819 va_start (args, format);
3821 va_copy (args_copy, args);
3832 str = va_arg (args_copy, const char *);
3835 number = va_arg (args_copy, int);
3838 fnumber = va_arg (args_copy, double);
3853 _Bool success = false;
3856 if (test_restrict ("String literal") == 0)
3858 char *restrict newvar = "Another string";
3861 test_varargs ("s, d' f .", "string", 65, 34.234);
3862 test_varargs_macros ();
3864 // Check flexible array members.
3865 struct incomplete_array *ia =
3866 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3868 for (int i = 0; i < ia->datasize; ++i)
3869 ia->data[i] = i * 1.234;
3871 // Check named initializers.
3872 struct named_init ni = {
3874 .name = L"Test wide string",
3875 .average = 543.34343,
3880 int dynamic_array[ni.number];
3881 dynamic_array[ni.number - 1] = 543;
3883 // work around unused variable warnings
3884 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3885 || dynamic_array[ni.number - 1] != 543);
3891 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
3893 CC
="$ac_save_CC $ac_arg"
3894 if ac_fn_c_try_compile
"$LINENO"; then :
3895 ac_cv_prog_cc_c99
=$ac_arg
3897 rm -f core conftest.err conftest.
$ac_objext
3898 test "x$ac_cv_prog_cc_c99" != "xno" && break
3900 rm -f conftest.
$ac_ext
3905 case "x$ac_cv_prog_cc_c99" in
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3908 $as_echo "none needed" >&6; } ;;
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3911 $as_echo "unsupported" >&6; } ;;
3913 CC
="$CC $ac_cv_prog_cc_c99"
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3915 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3917 if test "x$ac_cv_prog_cc_c99" != xno
; then :
3918 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3921 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3922 if ${ac_cv_prog_cc_c89+:} false
; then :
3923 $as_echo_n "(cached) " >&6
3925 ac_cv_prog_cc_c89
=no
3927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3928 /* end confdefs.h. */
3932 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3933 struct buf { int x; };
3934 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3935 static char *e (p, i)
3941 static char *f (char * (*g) (char **, int), char **p, ...)
3946 s = g (p, va_arg (v,int));
3951 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3952 function prototypes and stuff, but not '\xHH' hex character constants.
3953 These don't provoke an error unfortunately, instead are silently treated
3954 as 'x'. The following induces an error, until -std is added to get
3955 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3956 array size at least. It's necessary to write '\x00'==0 to get something
3957 that's true only with -std. */
3958 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3960 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3961 inside strings and character constants. */
3963 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3965 int test (int i, double x);
3966 struct s1 {int (*f) (int a);};
3967 struct s2 {int (*f) (double a);};
3968 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3974 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3979 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3980 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3982 CC
="$ac_save_CC $ac_arg"
3983 if ac_fn_c_try_compile
"$LINENO"; then :
3984 ac_cv_prog_cc_c89
=$ac_arg
3986 rm -f core conftest.err conftest.
$ac_objext
3987 test "x$ac_cv_prog_cc_c89" != "xno" && break
3989 rm -f conftest.
$ac_ext
3994 case "x$ac_cv_prog_cc_c89" in
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3997 $as_echo "none needed" >&6; } ;;
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4000 $as_echo "unsupported" >&6; } ;;
4002 CC
="$CC $ac_cv_prog_cc_c89"
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4004 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4006 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4007 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4009 ac_cv_prog_cc_stdc
=no
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4016 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4017 if ${ac_cv_prog_cc_stdc+:} false
; then :
4018 $as_echo_n "(cached) " >&6
4021 case $ac_cv_prog_cc_stdc in #(
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4024 $as_echo "unsupported" >&6; } ;; #(
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4027 $as_echo "none needed" >&6; } ;; #(
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4030 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4034 ac_cpp
='$CPP $CPPFLAGS'
4035 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4036 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4039 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4040 # On Suns, sometimes $CPP names a directory.
4041 if test -n "$CPP" && test -d "$CPP"; then
4044 if test -z "$CPP"; then
4045 if ${ac_cv_prog_CPP+:} false
; then :
4046 $as_echo_n "(cached) " >&6
4048 # Double quotes because CPP needs to be expanded
4049 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4052 for ac_c_preproc_warn_flag
in '' yes
4054 # Use a header file that comes with gcc, so configuring glibc
4055 # with a fresh cross-compiler works.
4056 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4057 # <limits.h> exists even on freestanding compilers.
4058 # On the NeXT, cc -E runs the code through the compiler's parser,
4059 # not just through cpp. "Syntax error" is here to catch this case.
4060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4061 /* end confdefs.h. */
4063 # include <limits.h>
4065 # include <assert.h>
4069 if ac_fn_c_try_cpp
"$LINENO"; then :
4072 # Broken: fails on valid input.
4075 rm -f conftest.err conftest.i conftest.
$ac_ext
4077 # OK, works on sane cases. Now check whether nonexistent headers
4078 # can be detected and how.
4079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4080 /* end confdefs.h. */
4081 #include <ac_nonexistent.h>
4083 if ac_fn_c_try_cpp
"$LINENO"; then :
4084 # Broken: success on invalid input.
4087 # Passes both tests.
4091 rm -f conftest.err conftest.i conftest.
$ac_ext
4094 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4095 rm -f conftest.i conftest.err conftest.
$ac_ext
4096 if $ac_preproc_ok; then :
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4109 $as_echo "$CPP" >&6; }
4111 for ac_c_preproc_warn_flag
in '' yes
4113 # Use a header file that comes with gcc, so configuring glibc
4114 # with a fresh cross-compiler works.
4115 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4116 # <limits.h> exists even on freestanding compilers.
4117 # On the NeXT, cc -E runs the code through the compiler's parser,
4118 # not just through cpp. "Syntax error" is here to catch this case.
4119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4120 /* end confdefs.h. */
4122 # include <limits.h>
4124 # include <assert.h>
4128 if ac_fn_c_try_cpp
"$LINENO"; then :
4131 # Broken: fails on valid input.
4134 rm -f conftest.err conftest.i conftest.
$ac_ext
4136 # OK, works on sane cases. Now check whether nonexistent headers
4137 # can be detected and how.
4138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4140 #include <ac_nonexistent.h>
4142 if ac_fn_c_try_cpp
"$LINENO"; then :
4143 # Broken: success on invalid input.
4146 # Passes both tests.
4150 rm -f conftest.err conftest.i conftest.
$ac_ext
4153 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4154 rm -f conftest.i conftest.err conftest.
$ac_ext
4155 if $ac_preproc_ok; then :
4158 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4160 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4161 See \`config.log' for more details" "$LINENO" 5; }
4165 ac_cpp
='$CPP $CPPFLAGS'
4166 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4167 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4168 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4171 # Check for a compatible awk
4172 for ac_prog
in gawk nawk
4174 # Extract the first word of "$ac_prog", so it can be a program name with args.
4175 set dummy
$ac_prog; ac_word
=$2
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4177 $as_echo_n "checking for $ac_word... " >&6; }
4178 if ${ac_cv_prog_AWK+:} false
; then :
4179 $as_echo_n "(cached) " >&6
4181 if test -n "$AWK"; then
4182 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4188 test -z "$as_dir" && as_dir
=.
4189 for ac_exec_ext
in '' $ac_executable_extensions; do
4190 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4191 ac_cv_prog_AWK
="$ac_prog"
4192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4202 if test -n "$AWK"; then
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4204 $as_echo "$AWK" >&6; }
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4207 $as_echo "no" >&6; }
4211 test -n "$AWK" && break
4215 if test "$AWK" = ""; then
4218 if test "$AWK" = "no"; then
4221 if test "$req_avail" = "no"; then
4222 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4224 # Extract the first word of "mmake", so it can be a program name with args.
4225 set dummy mmake
; ac_word
=$2
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4227 $as_echo_n "checking for $ac_word... " >&6; }
4228 if ${ac_cv_prog_MMAKE+:} false
; then :
4229 $as_echo_n "(cached) " >&6
4231 if test -n "$MMAKE"; then
4232 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4238 test -z "$as_dir" && as_dir
=.
4239 for ac_exec_ext
in '' $ac_executable_extensions; do
4240 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4241 ac_cv_prog_MMAKE
="mmake "
4242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4251 MMAKE
=$ac_cv_prog_MMAKE
4252 if test -n "$MMAKE"; then
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4254 $as_echo "$MMAKE" >&6; }
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4257 $as_echo "no" >&6; }
4262 # Perform some default variable assignments. Note all of these will be
4263 # Regenerated from the script, so there is no need to cache them.
4265 aros_build_host
=$host
4266 aros_host_cpp
="$CPP"
4268 aros_host_cxx
="$CXX"
4269 if test "$GCC" = "yes"; then
4270 aros_gcc_ld
=`$CC -print-prog-name=ld`
4271 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4272 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4274 $as_echo_n "checking for $ac_word... " >&6; }
4275 if ${ac_cv_path_aros_host_ld+:} false
; then :
4276 $as_echo_n "(cached) " >&6
4278 case $aros_host_ld in
4280 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4284 for as_dir
in `dirname $aros_gcc_ld`
4287 test -z "$as_dir" && as_dir
=.
4288 for ac_exec_ext
in '' $ac_executable_extensions; do
4289 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4290 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4301 aros_host_ld
=$ac_cv_path_aros_host_ld
4302 if test -n "$aros_host_ld"; then
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4304 $as_echo "$aros_host_ld" >&6; }
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4307 $as_echo "no" >&6; }
4312 if test "$aros_host_ld" = ""; then
4313 # Extract the first word of "ld", so it can be a program name with args.
4314 set dummy ld
; ac_word
=$2
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4316 $as_echo_n "checking for $ac_word... " >&6; }
4317 if ${ac_cv_path_aros_host_ld+:} false
; then :
4318 $as_echo_n "(cached) " >&6
4320 case $aros_host_ld in
4322 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4329 test -z "$as_dir" && as_dir
=.
4330 for ac_exec_ext
in '' $ac_executable_extensions; do
4331 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4332 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4343 aros_host_ld
=$ac_cv_path_aros_host_ld
4344 if test -n "$aros_host_ld"; then
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4346 $as_echo "$aros_host_ld" >&6; }
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4349 $as_echo "no" >&6; }
4355 if test "$aros_host_ld" = ""; then
4358 if test "$aros_host_ld" = "no"; then
4361 if test "$req_avail" = "no"; then
4362 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4364 aros_host_make
="make"
4365 aros_host_cflags
="$CFLAGS"
4366 aros_host_cxxflags
="$CXXFLAGS"
4367 aros_host_ldflags
="$LDFLAGS"
4368 aros_host_debug
="-g -O0"
4369 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4370 aros_host_mkargs
="--no-print-directory"
4371 aros_host_exe_suffix
="$EXEEXT"
4372 aros_host_lib_suffix
=""
4374 # Ignore all compliance, AROS ROMs = 0
4375 # KickStart v1.0 = 30
4376 # KickStart v1.3 = 34
4377 # KickStart v2.0 = 37
4378 # KickStart v3.0 = 39
4379 # KickStart v3.1 = 40
4381 aros_amigaos_compliance
=0
4383 for ac_prog
in aclocal aclocal19 aclocal-1.9
4385 # Extract the first word of "$ac_prog", so it can be a program name with args.
4386 set dummy
$ac_prog; ac_word
=$2
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4388 $as_echo_n "checking for $ac_word... " >&6; }
4389 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4390 $as_echo_n "(cached) " >&6
4392 if test -n "$aros_host_aclocal"; then
4393 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4399 test -z "$as_dir" && as_dir
=.
4400 for ac_exec_ext
in '' $ac_executable_extensions; do
4401 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4402 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4412 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4413 if test -n "$aros_host_aclocal"; then
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4415 $as_echo "$aros_host_aclocal" >&6; }
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418 $as_echo "no" >&6; }
4422 test -n "$aros_host_aclocal" && break
4425 for ac_prog
in autoconf autoconf259 autoconf253
4427 # Extract the first word of "$ac_prog", so it can be a program name with args.
4428 set dummy
$ac_prog; ac_word
=$2
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4430 $as_echo_n "checking for $ac_word... " >&6; }
4431 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4432 $as_echo_n "(cached) " >&6
4434 if test -n "$aros_host_autoconf"; then
4435 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4441 test -z "$as_dir" && as_dir
=.
4442 for ac_exec_ext
in '' $ac_executable_extensions; do
4443 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4444 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4454 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4455 if test -n "$aros_host_autoconf"; then
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4457 $as_echo "$aros_host_autoconf" >&6; }
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4460 $as_echo "no" >&6; }
4464 test -n "$aros_host_autoconf" && break
4467 for ac_prog
in autoheader autoheader259 autoheader253
4469 # Extract the first word of "$ac_prog", so it can be a program name with args.
4470 set dummy
$ac_prog; ac_word
=$2
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4472 $as_echo_n "checking for $ac_word... " >&6; }
4473 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4474 $as_echo_n "(cached) " >&6
4476 if test -n "$aros_host_autoheader"; then
4477 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4483 test -z "$as_dir" && as_dir
=.
4484 for ac_exec_ext
in '' $ac_executable_extensions; do
4485 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4486 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4496 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4497 if test -n "$aros_host_autoheader"; then
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4499 $as_echo "$aros_host_autoheader" >&6; }
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4502 $as_echo "no" >&6; }
4506 test -n "$aros_host_autoheader" && break
4509 for ac_prog
in automake automake19 automake-1.9
4511 # Extract the first word of "$ac_prog", so it can be a program name with args.
4512 set dummy
$ac_prog; ac_word
=$2
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4514 $as_echo_n "checking for $ac_word... " >&6; }
4515 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4516 $as_echo_n "(cached) " >&6
4518 if test -n "$aros_host_automake"; then
4519 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4525 test -z "$as_dir" && as_dir
=.
4526 for ac_exec_ext
in '' $ac_executable_extensions; do
4527 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4528 ac_cv_prog_aros_host_automake
="$ac_prog"
4529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4538 aros_host_automake
=$ac_cv_prog_aros_host_automake
4539 if test -n "$aros_host_automake"; then
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4541 $as_echo "$aros_host_automake" >&6; }
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4544 $as_echo "no" >&6; }
4548 test -n "$aros_host_automake" && break
4553 if test "$aros_host_aclocal" = ""; then
4556 if test "$aros_host_aclocal" = "no"; then
4559 if test "$req_avail" = "no"; then
4560 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4563 if test "$aros_host_automake" = ""; then
4566 if test "$aros_host_automake" = "no"; then
4569 if test "$req_avail" = "no"; then
4570 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4573 case "$aros_host_cc" in
4575 aros_host_cc_pipe
=""
4578 aros_host_cc_pipe
="-pipe"
4581 aros_host_cc_pipe
=""
4584 aros_host_cc_pipe
=""
4588 aros_kernel_cc_includes
=""
4589 aros_target_cc_includes
=""
4592 # ----------------------------------------------------------------------------------------
4593 # Host-specific defaults
4595 # This is the main host configuration section. It is where the host
4596 # can change the values of any variables it needs to change. We do
4597 # not look at anything that compiles to the target yet, we'll get
4602 aros_host_arch
="aros"
4603 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4606 aros_host_cpu
="i386"
4609 aros_host_cpu
="x86_64"
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4616 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4617 aros_host_cpu
="$host_cpu"
4623 aros_host_arch
="linux"
4624 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4625 android_build_os
="linux-x86"
4626 android_tool
="android"
4627 default_android_sdk
="/opt/android-sdk-linux_x86"
4630 aros_host_cpu
="i386"
4633 aros_host_cpu
="x86_64"
4636 aros_host_cpu
="m68k"
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4646 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4647 aros_host_cpu
="$host_cpu"
4653 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe -I/usr/local/include"
4654 aros_host_make
="gmake"
4655 aros_host_arch
="freebsd"
4656 aros_host_cpu
="i386"
4658 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4662 aros_object_format
="elf_i386"
4666 aros_object_format
="elf_i386_fbsd"
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/include/stddef.h" >&5
4674 $as_echo_n "checking for /usr/include/stddef.h... " >&6; }
4675 if ${ac_cv_file__usr_include_stddef_h+:} false
; then :
4676 $as_echo_n "(cached) " >&6
4678 test "$cross_compiling" = yes &&
4679 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
4680 if test -r "/usr/include/stddef.h"; then
4681 ac_cv_file__usr_include_stddef_h
=yes
4683 ac_cv_file__usr_include_stddef_h
=no
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_include_stddef_h" >&5
4687 $as_echo "$ac_cv_file__usr_include_stddef_h" >&6; }
4688 if test "x$ac_cv_file__usr_include_stddef_h" = xyes
; then :
4691 as_fn_error $?
"XCode incorrectly configured!
4692 please run 'xcode-select --install' before
4693 re-running configure" "$LINENO" 5
4697 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4698 aros_host_arch
="darwin"
4700 if [ -z ${SED+x} ]; then SED
="gsed"; fi
4701 android_build_os
="darwin-x86"
4702 android_tool
="android"
4703 default_android_sdk
="/android-sdk-mac_x86"
4706 aros_host_cpu
="i386"
4709 aros_host_cpu
="x86_64"
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4716 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4717 aros_host_cpu
="$host_cpu"
4721 aros_host_ldflags
="$aros_host_ldflags -liconv"
4726 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4727 aros_host_make
="gmake"
4728 aros_host_arch
="dragonfly"
4731 aros_host_cpu
="i386"
4734 aros_host_cpu
="x86_64"
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4738 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4739 aros_host_cpu
="$host_cpu"
4745 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4746 aros_host_make
="gmake"
4747 aros_host_arch
="netbsd"
4750 aros_host_cpu
="i386"
4753 aros_host_cpu
="m68k"
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4757 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4758 aros_host_cpu
="$host_cpu"
4761 aros_host_lib_suffix
=".0.0"
4765 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4766 aros_host_make
="gmake"
4767 aros_host_arch
="openbsd"
4770 aros_host_cpu
="i386"
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4774 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4775 aros_host_cpu
="$host_cpu"
4781 aros_host_arch
="solaris"
4782 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4785 aros_host_cpu
="i386"
4788 aros_host_cpu
="sparc"
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4792 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4793 aros_host_cpu
="$host_cpu"
4799 aros_host_arch
="morphos"
4805 aros_host_arch
="amiga"
4811 TOUCH
="/gg/bin/touch"
4814 aros_host_cpu
="m68k"
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4821 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4822 aros_host_cpu
="$host_cpu"
4828 aros_host_arch
="cygwin"
4829 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4831 android_build_os
="windows"
4832 android_tool
="android.bat"
4833 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4837 aros_host_cpu
="i386"
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4841 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4842 aros_host_cpu
="$host_cpu"
4848 aros_host_arch
="mingw32"
4849 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4851 android_build_os
="windows"
4852 android_tool
="android.bat"
4853 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4855 libpng_libextra
="-lws2_32"
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4861 $as_echo_n "checking for Windows native gcc target... " >&6; }
4862 host_cpu
=`gcc -dumpmachine`
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4864 $as_echo "$host_cpu" >&6; }
4871 aros_host_cpu
="i386"
4875 aros_host_cpu
="i386"
4879 aros_host_cpu
="x86_64"
4880 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4885 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4886 aros_host_cpu
="$host_cpu"
4891 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4895 # Extract the first word of "ar", so it can be a program name with args.
4896 set dummy
ar; ac_word
=$2
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4898 $as_echo_n "checking for $ac_word... " >&6; }
4899 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4900 $as_echo_n "(cached) " >&6
4902 if test -n "$aros_host_ar"; then
4903 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4909 test -z "$as_dir" && as_dir
=.
4910 for ac_exec_ext
in '' $ac_executable_extensions; do
4911 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4912 ac_cv_prog_aros_host_ar
="ar cr"
4913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4922 aros_host_ar
=$ac_cv_prog_aros_host_ar
4923 if test -n "$aros_host_ar"; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4925 $as_echo "$aros_host_ar" >&6; }
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 $as_echo "no" >&6; }
4933 if test "$aros_host_ar" = ""; then
4936 if test "$aros_host_ar" = "no"; then
4939 if test "$req_avail" = "no"; then
4940 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4942 # Extract the first word of "ranlib", so it can be a program name with args.
4943 set dummy ranlib
; ac_word
=$2
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4945 $as_echo_n "checking for $ac_word... " >&6; }
4946 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4947 $as_echo_n "(cached) " >&6
4949 if test -n "$aros_host_ranlib"; then
4950 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4956 test -z "$as_dir" && as_dir
=.
4957 for ac_exec_ext
in '' $ac_executable_extensions; do
4958 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4959 ac_cv_prog_aros_host_ranlib
="ranlib "
4960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4969 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4970 if test -n "$aros_host_ranlib"; then
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4972 $as_echo "$aros_host_ranlib" >&6; }
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4975 $as_echo "no" >&6; }
4980 if test "$aros_host_ranlib" = ""; then
4983 if test "$aros_host_ranlib" = "no"; then
4986 if test "$req_avail" = "no"; then
4987 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4989 # Extract the first word of "strip", so it can be a program name with args.
4990 set dummy strip
; ac_word
=$2
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4992 $as_echo_n "checking for $ac_word... " >&6; }
4993 if ${ac_cv_prog_aros_host_strip+:} false
; then :
4994 $as_echo_n "(cached) " >&6
4996 if test -n "$aros_host_strip"; then
4997 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5003 test -z "$as_dir" && as_dir
=.
5004 for ac_exec_ext
in '' $ac_executable_extensions; do
5005 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5006 ac_cv_prog_aros_host_strip
="strip "
5007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5016 aros_host_strip
=$ac_cv_prog_aros_host_strip
5017 if test -n "$aros_host_strip"; then
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5019 $as_echo "$aros_host_strip" >&6; }
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5022 $as_echo "no" >&6; }
5027 if test "$aros_host_strip" = ""; then
5030 if test "$aros_host_strip" = "no"; then
5033 if test "$req_avail" = "no"; then
5034 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5037 # Extract the first word of "rm", so it can be a program name with args.
5038 set dummy
rm; ac_word
=$2
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5040 $as_echo_n "checking for $ac_word... " >&6; }
5041 if ${ac_cv_prog_RM+:} false
; then :
5042 $as_echo_n "(cached) " >&6
5044 if test -n "$RM"; then
5045 ac_cv_prog_RM
="$RM" # Let the user override the test.
5047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5051 test -z "$as_dir" && as_dir
=.
5052 for ac_exec_ext
in '' $ac_executable_extensions; do
5053 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5054 ac_cv_prog_RM
="rm -rf"
5055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5065 if test -n "$RM"; then
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5067 $as_echo "$RM" >&6; }
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5070 $as_echo "no" >&6; }
5075 if test "$RM" = ""; then
5078 if test "$RM" = "no"; then
5081 if test "$req_avail" = "no"; then
5082 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5084 # Extract the first word of "cp", so it can be a program name with args.
5085 set dummy
cp; ac_word
=$2
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5087 $as_echo_n "checking for $ac_word... " >&6; }
5088 if ${ac_cv_prog_CP+:} false
; then :
5089 $as_echo_n "(cached) " >&6
5091 if test -n "$CP"; then
5092 ac_cv_prog_CP
="$CP" # Let the user override the test.
5094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5098 test -z "$as_dir" && as_dir
=.
5099 for ac_exec_ext
in '' $ac_executable_extensions; do
5100 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5112 if test -n "$CP"; then
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5114 $as_echo "$CP" >&6; }
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5117 $as_echo "no" >&6; }
5122 if test "$CP" = ""; then
5125 if test "$CP" = "no"; then
5128 if test "$req_avail" = "no"; then
5129 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5131 # Extract the first word of "mv", so it can be a program name with args.
5132 set dummy
mv; ac_word
=$2
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134 $as_echo_n "checking for $ac_word... " >&6; }
5135 if ${ac_cv_prog_MV+:} false
; then :
5136 $as_echo_n "(cached) " >&6
5138 if test -n "$MV"; then
5139 ac_cv_prog_MV
="$MV" # Let the user override the test.
5141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5145 test -z "$as_dir" && as_dir
=.
5146 for ac_exec_ext
in '' $ac_executable_extensions; do
5147 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5159 if test -n "$MV"; then
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5161 $as_echo "$MV" >&6; }
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5164 $as_echo "no" >&6; }
5169 if test "$MV" = ""; then
5172 if test "$MV" = "no"; then
5175 if test "$req_avail" = "no"; then
5176 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5178 # Extract the first word of "echo", so it can be a program name with args.
5179 set dummy
echo; ac_word
=$2
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5181 $as_echo_n "checking for $ac_word... " >&6; }
5182 if ${ac_cv_prog_ECHO+:} false
; then :
5183 $as_echo_n "(cached) " >&6
5185 if test -n "$ECHO"; then
5186 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5192 test -z "$as_dir" && as_dir
=.
5193 for ac_exec_ext
in '' $ac_executable_extensions; do
5194 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5195 ac_cv_prog_ECHO
="echo "
5196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5205 ECHO
=$ac_cv_prog_ECHO
5206 if test -n "$ECHO"; then
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5208 $as_echo "$ECHO" >&6; }
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5211 $as_echo "no" >&6; }
5216 if test "$ECHO" = ""; then
5219 if test "$ECHO" = "no"; then
5222 if test "$req_avail" = "no"; then
5223 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5225 # Extract the first word of "mkdir", so it can be a program name with args.
5226 set dummy mkdir
; ac_word
=$2
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5228 $as_echo_n "checking for $ac_word... " >&6; }
5229 if ${ac_cv_prog_MKDIR+:} false
; then :
5230 $as_echo_n "(cached) " >&6
5232 if test -n "$MKDIR"; then
5233 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5239 test -z "$as_dir" && as_dir
=.
5240 for ac_exec_ext
in '' $ac_executable_extensions; do
5241 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5242 ac_cv_prog_MKDIR
="mkdir -p"
5243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5252 MKDIR
=$ac_cv_prog_MKDIR
5253 if test -n "$MKDIR"; then
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5255 $as_echo "$MKDIR" >&6; }
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5258 $as_echo "no" >&6; }
5263 if test "$MKDIR" = ""; then
5266 if test "$MKDIR" = "no"; then
5269 if test "$req_avail" = "no"; then
5270 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5272 # Extract the first word of "touch", so it can be a program name with args.
5273 set dummy
touch; ac_word
=$2
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5275 $as_echo_n "checking for $ac_word... " >&6; }
5276 if ${ac_cv_prog_TOUCH+:} false
; then :
5277 $as_echo_n "(cached) " >&6
5279 if test -n "$TOUCH"; then
5280 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5286 test -z "$as_dir" && as_dir
=.
5287 for ac_exec_ext
in '' $ac_executable_extensions; do
5288 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5289 ac_cv_prog_TOUCH
="touch "
5290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5299 TOUCH
=$ac_cv_prog_TOUCH
5300 if test -n "$TOUCH"; then
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5302 $as_echo "$TOUCH" >&6; }
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5305 $as_echo "no" >&6; }
5310 if test "$TOUCH" = ""; then
5313 if test "$TOUCH" = "no"; then
5316 if test "$req_avail" = "no"; then
5317 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5319 # Extract the first word of "sort", so it can be a program name with args.
5320 set dummy
sort; ac_word
=$2
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5322 $as_echo_n "checking for $ac_word... " >&6; }
5323 if ${ac_cv_prog_SORT+:} false
; then :
5324 $as_echo_n "(cached) " >&6
5326 if test -n "$SORT"; then
5327 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5333 test -z "$as_dir" && as_dir
=.
5334 for ac_exec_ext
in '' $ac_executable_extensions; do
5335 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5336 ac_cv_prog_SORT
="sort "
5337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5346 SORT
=$ac_cv_prog_SORT
5347 if test -n "$SORT"; then
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5349 $as_echo "$SORT" >&6; }
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5352 $as_echo "no" >&6; }
5357 if test "$SORT" = ""; then
5360 if test "$SORT" = "no"; then
5363 if test "$req_avail" = "no"; then
5364 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5366 # Extract the first word of "uniq", so it can be a program name with args.
5367 set dummy
uniq; ac_word
=$2
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5369 $as_echo_n "checking for $ac_word... " >&6; }
5370 if ${ac_cv_prog_UNIQ+:} false
; then :
5371 $as_echo_n "(cached) " >&6
5373 if test -n "$UNIQ"; then
5374 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5380 test -z "$as_dir" && as_dir
=.
5381 for ac_exec_ext
in '' $ac_executable_extensions; do
5382 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5383 ac_cv_prog_UNIQ
="uniq "
5384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5393 UNIQ
=$ac_cv_prog_UNIQ
5394 if test -n "$UNIQ"; then
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5396 $as_echo "$UNIQ" >&6; }
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5399 $as_echo "no" >&6; }
5404 if test "$UNIQ" = ""; then
5407 if test "$UNIQ" = "no"; then
5410 if test "$req_avail" = "no"; then
5411 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5413 # Extract the first word of "true", so it can be a program name with args.
5414 set dummy true
; ac_word
=$2
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5416 $as_echo_n "checking for $ac_word... " >&6; }
5417 if ${ac_cv_prog_NOP+:} false
; then :
5418 $as_echo_n "(cached) " >&6
5420 if test -n "$NOP"; then
5421 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5427 test -z "$as_dir" && as_dir
=.
5428 for ac_exec_ext
in '' $ac_executable_extensions; do
5429 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5430 ac_cv_prog_NOP
="true "
5431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5441 if test -n "$NOP"; then
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5443 $as_echo "$NOP" >&6; }
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5446 $as_echo "no" >&6; }
5451 if test "$NOP" = ""; then
5454 if test "$NOP" = "no"; then
5457 if test "$req_avail" = "no"; then
5458 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5460 # Extract the first word of "cat", so it can be a program name with args.
5461 set dummy
cat; ac_word
=$2
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5463 $as_echo_n "checking for $ac_word... " >&6; }
5464 if ${ac_cv_prog_CAT+:} false
; then :
5465 $as_echo_n "(cached) " >&6
5467 if test -n "$CAT"; then
5468 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5474 test -z "$as_dir" && as_dir
=.
5475 for ac_exec_ext
in '' $ac_executable_extensions; do
5476 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5477 ac_cv_prog_CAT
="cat "
5478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5488 if test -n "$CAT"; then
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5490 $as_echo "$CAT" >&6; }
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5493 $as_echo "no" >&6; }
5498 if test "$CAT" = ""; then
5501 if test "$CAT" = "no"; then
5504 if test "$req_avail" = "no"; then
5505 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5507 # Extract the first word of "bison", so it can be a program name with args.
5508 set dummy bison
; ac_word
=$2
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5510 $as_echo_n "checking for $ac_word... " >&6; }
5511 if ${ac_cv_prog_BISON+:} false
; then :
5512 $as_echo_n "(cached) " >&6
5514 if test -n "$BISON"; then
5515 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5521 test -z "$as_dir" && as_dir
=.
5522 for ac_exec_ext
in '' $ac_executable_extensions; do
5523 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5524 ac_cv_prog_BISON
="bison "
5525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5534 BISON
=$ac_cv_prog_BISON
5535 if test -n "$BISON"; then
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5537 $as_echo "$BISON" >&6; }
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5540 $as_echo "no" >&6; }
5545 if test "$BISON" = ""; then
5548 if test "$BISON" = "no"; then
5551 if test "$req_avail" = "no"; then
5552 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5554 # Extract the first word of "flex", so it can be a program name with args.
5555 set dummy flex
; ac_word
=$2
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5557 $as_echo_n "checking for $ac_word... " >&6; }
5558 if ${ac_cv_prog_FLEX+:} false
; then :
5559 $as_echo_n "(cached) " >&6
5561 if test -n "$FLEX"; then
5562 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5568 test -z "$as_dir" && as_dir
=.
5569 for ac_exec_ext
in '' $ac_executable_extensions; do
5570 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5571 ac_cv_prog_FLEX
="flex "
5572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5581 FLEX
=$ac_cv_prog_FLEX
5582 if test -n "$FLEX"; then
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5584 $as_echo "$FLEX" >&6; }
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5587 $as_echo "no" >&6; }
5592 if test "$FLEX" = ""; then
5595 if test "$FLEX" = "no"; then
5598 if test "$req_avail" = "no"; then
5599 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5601 # Extract the first word of "pngtopnm", so it can be a program name with args.
5602 set dummy pngtopnm
; ac_word
=$2
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5604 $as_echo_n "checking for $ac_word... " >&6; }
5605 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5606 $as_echo_n "(cached) " >&6
5608 if test -n "$PNGTOPNM"; then
5609 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5615 test -z "$as_dir" && as_dir
=.
5616 for ac_exec_ext
in '' $ac_executable_extensions; do
5617 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5618 ac_cv_prog_PNGTOPNM
="pngtopnm "
5619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5628 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5629 if test -n "$PNGTOPNM"; then
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5631 $as_echo "$PNGTOPNM" >&6; }
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5634 $as_echo "no" >&6; }
5639 if test "$PNGTOPNM" = ""; then
5642 if test "$PNGTOPNM" = "no"; then
5645 if test "$req_avail" = "no"; then
5646 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5648 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5649 set dummy ppmtoilbm
; ac_word
=$2
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5651 $as_echo_n "checking for $ac_word... " >&6; }
5652 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5653 $as_echo_n "(cached) " >&6
5655 if test -n "$PPMTOILBM"; then
5656 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5662 test -z "$as_dir" && as_dir
=.
5663 for ac_exec_ext
in '' $ac_executable_extensions; do
5664 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5665 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5675 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5676 if test -n "$PPMTOILBM"; then
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5678 $as_echo "$PPMTOILBM" >&6; }
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5681 $as_echo "no" >&6; }
5686 if test "$PPMTOILBM" = ""; then
5689 if test "$PPMTOILBM" = "no"; then
5692 if test "$req_avail" = "no"; then
5693 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5695 # Extract the first word of "sed", so it can be a program name with args.
5696 set dummy
sed; ac_word
=$2
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5698 $as_echo_n "checking for $ac_word... " >&6; }
5699 if ${ac_cv_prog_SED+:} false
; then :
5700 $as_echo_n "(cached) " >&6
5702 if test -n "$SED"; then
5703 ac_cv_prog_SED
="$SED" # Let the user override the test.
5705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5709 test -z "$as_dir" && as_dir
=.
5710 for ac_exec_ext
in '' $ac_executable_extensions; do
5711 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5712 ac_cv_prog_SED
="sed "
5713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5723 if test -n "$SED"; then
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5725 $as_echo "$SED" >&6; }
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5728 $as_echo "no" >&6; }
5733 if test "$SED" = ""; then
5736 if test "$SED" = "no"; then
5739 if test "$req_avail" = "no"; then
5740 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5742 # Extract the first word of "chmod", so it can be a program name with args.
5743 set dummy
chmod; ac_word
=$2
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5745 $as_echo_n "checking for $ac_word... " >&6; }
5746 if ${ac_cv_prog_CHMOD+:} false
; then :
5747 $as_echo_n "(cached) " >&6
5749 if test -n "$CHMOD"; then
5750 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5756 test -z "$as_dir" && as_dir
=.
5757 for ac_exec_ext
in '' $ac_executable_extensions; do
5758 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5759 ac_cv_prog_CHMOD
="chmod "
5760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5769 CHMOD
=$ac_cv_prog_CHMOD
5770 if test -n "$CHMOD"; then
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5772 $as_echo "$CHMOD" >&6; }
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5775 $as_echo "no" >&6; }
5780 if test "$CHMOD" = ""; then
5783 if test "$CHMOD" = "no"; then
5786 if test "$req_avail" = "no"; then
5787 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5789 # Extract the first word of "patch", so it can be a program name with args.
5790 set dummy
patch; ac_word
=$2
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5792 $as_echo_n "checking for $ac_word... " >&6; }
5793 if ${ac_cv_prog_PATCH+:} false
; then :
5794 $as_echo_n "(cached) " >&6
5796 if test -n "$PATCH"; then
5797 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5803 test -z "$as_dir" && as_dir
=.
5804 for ac_exec_ext
in '' $ac_executable_extensions; do
5805 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5806 ac_cv_prog_PATCH
="patch "
5807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5816 PATCH
=$ac_cv_prog_PATCH
5817 if test -n "$PATCH"; then
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5819 $as_echo "$PATCH" >&6; }
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5822 $as_echo "no" >&6; }
5827 if test "$PATCH" = ""; then
5830 if test "$PATCH" = "no"; then
5833 if test "$req_avail" = "no"; then
5834 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5843 if test -n "$PYTHON"; then
5844 # If the user set $PYTHON, use it and don't search something else.
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
5846 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
5848 # split strings by '.' and convert to numeric. Append some zeros
5849 # because we need at least 4 digits for the hex conversion.
5850 # map returns an iterator in Python 3.0 and a list in 2.x
5851 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5853 # xrange is not present in Python 3.0 and range returns an iterator
5854 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5855 sys.exit(sys.hexversion < minverhex)"
5856 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5857 ($PYTHON -c "$prog") >&5 2>&5
5859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5860 (exit $ac_status); }; then :
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5862 $as_echo "yes" >&6; }
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5865 $as_echo "no" >&6; }
5866 as_fn_error $?
"Python interpreter is too old" "$LINENO" 5
5868 am_display_PYTHON
=$PYTHON
5870 # Otherwise, try each interpreter until we find one that satisfies
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5873 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5874 if ${am_cv_pathless_PYTHON+:} false
; then :
5875 $as_echo_n "(cached) " >&6
5878 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
5879 test "$am_cv_pathless_PYTHON" = none
&& break
5881 # split strings by '.' and convert to numeric. Append some zeros
5882 # because we need at least 4 digits for the hex conversion.
5883 # map returns an iterator in Python 3.0 and a list in 2.x
5884 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5886 # xrange is not present in Python 3.0 and range returns an iterator
5887 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5888 sys.exit(sys.hexversion < minverhex)"
5889 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5890 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5893 (exit $ac_status); }; then :
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5899 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5900 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5901 if test "$am_cv_pathless_PYTHON" = none
; then
5904 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5905 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5907 $as_echo_n "checking for $ac_word... " >&6; }
5908 if ${ac_cv_path_PYTHON+:} false
; then :
5909 $as_echo_n "(cached) " >&6
5913 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5920 test -z "$as_dir" && as_dir
=.
5921 for ac_exec_ext
in '' $ac_executable_extensions; do
5922 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5923 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5934 PYTHON
=$ac_cv_path_PYTHON
5935 if test -n "$PYTHON"; then
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5937 $as_echo "$PYTHON" >&6; }
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5940 $as_echo "no" >&6; }
5945 am_display_PYTHON
=$am_cv_pathless_PYTHON
5949 if test "$PYTHON" = :; then
5950 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5955 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5956 if ${am_cv_python_version+:} false
; then :
5957 $as_echo_n "(cached) " >&6
5959 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5962 $as_echo "$am_cv_python_version" >&6; }
5963 PYTHON_VERSION
=$am_cv_python_version
5967 PYTHON_PREFIX
='${prefix}'
5969 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5974 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5975 if ${am_cv_python_platform+:} false
; then :
5976 $as_echo_n "(cached) " >&6
5978 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5981 $as_echo "$am_cv_python_platform" >&6; }
5982 PYTHON_PLATFORM
=$am_cv_python_platform
5985 # Just factor out some code duplication.
5986 am_python_setup_sysconfig
="\
5988 # Prefer sysconfig over distutils.sysconfig, for better compatibility
5989 # with python 3.x. See automake bug#10227.
5993 can_use_sysconfig = 0
5995 can_use_sysconfig = 1
5996 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
5997 # <https://github.com/pypa/virtualenv/issues/118>
5999 from platform import python_implementation
6000 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
6001 can_use_sysconfig = 0
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
6007 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
6008 if ${am_cv_python_pythondir+:} false
; then :
6009 $as_echo_n "(cached) " >&6
6011 if test "x$prefix" = xNONE
6013 am_py_prefix
=$ac_default_prefix
6015 am_py_prefix
=$prefix
6017 am_cv_python_pythondir
=`$PYTHON -c "
6018 $am_python_setup_sysconfig
6019 if can_use_sysconfig:
6020 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
6022 from distutils import sysconfig
6023 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
6024 sys.stdout.write(sitedir)"`
6025 case $am_cv_python_pythondir in
6027 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
6028 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
6031 case $am_py_prefix in
6034 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
6042 $as_echo "$am_cv_python_pythondir" >&6; }
6043 pythondir
=$am_cv_python_pythondir
6047 pkgpythondir
=\
${pythondir}/$PACKAGE
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
6051 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
6052 if ${am_cv_python_pyexecdir+:} false
; then :
6053 $as_echo_n "(cached) " >&6
6055 if test "x$exec_prefix" = xNONE
6057 am_py_exec_prefix
=$am_py_prefix
6059 am_py_exec_prefix
=$exec_prefix
6061 am_cv_python_pyexecdir
=`$PYTHON -c "
6062 $am_python_setup_sysconfig
6063 if can_use_sysconfig:
6064 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
6066 from distutils import sysconfig
6067 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
6068 sys.stdout.write(sitedir)"`
6069 case $am_cv_python_pyexecdir in
6070 $am_py_exec_prefix*)
6071 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
6072 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
6075 case $am_py_exec_prefix in
6078 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
6086 $as_echo "$am_cv_python_pyexecdir" >&6; }
6087 pyexecdir
=$am_cv_python_pyexecdir
6091 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
6099 # Check whether --enable-libpng-config was given.
6100 if test "${enable_libpng_config+set}" = set; then :
6101 enableval
=$enable_libpng_config;
6104 if test "$enable_libpng_config" != "no"; then
6105 # Extract the first word of "libpng-config", so it can be a program name with args.
6106 set dummy libpng-config
; ac_word
=$2
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108 $as_echo_n "checking for $ac_word... " >&6; }
6109 if ${ac_cv_prog_arosconfig_use_libpngconfig+:} false
; then :
6110 $as_echo_n "(cached) " >&6
6112 if test -n "$arosconfig_use_libpngconfig"; then
6113 ac_cv_prog_arosconfig_use_libpngconfig
="$arosconfig_use_libpngconfig" # Let the user override the test.
6115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6119 test -z "$as_dir" && as_dir
=.
6120 for ac_exec_ext
in '' $ac_executable_extensions; do
6121 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6122 ac_cv_prog_arosconfig_use_libpngconfig
="yes"
6123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6130 test -z "$ac_cv_prog_arosconfig_use_libpngconfig" && ac_cv_prog_arosconfig_use_libpngconfig
="no"
6133 arosconfig_use_libpngconfig
=$ac_cv_prog_arosconfig_use_libpngconfig
6134 if test -n "$arosconfig_use_libpngconfig"; then
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $arosconfig_use_libpngconfig" >&5
6136 $as_echo "$arosconfig_use_libpngconfig" >&6; }
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6139 $as_echo "no" >&6; }
6144 if test "$arosconfig_use_libpngconfig" = "yes"; then
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libpng-config library" >&5
6146 $as_echo_n "checking libpng-config library... " >&6; }
6147 libpng_incdir
="`libpng-config --cflags`"
6148 libpng_libextra
="$libpng_libextra `libpng-config --ldflags`"
6149 libpng
="`libpng-config --libs`"
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libpng" >&5
6151 $as_echo "$libpng" >&6; }
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
6155 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
6156 if ${ac_cv_lib_png_png_read_png+:} false
; then :
6157 $as_echo_n "(cached) " >&6
6159 ac_check_lib_save_LIBS
=$LIBS
6161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6162 /* end confdefs.h. */
6164 /* Override any GCC internal prototype to avoid an error.
6165 Use char because int might match the return type of a GCC
6166 builtin and then its argument prototype would still apply. */
6170 char png_read_png ();
6174 return png_read_png ();
6179 if ac_fn_c_try_link
"$LINENO"; then :
6180 ac_cv_lib_png_png_read_png
=yes
6182 ac_cv_lib_png_png_read_png
=no
6184 rm -f core conftest.err conftest.
$ac_objext \
6185 conftest
$ac_exeext conftest.
$ac_ext
6186 LIBS
=$ac_check_lib_save_LIBS
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
6189 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
6190 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
6196 if test "$libpng_libextra" != ""; then
6197 if test "$libpng" != "no"; then
6198 libpng_libextra
="$libpng_libextra $libpng"
6203 if test "$libpng" = ""; then
6206 if test "$libpng" = "no"; then
6209 if test "$req_avail" = "no"; then
6210 as_fn_error $?
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
6226 # Check for some includes for the X11 HIDD and the kernel
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6229 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6230 if ${ac_cv_path_GREP+:} false
; then :
6231 $as_echo_n "(cached) " >&6
6233 if test -z "$GREP"; then
6234 ac_path_GREP_found
=false
6235 # Loop through the user's path and test for each of PROGNAME-LIST
6236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6237 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6240 test -z "$as_dir" && as_dir
=.
6241 for ac_prog
in grep ggrep
; do
6242 for ac_exec_ext
in '' $ac_executable_extensions; do
6243 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6244 as_fn_executable_p
"$ac_path_GREP" ||
continue
6245 # Check for GNU ac_path_GREP and select it if it is found.
6246 # Check for GNU $ac_path_GREP
6247 case `"$ac_path_GREP" --version 2>&1` in
6249 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6252 $as_echo_n 0123456789 >"conftest.in"
6255 cat "conftest.in" "conftest.in" >"conftest.tmp"
6256 mv "conftest.tmp" "conftest.in"
6257 cp "conftest.in" "conftest.nl"
6258 $as_echo 'GREP' >> "conftest.nl"
6259 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6260 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6261 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6262 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6263 # Best one so far, save it but keep looking for a better one
6264 ac_cv_path_GREP
="$ac_path_GREP"
6265 ac_path_GREP_max
=$ac_count
6267 # 10*(2^10) chars as input seems more than enough
6268 test $ac_count -gt 10 && break
6270 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6273 $ac_path_GREP_found && break 3
6278 if test -z "$ac_cv_path_GREP"; then
6279 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6282 ac_cv_path_GREP
=$GREP
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6287 $as_echo "$ac_cv_path_GREP" >&6; }
6288 GREP
="$ac_cv_path_GREP"
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6292 $as_echo_n "checking for egrep... " >&6; }
6293 if ${ac_cv_path_EGREP+:} false
; then :
6294 $as_echo_n "(cached) " >&6
6296 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6297 then ac_cv_path_EGREP
="$GREP -E"
6299 if test -z "$EGREP"; then
6300 ac_path_EGREP_found
=false
6301 # Loop through the user's path and test for each of PROGNAME-LIST
6302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6303 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6306 test -z "$as_dir" && as_dir
=.
6307 for ac_prog
in egrep; do
6308 for ac_exec_ext
in '' $ac_executable_extensions; do
6309 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6310 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6311 # Check for GNU ac_path_EGREP and select it if it is found.
6312 # Check for GNU $ac_path_EGREP
6313 case `"$ac_path_EGREP" --version 2>&1` in
6315 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6318 $as_echo_n 0123456789 >"conftest.in"
6321 cat "conftest.in" "conftest.in" >"conftest.tmp"
6322 mv "conftest.tmp" "conftest.in"
6323 cp "conftest.in" "conftest.nl"
6324 $as_echo 'EGREP' >> "conftest.nl"
6325 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6326 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6327 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6328 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6329 # Best one so far, save it but keep looking for a better one
6330 ac_cv_path_EGREP
="$ac_path_EGREP"
6331 ac_path_EGREP_max
=$ac_count
6333 # 10*(2^10) chars as input seems more than enough
6334 test $ac_count -gt 10 && break
6336 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6339 $ac_path_EGREP_found && break 3
6344 if test -z "$ac_cv_path_EGREP"; then
6345 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6348 ac_cv_path_EGREP
=$EGREP
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6354 $as_echo "$ac_cv_path_EGREP" >&6; }
6355 EGREP
="$ac_cv_path_EGREP"
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6359 $as_echo_n "checking for ANSI C header files... " >&6; }
6360 if ${ac_cv_header_stdc+:} false
; then :
6361 $as_echo_n "(cached) " >&6
6363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6364 /* end confdefs.h. */
6378 if ac_fn_c_try_compile
"$LINENO"; then :
6379 ac_cv_header_stdc
=yes
6381 ac_cv_header_stdc
=no
6383 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6385 if test $ac_cv_header_stdc = yes; then
6386 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6388 /* end confdefs.h. */
6392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6393 $EGREP "memchr" >/dev
/null
2>&1; then :
6396 ac_cv_header_stdc
=no
6402 if test $ac_cv_header_stdc = yes; then
6403 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6405 /* end confdefs.h. */
6409 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6410 $EGREP "free" >/dev
/null
2>&1; then :
6413 ac_cv_header_stdc
=no
6419 if test $ac_cv_header_stdc = yes; then
6420 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6421 if test "$cross_compiling" = yes; then :
6424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6425 /* end confdefs.h. */
6428 #if ((' ' & 0x0FF) == 0x020)
6429 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6430 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6432 # define ISLOWER(c) \
6433 (('a' <= (c) && (c) <= 'i') \
6434 || ('j' <= (c) && (c) <= 'r') \
6435 || ('s' <= (c) && (c) <= 'z'))
6436 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6439 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6444 for (i = 0; i < 256; i++)
6445 if (XOR (islower (i), ISLOWER (i))
6446 || toupper (i) != TOUPPER (i))
6451 if ac_fn_c_try_run
"$LINENO"; then :
6454 ac_cv_header_stdc
=no
6456 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6457 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6463 $as_echo "$ac_cv_header_stdc" >&6; }
6464 if test $ac_cv_header_stdc = yes; then
6466 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6470 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6471 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6472 inttypes.h stdint.h unistd.h
6474 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6475 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6477 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6478 cat >>confdefs.h
<<_ACEOF
6479 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6487 for ac_header
in sys
/ipc.h sys
/shm.h \
6488 sys
/mmap.h sys
/mman.h sysexits.h \
6489 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6492 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6493 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6494 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6495 cat >>confdefs.h
<<_ACEOF
6496 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6504 for ac_header
in sys
/mount.h
6506 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6508 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6509 cat >>confdefs.h
<<_ACEOF
6510 #define HAVE_SYS_MOUNT_H 1
6519 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6520 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6522 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6523 if eval \
${$as_ac_Header+:} false
; then :
6524 $as_echo_n "(cached) " >&6
6526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6527 /* end confdefs.h. */
6528 #include <sys/types.h>
6540 if ac_fn_c_try_compile
"$LINENO"; then :
6541 eval "$as_ac_Header=yes"
6543 eval "$as_ac_Header=no"
6545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6547 eval ac_res
=\$
$as_ac_Header
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6549 $as_echo "$ac_res" >&6; }
6550 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6551 cat >>confdefs.h
<<_ACEOF
6552 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6555 ac_header_dirent
=$ac_hdr; break
6559 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6560 if test $ac_header_dirent = dirent.h
; then
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6562 $as_echo_n "checking for library containing opendir... " >&6; }
6563 if ${ac_cv_search_opendir+:} false
; then :
6564 $as_echo_n "(cached) " >&6
6566 ac_func_search_save_LIBS
=$LIBS
6567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6568 /* end confdefs.h. */
6570 /* Override any GCC internal prototype to avoid an error.
6571 Use char because int might match the return type of a GCC
6572 builtin and then its argument prototype would still apply. */
6585 for ac_lib
in '' dir
; do
6586 if test -z "$ac_lib"; then
6587 ac_res
="none required"
6590 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6592 if ac_fn_c_try_link
"$LINENO"; then :
6593 ac_cv_search_opendir
=$ac_res
6595 rm -f core conftest.err conftest.
$ac_objext \
6597 if ${ac_cv_search_opendir+:} false
; then :
6601 if ${ac_cv_search_opendir+:} false
; then :
6604 ac_cv_search_opendir
=no
6607 LIBS
=$ac_func_search_save_LIBS
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6610 $as_echo "$ac_cv_search_opendir" >&6; }
6611 ac_res
=$ac_cv_search_opendir
6612 if test "$ac_res" != no
; then :
6613 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6619 $as_echo_n "checking for library containing opendir... " >&6; }
6620 if ${ac_cv_search_opendir+:} false
; then :
6621 $as_echo_n "(cached) " >&6
6623 ac_func_search_save_LIBS
=$LIBS
6624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6625 /* end confdefs.h. */
6627 /* Override any GCC internal prototype to avoid an error.
6628 Use char because int might match the return type of a GCC
6629 builtin and then its argument prototype would still apply. */
6642 for ac_lib
in '' x
; do
6643 if test -z "$ac_lib"; then
6644 ac_res
="none required"
6647 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6649 if ac_fn_c_try_link
"$LINENO"; then :
6650 ac_cv_search_opendir
=$ac_res
6652 rm -f core conftest.err conftest.
$ac_objext \
6654 if ${ac_cv_search_opendir+:} false
; then :
6658 if ${ac_cv_search_opendir+:} false
; then :
6661 ac_cv_search_opendir
=no
6664 LIBS
=$ac_func_search_save_LIBS
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6667 $as_echo "$ac_cv_search_opendir" >&6; }
6668 ac_res
=$ac_cv_search_opendir
6669 if test "$ac_res" != no
; then :
6670 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6677 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6678 if ${ac_cv_header_stat_broken+:} false
; then :
6679 $as_echo_n "(cached) " >&6
6681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6682 /* end confdefs.h. */
6683 #include <sys/types.h>
6684 #include <sys/stat.h>
6686 #if defined S_ISBLK && defined S_IFDIR
6687 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6690 #if defined S_ISBLK && defined S_IFCHR
6691 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6694 #if defined S_ISLNK && defined S_IFREG
6695 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6698 #if defined S_ISSOCK && defined S_IFREG
6699 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6703 if ac_fn_c_try_compile
"$LINENO"; then :
6704 ac_cv_header_stat_broken
=no
6706 ac_cv_header_stat_broken
=yes
6708 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6711 $as_echo "$ac_cv_header_stat_broken" >&6; }
6712 if test $ac_cv_header_stat_broken = yes; then
6714 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6719 $as_echo_n "checking for ANSI C header files... " >&6; }
6720 if ${ac_cv_header_stdc+:} false
; then :
6721 $as_echo_n "(cached) " >&6
6723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6724 /* end confdefs.h. */
6738 if ac_fn_c_try_compile
"$LINENO"; then :
6739 ac_cv_header_stdc
=yes
6741 ac_cv_header_stdc
=no
6743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6745 if test $ac_cv_header_stdc = yes; then
6746 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6748 /* end confdefs.h. */
6752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6753 $EGREP "memchr" >/dev
/null
2>&1; then :
6756 ac_cv_header_stdc
=no
6762 if test $ac_cv_header_stdc = yes; then
6763 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6765 /* end confdefs.h. */
6769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6770 $EGREP "free" >/dev
/null
2>&1; then :
6773 ac_cv_header_stdc
=no
6779 if test $ac_cv_header_stdc = yes; then
6780 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6781 if test "$cross_compiling" = yes; then :
6784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6785 /* end confdefs.h. */
6788 #if ((' ' & 0x0FF) == 0x020)
6789 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6790 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6792 # define ISLOWER(c) \
6793 (('a' <= (c) && (c) <= 'i') \
6794 || ('j' <= (c) && (c) <= 'r') \
6795 || ('s' <= (c) && (c) <= 'z'))
6796 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6799 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6804 for (i = 0; i < 256; i++)
6805 if (XOR (islower (i), ISLOWER (i))
6806 || toupper (i) != TOUPPER (i))
6811 if ac_fn_c_try_run
"$LINENO"; then :
6814 ac_cv_header_stdc
=no
6816 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6817 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6823 $as_echo "$ac_cv_header_stdc" >&6; }
6824 if test $ac_cv_header_stdc = yes; then
6826 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6831 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6832 if ${ac_cv_header_sys_wait_h+:} false
; then :
6833 $as_echo_n "(cached) " >&6
6835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6836 /* end confdefs.h. */
6837 #include <sys/types.h>
6838 #include <sys/wait.h>
6840 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6843 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6851 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6856 if ac_fn_c_try_compile
"$LINENO"; then :
6857 ac_cv_header_sys_wait_h
=yes
6859 ac_cv_header_sys_wait_h
=no
6861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6864 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6865 if test $ac_cv_header_sys_wait_h = yes; then
6867 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6872 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6873 if ${ac_cv_header_time+:} false
; then :
6874 $as_echo_n "(cached) " >&6
6876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6877 /* end confdefs.h. */
6878 #include <sys/types.h>
6879 #include <sys/time.h>
6885 if ((struct tm *) 0)
6891 if ac_fn_c_try_compile
"$LINENO"; then :
6892 ac_cv_header_time
=yes
6894 ac_cv_header_time
=no
6896 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6899 $as_echo "$ac_cv_header_time" >&6; }
6900 if test $ac_cv_header_time = yes; then
6902 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6906 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6907 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6909 cat >>confdefs.h
<<_ACEOF
6910 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6914 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6919 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6920 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6922 cat >>confdefs.h
<<_ACEOF
6923 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6927 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6930 case " $LIBOBJS " in
6931 *" fileblocks.$ac_objext "* ) ;;
6932 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6939 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6940 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6942 cat >>confdefs.h
<<_ACEOF
6943 #define HAVE_STRUCT_STAT_ST_RDEV 1
6947 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6953 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6954 if ${ac_cv_struct_tm+:} false
; then :
6955 $as_echo_n "(cached) " >&6
6957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6958 /* end confdefs.h. */
6959 #include <sys/types.h>
6966 int *p = &tm.tm_sec;
6972 if ac_fn_c_try_compile
"$LINENO"; then :
6973 ac_cv_struct_tm
=time.h
6975 ac_cv_struct_tm
=sys
/time.h
6977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6980 $as_echo "$ac_cv_struct_tm" >&6; }
6981 if test $ac_cv_struct_tm = sys
/time.h
; then
6983 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6987 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6988 #include <$ac_cv_struct_tm>
6991 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6993 cat >>confdefs.h
<<_ACEOF
6994 #define HAVE_STRUCT_TM_TM_ZONE 1
7000 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
7002 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
7005 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
7007 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
7013 cat >>confdefs.h
<<_ACEOF
7014 #define HAVE_DECL_TZNAME $ac_have_decl
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
7018 $as_echo_n "checking for tzname... " >&6; }
7019 if ${ac_cv_var_tzname+:} false
; then :
7020 $as_echo_n "(cached) " >&6
7022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7023 /* end confdefs.h. */
7025 #if !HAVE_DECL_TZNAME
7026 extern char *tzname[];
7032 return tzname[0][0];
7037 if ac_fn_c_try_link
"$LINENO"; then :
7038 ac_cv_var_tzname
=yes
7042 rm -f core conftest.err conftest.
$ac_objext \
7043 conftest
$ac_exeext conftest.
$ac_ext
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
7046 $as_echo "$ac_cv_var_tzname" >&6; }
7047 if test $ac_cv_var_tzname = yes; then
7049 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
7054 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
7055 if test "x$ac_cv_type_off_t" = xyes
; then :
7059 cat >>confdefs.h
<<_ACEOF
7060 #define off_t long int
7065 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
7066 if test "x$ac_cv_type_pid_t" = xyes
; then :
7070 cat >>confdefs.h
<<_ACEOF
7076 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7077 if test "x$ac_cv_type_size_t" = xyes
; then :
7081 cat >>confdefs.h
<<_ACEOF
7082 #define size_t unsigned int
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
7088 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7089 if ${ac_cv_type_uid_t+:} false
; then :
7090 $as_echo_n "(cached) " >&6
7092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7093 /* end confdefs.h. */
7094 #include <sys/types.h>
7097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7098 $EGREP "uid_t" >/dev
/null
2>&1; then :
7099 ac_cv_type_uid_t
=yes
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
7107 $as_echo "$ac_cv_type_uid_t" >&6; }
7108 if test $ac_cv_type_uid_t = no
; then
7110 $as_echo "#define uid_t int" >>confdefs.h
7113 $as_echo "#define gid_t int" >>confdefs.h
7118 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
7119 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
7121 cat >>confdefs.h
<<_ACEOF
7122 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7129 # Look for some functions
7130 for ac_func
in getpagesize kqueue statfs statvfs \
7131 clone kse_create rfork_thread thr_create sa_register \
7132 getcontext makecontext setcontext sigaltstack swapcontext
7134 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7135 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7136 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7137 cat >>confdefs.h
<<_ACEOF
7138 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7148 for ac_header
in $ac_header_list
7150 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7151 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7153 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7154 cat >>confdefs.h
<<_ACEOF
7155 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7169 for ac_func
in getpagesize
7171 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
7172 if test "x$ac_cv_func_getpagesize" = xyes
; then :
7173 cat >>confdefs.h
<<_ACEOF
7174 #define HAVE_GETPAGESIZE 1
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
7181 $as_echo_n "checking for working mmap... " >&6; }
7182 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
7183 $as_echo_n "(cached) " >&6
7185 if test "$cross_compiling" = yes; then :
7186 ac_cv_func_mmap_fixed_mapped
=no
7188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7189 /* end confdefs.h. */
7190 $ac_includes_default
7191 /* malloc might have been renamed as rpl_malloc. */
7194 /* Thanks to Mike Haertel and Jim Avera for this test.
7195 Here is a matrix of mmap possibilities:
7196 mmap private not fixed
7197 mmap private fixed at somewhere currently unmapped
7198 mmap private fixed at somewhere already mapped
7199 mmap shared not fixed
7200 mmap shared fixed at somewhere currently unmapped
7201 mmap shared fixed at somewhere already mapped
7202 For private mappings, we should verify that changes cannot be read()
7203 back from the file, nor mmap's back from the file at a different
7204 address. (There have been systems where private was not correctly
7205 implemented like the infamous i386 svr4.0, and systems where the
7206 VM page cache was not coherent with the file system buffer cache
7207 like early versions of FreeBSD and possibly contemporary NetBSD.)
7208 For shared mappings, we should conversely verify that changes get
7209 propagated back to all the places they're supposed to be.
7211 Grep wants private fixed already mapped.
7212 The main things grep needs to know about mmap are:
7213 * does it exist and is it safe to write into the mmap'd area
7214 * how to use it (BSD variants) */
7217 #include <sys/mman.h>
7219 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7223 /* This mess was copied from the GNU getpagesize.h. */
7224 #ifndef HAVE_GETPAGESIZE
7225 # ifdef _SC_PAGESIZE
7226 # define getpagesize() sysconf(_SC_PAGESIZE)
7227 # else /* no _SC_PAGESIZE */
7228 # ifdef HAVE_SYS_PARAM_H
7229 # include <sys/param.h>
7230 # ifdef EXEC_PAGESIZE
7231 # define getpagesize() EXEC_PAGESIZE
7232 # else /* no EXEC_PAGESIZE */
7234 # define getpagesize() NBPG * CLSIZE
7237 # endif /* no CLSIZE */
7238 # else /* no NBPG */
7240 # define getpagesize() NBPC
7241 # else /* no NBPC */
7243 # define getpagesize() PAGESIZE
7244 # endif /* PAGESIZE */
7245 # endif /* no NBPC */
7246 # endif /* no NBPG */
7247 # endif /* no EXEC_PAGESIZE */
7248 # else /* no HAVE_SYS_PARAM_H */
7249 # define getpagesize() 8192 /* punt totally */
7250 # endif /* no HAVE_SYS_PARAM_H */
7251 # endif /* no _SC_PAGESIZE */
7253 #endif /* no HAVE_GETPAGESIZE */
7258 char *data, *data2, *data3;
7263 pagesize = getpagesize ();
7265 /* First, make a file with some known garbage in it. */
7266 data = (char *) malloc (pagesize);
7269 for (i = 0; i < pagesize; ++i)
7270 *(data + i) = rand ();
7272 fd = creat ("conftest.mmap", 0600);
7275 if (write (fd, data, pagesize) != pagesize)
7279 /* Next, check that the tail of a page is zero-filled. File must have
7280 non-zero length, otherwise we risk SIGBUS for entire page. */
7281 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7285 if (write (fd2, cdata2, 1) != 1)
7287 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7288 if (data2 == MAP_FAILED)
7290 for (i = 0; i < pagesize; ++i)
7294 if (munmap (data2, pagesize))
7297 /* Next, try to mmap the file at a fixed address which already has
7298 something else allocated at it. If we can, also make sure that
7299 we see the same garbage. */
7300 fd = open ("conftest.mmap", O_RDWR);
7303 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7304 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7306 for (i = 0; i < pagesize; ++i)
7307 if (*(data + i) != *(data2 + i))
7310 /* Finally, make sure that changes to the mapped area do not
7311 percolate back to the file as seen by read(). (This is a bug on
7312 some variants of i386 svr4.0.) */
7313 for (i = 0; i < pagesize; ++i)
7314 *(data2 + i) = *(data2 + i) + 1;
7315 data3 = (char *) malloc (pagesize);
7318 if (read (fd, data3, pagesize) != pagesize)
7320 for (i = 0; i < pagesize; ++i)
7321 if (*(data + i) != *(data3 + i))
7327 if ac_fn_c_try_run
"$LINENO"; then :
7328 ac_cv_func_mmap_fixed_mapped
=yes
7330 ac_cv_func_mmap_fixed_mapped
=no
7332 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7333 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7338 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7339 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7341 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7344 rm -f conftest.mmap conftest.txt
7347 #-----------------------------------------------------------------------------
7350 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7351 # it switched on by default, and we use the host compiler, so it compiles AROS
7352 # code with this enabled resulting in link failures as we don't have support
7355 # We use two methods to disable it. For the host compiler (used to compile
7356 # some hosted modules), we test to see if the compiler supports stack
7357 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7358 # work on all platforms.
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7362 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7363 save_cflags
="$CFLAGS"
7364 CFLAGS
="$CFLAGS -fno-stack-protector"
7365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7366 /* end confdefs.h. */
7376 if ac_fn_c_try_compile
"$LINENO"; then :
7377 use_no_stack_protector
="yes"
7379 use_no_stack_protector
="no"
7381 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7383 $as_echo "$use_no_stack_protector" >&6; }
7384 if test "x-$use_no_stack_protector" = "x-yes" ; then
7385 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7387 CFLAGS
="$save_cflags"
7389 #-----------------------------------------------------------------------------
7391 # Disable pointer-signedness warnings if the compiler recognises the option
7392 # (this only works for the host compiler at the moment)
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7395 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7396 save_cflags
="$CFLAGS"
7397 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7399 /* end confdefs.h. */
7409 if ac_fn_c_try_compile
"$LINENO"; then :
7410 use_no_sign_warning
="yes"
7412 use_no_sign_warning
="no"
7414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7416 $as_echo "$use_no_sign_warning" >&6; }
7417 if test "x-$use_no_sign_warning" = "x-yes" ; then
7418 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7420 CFLAGS
="$save_cflags"
7422 #-----------------------------------------------------------------------------
7424 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7427 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7428 save_cflags
="$CFLAGS"
7429 CFLAGS
="$CFLAGS -fgnu89-inline"
7430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7431 /* end confdefs.h. */
7441 if ac_fn_c_try_compile
"$LINENO"; then :
7442 use_gnu89_inline
="yes"
7444 use_gnu89_inline
="no"
7446 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7448 $as_echo "$use_gnu89_inline" >&6; }
7449 if test "x-$use_gnu89_inline" = "x-yes" ; then
7450 gnu89_inline
="-fgnu89-inline"
7452 CFLAGS
="$save_cflags"
7455 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
7456 # On GCC >= 4.0 -iquote should be used
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
7459 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
7460 CFLAGS
="$CFLAGS -iquote."
7461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7462 /* end confdefs.h. */
7472 if ac_fn_c_try_compile
"$LINENO"; then :
7477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
7479 $as_echo "$has_iquote" >&6; }
7480 if test "x-$has_iquote" = "x-yes" ; then
7481 host_cflags_iquote
=-iquote
7482 host_cflags_iquote_end
=
7484 host_cflags_iquote
=-I
7485 host_cflags_iquote_end
=-I-
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: Performing target configuration..." >&5
7489 $as_echo "$as_me: Performing target configuration..." >&6;}
7492 aros_nowarn_flags
="NOWARN_UNUSED_COMMAND_LINE_ARGUMENT NOWARN_UNKNOWN_WARNING_OPTION NOWARN_POINTER_SIGN NOWARN_PARENTHESES"
7494 toolchain_needs_sysroot
=no
7496 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7497 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7498 aros_config_ldflags
=""
7500 aros_shared_default
=yes
7502 aros_shared_cflags
="-fPIC"
7503 aros_shared_aflags
=""
7504 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7505 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7507 aros_kernel_ar_flags
="cr"
7508 aros_target_ar_flags
="cr"
7509 aros_target_nm_flags
="-C -ul"
7510 aros_target_strip_flags
="--strip-unneeded -R.comment"
7515 aros_target_genmap
="-Wl,-Map -Xlinker"
7517 # Native flavour stuff
7518 aros_serial_debug
="0"
7520 # Palm native flavour stuff
7521 aros_palm_debug_hack
="0"
7523 # Unix flavour stuff
7524 aros_nesting_supervisor
="0"
7526 # Collect-aros stuff: "-ius" to ignore undefined symbols
7527 ignore_undefined_symbols
=""
7529 # Check for X11 by default
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which toolchain family to use ..." >&5
7538 $as_echo_n "checking Which toolchain family to use ...... " >&6; }
7540 # Check whether --with-toolchain was given.
7541 if test "${with_toolchain+set}" = set; then :
7542 withval
=$with_toolchain; aros_toolchain
="$withval"
7544 aros_toolchain
="gnu"
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_toolchain" >&5
7548 $as_echo "$aros_toolchain" >&6; }
7550 case "$aros_toolchain" in
7552 # toolchain_needs_sysroot=yes
7553 toolchain_c_compiler
="clang"
7554 toolchain_cxx_compiler
="clang++"
7555 toolchain_cpp_preprocessor
="clang -E"
7557 toolchain_as
="llvm-as"
7558 toolchain_ar
="llvm-ar"
7559 toolchain_ranlib
="llvm-ranlib"
7560 toolchain_nm
="llvm-nm"
7561 toolchain_strip
="true"
7562 toolchain_objcopy
="llvm-objcopy"
7563 toolchain_objdump
="llvm-objdump"
7566 toolchain_c_compiler
="gcc"
7567 toolchain_cxx_compiler
="g++"
7568 toolchain_cpp_preprocessor
="cpp"
7572 toolchain_ranlib
="ranlib"
7574 toolchain_strip
="strip"
7575 toolchain_objcopy
="objcopy"
7576 toolchain_objdump
="objdump"
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown toolchain family!\"" >&5
7580 $as_echo "$as_me: WARNING: \"Unknown toolchain family!\"" >&2;}
7581 toolchain_c_compiler
="cc"
7582 toolchain_cxx_compiler
="c++"
7583 toolchain_cpp_preprocessor
="cpp"
7587 toolchain_ranlib
="ranlib"
7589 toolchain_strip
="strip"
7590 toolchain_objcopy
="objcopy"
7591 toolchain_objdump
="objdump"
7595 #-----------------------------------------------------------------------------
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which type of build to do" >&5
7598 $as_echo_n "checking which type of build to do... " >&6; }
7599 # Check whether --enable-build_type was given.
7600 if test "${enable_build_type+set}" = set; then :
7601 enableval
=$enable_build_type; build_type
=$enableval
7603 build_type
="personal"
7607 if test "$build_type" = "nightly"; then
7608 build_type_string
="NIGHTLY"
7609 elif test "$build_type" = "snapshot"; then
7610 build_type_string
="SNAPSHOT"
7611 elif test "$build_type" = "milestone"; then
7612 build_type_string
="MILESTONE"
7613 elif test "$build_type" = "release"; then
7614 build_type_string
="RELEASE"
7616 build_type_string
="PERSONAL"
7617 build_type
="personal"
7620 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7623 $as_echo "$build_type" >&6; }
7625 #-----------------------------------------------------------------------------
7626 all_debug_types
="messages stack modules mungwall symbols"
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7629 $as_echo_n "checking which debug types to enable... " >&6; }
7630 # Check whether --enable-debug was given.
7631 if test "${enable_debug+set}" = set; then :
7632 enableval
=$enable_debug; debug
="$enableval"
7638 if test "$debug" = "" -o "$debug" = "no"; then
7640 elif test "$debug" = "yes"; then
7644 if test "$debug" = "all" ; then
7645 debug
="messages stack modules symbols"
7646 for d
in $all_debug_types; do
7647 export aros_
${d}_debug
="1"
7650 for d
in $all_debug_types; do
7651 export aros_
${d}_debug
="0"
7655 if test "$debug" != "none"; then
7656 debug
=`echo $debug | sed s/,/\ /g`
7659 for d2
in $all_debug_types; do
7660 if test "$d2" = "$d"; then
7665 if test "$found" = "0"; then
7666 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7668 export aros_
${d}_debug
="1"
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7673 $as_echo "$debug" >&6; }
7675 if test "$aros_messages_debug" = "1"; then
7676 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7678 aros_messages_debug
=""
7680 if test "$aros_symbols_debug" = "1"; then
7681 aros_symbols_debug
="-g"
7683 aros_symbols_debug
=""
7686 # These are the flags to pass when compiling debugged programs
7687 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7688 aros_debug_aflags
=""
7689 aros_debug_ldflags
="$aros_symbols_debug"
7691 #-----------------------------------------------------------------------------
7692 # Checking for distcc and ccache.
7694 # Always apply the transforms in this particular order. Basically you should
7695 # always run 'ccache distcc compiler' in that order for the best performance.
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7698 $as_echo_n "checking whether to enable distcc... " >&6; }
7699 # Check whether --enable-distcc was given.
7700 if test "${enable_distcc+set}" = set; then :
7701 enableval
=$enable_distcc; distcc
="$enableval"
7706 if test "$distcc" != "" -a "$distcc" != "no"; then
7707 # AC_CHECK_PROG will print out the result in this case
7708 # Extract the first word of "distcc", so it can be a program name with args.
7709 set dummy distcc
; ac_word
=$2
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7711 $as_echo_n "checking for $ac_word... " >&6; }
7712 if ${ac_cv_path_DISTCC+:} false
; then :
7713 $as_echo_n "(cached) " >&6
7717 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7724 test -z "$as_dir" && as_dir
=.
7725 for ac_exec_ext
in '' $ac_executable_extensions; do
7726 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7727 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7735 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7739 DISTCC
=$ac_cv_path_DISTCC
7740 if test -n "$DISTCC"; then
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7742 $as_echo "$DISTCC" >&6; }
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7745 $as_echo "no" >&6; }
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7751 $as_echo "no" >&6; }
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7755 $as_echo_n "checking whether to enable ccache... " >&6; }
7756 # Check whether --enable-ccache was given.
7757 if test "${enable_ccache+set}" = set; then :
7758 enableval
=$enable_ccache; ccache
="$enableval"
7763 if test "$ccache" != "" -a "$ccache" != "no"; then
7764 # AC_CHECK_PROG will print out the result in this case
7765 # Extract the first word of "ccache", so it can be a program name with args.
7766 set dummy ccache
; ac_word
=$2
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7768 $as_echo_n "checking for $ac_word... " >&6; }
7769 if ${ac_cv_prog_CCACHE+:} false
; then :
7770 $as_echo_n "(cached) " >&6
7772 if test -n "$CCACHE"; then
7773 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7779 test -z "$as_dir" && as_dir
=.
7780 for ac_exec_ext
in '' $ac_executable_extensions; do
7781 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7782 ac_cv_prog_CCACHE
="ccache"
7783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7792 CCACHE
=$ac_cv_prog_CCACHE
7793 if test -n "$CCACHE"; then
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7795 $as_echo "$CCACHE" >&6; }
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7798 $as_echo "no" >&6; }
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7804 $as_echo "no" >&6; }
7807 #-----------------------------------------------------------------------------
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7809 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7811 # Check whether --with-kernel-gcc-version was given.
7812 if test "${with_kernel_gcc_version+set}" = set; then :
7813 withval
=$with_kernel_gcc_version; kernel_tool_version
="$withval"
7815 kernel_tool_version
=""
7818 if test "$kernel_tool_version" != "" ; then
7819 msg_result
=$kernel_tool_version
7821 msg_result
="default"
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
7824 $as_echo "$msg_result" >&6; }
7826 #-----------------------------------------------------------------------------
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7828 $as_echo_n "checking what optimization flags to use... " >&6; }
7830 # Check whether --with-optimization was given.
7831 if test "${with_optimization+set}" = set; then :
7832 withval
=$with_optimization; optimization
="$withval"
7834 optimization
="unknown"
7837 if test "$optimization" = "unknown"; then
7838 if test "$debug" != "none"; then
7844 aros_optimization_cflags
="$optimization"
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7846 $as_echo "$optimization" >&6; }
7848 paranoia_default
=yes
7849 #-----------------------------------------------------------------------------
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which paranoia flags to use" >&5
7851 $as_echo_n "checking which paranoia flags to use... " >&6; }
7853 # Check whether --with-paranoia was given.
7854 if test "${with_paranoia+set}" = set; then :
7855 withval
=$with_paranoia; paranoia_flags
="$withval"
7857 paranoia_flags
="$paranoia_default"
7860 if test "$paranoia_flags" = "no"; then
7864 if test "$paranoia_flags" = "yes"; then
7865 paranoia_flags
="-Wall -Werror"
7867 msg_result
="$paranoia_flags"
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
7870 $as_echo "$msg_result" >&6; }
7871 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should enable link time optimizations (LTO)" >&5
7874 $as_echo_n "checking if we should enable link time optimizations (LTO)... " >&6; }
7875 # Check whether --enable-lto was given.
7876 if test "${enable_lto+set}" = set; then :
7877 enableval
=$enable_lto; aros_config_lto
="$enableval"
7879 aros_config_lto
="yes"
7882 if test "$aros_config_lto" != "yes"; then
7883 aros_config_lto
="no"
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_config_lto" >&5
7886 $as_echo "$aros_config_lto" >&6; }
7888 #-----------------------------------------------------------------------------
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7890 $as_echo_n "checking what target variant to enable... " >&6; }
7891 # Check whether --enable-target_variant was given.
7892 if test "${enable_target_variant+set}" = set; then :
7893 enableval
=$enable_target_variant; target_variant
=$enableval
7898 if test "$target_variant" = ""; then
7899 aros_target_variant
=""
7900 aros_target_suffix
=""
7903 aros_target_variant
="$target_variant"
7904 aros_target_suffix
="-$target_variant"
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7907 $as_echo "$enableval" >&6; }
7909 #-----------------------------------------------------------------------------
7910 # Target-specific defaults. You can override then on a per-target basis.
7912 # Bootloader name. Currently used by PC target.
7913 target_bootloader
="none"
7916 #-----------------------------------------------------------------------------
7917 # Additional options for some specific targets
7919 case "$aros_target_variant" in
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7922 $as_echo_n "checking XCode path... " >&6; }
7924 # Check whether --with-xcode was given.
7925 if test "${with_xcode+set}" = set; then :
7926 withval
=$with_xcode; aros_xcode_path
="$withval"
7928 aros_xcode_path
="/Developer"
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7932 $as_echo "$aros_xcode_path" >&6; }
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7935 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7937 # Check whether --with-sdk-version was given.
7938 if test "${with_sdk_version+set}" = set; then :
7939 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7941 aros_sdk_version
="4.1"
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7945 $as_echo "$aros_sdk_version" >&6; }
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7951 $as_echo_n "checking Android SDK path... " >&6; }
7953 # Check whether --with-sdk was given.
7954 if test "${with_sdk+set}" = set; then :
7955 withval
=$with_sdk; aros_android_sdk
="$withval"
7957 aros_android_sdk
=$default_android_sdk
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7961 $as_echo "$aros_android_sdk" >&6; }
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7964 $as_echo_n "checking Android NDK path... " >&6; }
7966 # Check whether --with-ndk was given.
7967 if test "${with_ndk+set}" = set; then :
7968 withval
=$with_ndk; aros_android_ndk
="$withval"
7970 aros_android_ndk
="none"
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7974 $as_echo "$aros_android_ndk" >&6; }
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7977 $as_echo_n "checking what Android SDK version to use... " >&6; }
7979 # Check whether --with-sdk-version was given.
7980 if test "${with_sdk_version+set}" = set; then :
7981 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7983 aros_sdk_version
="12"
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7987 $as_echo "$aros_sdk_version" >&6; }
7989 aros_android_level
=android-
$aros_sdk_version
7990 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
7991 echo "Platform $aros_android_level is not installed in your SDK"
7992 echo "Use --with-sdk-version=<API level number> to select another platform version"
7993 echo "You can check what plaform versions are installed in your SDK"
7994 echo "by examining contents of $aros_android_sdk/platforms directory"
7995 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
7998 export PATH
="$aros_android_sdk/tools:$PATH"
7999 # Extract the first word of "$android_tool", so it can be a program name with args.
8000 set dummy
$android_tool; ac_word
=$2
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8002 $as_echo_n "checking for $ac_word... " >&6; }
8003 if ${ac_cv_path_android_tool+:} false
; then :
8004 $as_echo_n "(cached) " >&6
8006 case $android_tool in
8008 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
8011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8015 test -z "$as_dir" && as_dir
=.
8016 for ac_exec_ext
in '' $ac_executable_extensions; do
8017 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8018 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
8019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8029 android_tool
=$ac_cv_path_android_tool
8030 if test -n "$android_tool"; then
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
8032 $as_echo "$android_tool" >&6; }
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8035 $as_echo "no" >&6; }
8040 if test "$android_tool" = ""; then
8043 if test "$android_tool" = "no"; then
8046 if test "$req_avail" = "no"; then
8047 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
8050 if test "$aros_android_ndk" != "none"; then
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
8052 $as_echo_n "checking what Android NDK version to use... " >&6; }
8054 # Check whether --with-ndk-version was given.
8055 if test "${with_ndk_version+set}" = set; then :
8056 withval
=$with_ndk_version; aros_ndk_version
="$withval"
8058 aros_ndk_version
="9"
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
8062 $as_echo "$aros_ndk_version" >&6; }
8065 # Extract the first word of "ant", so it can be a program name with args.
8066 set dummy ant
; ac_word
=$2
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8068 $as_echo_n "checking for $ac_word... " >&6; }
8069 if ${ac_cv_path_ant+:} false
; then :
8070 $as_echo_n "(cached) " >&6
8074 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
8077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8081 test -z "$as_dir" && as_dir
=.
8082 for ac_exec_ext
in '' $ac_executable_extensions; do
8083 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8084 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
8085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8096 if test -n "$ant"; then
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
8098 $as_echo "$ant" >&6; }
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8101 $as_echo "no" >&6; }
8105 if test "$ant" = ""; then
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
8107 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Build debug or release apk" >&5
8111 $as_echo_n "checking Build debug or release apk... " >&6; }
8113 # Check whether --with-apk-version was given.
8114 if test "${with_apk_version+set}" = set; then :
8115 withval
=$with_apk_version; aros_android_antapk
=$withval
8117 aros_android_antapk
=release
8120 if test $aros_android_antapk != release
-a $aros_android_antapk != debug
; then
8121 as_fn_error $?
"apk-version has to be release or debug" "$LINENO" 5
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_antapk" >&5
8124 $as_echo "$aros_android_antapk" >&6; }
8126 if test "$host_os" = "mingw32"; then
8127 android_tool
="cmd //c $android_tool"
8135 #-----------------------------------------------------------------------------
8136 # External toolchains
8137 kernel_tool_prefix
="none"
8138 aros_tool_prefix
="none"
8139 elf_tool_prefix
="${target_cpu}-elf-"
8141 # This is the target configuration switch.
8142 case "$target_os" in
8144 aros_target_arch
="linux"
8145 aros_target_family
="unix"
8146 case "$target_cpu" in
8148 aros_target_cpu
="m68k"
8149 aros_object_format
="m68kelf"
8150 aros_flavour
="emulcompat"
8151 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8152 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8153 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8154 gcc_target_cpu
="mc68000"
8157 aros_target_cpu
="i386"
8158 aros_object_format
="elf_i386"
8159 aros_flavour
="emulation"
8160 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8161 aros_kernel_ldflags
="-Wl,-melf_i386"
8162 aros_nominal_depth
=8
8163 gcc_target_cpu
="i386"
8164 pci_hidd_target
="hidd-pci-linux"
8165 android_tool_dir_prefix
="x86"
8166 android_tool_prefix
="i686-android-linux"
8167 android_ndk_arch
="x86"
8170 aros_target_cpu
="x86_64"
8171 aros_object_format
="elf_x86_64"
8172 aros_flavour
="emulation"
8173 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8174 aros_config_cflags
="$aros_config_cflags -mcmodel=large -mno-red-zone -fno-omit-frame-pointer"
8175 aros_nominal_depth
=8
8176 pci_hidd_target
="hidd-pci-linux"
8179 aros_target_cpu
="ppc"
8180 aros_object_format
="elf32ppc"
8181 aros_flavour
="emulation"
8182 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8183 aros_nominal_depth
=8
8184 gcc_target_cpu
="ppc"
8187 # Same as powerpc, but I need this for the nightly build to work again.
8188 # Actually, the nightly should be made working with powerpc target.
8189 # That just was too much work for the moment, another week or two.
8191 aros_target_cpu
="ppc"
8192 aros_object_format
="elf32ppc"
8193 aros_flavour
="emulation"
8194 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8195 aros_nominal_depth
=8
8196 gcc_target_cpu
="ppc"
8199 aros_target_cpu
="aarch64"
8200 target_cpu
="aarch64"
8201 aros_object_format
="aarch64elf_aros"
8202 aros_flavour
="emulation"
8203 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8204 gcc_target_cpu
="aarch64"
8205 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
8206 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
8207 aros_arch_libs
="-laeabi"
8208 gcc_default_float_abi
="hard"
8209 kernel_tool_prefix
="aarch64-linux-gnueabihf-"
8212 aros_target_cpu
="arm"
8214 aros_object_format
="armelf_aros"
8215 aros_flavour
="emulation"
8216 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8217 gcc_target_cpu
="arm"
8218 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
8219 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
8220 aros_arch_libs
="-laeabi"
8221 gcc_default_float_abi
="hard"
8222 android_tool_dir_prefix
="arm-linux-androideabi"
8223 android_tool_prefix
="arm-linux-androideabi"
8224 android_ndk_arch
="arm"
8225 kernel_tool_prefix
="arm-linux-gnueabihf-"
8228 aros_target_cpu
="arm"
8229 aros_object_format
="armelf_aros"
8230 aros_flavour
="emulation"
8231 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8232 gcc_target_cpu
="arm"
8233 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
8234 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
8235 aros_arch_libs
="-laeabi"
8236 android_tool_dir_prefix
="arm-linux-androideabi"
8237 android_tool_prefix
="arm-linux-androideabi"
8238 android_ndk_arch
="arm"
8239 kernel_tool_prefix
="arm-linux-gnueabi-"
8242 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
8245 case "$aros_target_variant" in
8248 if test "$android_ndk_arch" = ""; then
8249 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
8252 aros_nominal_width
=320
8253 aros_nominal_height
=480
8254 if test "$aros_android_ndk" = "none"; then
8255 aros_kernel_cflags
="-mandroid"
8256 aros_kernel_ldflags
="-mandroid"
8259 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$kernel_tool_version/prebuilt/$android_build_os/bin:$PATH"
8260 kernel_tool_version
=""
8261 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
8262 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
8263 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
8264 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
8265 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
8268 host_android_gfx
=yes
8269 # Disable implicit PIC mode
8270 aros_target_cflags
="$aros_target_cflags -fno-pic"
8271 kernel_tool_prefix
="$android_tool_prefix-"
8277 aros_target_arch
="pc"
8278 aros_shared_default
="no"
8279 target_bootloader
="grub2"
8280 case "$target_cpu" in
8282 aros_target_cpu
="i386"
8285 if test "$aros_object_format" = "" ; then
8286 aros_object_format
="elf_i386"
8288 aros_flavour
="standalone"
8289 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8290 aros_kernel_ldflags
="-Wl,-melf_i386"
8291 aros_nominal_width
=640
8292 aros_nominal_height
=480
8293 gcc_target_cpu
="i386"
8296 aros_target_cpu
="x86_64"
8298 if test "$aros_object_format" = "" ; then
8299 aros_object_format
="elf_x86_64"
8301 aros_flavour
="standalone"
8302 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8303 aros_config_cflags
="$aros_config_cflags -mcmodel=large -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
8304 aros_kernel_ldflags
=""
8305 aros_nominal_width
=640
8306 aros_nominal_height
=480
8307 case "$aros_target_variant" in
8309 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8314 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
8320 aros_target_arch
="prep"
8321 aros_shared_default
="no"
8322 aros_target_cpu
="ppc"
8323 aros_object_format
="elf32ppc"
8324 aros_flavour
="ppcnative"
8325 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8326 aros_kernel_ldflags
=""
8327 aros_nominal_width
=640
8328 aros_nominal_height
=480
8329 gcc_target_cpu
="ppc"
8333 aros_target_arch
="freebsd"
8334 aros_target_family
="unix"
8335 aros_target_cpu
="i386"
8336 aros_flavour
="emulation"
8337 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8338 gcc_target_cpu
="i386"
8340 aros_target_strip_flags
="-x"
8344 aros_target_arch
="darwin"
8345 aros_target_family
="unix"
8346 aros_flavour
="emulation"
8347 case "$target_cpu" in
8349 aros_ios_platform
="iPhoneSimulator"
8350 aros_target_cpu
="i386"
8351 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8352 aros_kernel_ldflags
=""
8353 aros_macosx_version
="10.4"
8354 aros_nominal_depth
=8
8355 gcc_target_cpu
="i386"
8356 aros_object_format
="elf_i386"
8357 aros_kernel_ar_flags
="-cr"
8358 aros_target_strip_flags
="-x"
8359 kernel_tool_flags
="-m32"
8362 aros_target_cpu
="x86_64"
8363 aros_object_format
="elf_x86_64"
8364 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8365 aros_macosx_version
="10.6"
8366 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8367 aros_kernel_cflags
="-m64"
8368 aros_kernel_ldflags
="-m64"
8369 aros_target_cflags
="-mcmodel=large"
8370 aros_nominal_depth
=8
8372 aros_kernel_ar_flags
="-cr"
8375 aros_kernel_ranlib
="ranlib"
8377 aros_kernel_strip
="strip"
8378 kernel_tool_prefix
="i686-apple-darwin10-"
8381 aros_target_cpu
="ppc"
8382 aros_object_format
="elf32ppc"
8383 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8384 aros_kernel_ldflags
=""
8385 aros_macosx_version
="10.0"
8386 aros_nominal_depth
=8
8387 gcc_target_cpu
="ppc"
8389 aros_kernel_ar_flags
="-cr"
8390 aros_kernel_ld
="ld -arch ppc"
8391 aros_kernel_as
="as -arch ppc"
8392 aros_kernel_ranlib
="ranlib -arch ppc"
8393 aros_kernel_nm
="nm -arch ppc"
8394 aros_kernel_strip
="strip -arch ppc"
8395 kernel_tool_prefix
="powerpc-apple-darwin10-"
8398 aros_ios_platform
="iPhoneOS"
8399 aros_target_cpu
="arm"
8400 aros_object_format
="armelf_aros"
8401 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8402 aros_arch_libs
="-laeabi"
8403 aros_nominal_depth
=8
8404 gcc_target_cpu
="arm"
8406 aros_kernel_ar_flags
="-cr"
8407 aros_kernel_ld
="ld -arch arm"
8408 aros_kernel_ranlib
="ranlib -arch arm"
8409 kernel_tool_prefix
="arm-apple-darwin10-"
8410 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8413 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8416 case "$aros_target_variant" in
8418 aros_ios_version
="3.0"
8419 aros_nominal_width
=320
8420 aros_nominal_height
=480
8421 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8422 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8423 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8425 # This is here because it may depend on iOS or SDK version
8426 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8427 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8428 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8431 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8432 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8438 aros_target_arch
="dragonfly"
8439 aros_target_family
="unix"
8440 aros_flavour
="emulation"
8441 case "$target_cpu" in
8443 aros_target_cpu
="i386"
8444 aros_object_format
="elf_i386"
8445 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8448 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8449 aros_target_cpu
="x86_64"
8450 aros_object_format
="elf_x86_64"
8451 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8454 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8460 aros_target_arch
="netbsd"
8461 aros_target_family
="unix"
8462 case "$target_cpu" in
8464 aros_target_cpu
="m68k"
8465 aros_object_format
="m68kelf"
8466 aros_flavour
="emulcompat"
8467 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8468 gcc_target_cpu
="mc68000"
8471 aros_target_cpu
="i386"
8472 aros_object_format
="elf_i386"
8473 aros_flavour
="emulation"
8474 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8475 aros_nominal_depth
=8
8476 gcc_target_cpu
="i386"
8479 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8482 aros_target_genmap
="-Wl,-M -Xlinker >"
8483 aros_flavour
="emulation"
8484 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8488 aros_target_arch
="openbsd"
8489 aros_target_family
="unix"
8490 case "$target_cpu" in
8492 aros_target_cpu
="i386"
8493 aros_object_format
="elf_i386"
8494 aros_flavour
="emulation"
8495 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8496 gcc_target_cpu
="i386"
8499 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8502 aros_target_genmap
="-Wl,-M -Xlinker >"
8503 aros_target_nm_flags
="-u"
8504 aros_flavour
="emulation"
8508 aros_target_arch
="solaris"
8509 aros_target_family
="unix"
8510 case "$target_cpu" in
8512 aros_target_cpu
="i386"
8513 aros_object_format
="elf_i386"
8514 aros_flavour
="emulation"
8515 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8516 aros_nominal_depth
=8
8517 gcc_target_cpu
="i386"
8520 aros_target_cpu
="sparc"
8521 aros_object_format
="elf_sparc"
8522 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8523 gcc_target_cpu
="sparc"
8526 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8529 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8530 aros_flavour
="emulation"
8534 aros_target_arch
="morphos"
8535 aros_shared_default
="no"
8536 aros_target_cpu
="ppc"
8537 aros_object_format
="elf_ppc"
8538 aros_flavour
="nativecompat"
8539 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8540 gcc_target_cpu
="ppc"
8544 aros_target_arch
="sam440"
8545 aros_shared_default
="no"
8546 aros_target_cpu
="ppc"
8547 aros_object_format
="elf32ppc"
8548 aros_flavour
="ppcnative"
8549 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8550 aros_kernel_ldflags
=""
8551 aros_nominal_width
=1024
8552 aros_nominal_height
=768
8553 aros_nominal_depth
=24
8554 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8555 gcc_target_cpu
="powerpc"
8559 aros_target_arch
="efika"
8560 aros_shared_default
="no"
8561 aros_target_cpu
="arm"
8562 aros_object_format
="armelf_aros"
8563 aros_flavour
="standalone"
8564 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8565 aros_kernel_ldflags
=""
8566 aros_nominal_width
=1024
8567 aros_nominal_height
=600
8568 aros_arch_libs
="-laeabi"
8569 gcc_default_cpu
="armv7-a"
8570 gcc_default_fpu
="vfpv3"
8571 aros_config_cflags
="$aros_config_cflags -mtune=cortex-a8 -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8572 aros_config_aflags
="$aros_config_aflags -mtune=cortex-a8 -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8573 aros_optimization_cflags
="$aros_optimization_cflags -Os"
8574 case "$target_cpu" in
8576 gcc_default_float_abi
="hard"
8581 gcc_default_float_abi
="softfp"
8584 as_fn_error $?
"\"Unknown CPU for EfikaMX $target_cpu\"" "$LINENO" 5
8590 aros_target_arch
="chrp"
8591 aros_shared_default
="no"
8592 aros_target_cpu
="ppc"
8593 aros_object_format
="elf32ppc"
8594 aros_flavour
="ppcnative"
8595 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8596 aros_kernel_ldflags
=""
8597 aros_nominal_width
=640
8598 aros_nominal_height
=480
8599 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8600 gcc_target_cpu
="powerpc"
8601 case "$aros_target_variant" in
8603 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8609 aros_flavour
="standalone"
8610 aros_target_arch
="raspi"
8612 aros_shared_default
="no"
8614 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__"
8616 case "$target_cpu" in
8618 aros_target_cpu
="aarch64"
8619 gcc_default_cpu
="aarch64"
8620 aros_object_format
="aarch64elf_aros"
8623 aros_target_cpu
="arm"
8624 gcc_default_cpu
="armv6zk"
8625 gcc_default_cpu_tune
="arm1176jzf-s"
8626 aros_object_format
="armelf_aros"
8627 aros_config_cflags
="$aros_config_cflags -marm"
8628 aros_config_aflags
="$aros_config_aflags -marm"
8629 aros_kernel_cflags
="$aros_kernel_cflags -marm"
8630 aros_target_cflags
="$aros_kernel_cflags -marm"
8631 aros_target_mkdep
="$aros_target_mkdep -Darm"
8632 aros_arch_libs
="-laeabi"
8635 aros_target_cpu
="arm"
8636 gcc_default_cpu
="armv6zk"
8637 gcc_default_cpu_tune
="arm1176jzf-s"
8638 aros_object_format
="armelf_aros"
8639 aros_config_cflags
="$aros_config_cflags -marm"
8640 aros_config_aflags
="$aros_config_aflags -marm"
8641 aros_kernel_cflags
="$aros_kernel_cflags -marm"
8642 aros_target_cflags
="$aros_kernel_cflags -marm"
8643 aros_target_mkdep
="$aros_target_mkdep -Darm"
8644 aros_arch_libs
="-laeabi"
8647 as_fn_error $?
"\"Unknown CPU for RasPi $target_cpu\"" "$LINENO" 5
8651 aros_config_cflags
="$aros_config_cflags -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8652 aros_config_aflags
="$aros_config_aflags -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8653 aros_kernel_cflags
="$aros_kernel_cflags -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8654 aros_target_cflags
="$aros_kernel_cflags -Wno-error -fno-asynchronous-unwind-tables -fno-exceptions"
8656 case "$aros_target_variant" in
8658 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8664 aros_flavour
="standalone"
8665 aros_target_arch
="stm32f7_discovery"
8666 aros_target_cpu
="arm"
8667 aros_target_cpu_mode
="thumb2"
8668 aros_object_format
="armelf_aros"
8669 aros_shared_default
="no"
8671 # stm32f7 has DSP opcode support
8672 gcc_default_cpu
="armv7e-m"
8673 # gcc_default_cpu="armv7-m"
8674 gcc_default_cpu_tune
="cortex-m7"
8675 gcc_default_fpu
="fpv4-sp-d16"
8676 # GCC does not recognize fpv5-sp-d16 which should be the correct one to use, or not...
8677 # gcc_default_fpu="fpv5-sp-d16"
8678 gcc_default_float_abi
="hard"
8680 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dthumb"
8684 aros_target_arch
="amiga"
8685 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8686 aros_shared_default
="no"
8688 case "$target_cpu" in
8690 # Check whether --enable-amigaos_compliance was given.
8691 if test "${enable_amigaos_compliance+set}" = set; then :
8692 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8696 aros_target_cpu
="m68k"
8697 aros_object_format
="m68kelf"
8698 aros_flavour
="standcompat"
8699 gcc_target_cpu
="m68000"
8700 aros_nowarn_flags
="$aros_nowarn_flags NOWARN_VOLATILE_REGISTER_VAR"
8701 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -DNOLIBINLINE"
8702 aros_optimization_cflags
="$aros_optimization_cflags -Os"
8703 aros_config_aflags
="$aros_config_aflags"
8704 aros_target_strip_flags
="-R.comment --strip-debug"
8705 aros_nominal_width
=640
8706 aros_nominal_height
=256
8707 aros_nominal_depth
=2
8711 aros_flavour
="native"
8712 gcc_target_cpu
="ppc"
8715 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8721 aros_target_arch
="mingw32"
8722 aros_shared_default
="no"
8723 aros_flavour
="emulation"
8724 aros_shared_cflags
=""
8725 need_crosstools
="yes"
8728 case "$target_cpu" in
8730 aros_target_cpu
="i386"
8731 aros_object_format
="elf_i386"
8732 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8733 aros_nominal_depth
=8
8734 gcc_target_cpu
="i386"
8736 kernel_tool_prefix
="i386-mingw32-"
8739 aros_target_cpu
="x86_64"
8740 aros_object_format
="elf_x86_64"
8741 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8742 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8743 aros_nominal_depth
=8
8744 kernel_tool_prefix
="x86_64-w64-mingw32-"
8747 aros_target_cpu
="arm"
8748 aros_object_format
="armelf_aros"
8749 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8750 aros_arch_libs
="-laeabi"
8751 aros_nominal_depth
=8
8752 gcc_target_cpu
="arm"
8753 gcc_default_float_abi
="soft"
8754 kernel_tool_prefix
="arm-mingw32ce-"
8755 aros_nominal_width
=160
8756 aros_nominal_height
=160
8759 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8762 if test $host_os = "cygwin"; then
8763 aros_kernel_cflags
="-mno-cygwin"
8767 aros_target_arch
="pp"
8768 aros_shared_default
="no"
8769 case "$target_cpu" in
8771 aros_target_cpu
="m68k"
8772 aros_object_format
="m68kelf"
8773 aros_flavour
="palmnative"
8774 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8775 aros_nominal_width
=160
8776 aros_nominal_height
=160
8777 aros_nominal_depth
=1
8778 aros_target_ar_flags
="cru"
8779 aros_compiler_libs
="-lgcc1"
8780 aros_shared_default
=no
8781 aros_shared_cflags
="-fpic"
8782 aros_shared_aflags
=""
8783 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8784 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8785 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8786 aros_debug_aflags
=""
8787 aros_debug_ldflags
="$aros_symbols_debug"
8788 aros_mungwall_debug
="0"
8789 aros_modules_debug
="0"
8790 gcc_target_cpu
="mc68000"
8791 ignore_undefined_symbols
="-ius"
8794 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8800 aros_target_arch
="mac"
8801 aros_shared_default
="no"
8802 case "$target_cpu" in
8804 aros_target_cpu
="m68k"
8805 aros_object_format
="m68kelf"
8806 aros_flavour
="mac68knative"
8807 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8808 aros_nominal_width
=512
8809 aros_nominal_height
=384
8810 aros_nominal_depth
=8
8811 aros_target_ar_flags
="cru"
8812 aros_compiler_libs
="-lgcc1"
8813 aros_shared_default
=no
8814 aros_shared_cflags
="-fpic"
8815 aros_shared_aflags
=""
8816 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8817 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8818 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8819 aros_debug_aflags
=""
8820 aros_debug_ldflags
="$aros_symbols_debug"
8821 aros_mungwall_debug
="0"
8822 aros_modules_debug
="0"
8823 gcc_target_cpu
="mc68000"
8824 ignore_undefined_symbols
="-ius"
8827 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8833 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8837 #-----------------------------------------------------------------------------
8838 crosstools_guess
="yes"
8839 aros_target_toolchain
="no"
8840 aros_config_sysroot
=""
8841 aros_kernel_sysroot
=""
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8844 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8846 # Check whether --with-kernel-toolchain-prefix was given.
8847 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8848 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8852 $as_echo "$kernel_tool_prefix" >&6; }
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8855 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8857 # Check whether --with-elf-toolchain-prefix was given.
8858 if test "${with_elf_toolchain_prefix+set}" = set; then :
8859 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8860 crosstools_guess
="no"
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8864 $as_echo "$elf_tool_prefix" >&6; }
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8867 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8869 # Check whether --with-aros-toolchain was given.
8870 if test "${with_aros_toolchain+set}" = set; then :
8871 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8872 crosstools_guess
="no"
8875 if test "$aros_tool_prefix" = "yes" ; then
8876 aros_tool_prefix
=$aros_target_cpu-aros-
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8879 $as_echo "$aros_tool_prefix" >&6; }
8881 #-----------------------------------------------------------------------------
8882 # Checking if we should build crosstools..
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8884 $as_echo_n "checking whether to build crosstools... " >&6; }
8885 # Check whether --enable-crosstools was given.
8886 if test "${enable_crosstools+set}" = set; then :
8887 enableval
=$enable_crosstools; crosstools
="$enableval"
8889 crosstools
="$crosstools_guess"
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8893 $as_echo "$crosstools" >&6; }
8895 if test "${crosstools}" = "yes"; then
8896 if test "${crosstools_guess}" = "no"; then
8897 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8901 if test "${crosstools}" = "yes" ||
test "${crosstools_guess}" = "no"; then
8902 aros_target_toolchain
="yes"
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8906 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8908 # Check whether --with-aros-toolchain-install was given.
8909 if test "${with_aros_toolchain_install+set}" = set; then :
8910 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8913 if test "x$aros_toolchain_install" = "x"; then
8914 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8916 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8917 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8918 if test "$crosstools_guess" = "no" ; then
8919 toolchain_needs_sysroot
=yes
8921 if test "x-$aros_flavour" != "x-emulation" -a "x-$aros_flavour" != "x-emulcompat" ; then
8922 aros_kernel_sysroot
= $aros_config_sysroot
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
8927 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking If we need to use --sysroot" >&5
8930 $as_echo_n "checking If we need to use --sysroot... " >&6; }
8931 if test "$toolchain_needs_sysroot" = "yes" ; then
8932 aros_config_sysroot
="--sysroot $AROS_BUILDDIR_UNIX/bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development"
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolchain_needs_sysroot" >&5
8935 $as_echo "$toolchain_needs_sysroot" >&6; }
8937 #-----------------------------------------------------------------------------
8938 if test "$aros_toolchain" = "gnu" ; then
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target binutils version to use" >&5
8940 $as_echo_n "checking what specific target binutils version to use... " >&6; }
8943 # Check whether --with-binutils-version was given.
8944 if test "${with_binutils_version+set}" = set; then :
8945 withval
=$with_binutils_version; use_binutils_version
="$withval"
8947 use_binutils_version
=""
8950 if test "$use_binutils_version" = ""; then
8951 target_binutils_version
="$default_binutils_version"
8953 target_binutils_version
="$use_binutils_version"
8955 if test "$aros_toolchain" = "gnu" ; then
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_binutils_version" >&5
8957 $as_echo "$target_binutils_version" >&6; }
8961 # Helper to identify gcc version
8964 #-----------------------------------------------------------------------------
8965 if test "$aros_toolchain" = "gnu" ; then
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
8967 $as_echo_n "checking what specific target gcc version to use... " >&6; }
8970 # Check whether --with-gcc-version was given.
8971 if test "${with_gcc_version+set}" = set; then :
8972 withval
=$with_gcc_version; use_gcc_version
="$withval"
8977 if test "$use_gcc_version" = ""; then
8978 if test "${crosstools}" = "no"; then
8979 if test "x$aros_toolchain_install" != "x"; then
8981 target_gcc_version
=""
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
8983 $as_echo_n "checking gcc version... " >&6; }
8984 if ${ax_cv_gcc_version+:} false
; then :
8985 $as_echo_n "(cached) " >&6
8988 ax_cv_gcc_version
="`$AROS_CROSSTOOLSDIR/${aros_tool_prefix}${toolchain_cpp_preprocessor} -dumpversion`"
8989 if test "x$ax_cv_gcc_version" = "x"; then :
8991 ax_cv_gcc_version
=""
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_version" >&5
8997 $as_echo "$ax_cv_gcc_version" >&6; }
8998 target_gcc_version
=$ax_cv_gcc_version
9003 if test "$use_gcc_version" = ""; then
9004 target_gcc_version
="$default_gcc_version"
9007 target_gcc_version
="$use_gcc_version"
9009 if test "$aros_toolchain" = "gnu" ; then
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_gcc_version" >&5
9011 $as_echo "$target_gcc_version" >&6; }
9013 GCC_VERSION_MAJOR
=$
(echo $target_gcc_version | cut
-d'.' -f1)
9014 GCC_VERSION_MINOR
=$
(echo $target_gcc_version | cut
-d'.' -f2)
9015 GCC_VERSION_PATCH
=$
(echo $target_gcc_version | cut
-d'.' -f3)
9017 gcc_fix_bitfields
="false"
9018 if test "$GCC_VERSION_MAJOR" -gt "4" ; then
9019 gcc_fix_bitfields
="true"
9021 if test "$GCC_VERSION_MAJOR" -gt "3" ; then
9022 if test "$GCC_VERSION_MINOR" -gt "6" ; then
9023 gcc_fix_bitfields
="true"
9028 if test "$gcc_fix_bitfields" = "true" ; then
9029 case "$aros_target_cpu" in
9031 aros_kernel_cflags
="$aros_kernel_cflags -mno-ms-bitfields"
9032 aros_target_cflags
="$aros_target_cflags -mno-ms-bitfields"
9035 aros_kernel_cflags
="$aros_kernel_cflags -mno-ms-bitfields"
9036 aros_target_cflags
="$aros_target_cflags -mno-ms-bitfields"
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Objective-C suppport" >&5
9043 $as_echo_n "checking whether to enable Objective-C suppport... " >&6; }
9044 # Check whether --enable-objc was given.
9045 if test "${enable_objc+set}" = set; then :
9046 enableval
=$enable_objc; objc
="$enableval"
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objc" >&5
9052 $as_echo "$objc" >&6; }
9053 if test "x$objc" = "xyes"; then
9056 objc_target
="no-objc"
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Java suppport" >&5
9060 $as_echo_n "checking whether to enable Java suppport... " >&6; }
9061 # Check whether --enable-java was given.
9062 if test "${enable_java+set}" = set; then :
9063 enableval
=$enable_java; java
="$enableval"
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $java" >&5
9069 $as_echo "$java" >&6; }
9070 if test "x$java" != "xno"; then
9073 java_target
="no-java"
9076 spec_obj_format
="-m $aros_object_format"
9077 # Now process extra architecture-specific options.
9078 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
9079 # as well as floating-point ABI.
9080 case "$aros_target_cpu" in
9082 spec_obj_format
="%{!m32:-m elf_x86_64} %{m32:-m elf_i386}"
9085 if test "$gcc_default_cpu" = ""; then
9086 gcc_default_cpu
="armv6"
9088 if test "$gcc_default_fpu" = ""; then
9089 gcc_default_fpu
="vfp"
9091 if test "$gcc_default_float_abi" = ""; then
9092 if test "$target_cpu" = "armhf"; then
9093 gcc_default_float_abi
="hard"
9095 gcc_default_float_abi
="softfp"
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
9100 $as_echo_n "checking Which minimum CPU to use... " >&6; }
9102 # Check whether --with-cpu was given.
9103 if test "${with_cpu+set}" = set; then :
9104 withval
=$with_cpu; aros_gcc_cpu
="$withval"
9106 aros_gcc_cpu
=$gcc_default_cpu
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
9110 $as_echo "$aros_gcc_cpu" >&6; }
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
9113 $as_echo_n "checking Which minimum FPU to use... " >&6; }
9115 # Check whether --with-fpu was given.
9116 if test "${with_fpu+set}" = set; then :
9117 withval
=$with_fpu; aros_gcc_fpu
="$withval"
9119 aros_gcc_fpu
=$gcc_default_fpu
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
9123 $as_echo "$aros_gcc_fpu" >&6; }
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
9126 $as_echo_n "checking Which floating point ABI to use... " >&6; }
9128 # Check whether --with-float was given.
9129 if test "${with_float+set}" = set; then :
9130 withval
=$with_float; aros_gcc_float_abi
="$withval"
9132 aros_gcc_float_abi
=$gcc_default_float_abi
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
9136 $as_echo "$aros_gcc_float_abi" >&6; }
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which ARM mode to use" >&5
9139 $as_echo_n "checking Which ARM mode to use... " >&6; }
9140 if test "$aros_target_cpu_mode" = ""; then
9141 aros_target_cpu_mode
="arm32"
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Defaulting to $aros_target_cpu_mode" >&5
9143 $as_echo "Defaulting to $aros_target_cpu_mode" >&6; }
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cpu_mode" >&5
9146 $as_echo "$aros_target_cpu_mode" >&6; }
9149 case "$aros_target_cpu_mode" in
9151 gcc_default_mode
="arm"
9152 aros_isa_flags
="-m$gcc_default_mode -mthumb-interwork -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi"
9155 as_fn_error $?
"ARM 64-bit mode is unsupported" "$LINENO" 5
9158 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9161 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9164 gcc_default_mode
="thumb"
9165 # Do not specify -mthumb-interwork as it may add extra code to support arm/thumb interwork
9166 aros_isa_flags
="-m$gcc_default_mode -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi"
9169 as_fn_error $?
"Unsupported ARM mode specified $aros_target_cpu_mode" "$LINENO" 5
9173 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -fno-exceptions"
9174 aros_config_aflags
="$aros_config_aflags -fno-asynchronous-unwind-tables -fno-exceptions"
9177 aros_isa_flags
="-m32 -march=i486"
9178 aros_kernel_cflags
="$aros_kernel_cflags $aros_isa_flags"
9179 aros_kernel_ldflags
="$aros_kernel_ldflags -m32"
9183 # Some architectures may need custom ELF specs.
9184 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
9185 elf_specs_in
=config
/${aros_object_format}-specs.
in
9187 elf_specs_in
=config
/elf-specs.
in
9190 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
9191 # Since we override specs, we may need to put these defines there
9192 if test "$gcc_target_cpu" != ""; then
9193 gcc_target_cpu
="-D__${gcc_target_cpu}__"
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
9197 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
9199 # Check whether --with-portssources was given.
9200 if test "${with_portssources+set}" = set; then :
9201 withval
=$with_portssources; with_portssrcdir
=$withval
9203 with_portssrcdir
="default"
9206 if test "$with_portssrcdir" = "default"; then
9207 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
9209 AROS_PORTSSRCDIR
="$with_portssrcdir"
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
9212 $as_echo "$AROS_PORTSSRCDIR" >&6; }
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
9215 $as_echo_n "checking which bootloader to use... " >&6; }
9217 # Check whether --with-bootloader was given.
9218 if test "${with_bootloader+set}" = set; then :
9219 withval
=$with_bootloader; target_bootloader
=$withval
9221 target_bootloader
=$target_bootloader
9224 if test "$target_bootloader" = "none"; then
9225 aros_target_bootloader
=""
9227 aros_target_bootloader
="$target_bootloader"
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
9230 $as_echo "$target_bootloader" >&6; }
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
9233 $as_echo_n "checking which icon-set to use... " >&6; }
9235 # Check whether --with-iconset was given.
9236 if test "${with_iconset+set}" = set; then :
9237 withval
=$with_iconset; target_iconset
=$withval
9239 target_iconset
="default"
9242 if test "$target_iconset" = "default"; then
9243 aros_target_iconset
="Gorilla"
9244 target_iconset
="default (Gorilla)"
9246 aros_target_iconset
="$target_iconset"
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
9249 $as_echo "$target_iconset" >&6; }
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
9252 $as_echo_n "checking which GUI Theme to use... " >&6; }
9254 # Check whether --with-theme was given.
9255 if test "${with_theme+set}" = set; then :
9256 withval
=$with_theme; target_guitheme
=$withval
9258 target_guitheme
="default"
9261 if test "$target_guitheme" = "default"; then
9262 aros_target_guitheme
="Ice"
9264 aros_target_guitheme
="$target_guitheme"
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
9267 $as_echo "$aros_target_guitheme" >&6; }
9269 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
9273 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9277 if test "$aros_host_cpu" == "x86_64" ; then
9278 if test "$aros_target_cpu" == "i386" ; then
9283 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9284 if test "$aros_host_arch" != "$aros_target_arch" ; then
9288 if test "$host_cc_elf" = "no" ; then
9293 if test "$cross_compiling" = "no" ; then
9294 kernel_tool_prefix
=""
9295 if test "$host_cc_elf" = "yes" ; then
9300 if test "$kernel_tool_version" != ""; then
9301 kernel_tool_version
="-$kernel_tool_version"
9304 #######################################################################
9305 ## Compute what toolchains to use, and their paths ##
9306 #######################################################################
9308 # This takes, as input:
9309 # crosstools {yes,no}
9310 # kernel_tool_version {"",[version]}
9311 # target_tool_version {"",[version]}
9312 # kernel_tool_prefix {none,[some-arch-os-]}
9314 # target_tool_prefix ${aros_target_cpu}-aros-
9315 # aros_tool_prefix ${aros_target_cpu}-aros-
9318 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9319 # Where the 'kernel' binaries are located
9320 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9321 # Where the 'target' binaries are located
9322 # (not the symlink farm - that is aros_target_*!)
9325 # if crosstools then
9326 # if kernel_tools_prefix = "no-kernel-prefix-"
9327 # aros_kernel_* = crosstools cc paths
9328 # aros_kernel_cc = elf cc wrapper around crosstools cc
9330 # VALIDATE(${kernel_tools_prefix}*)
9331 # aros_kernel_* = ${kernel_tools_prefix}*
9332 # if ${kernel_tools_prefix}cc is an AROS gcc
9333 # aros_kernel_cc = ${kernel_tools_prefix}cc
9335 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
9339 # orig_target_* = aros built crosstools
9340 # orig_target_cc = elf cc wrapper around crosstools cc
9342 # VALIDATE(${kernel_tools_prefix}*)
9344 # orig_target_* = aros_kernel_*
9345 # if aros_kernel_cc is an AROS gcc
9346 # orig_target_cc = aros_kernel_cc
9348 # orig_target_cc = aros cc wrapper around aros_kernel_cc
9352 if test "$aros_toolchain" = "gnu" ; then
9353 target_tool_prefix
="${aros_target_cpu}-aros-"
9354 elif test "$aros_toolchain" = "llvm" ; then
9355 target_tool_prefix
="bin/"
9358 if test "$kernel_tool_prefix" != "" ; then
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
9360 $as_echo_n "checking which kernel tools... " >&6; }
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
9362 $as_echo "$kernel_tool_prefix" >&6; };
9365 if test "$kernel_tool_prefix" = "none" ; then
9366 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9367 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
9370 # Kernel tools required - find them
9371 # Note that 'normally', aros_kernel_* overrides will be
9372 # empty, unless specified in the per-arch sections above.
9373 if test "x$aros_kernel_cpp" = "x"; then
9374 aros_kernel_cpp
=${kernel_tool_prefix}${CPP}
9376 if test "${kernel_tool_version}" != ""; then
9377 if test "$aros_kernel_cpp" != ""; then
9378 ac_prog_args
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9379 ac_prog_cmd
=`expr "X$aros_kernel_cpp" : '^\S*'`
9380 aros_kernel_cpp
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9384 if test "$aros_kernel_cpp" = ""; then
9385 if test "$cross_compiling" = "yes" ; then
9386 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
9387 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9389 $as_echo_n "checking for $ac_word... " >&6; }
9390 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9391 $as_echo_n "(cached) " >&6
9393 case $aros_kernel_cpp in
9395 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9402 test -z "$as_dir" && as_dir
=.
9403 for ac_exec_ext
in '' $ac_executable_extensions; do
9404 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9405 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9416 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9417 if test -n "$aros_kernel_cpp"; then
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9419 $as_echo "$aros_kernel_cpp" >&6; }
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9422 $as_echo "no" >&6; }
9427 if test "$GCC" = "yes"; then
9428 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
9429 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
9430 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9432 $as_echo_n "checking for $ac_word... " >&6; }
9433 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9434 $as_echo_n "(cached) " >&6
9436 case $aros_kernel_cpp in
9438 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9442 for as_dir
in `dirname $aros_gcc_cpp`
9445 test -z "$as_dir" && as_dir
=.
9446 for ac_exec_ext
in '' $ac_executable_extensions; do
9447 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9448 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9459 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9460 if test -n "$aros_kernel_cpp"; then
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9462 $as_echo "$aros_kernel_cpp" >&6; }
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9465 $as_echo "no" >&6; }
9470 if test "$aros_kernel_cpp" = ""; then
9471 # Extract the first word of "cpp", so it can be a program name with args.
9472 set dummy cpp
; ac_word
=$2
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9474 $as_echo_n "checking for $ac_word... " >&6; }
9475 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9476 $as_echo_n "(cached) " >&6
9478 case $aros_kernel_cpp in
9480 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9487 test -z "$as_dir" && as_dir
=.
9488 for ac_exec_ext
in '' $ac_executable_extensions; do
9489 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9490 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9501 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9502 if test -n "$aros_kernel_cpp"; then
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9504 $as_echo "$aros_kernel_cpp" >&6; }
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9507 $as_echo "no" >&6; }
9514 ac_tool_optarg
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9515 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
9516 set dummy
$aros_kernel_cpp; ac_word
=$2
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9518 $as_echo_n "checking for $ac_word... " >&6; }
9519 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9520 $as_echo_n "(cached) " >&6
9522 case $aros_kernel_cpp in
9524 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9531 test -z "$as_dir" && as_dir
=.
9532 for ac_exec_ext
in '' $ac_executable_extensions; do
9533 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9534 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9545 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9546 if test -n "$aros_kernel_cpp"; then
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9548 $as_echo "$aros_kernel_cpp" >&6; }
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9551 $as_echo "no" >&6; }
9555 aros_kernel_cpp
="$aros_kernel_cpp $ac_tool_optarg"
9559 if test "$aros_kernel_cpp" = ""; then
9562 if test "$aros_kernel_cpp" = "no"; then
9565 if test "$req_avail" = "no"; then
9566 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
9569 if test "x$aros_kernel_cc" = "x"; then
9570 aros_kernel_cc
=${kernel_tool_prefix}${CC}
9572 if test "${kernel_tool_version}" != ""; then
9573 if test "$aros_kernel_cc" != ""; then
9574 ac_prog_args
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
9575 ac_prog_cmd
=`expr "X$aros_kernel_cc" : '^\S*'`
9576 aros_kernel_cc
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9580 if test "$aros_kernel_cc" = ""; then
9581 if test "$cross_compiling" = "yes" ; then
9582 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
9583 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9585 $as_echo_n "checking for $ac_word... " >&6; }
9586 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9587 $as_echo_n "(cached) " >&6
9589 case $aros_kernel_cc in
9591 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9598 test -z "$as_dir" && as_dir
=.
9599 for ac_exec_ext
in '' $ac_executable_extensions; do
9600 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9601 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9612 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9613 if test -n "$aros_kernel_cc"; then
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9615 $as_echo "$aros_kernel_cc" >&6; }
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9618 $as_echo "no" >&6; }
9623 if test "$GCC" = "yes"; then
9624 aros_gcc_cc
=`$CC -print-prog-name=cc`
9625 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
9626 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9628 $as_echo_n "checking for $ac_word... " >&6; }
9629 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9630 $as_echo_n "(cached) " >&6
9632 case $aros_kernel_cc in
9634 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9638 for as_dir
in `dirname $aros_gcc_cc`
9641 test -z "$as_dir" && as_dir
=.
9642 for ac_exec_ext
in '' $ac_executable_extensions; do
9643 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9644 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9655 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9656 if test -n "$aros_kernel_cc"; then
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9658 $as_echo "$aros_kernel_cc" >&6; }
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9661 $as_echo "no" >&6; }
9666 if test "$aros_kernel_cc" = ""; then
9667 # Extract the first word of "cc", so it can be a program name with args.
9668 set dummy cc
; ac_word
=$2
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9670 $as_echo_n "checking for $ac_word... " >&6; }
9671 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9672 $as_echo_n "(cached) " >&6
9674 case $aros_kernel_cc in
9676 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9683 test -z "$as_dir" && as_dir
=.
9684 for ac_exec_ext
in '' $ac_executable_extensions; do
9685 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9686 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9697 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9698 if test -n "$aros_kernel_cc"; then
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9700 $as_echo "$aros_kernel_cc" >&6; }
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9703 $as_echo "no" >&6; }
9710 ac_tool_optarg
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
9711 # Extract the first word of "$aros_kernel_cc", so it can be a program name with args.
9712 set dummy
$aros_kernel_cc; ac_word
=$2
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9714 $as_echo_n "checking for $ac_word... " >&6; }
9715 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9716 $as_echo_n "(cached) " >&6
9718 case $aros_kernel_cc in
9720 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9727 test -z "$as_dir" && as_dir
=.
9728 for ac_exec_ext
in '' $ac_executable_extensions; do
9729 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9730 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9741 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9742 if test -n "$aros_kernel_cc"; then
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9744 $as_echo "$aros_kernel_cc" >&6; }
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9747 $as_echo "no" >&6; }
9751 aros_kernel_cc
="$aros_kernel_cc $ac_tool_optarg"
9755 if test "$aros_kernel_cc" = ""; then
9758 if test "$aros_kernel_cc" = "no"; then
9761 if test "$req_avail" = "no"; then
9762 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9765 if test "x$aros_kernel_cxx" = "x"; then
9766 aros_kernel_cxx
=${kernel_tool_prefix}${CXX}
9768 if test "${kernel_tool_version}" != ""; then
9769 if test "$aros_kernel_cxx" != ""; then
9770 ac_prog_args
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
9771 ac_prog_cmd
=`expr "X$aros_kernel_cxx" : '^\S*'`
9772 aros_kernel_cxx
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9776 if test "$aros_kernel_cxx" = ""; then
9777 if test "$cross_compiling" = "yes" ; then
9778 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9779 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9781 $as_echo_n "checking for $ac_word... " >&6; }
9782 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9783 $as_echo_n "(cached) " >&6
9785 case $aros_kernel_cxx in
9787 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9794 test -z "$as_dir" && as_dir
=.
9795 for ac_exec_ext
in '' $ac_executable_extensions; do
9796 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9797 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9808 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9809 if test -n "$aros_kernel_cxx"; then
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9811 $as_echo "$aros_kernel_cxx" >&6; }
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9814 $as_echo "no" >&6; }
9819 if test "$GCC" = "yes"; then
9820 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9821 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9822 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9824 $as_echo_n "checking for $ac_word... " >&6; }
9825 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9826 $as_echo_n "(cached) " >&6
9828 case $aros_kernel_cxx in
9830 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9834 for as_dir
in `dirname $aros_gcc_cxx`
9837 test -z "$as_dir" && as_dir
=.
9838 for ac_exec_ext
in '' $ac_executable_extensions; do
9839 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9840 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9851 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9852 if test -n "$aros_kernel_cxx"; then
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9854 $as_echo "$aros_kernel_cxx" >&6; }
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9857 $as_echo "no" >&6; }
9862 if test "$aros_kernel_cxx" = ""; then
9863 # Extract the first word of "cxx", so it can be a program name with args.
9864 set dummy cxx
; ac_word
=$2
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9866 $as_echo_n "checking for $ac_word... " >&6; }
9867 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9868 $as_echo_n "(cached) " >&6
9870 case $aros_kernel_cxx in
9872 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9879 test -z "$as_dir" && as_dir
=.
9880 for ac_exec_ext
in '' $ac_executable_extensions; do
9881 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9882 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9893 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9894 if test -n "$aros_kernel_cxx"; then
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9896 $as_echo "$aros_kernel_cxx" >&6; }
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9899 $as_echo "no" >&6; }
9906 ac_tool_optarg
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
9907 # Extract the first word of "$aros_kernel_cxx", so it can be a program name with args.
9908 set dummy
$aros_kernel_cxx; ac_word
=$2
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9910 $as_echo_n "checking for $ac_word... " >&6; }
9911 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9912 $as_echo_n "(cached) " >&6
9914 case $aros_kernel_cxx in
9916 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9923 test -z "$as_dir" && as_dir
=.
9924 for ac_exec_ext
in '' $ac_executable_extensions; do
9925 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9926 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9937 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9938 if test -n "$aros_kernel_cxx"; then
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9940 $as_echo "$aros_kernel_cxx" >&6; }
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9943 $as_echo "no" >&6; }
9947 aros_kernel_cxx
="$aros_kernel_cxx $ac_tool_optarg"
9950 # If it's set, make sure it's really there
9951 if test "x$aros_kernel_cxx" != "x" ; then
9953 if test "$aros_kernel_cxx" = ""; then
9956 if test "$aros_kernel_cxx" = "no"; then
9959 if test "$req_avail" = "no"; then
9960 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
9964 if test "$aros_kernel_ld" = ""; then
9965 if test "$cross_compiling" = "yes" ; then
9966 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
9967 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9969 $as_echo_n "checking for $ac_word... " >&6; }
9970 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
9971 $as_echo_n "(cached) " >&6
9973 case $aros_kernel_ld in
9975 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9982 test -z "$as_dir" && as_dir
=.
9983 for ac_exec_ext
in '' $ac_executable_extensions; do
9984 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9985 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9996 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9997 if test -n "$aros_kernel_ld"; then
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
9999 $as_echo "$aros_kernel_ld" >&6; }
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10002 $as_echo "no" >&6; }
10007 if test "$GCC" = "yes"; then
10008 aros_gcc_ld
=`$CC -print-prog-name=ld`
10009 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
10010 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10012 $as_echo_n "checking for $ac_word... " >&6; }
10013 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10014 $as_echo_n "(cached) " >&6
10016 case $aros_kernel_ld in
10018 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10022 for as_dir
in `dirname $aros_gcc_ld`
10025 test -z "$as_dir" && as_dir
=.
10026 for ac_exec_ext
in '' $ac_executable_extensions; do
10027 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10028 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10039 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10040 if test -n "$aros_kernel_ld"; then
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10042 $as_echo "$aros_kernel_ld" >&6; }
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10045 $as_echo "no" >&6; }
10050 if test "$aros_kernel_ld" = ""; then
10051 # Extract the first word of "ld", so it can be a program name with args.
10052 set dummy ld
; ac_word
=$2
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10054 $as_echo_n "checking for $ac_word... " >&6; }
10055 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10056 $as_echo_n "(cached) " >&6
10058 case $aros_kernel_ld in
10060 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10064 for as_dir
in $PATH
10067 test -z "$as_dir" && as_dir
=.
10068 for ac_exec_ext
in '' $ac_executable_extensions; do
10069 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10070 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10081 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10082 if test -n "$aros_kernel_ld"; then
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10084 $as_echo "$aros_kernel_ld" >&6; }
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10087 $as_echo "no" >&6; }
10094 ac_tool_optarg
=`expr "X$aros_kernel_ld" : '[^ ]* \(.*\)'`
10095 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
10096 set dummy
$aros_kernel_ld; ac_word
=$2
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10098 $as_echo_n "checking for $ac_word... " >&6; }
10099 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10100 $as_echo_n "(cached) " >&6
10102 case $aros_kernel_ld in
10104 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10108 for as_dir
in $PATH
10111 test -z "$as_dir" && as_dir
=.
10112 for ac_exec_ext
in '' $ac_executable_extensions; do
10113 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10114 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10125 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10126 if test -n "$aros_kernel_ld"; then
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10128 $as_echo "$aros_kernel_ld" >&6; }
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10131 $as_echo "no" >&6; }
10135 aros_kernel_ld
="$aros_kernel_ld $ac_tool_optarg"
10139 if test "$aros_kernel_ld" = ""; then
10142 if test "$aros_kernel_ld" = "no"; then
10145 if test "$req_avail" = "no"; then
10146 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10149 if test "$aros_kernel_as" = ""; then
10150 if test "$cross_compiling" = "yes" ; then
10151 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
10152 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10154 $as_echo_n "checking for $ac_word... " >&6; }
10155 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10156 $as_echo_n "(cached) " >&6
10158 case $aros_kernel_as in
10160 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10164 for as_dir
in $PATH
10167 test -z "$as_dir" && as_dir
=.
10168 for ac_exec_ext
in '' $ac_executable_extensions; do
10169 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10170 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10181 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10182 if test -n "$aros_kernel_as"; then
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10184 $as_echo "$aros_kernel_as" >&6; }
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10187 $as_echo "no" >&6; }
10192 if test "$GCC" = "yes"; then
10193 aros_gcc_as
=`$CC -print-prog-name=as`
10194 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
10195 set dummy
`basename $aros_gcc_as`; ac_word
=$2
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10197 $as_echo_n "checking for $ac_word... " >&6; }
10198 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10199 $as_echo_n "(cached) " >&6
10201 case $aros_kernel_as in
10203 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10207 for as_dir
in `dirname $aros_gcc_as`
10210 test -z "$as_dir" && as_dir
=.
10211 for ac_exec_ext
in '' $ac_executable_extensions; do
10212 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10213 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10224 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10225 if test -n "$aros_kernel_as"; then
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10227 $as_echo "$aros_kernel_as" >&6; }
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10230 $as_echo "no" >&6; }
10235 if test "$aros_kernel_as" = ""; then
10236 # Extract the first word of "as", so it can be a program name with args.
10237 set dummy as
; ac_word
=$2
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10239 $as_echo_n "checking for $ac_word... " >&6; }
10240 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10241 $as_echo_n "(cached) " >&6
10243 case $aros_kernel_as in
10245 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10249 for as_dir
in $PATH
10252 test -z "$as_dir" && as_dir
=.
10253 for ac_exec_ext
in '' $ac_executable_extensions; do
10254 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10255 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10266 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10267 if test -n "$aros_kernel_as"; then
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10269 $as_echo "$aros_kernel_as" >&6; }
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10272 $as_echo "no" >&6; }
10279 ac_tool_optarg
=`expr "X$aros_kernel_as" : '[^ ]* \(.*\)'`
10280 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
10281 set dummy
$aros_kernel_as; ac_word
=$2
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10283 $as_echo_n "checking for $ac_word... " >&6; }
10284 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10285 $as_echo_n "(cached) " >&6
10287 case $aros_kernel_as in
10289 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10293 for as_dir
in $PATH
10296 test -z "$as_dir" && as_dir
=.
10297 for ac_exec_ext
in '' $ac_executable_extensions; do
10298 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10299 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10310 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10311 if test -n "$aros_kernel_as"; then
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10313 $as_echo "$aros_kernel_as" >&6; }
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10316 $as_echo "no" >&6; }
10320 aros_kernel_as
="$aros_kernel_as $ac_tool_optarg"
10324 if test "$aros_kernel_as" = ""; then
10327 if test "$aros_kernel_as" = "no"; then
10330 if test "$req_avail" = "no"; then
10331 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
10334 if test "$aros_kernel_ar" = ""; then
10335 if test "$cross_compiling" = "yes" ; then
10336 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
10337 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10339 $as_echo_n "checking for $ac_word... " >&6; }
10340 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10341 $as_echo_n "(cached) " >&6
10343 case $aros_kernel_ar in
10345 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10349 for as_dir
in $PATH
10352 test -z "$as_dir" && as_dir
=.
10353 for ac_exec_ext
in '' $ac_executable_extensions; do
10354 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10355 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10366 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10367 if test -n "$aros_kernel_ar"; then
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10369 $as_echo "$aros_kernel_ar" >&6; }
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10372 $as_echo "no" >&6; }
10377 if test "$GCC" = "yes"; then
10378 aros_gcc_ar
=`$CC -print-prog-name=ar`
10379 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
10380 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10382 $as_echo_n "checking for $ac_word... " >&6; }
10383 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10384 $as_echo_n "(cached) " >&6
10386 case $aros_kernel_ar in
10388 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10392 for as_dir
in `dirname $aros_gcc_ar`
10395 test -z "$as_dir" && as_dir
=.
10396 for ac_exec_ext
in '' $ac_executable_extensions; do
10397 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10398 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10409 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10410 if test -n "$aros_kernel_ar"; then
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10412 $as_echo "$aros_kernel_ar" >&6; }
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10415 $as_echo "no" >&6; }
10420 if test "$aros_kernel_ar" = ""; then
10421 # Extract the first word of "ar", so it can be a program name with args.
10422 set dummy
ar; ac_word
=$2
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10424 $as_echo_n "checking for $ac_word... " >&6; }
10425 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10426 $as_echo_n "(cached) " >&6
10428 case $aros_kernel_ar in
10430 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10434 for as_dir
in $PATH
10437 test -z "$as_dir" && as_dir
=.
10438 for ac_exec_ext
in '' $ac_executable_extensions; do
10439 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10440 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10451 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10452 if test -n "$aros_kernel_ar"; then
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10454 $as_echo "$aros_kernel_ar" >&6; }
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10457 $as_echo "no" >&6; }
10464 ac_tool_optarg
=`expr "X$aros_kernel_ar" : '[^ ]* \(.*\)'`
10465 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
10466 set dummy
$aros_kernel_ar; ac_word
=$2
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10468 $as_echo_n "checking for $ac_word... " >&6; }
10469 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10470 $as_echo_n "(cached) " >&6
10472 case $aros_kernel_ar in
10474 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10478 for as_dir
in $PATH
10481 test -z "$as_dir" && as_dir
=.
10482 for ac_exec_ext
in '' $ac_executable_extensions; do
10483 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10484 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10495 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10496 if test -n "$aros_kernel_ar"; then
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10498 $as_echo "$aros_kernel_ar" >&6; }
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10501 $as_echo "no" >&6; }
10505 aros_kernel_ar
="$aros_kernel_ar $ac_tool_optarg"
10509 if test "$aros_kernel_ar" = ""; then
10512 if test "$aros_kernel_ar" = "no"; then
10515 if test "$req_avail" = "no"; then
10516 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
10519 if test "$aros_kernel_ranlib" = ""; then
10520 if test "$cross_compiling" = "yes" ; then
10521 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
10522 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10524 $as_echo_n "checking for $ac_word... " >&6; }
10525 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10526 $as_echo_n "(cached) " >&6
10528 case $aros_kernel_ranlib in
10530 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10534 for as_dir
in $PATH
10537 test -z "$as_dir" && as_dir
=.
10538 for ac_exec_ext
in '' $ac_executable_extensions; do
10539 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10540 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10551 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10552 if test -n "$aros_kernel_ranlib"; then
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10554 $as_echo "$aros_kernel_ranlib" >&6; }
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10557 $as_echo "no" >&6; }
10562 if test "$GCC" = "yes"; then
10563 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10564 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10565 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10567 $as_echo_n "checking for $ac_word... " >&6; }
10568 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10569 $as_echo_n "(cached) " >&6
10571 case $aros_kernel_ranlib in
10573 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10577 for as_dir
in `dirname $aros_gcc_ranlib`
10580 test -z "$as_dir" && as_dir
=.
10581 for ac_exec_ext
in '' $ac_executable_extensions; do
10582 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10583 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10594 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10595 if test -n "$aros_kernel_ranlib"; then
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10597 $as_echo "$aros_kernel_ranlib" >&6; }
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10600 $as_echo "no" >&6; }
10605 if test "$aros_kernel_ranlib" = ""; then
10606 # Extract the first word of "ranlib", so it can be a program name with args.
10607 set dummy ranlib
; ac_word
=$2
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10609 $as_echo_n "checking for $ac_word... " >&6; }
10610 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10611 $as_echo_n "(cached) " >&6
10613 case $aros_kernel_ranlib in
10615 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10619 for as_dir
in $PATH
10622 test -z "$as_dir" && as_dir
=.
10623 for ac_exec_ext
in '' $ac_executable_extensions; do
10624 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10625 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10636 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10637 if test -n "$aros_kernel_ranlib"; then
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10639 $as_echo "$aros_kernel_ranlib" >&6; }
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10642 $as_echo "no" >&6; }
10649 ac_tool_optarg
=`expr "X$aros_kernel_ranlib" : '[^ ]* \(.*\)'`
10650 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
10651 set dummy
$aros_kernel_ranlib; ac_word
=$2
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10653 $as_echo_n "checking for $ac_word... " >&6; }
10654 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10655 $as_echo_n "(cached) " >&6
10657 case $aros_kernel_ranlib in
10659 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10663 for as_dir
in $PATH
10666 test -z "$as_dir" && as_dir
=.
10667 for ac_exec_ext
in '' $ac_executable_extensions; do
10668 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10669 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10680 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10681 if test -n "$aros_kernel_ranlib"; then
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10683 $as_echo "$aros_kernel_ranlib" >&6; }
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10686 $as_echo "no" >&6; }
10690 aros_kernel_ranlib
="$aros_kernel_ranlib $ac_tool_optarg"
10694 if test "$aros_kernel_ranlib" = ""; then
10697 if test "$aros_kernel_ranlib" = "no"; then
10700 if test "$req_avail" = "no"; then
10701 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
10704 if test "$aros_kernel_nm" = ""; then
10705 if test "$cross_compiling" = "yes" ; then
10706 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
10707 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10709 $as_echo_n "checking for $ac_word... " >&6; }
10710 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10711 $as_echo_n "(cached) " >&6
10713 case $aros_kernel_nm in
10715 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10719 for as_dir
in $PATH
10722 test -z "$as_dir" && as_dir
=.
10723 for ac_exec_ext
in '' $ac_executable_extensions; do
10724 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10725 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10736 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10737 if test -n "$aros_kernel_nm"; then
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10739 $as_echo "$aros_kernel_nm" >&6; }
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10742 $as_echo "no" >&6; }
10747 if test "$GCC" = "yes"; then
10748 aros_gcc_nm
=`$CC -print-prog-name=nm`
10749 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10750 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10752 $as_echo_n "checking for $ac_word... " >&6; }
10753 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10754 $as_echo_n "(cached) " >&6
10756 case $aros_kernel_nm in
10758 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10762 for as_dir
in `dirname $aros_gcc_nm`
10765 test -z "$as_dir" && as_dir
=.
10766 for ac_exec_ext
in '' $ac_executable_extensions; do
10767 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10768 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10779 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10780 if test -n "$aros_kernel_nm"; then
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10782 $as_echo "$aros_kernel_nm" >&6; }
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10785 $as_echo "no" >&6; }
10790 if test "$aros_kernel_nm" = ""; then
10791 # Extract the first word of "nm", so it can be a program name with args.
10792 set dummy nm
; ac_word
=$2
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10794 $as_echo_n "checking for $ac_word... " >&6; }
10795 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10796 $as_echo_n "(cached) " >&6
10798 case $aros_kernel_nm in
10800 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10804 for as_dir
in $PATH
10807 test -z "$as_dir" && as_dir
=.
10808 for ac_exec_ext
in '' $ac_executable_extensions; do
10809 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10810 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10821 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10822 if test -n "$aros_kernel_nm"; then
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10824 $as_echo "$aros_kernel_nm" >&6; }
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10827 $as_echo "no" >&6; }
10834 ac_tool_optarg
=`expr "X$aros_kernel_nm" : '[^ ]* \(.*\)'`
10835 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10836 set dummy
$aros_kernel_nm; ac_word
=$2
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10838 $as_echo_n "checking for $ac_word... " >&6; }
10839 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10840 $as_echo_n "(cached) " >&6
10842 case $aros_kernel_nm in
10844 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10848 for as_dir
in $PATH
10851 test -z "$as_dir" && as_dir
=.
10852 for ac_exec_ext
in '' $ac_executable_extensions; do
10853 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10854 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10865 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10866 if test -n "$aros_kernel_nm"; then
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10868 $as_echo "$aros_kernel_nm" >&6; }
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10871 $as_echo "no" >&6; }
10875 aros_kernel_nm
="$aros_kernel_nm $ac_tool_optarg"
10879 if test "$aros_kernel_nm" = ""; then
10882 if test "$aros_kernel_nm" = "no"; then
10885 if test "$req_avail" = "no"; then
10886 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10889 if test "$aros_kernel_strip" = ""; then
10890 if test "$cross_compiling" = "yes" ; then
10891 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10892 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10894 $as_echo_n "checking for $ac_word... " >&6; }
10895 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10896 $as_echo_n "(cached) " >&6
10898 case $aros_kernel_strip in
10900 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10904 for as_dir
in $PATH
10907 test -z "$as_dir" && as_dir
=.
10908 for ac_exec_ext
in '' $ac_executable_extensions; do
10909 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10910 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10921 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10922 if test -n "$aros_kernel_strip"; then
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10924 $as_echo "$aros_kernel_strip" >&6; }
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10927 $as_echo "no" >&6; }
10932 if test "$GCC" = "yes"; then
10933 aros_gcc_strip
=`$CC -print-prog-name=strip`
10934 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10935 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10937 $as_echo_n "checking for $ac_word... " >&6; }
10938 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10939 $as_echo_n "(cached) " >&6
10941 case $aros_kernel_strip in
10943 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10947 for as_dir
in `dirname $aros_gcc_strip`
10950 test -z "$as_dir" && as_dir
=.
10951 for ac_exec_ext
in '' $ac_executable_extensions; do
10952 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10953 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10964 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10965 if test -n "$aros_kernel_strip"; then
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10967 $as_echo "$aros_kernel_strip" >&6; }
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10970 $as_echo "no" >&6; }
10975 if test "$aros_kernel_strip" = ""; then
10976 # Extract the first word of "strip", so it can be a program name with args.
10977 set dummy strip
; ac_word
=$2
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10979 $as_echo_n "checking for $ac_word... " >&6; }
10980 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10981 $as_echo_n "(cached) " >&6
10983 case $aros_kernel_strip in
10985 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10989 for as_dir
in $PATH
10992 test -z "$as_dir" && as_dir
=.
10993 for ac_exec_ext
in '' $ac_executable_extensions; do
10994 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10995 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11006 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11007 if test -n "$aros_kernel_strip"; then
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11009 $as_echo "$aros_kernel_strip" >&6; }
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11012 $as_echo "no" >&6; }
11019 ac_tool_optarg
=`expr "X$aros_kernel_strip" : '[^ ]* \(.*\)'`
11020 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
11021 set dummy
$aros_kernel_strip; ac_word
=$2
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11023 $as_echo_n "checking for $ac_word... " >&6; }
11024 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11025 $as_echo_n "(cached) " >&6
11027 case $aros_kernel_strip in
11029 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11033 for as_dir
in $PATH
11036 test -z "$as_dir" && as_dir
=.
11037 for ac_exec_ext
in '' $ac_executable_extensions; do
11038 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11039 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11050 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11051 if test -n "$aros_kernel_strip"; then
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11053 $as_echo "$aros_kernel_strip" >&6; }
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11056 $as_echo "no" >&6; }
11060 aros_kernel_strip
="$aros_kernel_strip $ac_tool_optarg"
11064 if test "$aros_kernel_strip" = ""; then
11067 if test "$aros_kernel_strip" = "no"; then
11070 if test "$req_avail" = "no"; then
11071 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
11074 # Objcopy and objdump are not required for the kernel
11075 # toolchain on many architectures.
11076 # So we'll look for them, but not make them strictly required.
11078 if test "$aros_kernel_objcopy" = ""; then
11079 if test "$cross_compiling" = "yes" ; then
11080 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
11081 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11083 $as_echo_n "checking for $ac_word... " >&6; }
11084 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11085 $as_echo_n "(cached) " >&6
11087 case $aros_kernel_objcopy in
11089 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11093 for as_dir
in $PATH
11096 test -z "$as_dir" && as_dir
=.
11097 for ac_exec_ext
in '' $ac_executable_extensions; do
11098 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11099 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11110 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11111 if test -n "$aros_kernel_objcopy"; then
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11113 $as_echo "$aros_kernel_objcopy" >&6; }
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11116 $as_echo "no" >&6; }
11121 if test "$GCC" = "yes"; then
11122 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
11123 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
11124 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11126 $as_echo_n "checking for $ac_word... " >&6; }
11127 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11128 $as_echo_n "(cached) " >&6
11130 case $aros_kernel_objcopy in
11132 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11136 for as_dir
in `dirname $aros_gcc_objcopy`
11139 test -z "$as_dir" && as_dir
=.
11140 for ac_exec_ext
in '' $ac_executable_extensions; do
11141 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11142 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11153 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11154 if test -n "$aros_kernel_objcopy"; then
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11156 $as_echo "$aros_kernel_objcopy" >&6; }
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11159 $as_echo "no" >&6; }
11164 if test "$aros_kernel_objcopy" = ""; then
11165 # Extract the first word of "objcopy", so it can be a program name with args.
11166 set dummy objcopy
; ac_word
=$2
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11168 $as_echo_n "checking for $ac_word... " >&6; }
11169 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11170 $as_echo_n "(cached) " >&6
11172 case $aros_kernel_objcopy in
11174 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11178 for as_dir
in $PATH
11181 test -z "$as_dir" && as_dir
=.
11182 for ac_exec_ext
in '' $ac_executable_extensions; do
11183 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11184 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11195 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11196 if test -n "$aros_kernel_objcopy"; then
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11198 $as_echo "$aros_kernel_objcopy" >&6; }
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11201 $as_echo "no" >&6; }
11208 ac_tool_optarg
=`expr "X$aros_kernel_objcopy" : '[^ ]* \(.*\)'`
11209 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
11210 set dummy
$aros_kernel_objcopy; ac_word
=$2
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11212 $as_echo_n "checking for $ac_word... " >&6; }
11213 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11214 $as_echo_n "(cached) " >&6
11216 case $aros_kernel_objcopy in
11218 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11222 for as_dir
in $PATH
11225 test -z "$as_dir" && as_dir
=.
11226 for ac_exec_ext
in '' $ac_executable_extensions; do
11227 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11228 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11239 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11240 if test -n "$aros_kernel_objcopy"; then
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11242 $as_echo "$aros_kernel_objcopy" >&6; }
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11245 $as_echo "no" >&6; }
11249 aros_kernel_objcopy
="$aros_kernel_objcopy $ac_tool_optarg"
11253 if test "$aros_kernel_objdump" = ""; then
11254 if test "$cross_compiling" = "yes" ; then
11255 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
11256 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11258 $as_echo_n "checking for $ac_word... " >&6; }
11259 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11260 $as_echo_n "(cached) " >&6
11262 case $aros_kernel_objdump in
11264 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11268 for as_dir
in $PATH
11271 test -z "$as_dir" && as_dir
=.
11272 for ac_exec_ext
in '' $ac_executable_extensions; do
11273 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11274 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11285 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11286 if test -n "$aros_kernel_objdump"; then
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11288 $as_echo "$aros_kernel_objdump" >&6; }
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11291 $as_echo "no" >&6; }
11296 if test "$GCC" = "yes"; then
11297 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
11298 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
11299 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11301 $as_echo_n "checking for $ac_word... " >&6; }
11302 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11303 $as_echo_n "(cached) " >&6
11305 case $aros_kernel_objdump in
11307 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11311 for as_dir
in `dirname $aros_gcc_objdump`
11314 test -z "$as_dir" && as_dir
=.
11315 for ac_exec_ext
in '' $ac_executable_extensions; do
11316 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11317 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11328 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11329 if test -n "$aros_kernel_objdump"; then
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11331 $as_echo "$aros_kernel_objdump" >&6; }
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11334 $as_echo "no" >&6; }
11339 if test "$aros_kernel_objdump" = ""; then
11340 # Extract the first word of "objdump", so it can be a program name with args.
11341 set dummy objdump
; ac_word
=$2
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11343 $as_echo_n "checking for $ac_word... " >&6; }
11344 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11345 $as_echo_n "(cached) " >&6
11347 case $aros_kernel_objdump in
11349 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11353 for as_dir
in $PATH
11356 test -z "$as_dir" && as_dir
=.
11357 for ac_exec_ext
in '' $ac_executable_extensions; do
11358 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11359 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11370 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11371 if test -n "$aros_kernel_objdump"; then
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11373 $as_echo "$aros_kernel_objdump" >&6; }
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11376 $as_echo "no" >&6; }
11383 ac_tool_optarg
=`expr "X$aros_kernel_objdump" : '[^ ]* \(.*\)'`
11384 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
11385 set dummy
$aros_kernel_objdump; ac_word
=$2
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11387 $as_echo_n "checking for $ac_word... " >&6; }
11388 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11389 $as_echo_n "(cached) " >&6
11391 case $aros_kernel_objdump in
11393 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11397 for as_dir
in $PATH
11400 test -z "$as_dir" && as_dir
=.
11401 for ac_exec_ext
in '' $ac_executable_extensions; do
11402 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11403 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11414 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11415 if test -n "$aros_kernel_objdump"; then
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11417 $as_echo "$aros_kernel_objdump" >&6; }
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11420 $as_echo "no" >&6; }
11424 aros_kernel_objdump
="$aros_kernel_objdump $ac_tool_optarg"
11427 if test "x${crosstools}" != "xyes" ; then
11429 if test "$aros_kernel_objcopy" = ""; then
11432 if test "$aros_kernel_objcopy" = "no"; then
11435 if test "$req_avail" = "no"; then
11436 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
11439 if test "$aros_kernel_objdump" = ""; then
11442 if test "$aros_kernel_objdump" = "no"; then
11445 if test "$req_avail" = "no"; then
11446 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
11452 $as_echo_n "checking which target tools to use... " >&6; }
11453 if test "$aros_target_toolchain" = "yes"; then
11454 if test "$aros_toolchain" = "llvm" ; then
11457 msg_result
=$target_tool_prefix
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
11460 $as_echo "$msg_result" >&6; }
11461 # We are building AROS crosstools
11462 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
11463 orig_target_cc
="${tmp_tool_prefix}${toolchain_c_compiler}${target_tool_version}"
11464 orig_target_cxx
="${tmp_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}"
11465 orig_target_cpp
="${tmp_tool_prefix}${toolchain_cpp_preprocessor}"
11466 orig_target_ld
="${tmp_tool_prefix}${toolchain_ld}"
11467 orig_target_as
="${tmp_tool_prefix}${toolchain_as}"
11468 orig_target_ar
="${tmp_tool_prefix}${toolchain_ar}"
11469 orig_target_ranlib
="${tmp_tool_prefix}${toolchain_ranlib}"
11470 orig_target_nm
="${tmp_tool_prefix}${toolchain_nm}"
11471 orig_target_strip
="${tmp_tool_prefix}${toolchain_strip}"
11472 orig_target_objcopy
="${tmp_tool_prefix}${toolchain_objcopy}"
11473 orig_target_objdump
="${tmp_tool_prefix}${toolchain_objdump}"
11475 # Determine whether AROS or ELF tools should be used
11476 if test "$aros_tool_prefix" = "none"; then
11477 aros_tool_prefix
="${elf_tool_prefix}"
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
11481 $as_echo "$aros_tool_prefix" >&6; }
11482 # We are *not* building AROS crosstools - use the AROS or ELF tools
11484 if test "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" = ""; then
11485 if test "$cross_compiling" = "yes" ; then
11486 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
11487 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11489 $as_echo_n "checking for $ac_word... " >&6; }
11490 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11491 $as_echo_n "(cached) " >&6
11493 case $orig_target_cpp in
11495 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11499 for as_dir
in $PATH
11502 test -z "$as_dir" && as_dir
=.
11503 for ac_exec_ext
in '' $ac_executable_extensions; do
11504 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11505 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11516 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11517 if test -n "$orig_target_cpp"; then
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11519 $as_echo "$orig_target_cpp" >&6; }
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11522 $as_echo "no" >&6; }
11527 if test "$GCC" = "yes"; then
11528 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
11529 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
11530 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11532 $as_echo_n "checking for $ac_word... " >&6; }
11533 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11534 $as_echo_n "(cached) " >&6
11536 case $orig_target_cpp in
11538 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11542 for as_dir
in `dirname $aros_gcc_cpp`
11545 test -z "$as_dir" && as_dir
=.
11546 for ac_exec_ext
in '' $ac_executable_extensions; do
11547 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11548 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11559 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11560 if test -n "$orig_target_cpp"; then
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11562 $as_echo "$orig_target_cpp" >&6; }
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11565 $as_echo "no" >&6; }
11570 if test "$orig_target_cpp" = ""; then
11571 # Extract the first word of "cpp", so it can be a program name with args.
11572 set dummy cpp
; ac_word
=$2
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11574 $as_echo_n "checking for $ac_word... " >&6; }
11575 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11576 $as_echo_n "(cached) " >&6
11578 case $orig_target_cpp in
11580 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11584 for as_dir
in $PATH
11587 test -z "$as_dir" && as_dir
=.
11588 for ac_exec_ext
in '' $ac_executable_extensions; do
11589 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11590 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11601 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11602 if test -n "$orig_target_cpp"; then
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11604 $as_echo "$orig_target_cpp" >&6; }
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11607 $as_echo "no" >&6; }
11614 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" : '[^ ]* \(.*\)'`
11615 # Extract the first word of "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}", so it can be a program name with args.
11616 set dummy
${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}; ac_word
=$2
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11618 $as_echo_n "checking for $ac_word... " >&6; }
11619 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11620 $as_echo_n "(cached) " >&6
11622 case $orig_target_cpp in
11624 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11628 for as_dir
in $PATH
11631 test -z "$as_dir" && as_dir
=.
11632 for ac_exec_ext
in '' $ac_executable_extensions; do
11633 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11634 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11645 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11646 if test -n "$orig_target_cpp"; then
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11648 $as_echo "$orig_target_cpp" >&6; }
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11651 $as_echo "no" >&6; }
11655 orig_target_cpp
="$orig_target_cpp $ac_tool_optarg"
11659 if test "$orig_target_cpp" = ""; then
11662 if test "$orig_target_cpp" = "no"; then
11665 if test "$req_avail" = "no"; then
11666 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
11669 if test "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" = ""; then
11670 if test "$cross_compiling" = "yes" ; then
11671 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11672 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11674 $as_echo_n "checking for $ac_word... " >&6; }
11675 if ${ac_cv_path_orig_target_cc+:} false
; then :
11676 $as_echo_n "(cached) " >&6
11678 case $orig_target_cc in
11680 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11684 for as_dir
in $PATH
11687 test -z "$as_dir" && as_dir
=.
11688 for ac_exec_ext
in '' $ac_executable_extensions; do
11689 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11690 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11701 orig_target_cc
=$ac_cv_path_orig_target_cc
11702 if test -n "$orig_target_cc"; then
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11704 $as_echo "$orig_target_cc" >&6; }
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11707 $as_echo "no" >&6; }
11712 if test "$GCC" = "yes"; then
11713 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11714 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11715 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11717 $as_echo_n "checking for $ac_word... " >&6; }
11718 if ${ac_cv_path_orig_target_cc+:} false
; then :
11719 $as_echo_n "(cached) " >&6
11721 case $orig_target_cc in
11723 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11727 for as_dir
in `dirname $aros_gcc_gcc`
11730 test -z "$as_dir" && as_dir
=.
11731 for ac_exec_ext
in '' $ac_executable_extensions; do
11732 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11733 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11744 orig_target_cc
=$ac_cv_path_orig_target_cc
11745 if test -n "$orig_target_cc"; then
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11747 $as_echo "$orig_target_cc" >&6; }
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11750 $as_echo "no" >&6; }
11755 if test "$orig_target_cc" = ""; then
11756 # Extract the first word of "gcc", so it can be a program name with args.
11757 set dummy gcc
; ac_word
=$2
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11759 $as_echo_n "checking for $ac_word... " >&6; }
11760 if ${ac_cv_path_orig_target_cc+:} false
; then :
11761 $as_echo_n "(cached) " >&6
11763 case $orig_target_cc in
11765 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11769 for as_dir
in $PATH
11772 test -z "$as_dir" && as_dir
=.
11773 for ac_exec_ext
in '' $ac_executable_extensions; do
11774 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11775 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11786 orig_target_cc
=$ac_cv_path_orig_target_cc
11787 if test -n "$orig_target_cc"; then
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11789 $as_echo "$orig_target_cc" >&6; }
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11792 $as_echo "no" >&6; }
11799 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
11800 # Extract the first word of "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}", so it can be a program name with args.
11801 set dummy
${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}; ac_word
=$2
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11803 $as_echo_n "checking for $ac_word... " >&6; }
11804 if ${ac_cv_path_orig_target_cc+:} false
; then :
11805 $as_echo_n "(cached) " >&6
11807 case $orig_target_cc in
11809 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11813 for as_dir
in $PATH
11816 test -z "$as_dir" && as_dir
=.
11817 for ac_exec_ext
in '' $ac_executable_extensions; do
11818 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11819 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11830 orig_target_cc
=$ac_cv_path_orig_target_cc
11831 if test -n "$orig_target_cc"; then
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11833 $as_echo "$orig_target_cc" >&6; }
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11836 $as_echo "no" >&6; }
11840 orig_target_cc
="$orig_target_cc $ac_tool_optarg"
11844 if test "$orig_target_cc" = ""; then
11847 if test "$orig_target_cc" = "no"; then
11850 if test "$req_avail" = "no"; then
11851 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11854 if test "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" = ""; then
11855 if test "$cross_compiling" = "yes" ; then
11856 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11857 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11859 $as_echo_n "checking for $ac_word... " >&6; }
11860 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11861 $as_echo_n "(cached) " >&6
11863 case $orig_target_cxx in
11865 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11869 for as_dir
in $PATH
11872 test -z "$as_dir" && as_dir
=.
11873 for ac_exec_ext
in '' $ac_executable_extensions; do
11874 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11875 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11886 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11887 if test -n "$orig_target_cxx"; then
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11889 $as_echo "$orig_target_cxx" >&6; }
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11892 $as_echo "no" >&6; }
11897 if test "$GCC" = "yes"; then
11898 aros_gcc_g
++=`$CC -print-prog-name=g++`
11899 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11900 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11902 $as_echo_n "checking for $ac_word... " >&6; }
11903 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11904 $as_echo_n "(cached) " >&6
11906 case $orig_target_cxx in
11908 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11912 for as_dir
in `dirname $aros_gcc_g++`
11915 test -z "$as_dir" && as_dir
=.
11916 for ac_exec_ext
in '' $ac_executable_extensions; do
11917 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11918 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11929 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11930 if test -n "$orig_target_cxx"; then
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11932 $as_echo "$orig_target_cxx" >&6; }
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11935 $as_echo "no" >&6; }
11940 if test "$orig_target_cxx" = ""; then
11941 # Extract the first word of "g++", so it can be a program name with args.
11942 set dummy g
++; ac_word
=$2
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11944 $as_echo_n "checking for $ac_word... " >&6; }
11945 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11946 $as_echo_n "(cached) " >&6
11948 case $orig_target_cxx in
11950 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11954 for as_dir
in $PATH
11957 test -z "$as_dir" && as_dir
=.
11958 for ac_exec_ext
in '' $ac_executable_extensions; do
11959 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11960 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11971 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11972 if test -n "$orig_target_cxx"; then
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11974 $as_echo "$orig_target_cxx" >&6; }
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11977 $as_echo "no" >&6; }
11984 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
11985 # Extract the first word of "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}", so it can be a program name with args.
11986 set dummy
${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}; ac_word
=$2
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11988 $as_echo_n "checking for $ac_word... " >&6; }
11989 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11990 $as_echo_n "(cached) " >&6
11992 case $orig_target_cxx in
11994 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11998 for as_dir
in $PATH
12001 test -z "$as_dir" && as_dir
=.
12002 for ac_exec_ext
in '' $ac_executable_extensions; do
12003 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12004 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12015 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12016 if test -n "$orig_target_cxx"; then
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12018 $as_echo "$orig_target_cxx" >&6; }
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12021 $as_echo "no" >&6; }
12025 orig_target_cxx
="$orig_target_cxx $ac_tool_optarg"
12029 if test "$orig_target_cxx" = ""; then
12032 if test "$orig_target_cxx" = "no"; then
12035 if test "$req_avail" = "no"; then
12036 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
12039 if test "${aros_tool_prefix}${toolchain_ld}" = ""; then
12040 if test "$cross_compiling" = "yes" ; then
12041 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
12042 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12044 $as_echo_n "checking for $ac_word... " >&6; }
12045 if ${ac_cv_path_orig_target_ld+:} false
; then :
12046 $as_echo_n "(cached) " >&6
12048 case $orig_target_ld in
12050 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12054 for as_dir
in $PATH
12057 test -z "$as_dir" && as_dir
=.
12058 for ac_exec_ext
in '' $ac_executable_extensions; do
12059 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12060 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12071 orig_target_ld
=$ac_cv_path_orig_target_ld
12072 if test -n "$orig_target_ld"; then
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12074 $as_echo "$orig_target_ld" >&6; }
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12077 $as_echo "no" >&6; }
12082 if test "$GCC" = "yes"; then
12083 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
12084 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
12085 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12087 $as_echo_n "checking for $ac_word... " >&6; }
12088 if ${ac_cv_path_orig_target_ld+:} false
; then :
12089 $as_echo_n "(cached) " >&6
12091 case $orig_target_ld in
12093 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12097 for as_dir
in `dirname $aros_gcc_gcc`
12100 test -z "$as_dir" && as_dir
=.
12101 for ac_exec_ext
in '' $ac_executable_extensions; do
12102 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12103 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12114 orig_target_ld
=$ac_cv_path_orig_target_ld
12115 if test -n "$orig_target_ld"; then
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12117 $as_echo "$orig_target_ld" >&6; }
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12120 $as_echo "no" >&6; }
12125 if test "$orig_target_ld" = ""; then
12126 # Extract the first word of "gcc", so it can be a program name with args.
12127 set dummy gcc
; ac_word
=$2
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12129 $as_echo_n "checking for $ac_word... " >&6; }
12130 if ${ac_cv_path_orig_target_ld+:} false
; then :
12131 $as_echo_n "(cached) " >&6
12133 case $orig_target_ld in
12135 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12139 for as_dir
in $PATH
12142 test -z "$as_dir" && as_dir
=.
12143 for ac_exec_ext
in '' $ac_executable_extensions; do
12144 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12145 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12156 orig_target_ld
=$ac_cv_path_orig_target_ld
12157 if test -n "$orig_target_ld"; then
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12159 $as_echo "$orig_target_ld" >&6; }
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12162 $as_echo "no" >&6; }
12169 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ld}" : '[^ ]* \(.*\)'`
12170 # Extract the first word of "${aros_tool_prefix}${toolchain_ld}", so it can be a program name with args.
12171 set dummy
${aros_tool_prefix}${toolchain_ld}; ac_word
=$2
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12173 $as_echo_n "checking for $ac_word... " >&6; }
12174 if ${ac_cv_path_orig_target_ld+:} false
; then :
12175 $as_echo_n "(cached) " >&6
12177 case $orig_target_ld in
12179 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12183 for as_dir
in $PATH
12186 test -z "$as_dir" && as_dir
=.
12187 for ac_exec_ext
in '' $ac_executable_extensions; do
12188 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12189 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12200 orig_target_ld
=$ac_cv_path_orig_target_ld
12201 if test -n "$orig_target_ld"; then
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12203 $as_echo "$orig_target_ld" >&6; }
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12206 $as_echo "no" >&6; }
12210 orig_target_ld
="$orig_target_ld $ac_tool_optarg"
12214 if test "$orig_target_ld" = ""; then
12217 if test "$orig_target_ld" = "no"; then
12220 if test "$req_avail" = "no"; then
12221 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
12224 if test "aros_tool_prefix}${toolchain_as}" = ""; then
12225 if test "$cross_compiling" = "yes" ; then
12226 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
12227 set dummy
${target_tool_prefix}as
; ac_word
=$2
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12229 $as_echo_n "checking for $ac_word... " >&6; }
12230 if ${ac_cv_path_orig_target_as+:} false
; then :
12231 $as_echo_n "(cached) " >&6
12233 case $orig_target_as in
12235 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12239 for as_dir
in $PATH
12242 test -z "$as_dir" && as_dir
=.
12243 for ac_exec_ext
in '' $ac_executable_extensions; do
12244 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12245 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12256 orig_target_as
=$ac_cv_path_orig_target_as
12257 if test -n "$orig_target_as"; then
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12259 $as_echo "$orig_target_as" >&6; }
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12262 $as_echo "no" >&6; }
12267 if test "$GCC" = "yes"; then
12268 aros_gcc_as
=`$CC -print-prog-name=as`
12269 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
12270 set dummy
`basename $aros_gcc_as`; ac_word
=$2
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12272 $as_echo_n "checking for $ac_word... " >&6; }
12273 if ${ac_cv_path_orig_target_as+:} false
; then :
12274 $as_echo_n "(cached) " >&6
12276 case $orig_target_as in
12278 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12282 for as_dir
in `dirname $aros_gcc_as`
12285 test -z "$as_dir" && as_dir
=.
12286 for ac_exec_ext
in '' $ac_executable_extensions; do
12287 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12288 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12299 orig_target_as
=$ac_cv_path_orig_target_as
12300 if test -n "$orig_target_as"; then
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12302 $as_echo "$orig_target_as" >&6; }
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12305 $as_echo "no" >&6; }
12310 if test "$orig_target_as" = ""; then
12311 # Extract the first word of "as", so it can be a program name with args.
12312 set dummy as
; ac_word
=$2
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12314 $as_echo_n "checking for $ac_word... " >&6; }
12315 if ${ac_cv_path_orig_target_as+:} false
; then :
12316 $as_echo_n "(cached) " >&6
12318 case $orig_target_as in
12320 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12324 for as_dir
in $PATH
12327 test -z "$as_dir" && as_dir
=.
12328 for ac_exec_ext
in '' $ac_executable_extensions; do
12329 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12330 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12341 orig_target_as
=$ac_cv_path_orig_target_as
12342 if test -n "$orig_target_as"; then
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12344 $as_echo "$orig_target_as" >&6; }
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12347 $as_echo "no" >&6; }
12354 ac_tool_optarg
=`expr "Xaros_tool_prefix}${toolchain_as}" : '[^ ]* \(.*\)'`
12355 # Extract the first word of "aros_tool_prefix}${toolchain_as}", so it can be a program name with args.
12356 set dummy aros_tool_prefix
}${toolchain_as}; ac_word
=$2
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12358 $as_echo_n "checking for $ac_word... " >&6; }
12359 if ${ac_cv_path_orig_target_as+:} false
; then :
12360 $as_echo_n "(cached) " >&6
12362 case $orig_target_as in
12364 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12368 for as_dir
in $PATH
12371 test -z "$as_dir" && as_dir
=.
12372 for ac_exec_ext
in '' $ac_executable_extensions; do
12373 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12374 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12385 orig_target_as
=$ac_cv_path_orig_target_as
12386 if test -n "$orig_target_as"; then
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12388 $as_echo "$orig_target_as" >&6; }
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12391 $as_echo "no" >&6; }
12395 orig_target_as
="$orig_target_as $ac_tool_optarg"
12399 if test "$orig_target_as" = ""; then
12402 if test "$orig_target_as" = "no"; then
12405 if test "$req_avail" = "no"; then
12406 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
12409 if test "${aros_tool_prefix}${toolchain_ar}" = ""; then
12410 if test "$cross_compiling" = "yes" ; then
12411 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
12412 set dummy
${target_tool_prefix}ar; ac_word
=$2
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12414 $as_echo_n "checking for $ac_word... " >&6; }
12415 if ${ac_cv_path_orig_target_ar+:} false
; then :
12416 $as_echo_n "(cached) " >&6
12418 case $orig_target_ar in
12420 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12424 for as_dir
in $PATH
12427 test -z "$as_dir" && as_dir
=.
12428 for ac_exec_ext
in '' $ac_executable_extensions; do
12429 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12430 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12441 orig_target_ar
=$ac_cv_path_orig_target_ar
12442 if test -n "$orig_target_ar"; then
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12444 $as_echo "$orig_target_ar" >&6; }
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12447 $as_echo "no" >&6; }
12452 if test "$GCC" = "yes"; then
12453 aros_gcc_ar
=`$CC -print-prog-name=ar`
12454 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
12455 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12457 $as_echo_n "checking for $ac_word... " >&6; }
12458 if ${ac_cv_path_orig_target_ar+:} false
; then :
12459 $as_echo_n "(cached) " >&6
12461 case $orig_target_ar in
12463 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12467 for as_dir
in `dirname $aros_gcc_ar`
12470 test -z "$as_dir" && as_dir
=.
12471 for ac_exec_ext
in '' $ac_executable_extensions; do
12472 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12473 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12484 orig_target_ar
=$ac_cv_path_orig_target_ar
12485 if test -n "$orig_target_ar"; then
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12487 $as_echo "$orig_target_ar" >&6; }
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12490 $as_echo "no" >&6; }
12495 if test "$orig_target_ar" = ""; then
12496 # Extract the first word of "ar", so it can be a program name with args.
12497 set dummy
ar; ac_word
=$2
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12499 $as_echo_n "checking for $ac_word... " >&6; }
12500 if ${ac_cv_path_orig_target_ar+:} false
; then :
12501 $as_echo_n "(cached) " >&6
12503 case $orig_target_ar in
12505 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12509 for as_dir
in $PATH
12512 test -z "$as_dir" && as_dir
=.
12513 for ac_exec_ext
in '' $ac_executable_extensions; do
12514 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12515 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12526 orig_target_ar
=$ac_cv_path_orig_target_ar
12527 if test -n "$orig_target_ar"; then
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12529 $as_echo "$orig_target_ar" >&6; }
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12532 $as_echo "no" >&6; }
12539 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ar}" : '[^ ]* \(.*\)'`
12540 # Extract the first word of "${aros_tool_prefix}${toolchain_ar}", so it can be a program name with args.
12541 set dummy
${aros_tool_prefix}${toolchain_ar}; ac_word
=$2
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12543 $as_echo_n "checking for $ac_word... " >&6; }
12544 if ${ac_cv_path_orig_target_ar+:} false
; then :
12545 $as_echo_n "(cached) " >&6
12547 case $orig_target_ar in
12549 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12553 for as_dir
in $PATH
12556 test -z "$as_dir" && as_dir
=.
12557 for ac_exec_ext
in '' $ac_executable_extensions; do
12558 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12559 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12570 orig_target_ar
=$ac_cv_path_orig_target_ar
12571 if test -n "$orig_target_ar"; then
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12573 $as_echo "$orig_target_ar" >&6; }
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12576 $as_echo "no" >&6; }
12580 orig_target_ar
="$orig_target_ar $ac_tool_optarg"
12584 if test "$orig_target_ar" = ""; then
12587 if test "$orig_target_ar" = "no"; then
12590 if test "$req_avail" = "no"; then
12591 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
12594 if test "${aros_tool_prefix}${toolchain_ranlib}" = ""; then
12595 if test "$cross_compiling" = "yes" ; then
12596 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
12597 set dummy
${target_tool_prefix}ar; ac_word
=$2
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12599 $as_echo_n "checking for $ac_word... " >&6; }
12600 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12601 $as_echo_n "(cached) " >&6
12603 case $orig_target_ranlib in
12605 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12609 for as_dir
in $PATH
12612 test -z "$as_dir" && as_dir
=.
12613 for ac_exec_ext
in '' $ac_executable_extensions; do
12614 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12615 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12626 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12627 if test -n "$orig_target_ranlib"; then
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12629 $as_echo "$orig_target_ranlib" >&6; }
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12632 $as_echo "no" >&6; }
12637 if test "$GCC" = "yes"; then
12638 aros_gcc_ar
=`$CC -print-prog-name=ar`
12639 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
12640 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12642 $as_echo_n "checking for $ac_word... " >&6; }
12643 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12644 $as_echo_n "(cached) " >&6
12646 case $orig_target_ranlib in
12648 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12652 for as_dir
in `dirname $aros_gcc_ar`
12655 test -z "$as_dir" && as_dir
=.
12656 for ac_exec_ext
in '' $ac_executable_extensions; do
12657 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12658 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12669 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12670 if test -n "$orig_target_ranlib"; then
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12672 $as_echo "$orig_target_ranlib" >&6; }
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12675 $as_echo "no" >&6; }
12680 if test "$orig_target_ranlib" = ""; then
12681 # Extract the first word of "ar", so it can be a program name with args.
12682 set dummy
ar; ac_word
=$2
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12684 $as_echo_n "checking for $ac_word... " >&6; }
12685 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12686 $as_echo_n "(cached) " >&6
12688 case $orig_target_ranlib in
12690 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12694 for as_dir
in $PATH
12697 test -z "$as_dir" && as_dir
=.
12698 for ac_exec_ext
in '' $ac_executable_extensions; do
12699 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12700 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12711 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12712 if test -n "$orig_target_ranlib"; then
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12714 $as_echo "$orig_target_ranlib" >&6; }
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12717 $as_echo "no" >&6; }
12724 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ranlib}" : '[^ ]* \(.*\)'`
12725 # Extract the first word of "${aros_tool_prefix}${toolchain_ranlib}", so it can be a program name with args.
12726 set dummy
${aros_tool_prefix}${toolchain_ranlib}; ac_word
=$2
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12728 $as_echo_n "checking for $ac_word... " >&6; }
12729 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12730 $as_echo_n "(cached) " >&6
12732 case $orig_target_ranlib in
12734 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12738 for as_dir
in $PATH
12741 test -z "$as_dir" && as_dir
=.
12742 for ac_exec_ext
in '' $ac_executable_extensions; do
12743 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12744 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12755 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12756 if test -n "$orig_target_ranlib"; then
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12758 $as_echo "$orig_target_ranlib" >&6; }
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12761 $as_echo "no" >&6; }
12765 orig_target_ranlib
="$orig_target_ranlib $ac_tool_optarg"
12769 if test "$orig_target_ranlib" = ""; then
12772 if test "$orig_target_ranlib" = "no"; then
12775 if test "$req_avail" = "no"; then
12776 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
12779 if test "${aros_tool_prefix}${toolchain_nm}" = ""; then
12780 if test "$cross_compiling" = "yes" ; then
12781 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
12782 set dummy
${target_tool_prefix}nm
; ac_word
=$2
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12784 $as_echo_n "checking for $ac_word... " >&6; }
12785 if ${ac_cv_path_orig_target_nm+:} false
; then :
12786 $as_echo_n "(cached) " >&6
12788 case $orig_target_nm in
12790 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12794 for as_dir
in $PATH
12797 test -z "$as_dir" && as_dir
=.
12798 for ac_exec_ext
in '' $ac_executable_extensions; do
12799 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12800 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12811 orig_target_nm
=$ac_cv_path_orig_target_nm
12812 if test -n "$orig_target_nm"; then
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12814 $as_echo "$orig_target_nm" >&6; }
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12817 $as_echo "no" >&6; }
12822 if test "$GCC" = "yes"; then
12823 aros_gcc_nm
=`$CC -print-prog-name=nm`
12824 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
12825 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12827 $as_echo_n "checking for $ac_word... " >&6; }
12828 if ${ac_cv_path_orig_target_nm+:} false
; then :
12829 $as_echo_n "(cached) " >&6
12831 case $orig_target_nm in
12833 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12837 for as_dir
in `dirname $aros_gcc_nm`
12840 test -z "$as_dir" && as_dir
=.
12841 for ac_exec_ext
in '' $ac_executable_extensions; do
12842 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12843 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12854 orig_target_nm
=$ac_cv_path_orig_target_nm
12855 if test -n "$orig_target_nm"; then
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12857 $as_echo "$orig_target_nm" >&6; }
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12860 $as_echo "no" >&6; }
12865 if test "$orig_target_nm" = ""; then
12866 # Extract the first word of "nm", so it can be a program name with args.
12867 set dummy nm
; ac_word
=$2
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12869 $as_echo_n "checking for $ac_word... " >&6; }
12870 if ${ac_cv_path_orig_target_nm+:} false
; then :
12871 $as_echo_n "(cached) " >&6
12873 case $orig_target_nm in
12875 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12879 for as_dir
in $PATH
12882 test -z "$as_dir" && as_dir
=.
12883 for ac_exec_ext
in '' $ac_executable_extensions; do
12884 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12885 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12896 orig_target_nm
=$ac_cv_path_orig_target_nm
12897 if test -n "$orig_target_nm"; then
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12899 $as_echo "$orig_target_nm" >&6; }
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12902 $as_echo "no" >&6; }
12909 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_nm}" : '[^ ]* \(.*\)'`
12910 # Extract the first word of "${aros_tool_prefix}${toolchain_nm}", so it can be a program name with args.
12911 set dummy
${aros_tool_prefix}${toolchain_nm}; ac_word
=$2
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12913 $as_echo_n "checking for $ac_word... " >&6; }
12914 if ${ac_cv_path_orig_target_nm+:} false
; then :
12915 $as_echo_n "(cached) " >&6
12917 case $orig_target_nm in
12919 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12923 for as_dir
in $PATH
12926 test -z "$as_dir" && as_dir
=.
12927 for ac_exec_ext
in '' $ac_executable_extensions; do
12928 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12929 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12940 orig_target_nm
=$ac_cv_path_orig_target_nm
12941 if test -n "$orig_target_nm"; then
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12943 $as_echo "$orig_target_nm" >&6; }
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12946 $as_echo "no" >&6; }
12950 orig_target_nm
="$orig_target_nm $ac_tool_optarg"
12954 if test "$orig_target_nm" = ""; then
12957 if test "$orig_target_nm" = "no"; then
12960 if test "$req_avail" = "no"; then
12961 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
12964 if test "${aros_tool_prefix}${toolchain_strip}" = ""; then
12965 if test "$cross_compiling" = "yes" ; then
12966 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
12967 set dummy
${target_tool_prefix}strip
; ac_word
=$2
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12969 $as_echo_n "checking for $ac_word... " >&6; }
12970 if ${ac_cv_path_orig_target_strip+:} false
; then :
12971 $as_echo_n "(cached) " >&6
12973 case $orig_target_strip in
12975 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
12978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12979 for as_dir
in $PATH
12982 test -z "$as_dir" && as_dir
=.
12983 for ac_exec_ext
in '' $ac_executable_extensions; do
12984 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12985 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
12986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12996 orig_target_strip
=$ac_cv_path_orig_target_strip
12997 if test -n "$orig_target_strip"; then
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
12999 $as_echo "$orig_target_strip" >&6; }
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13002 $as_echo "no" >&6; }
13007 if test "$GCC" = "yes"; then
13008 aros_gcc_strip
=`$CC -print-prog-name=strip`
13009 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
13010 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13012 $as_echo_n "checking for $ac_word... " >&6; }
13013 if ${ac_cv_path_orig_target_strip+:} false
; then :
13014 $as_echo_n "(cached) " >&6
13016 case $orig_target_strip in
13018 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13022 for as_dir
in `dirname $aros_gcc_strip`
13025 test -z "$as_dir" && as_dir
=.
13026 for ac_exec_ext
in '' $ac_executable_extensions; do
13027 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13028 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13039 orig_target_strip
=$ac_cv_path_orig_target_strip
13040 if test -n "$orig_target_strip"; then
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13042 $as_echo "$orig_target_strip" >&6; }
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13045 $as_echo "no" >&6; }
13050 if test "$orig_target_strip" = ""; then
13051 # Extract the first word of "strip", so it can be a program name with args.
13052 set dummy strip
; ac_word
=$2
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13054 $as_echo_n "checking for $ac_word... " >&6; }
13055 if ${ac_cv_path_orig_target_strip+:} false
; then :
13056 $as_echo_n "(cached) " >&6
13058 case $orig_target_strip in
13060 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13064 for as_dir
in $PATH
13067 test -z "$as_dir" && as_dir
=.
13068 for ac_exec_ext
in '' $ac_executable_extensions; do
13069 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13070 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13081 orig_target_strip
=$ac_cv_path_orig_target_strip
13082 if test -n "$orig_target_strip"; then
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13084 $as_echo "$orig_target_strip" >&6; }
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13087 $as_echo "no" >&6; }
13094 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_strip}" : '[^ ]* \(.*\)'`
13095 # Extract the first word of "${aros_tool_prefix}${toolchain_strip}", so it can be a program name with args.
13096 set dummy
${aros_tool_prefix}${toolchain_strip}; ac_word
=$2
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13098 $as_echo_n "checking for $ac_word... " >&6; }
13099 if ${ac_cv_path_orig_target_strip+:} false
; then :
13100 $as_echo_n "(cached) " >&6
13102 case $orig_target_strip in
13104 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13108 for as_dir
in $PATH
13111 test -z "$as_dir" && as_dir
=.
13112 for ac_exec_ext
in '' $ac_executable_extensions; do
13113 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13114 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13125 orig_target_strip
=$ac_cv_path_orig_target_strip
13126 if test -n "$orig_target_strip"; then
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13128 $as_echo "$orig_target_strip" >&6; }
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13131 $as_echo "no" >&6; }
13135 orig_target_strip
="$orig_target_strip $ac_tool_optarg"
13139 if test "$orig_target_strip" = ""; then
13142 if test "$orig_target_strip" = "no"; then
13145 if test "$req_avail" = "no"; then
13146 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
13149 if test "${aros_tool_prefix}${toolchain_objcopy}" = ""; then
13150 if test "$cross_compiling" = "yes" ; then
13151 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
13152 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13154 $as_echo_n "checking for $ac_word... " >&6; }
13155 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13156 $as_echo_n "(cached) " >&6
13158 case $orig_target_objcopy in
13160 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13164 for as_dir
in $PATH
13167 test -z "$as_dir" && as_dir
=.
13168 for ac_exec_ext
in '' $ac_executable_extensions; do
13169 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13170 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13181 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13182 if test -n "$orig_target_objcopy"; then
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13184 $as_echo "$orig_target_objcopy" >&6; }
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13187 $as_echo "no" >&6; }
13192 if test "$GCC" = "yes"; then
13193 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
13194 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
13195 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13197 $as_echo_n "checking for $ac_word... " >&6; }
13198 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13199 $as_echo_n "(cached) " >&6
13201 case $orig_target_objcopy in
13203 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13207 for as_dir
in `dirname $aros_gcc_objcopy`
13210 test -z "$as_dir" && as_dir
=.
13211 for ac_exec_ext
in '' $ac_executable_extensions; do
13212 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13213 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13224 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13225 if test -n "$orig_target_objcopy"; then
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13227 $as_echo "$orig_target_objcopy" >&6; }
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13230 $as_echo "no" >&6; }
13235 if test "$orig_target_objcopy" = ""; then
13236 # Extract the first word of "objcopy", so it can be a program name with args.
13237 set dummy objcopy
; ac_word
=$2
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13239 $as_echo_n "checking for $ac_word... " >&6; }
13240 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13241 $as_echo_n "(cached) " >&6
13243 case $orig_target_objcopy in
13245 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13249 for as_dir
in $PATH
13252 test -z "$as_dir" && as_dir
=.
13253 for ac_exec_ext
in '' $ac_executable_extensions; do
13254 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13255 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13266 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13267 if test -n "$orig_target_objcopy"; then
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13269 $as_echo "$orig_target_objcopy" >&6; }
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13272 $as_echo "no" >&6; }
13279 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objcopy}" : '[^ ]* \(.*\)'`
13280 # Extract the first word of "${aros_tool_prefix}${toolchain_objcopy}", so it can be a program name with args.
13281 set dummy
${aros_tool_prefix}${toolchain_objcopy}; ac_word
=$2
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13283 $as_echo_n "checking for $ac_word... " >&6; }
13284 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13285 $as_echo_n "(cached) " >&6
13287 case $orig_target_objcopy in
13289 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13293 for as_dir
in $PATH
13296 test -z "$as_dir" && as_dir
=.
13297 for ac_exec_ext
in '' $ac_executable_extensions; do
13298 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13299 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13310 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13311 if test -n "$orig_target_objcopy"; then
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13313 $as_echo "$orig_target_objcopy" >&6; }
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13316 $as_echo "no" >&6; }
13320 orig_target_objcopy
="$orig_target_objcopy $ac_tool_optarg"
13324 if test "$orig_target_objcopy" = ""; then
13327 if test "$orig_target_objcopy" = "no"; then
13330 if test "$req_avail" = "no"; then
13331 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
13334 if test "${aros_tool_prefix}${toolchain_objdump}" = ""; then
13335 if test "$cross_compiling" = "yes" ; then
13336 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
13337 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13339 $as_echo_n "checking for $ac_word... " >&6; }
13340 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13341 $as_echo_n "(cached) " >&6
13343 case $orig_target_objdump in
13345 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13349 for as_dir
in $PATH
13352 test -z "$as_dir" && as_dir
=.
13353 for ac_exec_ext
in '' $ac_executable_extensions; do
13354 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13355 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13366 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13367 if test -n "$orig_target_objdump"; then
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13369 $as_echo "$orig_target_objdump" >&6; }
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13372 $as_echo "no" >&6; }
13377 if test "$GCC" = "yes"; then
13378 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
13379 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
13380 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13382 $as_echo_n "checking for $ac_word... " >&6; }
13383 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13384 $as_echo_n "(cached) " >&6
13386 case $orig_target_objdump in
13388 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13392 for as_dir
in `dirname $aros_gcc_objdump`
13395 test -z "$as_dir" && as_dir
=.
13396 for ac_exec_ext
in '' $ac_executable_extensions; do
13397 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13398 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13409 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13410 if test -n "$orig_target_objdump"; then
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13412 $as_echo "$orig_target_objdump" >&6; }
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13415 $as_echo "no" >&6; }
13420 if test "$orig_target_objdump" = ""; then
13421 # Extract the first word of "objdump", so it can be a program name with args.
13422 set dummy objdump
; ac_word
=$2
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13424 $as_echo_n "checking for $ac_word... " >&6; }
13425 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13426 $as_echo_n "(cached) " >&6
13428 case $orig_target_objdump in
13430 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13434 for as_dir
in $PATH
13437 test -z "$as_dir" && as_dir
=.
13438 for ac_exec_ext
in '' $ac_executable_extensions; do
13439 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13440 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13451 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13452 if test -n "$orig_target_objdump"; then
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13454 $as_echo "$orig_target_objdump" >&6; }
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13457 $as_echo "no" >&6; }
13464 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objdump}" : '[^ ]* \(.*\)'`
13465 # Extract the first word of "${aros_tool_prefix}${toolchain_objdump}", so it can be a program name with args.
13466 set dummy
${aros_tool_prefix}${toolchain_objdump}; ac_word
=$2
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13468 $as_echo_n "checking for $ac_word... " >&6; }
13469 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13470 $as_echo_n "(cached) " >&6
13472 case $orig_target_objdump in
13474 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13478 for as_dir
in $PATH
13481 test -z "$as_dir" && as_dir
=.
13482 for ac_exec_ext
in '' $ac_executable_extensions; do
13483 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13484 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13495 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13496 if test -n "$orig_target_objdump"; then
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13498 $as_echo "$orig_target_objdump" >&6; }
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13501 $as_echo "no" >&6; }
13505 orig_target_objdump
="$orig_target_objdump $ac_tool_optarg"
13509 if test "$orig_target_objdump" = ""; then
13512 if test "$orig_target_objdump" = "no"; then
13515 if test "$req_avail" = "no"; then
13516 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
13520 if test "$kernel_tool_prefix" = "none" ; then
13521 # No kernel tools specified
13522 # Assume target tools == kernel tools with ELF wrapper
13523 aros_kernel_cc
=$orig_target_cc
13524 aros_kernel_cxx
=$orig_target_cxx
13525 aros_kernel_cpp
=$orig_target_cpp
13526 aros_kernel_ld
=$orig_target_ld
13527 aros_kernel_as
=$orig_target_as
13528 aros_kernel_ar
=$orig_target_ar
13529 aros_kernel_ranlib
=$orig_target_ranlib
13530 aros_kernel_nm
=$orig_target_nm
13531 aros_kernel_strip
=$orig_target_strip
13532 aros_kernel_objcopy
=$orig_target_objcopy
13533 aros_kernel_objdump
=$orig_target_objdump
13534 use_kernel_cc_wrapper
=yes
13537 # At this point, all aros_kernel_* and aros_target_*
13538 # tools should be set up correctly
13540 CC
="$aros_kernel_cc $kernel_tool_flags"
13541 CPP
="$aros_kernel_cpp"
13543 #-----------------------------------------------------------------------------
13545 # Find all the tools we need to compile. This could be cross-compiling
13546 # though! If that is the case we use the GNU form of the target and
13547 # simply add this to the front of the binary name. This is rather simple,
13548 # but it should work under most circumstances.
13550 # The default tools are to use the same as the host, but only if the
13551 # host and target CPU are the same. With GCC this is normally enough.
13555 aros_shared_ld
="$aros_host_ld"
13557 aros_target_mkdep
="$aros_host_mkdep"
13559 # The default tools executables to be linked to.
13560 if test "$rescomp" != ""; then
13561 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
13562 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13564 $as_echo_n "checking for $ac_word... " >&6; }
13565 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
13566 $as_echo_n "(cached) " >&6
13568 case $aros_kernel_rescomp in
13570 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
13573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13574 for as_dir
in $PATH
13577 test -z "$as_dir" && as_dir
=.
13578 for ac_exec_ext
in '' $ac_executable_extensions; do
13579 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13580 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
13581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13591 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
13592 if test -n "$aros_kernel_rescomp"; then
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
13594 $as_echo "$aros_kernel_rescomp" >&6; }
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13597 $as_echo "no" >&6; }
13602 if test "$aros_kernel_rescomp" = ""; then
13605 if test "$aros_kernel_rescomp" = "no"; then
13608 if test "$req_avail" = "no"; then
13609 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
13613 # Set up the sources for the symlink farm
13614 if test "$crosstools" = "yes"; then
13615 crosstools_target
=tools-crosstools
13618 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
13619 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
13621 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/host/config"
13622 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
13623 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
13624 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
13625 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
13626 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
13627 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
13629 # aros_cc_pre is a variable that is added to the front of the compiler name
13630 # in the generated aros-gcc shell script. We need this to enable the cache
13631 # to work across cleaned builds. Also, support DISTCC using the correct
13632 # environment variable.
13635 if test "x${DISTCC}" != "x" ; then
13636 if test "x${CCACHE}" != "x" ; then
13637 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
13639 aros_cc_pre
="${DISTCC} "
13642 if test "x${CCACHE}" != "x" ; then
13643 aros_cc_pre
="${CCACHE} "
13647 aros_target_nostdinc_cflags
=-nostdinc
13649 aros_target_nostartup_ldflags
=-nostartfiles
13651 aros_target_nix_ldflags
=-nix
13653 aros_target_detach_ldflags
=-detach
13655 aros_target_nostdlib_ldflags
=-nostdlib
13660 if test "$aros_target_toolchain" != "yes"; then
13661 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
13662 if test "$GCC" = "yes"; then
13663 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
13666 # We do not know which c compiler version we are going to build and what we need to know
13667 # here is different for different versions so this will be set later during the
13668 # build of crosstools.
13669 if test "$aros_toolchain" = "gnu" ; then
13670 prefix
="$AROS_CROSSTOOLSDIR/${aros_target_cpu}-aros-"
13671 elif test "$aros_toolchain" = "llvm" ; then
13672 prefix
="$AROS_CROSSTOOLSDIR/bin/"
13674 aros_target_cc_path
=@aros_target_cc_path@
13676 aros_target_cpp
="${prefix}${toolchain_cpp_preprocessor}"
13677 aros_target_cc
="${prefix}${toolchain_c_compiler}"
13678 aros_target_cxx
="${prefix}${toolchain_cxx_compiler}"
13679 aros_target_as
="${prefix}${toolchain_as}"
13680 aros_target_ld
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${toolchain_ld}"
13681 aros_target_ar
="${prefix}${toolchain_ar} $aros_target_ar_flags"
13682 aros_target_objcopy
="${prefix}${toolchain_objcopy}"
13683 aros_target_objdump
="${prefix}${toolchain_objdump}"
13684 aros_target_ranlib
="${prefix}${toolchain_ranlib} $aros_target_ranlib_flags"
13685 aros_target_nm
="${prefix}${toolchain_nm} $aros_target_nm_flags"
13686 aros_target_strip
="${prefix}${toolchain_strip}"
13687 aros_plain_nm
="${prefix}${toolchain_nm}"
13688 aros_plain_ar
="${prefix}${toolchain_ar}"
13690 # Check whether --enable-includes was given.
13691 if test "${enable_includes+set}" = set; then :
13692 enableval
=$enable_includes; aros_target_incl
=$enable_includes
13694 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
13698 if test "$aros_kernel_includes" = ""; then
13699 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13700 aros_kernel_includes
="-isystem $aros_target_incl"
13704 if test "$aros_kernel_includes" != "" ; then
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
13706 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
13707 if test "$aros_kernel_cc_includes" = "" ; then
13708 # Try to guess where the directory is.
13709 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
13710 if test -d $aros_kernel_cc_includes; then
13711 # Check if there is also an include-fixed directory and add it
13712 # to kernel compiler's include path as it may contain some of
13713 # the headers we need.
13714 if test -d "$aros_kernel_cc_includes"-fixed; then
13715 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
13717 # Check for specific includes directory. Needed for Ubuntu 11.10 and Debian
13718 case ${host_cpu} in
13720 host_cpu_glibc
=i386
13723 host_cpu_glibc
=${host_cpu}
13726 if test -d "/usr/include/${host_cpu_glibc}-linux-gnu"; then
13727 aros_kernel_cc_includes
+=" -isystem /usr/include/${host_cpu_glibc}-linux-gnu"
13730 # The directory doesn't exist, we need to do some more work.
13731 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
13733 # These are the headers we're looking for.
13734 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13735 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13739 for h
in $headers; do
13740 # Which other headers are needed by each of the above?
13741 deps
=$
(echo "#include <$h>" | \
13742 $aros_kernel_cc -E -M - 2>/dev
/null | \
13743 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13745 # Copy all the needed headers to a directory beneath gendir.
13748 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
13749 sed -n "s,^.*/include\(/.*\),\1,p")
13750 ! test -d $dir && mkdir
-p $dir
13751 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
13757 $as_echo "$aros_kernel_cc_includes" >&6; }
13758 # Adding -nostdinc to kernel includes as they are always used together.
13759 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
13762 if test "$crosstools" != "yes"; then
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
13764 $as_echo_n "checking for the target compiler's include path... " >&6; }
13765 if test "$aros_target_cc_includes" = "" ; then
13766 #try to guess where the directory is
13767 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
13768 if ! test -d $aros_target_cc_includes; then
13769 #the directory doesn't exist, we need to do some more work
13770 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
13772 #these are the headers we're looking for
13773 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13774 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13778 for h
in $headers; do
13779 #which other headers each of the above headers needs?
13780 deps
=$
(echo "#include <$h>" | \
13781 $orig_target_cc -E -M - 2>/dev
/null | \
13782 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13784 #copy all the needed headers to a directory beneath gendir
13787 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
13788 sed -n "s,^.*/include\(/.*\),\1,p")
13789 ! test -d $dir && mkdir
-p $dir
13790 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
13796 $as_echo "$aros_target_cc_includes" >&6; }
13798 # We do not know which c compiler version we are going to build and what we need to know
13799 # here is different for different versions so this will be set later during the
13800 # build of crosstools.
13801 aros_target_cc_includes
=@aros_target_cc_includes@
13805 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
13806 # On GCC >= 4.0 -iquote should be used
13810 save_cflags
="$CFLAGS"
13812 kernel_cflags_iquote
=$host_cflags_iquote
13813 kernel_cflags_iquote_end
=$host_cflags_iquote_end
13814 if test "x-$cross_compiling" = "x-yes"; then
13815 CC
="$aros_kernel_cc"
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
13817 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
13818 if test "x-$crosstools" != "x-yes"; then
13819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13820 /* end confdefs.h. */
13830 if ac_fn_c_try_compile
"$LINENO"; then :
13831 use_no_stack_protector
="yes"
13833 use_no_stack_protector
="no"
13835 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13837 # we do know it is supported for the smallest version of gcc we are going to build
13838 # we assume it's also supported by later versions
13839 use_no_stack_protector
=yes
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
13842 $as_echo "$use_no_stack_protector" >&6; }
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13844 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13845 if test "x-$crosstools" != "x-yes"; then
13846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13847 /* end confdefs.h. */
13857 if ac_fn_c_try_compile
"$LINENO"; then :
13862 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13864 # we do know it is supported for the smallest version of gcc we are going to build
13865 # we assume it's also supported by later versions
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13869 $as_echo "$has_iquote" >&6; }
13870 if test "x-$has_iquote" = "x-yes" ; then
13871 kernel_cflags_iquote
=-iquote
13872 kernel_cflags_iquote_end
=
13874 kernel_cflags_iquote
=-I
13875 kernel_cflags_iquote_end
=-I-
13878 if test "x-$use_no_stack_protector" = "x-yes" ; then
13879 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13882 #-----------------------------------------------------------------------------
13884 # Check if we can explicitly choose older version of symbol hashing
13886 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13887 CC
="$aros_kernel_cc"
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13889 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13891 /* end confdefs.h. */
13901 if ac_fn_c_try_link
"$LINENO"; then :
13902 use_hash_style
="yes"
13904 use_hash_style
="no"
13906 rm -f core conftest.err conftest.
$ac_objext \
13907 conftest
$ac_exeext conftest.
$ac_ext
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13909 $as_echo "$use_hash_style" >&6; }
13910 if test "x-$use_hash_style" = "x-yes" ; then
13911 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13914 CFLAGS
="$save_cflags"
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13923 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13925 # Check whether --with-resolution was given.
13926 if test "${with_resolution+set}" = set; then :
13927 withval
=$with_resolution; resolution
=$withval
13932 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
13933 if test "$resolution" = "yes" ; then
13936 if test "$resolution" = "no" ; then
13939 if test "$resolution" != "none" ; then
13940 aros_nominal_width
=`echo $resolution | cut -d'x' -f1`
13941 aros_nominal_height
=`echo $resolution | cut -d'x' -f2`
13942 aros_nominal_depth
=`echo $resolution | cut -d'x' -f3`
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&5
13945 $as_echo "$aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&6; }
13946 aros_cv_nominal_width
=$aros_nominal_width
13947 aros_cv_nominal_height
=$aros_nominal_height
13948 aros_cv_nominal_depth
=$aros_nominal_depth
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether serial debug is enabled" >&5
13951 $as_echo_n "checking whether serial debug is enabled... " >&6; }
13953 # Check whether --with-serial-debug was given.
13954 if test "${with_serial_debug+set}" = set; then :
13955 withval
=$with_serial_debug; serial_debug
=$withval
13960 if test "$aros_serial_debug" = 0 ; then
13961 serial_debug_forced
=""
13962 if test "$serial_debug" = "yes" ; then
13965 if test "$serial_debug" = "no" ; then
13966 serial_debug
="none"
13969 serial_debug_forced
="(forced)"
13970 serial_debug
=$aros_serial_debug
13972 if test "$serial_debug" != "none" ; then
13973 aros_serial_debug
=$serial_debug
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
13975 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13978 $as_echo "no" >&6; }
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether palm debug hack is enabled" >&5
13982 $as_echo_n "checking whether palm debug hack is enabled... " >&6; }
13983 # Check whether --enable-palm_debug_hack was given.
13984 if test "${enable_palm_debug_hack+set}" = set; then :
13985 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
13987 palm_debug_hack
="no"
13990 if test "$palm_debug_hack" = "yes" ; then
13991 aros_palm_debug_hack
="1"
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
13994 $as_echo "$palm_debug_hack" >&6; }
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usb3.0 code is enabled" >&5
13997 $as_echo_n "checking whether usb3.0 code is enabled... " >&6; }
13998 # Check whether --enable-usb30_code was given.
13999 if test "${enable_usb30_code+set}" = set; then :
14000 enableval
=$enable_usb30_code; usb30_code
="yes"
14005 if test "$usb30_code" = "yes" ; then
14006 aros_config_cflags
="$aros_config_cflags -DAROS_USB30_CODE"
14007 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
14010 $as_echo "$usb30_code" >&6; }
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether nesting supervisor support is enabled" >&5
14013 $as_echo_n "checking whether nesting supervisor support is enabled... " >&6; }
14014 # Check whether --enable-nesting_supervisor was given.
14015 if test "${enable_nesting_supervisor+set}" = set; then :
14016 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
14018 nesting_supervisor
="no"
14021 if test "$nesting_supervisor" = "yes" ; then
14022 aros_nesting_supervisor
="1"
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
14025 $as_echo "$nesting_supervisor" >&6; }
14027 if test "$aros_enable_mmu" = "" ; then
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MMU support is enabled" >&5
14029 $as_echo_n "checking whether MMU support is enabled... " >&6; }
14030 # Check whether --enable-mmu was given.
14031 if test "${enable_mmu+set}" = set; then :
14032 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
14034 aros_enable_mmu
="yes"
14037 if test "$aros_enable_mmu" = "" ; then
14038 aros_enable_mmu
="yes"
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
14041 $as_echo "$aros_enable_mmu" >&6; }
14043 if test "$aros_enable_mmu" = "no" ; then
14044 aros_enable_mmu
="0"
14046 aros_enable_mmu
="1"
14050 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
14052 if test "x-$need_dlopen" != "x-no" ; then
14055 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
14056 if test "x$ac_cv_func_dlopen" = xyes
; then :
14062 if test "x-$have_dl" = "x-no" ; then
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14064 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14065 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14066 $as_echo_n "(cached) " >&6
14068 ac_check_lib_save_LIBS
=$LIBS
14070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14071 /* end confdefs.h. */
14073 /* Override any GCC internal prototype to avoid an error.
14074 Use char because int might match the return type of a GCC
14075 builtin and then its argument prototype would still apply. */
14088 if ac_fn_c_try_link
"$LINENO"; then :
14089 ac_cv_lib_dl_dlopen
=yes
14091 ac_cv_lib_dl_dlopen
=no
14093 rm -f core conftest.err conftest.
$ac_objext \
14094 conftest
$ac_exeext conftest.
$ac_ext
14095 LIBS
=$ac_check_lib_save_LIBS
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14098 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14099 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14101 aros_host_ldflags
="$aros_host_ldflags -ldl"
14107 if test "x-$have_dl" = "x-no" ; then
14108 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
14114 # Check whether --enable-x11_hidd was given.
14115 if test "${enable_x11_hidd+set}" = set; then :
14116 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
14118 x11_hidd
="$need_x11"
14121 case "x-$x11_hidd" in
14122 x-yes|x-no|x-auto
) ;;
14123 *) x11_hidd
="$need_x11" ;;
14128 if test "x-$x11_hidd" != "x-no" ; then
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
14131 $as_echo_n "checking for X... " >&6; }
14134 # Check whether --with-x was given.
14135 if test "${with_x+set}" = set; then :
14139 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
14140 if test "x$with_x" = xno
; then
14141 # The user explicitly disabled X.
14144 case $x_includes,$x_libraries in #(
14145 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
14146 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
14147 $as_echo_n "(cached) " >&6
14149 # One or both of the vars are not set, and there is no cached value.
14150 ac_x_includes
=no ac_x_libraries
=no
14151 rm -f -r conftest.dir
14152 if mkdir conftest.dir
; then
14154 cat >Imakefile
<<'_ACEOF'
14156 @echo incroot='${INCROOT}'
14158 @echo usrlibdir='${USRLIBDIR}'
14160 @echo libdir='${LIBDIR}'
14162 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
14163 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14164 for ac_var
in incroot usrlibdir libdir
; do
14165 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14167 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14168 for ac_extension
in a so sl dylib la dll
; do
14169 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14170 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14171 ac_im_usrlibdir
=$ac_im_libdir; break
14174 # Screen out bogus values from the imake configuration. They are
14175 # bogus both because they are the default anyway, and because
14176 # using them would break gcc on systems where it needs fixed includes.
14177 case $ac_im_incroot in
14178 /usr
/include
) ac_x_includes
= ;;
14179 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
14181 case $ac_im_usrlibdir in
14182 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
14183 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
14187 rm -f -r conftest.dir
14190 # Standard set of common directories for X headers.
14191 # Check X11 before X11Rn because it is often a symlink to the current release.
14205 /usr/local/X11/include
14206 /usr/local/X11R7/include
14207 /usr/local/X11R6/include
14208 /usr/local/X11R5/include
14209 /usr/local/X11R4/include
14211 /usr/local/include/X11
14212 /usr/local/include/X11R7
14213 /usr/local/include/X11R6
14214 /usr/local/include/X11R5
14215 /usr/local/include/X11R4
14219 /usr/XFree86/include/X11
14223 /usr/unsupported/include
14224 /usr/athena/include
14225 /usr/local/x11r5/include
14226 /usr/lpp/Xamples/include
14228 /usr/openwin/include
14229 /usr/openwin/share/include'
14231 if test "$ac_x_includes" = no
; then
14232 # Guess where to find include files, by looking for Xlib.h.
14233 # First, try using that file with no special directory specified.
14234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14235 /* end confdefs.h. */
14236 #include <X11/Xlib.h>
14238 if ac_fn_c_try_cpp
"$LINENO"; then :
14239 # We can compile using X headers with no special include directory.
14242 for ac_dir
in $ac_x_header_dirs; do
14243 if test -r "$ac_dir/X11/Xlib.h"; then
14244 ac_x_includes
=$ac_dir
14249 rm -f conftest.err conftest.i conftest.
$ac_ext
14250 fi # $ac_x_includes = no
14252 if test "$ac_x_libraries" = no
; then
14253 # Check for the libraries.
14254 # See if we find them without any special options.
14255 # Don't add to $LIBS permanently.
14258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14259 /* end confdefs.h. */
14260 #include <X11/Xlib.h>
14269 if ac_fn_c_try_link
"$LINENO"; then :
14271 # We can link X programs with no special library path.
14275 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14277 # Don't even attempt the hair of trying to link an X program!
14278 for ac_extension
in a so sl dylib la dll
; do
14279 if test -r "$ac_dir/libX11.$ac_extension"; then
14280 ac_x_libraries
=$ac_dir
14286 rm -f core conftest.err conftest.
$ac_objext \
14287 conftest
$ac_exeext conftest.
$ac_ext
14288 fi # $ac_x_libraries = no
14290 case $ac_x_includes,$ac_x_libraries in #(
14291 no
,* |
*,no |
*\'*)
14292 # Didn't find X, or a directory has "'" in its name.
14293 ac_cv_have_x
="have_x=no";; #(
14295 # Record where we found X for the cache.
14296 ac_cv_have_x
="have_x=yes\
14297 ac_x_includes='$ac_x_includes'\
14298 ac_x_libraries='$ac_x_libraries'"
14304 eval "$ac_cv_have_x"
14307 if test "$have_x" != yes; then
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14309 $as_echo "$have_x" >&6; }
14312 # If each of the values was on the command line, it overrides each guess.
14313 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
14314 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
14315 # Update the cache value to reflect the command line values.
14316 ac_cv_have_x
="have_x=yes\
14317 ac_x_includes='$x_includes'\
14318 ac_x_libraries='$x_libraries'"
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14320 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
14323 if test "$no_x" = yes; then
14324 # Not all programs may use this symbol, but it does not hurt to define it.
14326 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
14328 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
14330 if test -n "$x_includes"; then
14331 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14334 # It would also be nice to do this for all -L options, not just this one.
14335 if test -n "$x_libraries"; then
14336 X_LIBS
="$X_LIBS -L$x_libraries"
14337 # For Solaris; some versions of Sun CC require a space after -R and
14338 # others require no space. Words are not sufficient . . . .
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
14340 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
14341 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
14342 ac_xsave_c_werror_flag
=$ac_c_werror_flag
14343 ac_c_werror_flag
=yes
14344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14345 /* end confdefs.h. */
14355 if ac_fn_c_try_link
"$LINENO"; then :
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14357 $as_echo "no" >&6; }
14358 X_LIBS
="$X_LIBS -R$x_libraries"
14360 LIBS
="$ac_xsave_LIBS -R $x_libraries"
14361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14362 /* end confdefs.h. */
14372 if ac_fn_c_try_link
"$LINENO"; then :
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14374 $as_echo "yes" >&6; }
14375 X_LIBS
="$X_LIBS -R $x_libraries"
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14378 $as_echo "neither works" >&6; }
14380 rm -f core conftest.err conftest.
$ac_objext \
14381 conftest
$ac_exeext conftest.
$ac_ext
14383 rm -f core conftest.err conftest.
$ac_objext \
14384 conftest
$ac_exeext conftest.
$ac_ext
14385 ac_c_werror_flag
=$ac_xsave_c_werror_flag
14386 LIBS
=$ac_xsave_LIBS
14389 # Check for system-dependent libraries X programs must link with.
14390 # Do this before checking for the system-independent R6 libraries
14391 # (-lICE), since we may need -lsocket or whatever for X linking.
14393 if test "$ISC" = yes; then
14394 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14396 # Martyn Johnson says this is needed for Ultrix, if the X
14397 # libraries were built with DECnet support. And Karl Berry says
14398 # the Alpha needs dnet_stub (dnet does not exist).
14399 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
14400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14401 /* end confdefs.h. */
14403 /* Override any GCC internal prototype to avoid an error.
14404 Use char because int might match the return type of a GCC
14405 builtin and then its argument prototype would still apply. */
14409 char XOpenDisplay ();
14413 return XOpenDisplay ();
14418 if ac_fn_c_try_link
"$LINENO"; then :
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14422 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
14423 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
14424 $as_echo_n "(cached) " >&6
14426 ac_check_lib_save_LIBS
=$LIBS
14427 LIBS
="-ldnet $LIBS"
14428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14429 /* end confdefs.h. */
14431 /* Override any GCC internal prototype to avoid an error.
14432 Use char because int might match the return type of a GCC
14433 builtin and then its argument prototype would still apply. */
14441 return dnet_ntoa ();
14446 if ac_fn_c_try_link
"$LINENO"; then :
14447 ac_cv_lib_dnet_dnet_ntoa
=yes
14449 ac_cv_lib_dnet_dnet_ntoa
=no
14451 rm -f core conftest.err conftest.
$ac_objext \
14452 conftest
$ac_exeext conftest.
$ac_ext
14453 LIBS
=$ac_check_lib_save_LIBS
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14456 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14457 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
14458 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14461 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14463 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14464 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
14465 $as_echo_n "(cached) " >&6
14467 ac_check_lib_save_LIBS
=$LIBS
14468 LIBS
="-ldnet_stub $LIBS"
14469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14470 /* end confdefs.h. */
14472 /* Override any GCC internal prototype to avoid an error.
14473 Use char because int might match the return type of a GCC
14474 builtin and then its argument prototype would still apply. */
14482 return dnet_ntoa ();
14487 if ac_fn_c_try_link
"$LINENO"; then :
14488 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
14490 ac_cv_lib_dnet_stub_dnet_ntoa
=no
14492 rm -f core conftest.err conftest.
$ac_objext \
14493 conftest
$ac_exeext conftest.
$ac_ext
14494 LIBS
=$ac_check_lib_save_LIBS
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14497 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14498 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
14499 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14504 rm -f core conftest.err conftest.
$ac_objext \
14505 conftest
$ac_exeext conftest.
$ac_ext
14506 LIBS
="$ac_xsave_LIBS"
14508 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14509 # to get the SysV transport functions.
14510 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14512 # The nsl library prevents programs from opening the X display
14513 # on Irix 5.2, according to T.E. Dickey.
14514 # The functions gethostbyname, getservbyname, and inet_addr are
14515 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14516 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14517 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
14521 if test $ac_cv_func_gethostbyname = no
; then
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14523 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
14524 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
14525 $as_echo_n "(cached) " >&6
14527 ac_check_lib_save_LIBS
=$LIBS
14529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14530 /* end confdefs.h. */
14532 /* Override any GCC internal prototype to avoid an error.
14533 Use char because int might match the return type of a GCC
14534 builtin and then its argument prototype would still apply. */
14538 char gethostbyname ();
14542 return gethostbyname ();
14547 if ac_fn_c_try_link
"$LINENO"; then :
14548 ac_cv_lib_nsl_gethostbyname
=yes
14550 ac_cv_lib_nsl_gethostbyname
=no
14552 rm -f core conftest.err conftest.
$ac_objext \
14553 conftest
$ac_exeext conftest.
$ac_ext
14554 LIBS
=$ac_check_lib_save_LIBS
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14557 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
14558 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
14559 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14562 if test $ac_cv_lib_nsl_gethostbyname = no
; then
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14564 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
14565 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
14566 $as_echo_n "(cached) " >&6
14568 ac_check_lib_save_LIBS
=$LIBS
14570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14571 /* end confdefs.h. */
14573 /* Override any GCC internal prototype to avoid an error.
14574 Use char because int might match the return type of a GCC
14575 builtin and then its argument prototype would still apply. */
14579 char gethostbyname ();
14583 return gethostbyname ();
14588 if ac_fn_c_try_link
"$LINENO"; then :
14589 ac_cv_lib_bsd_gethostbyname
=yes
14591 ac_cv_lib_bsd_gethostbyname
=no
14593 rm -f core conftest.err conftest.
$ac_objext \
14594 conftest
$ac_exeext conftest.
$ac_ext
14595 LIBS
=$ac_check_lib_save_LIBS
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14598 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
14599 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
14600 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
14606 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14607 # socket/setsockopt and other routines are undefined under SCO ODT
14608 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14609 # on later versions), says Simon Leinen: it contains gethostby*
14610 # variants that don't use the name server (or something). -lsocket
14611 # must be given before -lnsl if both are needed. We assume that
14612 # if connect needs -lnsl, so does gethostbyname.
14613 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14614 if test "x$ac_cv_func_connect" = xyes
; then :
14618 if test $ac_cv_func_connect = no
; then
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14620 $as_echo_n "checking for connect in -lsocket... " >&6; }
14621 if ${ac_cv_lib_socket_connect+:} false
; then :
14622 $as_echo_n "(cached) " >&6
14624 ac_check_lib_save_LIBS
=$LIBS
14625 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14627 /* end confdefs.h. */
14629 /* Override any GCC internal prototype to avoid an error.
14630 Use char because int might match the return type of a GCC
14631 builtin and then its argument prototype would still apply. */
14644 if ac_fn_c_try_link
"$LINENO"; then :
14645 ac_cv_lib_socket_connect
=yes
14647 ac_cv_lib_socket_connect
=no
14649 rm -f core conftest.err conftest.
$ac_objext \
14650 conftest
$ac_exeext conftest.
$ac_ext
14651 LIBS
=$ac_check_lib_save_LIBS
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14654 $as_echo "$ac_cv_lib_socket_connect" >&6; }
14655 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
14656 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14661 # Guillermo Gomez says -lposix is necessary on A/UX.
14662 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14663 if test "x$ac_cv_func_remove" = xyes
; then :
14667 if test $ac_cv_func_remove = no
; then
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14669 $as_echo_n "checking for remove in -lposix... " >&6; }
14670 if ${ac_cv_lib_posix_remove+:} false
; then :
14671 $as_echo_n "(cached) " >&6
14673 ac_check_lib_save_LIBS
=$LIBS
14674 LIBS
="-lposix $LIBS"
14675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14676 /* end confdefs.h. */
14678 /* Override any GCC internal prototype to avoid an error.
14679 Use char because int might match the return type of a GCC
14680 builtin and then its argument prototype would still apply. */
14693 if ac_fn_c_try_link
"$LINENO"; then :
14694 ac_cv_lib_posix_remove
=yes
14696 ac_cv_lib_posix_remove
=no
14698 rm -f core conftest.err conftest.
$ac_objext \
14699 conftest
$ac_exeext conftest.
$ac_ext
14700 LIBS
=$ac_check_lib_save_LIBS
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14703 $as_echo "$ac_cv_lib_posix_remove" >&6; }
14704 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
14705 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14710 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14711 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14712 if test "x$ac_cv_func_shmat" = xyes
; then :
14716 if test $ac_cv_func_shmat = no
; then
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14718 $as_echo_n "checking for shmat in -lipc... " >&6; }
14719 if ${ac_cv_lib_ipc_shmat+:} false
; then :
14720 $as_echo_n "(cached) " >&6
14722 ac_check_lib_save_LIBS
=$LIBS
14724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14725 /* end confdefs.h. */
14727 /* Override any GCC internal prototype to avoid an error.
14728 Use char because int might match the return type of a GCC
14729 builtin and then its argument prototype would still apply. */
14742 if ac_fn_c_try_link
"$LINENO"; then :
14743 ac_cv_lib_ipc_shmat
=yes
14745 ac_cv_lib_ipc_shmat
=no
14747 rm -f core conftest.err conftest.
$ac_objext \
14748 conftest
$ac_exeext conftest.
$ac_ext
14749 LIBS
=$ac_check_lib_save_LIBS
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14752 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
14753 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
14754 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14760 # Check for libraries that X11R6 Xt/Xaw programs need.
14761 ac_save_LDFLAGS
=$LDFLAGS
14762 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14763 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14764 # check for ICE first), but we must link in the order -lSM -lICE or
14765 # we get undefined symbols. So assume we have SM if we have ICE.
14766 # These have to be linked with before -lX11, unlike the other
14767 # libraries we check for below, so use a different variable.
14768 # John Interrante, Karl Berry
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14770 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
14771 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
14772 $as_echo_n "(cached) " >&6
14774 ac_check_lib_save_LIBS
=$LIBS
14775 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14777 /* end confdefs.h. */
14779 /* Override any GCC internal prototype to avoid an error.
14780 Use char because int might match the return type of a GCC
14781 builtin and then its argument prototype would still apply. */
14785 char IceConnectionNumber ();
14789 return IceConnectionNumber ();
14794 if ac_fn_c_try_link
"$LINENO"; then :
14795 ac_cv_lib_ICE_IceConnectionNumber
=yes
14797 ac_cv_lib_ICE_IceConnectionNumber
=no
14799 rm -f core conftest.err conftest.
$ac_objext \
14800 conftest
$ac_exeext conftest.
$ac_ext
14801 LIBS
=$ac_check_lib_save_LIBS
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14804 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14805 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
14806 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14809 LDFLAGS
=$ac_save_LDFLAGS
14814 if test "x-$no_x" = "x-yes" ; then
14816 if test "x-$x11_hidd" != "x-auto" ; then
14817 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
14824 aros_host_x11_cflags
="$X_CFLAGS"
14825 aros_host_x11_ldflags
="$X_LIBS -lX11"
14827 # Check whether --enable-x11_shm was given.
14828 if test "${enable_x11_shm+set}" = set; then :
14829 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
14831 x11_hidd_shm
="auto"
14834 case "x-$x11_hidd_shm" in
14835 x-yes|x-no|x-auto
) ;;
14836 *) x11_hidd_shm
="auto" ;;
14841 if test "x-$x11_hidd_shm" != "x-no" ; then
14843 for ac_header
in sys
/ipc.h
14845 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
14846 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
14847 cat >>confdefs.h
<<_ACEOF
14848 #define HAVE_SYS_IPC_H 1
14855 for ac_header
in sys
/shm.h
14857 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
14858 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
14859 cat >>confdefs.h
<<_ACEOF
14860 #define HAVE_SYS_SHM_H 1
14868 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
14870 save_cflags
="$CFLAGS"
14871 save_ldflags
="$LDFLAGS"
14872 CFLAGS
="$CFLAGS $X_CFLAGS"
14873 LDFLAGS
="$LDFLAGS $X_LIBS"
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14875 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
14876 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
14877 $as_echo_n "(cached) " >&6
14879 ac_check_lib_save_LIBS
=$LIBS
14880 LIBS
="-lXext $LIBS"
14881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14882 /* end confdefs.h. */
14884 /* Override any GCC internal prototype to avoid an error.
14885 Use char because int might match the return type of a GCC
14886 builtin and then its argument prototype would still apply. */
14890 char XShmQueryExtension ();
14894 return XShmQueryExtension ();
14899 if ac_fn_c_try_link
"$LINENO"; then :
14900 ac_cv_lib_Xext_XShmQueryExtension
=yes
14902 ac_cv_lib_Xext_XShmQueryExtension
=no
14904 rm -f core conftest.err conftest.
$ac_objext \
14905 conftest
$ac_exeext conftest.
$ac_ext
14906 LIBS
=$ac_check_lib_save_LIBS
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14909 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14910 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
14914 CFLAGS
="$save_cflags"
14915 LDFLAGS
="$save_ldflags"
14919 if test "x-$have_xshm" = "x-yes" ; then
14920 DO_XSHM_SUPPORT
="1"
14921 elif test "x-$x11_hidd_shm" = "x-yes" ; then
14922 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
14924 DO_XSHM_SUPPORT
="0"
14928 # Check whether --enable-x11_vidmode was given.
14929 if test "${enable_x11_vidmode+set}" = set; then :
14930 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
14932 x11_hidd_vidmode
="auto"
14935 case "x-$x11_hidd_vidmode" in
14936 x-yes|x-no|x-auto
) ;;
14937 *) x11_hidd_vidmode
="auto" ;;
14942 if test "x-$x11_hidd_vidmode" != "x-no" ; then
14944 save_cflags
="$CFLAGS"
14945 save_ldflags
="$LDFLAGS"
14946 CFLAGS
="$CFLAGS $X_CFLAGS"
14947 LDFLAGS
="$LDFLAGS $X_LIBS"
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
14949 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
14950 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
14951 $as_echo_n "(cached) " >&6
14953 ac_check_lib_save_LIBS
=$LIBS
14954 LIBS
="-lXxf86vm $LIBS"
14955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14956 /* end confdefs.h. */
14958 /* Override any GCC internal prototype to avoid an error.
14959 Use char because int might match the return type of a GCC
14960 builtin and then its argument prototype would still apply. */
14964 char XF86VidModeQueryExtension ();
14968 return XF86VidModeQueryExtension ();
14973 if ac_fn_c_try_link
"$LINENO"; then :
14974 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
14976 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
14978 rm -f core conftest.err conftest.
$ac_objext \
14979 conftest
$ac_exeext conftest.
$ac_ext
14980 LIBS
=$ac_check_lib_save_LIBS
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
14983 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
14984 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
14988 CFLAGS
="$save_cflags"
14989 LDFLAGS
="$save_ldflags"
14992 if test "x-$have_vidmode" = "x-yes" ; then
14993 DO_VIDMODE_SUPPORT
="1"
14994 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
14995 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
14997 DO_VIDMODE_SUPPORT
="0"
15002 # Check whether --enable-sdl_hidd was given.
15003 if test "${enable_sdl_hidd+set}" = set; then :
15004 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
15009 case "x-$sdl_hidd" in
15010 x-yes|x-no|x-auto
) ;;
15011 *) sdl_hidd
="auto" ;;
15014 if test "x-$sdl_hidd" != "x-no" ; then
15018 # Check whether --with-sdl-prefix was given.
15019 if test "${with_sdl_prefix+set}" = set; then :
15020 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
15026 # Check whether --with-sdl-exec-prefix was given.
15027 if test "${with_sdl_exec_prefix+set}" = set; then :
15028 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
15033 # Check whether --enable-sdltest was given.
15034 if test "${enable_sdltest+set}" = set; then :
15035 enableval
=$enable_sdltest;
15041 if test x
$sdl_exec_prefix != x
; then
15042 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
15043 if test x
${SDL_CONFIG+set} != xset
; then
15044 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
15047 if test x
$sdl_prefix != x
; then
15048 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
15049 if test x
${SDL_CONFIG+set} != xset
; then
15050 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
15054 as_save_PATH
="$PATH"
15055 if test "x$prefix" != xNONE
; then
15056 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
15058 # Extract the first word of "sdl-config", so it can be a program name with args.
15059 set dummy sdl-config
; ac_word
=$2
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15061 $as_echo_n "checking for $ac_word... " >&6; }
15062 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
15063 $as_echo_n "(cached) " >&6
15065 case $SDL_CONFIG in
15067 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
15070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15071 for as_dir
in $PATH
15074 test -z "$as_dir" && as_dir
=.
15075 for ac_exec_ext
in '' $ac_executable_extensions; do
15076 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15077 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15085 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
15089 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
15090 if test -n "$SDL_CONFIG"; then
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
15092 $as_echo "$SDL_CONFIG" >&6; }
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15095 $as_echo "no" >&6; }
15099 PATH
="$as_save_PATH"
15100 min_sdl_version
=$SDL_VERSION
15101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
15102 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
15104 if test "$SDL_CONFIG" = "no" ; then
15107 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
15108 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
15110 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
15111 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
15112 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
15113 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
15114 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
15115 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
15116 if test "x$enable_sdltest" = "xyes" ; then
15117 ac_save_CFLAGS
="$CFLAGS"
15118 ac_save_CXXFLAGS
="$CXXFLAGS"
15119 ac_save_LIBS
="$LIBS"
15120 CFLAGS
="$CFLAGS $SDL_CFLAGS"
15121 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
15122 LIBS
="$LIBS $SDL_LIBS"
15124 if test "$cross_compiling" = yes; then :
15125 echo $ac_n "cross compiling; assumed OK... $ac_c"
15127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15128 /* end confdefs.h. */
15131 #include <stdlib.h>
15132 #include <string.h>
15136 my_strdup (char *str)
15142 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
15143 strcpy (new_str, str);
15151 int main (int argc, char *argv[])
15153 int major, minor, micro;
15156 /* This hangs on some systems (?)
15157 system ("touch conf.sdltest");
15159 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
15161 /* HP/UX 9 (%@#!) writes to sscanf strings */
15162 tmp_version = my_strdup("$min_sdl_version");
15163 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
15164 printf("%s, bad version string\n", "$min_sdl_version");
15168 if (($sdl_major_version > major) ||
15169 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
15170 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
15176 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
15177 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
15178 printf("*** best to upgrade to the required version.\n");
15179 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
15180 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
15181 printf("*** config.cache before re-running configure\n");
15188 if ac_fn_c_try_run
"$LINENO"; then :
15193 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15194 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15197 CFLAGS
="$ac_save_CFLAGS"
15198 CXXFLAGS
="$ac_save_CXXFLAGS"
15199 LIBS
="$ac_save_LIBS"
15202 if test "x$no_sdl" = x
; then
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15204 $as_echo "yes" >&6; }
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15208 $as_echo "no" >&6; }
15209 if test "$SDL_CONFIG" = "no" ; then
15210 echo "*** The sdl-config script installed by SDL could not be found"
15211 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
15212 echo "*** your path, or set the SDL_CONFIG environment variable to the"
15213 echo "*** full path to sdl-config."
15215 if test -f conf.sdltest
; then
15218 echo "*** Could not run SDL test program, checking why..."
15219 CFLAGS
="$CFLAGS $SDL_CFLAGS"
15220 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
15221 LIBS
="$LIBS $SDL_LIBS"
15222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15223 /* end confdefs.h. */
15228 int main(int argc, char *argv[])
15231 #define main K_and_R_C_main
15241 if ac_fn_c_try_link
"$LINENO"; then :
15242 echo "*** The test program compiled, but did not run. This usually means"
15243 echo "*** that the run-time linker is not finding SDL or finding the wrong"
15244 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
15245 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
15246 echo "*** to the installed location Also, make sure you have run ldconfig if that"
15247 echo "*** is required on your system"
15249 echo "*** If you have an old version installed, it is best to remove it, although"
15250 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
15252 echo "*** The test program failed to compile or link. See the file config.log for the"
15253 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
15254 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
15255 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
15257 rm -f core conftest.err conftest.
$ac_objext \
15258 conftest
$ac_exeext conftest.
$ac_ext
15259 CFLAGS
="$ac_save_CFLAGS"
15260 CXXFLAGS
="$ac_save_CXXFLAGS"
15261 LIBS
="$ac_save_LIBS"
15273 if test "x-$have_sdl" != "x-yes" ; then
15275 if test "x-$sdl_hidd" != "x-auto" ; then
15276 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
15281 aros_host_sdl_cflags
=$SDL_CFLAGS
15282 aros_host_sdl_libs
=$SDL_LIBS
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether building of dbus.library is enabled" >&5
15290 $as_echo_n "checking whether building of dbus.library is enabled... " >&6; }
15291 # Check whether --enable-dbus was given.
15292 if test "${enable_dbus+set}" = set; then :
15293 enableval
=$enable_dbus; dbus
="yes"
15298 if test "$dbus" = "yes" ; then
15300 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
15301 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
15302 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
15303 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
15308 $as_echo "$dbus" >&6; }
15310 if test "$use_kernel_cc_wrapper" = "yes" ; then
15311 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-${toolchain_c_compiler}"
15328 # Compatability with other Amiga-like operation systems
15433 # Hosted Graphics Related
15451 # Native version related
15455 # Palm native version related
15458 # Unix/Hosted version related
15464 # Apple iOS related
15469 # ARM default GCC target related
15497 # Collect-aros stuff: "-ius" to ignore undefined symbols
15500 # C compiler related
15505 #ObjC compiler related
15514 case "$aros_flavour" in
15515 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
15516 aros_flavour
="emulation" ;;
15517 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
15518 aros_flavour
="emulation" ;;
15519 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
15520 aros_flavour
="standalone";;
15521 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15522 aros_flavour
="standalone";;
15523 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
15524 aros_flavour
="native" ;;
15525 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
15526 aros_flavour
="native" ;;
15527 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
15528 aros_flavour
="linklib" ;;
15529 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15530 aros_flavour
="palmnative" ;;
15531 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15532 aros_flavour
="mac68knative" ;;
15533 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15534 aros_flavour
="ppcnative" ;;
15537 if test ! -d ${aros_inc_dir} ; then
15538 ${MKDIR} ${aros_inc_dir}
15540 if test ! -d ${aros_geninc_dir} ; then
15541 ${MKDIR} ${aros_geninc_dir}
15543 if test ! -d ${aros_hostcfg_dir} ; then
15544 ${MKDIR} ${aros_hostcfg_dir}
15546 if test ! -d ${aros_targetcfg_dir} ; then
15547 ${MKDIR} ${aros_targetcfg_dir}
15549 if test ! -d ${aros_tools_dir} ; then
15550 ${MKDIR} ${aros_tools_dir}
15552 if test ! -d ${aros_scripts_dir} ; then
15553 ${MKDIR} ${aros_scripts_dir}
15556 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
15559 # Generic build tools (metamake, etc)
15560 ac_config_commands
="$ac_config_commands genmf-executable-support"
15562 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 ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py tools/collect-aros/env.h"
15566 ac_config_commands
="$ac_config_commands binutils-support"
15568 ac_config_files
="$ac_config_files ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld:scripts/aros-ld.in"
15571 # Bare Elf support script and spec
15572 if test "${use_kernel_cc_wrapper}" = "yes"; then
15573 ac_config_commands
="$ac_config_commands elf-compiler-support"
15575 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"
15579 # Host compiler support scripts and spec
15580 if test "${aros_target_toolchain}" = "no"; then
15581 ac_config_commands
="$ac_config_commands host-compiler-wrapper-support"
15583 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"
15588 if test "$aros_target_variant" == "android"; then
15589 ac_config_files
="$ac_config_files ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in"
15594 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in"
15597 cat >confcache
<<\_ACEOF
15598 # This file is a shell script that caches the results of configure
15599 # tests run on this system so they can be shared between configure
15600 # scripts and configure runs, see configure's option --config-cache.
15601 # It is not useful on other systems. If it contains results you don't
15602 # want to keep, you may remove or edit it.
15604 # config.status only pays attention to the cache file if you give it
15605 # the --recheck option to rerun configure.
15607 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15608 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15609 # following values.
15613 # The following way of writing the cache mishandles newlines in values,
15614 # but we know of no workaround that is simple, portable, and efficient.
15615 # So, we kill variables containing newlines.
15616 # Ultrix sh set writes to stderr and can't be redirected directly,
15617 # and sets the high bit in the cache file unless we assign to the vars.
15619 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15620 eval ac_val
=\$
$ac_var
15624 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15625 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15628 _ | IFS | as_nl
) ;; #(
15629 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15630 *) { eval $ac_var=; unset $ac_var;} ;;
15636 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15637 *${as_nl}ac_space
=\
*)
15638 # `set' does not quote correctly, so add quotes: double-quote
15639 # substitution turns \\\\ into \\, and sed turns \\ into \.
15642 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15645 # `set' quotes correctly as required by POSIX, so do not add quotes.
15646 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15655 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15657 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15659 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15660 if test -w "$cache_file"; then
15661 if test "x$cache_file" != "x/dev/null"; then
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15663 $as_echo "$as_me: updating cache $cache_file" >&6;}
15664 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15665 cat confcache
>"$cache_file"
15667 case $cache_file in #(
15669 mv -f confcache
"$cache_file"$$
&&
15670 mv -f "$cache_file"$$
"$cache_file" ;; #(
15672 mv -f confcache
"$cache_file" ;;
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15678 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15683 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15684 # Let make expand exec_prefix.
15685 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15687 DEFS
=-DHAVE_CONFIG_H
15692 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15693 # 1. Remove the extension, and $U if already installed.
15694 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15695 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15696 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15697 # will be set to the directory where LIBOBJS objects are built.
15698 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15699 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15701 LIBOBJS
=$ac_libobjs
15703 LTLIBOBJS
=$ac_ltlibobjs
15707 : "${CONFIG_STATUS=./config.status}"
15709 ac_clean_files_save
=$ac_clean_files
15710 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15712 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15714 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15716 # Generated by $as_me.
15717 # Run this file to recreate the current configuration.
15718 # Compiler output produced by configure, useful for debugging
15719 # configure, is in config.log if it exists.
15722 ac_cs_recheck=false
15725 SHELL=\${CONFIG_SHELL-$SHELL}
15728 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15729 ## -------------------- ##
15730 ## M4sh Initialization. ##
15731 ## -------------------- ##
15733 # Be more Bourne compatible
15734 DUALCASE
=1; export DUALCASE
# for MKS sh
15735 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15738 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15739 # is contrary to our usage. Disable this feature.
15740 alias -g '${1+"$@"}'='"$@"'
15741 setopt NO_GLOB_SUBST
15743 case `(set -o) 2>/dev/null` in #(
15755 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15756 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15757 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15758 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15759 # Prefer a ksh shell builtin over an external printf program on Solaris,
15760 # but without wasting forks for bash or zsh.
15761 if test -z "$BASH_VERSION$ZSH_VERSION" \
15762 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15763 as_echo='print
-r --'
15764 as_echo_n='print
-rn --'
15765 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15766 as_echo='printf %s
\n'
15767 as_echo_n='printf %s
'
15769 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15770 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15771 as_echo_n='/usr
/ucb
/echo -n'
15773 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15774 as_echo_n_body='eval
15778 expr "X$arg" : "X\\(.*\\)$as_nl";
15779 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15781 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15783 export as_echo_n_body
15784 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15786 export as_echo_body
15787 as_echo='sh
-c $as_echo_body as_echo
'
15790 # The user is always right.
15791 if test "${PATH_SEPARATOR+set}" != set; then
15793 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15794 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15801 # We need space, tab and new line, in precisely that order. Quoting is
15802 # there to prevent editors from complaining about space-tab.
15803 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15804 # splitting by setting IFS to empty value.)
15807 # Find who we are. Look in the path if we contain no directory separator.
15810 *[\\/]* ) as_myself=$0 ;;
15811 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15812 for as_dir in $PATH
15815 test -z "$as_dir" && as_dir=.
15816 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15822 # We did not find ourselves, most probably we were run as `sh COMMAND'
15823 # in which case we are not to be found in the path.
15824 if test "x$as_myself" = x
; then
15827 if test ! -f "$as_myself"; then
15828 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15832 # Unset variables that we do not need and which cause bugs (e.g. in
15833 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15834 # suppresses any "Segmentation fault" message there. '((' could
15835 # trigger a bug in pdksh 5.2.14.
15836 for as_var
in BASH_ENV ENV MAIL MAILPATH
15837 do eval test x\
${$as_var+set} = xset \
15838 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15851 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15854 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15855 # ----------------------------------------
15856 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15857 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15858 # script with STATUS, using 1 if that was 0.
15861 as_status
=$1; test $as_status -eq 0 && as_status
=1
15863 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15864 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15866 $as_echo "$as_me: error: $2" >&2
15867 as_fn_exit
$as_status
15871 # as_fn_set_status STATUS
15872 # -----------------------
15873 # Set $? to STATUS, without forking.
15874 as_fn_set_status
()
15877 } # as_fn_set_status
15879 # as_fn_exit STATUS
15880 # -----------------
15881 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15885 as_fn_set_status
$1
15891 # Portably unset VAR.
15894 { eval $1=; unset $1;}
15896 as_unset
=as_fn_unset
15897 # as_fn_append VAR VALUE
15898 # ----------------------
15899 # Append the text in VALUE to the end of the definition contained in VAR. Take
15900 # advantage of any shell optimizations that allow amortized linear growth over
15901 # repeated appends, instead of the typical quadratic growth present in naive
15903 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15904 eval 'as_fn_append ()
15915 # as_fn_arith ARG...
15916 # ------------------
15917 # Perform arithmetic evaluation on the ARGs, and store the result in the
15918 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15919 # must be portable across $(()) and expr.
15920 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15921 eval 'as_fn_arith ()
15928 as_val
=`expr "$@" || test $? -eq 1`
15933 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15934 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15940 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15941 as_basename
=basename
15946 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15952 as_me
=`$as_basename -- "$0" ||
15953 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15954 X"$0" : 'X\(//\)$' \| \
15955 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15957 sed '/^.*\/\([^/][^/]*\)\/*$/{
15971 # Avoid depending upon Character Ranges.
15972 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15973 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15974 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15975 as_cr_digits
='0123456789'
15976 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15978 ECHO_C
= ECHO_N
= ECHO_T
=
15979 case `echo -n x` in #(((((
15981 case `echo 'xy\c'` in
15982 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15984 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15991 rm -f conf$$ conf$$.exe conf$$.
file
15992 if test -d conf$$.dir
; then
15993 rm -f conf$$.dir
/conf$$.
file
15996 mkdir conf$$.dir
2>/dev
/null
15998 if (echo >conf$$.
file) 2>/dev
/null
; then
15999 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16001 # ... but there are two gotchas:
16002 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16003 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16004 # In both cases, we have to default to `cp -pR'.
16005 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16007 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16015 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16016 rmdir conf$$.dir
2>/dev
/null
16021 # Create "$as_dir" as a directory, including parents if necessary.
16026 -*) as_dir
=.
/$as_dir;;
16028 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16032 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16033 *) as_qdir
=$as_dir;;
16035 as_dirs
="'$as_qdir' $as_dirs"
16036 as_dir
=`$as_dirname -- "$as_dir" ||
16037 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16038 X"$as_dir" : 'X\(//\)[^/]' \| \
16039 X"$as_dir" : 'X\(//\)$' \| \
16040 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16041 $as_echo X"$as_dir" |
16042 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16046 /^X\(\/\/\)[^/].*/{
16059 test -d "$as_dir" && break
16061 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16062 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16066 if mkdir
-p .
2>/dev
/null
; then
16067 as_mkdir_p
='mkdir -p "$as_dir"'
16069 test -d .
/-p && rmdir .
/-p
16074 # as_fn_executable_p FILE
16075 # -----------------------
16076 # Test if FILE is an executable regular file.
16077 as_fn_executable_p
()
16079 test -f "$1" && test -x "$1"
16080 } # as_fn_executable_p
16081 as_test_x
='test -x'
16082 as_executable_p
=as_fn_executable_p
16084 # Sed expression to map a string onto a valid CPP name.
16085 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16087 # Sed expression to map a string onto a valid variable name.
16088 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16092 ## ----------------------------------- ##
16093 ## Main body of $CONFIG_STATUS script. ##
16094 ## ----------------------------------- ##
16096 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16098 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16099 # Save the log message, to keep $0 and so on meaningful, and to
16100 # report actual input values of CONFIG_FILES etc. instead of their
16101 # values after options handling.
16103 This file was extended by $as_me, which was
16104 generated by GNU Autoconf 2.69. Invocation command line was
16106 CONFIG_FILES = $CONFIG_FILES
16107 CONFIG_HEADERS = $CONFIG_HEADERS
16108 CONFIG_LINKS = $CONFIG_LINKS
16109 CONFIG_COMMANDS = $CONFIG_COMMANDS
16112 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16117 case $ac_config_files in *"
16118 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16121 case $ac_config_headers in *"
16122 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16126 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16127 # Files that config.status was made for.
16128 config_files="$ac_config_files"
16129 config_headers="$ac_config_headers"
16130 config_commands="$ac_config_commands"
16134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16136 \`$as_me' instantiates files and other configuration actions
16137 from templates according to the current configuration. Unless the files
16138 and actions are specified as TAGs, all are instantiated by default.
16140 Usage: $0 [OPTION]... [TAG]...
16142 -h, --help print this help, then exit
16143 -V, --version print version number and configuration settings, then exit
16144 --config print configuration, then exit
16145 -q, --quiet, --silent
16146 do not print progress messages
16147 -d, --debug don't remove temporary files
16148 --recheck update $as_me by reconfiguring in the same conditions
16149 --file=FILE[:TEMPLATE]
16150 instantiate the configuration file FILE
16151 --header=FILE[:TEMPLATE]
16152 instantiate the configuration header FILE
16154 Configuration files:
16157 Configuration headers:
16160 Configuration commands:
16163 Report bugs to the package provider."
16166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16167 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16170 configured by $0, generated by GNU Autoconf 2.69,
16171 with options \\"\$ac_cs_config\\"
16173 Copyright (C) 2012 Free Software Foundation, Inc.
16174 This config.status script is free software; the Free Software Foundation
16175 gives unlimited permission to copy, distribute and modify it."
16179 test -n "\$AWK" || AWK=awk
16182 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16183 # The default lists apply if the user does not specify any file.
16189 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16190 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16194 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16206 # Handling of the options.
16207 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16209 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16210 $as_echo "$ac_cs_version"; exit ;;
16211 --config |
--confi |
--conf |
--con |
--co |
--c )
16212 $as_echo "$ac_cs_config"; exit ;;
16213 --debug |
--debu |
--deb |
--de |
--d |
-d )
16215 --file |
--fil |
--fi |
--f )
16218 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16219 '') as_fn_error $?
"missing file argument" ;;
16221 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16222 ac_need_defaults
=false
;;
16223 --header |
--heade |
--head |
--hea )
16226 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16228 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16229 ac_need_defaults
=false
;;
16231 # Conflict between --help and --header
16232 as_fn_error $?
"ambiguous option: \`$1'
16233 Try \`$0 --help' for more information.";;
16234 --help |
--hel |
-h )
16235 $as_echo "$ac_cs_usage"; exit ;;
16236 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16237 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16240 # This is an error.
16241 -*) as_fn_error $?
"unrecognized option: \`$1'
16242 Try \`$0 --help' for more information." ;;
16244 *) as_fn_append ac_config_targets
" $1"
16245 ac_need_defaults
=false
;;
16251 ac_configure_extra_args
=
16253 if $ac_cs_silent; then
16255 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16259 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16260 if \$ac_cs_recheck; then
16261 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16263 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16264 CONFIG_SHELL='$SHELL'
16265 export CONFIG_SHELL
16270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16274 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16275 ## Running $as_me. ##
16281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16285 aros_tools_dir=${aros_tools_dir}
16288 aros_host_exe_suffix=${aros_host_exe_suffix}
16289 aros_tools_dir=${aros_tools_dir}
16290 aros_target_cpu=${aros_target_cpu}
16291 aros_target_arch=${aros_target_arch}
16292 aros_target_suffix=${aros_target_suffix}
16293 orig_target_nm=${orig_target_nm}
16294 orig_target_as=${orig_target_as}
16295 orig_target_ar=${orig_target_ar}
16296 orig_target_ranlib=${orig_target_ranlib}
16297 orig_target_objdump=${orig_target_objdump}
16298 orig_target_objcopy=${orig_target_objcopy}
16299 orig_target_strip=${orig_target_strip}
16300 aros_kernel_ld=${aros_kernel_ld}
16304 aros_host_exe_suffix=${aros_host_exe_suffix}
16305 aros_tools_dir=${aros_tools_dir}
16306 aros_target_cpu=${aros_target_cpu}
16307 aros_target_arch=${aros_target_arch}
16308 aros_target_suffix=${aros_target_suffix}
16309 aros_kernel_ld=${aros_kernel_ld}
16313 aros_host_exe_suffix=${aros_host_exe_suffix}
16314 aros_tools_dir=${aros_tools_dir}
16315 aros_target_cpu=${aros_target_cpu}
16316 aros_target_arch=${aros_target_arch}
16317 aros_target_suffix=${aros_target_suffix}
16323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16325 # Handling of arguments.
16326 for ac_config_target
in $ac_config_targets
16328 case $ac_config_target in
16329 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
16330 "genmf-executable-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf-executable-support" ;;
16331 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16332 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
16333 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
16334 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
16335 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
16336 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
16337 "${aros_targetcfg_dir}/build.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/build.cfg:config/build.cfg.in" ;;
16338 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
16339 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
16340 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
16341 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
16342 "binutils-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS binutils-support" ;;
16343 "${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld") CONFIG_FILES="$CONFIG_FILES ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld:scripts/aros-ld.in" ;;
16344 "elf-compiler-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS elf-compiler-support" ;;
16345 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
16346 "${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" ;;
16347 "host-compiler-wrapper-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS host-compiler-wrapper-support" ;;
16348 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
16349 "${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" ;;
16350 "${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" ;;
16351 "${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" ;;
16352 "${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" ;;
16353 "${aros_targetcfg_dir}/conf.cmake") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in" ;;
16355 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16360 # If the user did not use the arguments to specify the items to instantiate,
16361 # then the envvar interface is used. Set only those that are not.
16362 # We use the long form for the default assignment because of an extremely
16363 # bizarre bug on SunOS 4.1.3.
16364 if $ac_need_defaults; then
16365 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16366 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16367 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16370 # Have a temporary directory for convenience. Make it in the build tree
16371 # simply because there is no reason against having it here, and in addition,
16372 # creating and moving files from /tmp can sometimes cause problems.
16373 # Hook for its removal unless debugging.
16374 # Note that there is a small window in which the directory will not be cleaned:
16375 # after its creation but before its name has been assigned to `$tmp'.
16379 trap 'exit_status=$?
16380 : "${ac_tmp:=$tmp}"
16381 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16383 trap 'as_fn_exit 1' 1 2 13 15
16385 # Create a (secure) tmp directory for tmp files.
16388 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16392 tmp
=.
/conf$$
-$RANDOM
16393 (umask 077 && mkdir
"$tmp")
16394 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16397 # Set up the scripts for CONFIG_FILES section.
16398 # No need to generate them if there are no CONFIG_FILES.
16399 # This happens for instance with `./config.status config.h'.
16400 if test -n "$CONFIG_FILES"; then
16403 ac_cr
=`echo X | tr X '\015'`
16404 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16405 # But we know of no other shell where ac_cr would be empty at this
16406 # point, so we can use a bashism as a fallback.
16407 if test "x$ac_cr" = x
; then
16408 eval ac_cr
=\$
\'\\r
\'
16410 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16411 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16414 ac_cs_awk_cr
=$ac_cr
16417 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16422 echo "cat >conf$$subs.awk <<_ACEOF" &&
16423 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16425 } >conf$$subs.sh ||
16426 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16427 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16429 for ac_last_try in false false false false false :; do
16430 . ./conf$$subs.sh ||
16431 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16433 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16434 if test $ac_delim_n = $ac_delim_num; then
16436 elif $ac_last_try; then
16437 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16439 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16442 rm -f conf$$subs.sh
16444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16445 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16449 s/^/S["/; s
/!.
*/"]=/
16459 s/\(.\{148\}\)..*/\1/
16461 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16466 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16473 s/\(.\{148\}\)..*/\1/
16475 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16479 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16484 ' <conf$$subs.awk | sed '
16489 ' >>$CONFIG_STATUS || ac_write_fail=1
16490 rm -f conf$$subs.awk
16491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16493 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16494 for (key in S) S_is_set[key] = 1
16500 nfields = split(line, field, "@
")
16502 len = length(field[1])
16503 for (i = 2; i < nfields; i++) {
16505 keylen = length(key)
16506 if (S_is_set[key]) {
16508 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16509 len += length(value) + length(field[++i])
16520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16521 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16522 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16525 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16526 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16529 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16530 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16531 # trailing colons and then remove the whole line if VPATH becomes empty
16532 # (actually we leave an empty line to preserve line numbers).
16533 if test "x
$srcdir" = x.; then
16534 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16553 fi # test -n "$CONFIG_FILES"
16555 # Set up the scripts for CONFIG_HEADERS section.
16556 # No need to generate them if there are no CONFIG_HEADERS.
16557 # This happens for instance with `./config.status Makefile'.
16558 if test -n "$CONFIG_HEADERS"; then
16559 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16563 # Transform confdefs.h into an awk script `defines.awk', embedded as
16564 # here-document in config.status, that substitutes the proper values into
16565 # config.h.in to produce config.h.
16567 # Create a delimiter string that does not exist in confdefs.h, to ease
16568 # handling of long lines.
16570 for ac_last_try in false false :; do
16571 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16572 if test -z "$ac_tt"; then
16574 elif $ac_last_try; then
16575 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16577 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16581 # For the awk script, D is an array of macro values keyed by name,
16582 # likewise P contains macro parameters if any. Preserve backslash
16583 # newline sequences.
16585 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16587 s/.\{148\}/&'"$ac_delim"'/g
16590 s/^[ ]*#[ ]*define[ ][ ]*/ /
16597 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16599 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16603 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16604 D["\
1"]=" \
3\\\\\\n
"\\/p
16606 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16611 s/.\{148\}/&'"$ac_delim"'/g
16616 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16619 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16621 ' <confdefs.h | sed '
16622 s/'"$ac_delim"'/"\\\
16623 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16625 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16626 for (key in D) D_is_set[key] = 1
16629 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16631 split(line, arg, " ")
16632 if (arg[1] == "#") {
16636 defundef
= substr
(arg
[1], 2)
16639 split(mac1
, mac2
, "(") #)
16641 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16642 if (D_is_set
[macro
]) {
16643 # Preserve the white space surrounding the "#".
16644 print prefix
"define", macro P
[macro
] D
[macro
]
16647 # Replace #undef with comments. This is necessary, for example,
16648 # in the case of _POSIX_SOURCE, which is predefined and required
16649 # on some systems where configure will not decide to define it.
16650 if (defundef
== "undef") {
16651 print
"/*", prefix defundef
, macro
, "*/"
16659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16660 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16661 fi # test -n "$CONFIG_HEADERS"
16664 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16669 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16671 case $ac_mode$ac_tag in
16673 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16674 :[FH
]-) ac_tag
=-:-;;
16675 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16692 -) ac_f
="$ac_tmp/stdin";;
16693 *) # Look for the file first in the build tree, then in the source tree
16694 # (if the path is not absolute). The absolute path cannot be DOS-style,
16695 # because $ac_f cannot contain `:'.
16699 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16701 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16703 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16704 as_fn_append ac_file_inputs
" '$ac_f'"
16707 # Let's still pretend it is `configure' which instantiates (i.e., don't
16708 # use $as_me), people would be surprised to read:
16709 # /* config.h. Generated by config.status. */
16710 configure_input
='Generated from '`
16711 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16713 if test x
"$ac_file" != x-
; then
16714 configure_input
="$ac_file. $configure_input"
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16716 $as_echo "$as_me: creating $ac_file" >&6;}
16718 # Neutralize special characters interpreted by sed in replacement strings.
16719 case $configure_input in #(
16720 *\
&* |
*\|
* |
*\\* )
16721 ac_sed_conf_input
=`$as_echo "$configure_input" |
16722 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16723 *) ac_sed_conf_input
=$configure_input;;
16727 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16728 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16733 ac_dir
=`$as_dirname -- "$ac_file" ||
16734 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16735 X"$ac_file" : 'X\(//\)[^/]' \| \
16736 X"$ac_file" : 'X\(//\)$' \| \
16737 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16738 $as_echo X"$ac_file" |
16739 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16743 /^X\(\/\/\)[^/].*/{
16756 as_dir
="$ac_dir"; as_fn_mkdir_p
16760 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16762 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16763 # A ".." for each directory in $ac_dir_suffix.
16764 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16765 case $ac_top_builddir_sub in
16766 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16767 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16770 ac_abs_top_builddir
=$ac_pwd
16771 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16772 # for backward compatibility:
16773 ac_top_builddir
=$ac_top_build_prefix
16776 .
) # We are building in place.
16778 ac_top_srcdir
=$ac_top_builddir_sub
16779 ac_abs_top_srcdir
=$ac_pwd ;;
16780 [\\/]* | ?
:[\\/]* ) # Absolute name.
16781 ac_srcdir
=$srcdir$ac_dir_suffix;
16782 ac_top_srcdir
=$srcdir
16783 ac_abs_top_srcdir
=$srcdir ;;
16784 *) # Relative name.
16785 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16786 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16787 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16789 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16801 # If the template does not know about datarootdir, expand it.
16802 # FIXME: This hack should be removed a few years after 2.60.
16803 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16814 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16815 *datarootdir
*) ac_datarootdir_seen
=yes;;
16816 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16818 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16820 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16821 ac_datarootdir_hack='
16822 s&@datadir@&$datadir&g
16823 s&@docdir@&$docdir&g
16824 s&@infodir@&$infodir&g
16825 s&@localedir@&$localedir&g
16826 s&@mandir@&$mandir&g
16827 s&\\\${datarootdir}&$datarootdir&g' ;;
16831 # Neutralize VPATH when `$srcdir' = `.'.
16832 # Shell code in configure.ac might set extrasub.
16833 # FIXME: do we really want to maintain this feature?
16834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16835 ac_sed_extra="$ac_vpsub
16838 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16840 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16841 s|@configure_input@|
$ac_sed_conf_input|
;t t
16842 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16843 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16844 s
&@srcdir@
&$ac_srcdir&;t t
16845 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16846 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16847 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16848 s
&@builddir@
&$ac_builddir&;t t
16849 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16850 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16851 $ac_datarootdir_hack
16853 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16854 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16856 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16857 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16858 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16859 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16861 which seems to be undefined. Please make sure it is defined" >&5
16862 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16863 which seems to be undefined. Please make sure it is defined" >&2;}
16865 rm -f "$ac_tmp/stdin"
16867 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16868 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16870 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16876 if test x"$ac_file" != x-; then
16878 $as_echo "/* $configure_input */" \
16879 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16880 } >"$ac_tmp/config.h" \
16881 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16882 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16884 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16887 mv "$ac_tmp/config.h" "$ac_file" \
16888 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16891 $as_echo "/* $configure_input */" \
16892 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16893 || as_fn_error $? "could not create -" "$LINENO" 5
16897 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16898 $as_echo "$as_me: executing $ac_file commands" >&6;}
16903 case $ac_file$ac_mode in
16904 "genmf-executable-support":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
16905 "binutils-support":C)
16906 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16908 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
16910 chmod a+x ${prefix2}-ld
16912 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
16913 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
16914 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
16915 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
16916 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
16917 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
16918 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
16920 "elf-compiler-support":C)
16921 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16923 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
16925 chmod a+x ${prefix2}-gcc
16927 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix2}-ld$aros_host_exe_suffix
16929 "host-compiler-wrapper-support":C)
16930 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16932 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
16934 chmod a+x ${prefix2}-${toolchain_c_compiler} ${prefix2}-${toolchain_cxx_compiler} ${prefix2}-${toolchain_cpp_preprocessor}
16943 ac_clean_files=$ac_clean_files_save
16945 test $ac_write_fail = 0 ||
16946 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16949 # configure is writing to config.log, and then calls config.status.
16950 # config.status does its own redirection, appending to config.log.
16951 # Unfortunately, on DOS this fails, as config.log is still kept open
16952 # by configure, so config.status won't be able to
write to it
; its
16953 # output is simply discarded. So we exec the FD to /dev/null,
16954 # effectively closing config.log, so it can be properly (re)opened and
16955 # appended to by config.status. When coming back to configure, we
16956 # need to make the FD available again.
16957 if test "$no_create" != yes; then
16959 ac_config_status_args
=
16960 test "$silent" = yes &&
16961 ac_config_status_args
="$ac_config_status_args --quiet"
16963 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16965 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16966 # would make configure fail if this is the last instruction.
16967 $ac_cs_success || as_fn_exit
1
16969 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16971 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16976 #XXX compatability...
16977 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
16979 if test -n "$aros_shared_cflags" ; then
16980 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
16981 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg