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
652 aros_nesting_supervisor
660 aros_host_x11_ldflags
671 crosstools_cxx_target
675 aros_optimization_cflags
678 aros_target_strip_flags
686 aros_kernel_objcflags
713 aros_target_cc_includes
729 aros_target_bootloader
751 aros_amigaos_compliance
759 aros_target_toolchain
768 kernel_cflags_iquote_end
770 host_cflags_iquote_end
773 aros_target_nostdlib_ldflags
774 aros_target_detach_ldflags
775 aros_target_nix_ldflags
776 aros_target_nostartup_ldflags
777 aros_target_nostdinc_cflags
816 arosconfig_use_libpngconfig
899 program_transform_name
912 enable_option_checking
923 with_kernel_gcc_version
926 enable_target_variant
933 enable_amigaos_compliance
934 with_kernel_toolchain_prefix
935 with_elf_toolchain_prefix
938 with_aros_toolchain_install
939 with_binutils_version
953 enable_palm_debug_hack
955 enable_nesting_supervisor
967 ac_precious_vars
='build_alias
983 # Initialize some variables set by options.
985 ac_init_version
=false
986 ac_unrecognized_opts
=
988 # The variables have the same names as the options, with
989 # dashes changed to underlines.
997 program_transform_name
=s
,x
,x
,
1005 # Installation directory options.
1006 # These are left unexpanded so users can "make install exec_prefix=/foo"
1007 # and all the variables that are supposed to be based on exec_prefix
1008 # by default will actually change.
1009 # Use braces instead of parens because sh, perl, etc. also accept them.
1010 # (The list follows the same order as the GNU Coding Standards.)
1011 bindir
='${exec_prefix}/bin'
1012 sbindir
='${exec_prefix}/sbin'
1013 libexecdir
='${exec_prefix}/libexec'
1014 datarootdir
='${prefix}/share'
1015 datadir
='${datarootdir}'
1016 sysconfdir
='${prefix}/etc'
1017 sharedstatedir
='${prefix}/com'
1018 localstatedir
='${prefix}/var'
1019 includedir
='${prefix}/include'
1020 oldincludedir
='/usr/include'
1021 docdir
='${datarootdir}/doc/${PACKAGE}'
1022 infodir
='${datarootdir}/info'
1027 libdir
='${exec_prefix}/lib'
1028 localedir
='${datarootdir}/locale'
1029 mandir
='${datarootdir}/man'
1035 # If the previous option needs an argument, assign it.
1036 if test -n "$ac_prev"; then
1037 eval $ac_prev=\
$ac_option
1043 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1048 # Accept the important Cygnus configure options, so we can diagnose typos.
1050 case $ac_dashdash$ac_option in
1054 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1056 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1057 bindir
=$ac_optarg ;;
1059 -build |
--build |
--buil |
--bui |
--bu)
1060 ac_prev
=build_alias
;;
1061 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1062 build_alias
=$ac_optarg ;;
1064 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1065 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1066 ac_prev
=cache_file
;;
1067 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1068 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1069 cache_file
=$ac_optarg ;;
1071 --config-cache |
-C)
1072 cache_file
=config.cache
;;
1074 -datadir |
--datadir |
--datadi |
--datad)
1076 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1077 datadir
=$ac_optarg ;;
1079 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1080 |
--dataroo |
--dataro |
--datar)
1081 ac_prev
=datarootdir
;;
1082 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1083 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1084 datarootdir
=$ac_optarg ;;
1086 -disable-* |
--disable-*)
1087 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1088 # Reject names that are not valid shell variable names.
1089 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1090 as_fn_error $?
"invalid feature name: $ac_useropt"
1091 ac_useropt_orig
=$ac_useropt
1092 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1093 case $ac_user_opts in
1095 "enable_
$ac_useropt"
1097 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1098 ac_unrecognized_sep
=', ';;
1100 eval enable_
$ac_useropt=no
;;
1102 -docdir |
--docdir |
--docdi |
--doc |
--do)
1104 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1105 docdir
=$ac_optarg ;;
1107 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1109 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1110 dvidir
=$ac_optarg ;;
1112 -enable-* |
--enable-*)
1113 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1116 as_fn_error $?
"invalid feature name: $ac_useropt"
1117 ac_useropt_orig
=$ac_useropt
1118 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119 case $ac_user_opts in
1121 "enable_
$ac_useropt"
1123 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1124 ac_unrecognized_sep
=', ';;
1126 eval enable_
$ac_useropt=\
$ac_optarg ;;
1128 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1129 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1130 |
--exec |
--exe |
--ex)
1131 ac_prev
=exec_prefix
;;
1132 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1133 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1134 |
--exec=* |
--exe=* |
--ex=*)
1135 exec_prefix
=$ac_optarg ;;
1137 -gas |
--gas |
--ga |
--g)
1138 # Obsolete; use --with-gas.
1141 -help |
--help |
--hel |
--he |
-h)
1142 ac_init_help
=long
;;
1143 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1144 ac_init_help
=recursive
;;
1145 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1146 ac_init_help
=short
;;
1148 -host |
--host |
--hos |
--ho)
1149 ac_prev
=host_alias
;;
1150 -host=* |
--host=* |
--hos=* |
--ho=*)
1151 host_alias
=$ac_optarg ;;
1153 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1155 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1157 htmldir
=$ac_optarg ;;
1159 -includedir |
--includedir |
--includedi |
--included |
--include \
1160 |
--includ |
--inclu |
--incl |
--inc)
1161 ac_prev
=includedir
;;
1162 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1163 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1164 includedir
=$ac_optarg ;;
1166 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1168 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1169 infodir
=$ac_optarg ;;
1171 -libdir |
--libdir |
--libdi |
--libd)
1173 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1174 libdir
=$ac_optarg ;;
1176 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1177 |
--libexe |
--libex |
--libe)
1178 ac_prev
=libexecdir
;;
1179 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1180 |
--libexe=* |
--libex=* |
--libe=*)
1181 libexecdir
=$ac_optarg ;;
1183 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1184 ac_prev
=localedir
;;
1185 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1186 localedir
=$ac_optarg ;;
1188 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1189 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1190 ac_prev
=localstatedir
;;
1191 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1192 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1193 localstatedir
=$ac_optarg ;;
1195 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1197 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1198 mandir
=$ac_optarg ;;
1200 -nfp |
--nfp |
--nf)
1201 # Obsolete; use --without-fp.
1204 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1205 |
--no-cr |
--no-c |
-n)
1208 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1209 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1212 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1213 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1214 |
--oldin |
--oldi |
--old |
--ol |
--o)
1215 ac_prev
=oldincludedir
;;
1216 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1217 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1218 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1219 oldincludedir
=$ac_optarg ;;
1221 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1223 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1224 prefix
=$ac_optarg ;;
1226 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1227 |
--program-pre |
--program-pr |
--program-p)
1228 ac_prev
=program_prefix
;;
1229 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1230 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1231 program_prefix
=$ac_optarg ;;
1233 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1234 |
--program-suf |
--program-su |
--program-s)
1235 ac_prev
=program_suffix
;;
1236 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1237 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1238 program_suffix
=$ac_optarg ;;
1240 -program-transform-name |
--program-transform-name \
1241 |
--program-transform-nam |
--program-transform-na \
1242 |
--program-transform-n |
--program-transform- \
1243 |
--program-transform |
--program-transfor \
1244 |
--program-transfo |
--program-transf \
1245 |
--program-trans |
--program-tran \
1246 |
--progr-tra |
--program-tr |
--program-t)
1247 ac_prev
=program_transform_name
;;
1248 -program-transform-name=* |
--program-transform-name=* \
1249 |
--program-transform-nam=* |
--program-transform-na=* \
1250 |
--program-transform-n=* |
--program-transform-=* \
1251 |
--program-transform=* |
--program-transfor=* \
1252 |
--program-transfo=* |
--program-transf=* \
1253 |
--program-trans=* |
--program-tran=* \
1254 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1255 program_transform_name
=$ac_optarg ;;
1257 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1259 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1260 pdfdir
=$ac_optarg ;;
1262 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1264 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1267 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1268 |
-silent |
--silent |
--silen |
--sile |
--sil)
1271 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1273 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1275 sbindir
=$ac_optarg ;;
1277 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1278 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1279 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1281 ac_prev
=sharedstatedir
;;
1282 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1283 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1284 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1286 sharedstatedir
=$ac_optarg ;;
1288 -site |
--site |
--sit)
1290 -site=* |
--site=* |
--sit=*)
1293 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1295 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1296 srcdir
=$ac_optarg ;;
1298 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1299 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1300 ac_prev
=sysconfdir
;;
1301 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1302 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1303 sysconfdir
=$ac_optarg ;;
1305 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1306 ac_prev
=target_alias
;;
1307 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1308 target_alias
=$ac_optarg ;;
1310 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1313 -version |
--version |
--versio |
--versi |
--vers |
-V)
1314 ac_init_version
=: ;;
1317 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1318 # Reject names that are not valid shell variable names.
1319 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1320 as_fn_error $?
"invalid package name: $ac_useropt"
1321 ac_useropt_orig
=$ac_useropt
1322 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1323 case $ac_user_opts in
1327 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1328 ac_unrecognized_sep
=', ';;
1330 eval with_
$ac_useropt=\
$ac_optarg ;;
1332 -without-* |
--without-*)
1333 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1334 # Reject names that are not valid shell variable names.
1335 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1336 as_fn_error $?
"invalid package name: $ac_useropt"
1337 ac_useropt_orig
=$ac_useropt
1338 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1339 case $ac_user_opts in
1343 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1344 ac_unrecognized_sep
=', ';;
1346 eval with_
$ac_useropt=no
;;
1349 # Obsolete; use --with-x.
1352 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1353 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1354 ac_prev
=x_includes
;;
1355 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1356 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1357 x_includes
=$ac_optarg ;;
1359 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1360 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1361 ac_prev
=x_libraries
;;
1362 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1363 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1364 x_libraries
=$ac_optarg ;;
1366 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1367 Try \`$0 --help' for more information"
1371 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1372 # Reject names that are not valid shell variable names.
1373 case $ac_envvar in #(
1374 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1375 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1377 eval $ac_envvar=\
$ac_optarg
1378 export $ac_envvar ;;
1381 # FIXME: should be removed in autoconf 3.0.
1382 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1383 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1384 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1385 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1391 if test -n "$ac_prev"; then
1392 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1393 as_fn_error $?
"missing argument to $ac_option"
1396 if test -n "$ac_unrecognized_opts"; then
1397 case $enable_option_checking in
1399 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1400 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1404 # Check all directory arguments for consistency.
1405 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1406 datadir sysconfdir sharedstatedir localstatedir includedir \
1407 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1408 libdir localedir mandir
1410 eval ac_val
=\$
$ac_var
1411 # Remove trailing slashes.
1414 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1415 eval $ac_var=\
$ac_val;;
1417 # Be sure to have absolute directory names.
1419 [\\/$
]* | ?
:[\\/]* ) continue;;
1420 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1422 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1425 # There might be people who depend on the old broken behavior: `$host'
1426 # used to hold the argument of --host etc.
1427 # FIXME: To remove some day.
1430 target
=$target_alias
1432 # FIXME: To remove some day.
1433 if test "x$host_alias" != x
; then
1434 if test "x$build_alias" = x
; then
1435 cross_compiling
=maybe
1436 elif test "x$build_alias" != "x$host_alias"; then
1442 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1444 test "$silent" = yes && exec 6>/dev
/null
1447 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1448 ac_ls_di
=`ls -di .` &&
1449 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1450 as_fn_error $?
"working directory cannot be determined"
1451 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1452 as_fn_error $?
"pwd does not report name of working directory"
1455 # Find the source files, if location was not specified.
1456 if test -z "$srcdir"; then
1457 ac_srcdir_defaulted
=yes
1458 # Try the directory containing this script, then the parent directory.
1459 ac_confdir
=`$as_dirname -- "$as_myself" ||
1460 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1461 X"$as_myself" : 'X\(//\)[^/]' \| \
1462 X"$as_myself" : 'X\(//\)$' \| \
1463 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1464 $as_echo X"$as_myself" |
1465 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1483 if test ! -r "$srcdir/$ac_unique_file"; then
1487 ac_srcdir_defaulted
=no
1489 if test ! -r "$srcdir/$ac_unique_file"; then
1490 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1491 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1493 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1495 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1497 # When building in place, set srcdir=.
1498 if test "$ac_abs_confdir" = "$ac_pwd"; then
1501 # Remove unnecessary trailing slashes from srcdir.
1502 # Double slashes in file names in object file debugging info
1503 # mess up M-x gdb in Emacs.
1505 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1507 for ac_var
in $ac_precious_vars; do
1508 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1509 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1510 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1511 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1515 # Report the --help message.
1517 if test "$ac_init_help" = "long"; then
1518 # Omit some internal or obsolete options to make the list less imposing.
1519 # This message is too long to be a string in the A/UX 3.1 sh.
1521 \`configure' configures this package to adapt to many kinds of systems.
1523 Usage: $0 [OPTION]... [VAR=VALUE]...
1525 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1526 VAR=VALUE. See below for descriptions of some of the useful variables.
1528 Defaults for the options are specified in brackets.
1531 -h, --help display this help and exit
1532 --help=short display options specific to this package
1533 --help=recursive display the short help of all the included packages
1534 -V, --version display version information and exit
1535 -q, --quiet, --silent do not print \`checking ...' messages
1536 --cache-file=FILE cache test results in FILE [disabled]
1537 -C, --config-cache alias for \`--cache-file=config.cache'
1538 -n, --no-create do not create output files
1539 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1541 Installation directories:
1542 --prefix=PREFIX install architecture-independent files in PREFIX
1543 [$ac_default_prefix]
1544 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1547 By default, \`make install' will install all the files in
1548 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1549 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1550 for instance \`--prefix=\$HOME'.
1552 For better control, use the options below.
1554 Fine tuning of the installation directories:
1555 --bindir=DIR user executables [EPREFIX/bin]
1556 --sbindir=DIR system admin executables [EPREFIX/sbin]
1557 --libexecdir=DIR program executables [EPREFIX/libexec]
1558 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1559 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1560 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1561 --libdir=DIR object code libraries [EPREFIX/lib]
1562 --includedir=DIR C header files [PREFIX/include]
1563 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1564 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1565 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1566 --infodir=DIR info documentation [DATAROOTDIR/info]
1567 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1568 --mandir=DIR man documentation [DATAROOTDIR/man]
1569 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1570 --htmldir=DIR html documentation [DOCDIR]
1571 --dvidir=DIR dvi documentation [DOCDIR]
1572 --pdfdir=DIR pdf documentation [DOCDIR]
1573 --psdir=DIR ps documentation [DOCDIR]
1579 --x-includes=DIR X include files are
in DIR
1580 --x-libraries=DIR X library files are
in DIR
1583 --build=BUILD configure
for building on BUILD
[guessed
]
1584 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1588 if test -n "$ac_init_help"; then
1593 --disable-option-checking ignore unrecognized
--enable/--with options
1594 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1595 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1596 --disable-libpng-config disable libpng-config
test and configuration
1597 --enable-lto=yes|no Enable link
time optimizations
if the target
1598 compiler supports them
(default
=no
)
1599 --enable-coverage=yes|no
1600 Enable coverage instrumentation
if the target
1601 compiler supports it
(default
=no
)
1602 --enable-build-type=TYPE
1603 Select the build
type. Available types are
:
1604 personal
, nightly
, snapshot
, milestone
, release. Do
1605 NOT use this option unless you know what you are
1606 doing
! (default
=personal
)
1607 --enable-debug=list Enable different types of debug. Commas or
1608 whitespaces can be used to separate the items
in the
1609 list. Available types of debug are
: all
, none
,
1610 messages
, stack
, mungwall
, modules
, symbols. If no
1611 list is provided
then "all" is assumed.
1613 --enable-distcc Use distcc as a front end to the compiler
1615 --enable-ccache Use ccache as a front end to the compiler
1617 --enable-target-variant=NAME
1618 Enable a specific target variant
(default
=none
)
1619 --enable-amigaos-compliance=VERSION
1620 Enforce userspace AmigaOS compliance to a specific
1621 KickStart version
(default
=none
).
1622 --disable-crosstools Do not build cross-compiler toolchain
1623 --enable-objc Enable Objectve-C support
(default
=no
)
1624 --enable-java Enable Java support
(default
=no
)
1625 --enable-includes=dir Alternative system include directory
1626 --enable-palm-debug-hack
1627 Enable palm debug output hack
in palm native
1629 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1630 --enable-nesting-supervisor
1631 Enable nesting supervisor support
in unix
1633 --disable-mmu Disable MMU support
(default
=enabled
)
1634 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1635 --enable-x11-shm use X11 shared memory
(default
=auto
)
1636 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1637 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1638 --disable-sdltest Do not try to compile and run a
test SDL program
1639 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1642 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1643 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1644 --with-c-compiler=VERSION
1645 Use specified c compiler
for building AROS
1646 --with-cxx-compiler=VERSION
1647 Use specified c
++ compiler building AROS
1648 --with-toolchain=family Which toolchain family to crosscompile with
1650 --with-kernel-gcc-version=VERSION
1651 Use gcc-VERSION
for building bootstrap
1652 --with-optimization=FLAGS
1653 Use optimization flags FLAGS
(e.g
1654 --with-optimization=-O2).
1655 --with-paranoia=(yes|no|FLAGS
)
1656 Specific compiler warning FLAGS to
enable for
1657 paranoia builds
(default
=-Wall -Werror)
1658 --with-xcode=PATH Specify XCode path
for iOS targets
1659 (default
=/Developer
).
1660 --with-sdk-version=VERSION
1661 Use iOS SDK version VERSION
(default
=4.1).
1662 --with-sdk=PATH Specify Android SDK path
1663 (default
=$default_android_sdk).
1664 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1665 --with-sdk-version=LEVEL
1666 Use Android SDK
for API LEVEL
(default
=12).
1667 --with-ndk-version=LEVEL
1668 Use Android NDK
for API LEVEL
(default
=9).
1669 --with-apk-version=(release|debug
)
1670 Which version of AROSBootstrap.apk to compile.
1671 Release version needs key
for signing
, debug version
1672 will only run
in emulator.
(default
=release
)
1673 --with-kernel-toolchain-prefix=...
1674 Specify crosscompile toolchain prefix
for kernel
1676 --with-elf-toolchain-prefix=...
1677 Specify crosscompile toolchain prefix to wrap
for
1679 --with-aros-toolchain=PREFIX
1680 Specify prebuilt AROS toolchain. Use
yes for default
1682 --with-aros-toolchain-install=DIR
1683 Where to
install or search
for cross tools binaries
1684 --with-binutils-version=VERSION
1685 Use binutils-VERSION
for building AROS
1686 --with-gcc-version=VERSION
1687 Compile gcc-VERSION
for AROS
1688 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1689 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1690 --with-float=<spec
> Specify floating point ABI
1691 (default
=$gcc_default_float_abi).
1692 --with-portssources=DIR Where to download sourcecode
for external ports
1693 --with-bootloader=NAME Use a specific bootloader
1694 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1695 --with-theme=NAME Use a specific GUI Theme
1696 --with-resolution=XRESxYRESxDEPTH
1697 Default resolution of the initial WorkbenchScreen
1698 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1699 --with-x use the X Window System
1700 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1701 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1703 Some influential environment variables
:
1704 CXX C
++ compiler
command
1705 CXXFLAGS C
++ compiler flags
1706 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1707 nonstandard directory
<lib dir
>
1708 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1709 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1710 you have headers
in a nonstandard directory
<include dir
>
1711 CC C compiler
command
1712 CFLAGS C compiler flags
1714 PYTHON the Python interpreter
1715 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1717 Use these variables to override the choices made by
`configure' or to help
1718 it to find libraries and programs with nonstandard names/locations.
1720 Report bugs to the package provider.
1725 if test "$ac_init_help" = "recursive"; then
1726 # If there are subdirs, report their specific --help.
1727 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1728 test -d "$ac_dir" ||
1729 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1734 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1736 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1737 # A ".." for each directory in $ac_dir_suffix.
1738 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1739 case $ac_top_builddir_sub in
1740 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1741 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1744 ac_abs_top_builddir=$ac_pwd
1745 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1746 # for backward compatibility:
1747 ac_top_builddir=$ac_top_build_prefix
1750 .) # We are building in place.
1752 ac_top_srcdir=$ac_top_builddir_sub
1753 ac_abs_top_srcdir=$ac_pwd ;;
1754 [\\/]* | ?:[\\/]* ) # Absolute name.
1755 ac_srcdir=$srcdir$ac_dir_suffix;
1756 ac_top_srcdir=$srcdir
1757 ac_abs_top_srcdir=$srcdir ;;
1759 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1760 ac_top_srcdir=$ac_top_build_prefix$srcdir
1761 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1763 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1765 cd "$ac_dir" || { ac_status=$?; continue; }
1766 # Check for guested configure.
1767 if test -f "$ac_srcdir/configure.gnu"; then
1769 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1770 elif test -f "$ac_srcdir/configure"; then
1772 $SHELL "$ac_srcdir/configure" --help=recursive
1774 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1776 cd "$ac_pwd" || { ac_status=$?; break; }
1780 test -n "$ac_init_help" && exit $ac_status
1781 if $ac_init_version; then
1784 generated by GNU Autoconf 2.69
1786 Copyright (C) 2012 Free Software Foundation, Inc.
1787 This configure script is free software; the Free Software Foundation
1788 gives unlimited permission to copy, distribute and modify it.
1793 ## ------------------------ ##
1794 ## Autoconf initialization. ##
1795 ## ------------------------ ##
1797 # ac_fn_cxx_try_compile LINENO
1798 # ----------------------------
1799 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1800 ac_fn_cxx_try_compile ()
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 rm -f conftest.$ac_objext
1804 if { { ac_try="$ac_compile"
1806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1807 *) ac_try_echo
=$ac_try;;
1809 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1810 $as_echo "$ac_try_echo"; } >&5
1811 (eval "$ac_compile") 2>conftest.err
1813 if test -s conftest.err
; then
1814 grep -v '^ *+' conftest.err
>conftest.er1
1815 cat conftest.er1
>&5
1816 mv -f conftest.er1 conftest.err
1818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1819 test $ac_status = 0; } && {
1820 test -z "$ac_cxx_werror_flag" ||
1821 test ! -s conftest.err
1822 } && test -s conftest.
$ac_objext; then :
1825 $as_echo "$as_me: failed program was:" >&5
1826 sed 's/^/| /' conftest.
$ac_ext >&5
1830 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1831 as_fn_set_status
$ac_retval
1833 } # ac_fn_cxx_try_compile
1835 # ac_fn_c_try_compile LINENO
1836 # --------------------------
1837 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1838 ac_fn_c_try_compile
()
1840 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1841 rm -f conftest.
$ac_objext
1842 if { { ac_try
="$ac_compile"
1844 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1845 *) ac_try_echo=$ac_try;;
1847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1848 $as_echo "$ac_try_echo"; } >&5
1849 (eval "$ac_compile") 2>conftest.err
1851 if test -s conftest.err; then
1852 grep -v '^ *+' conftest.err >conftest.er1
1853 cat conftest.er1 >&5
1854 mv -f conftest.er1 conftest.err
1856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1857 test $ac_status = 0; } && {
1858 test -z "$ac_c_werror_flag" ||
1859 test ! -s conftest.err
1860 } && test -s conftest.$ac_objext; then :
1863 $as_echo "$as_me: failed program was:" >&5
1864 sed 's/^/| /' conftest.$ac_ext >&5
1868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1869 as_fn_set_status $ac_retval
1871 } # ac_fn_c_try_compile
1873 # ac_fn_c_try_cpp LINENO
1874 # ----------------------
1875 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1879 if { { ac_try="$ac_cpp conftest.$ac_ext"
1881 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1882 *) ac_try_echo
=$ac_try;;
1884 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1885 $as_echo "$ac_try_echo"; } >&5
1886 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1888 if test -s conftest.err
; then
1889 grep -v '^ *+' conftest.err
>conftest.er1
1890 cat conftest.er1
>&5
1891 mv -f conftest.er1 conftest.err
1893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1894 test $ac_status = 0; } > conftest.i
&& {
1895 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1896 test ! -s conftest.err
1900 $as_echo "$as_me: failed program was:" >&5
1901 sed 's/^/| /' conftest.
$ac_ext >&5
1905 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1906 as_fn_set_status
$ac_retval
1910 # ac_fn_c_try_link LINENO
1911 # -----------------------
1912 # Try to link conftest.$ac_ext, and return whether this succeeded.
1915 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1916 rm -f conftest.
$ac_objext conftest
$ac_exeext
1917 if { { ac_try
="$ac_link"
1919 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1920 *) ac_try_echo=$ac_try;;
1922 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1923 $as_echo "$ac_try_echo"; } >&5
1924 (eval "$ac_link") 2>conftest.err
1926 if test -s conftest.err; then
1927 grep -v '^ *+' conftest.err >conftest.er1
1928 cat conftest.er1 >&5
1929 mv -f conftest.er1 conftest.err
1931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1932 test $ac_status = 0; } && {
1933 test -z "$ac_c_werror_flag" ||
1934 test ! -s conftest.err
1935 } && test -s conftest$ac_exeext && {
1936 test "$cross_compiling" = yes ||
1937 test -x conftest$ac_exeext
1941 $as_echo "$as_me: failed program was:" >&5
1942 sed 's/^/| /' conftest.$ac_ext >&5
1946 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1947 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1948 # interfere with the next link command; also delete a directory that is
1949 # left behind by Apple's compiler. We do this before executing the actions.
1950 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1951 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1952 as_fn_set_status $ac_retval
1954 } # ac_fn_c_try_link
1956 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1957 # -------------------------------------------------------
1958 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1959 # the include files in INCLUDES and setting the cache variable VAR
1961 ac_fn_c_check_header_mongrel ()
1963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1964 if eval \${$3+:} false; then :
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1966 $as_echo_n "checking for $2... " >&6; }
1967 if eval \${$3+:} false; then :
1968 $as_echo_n "(cached) " >&6
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1972 $as_echo "$ac_res" >&6; }
1974 # Is the header compilable?
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1976 $as_echo_n "checking $2 usability... " >&6; }
1977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1978 /* end confdefs.h. */
1982 if ac_fn_c_try_compile "$LINENO"; then :
1983 ac_header_compiler=yes
1985 ac_header_compiler=no
1987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1989 $as_echo "$ac_header_compiler" >&6; }
1991 # Is the header present?
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1993 $as_echo_n "checking $2 presence... " >&6; }
1994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1995 /* end confdefs.h. */
1998 if ac_fn_c_try_cpp "$LINENO"; then :
1999 ac_header_preproc=yes
2001 ac_header_preproc=no
2003 rm -f conftest.err conftest.i conftest.$ac_ext
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2005 $as_echo "$ac_header_preproc" >&6; }
2007 # So? What about this header?
2008 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2011 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2013 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2017 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2019 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2021 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2023 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2025 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2029 $as_echo_n "checking for $2... " >&6; }
2030 if eval \${$3+:} false; then :
2031 $as_echo_n "(cached) " >&6
2033 eval "$3=\$ac_header_compiler"
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2037 $as_echo "$ac_res" >&6; }
2039 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2041 } # ac_fn_c_check_header_mongrel
2043 # ac_fn_c_try_run LINENO
2044 # ----------------------
2045 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2046 # that executables *can* be run.
2049 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2050 if { { ac_try="$ac_link"
2052 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2053 *) ac_try_echo
=$ac_try;;
2055 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2056 $as_echo "$ac_try_echo"; } >&5
2057 (eval "$ac_link") 2>&5
2059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2060 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2061 { { case "(($ac_try" in
2062 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2063 *) ac_try_echo=$ac_try;;
2065 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2066 $as_echo "$ac_try_echo"; } >&5
2067 (eval "$ac_try") 2>&5
2069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2070 test $ac_status = 0; }; }; then :
2073 $as_echo "$as_me: program exited with status $ac_status" >&5
2074 $as_echo "$as_me: failed program was:" >&5
2075 sed 's/^/| /' conftest.$ac_ext >&5
2077 ac_retval=$ac_status
2079 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2080 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2081 as_fn_set_status $ac_retval
2085 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2086 # -------------------------------------------------------
2087 # Tests whether HEADER exists and can be compiled using the include files in
2088 # INCLUDES, setting the cache variable VAR accordingly.
2089 ac_fn_c_check_header_compile ()
2091 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2093 $as_echo_n "checking for $2... " >&6; }
2094 if eval \${$3+:} false; then :
2095 $as_echo_n "(cached) " >&6
2097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098 /* end confdefs.h. */
2102 if ac_fn_c_try_compile "$LINENO"; then :
2107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2111 $as_echo "$ac_res" >&6; }
2112 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2114 } # ac_fn_c_check_header_compile
2116 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2117 # ----------------------------------------------------
2118 # Tries to find if the field MEMBER exists in type AGGR, after including
2119 # INCLUDES, setting cache variable VAR accordingly.
2120 ac_fn_c_check_member ()
2122 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2124 $as_echo_n "checking for $2.$3... " >&6; }
2125 if eval \${$4+:} false; then :
2126 $as_echo_n "(cached) " >&6
2128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2129 /* end confdefs.h. */
2141 if ac_fn_c_try_compile "$LINENO"; then :
2144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2145 /* end confdefs.h. */
2151 if (sizeof ac_aggr.$3)
2157 if ac_fn_c_try_compile "$LINENO"; then :
2162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2168 $as_echo "$ac_res" >&6; }
2169 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2171 } # ac_fn_c_check_member
2173 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2174 # ---------------------------------------------
2175 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2177 ac_fn_c_check_decl ()
2179 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2180 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2181 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2183 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2184 if eval \${$3+:} false; then :
2185 $as_echo_n "(cached) " >&6
2187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2188 /* end confdefs.h. */
2193 #ifndef $as_decl_name
2195 (void) $as_decl_use;
2197 (void) $as_decl_name;
2205 if ac_fn_c_try_compile "$LINENO"; then :
2210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2214 $as_echo "$ac_res" >&6; }
2215 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2217 } # ac_fn_c_check_decl
2219 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2220 # -------------------------------------------
2221 # Tests whether TYPE exists after having included INCLUDES, setting cache
2222 # variable VAR accordingly.
2223 ac_fn_c_check_type ()
2225 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2227 $as_echo_n "checking for $2... " >&6; }
2228 if eval \${$3+:} false; then :
2229 $as_echo_n "(cached) " >&6
2232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2233 /* end confdefs.h. */
2244 if ac_fn_c_try_compile "$LINENO"; then :
2245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2246 /* end confdefs.h. */
2257 if ac_fn_c_try_compile "$LINENO"; then :
2262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2268 $as_echo "$ac_res" >&6; }
2269 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2271 } # ac_fn_c_check_type
2273 # ac_fn_c_check_func LINENO FUNC VAR
2274 # ----------------------------------
2275 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2276 ac_fn_c_check_func ()
2278 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2280 $as_echo_n "checking for $2... " >&6; }
2281 if eval \${$3+:} false; then :
2282 $as_echo_n "(cached) " >&6
2284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2285 /* end confdefs.h. */
2286 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2288 #define $2 innocuous_$2
2290 /* System header to define __stub macros and hopefully few prototypes,
2291 which can conflict with char $2 (); below.
2292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2293 <limits.h> exists even on freestanding compilers. */
2296 # include <limits.h>
2298 # include <assert.h>
2303 /* Override any GCC internal prototype to avoid an error.
2304 Use char because int might match the return type of a GCC
2305 builtin and then its argument prototype would still apply. */
2310 /* The GNU C library defines this for functions which it implements
2311 to always fail with ENOSYS. Some functions are actually named
2312 something starting with __ and the normal name is an alias. */
2313 #if defined __stub_$2 || defined __stub___$2
2325 if ac_fn_c_try_link "$LINENO"; then :
2330 rm -f core conftest.err conftest.$ac_objext \
2331 conftest$ac_exeext conftest.$ac_ext
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2335 $as_echo "$ac_res" >&6; }
2336 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2338 } # ac_fn_c_check_func
2339 cat >config.log <<_ACEOF
2340 This file contains any messages produced by compilers while
2341 running configure, to aid debugging if configure makes a mistake.
2343 It was created by $as_me, which was
2344 generated by GNU Autoconf 2.69. Invocation command line was
2356 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2357 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2358 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2359 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2360 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2362 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2363 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2365 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2366 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2367 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2368 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2369 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2370 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2371 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2379 test -z "$as_dir" && as_dir=.
2380 $as_echo "PATH: $as_dir"
2396 # Keep a trace of the command line.
2397 # Strip out --no-create and --no-recursion so they do not pile up.
2398 # Strip out --silent because we don't want to record it for future runs.
2399 # Also quote any args containing shell meta-characters.
2400 # Make two passes to allow for proper duplicate-argument suppression.
2404 ac_must_keep_next=false
2410 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2411 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2412 | -silent | --silent | --silen | --sile | --sil)
2415 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2418 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2420 as_fn_append ac_configure_args1 " '$ac_arg'"
2421 if test $ac_must_keep_next = true; then
2422 ac_must_keep_next=false # Got value, back to normal.
2425 *=* | --config-cache | -C | -disable-* | --disable-* \
2426 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2427 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2428 | -with-* | --with-* | -without-* | --without-* | --x)
2429 case "$ac_configure_args0 " in
2430 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2433 -* ) ac_must_keep_next=true ;;
2436 as_fn_append ac_configure_args " '$ac_arg'"
2441 { ac_configure_args0=; unset ac_configure_args0;}
2442 { ac_configure_args1=; unset ac_configure_args1;}
2444 # When interrupted or exit'd, cleanup temporary files, and complete
2445 # config.log. We remove comments because anyway the quotes in there
2446 # would cause problems or look ugly.
2447 # WARNING: Use '\'' to represent an apostrophe within the trap.
2448 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2449 trap 'exit_status=$?
2450 # Save into config.log some information that might help in debugging.
2454 $as_echo "## ---------------- ##
2455 ## Cache variables. ##
2456 ## ---------------- ##"
2458 # The following way of writing the cache mishandles newlines in values,
2460 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2461 eval ac_val=\$$ac_var
2465 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2466 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2469 _ | IFS | as_nl) ;; #(
2470 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2471 *) { eval $ac_var=; unset $ac_var;} ;;
2476 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2477 *${as_nl}ac_space=\ *)
2479 "s/'\''/'\''\\\\'\'''\''/g;
2480 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2483 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2490 $as_echo "## ----------------- ##
2491 ## Output variables. ##
2492 ## ----------------- ##"
2494 for ac_var in $ac_subst_vars
2496 eval ac_val=\$$ac_var
2498 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2500 $as_echo "$ac_var='\''$ac_val'\''"
2504 if test -n "$ac_subst_files"; then
2505 $as_echo "## ------------------- ##
2506 ## File substitutions. ##
2507 ## ------------------- ##"
2509 for ac_var in $ac_subst_files
2511 eval ac_val=\$$ac_var
2513 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2515 $as_echo "$ac_var='\''$ac_val'\''"
2520 if test -s confdefs.h; then
2521 $as_echo "## ----------- ##
2528 test "$ac_signal" != 0 &&
2529 $as_echo "$as_me: caught signal $ac_signal"
2530 $as_echo "$as_me: exit $exit_status"
2532 rm -f core *.core core.conftest.* &&
2533 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2536 for ac_signal in 1 2 13 15; do
2537 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2541 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2542 rm -f -r conftest* confdefs.h
2544 $as_echo "/* confdefs.h */" > confdefs.h
2546 # Predefined preprocessor variables.
2548 cat >>confdefs.h <<_ACEOF
2549 #define PACKAGE_NAME "$PACKAGE_NAME"
2552 cat >>confdefs.h <<_ACEOF
2553 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2556 cat >>confdefs.h <<_ACEOF
2557 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2560 cat >>confdefs.h <<_ACEOF
2561 #define PACKAGE_STRING "$PACKAGE_STRING"
2564 cat >>confdefs.h <<_ACEOF
2565 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2568 cat >>confdefs.h <<_ACEOF
2569 #define PACKAGE_URL "$PACKAGE_URL"
2573 # Let the site file select an alternate cache file if it wants to.
2574 # Prefer an explicitly selected file to automatically selected ones.
2577 if test -n "$CONFIG_SITE"; then
2578 # We do not want a PATH search for config.site.
2579 case $CONFIG_SITE in #((
2580 -*) ac_site_file1=./$CONFIG_SITE;;
2581 */*) ac_site_file1=$CONFIG_SITE;;
2582 *) ac_site_file1=./$CONFIG_SITE;;
2584 elif test "x$prefix" != xNONE; then
2585 ac_site_file1=$prefix/share/config.site
2586 ac_site_file2=$prefix/etc/config.site
2588 ac_site_file1=$ac_default_prefix/share/config.site
2589 ac_site_file2=$ac_default_prefix/etc/config.site
2591 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2593 test "x$ac_site_file" = xNONE && continue
2594 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2596 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2597 sed 's/^/| /' "$ac_site_file" >&5
2599 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2601 as_fn_error $? "failed to load site
script $ac_site_file
2602 See \
`config.log' for more details" "$LINENO" 5; }
2606 if test -r "$cache_file"; then
2607 # Some versions of bash will fail to source /dev/null (special files
2608 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2609 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2611 $as_echo "$as_me: loading cache $cache_file" >&6;}
2613 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2614 *) . "./$cache_file";;
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2619 $as_echo "$as_me: creating cache $cache_file" >&6;}
2623 as_fn_append ac_header_list " stdlib.h"
2624 as_fn_append ac_header_list " unistd.h"
2625 as_fn_append ac_header_list " sys/param.h"
2626 # Check that the precious variables saved in the cache have kept the same
2628 ac_cache_corrupted=false
2629 for ac_var in $ac_precious_vars; do
2630 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2631 eval ac_new_set=\$ac_env_${ac_var}_set
2632 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2633 eval ac_new_val=\$ac_env_${ac_var}_value
2634 case $ac_old_set,$ac_new_set in
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2637 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2638 ac_cache_corrupted=: ;;
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2641 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2642 ac_cache_corrupted=: ;;
2645 if test "x$ac_old_val" != "x$ac_new_val"; then
2646 # differences in whitespace do not lead to failure.
2647 ac_old_val_w=`echo x
$ac_old_val`
2648 ac_new_val_w=`echo x
$ac_new_val`
2649 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2651 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2652 ac_cache_corrupted=:
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2655 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2656 eval $ac_var=\$ac_old_val
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2659 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2661 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2664 # Pass precious variables to config.status.
2665 if test "$ac_new_set" = set; then
2667 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2668 *) ac_arg=$ac_var=$ac_new_val ;;
2670 case " $ac_configure_args " in
2671 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2672 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2676 if $ac_cache_corrupted; then
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2678 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2680 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2681 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2683 ## -------------------- ##
2684 ## Main body of script. ##
2685 ## -------------------- ##
2688 ac_cpp='$CPP $CPPFLAGS'
2689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2696 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2697 if test -f "$ac_dir/install-sh"; then
2699 ac_install_sh="$ac_aux_dir/install-sh -c"
2701 elif test -f "$ac_dir/install.sh"; then
2703 ac_install_sh="$ac_aux_dir/install.sh -c"
2705 elif test -f "$ac_dir/shtool"; then
2707 ac_install_sh="$ac_aux_dir/shtool install -c"
2711 if test -z "$ac_aux_dir"; then
2712 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2715 # These three variables are undocumented and unsupported,
2716 # and are intended to be withdrawn in a future Autoconf release.
2717 # They can cause serious problems if a builder's source tree is in a directory
2718 # whose full name contains unusual characters.
2719 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2720 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2721 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2725 # Check what host we are running on.
2726 # If a target is not suggested, we use this one.
2727 # Note that what we call a target, Autoconf calls a host.
2728 # Make sure we can run config.sub.
2729 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2730 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2733 $as_echo_n "checking build system type... " >&6; }
2734 if ${ac_cv_build+:} false; then :
2735 $as_echo_n "(cached) " >&6
2737 ac_build_alias=$build_alias
2738 test "x$ac_build_alias" = x &&
2739 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2740 test "x$ac_build_alias" = x &&
2741 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2742 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2743 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2747 $as_echo "$ac_cv_build" >&6; }
2748 case $ac_cv_build in
2750 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2753 ac_save_IFS=$IFS; IFS='-'
2759 # Remember, the first character of IFS is used to create $*,
2760 # except with old shells:
2763 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2767 $as_echo_n "checking host system type... " >&6; }
2768 if ${ac_cv_host+:} false; then :
2769 $as_echo_n "(cached) " >&6
2771 if test "x$host_alias" = x; then
2772 ac_cv_host=$ac_cv_build
2774 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2775 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2780 $as_echo "$ac_cv_host" >&6; }
2783 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2786 ac_save_IFS=$IFS; IFS='-'
2792 # Remember, the first character of IFS is used to create $*,
2793 # except with old shells:
2796 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2800 # Default versions for the gnu tools we build
2801 default_gcc_version="4.6.4"
2802 default_binutils_version="2.23.2"
2803 default_grub2_version="2.02"
2804 target_grub2_version=$default_grub2_version
2806 # The AROS target is slightly different to the normal GNU style
2807 # format. We don't have the middle part, and we reverse the order
2808 # of the $(CPU) and $(OS) bits.
2810 # Don't strip the version of the target yet, it might be
2811 # useful on some systems.
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2814 $as_echo_n "checking for AROS style target... " >&6; }
2816 if test "$target" = "NONE" ; then
2817 target=$host_os-$host_cpu
2819 if test "$target" = "" ; then
2820 target=$host_os-$host_cpu
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2824 $as_echo "$target" >&6; }
2826 if test "$host_os" = "mingw32" ; then
2830 # Don't know where else to put this...
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2832 $as_echo_n "checking building AROS in... " >&6; }
2833 AROS_BUILDDIR=`${PWDCMD-pwd}`
2834 AROS_BUILDDIR_UNIX=${PWD}
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2836 $as_echo "$AROS_BUILDDIR" >&6; }
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2839 $as_echo_n "checking AROS source in... " >&6; }
2840 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2843 $as_echo "$SRCDIR" >&6; }
2845 # Parse the target field into something useful.
2847 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2848 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2851 # Some debug output, to be removed again.
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2853 $as_echo_n "checking for target system (debug output)... " >&6; }
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2855 $as_echo "$target_os" >&6; }
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2857 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2859 $as_echo "$target_cpu" >&6; }
2861 aros_nominal_width=800
2862 aros_nominal_height=600
2863 aros_nominal_depth=4
2866 default_c_compilers="gcc clang cc"
2868 # Check whether --with-c-compiler was given.
2869 if test "${with_c_compiler+set}" = set; then :
2870 withval=$with_c_compiler; use_c_compiler="$withval"
2875 if test "$use_c_compiler" = ""; then
2876 host_c_compilers="$default_c_compilers"
2878 host_c_compilers="$use_c_compiler"
2881 default_cxx_compilers="g++ clang++ c++"
2883 # Check whether --with-cxx-compiler was given.
2884 if test "${with_cxx_compiler+set}" = set; then :
2885 withval=$with_cxx_compiler; use_cxx_compiler="$withval"
2890 if test "$use_cxx_compiler" = ""; then
2891 host_cxx_compilers="$default_cxx_compilers"
2893 host_cxx_compilers="$use_cxx_compiler"
2897 # The first step is to find the host binaries.
2898 # Check for a compiler.
2899 # Due to a bug in autoconf check for c++ compiler first.
2900 # For mor info see, http://osdir.com/ml/bug-autoconf-gnu/2010-05/msg00001.html.
2902 ac_cpp='$CXXCPP $CPPFLAGS'
2903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2906 if test -z "$CXX"; then
2907 if test -n "$CCC"; then
2910 if test -n "$ac_tool_prefix"; then
2911 for ac_prog in ${host_cxx_compilers}
2913 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2914 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2916 $as_echo_n "checking for $ac_word... " >&6; }
2917 if ${ac_cv_prog_CXX+:} false; then :
2918 $as_echo_n "(cached) " >&6
2920 if test -n "$CXX"; then
2921 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2927 test -z "$as_dir" && as_dir=.
2928 for ac_exec_ext in '' $ac_executable_extensions; do
2929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2930 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2941 if test -n "$CXX"; then
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2943 $as_echo "$CXX" >&6; }
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2946 $as_echo "no" >&6; }
2950 test -n "$CXX" && break
2953 if test -z "$CXX"; then
2955 for ac_prog in ${host_cxx_compilers}
2957 # Extract the first word of "$ac_prog", so it can be a program name with args.
2958 set dummy $ac_prog; ac_word=$2
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2960 $as_echo_n "checking for $ac_word... " >&6; }
2961 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2962 $as_echo_n "(cached) " >&6
2964 if test -n "$ac_ct_CXX"; then
2965 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2971 test -z "$as_dir" && as_dir=.
2972 for ac_exec_ext in '' $ac_executable_extensions; do
2973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2974 ac_cv_prog_ac_ct_CXX="$ac_prog"
2975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2984 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2985 if test -n "$ac_ct_CXX"; then
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2987 $as_echo "$ac_ct_CXX" >&6; }
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2990 $as_echo "no" >&6; }
2994 test -n "$ac_ct_CXX" && break
2997 if test "x$ac_ct_CXX" = x; then
3000 case $cross_compiling:$ac_tool_warned in
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3004 ac_tool_warned=yes ;;
3012 # Provide some information about the compiler.
3013 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3016 for ac_option in --version -v -V -qversion; do
3017 { { ac_try="$ac_compiler $ac_option >&5"
3019 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3020 *) ac_try_echo
=$ac_try;;
3022 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3023 $as_echo "$ac_try_echo"; } >&5
3024 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3026 if test -s conftest.err
; then
3028 ... rest of stderr output deleted ...
3029 10q' conftest.err
>conftest.er1
3030 cat conftest.er1
>&5
3032 rm -f conftest.er1 conftest.err
3033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3034 test $ac_status = 0; }
3037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3038 /* end confdefs.h. */
3048 ac_clean_files_save
=$ac_clean_files
3049 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3050 # Try to create an executable without -o first, disregard a.out.
3051 # It will help us diagnose broken compilers, and finding out an intuition
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3054 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3055 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3057 # The possible output files:
3058 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3061 for ac_file
in $ac_files
3064 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3065 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3070 if { { ac_try
="$ac_link_default"
3072 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3073 *) ac_try_echo=$ac_try;;
3075 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3076 $as_echo "$ac_try_echo"; } >&5
3077 (eval "$ac_link_default") 2>&5
3079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3080 test $ac_status = 0; }; then :
3081 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3082 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3083 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3084 # so that the user can short-circuit this test for compilers unknown to
3086 for ac_file in $ac_files ''
3088 test -f "$ac_file" || continue
3090 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3093 # We found the default executable, but exeext='' is most
3097 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3099 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3101 # We set ac_cv_exeext here because the later test for it is not
3102 # safe: cross compilers may not add the suffix if given an `-o'
3103 # argument, so we may need to know it at that point already.
3104 # Even if this section looks crufty: it has the advantage of
3111 test "$ac_cv_exeext" = no && ac_cv_exeext=
3116 if test -z "$ac_file"; then :
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3118 $as_echo "no" >&6; }
3119 $as_echo "$as_me: failed program was:" >&5
3120 sed 's
/^
/|
/' conftest.$ac_ext >&5
3122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3123 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3124 as_fn_error 77 "C++ compiler cannot create executables
3125 See \`config.log
' for more details" "$LINENO" 5; }
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3128 $as_echo "yes" >&6; }
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3131 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3133 $as_echo "$ac_file" >&6; }
3134 ac_exeext=$ac_cv_exeext
3136 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3137 ac_clean_files=$ac_clean_files_save
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3139 $as_echo_n "checking for suffix of executables... " >&6; }
3140 if { { ac_try="$ac_link"
3142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3143 *) ac_try_echo=$ac_try;;
3145 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3146 $as_echo "$ac_try_echo"; } >&5
3147 (eval "$ac_link") 2>&5
3149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3150 test $ac_status = 0; }; then :
3151 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3152 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3153 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3155 for ac_file
in conftest.exe conftest conftest.
*; do
3156 test -f "$ac_file" ||
continue
3158 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3159 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3165 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3167 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3168 See \`config.log' for more details" "$LINENO" 5; }
3170 rm -f conftest conftest
$ac_cv_exeext
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3172 $as_echo "$ac_cv_exeext" >&6; }
3174 rm -f conftest.
$ac_ext
3175 EXEEXT
=$ac_cv_exeext
3177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3178 /* end confdefs.h. */
3183 FILE *f = fopen ("conftest.out", "w");
3184 return ferror (f) || fclose (f) != 0;
3190 ac_clean_files
="$ac_clean_files conftest.out"
3191 # Check that the compiler produces executables we can run. If not, either
3192 # the compiler is broken, or we cross compile.
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3194 $as_echo_n "checking whether we are cross compiling... " >&6; }
3195 if test "$cross_compiling" != yes; then
3196 { { ac_try
="$ac_link"
3198 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3199 *) ac_try_echo=$ac_try;;
3201 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3202 $as_echo "$ac_try_echo"; } >&5
3203 (eval "$ac_link") 2>&5
3205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3206 test $ac_status = 0; }
3207 if { ac_try='./conftest$ac_cv_exeext'
3208 { { case "(($ac_try" in
3209 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3210 *) ac_try_echo
=$ac_try;;
3212 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3213 $as_echo "$ac_try_echo"; } >&5
3214 (eval "$ac_try") 2>&5
3216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3217 test $ac_status = 0; }; }; then
3220 if test "$cross_compiling" = maybe
; then
3223 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3225 as_fn_error $?
"cannot run C++ compiled programs.
3226 If you meant to cross compile, use \`--host'.
3227 See \`config.log' for more details" "$LINENO" 5; }
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3232 $as_echo "$cross_compiling" >&6; }
3234 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3235 ac_clean_files
=$ac_clean_files_save
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3237 $as_echo_n "checking for suffix of object files... " >&6; }
3238 if ${ac_cv_objext+:} false
; then :
3239 $as_echo_n "(cached) " >&6
3241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3242 /* end confdefs.h. */
3252 rm -f conftest.o conftest.obj
3253 if { { ac_try
="$ac_compile"
3255 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3256 *) ac_try_echo=$ac_try;;
3258 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3259 $as_echo "$ac_try_echo"; } >&5
3260 (eval "$ac_compile") 2>&5
3262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3263 test $ac_status = 0; }; then :
3264 for ac_file in conftest.o conftest.obj conftest.*; do
3265 test -f "$ac_file" || continue;
3267 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3268 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3273 $as_echo "$as_me: failed program was:" >&5
3274 sed 's/^/| /' conftest.$ac_ext >&5
3276 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3278 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3279 See \
`config.log' for more details" "$LINENO" 5; }
3281 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3284 $as_echo "$ac_cv_objext" >&6; }
3285 OBJEXT=$ac_cv_objext
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3288 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3289 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3290 $as_echo_n "(cached) " >&6
3292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3293 /* end confdefs.h. */
3306 if ac_fn_cxx_try_compile "$LINENO"; then :
3311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3312 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3316 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3317 if test $ac_compiler_gnu = yes; then
3322 ac_test_CXXFLAGS=${CXXFLAGS+set}
3323 ac_save_CXXFLAGS=$CXXFLAGS
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3325 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3326 if ${ac_cv_prog_cxx_g+:} false; then :
3327 $as_echo_n "(cached) " >&6
3329 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3330 ac_cxx_werror_flag=yes
3333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3334 /* end confdefs.h. */
3344 if ac_fn_cxx_try_compile "$LINENO"; then :
3345 ac_cv_prog_cxx_g=yes
3348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3349 /* end confdefs.h. */
3359 if ac_fn_cxx_try_compile "$LINENO"; then :
3362 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3365 /* end confdefs.h. */
3375 if ac_fn_cxx_try_compile "$LINENO"; then :
3376 ac_cv_prog_cxx_g=yes
3378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3383 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3386 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3387 if test "$ac_test_CXXFLAGS" = set; then
3388 CXXFLAGS=$ac_save_CXXFLAGS
3389 elif test $ac_cv_prog_cxx_g = yes; then
3390 if test "$GXX" = yes; then
3396 if test "$GXX" = yes; then
3403 ac_cpp='$CPP $CPPFLAGS'
3404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3409 ac_cpp='$CPP $CPPFLAGS'
3410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3413 if test -n "$ac_tool_prefix"; then
3414 for ac_prog in ${host_c_compilers}
3416 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3417 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3419 $as_echo_n "checking for $ac_word... " >&6; }
3420 if ${ac_cv_prog_CC+:} false; then :
3421 $as_echo_n "(cached) " >&6
3423 if test -n "$CC"; then
3424 ac_cv_prog_CC="$CC" # Let the user override the test.
3426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3430 test -z "$as_dir" && as_dir=.
3431 for ac_exec_ext in '' $ac_executable_extensions; do
3432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3433 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3444 if test -n "$CC"; then
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3446 $as_echo "$CC" >&6; }
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3449 $as_echo "no" >&6; }
3453 test -n "$CC" && break
3456 if test -z "$CC"; then
3458 for ac_prog in ${host_c_compilers}
3460 # Extract the first word of "$ac_prog", so it can be a program name with args.
3461 set dummy $ac_prog; ac_word=$2
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3463 $as_echo_n "checking for $ac_word... " >&6; }
3464 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3465 $as_echo_n "(cached) " >&6
3467 if test -n "$ac_ct_CC"; then
3468 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3474 test -z "$as_dir" && as_dir=.
3475 for ac_exec_ext in '' $ac_executable_extensions; do
3476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3477 ac_cv_prog_ac_ct_CC="$ac_prog"
3478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3487 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3488 if test -n "$ac_ct_CC"; then
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3490 $as_echo "$ac_ct_CC" >&6; }
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3493 $as_echo "no" >&6; }
3497 test -n "$ac_ct_CC" && break
3500 if test "x$ac_ct_CC" = x; then
3503 case $cross_compiling:$ac_tool_warned in
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3507 ac_tool_warned=yes ;;
3514 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3516 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3517 See \
`config.log' for more details" "$LINENO" 5; }
3519 # Provide some information about the compiler.
3520 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3523 for ac_option in --version -v -V -qversion; do
3524 { { ac_try="$ac_compiler $ac_option >&5"
3526 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3527 *) ac_try_echo
=$ac_try;;
3529 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3530 $as_echo "$ac_try_echo"; } >&5
3531 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3533 if test -s conftest.err
; then
3535 ... rest of stderr output deleted ...
3536 10q' conftest.err
>conftest.er1
3537 cat conftest.er1
>&5
3539 rm -f conftest.er1 conftest.err
3540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3541 test $ac_status = 0; }
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3545 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3546 if ${ac_cv_c_compiler_gnu+:} false
; then :
3547 $as_echo_n "(cached) " >&6
3549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3550 /* end confdefs.h. */
3563 if ac_fn_c_try_compile
"$LINENO"; then :
3568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3569 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3573 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3574 if test $ac_compiler_gnu = yes; then
3579 ac_test_CFLAGS
=${CFLAGS+set}
3580 ac_save_CFLAGS
=$CFLAGS
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3582 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3583 if ${ac_cv_prog_cc_g+:} false
; then :
3584 $as_echo_n "(cached) " >&6
3586 ac_save_c_werror_flag
=$ac_c_werror_flag
3587 ac_c_werror_flag
=yes
3590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3591 /* end confdefs.h. */
3601 if ac_fn_c_try_compile
"$LINENO"; then :
3605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3606 /* end confdefs.h. */
3616 if ac_fn_c_try_compile
"$LINENO"; then :
3619 ac_c_werror_flag
=$ac_save_c_werror_flag
3621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3622 /* end confdefs.h. */
3632 if ac_fn_c_try_compile
"$LINENO"; then :
3635 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3640 ac_c_werror_flag
=$ac_save_c_werror_flag
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3643 $as_echo "$ac_cv_prog_cc_g" >&6; }
3644 if test "$ac_test_CFLAGS" = set; then
3645 CFLAGS
=$ac_save_CFLAGS
3646 elif test $ac_cv_prog_cc_g = yes; then
3647 if test "$GCC" = yes; then
3653 if test "$GCC" = yes; then
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3660 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3661 if ${ac_cv_prog_cc_c89+:} false
; then :
3662 $as_echo_n "(cached) " >&6
3664 ac_cv_prog_cc_c89
=no
3666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3667 /* end confdefs.h. */
3671 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3672 struct buf { int x; };
3673 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3674 static char *e (p, i)
3680 static char *f (char * (*g) (char **, int), char **p, ...)
3685 s = g (p, va_arg (v,int));
3690 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3691 function prototypes and stuff, but not '\xHH' hex character constants.
3692 These don't provoke an error unfortunately, instead are silently treated
3693 as 'x'. The following induces an error, until -std is added to get
3694 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3695 array size at least. It's necessary to write '\x00'==0 to get something
3696 that's true only with -std. */
3697 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3699 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3700 inside strings and character constants. */
3702 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3704 int test (int i, double x);
3705 struct s1 {int (*f) (int a);};
3706 struct s2 {int (*f) (double a);};
3707 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3713 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3718 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3719 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3721 CC
="$ac_save_CC $ac_arg"
3722 if ac_fn_c_try_compile
"$LINENO"; then :
3723 ac_cv_prog_cc_c89
=$ac_arg
3725 rm -f core conftest.err conftest.
$ac_objext
3726 test "x$ac_cv_prog_cc_c89" != "xno" && break
3728 rm -f conftest.
$ac_ext
3733 case "x$ac_cv_prog_cc_c89" in
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3736 $as_echo "none needed" >&6; } ;;
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3739 $as_echo "unsupported" >&6; } ;;
3741 CC
="$CC $ac_cv_prog_cc_c89"
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3743 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3745 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3750 ac_cpp
='$CPP $CPPFLAGS'
3751 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3752 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3753 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3755 aros_host_def_cc
="$CC"
3756 case $ac_cv_prog_cc_stdc in #(
3758 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3761 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3762 if ${ac_cv_prog_cc_c99+:} false
; then :
3763 $as_echo_n "(cached) " >&6
3765 ac_cv_prog_cc_c99
=no
3767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3768 /* end confdefs.h. */
3770 #include <stdbool.h>
3775 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3776 #define debug(...) fprintf (stderr, __VA_ARGS__)
3777 #define showlist(...) puts (#__VA_ARGS__)
3778 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3780 test_varargs_macros (void)
3785 debug ("X = %d\n", x);
3786 showlist (The first, second, and third items.);
3787 report (x>y, "x is %d but y is %d", x, y);
3790 // Check long long types.
3791 #define BIG64 18446744073709551615ull
3792 #define BIG32 4294967295ul
3793 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3795 your preprocessor is broken;
3799 your preprocessor is broken;
3801 static long long int bignum = -9223372036854775807LL;
3802 static unsigned long long int ubignum = BIG64;
3804 struct incomplete_array
3812 const wchar_t *name;
3816 typedef const char *ccp;
3819 test_restrict (ccp restrict text)
3821 // See if C++-style comments work.
3822 // Iterate through items via the restricted pointer.
3823 // Also check for declarations in for loops.
3824 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3829 // Check varargs and va_copy.
3831 test_varargs (const char *format, ...)
3834 va_start (args, format);
3836 va_copy (args_copy, args);
3847 str = va_arg (args_copy, const char *);
3850 number = va_arg (args_copy, int);
3853 fnumber = va_arg (args_copy, double);
3868 _Bool success = false;
3871 if (test_restrict ("String literal") == 0)
3873 char *restrict newvar = "Another string";
3876 test_varargs ("s, d' f .", "string", 65, 34.234);
3877 test_varargs_macros ();
3879 // Check flexible array members.
3880 struct incomplete_array *ia =
3881 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3883 for (int i = 0; i < ia->datasize; ++i)
3884 ia->data[i] = i * 1.234;
3886 // Check named initializers.
3887 struct named_init ni = {
3889 .name = L"Test wide string",
3890 .average = 543.34343,
3895 int dynamic_array[ni.number];
3896 dynamic_array[ni.number - 1] = 543;
3898 // work around unused variable warnings
3899 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3900 || dynamic_array[ni.number - 1] != 543);
3906 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
3908 CC
="$ac_save_CC $ac_arg"
3909 if ac_fn_c_try_compile
"$LINENO"; then :
3910 ac_cv_prog_cc_c99
=$ac_arg
3912 rm -f core conftest.err conftest.
$ac_objext
3913 test "x$ac_cv_prog_cc_c99" != "xno" && break
3915 rm -f conftest.
$ac_ext
3920 case "x$ac_cv_prog_cc_c99" in
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3923 $as_echo "none needed" >&6; } ;;
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3926 $as_echo "unsupported" >&6; } ;;
3928 CC
="$CC $ac_cv_prog_cc_c99"
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3930 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3932 if test "x$ac_cv_prog_cc_c99" != xno
; then :
3933 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3936 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3937 if ${ac_cv_prog_cc_c89+:} false
; then :
3938 $as_echo_n "(cached) " >&6
3940 ac_cv_prog_cc_c89
=no
3942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3943 /* end confdefs.h. */
3947 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3948 struct buf { int x; };
3949 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3950 static char *e (p, i)
3956 static char *f (char * (*g) (char **, int), char **p, ...)
3961 s = g (p, va_arg (v,int));
3966 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3967 function prototypes and stuff, but not '\xHH' hex character constants.
3968 These don't provoke an error unfortunately, instead are silently treated
3969 as 'x'. The following induces an error, until -std is added to get
3970 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3971 array size at least. It's necessary to write '\x00'==0 to get something
3972 that's true only with -std. */
3973 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3975 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3976 inside strings and character constants. */
3978 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3980 int test (int i, double x);
3981 struct s1 {int (*f) (int a);};
3982 struct s2 {int (*f) (double a);};
3983 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3989 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3994 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3995 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3997 CC
="$ac_save_CC $ac_arg"
3998 if ac_fn_c_try_compile
"$LINENO"; then :
3999 ac_cv_prog_cc_c89
=$ac_arg
4001 rm -f core conftest.err conftest.
$ac_objext
4002 test "x$ac_cv_prog_cc_c89" != "xno" && break
4004 rm -f conftest.
$ac_ext
4009 case "x$ac_cv_prog_cc_c89" in
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4012 $as_echo "none needed" >&6; } ;;
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4015 $as_echo "unsupported" >&6; } ;;
4017 CC
="$CC $ac_cv_prog_cc_c89"
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4019 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4021 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4022 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4024 ac_cv_prog_cc_stdc
=no
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4031 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4032 if ${ac_cv_prog_cc_stdc+:} false
; then :
4033 $as_echo_n "(cached) " >&6
4036 case $ac_cv_prog_cc_stdc in #(
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4039 $as_echo "unsupported" >&6; } ;; #(
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4042 $as_echo "none needed" >&6; } ;; #(
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4045 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4049 ac_cpp
='$CPP $CPPFLAGS'
4050 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4051 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4052 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4054 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4055 # On Suns, sometimes $CPP names a directory.
4056 if test -n "$CPP" && test -d "$CPP"; then
4059 if test -z "$CPP"; then
4060 if ${ac_cv_prog_CPP+:} false
; then :
4061 $as_echo_n "(cached) " >&6
4063 # Double quotes because CPP needs to be expanded
4064 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4067 for ac_c_preproc_warn_flag
in '' yes
4069 # Use a header file that comes with gcc, so configuring glibc
4070 # with a fresh cross-compiler works.
4071 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4072 # <limits.h> exists even on freestanding compilers.
4073 # On the NeXT, cc -E runs the code through the compiler's parser,
4074 # not just through cpp. "Syntax error" is here to catch this case.
4075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4076 /* end confdefs.h. */
4078 # include <limits.h>
4080 # include <assert.h>
4084 if ac_fn_c_try_cpp
"$LINENO"; then :
4087 # Broken: fails on valid input.
4090 rm -f conftest.err conftest.i conftest.
$ac_ext
4092 # OK, works on sane cases. Now check whether nonexistent headers
4093 # can be detected and how.
4094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h. */
4096 #include <ac_nonexistent.h>
4098 if ac_fn_c_try_cpp
"$LINENO"; then :
4099 # Broken: success on invalid input.
4102 # Passes both tests.
4106 rm -f conftest.err conftest.i conftest.
$ac_ext
4109 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4110 rm -f conftest.i conftest.err conftest.
$ac_ext
4111 if $ac_preproc_ok; then :
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4124 $as_echo "$CPP" >&6; }
4126 for ac_c_preproc_warn_flag
in '' yes
4128 # Use a header file that comes with gcc, so configuring glibc
4129 # with a fresh cross-compiler works.
4130 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4131 # <limits.h> exists even on freestanding compilers.
4132 # On the NeXT, cc -E runs the code through the compiler's parser,
4133 # not just through cpp. "Syntax error" is here to catch this case.
4134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4135 /* end confdefs.h. */
4137 # include <limits.h>
4139 # include <assert.h>
4143 if ac_fn_c_try_cpp
"$LINENO"; then :
4146 # Broken: fails on valid input.
4149 rm -f conftest.err conftest.i conftest.
$ac_ext
4151 # OK, works on sane cases. Now check whether nonexistent headers
4152 # can be detected and how.
4153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4154 /* end confdefs.h. */
4155 #include <ac_nonexistent.h>
4157 if ac_fn_c_try_cpp
"$LINENO"; then :
4158 # Broken: success on invalid input.
4161 # Passes both tests.
4165 rm -f conftest.err conftest.i conftest.
$ac_ext
4168 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4169 rm -f conftest.i conftest.err conftest.
$ac_ext
4170 if $ac_preproc_ok; then :
4173 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4175 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4176 See \`config.log' for more details" "$LINENO" 5; }
4180 ac_cpp
='$CPP $CPPFLAGS'
4181 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4182 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4183 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4186 # Check for a compatible awk
4187 for ac_prog
in gawk nawk
4189 # Extract the first word of "$ac_prog", so it can be a program name with args.
4190 set dummy
$ac_prog; ac_word
=$2
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4192 $as_echo_n "checking for $ac_word... " >&6; }
4193 if ${ac_cv_prog_AWK+:} false
; then :
4194 $as_echo_n "(cached) " >&6
4196 if test -n "$AWK"; then
4197 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4203 test -z "$as_dir" && as_dir
=.
4204 for ac_exec_ext
in '' $ac_executable_extensions; do
4205 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4206 ac_cv_prog_AWK
="$ac_prog"
4207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4217 if test -n "$AWK"; then
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4219 $as_echo "$AWK" >&6; }
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4222 $as_echo "no" >&6; }
4226 test -n "$AWK" && break
4230 if test "$AWK" = ""; then
4233 if test "$AWK" = "no"; then
4236 if test "$req_avail" = "no"; then
4237 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4239 # Extract the first word of "mmake", so it can be a program name with args.
4240 set dummy mmake
; ac_word
=$2
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4242 $as_echo_n "checking for $ac_word... " >&6; }
4243 if ${ac_cv_prog_MMAKE+:} false
; then :
4244 $as_echo_n "(cached) " >&6
4246 if test -n "$MMAKE"; then
4247 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4253 test -z "$as_dir" && as_dir
=.
4254 for ac_exec_ext
in '' $ac_executable_extensions; do
4255 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4256 ac_cv_prog_MMAKE
="mmake "
4257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4266 MMAKE
=$ac_cv_prog_MMAKE
4267 if test -n "$MMAKE"; then
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4269 $as_echo "$MMAKE" >&6; }
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4272 $as_echo "no" >&6; }
4277 # Perform some default variable assignments. Note all of these will be
4278 # Regenerated from the script, so there is no need to cache them.
4280 aros_build_host
=$host
4281 aros_host_cpp
="$CPP"
4283 aros_host_cxx
="$CXX"
4284 if test "$GCC" = "yes"; then
4285 aros_gcc_ld
=`$CC -print-prog-name=ld`
4286 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4287 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4289 $as_echo_n "checking for $ac_word... " >&6; }
4290 if ${ac_cv_path_aros_host_ld+:} false
; then :
4291 $as_echo_n "(cached) " >&6
4293 case $aros_host_ld in
4295 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4299 for as_dir
in `dirname $aros_gcc_ld`
4302 test -z "$as_dir" && as_dir
=.
4303 for ac_exec_ext
in '' $ac_executable_extensions; do
4304 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4305 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4316 aros_host_ld
=$ac_cv_path_aros_host_ld
4317 if test -n "$aros_host_ld"; then
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4319 $as_echo "$aros_host_ld" >&6; }
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4322 $as_echo "no" >&6; }
4327 if test "$aros_host_ld" = ""; then
4328 # Extract the first word of "ld", so it can be a program name with args.
4329 set dummy ld
; ac_word
=$2
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4331 $as_echo_n "checking for $ac_word... " >&6; }
4332 if ${ac_cv_path_aros_host_ld+:} false
; then :
4333 $as_echo_n "(cached) " >&6
4335 case $aros_host_ld in
4337 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4344 test -z "$as_dir" && as_dir
=.
4345 for ac_exec_ext
in '' $ac_executable_extensions; do
4346 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4347 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4358 aros_host_ld
=$ac_cv_path_aros_host_ld
4359 if test -n "$aros_host_ld"; then
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4361 $as_echo "$aros_host_ld" >&6; }
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4364 $as_echo "no" >&6; }
4370 if test "$aros_host_ld" = ""; then
4373 if test "$aros_host_ld" = "no"; then
4376 if test "$req_avail" = "no"; then
4377 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4379 aros_host_make
="make"
4380 aros_host_cflags
="$CFLAGS"
4381 aros_host_cxxflags
="$CXXFLAGS"
4382 aros_host_cppflags
="$CPPFLAGS"
4383 aros_host_ldflags
="$LDFLAGS"
4384 aros_host_debug
="-g -O0"
4385 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4386 aros_host_mkargs
="--no-print-directory"
4387 aros_host_exe_suffix
="$EXEEXT"
4388 aros_host_lib_suffix
=""
4390 # Ignore all compliance, AROS ROMs = 0
4391 # KickStart v1.0 = 30
4392 # KickStart v1.3 = 34
4393 # KickStart v2.0 = 37
4394 # KickStart v3.0 = 39
4395 # KickStart v3.1 = 40
4397 aros_amigaos_compliance
=0
4399 for ac_prog
in aclocal aclocal19 aclocal-1.9
4401 # Extract the first word of "$ac_prog", so it can be a program name with args.
4402 set dummy
$ac_prog; ac_word
=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4406 $as_echo_n "(cached) " >&6
4408 if test -n "$aros_host_aclocal"; then
4409 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4415 test -z "$as_dir" && as_dir
=.
4416 for ac_exec_ext
in '' $ac_executable_extensions; do
4417 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4418 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4428 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4429 if test -n "$aros_host_aclocal"; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4431 $as_echo "$aros_host_aclocal" >&6; }
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4438 test -n "$aros_host_aclocal" && break
4441 for ac_prog
in autoconf autoconf259 autoconf253
4443 # Extract the first word of "$ac_prog", so it can be a program name with args.
4444 set dummy
$ac_prog; ac_word
=$2
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4446 $as_echo_n "checking for $ac_word... " >&6; }
4447 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4448 $as_echo_n "(cached) " >&6
4450 if test -n "$aros_host_autoconf"; then
4451 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4457 test -z "$as_dir" && as_dir
=.
4458 for ac_exec_ext
in '' $ac_executable_extensions; do
4459 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4460 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4470 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4471 if test -n "$aros_host_autoconf"; then
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4473 $as_echo "$aros_host_autoconf" >&6; }
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4476 $as_echo "no" >&6; }
4480 test -n "$aros_host_autoconf" && break
4483 for ac_prog
in autoheader autoheader259 autoheader253
4485 # Extract the first word of "$ac_prog", so it can be a program name with args.
4486 set dummy
$ac_prog; ac_word
=$2
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4488 $as_echo_n "checking for $ac_word... " >&6; }
4489 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4490 $as_echo_n "(cached) " >&6
4492 if test -n "$aros_host_autoheader"; then
4493 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4499 test -z "$as_dir" && as_dir
=.
4500 for ac_exec_ext
in '' $ac_executable_extensions; do
4501 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4502 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4512 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4513 if test -n "$aros_host_autoheader"; then
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4515 $as_echo "$aros_host_autoheader" >&6; }
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4518 $as_echo "no" >&6; }
4522 test -n "$aros_host_autoheader" && break
4525 for ac_prog
in automake automake19 automake-1.9
4527 # Extract the first word of "$ac_prog", so it can be a program name with args.
4528 set dummy
$ac_prog; ac_word
=$2
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4530 $as_echo_n "checking for $ac_word... " >&6; }
4531 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4532 $as_echo_n "(cached) " >&6
4534 if test -n "$aros_host_automake"; then
4535 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4541 test -z "$as_dir" && as_dir
=.
4542 for ac_exec_ext
in '' $ac_executable_extensions; do
4543 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4544 ac_cv_prog_aros_host_automake
="$ac_prog"
4545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4554 aros_host_automake
=$ac_cv_prog_aros_host_automake
4555 if test -n "$aros_host_automake"; then
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4557 $as_echo "$aros_host_automake" >&6; }
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4560 $as_echo "no" >&6; }
4564 test -n "$aros_host_automake" && break
4569 if test "$aros_host_aclocal" = ""; then
4572 if test "$aros_host_aclocal" = "no"; then
4575 if test "$req_avail" = "no"; then
4576 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4579 if test "$aros_host_automake" = ""; then
4582 if test "$aros_host_automake" = "no"; then
4585 if test "$req_avail" = "no"; then
4586 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4589 case "$aros_host_cc" in
4591 aros_host_cc_pipe
=""
4594 aros_host_cc_pipe
="-pipe"
4597 aros_host_cc_pipe
=""
4600 aros_host_cc_pipe
=""
4604 aros_kernel_cc_includes
=""
4605 aros_target_cc_includes
=""
4608 # ----------------------------------------------------------------------------------------
4609 # Host-specific defaults
4611 # This is the main host configuration section. It is where the host
4612 # can change the values of any variables it needs to change. We do
4613 # not look at anything that compiles to the target yet, we'll get
4618 aros_host_arch
="aros"
4619 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4622 aros_host_cpu
="i386"
4625 aros_host_cpu
="x86_64"
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4632 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4633 aros_host_cpu
="$host_cpu"
4639 aros_host_arch
="linux"
4640 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4641 android_build_os
="linux-x86"
4642 android_tool
="android"
4643 default_android_sdk
="/opt/android-sdk-linux_x86"
4646 aros_host_cpu
="i386"
4649 aros_host_cpu
="x86_64"
4652 aros_host_cpu
="m68k"
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4662 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4663 aros_host_cpu
="$host_cpu"
4669 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe -I/usr/local/include"
4670 aros_host_make
="gmake"
4671 aros_host_arch
="freebsd"
4672 aros_host_cpu
="i386"
4674 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4678 aros_object_format
="elf_i386"
4682 aros_object_format
="elf_i386_fbsd"
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for macOS SDK files" >&5
4690 $as_echo_n "checking for macOS SDK files... " >&6; }
4691 LOC
=$
( xcode-select
-p )
4692 if test $?
!= 0; then :
4693 as_fn_error $?
"XCode incorrectly configured!
4694 please run 'xcode-select --install' before
4695 re-running configure" "$LINENO" 5
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOC" >&5
4698 $as_echo "$LOC" >&6; }
4699 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4700 aros_host_arch
="darwin"
4702 if [ -z ${SED+x} ]; then SED
="gsed"; fi
4703 android_build_os
="darwin-x86"
4704 android_tool
="android"
4705 default_android_sdk
="/android-sdk-mac_x86"
4708 aros_host_cpu
="i386"
4711 aros_host_cpu
="x86_64"
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4718 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4719 aros_host_cpu
="$host_cpu"
4723 aros_host_ldflags
="$aros_host_ldflags -liconv"
4728 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4729 aros_host_make
="gmake"
4730 aros_host_arch
="dragonfly"
4733 aros_host_cpu
="i386"
4736 aros_host_cpu
="x86_64"
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4740 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4741 aros_host_cpu
="$host_cpu"
4747 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4748 aros_host_make
="gmake"
4749 aros_host_arch
="netbsd"
4752 aros_host_cpu
="i386"
4755 aros_host_cpu
="m68k"
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4759 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4760 aros_host_cpu
="$host_cpu"
4763 aros_host_lib_suffix
=".0.0"
4767 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4768 aros_host_make
="gmake"
4769 aros_host_arch
="openbsd"
4772 aros_host_cpu
="i386"
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4776 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4777 aros_host_cpu
="$host_cpu"
4783 aros_host_arch
="solaris"
4784 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4787 aros_host_cpu
="i386"
4790 aros_host_cpu
="sparc"
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4794 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4795 aros_host_cpu
="$host_cpu"
4801 aros_host_arch
="morphos"
4807 aros_host_arch
="amiga"
4813 TOUCH
="/gg/bin/touch"
4816 aros_host_cpu
="m68k"
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4823 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4824 aros_host_cpu
="$host_cpu"
4830 aros_host_arch
="cygwin"
4831 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4833 android_build_os
="windows"
4834 android_tool
="android.bat"
4835 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4839 aros_host_cpu
="i386"
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4843 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4844 aros_host_cpu
="$host_cpu"
4850 aros_host_arch
="mingw32"
4851 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4853 android_build_os
="windows"
4854 android_tool
="android.bat"
4855 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4857 libpng_libextra
="-lws2_32"
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4863 $as_echo_n "checking for Windows native gcc target... " >&6; }
4864 host_cpu
=`gcc -dumpmachine`
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4866 $as_echo "$host_cpu" >&6; }
4873 aros_host_cpu
="i386"
4877 aros_host_cpu
="i386"
4881 aros_host_cpu
="x86_64"
4882 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4887 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4888 aros_host_cpu
="$host_cpu"
4893 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4897 # Extract the first word of "ar", so it can be a program name with args.
4898 set dummy
ar; ac_word
=$2
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4900 $as_echo_n "checking for $ac_word... " >&6; }
4901 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4902 $as_echo_n "(cached) " >&6
4904 if test -n "$aros_host_ar"; then
4905 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4911 test -z "$as_dir" && as_dir
=.
4912 for ac_exec_ext
in '' $ac_executable_extensions; do
4913 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4914 ac_cv_prog_aros_host_ar
="ar cr"
4915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4924 aros_host_ar
=$ac_cv_prog_aros_host_ar
4925 if test -n "$aros_host_ar"; then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4927 $as_echo "$aros_host_ar" >&6; }
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4930 $as_echo "no" >&6; }
4935 if test "$aros_host_ar" = ""; then
4938 if test "$aros_host_ar" = "no"; then
4941 if test "$req_avail" = "no"; then
4942 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4944 # Extract the first word of "ranlib", so it can be a program name with args.
4945 set dummy ranlib
; ac_word
=$2
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4947 $as_echo_n "checking for $ac_word... " >&6; }
4948 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4949 $as_echo_n "(cached) " >&6
4951 if test -n "$aros_host_ranlib"; then
4952 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4958 test -z "$as_dir" && as_dir
=.
4959 for ac_exec_ext
in '' $ac_executable_extensions; do
4960 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4961 ac_cv_prog_aros_host_ranlib
="ranlib "
4962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4971 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4972 if test -n "$aros_host_ranlib"; then
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4974 $as_echo "$aros_host_ranlib" >&6; }
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4977 $as_echo "no" >&6; }
4982 if test "$aros_host_ranlib" = ""; then
4985 if test "$aros_host_ranlib" = "no"; then
4988 if test "$req_avail" = "no"; then
4989 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4991 # Extract the first word of "strip", so it can be a program name with args.
4992 set dummy strip
; ac_word
=$2
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4994 $as_echo_n "checking for $ac_word... " >&6; }
4995 if ${ac_cv_prog_aros_host_strip+:} false
; then :
4996 $as_echo_n "(cached) " >&6
4998 if test -n "$aros_host_strip"; then
4999 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5005 test -z "$as_dir" && as_dir
=.
5006 for ac_exec_ext
in '' $ac_executable_extensions; do
5007 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5008 ac_cv_prog_aros_host_strip
="strip "
5009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5018 aros_host_strip
=$ac_cv_prog_aros_host_strip
5019 if test -n "$aros_host_strip"; then
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5021 $as_echo "$aros_host_strip" >&6; }
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5024 $as_echo "no" >&6; }
5029 if test "$aros_host_strip" = ""; then
5032 if test "$aros_host_strip" = "no"; then
5035 if test "$req_avail" = "no"; then
5036 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5039 # Extract the first word of "rm", so it can be a program name with args.
5040 set dummy
rm; ac_word
=$2
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5042 $as_echo_n "checking for $ac_word... " >&6; }
5043 if ${ac_cv_prog_RM+:} false
; then :
5044 $as_echo_n "(cached) " >&6
5046 if test -n "$RM"; then
5047 ac_cv_prog_RM
="$RM" # Let the user override the test.
5049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5053 test -z "$as_dir" && as_dir
=.
5054 for ac_exec_ext
in '' $ac_executable_extensions; do
5055 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5056 ac_cv_prog_RM
="rm -rf"
5057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5067 if test -n "$RM"; then
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5069 $as_echo "$RM" >&6; }
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5072 $as_echo "no" >&6; }
5077 if test "$RM" = ""; then
5080 if test "$RM" = "no"; then
5083 if test "$req_avail" = "no"; then
5084 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5086 # Extract the first word of "cp", so it can be a program name with args.
5087 set dummy
cp; ac_word
=$2
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5089 $as_echo_n "checking for $ac_word... " >&6; }
5090 if ${ac_cv_prog_CP+:} false
; then :
5091 $as_echo_n "(cached) " >&6
5093 if test -n "$CP"; then
5094 ac_cv_prog_CP
="$CP" # Let the user override the test.
5096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5100 test -z "$as_dir" && as_dir
=.
5101 for ac_exec_ext
in '' $ac_executable_extensions; do
5102 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5114 if test -n "$CP"; then
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5116 $as_echo "$CP" >&6; }
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5119 $as_echo "no" >&6; }
5124 if test "$CP" = ""; then
5127 if test "$CP" = "no"; then
5130 if test "$req_avail" = "no"; then
5131 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5133 # Extract the first word of "mv", so it can be a program name with args.
5134 set dummy
mv; ac_word
=$2
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5136 $as_echo_n "checking for $ac_word... " >&6; }
5137 if ${ac_cv_prog_MV+:} false
; then :
5138 $as_echo_n "(cached) " >&6
5140 if test -n "$MV"; then
5141 ac_cv_prog_MV
="$MV" # Let the user override the test.
5143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5147 test -z "$as_dir" && as_dir
=.
5148 for ac_exec_ext
in '' $ac_executable_extensions; do
5149 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5161 if test -n "$MV"; then
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5163 $as_echo "$MV" >&6; }
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5166 $as_echo "no" >&6; }
5171 if test "$MV" = ""; then
5174 if test "$MV" = "no"; then
5177 if test "$req_avail" = "no"; then
5178 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5180 # Extract the first word of "echo", so it can be a program name with args.
5181 set dummy
echo; ac_word
=$2
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5183 $as_echo_n "checking for $ac_word... " >&6; }
5184 if ${ac_cv_prog_ECHO+:} false
; then :
5185 $as_echo_n "(cached) " >&6
5187 if test -n "$ECHO"; then
5188 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5194 test -z "$as_dir" && as_dir
=.
5195 for ac_exec_ext
in '' $ac_executable_extensions; do
5196 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5197 ac_cv_prog_ECHO
="echo "
5198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5207 ECHO
=$ac_cv_prog_ECHO
5208 if test -n "$ECHO"; then
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5210 $as_echo "$ECHO" >&6; }
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5213 $as_echo "no" >&6; }
5218 if test "$ECHO" = ""; then
5221 if test "$ECHO" = "no"; then
5224 if test "$req_avail" = "no"; then
5225 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5227 # Extract the first word of "mkdir", so it can be a program name with args.
5228 set dummy mkdir
; ac_word
=$2
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5230 $as_echo_n "checking for $ac_word... " >&6; }
5231 if ${ac_cv_prog_MKDIR+:} false
; then :
5232 $as_echo_n "(cached) " >&6
5234 if test -n "$MKDIR"; then
5235 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5241 test -z "$as_dir" && as_dir
=.
5242 for ac_exec_ext
in '' $ac_executable_extensions; do
5243 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5244 ac_cv_prog_MKDIR
="mkdir -p"
5245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5254 MKDIR
=$ac_cv_prog_MKDIR
5255 if test -n "$MKDIR"; then
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5257 $as_echo "$MKDIR" >&6; }
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260 $as_echo "no" >&6; }
5265 if test "$MKDIR" = ""; then
5268 if test "$MKDIR" = "no"; then
5271 if test "$req_avail" = "no"; then
5272 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5274 # Extract the first word of "touch", so it can be a program name with args.
5275 set dummy
touch; ac_word
=$2
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5277 $as_echo_n "checking for $ac_word... " >&6; }
5278 if ${ac_cv_prog_TOUCH+:} false
; then :
5279 $as_echo_n "(cached) " >&6
5281 if test -n "$TOUCH"; then
5282 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5288 test -z "$as_dir" && as_dir
=.
5289 for ac_exec_ext
in '' $ac_executable_extensions; do
5290 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5291 ac_cv_prog_TOUCH
="touch "
5292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5301 TOUCH
=$ac_cv_prog_TOUCH
5302 if test -n "$TOUCH"; then
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5304 $as_echo "$TOUCH" >&6; }
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5307 $as_echo "no" >&6; }
5312 if test "$TOUCH" = ""; then
5315 if test "$TOUCH" = "no"; then
5318 if test "$req_avail" = "no"; then
5319 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5321 # Extract the first word of "sort", so it can be a program name with args.
5322 set dummy
sort; ac_word
=$2
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5324 $as_echo_n "checking for $ac_word... " >&6; }
5325 if ${ac_cv_prog_SORT+:} false
; then :
5326 $as_echo_n "(cached) " >&6
5328 if test -n "$SORT"; then
5329 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5335 test -z "$as_dir" && as_dir
=.
5336 for ac_exec_ext
in '' $ac_executable_extensions; do
5337 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5338 ac_cv_prog_SORT
="sort "
5339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5348 SORT
=$ac_cv_prog_SORT
5349 if test -n "$SORT"; then
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5351 $as_echo "$SORT" >&6; }
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5354 $as_echo "no" >&6; }
5359 if test "$SORT" = ""; then
5362 if test "$SORT" = "no"; then
5365 if test "$req_avail" = "no"; then
5366 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5368 # Extract the first word of "uniq", so it can be a program name with args.
5369 set dummy
uniq; ac_word
=$2
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5371 $as_echo_n "checking for $ac_word... " >&6; }
5372 if ${ac_cv_prog_UNIQ+:} false
; then :
5373 $as_echo_n "(cached) " >&6
5375 if test -n "$UNIQ"; then
5376 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5382 test -z "$as_dir" && as_dir
=.
5383 for ac_exec_ext
in '' $ac_executable_extensions; do
5384 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5385 ac_cv_prog_UNIQ
="uniq "
5386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5395 UNIQ
=$ac_cv_prog_UNIQ
5396 if test -n "$UNIQ"; then
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5398 $as_echo "$UNIQ" >&6; }
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5401 $as_echo "no" >&6; }
5406 if test "$UNIQ" = ""; then
5409 if test "$UNIQ" = "no"; then
5412 if test "$req_avail" = "no"; then
5413 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5415 # Extract the first word of "true", so it can be a program name with args.
5416 set dummy true
; ac_word
=$2
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5418 $as_echo_n "checking for $ac_word... " >&6; }
5419 if ${ac_cv_prog_NOP+:} false
; then :
5420 $as_echo_n "(cached) " >&6
5422 if test -n "$NOP"; then
5423 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5429 test -z "$as_dir" && as_dir
=.
5430 for ac_exec_ext
in '' $ac_executable_extensions; do
5431 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5432 ac_cv_prog_NOP
="true "
5433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5443 if test -n "$NOP"; then
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5445 $as_echo "$NOP" >&6; }
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5448 $as_echo "no" >&6; }
5453 if test "$NOP" = ""; then
5456 if test "$NOP" = "no"; then
5459 if test "$req_avail" = "no"; then
5460 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5462 # Extract the first word of "cat", so it can be a program name with args.
5463 set dummy
cat; ac_word
=$2
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5465 $as_echo_n "checking for $ac_word... " >&6; }
5466 if ${ac_cv_prog_CAT+:} false
; then :
5467 $as_echo_n "(cached) " >&6
5469 if test -n "$CAT"; then
5470 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5476 test -z "$as_dir" && as_dir
=.
5477 for ac_exec_ext
in '' $ac_executable_extensions; do
5478 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5479 ac_cv_prog_CAT
="cat "
5480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5490 if test -n "$CAT"; then
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5492 $as_echo "$CAT" >&6; }
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5495 $as_echo "no" >&6; }
5500 if test "$CAT" = ""; then
5503 if test "$CAT" = "no"; then
5506 if test "$req_avail" = "no"; then
5507 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5509 # Extract the first word of "bison", so it can be a program name with args.
5510 set dummy bison
; ac_word
=$2
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5512 $as_echo_n "checking for $ac_word... " >&6; }
5513 if ${ac_cv_prog_BISON+:} false
; then :
5514 $as_echo_n "(cached) " >&6
5516 if test -n "$BISON"; then
5517 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5523 test -z "$as_dir" && as_dir
=.
5524 for ac_exec_ext
in '' $ac_executable_extensions; do
5525 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5526 ac_cv_prog_BISON
="bison "
5527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5536 BISON
=$ac_cv_prog_BISON
5537 if test -n "$BISON"; then
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5539 $as_echo "$BISON" >&6; }
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5542 $as_echo "no" >&6; }
5547 if test "$BISON" = ""; then
5550 if test "$BISON" = "no"; then
5553 if test "$req_avail" = "no"; then
5554 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5556 # Extract the first word of "flex", so it can be a program name with args.
5557 set dummy flex
; ac_word
=$2
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5559 $as_echo_n "checking for $ac_word... " >&6; }
5560 if ${ac_cv_prog_FLEX+:} false
; then :
5561 $as_echo_n "(cached) " >&6
5563 if test -n "$FLEX"; then
5564 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5570 test -z "$as_dir" && as_dir
=.
5571 for ac_exec_ext
in '' $ac_executable_extensions; do
5572 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5573 ac_cv_prog_FLEX
="flex "
5574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5583 FLEX
=$ac_cv_prog_FLEX
5584 if test -n "$FLEX"; then
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5586 $as_echo "$FLEX" >&6; }
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5589 $as_echo "no" >&6; }
5594 if test "$FLEX" = ""; then
5597 if test "$FLEX" = "no"; then
5600 if test "$req_avail" = "no"; then
5601 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5603 # Extract the first word of "pngtopnm", so it can be a program name with args.
5604 set dummy pngtopnm
; ac_word
=$2
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5606 $as_echo_n "checking for $ac_word... " >&6; }
5607 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5608 $as_echo_n "(cached) " >&6
5610 if test -n "$PNGTOPNM"; then
5611 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5617 test -z "$as_dir" && as_dir
=.
5618 for ac_exec_ext
in '' $ac_executable_extensions; do
5619 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5620 ac_cv_prog_PNGTOPNM
="pngtopnm "
5621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5630 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5631 if test -n "$PNGTOPNM"; then
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5633 $as_echo "$PNGTOPNM" >&6; }
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5636 $as_echo "no" >&6; }
5641 if test "$PNGTOPNM" = ""; then
5644 if test "$PNGTOPNM" = "no"; then
5647 if test "$req_avail" = "no"; then
5648 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5650 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5651 set dummy ppmtoilbm
; ac_word
=$2
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5653 $as_echo_n "checking for $ac_word... " >&6; }
5654 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5655 $as_echo_n "(cached) " >&6
5657 if test -n "$PPMTOILBM"; then
5658 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5664 test -z "$as_dir" && as_dir
=.
5665 for ac_exec_ext
in '' $ac_executable_extensions; do
5666 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5667 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5677 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5678 if test -n "$PPMTOILBM"; then
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5680 $as_echo "$PPMTOILBM" >&6; }
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5683 $as_echo "no" >&6; }
5688 if test "$PPMTOILBM" = ""; then
5691 if test "$PPMTOILBM" = "no"; then
5694 if test "$req_avail" = "no"; then
5695 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5697 # Extract the first word of "sed", so it can be a program name with args.
5698 set dummy
sed; ac_word
=$2
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5700 $as_echo_n "checking for $ac_word... " >&6; }
5701 if ${ac_cv_prog_SED+:} false
; then :
5702 $as_echo_n "(cached) " >&6
5704 if test -n "$SED"; then
5705 ac_cv_prog_SED
="$SED" # Let the user override the test.
5707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5711 test -z "$as_dir" && as_dir
=.
5712 for ac_exec_ext
in '' $ac_executable_extensions; do
5713 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5714 ac_cv_prog_SED
="sed "
5715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5725 if test -n "$SED"; then
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5727 $as_echo "$SED" >&6; }
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5730 $as_echo "no" >&6; }
5735 if test "$SED" = ""; then
5738 if test "$SED" = "no"; then
5741 if test "$req_avail" = "no"; then
5742 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5744 # Extract the first word of "chmod", so it can be a program name with args.
5745 set dummy
chmod; ac_word
=$2
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5747 $as_echo_n "checking for $ac_word... " >&6; }
5748 if ${ac_cv_prog_CHMOD+:} false
; then :
5749 $as_echo_n "(cached) " >&6
5751 if test -n "$CHMOD"; then
5752 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5758 test -z "$as_dir" && as_dir
=.
5759 for ac_exec_ext
in '' $ac_executable_extensions; do
5760 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5761 ac_cv_prog_CHMOD
="chmod "
5762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5771 CHMOD
=$ac_cv_prog_CHMOD
5772 if test -n "$CHMOD"; then
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5774 $as_echo "$CHMOD" >&6; }
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5777 $as_echo "no" >&6; }
5782 if test "$CHMOD" = ""; then
5785 if test "$CHMOD" = "no"; then
5788 if test "$req_avail" = "no"; then
5789 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5791 # Extract the first word of "patch", so it can be a program name with args.
5792 set dummy
patch; ac_word
=$2
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5794 $as_echo_n "checking for $ac_word... " >&6; }
5795 if ${ac_cv_prog_PATCH+:} false
; then :
5796 $as_echo_n "(cached) " >&6
5798 if test -n "$PATCH"; then
5799 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5805 test -z "$as_dir" && as_dir
=.
5806 for ac_exec_ext
in '' $ac_executable_extensions; do
5807 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5808 ac_cv_prog_PATCH
="patch "
5809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5818 PATCH
=$ac_cv_prog_PATCH
5819 if test -n "$PATCH"; then
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5821 $as_echo "$PATCH" >&6; }
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5824 $as_echo "no" >&6; }
5829 if test "$PATCH" = ""; then
5832 if test "$PATCH" = "no"; then
5835 if test "$req_avail" = "no"; then
5836 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5845 if test -n "$PYTHON"; then
5846 # If the user set $PYTHON, use it and don't search something else.
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
5848 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
5850 # split strings by '.' and convert to numeric. Append some zeros
5851 # because we need at least 4 digits for the hex conversion.
5852 # map returns an iterator in Python 3.0 and a list in 2.x
5853 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5855 # xrange is not present in Python 3.0 and range returns an iterator
5856 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5857 sys.exit(sys.hexversion < minverhex)"
5858 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5859 ($PYTHON -c "$prog") >&5 2>&5
5861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5862 (exit $ac_status); }; then :
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5864 $as_echo "yes" >&6; }
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5867 $as_echo "no" >&6; }
5868 as_fn_error $?
"Python interpreter is too old" "$LINENO" 5
5870 am_display_PYTHON
=$PYTHON
5872 # Otherwise, try each interpreter until we find one that satisfies
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5875 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5876 if ${am_cv_pathless_PYTHON+:} false
; then :
5877 $as_echo_n "(cached) " >&6
5880 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
5881 test "$am_cv_pathless_PYTHON" = none
&& break
5883 # split strings by '.' and convert to numeric. Append some zeros
5884 # because we need at least 4 digits for the hex conversion.
5885 # map returns an iterator in Python 3.0 and a list in 2.x
5886 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5888 # xrange is not present in Python 3.0 and range returns an iterator
5889 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5890 sys.exit(sys.hexversion < minverhex)"
5891 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5892 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5895 (exit $ac_status); }; then :
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5901 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5902 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5903 if test "$am_cv_pathless_PYTHON" = none
; then
5906 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5907 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5909 $as_echo_n "checking for $ac_word... " >&6; }
5910 if ${ac_cv_path_PYTHON+:} false
; then :
5911 $as_echo_n "(cached) " >&6
5915 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5922 test -z "$as_dir" && as_dir
=.
5923 for ac_exec_ext
in '' $ac_executable_extensions; do
5924 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5925 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5936 PYTHON
=$ac_cv_path_PYTHON
5937 if test -n "$PYTHON"; then
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5939 $as_echo "$PYTHON" >&6; }
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5942 $as_echo "no" >&6; }
5947 am_display_PYTHON
=$am_cv_pathless_PYTHON
5951 if test "$PYTHON" = :; then
5952 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5957 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5958 if ${am_cv_python_version+:} false
; then :
5959 $as_echo_n "(cached) " >&6
5961 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5964 $as_echo "$am_cv_python_version" >&6; }
5965 PYTHON_VERSION
=$am_cv_python_version
5969 PYTHON_PREFIX
='${prefix}'
5971 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5976 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5977 if ${am_cv_python_platform+:} false
; then :
5978 $as_echo_n "(cached) " >&6
5980 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5983 $as_echo "$am_cv_python_platform" >&6; }
5984 PYTHON_PLATFORM
=$am_cv_python_platform
5987 # Just factor out some code duplication.
5988 am_python_setup_sysconfig
="\
5990 # Prefer sysconfig over distutils.sysconfig, for better compatibility
5991 # with python 3.x. See automake bug#10227.
5995 can_use_sysconfig = 0
5997 can_use_sysconfig = 1
5998 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
5999 # <https://github.com/pypa/virtualenv/issues/118>
6001 from platform import python_implementation
6002 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
6003 can_use_sysconfig = 0
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
6009 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
6010 if ${am_cv_python_pythondir+:} false
; then :
6011 $as_echo_n "(cached) " >&6
6013 if test "x$prefix" = xNONE
6015 am_py_prefix
=$ac_default_prefix
6017 am_py_prefix
=$prefix
6019 am_cv_python_pythondir
=`$PYTHON -c "
6020 $am_python_setup_sysconfig
6021 if can_use_sysconfig:
6022 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
6024 from distutils import sysconfig
6025 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
6026 sys.stdout.write(sitedir)"`
6027 case $am_cv_python_pythondir in
6029 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
6030 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
6033 case $am_py_prefix in
6036 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
6044 $as_echo "$am_cv_python_pythondir" >&6; }
6045 pythondir
=$am_cv_python_pythondir
6049 pkgpythondir
=\
${pythondir}/$PACKAGE
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
6053 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
6054 if ${am_cv_python_pyexecdir+:} false
; then :
6055 $as_echo_n "(cached) " >&6
6057 if test "x$exec_prefix" = xNONE
6059 am_py_exec_prefix
=$am_py_prefix
6061 am_py_exec_prefix
=$exec_prefix
6063 am_cv_python_pyexecdir
=`$PYTHON -c "
6064 $am_python_setup_sysconfig
6065 if can_use_sysconfig:
6066 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
6068 from distutils import sysconfig
6069 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
6070 sys.stdout.write(sitedir)"`
6071 case $am_cv_python_pyexecdir in
6072 $am_py_exec_prefix*)
6073 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
6074 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
6077 case $am_py_exec_prefix in
6080 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
6088 $as_echo "$am_cv_python_pyexecdir" >&6; }
6089 pyexecdir
=$am_cv_python_pyexecdir
6093 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
6101 # Check whether --enable-libpng-config was given.
6102 if test "${enable_libpng_config+set}" = set; then :
6103 enableval
=$enable_libpng_config;
6106 if test "$enable_libpng_config" != "no"; then
6107 # Extract the first word of "libpng-config", so it can be a program name with args.
6108 set dummy libpng-config
; ac_word
=$2
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6110 $as_echo_n "checking for $ac_word... " >&6; }
6111 if ${ac_cv_prog_arosconfig_use_libpngconfig+:} false
; then :
6112 $as_echo_n "(cached) " >&6
6114 if test -n "$arosconfig_use_libpngconfig"; then
6115 ac_cv_prog_arosconfig_use_libpngconfig
="$arosconfig_use_libpngconfig" # Let the user override the test.
6117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6121 test -z "$as_dir" && as_dir
=.
6122 for ac_exec_ext
in '' $ac_executable_extensions; do
6123 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6124 ac_cv_prog_arosconfig_use_libpngconfig
="yes"
6125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6132 test -z "$ac_cv_prog_arosconfig_use_libpngconfig" && ac_cv_prog_arosconfig_use_libpngconfig
="no"
6135 arosconfig_use_libpngconfig
=$ac_cv_prog_arosconfig_use_libpngconfig
6136 if test -n "$arosconfig_use_libpngconfig"; then
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $arosconfig_use_libpngconfig" >&5
6138 $as_echo "$arosconfig_use_libpngconfig" >&6; }
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6141 $as_echo "no" >&6; }
6146 if test "$arosconfig_use_libpngconfig" = "yes"; then
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libpng-config library" >&5
6148 $as_echo_n "checking libpng-config library... " >&6; }
6149 libpng_incdir
="`libpng-config --cflags`"
6150 libpng_libextra
="$libpng_libextra `libpng-config --ldflags`"
6151 libpng
="`libpng-config --libs`"
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libpng" >&5
6153 $as_echo "$libpng" >&6; }
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
6157 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
6158 if ${ac_cv_lib_png_png_read_png+:} false
; then :
6159 $as_echo_n "(cached) " >&6
6161 ac_check_lib_save_LIBS
=$LIBS
6163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6164 /* end confdefs.h. */
6166 /* Override any GCC internal prototype to avoid an error.
6167 Use char because int might match the return type of a GCC
6168 builtin and then its argument prototype would still apply. */
6172 char png_read_png ();
6176 return png_read_png ();
6181 if ac_fn_c_try_link
"$LINENO"; then :
6182 ac_cv_lib_png_png_read_png
=yes
6184 ac_cv_lib_png_png_read_png
=no
6186 rm -f core conftest.err conftest.
$ac_objext \
6187 conftest
$ac_exeext conftest.
$ac_ext
6188 LIBS
=$ac_check_lib_save_LIBS
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
6191 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
6192 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
6198 if test "$libpng_libextra" != ""; then
6199 if test "$libpng" != "no"; then
6200 libpng_libextra
="$libpng_libextra $libpng"
6205 if test "$libpng" = ""; then
6208 if test "$libpng" = "no"; then
6211 if test "$req_avail" = "no"; then
6212 as_fn_error $?
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
6228 # Check for some includes for the X11 HIDD and the kernel
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6231 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6232 if ${ac_cv_path_GREP+:} false
; then :
6233 $as_echo_n "(cached) " >&6
6235 if test -z "$GREP"; then
6236 ac_path_GREP_found
=false
6237 # Loop through the user's path and test for each of PROGNAME-LIST
6238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6239 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6242 test -z "$as_dir" && as_dir
=.
6243 for ac_prog
in grep ggrep
; do
6244 for ac_exec_ext
in '' $ac_executable_extensions; do
6245 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6246 as_fn_executable_p
"$ac_path_GREP" ||
continue
6247 # Check for GNU ac_path_GREP and select it if it is found.
6248 # Check for GNU $ac_path_GREP
6249 case `"$ac_path_GREP" --version 2>&1` in
6251 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6254 $as_echo_n 0123456789 >"conftest.in"
6257 cat "conftest.in" "conftest.in" >"conftest.tmp"
6258 mv "conftest.tmp" "conftest.in"
6259 cp "conftest.in" "conftest.nl"
6260 $as_echo 'GREP' >> "conftest.nl"
6261 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6262 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6263 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6264 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6265 # Best one so far, save it but keep looking for a better one
6266 ac_cv_path_GREP
="$ac_path_GREP"
6267 ac_path_GREP_max
=$ac_count
6269 # 10*(2^10) chars as input seems more than enough
6270 test $ac_count -gt 10 && break
6272 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6275 $ac_path_GREP_found && break 3
6280 if test -z "$ac_cv_path_GREP"; then
6281 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6284 ac_cv_path_GREP
=$GREP
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6289 $as_echo "$ac_cv_path_GREP" >&6; }
6290 GREP
="$ac_cv_path_GREP"
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6294 $as_echo_n "checking for egrep... " >&6; }
6295 if ${ac_cv_path_EGREP+:} false
; then :
6296 $as_echo_n "(cached) " >&6
6298 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6299 then ac_cv_path_EGREP
="$GREP -E"
6301 if test -z "$EGREP"; then
6302 ac_path_EGREP_found
=false
6303 # Loop through the user's path and test for each of PROGNAME-LIST
6304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6305 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6308 test -z "$as_dir" && as_dir
=.
6309 for ac_prog
in egrep; do
6310 for ac_exec_ext
in '' $ac_executable_extensions; do
6311 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6312 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6313 # Check for GNU ac_path_EGREP and select it if it is found.
6314 # Check for GNU $ac_path_EGREP
6315 case `"$ac_path_EGREP" --version 2>&1` in
6317 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6320 $as_echo_n 0123456789 >"conftest.in"
6323 cat "conftest.in" "conftest.in" >"conftest.tmp"
6324 mv "conftest.tmp" "conftest.in"
6325 cp "conftest.in" "conftest.nl"
6326 $as_echo 'EGREP' >> "conftest.nl"
6327 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6328 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6329 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6330 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6331 # Best one so far, save it but keep looking for a better one
6332 ac_cv_path_EGREP
="$ac_path_EGREP"
6333 ac_path_EGREP_max
=$ac_count
6335 # 10*(2^10) chars as input seems more than enough
6336 test $ac_count -gt 10 && break
6338 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6341 $ac_path_EGREP_found && break 3
6346 if test -z "$ac_cv_path_EGREP"; then
6347 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6350 ac_cv_path_EGREP
=$EGREP
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6356 $as_echo "$ac_cv_path_EGREP" >&6; }
6357 EGREP
="$ac_cv_path_EGREP"
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6361 $as_echo_n "checking for ANSI C header files... " >&6; }
6362 if ${ac_cv_header_stdc+:} false
; then :
6363 $as_echo_n "(cached) " >&6
6365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6366 /* end confdefs.h. */
6380 if ac_fn_c_try_compile
"$LINENO"; then :
6381 ac_cv_header_stdc
=yes
6383 ac_cv_header_stdc
=no
6385 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6387 if test $ac_cv_header_stdc = yes; then
6388 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6390 /* end confdefs.h. */
6394 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6395 $EGREP "memchr" >/dev
/null
2>&1; then :
6398 ac_cv_header_stdc
=no
6404 if test $ac_cv_header_stdc = yes; then
6405 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6407 /* end confdefs.h. */
6411 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6412 $EGREP "free" >/dev
/null
2>&1; then :
6415 ac_cv_header_stdc
=no
6421 if test $ac_cv_header_stdc = yes; then
6422 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6423 if test "$cross_compiling" = yes; then :
6426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6427 /* end confdefs.h. */
6430 #if ((' ' & 0x0FF) == 0x020)
6431 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6432 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6434 # define ISLOWER(c) \
6435 (('a' <= (c) && (c) <= 'i') \
6436 || ('j' <= (c) && (c) <= 'r') \
6437 || ('s' <= (c) && (c) <= 'z'))
6438 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6441 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6446 for (i = 0; i < 256; i++)
6447 if (XOR (islower (i), ISLOWER (i))
6448 || toupper (i) != TOUPPER (i))
6453 if ac_fn_c_try_run
"$LINENO"; then :
6456 ac_cv_header_stdc
=no
6458 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6459 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6465 $as_echo "$ac_cv_header_stdc" >&6; }
6466 if test $ac_cv_header_stdc = yes; then
6468 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6472 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6473 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6474 inttypes.h stdint.h unistd.h
6476 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6477 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6479 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6480 cat >>confdefs.h
<<_ACEOF
6481 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6489 for ac_header
in sys
/ipc.h sys
/shm.h \
6490 sys
/mmap.h sys
/mman.h sysexits.h \
6491 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6494 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6495 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6496 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6497 cat >>confdefs.h
<<_ACEOF
6498 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6506 for ac_header
in sys
/mount.h
6508 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6510 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6511 cat >>confdefs.h
<<_ACEOF
6512 #define HAVE_SYS_MOUNT_H 1
6521 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6522 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6524 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6525 if eval \
${$as_ac_Header+:} false
; then :
6526 $as_echo_n "(cached) " >&6
6528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6529 /* end confdefs.h. */
6530 #include <sys/types.h>
6542 if ac_fn_c_try_compile
"$LINENO"; then :
6543 eval "$as_ac_Header=yes"
6545 eval "$as_ac_Header=no"
6547 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6549 eval ac_res
=\$
$as_ac_Header
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6551 $as_echo "$ac_res" >&6; }
6552 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6553 cat >>confdefs.h
<<_ACEOF
6554 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6557 ac_header_dirent
=$ac_hdr; break
6561 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6562 if test $ac_header_dirent = dirent.h
; then
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6564 $as_echo_n "checking for library containing opendir... " >&6; }
6565 if ${ac_cv_search_opendir+:} false
; then :
6566 $as_echo_n "(cached) " >&6
6568 ac_func_search_save_LIBS
=$LIBS
6569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6570 /* end confdefs.h. */
6572 /* Override any GCC internal prototype to avoid an error.
6573 Use char because int might match the return type of a GCC
6574 builtin and then its argument prototype would still apply. */
6587 for ac_lib
in '' dir
; do
6588 if test -z "$ac_lib"; then
6589 ac_res
="none required"
6592 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6594 if ac_fn_c_try_link
"$LINENO"; then :
6595 ac_cv_search_opendir
=$ac_res
6597 rm -f core conftest.err conftest.
$ac_objext \
6599 if ${ac_cv_search_opendir+:} false
; then :
6603 if ${ac_cv_search_opendir+:} false
; then :
6606 ac_cv_search_opendir
=no
6609 LIBS
=$ac_func_search_save_LIBS
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6612 $as_echo "$ac_cv_search_opendir" >&6; }
6613 ac_res
=$ac_cv_search_opendir
6614 if test "$ac_res" != no
; then :
6615 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6621 $as_echo_n "checking for library containing opendir... " >&6; }
6622 if ${ac_cv_search_opendir+:} false
; then :
6623 $as_echo_n "(cached) " >&6
6625 ac_func_search_save_LIBS
=$LIBS
6626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6627 /* end confdefs.h. */
6629 /* Override any GCC internal prototype to avoid an error.
6630 Use char because int might match the return type of a GCC
6631 builtin and then its argument prototype would still apply. */
6644 for ac_lib
in '' x
; do
6645 if test -z "$ac_lib"; then
6646 ac_res
="none required"
6649 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6651 if ac_fn_c_try_link
"$LINENO"; then :
6652 ac_cv_search_opendir
=$ac_res
6654 rm -f core conftest.err conftest.
$ac_objext \
6656 if ${ac_cv_search_opendir+:} false
; then :
6660 if ${ac_cv_search_opendir+:} false
; then :
6663 ac_cv_search_opendir
=no
6666 LIBS
=$ac_func_search_save_LIBS
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6669 $as_echo "$ac_cv_search_opendir" >&6; }
6670 ac_res
=$ac_cv_search_opendir
6671 if test "$ac_res" != no
; then :
6672 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6679 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6680 if ${ac_cv_header_stat_broken+:} false
; then :
6681 $as_echo_n "(cached) " >&6
6683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6684 /* end confdefs.h. */
6685 #include <sys/types.h>
6686 #include <sys/stat.h>
6688 #if defined S_ISBLK && defined S_IFDIR
6689 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6692 #if defined S_ISBLK && defined S_IFCHR
6693 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6696 #if defined S_ISLNK && defined S_IFREG
6697 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6700 #if defined S_ISSOCK && defined S_IFREG
6701 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6705 if ac_fn_c_try_compile
"$LINENO"; then :
6706 ac_cv_header_stat_broken
=no
6708 ac_cv_header_stat_broken
=yes
6710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6713 $as_echo "$ac_cv_header_stat_broken" >&6; }
6714 if test $ac_cv_header_stat_broken = yes; then
6716 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6721 $as_echo_n "checking for ANSI C header files... " >&6; }
6722 if ${ac_cv_header_stdc+:} false
; then :
6723 $as_echo_n "(cached) " >&6
6725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6726 /* end confdefs.h. */
6740 if ac_fn_c_try_compile
"$LINENO"; then :
6741 ac_cv_header_stdc
=yes
6743 ac_cv_header_stdc
=no
6745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6747 if test $ac_cv_header_stdc = yes; then
6748 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6750 /* end confdefs.h. */
6754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6755 $EGREP "memchr" >/dev
/null
2>&1; then :
6758 ac_cv_header_stdc
=no
6764 if test $ac_cv_header_stdc = yes; then
6765 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6767 /* end confdefs.h. */
6771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6772 $EGREP "free" >/dev
/null
2>&1; then :
6775 ac_cv_header_stdc
=no
6781 if test $ac_cv_header_stdc = yes; then
6782 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6783 if test "$cross_compiling" = yes; then :
6786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6787 /* end confdefs.h. */
6790 #if ((' ' & 0x0FF) == 0x020)
6791 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6792 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6794 # define ISLOWER(c) \
6795 (('a' <= (c) && (c) <= 'i') \
6796 || ('j' <= (c) && (c) <= 'r') \
6797 || ('s' <= (c) && (c) <= 'z'))
6798 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6801 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6806 for (i = 0; i < 256; i++)
6807 if (XOR (islower (i), ISLOWER (i))
6808 || toupper (i) != TOUPPER (i))
6813 if ac_fn_c_try_run
"$LINENO"; then :
6816 ac_cv_header_stdc
=no
6818 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6819 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6825 $as_echo "$ac_cv_header_stdc" >&6; }
6826 if test $ac_cv_header_stdc = yes; then
6828 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6833 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6834 if ${ac_cv_header_sys_wait_h+:} false
; then :
6835 $as_echo_n "(cached) " >&6
6837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6838 /* end confdefs.h. */
6839 #include <sys/types.h>
6840 #include <sys/wait.h>
6842 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6845 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6853 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6858 if ac_fn_c_try_compile
"$LINENO"; then :
6859 ac_cv_header_sys_wait_h
=yes
6861 ac_cv_header_sys_wait_h
=no
6863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6866 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6867 if test $ac_cv_header_sys_wait_h = yes; then
6869 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6874 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6875 if ${ac_cv_header_time+:} false
; then :
6876 $as_echo_n "(cached) " >&6
6878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6879 /* end confdefs.h. */
6880 #include <sys/types.h>
6881 #include <sys/time.h>
6887 if ((struct tm *) 0)
6893 if ac_fn_c_try_compile
"$LINENO"; then :
6894 ac_cv_header_time
=yes
6896 ac_cv_header_time
=no
6898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6901 $as_echo "$ac_cv_header_time" >&6; }
6902 if test $ac_cv_header_time = yes; then
6904 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6908 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6909 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6911 cat >>confdefs.h
<<_ACEOF
6912 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6916 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6921 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6922 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6924 cat >>confdefs.h
<<_ACEOF
6925 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6929 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6932 case " $LIBOBJS " in
6933 *" fileblocks.$ac_objext "* ) ;;
6934 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6941 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6942 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6944 cat >>confdefs.h
<<_ACEOF
6945 #define HAVE_STRUCT_STAT_ST_RDEV 1
6949 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6955 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6956 if ${ac_cv_struct_tm+:} false
; then :
6957 $as_echo_n "(cached) " >&6
6959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6960 /* end confdefs.h. */
6961 #include <sys/types.h>
6968 int *p = &tm.tm_sec;
6974 if ac_fn_c_try_compile
"$LINENO"; then :
6975 ac_cv_struct_tm
=time.h
6977 ac_cv_struct_tm
=sys
/time.h
6979 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6982 $as_echo "$ac_cv_struct_tm" >&6; }
6983 if test $ac_cv_struct_tm = sys
/time.h
; then
6985 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6989 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6990 #include <$ac_cv_struct_tm>
6993 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6995 cat >>confdefs.h
<<_ACEOF
6996 #define HAVE_STRUCT_TM_TM_ZONE 1
7002 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
7004 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
7007 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
7009 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
7015 cat >>confdefs.h
<<_ACEOF
7016 #define HAVE_DECL_TZNAME $ac_have_decl
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
7020 $as_echo_n "checking for tzname... " >&6; }
7021 if ${ac_cv_var_tzname+:} false
; then :
7022 $as_echo_n "(cached) " >&6
7024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7025 /* end confdefs.h. */
7027 #if !HAVE_DECL_TZNAME
7028 extern char *tzname[];
7034 return tzname[0][0];
7039 if ac_fn_c_try_link
"$LINENO"; then :
7040 ac_cv_var_tzname
=yes
7044 rm -f core conftest.err conftest.
$ac_objext \
7045 conftest
$ac_exeext conftest.
$ac_ext
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
7048 $as_echo "$ac_cv_var_tzname" >&6; }
7049 if test $ac_cv_var_tzname = yes; then
7051 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
7056 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
7057 if test "x$ac_cv_type_off_t" = xyes
; then :
7061 cat >>confdefs.h
<<_ACEOF
7062 #define off_t long int
7067 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
7068 if test "x$ac_cv_type_pid_t" = xyes
; then :
7072 cat >>confdefs.h
<<_ACEOF
7078 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7079 if test "x$ac_cv_type_size_t" = xyes
; then :
7083 cat >>confdefs.h
<<_ACEOF
7084 #define size_t unsigned int
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
7090 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7091 if ${ac_cv_type_uid_t+:} false
; then :
7092 $as_echo_n "(cached) " >&6
7094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7095 /* end confdefs.h. */
7096 #include <sys/types.h>
7099 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7100 $EGREP "uid_t" >/dev
/null
2>&1; then :
7101 ac_cv_type_uid_t
=yes
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
7109 $as_echo "$ac_cv_type_uid_t" >&6; }
7110 if test $ac_cv_type_uid_t = no
; then
7112 $as_echo "#define uid_t int" >>confdefs.h
7115 $as_echo "#define gid_t int" >>confdefs.h
7120 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
7121 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
7123 cat >>confdefs.h
<<_ACEOF
7124 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7131 # Look for some functions
7132 for ac_func
in getpagesize kqueue statfs statvfs \
7133 clone kse_create rfork_thread thr_create sa_register \
7134 getcontext makecontext setcontext sigaltstack swapcontext
7136 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7137 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7138 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7139 cat >>confdefs.h
<<_ACEOF
7140 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7150 for ac_header
in $ac_header_list
7152 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7153 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7155 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7156 cat >>confdefs.h
<<_ACEOF
7157 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7171 for ac_func
in getpagesize
7173 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
7174 if test "x$ac_cv_func_getpagesize" = xyes
; then :
7175 cat >>confdefs.h
<<_ACEOF
7176 #define HAVE_GETPAGESIZE 1
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
7183 $as_echo_n "checking for working mmap... " >&6; }
7184 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
7185 $as_echo_n "(cached) " >&6
7187 if test "$cross_compiling" = yes; then :
7188 ac_cv_func_mmap_fixed_mapped
=no
7190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7191 /* end confdefs.h. */
7192 $ac_includes_default
7193 /* malloc might have been renamed as rpl_malloc. */
7196 /* Thanks to Mike Haertel and Jim Avera for this test.
7197 Here is a matrix of mmap possibilities:
7198 mmap private not fixed
7199 mmap private fixed at somewhere currently unmapped
7200 mmap private fixed at somewhere already mapped
7201 mmap shared not fixed
7202 mmap shared fixed at somewhere currently unmapped
7203 mmap shared fixed at somewhere already mapped
7204 For private mappings, we should verify that changes cannot be read()
7205 back from the file, nor mmap's back from the file at a different
7206 address. (There have been systems where private was not correctly
7207 implemented like the infamous i386 svr4.0, and systems where the
7208 VM page cache was not coherent with the file system buffer cache
7209 like early versions of FreeBSD and possibly contemporary NetBSD.)
7210 For shared mappings, we should conversely verify that changes get
7211 propagated back to all the places they're supposed to be.
7213 Grep wants private fixed already mapped.
7214 The main things grep needs to know about mmap are:
7215 * does it exist and is it safe to write into the mmap'd area
7216 * how to use it (BSD variants) */
7219 #include <sys/mman.h>
7221 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7225 /* This mess was copied from the GNU getpagesize.h. */
7226 #ifndef HAVE_GETPAGESIZE
7227 # ifdef _SC_PAGESIZE
7228 # define getpagesize() sysconf(_SC_PAGESIZE)
7229 # else /* no _SC_PAGESIZE */
7230 # ifdef HAVE_SYS_PARAM_H
7231 # include <sys/param.h>
7232 # ifdef EXEC_PAGESIZE
7233 # define getpagesize() EXEC_PAGESIZE
7234 # else /* no EXEC_PAGESIZE */
7236 # define getpagesize() NBPG * CLSIZE
7239 # endif /* no CLSIZE */
7240 # else /* no NBPG */
7242 # define getpagesize() NBPC
7243 # else /* no NBPC */
7245 # define getpagesize() PAGESIZE
7246 # endif /* PAGESIZE */
7247 # endif /* no NBPC */
7248 # endif /* no NBPG */
7249 # endif /* no EXEC_PAGESIZE */
7250 # else /* no HAVE_SYS_PARAM_H */
7251 # define getpagesize() 8192 /* punt totally */
7252 # endif /* no HAVE_SYS_PARAM_H */
7253 # endif /* no _SC_PAGESIZE */
7255 #endif /* no HAVE_GETPAGESIZE */
7260 char *data, *data2, *data3;
7265 pagesize = getpagesize ();
7267 /* First, make a file with some known garbage in it. */
7268 data = (char *) malloc (pagesize);
7271 for (i = 0; i < pagesize; ++i)
7272 *(data + i) = rand ();
7274 fd = creat ("conftest.mmap", 0600);
7277 if (write (fd, data, pagesize) != pagesize)
7281 /* Next, check that the tail of a page is zero-filled. File must have
7282 non-zero length, otherwise we risk SIGBUS for entire page. */
7283 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7287 if (write (fd2, cdata2, 1) != 1)
7289 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7290 if (data2 == MAP_FAILED)
7292 for (i = 0; i < pagesize; ++i)
7296 if (munmap (data2, pagesize))
7299 /* Next, try to mmap the file at a fixed address which already has
7300 something else allocated at it. If we can, also make sure that
7301 we see the same garbage. */
7302 fd = open ("conftest.mmap", O_RDWR);
7305 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7306 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7308 for (i = 0; i < pagesize; ++i)
7309 if (*(data + i) != *(data2 + i))
7312 /* Finally, make sure that changes to the mapped area do not
7313 percolate back to the file as seen by read(). (This is a bug on
7314 some variants of i386 svr4.0.) */
7315 for (i = 0; i < pagesize; ++i)
7316 *(data2 + i) = *(data2 + i) + 1;
7317 data3 = (char *) malloc (pagesize);
7320 if (read (fd, data3, pagesize) != pagesize)
7322 for (i = 0; i < pagesize; ++i)
7323 if (*(data + i) != *(data3 + i))
7329 if ac_fn_c_try_run
"$LINENO"; then :
7330 ac_cv_func_mmap_fixed_mapped
=yes
7332 ac_cv_func_mmap_fixed_mapped
=no
7334 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7335 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7340 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7341 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7343 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7346 rm -f conftest.mmap conftest.txt
7349 #-----------------------------------------------------------------------------
7352 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7353 # it switched on by default, and we use the host compiler, so it compiles AROS
7354 # code with this enabled resulting in link failures as we don't have support
7357 # We use two methods to disable it. For the host compiler (used to compile
7358 # some hosted modules), we test to see if the compiler supports stack
7359 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7360 # work on all platforms.
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7364 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7365 save_cflags
="$CFLAGS"
7366 CFLAGS
="$CFLAGS -fno-stack-protector"
7367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7368 /* end confdefs.h. */
7378 if ac_fn_c_try_compile
"$LINENO"; then :
7379 use_no_stack_protector
="yes"
7381 use_no_stack_protector
="no"
7383 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7385 $as_echo "$use_no_stack_protector" >&6; }
7386 if test "x-$use_no_stack_protector" = "x-yes" ; then
7387 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7389 CFLAGS
="$save_cflags"
7391 #-----------------------------------------------------------------------------
7393 # Disable pointer-signedness warnings if the compiler recognises the option
7394 # (this only works for the host compiler at the moment)
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7397 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7398 save_cflags
="$CFLAGS"
7399 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7401 /* end confdefs.h. */
7411 if ac_fn_c_try_compile
"$LINENO"; then :
7412 use_no_sign_warning
="yes"
7414 use_no_sign_warning
="no"
7416 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7418 $as_echo "$use_no_sign_warning" >&6; }
7419 if test "x-$use_no_sign_warning" = "x-yes" ; then
7420 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7422 CFLAGS
="$save_cflags"
7424 #-----------------------------------------------------------------------------
7426 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7429 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7430 save_cflags
="$CFLAGS"
7431 CFLAGS
="$CFLAGS -fgnu89-inline"
7432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7433 /* end confdefs.h. */
7443 if ac_fn_c_try_compile
"$LINENO"; then :
7444 use_gnu89_inline
="yes"
7446 use_gnu89_inline
="no"
7448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7450 $as_echo "$use_gnu89_inline" >&6; }
7451 if test "x-$use_gnu89_inline" = "x-yes" ; then
7452 gnu89_inline
="-fgnu89-inline"
7454 CFLAGS
="$save_cflags"
7457 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
7458 # On GCC >= 4.0 -iquote should be used
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
7461 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
7462 CFLAGS
="$CFLAGS -iquote."
7463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7464 /* end confdefs.h. */
7474 if ac_fn_c_try_compile
"$LINENO"; then :
7479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
7481 $as_echo "$has_iquote" >&6; }
7482 if test "x-$has_iquote" = "x-yes" ; then
7483 host_cflags_iquote
=-iquote
7484 host_cflags_iquote_end
=
7486 host_cflags_iquote
=-I
7487 host_cflags_iquote_end
=-I-
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: Performing target configuration..." >&5
7491 $as_echo "$as_me: Performing target configuration..." >&6;}
7494 aros_nowarn_flags
="NOWARN_UNUSED_COMMAND_LINE_ARGUMENT NOWARN_UNKNOWN_WARNING_OPTION NOWARN_POINTER_SIGN NOWARN_PARENTHESES"
7496 toolchain_needs_sysroot
=no
7501 aros_config_cppflags
=
7503 aros_config_cxxflags
=
7504 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7505 aros_config_ldflags
=""
7507 aros_shared_default
=yes
7509 aros_shared_cflags
="-fPIC"
7510 aros_shared_aflags
=""
7511 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7512 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7514 aros_kernel_ar_flags
="cr"
7515 aros_target_ar_flags
="cr"
7516 aros_target_nm_flags
="-C -ul"
7517 aros_target_strip_flags
="--strip-unneeded -R.comment"
7522 aros_target_genmap
="-Wl,-Map -Xlinker"
7524 # Native flavour stuff
7525 aros_serial_debug
="0"
7527 # Palm native flavour stuff
7528 aros_palm_debug_hack
="0"
7530 # Unix flavour stuff
7531 aros_nesting_supervisor
="0"
7533 # Collect-aros stuff: "-ius" to ignore undefined symbols
7534 ignore_undefined_symbols
=""
7536 # Check for X11 by default
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which toolchain family to use ..." >&5
7545 $as_echo_n "checking Which toolchain family to use ...... " >&6; }
7547 # Check whether --with-toolchain was given.
7548 if test "${with_toolchain+set}" = set; then :
7549 withval
=$with_toolchain; aros_toolchain
="$withval"
7551 aros_toolchain
="gnu"
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_toolchain" >&5
7555 $as_echo "$aros_toolchain" >&6; }
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should enable link time optimizations (LTO)" >&5
7559 $as_echo_n "checking if we should enable link time optimizations (LTO)... " >&6; }
7560 # Check whether --enable-lto was given.
7561 if test "${enable_lto+set}" = set; then :
7562 enableval
=$enable_lto; aros_config_lto
="$enableval"
7564 aros_config_lto
="no"
7567 if test "$aros_config_lto" != "no"; then
7568 aros_config_lto
="yes"
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_config_lto" >&5
7571 $as_echo "$aros_config_lto" >&6; }
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should enable coverage instrumentation" >&5
7574 $as_echo_n "checking if we should enable coverage instrumentation... " >&6; }
7575 # Check whether --enable-coverage was given.
7576 if test "${enable_coverage+set}" = set; then :
7577 enableval
=$enable_coverage; aros_config_coverage
="$enableval"
7579 aros_config_coverage
="no"
7582 if test "$aros_config_coverage" != "no"; then
7583 aros_config_coverage
="yes"
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_config_coverage" >&5
7586 $as_echo "$aros_config_coverage" >&6; }
7590 case "$aros_toolchain" in
7592 # toolchain_needs_sysroot=yes
7593 toolchain_c_compiler
="clang"
7594 toolchain_cxx_compiler
="clang++"
7595 toolchain_cpp_preprocessor
="clang -E"
7596 toolchain_ld
="ld.lld"
7598 toolchain_as
="llvm-as"
7599 toolchain_ar
="llvm-ar"
7600 toolchain_ranlib
="llvm-ranlib"
7601 toolchain_nm
="llvm-nm"
7602 toolchain_strip
="true"
7603 toolchain_objcopy
="llvm-objcopy"
7604 toolchain_objdump
="llvm-objdump"
7607 toolchain_c_compiler
="gcc"
7608 toolchain_cxx_compiler
="g++"
7609 toolchain_cpp_preprocessor
="gcc -E"
7612 if test "$aros_config_lto" != "yes"; then
7615 toolchain_ranlib
="ranlib"
7618 toolchain_ld
="ld.bfd"
7619 toolchain_ar
="gcc-ar"
7620 toolchain_ranlib
="gcc-ranlib"
7621 toolchain_nm
="gcc-nm"
7623 toolchain_strip
="strip"
7624 toolchain_objcopy
="objcopy"
7625 toolchain_objdump
="objdump"
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown toolchain family!\"" >&5
7629 $as_echo "$as_me: WARNING: \"Unknown toolchain family!\"" >&2;}
7630 toolchain_c_compiler
="cc"
7631 toolchain_cxx_compiler
="c++"
7632 toolchain_cpp_preprocessor
="cpp"
7637 toolchain_ranlib
="ranlib"
7639 toolchain_strip
="strip"
7640 toolchain_objcopy
="objcopy"
7641 toolchain_objdump
="objdump"
7645 #-----------------------------------------------------------------------------
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which type of build to do" >&5
7648 $as_echo_n "checking which type of build to do... " >&6; }
7649 # Check whether --enable-build_type was given.
7650 if test "${enable_build_type+set}" = set; then :
7651 enableval
=$enable_build_type; build_type
=$enableval
7653 build_type
="personal"
7657 if test "$build_type" = "nightly"; then
7658 build_type_string
="NIGHTLY"
7659 elif test "$build_type" = "snapshot"; then
7660 build_type_string
="SNAPSHOT"
7661 elif test "$build_type" = "milestone"; then
7662 build_type_string
="MILESTONE"
7663 elif test "$build_type" = "release"; then
7664 build_type_string
="RELEASE"
7666 build_type_string
="PERSONAL"
7667 build_type
="personal"
7670 aros_config_cppflags
="$aros_config_cppflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7673 $as_echo "$build_type" >&6; }
7675 #-----------------------------------------------------------------------------
7676 all_debug_types
="messages stack modules mungwall symbols"
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7679 $as_echo_n "checking which debug types to enable... " >&6; }
7680 # Check whether --enable-debug was given.
7681 if test "${enable_debug+set}" = set; then :
7682 enableval
=$enable_debug; debug
="$enableval"
7688 if test "$debug" = "" -o "$debug" = "no"; then
7690 elif test "$debug" = "yes"; then
7694 if test "$debug" = "all" ; then
7695 debug
="messages stack modules symbols"
7696 for d
in $all_debug_types; do
7697 export aros_
${d}_debug
="1"
7700 for d
in $all_debug_types; do
7701 export aros_
${d}_debug
="0"
7705 if test "$debug" != "none"; then
7706 debug
=`echo $debug | sed s/,/\ /g`
7709 for d2
in $all_debug_types; do
7710 if test "$d2" = "$d"; then
7715 if test "$found" = "0"; then
7716 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7718 export aros_
${d}_debug
="1"
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7723 $as_echo "$debug" >&6; }
7725 if test "$aros_messages_debug" = "1"; then
7726 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7728 aros_messages_debug
=""
7730 if test "$aros_symbols_debug" = "1"; then
7731 aros_symbols_debug
="-g"
7733 aros_symbols_debug
=""
7736 # These are the flags to pass when compiling debugged programs
7737 aros_debug_cppflags
="$aros_messages_debug"
7738 aros_debug_cflags
="$aros_symbols_debug"
7739 aros_debug_cxxflags
=
7740 aros_debug_aflags
=""
7741 aros_debug_ldflags
="$aros_symbols_debug"
7743 #-----------------------------------------------------------------------------
7744 # Checking for distcc and ccache.
7746 # Always apply the transforms in this particular order. Basically you should
7747 # always run 'ccache distcc compiler' in that order for the best performance.
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7750 $as_echo_n "checking whether to enable distcc... " >&6; }
7751 # Check whether --enable-distcc was given.
7752 if test "${enable_distcc+set}" = set; then :
7753 enableval
=$enable_distcc; distcc
="$enableval"
7758 if test "$distcc" != "" -a "$distcc" != "no"; then
7759 # AC_CHECK_PROG will print out the result in this case
7760 # Extract the first word of "distcc", so it can be a program name with args.
7761 set dummy distcc
; ac_word
=$2
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7763 $as_echo_n "checking for $ac_word... " >&6; }
7764 if ${ac_cv_path_DISTCC+:} false
; then :
7765 $as_echo_n "(cached) " >&6
7769 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7776 test -z "$as_dir" && as_dir
=.
7777 for ac_exec_ext
in '' $ac_executable_extensions; do
7778 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7779 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7787 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7791 DISTCC
=$ac_cv_path_DISTCC
7792 if test -n "$DISTCC"; then
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7794 $as_echo "$DISTCC" >&6; }
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7797 $as_echo "no" >&6; }
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7803 $as_echo "no" >&6; }
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7807 $as_echo_n "checking whether to enable ccache... " >&6; }
7808 # Check whether --enable-ccache was given.
7809 if test "${enable_ccache+set}" = set; then :
7810 enableval
=$enable_ccache; ccache
="$enableval"
7815 if test "$ccache" != "" -a "$ccache" != "no"; then
7816 # AC_CHECK_PROG will print out the result in this case
7817 # Extract the first word of "ccache", so it can be a program name with args.
7818 set dummy ccache
; ac_word
=$2
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7820 $as_echo_n "checking for $ac_word... " >&6; }
7821 if ${ac_cv_prog_CCACHE+:} false
; then :
7822 $as_echo_n "(cached) " >&6
7824 if test -n "$CCACHE"; then
7825 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7831 test -z "$as_dir" && as_dir
=.
7832 for ac_exec_ext
in '' $ac_executable_extensions; do
7833 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7834 ac_cv_prog_CCACHE
="ccache"
7835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7844 CCACHE
=$ac_cv_prog_CCACHE
7845 if test -n "$CCACHE"; then
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7847 $as_echo "$CCACHE" >&6; }
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7850 $as_echo "no" >&6; }
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7856 $as_echo "no" >&6; }
7859 #-----------------------------------------------------------------------------
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7861 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7863 # Check whether --with-kernel-gcc-version was given.
7864 if test "${with_kernel_gcc_version+set}" = set; then :
7865 withval
=$with_kernel_gcc_version; kernel_tool_version
="$withval"
7867 kernel_tool_version
=""
7870 if test "$kernel_tool_version" != "" ; then
7871 msg_result
=$kernel_tool_version
7873 msg_result
="default"
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
7876 $as_echo "$msg_result" >&6; }
7878 #-----------------------------------------------------------------------------
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7880 $as_echo_n "checking what optimization flags to use... " >&6; }
7882 # Check whether --with-optimization was given.
7883 if test "${with_optimization+set}" = set; then :
7884 withval
=$with_optimization; optimization_level
="$withval"
7886 optimization_level
="unknown"
7889 if test "$optimization_level" = "unknown"; then
7890 optimization
="default"
7891 if test "$debug" != "none"; then
7892 optimization_level
="-O0"
7894 optimization_level
="-O2"
7897 optimization
="$optimization_level"
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7900 $as_echo "$optimization" >&6; }
7902 paranoia_default
=yes
7903 #-----------------------------------------------------------------------------
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which paranoia flags to use" >&5
7905 $as_echo_n "checking which paranoia flags to use... " >&6; }
7907 # Check whether --with-paranoia was given.
7908 if test "${with_paranoia+set}" = set; then :
7909 withval
=$with_paranoia; paranoia_flags
="$withval"
7911 paranoia_flags
="$paranoia_default"
7914 if test "$paranoia_flags" = "no"; then
7915 paranoia_flags
="-Wall -Werror-implicit-function-declaration"
7918 if test "$paranoia_flags" = "yes"; then
7919 paranoia_flags
="-Wall -Werror"
7921 msg_result
="$paranoia_flags"
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
7924 $as_echo "$msg_result" >&6; }
7925 aros_warn_flags
="$aros_warn_flags $paranoia_flags"
7927 #-----------------------------------------------------------------------------
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7929 $as_echo_n "checking what target variant to enable... " >&6; }
7930 # Check whether --enable-target_variant was given.
7931 if test "${enable_target_variant+set}" = set; then :
7932 enableval
=$enable_target_variant; target_variant
=$enableval
7937 if test "$target_variant" = ""; then
7938 aros_target_variant
=""
7939 aros_target_suffix
=""
7942 aros_target_variant
="$target_variant"
7943 aros_target_suffix
="-$target_variant"
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7946 $as_echo "$enableval" >&6; }
7948 #-----------------------------------------------------------------------------
7949 # Target-specific defaults. You can override then on a per-target basis.
7951 # Bootloader name. Currently used by PC target.
7952 target_bootloader
="none"
7956 #-----------------------------------------------------------------------------
7957 # Additional options for some specific targets
7959 case "$aros_target_variant" in
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7962 $as_echo_n "checking XCode path... " >&6; }
7964 # Check whether --with-xcode was given.
7965 if test "${with_xcode+set}" = set; then :
7966 withval
=$with_xcode; aros_xcode_path
="$withval"
7968 aros_xcode_path
="/Developer"
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7972 $as_echo "$aros_xcode_path" >&6; }
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7975 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7977 # Check whether --with-sdk-version was given.
7978 if test "${with_sdk_version+set}" = set; then :
7979 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7981 aros_sdk_version
="4.1"
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7985 $as_echo "$aros_sdk_version" >&6; }
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7991 $as_echo_n "checking Android SDK path... " >&6; }
7993 # Check whether --with-sdk was given.
7994 if test "${with_sdk+set}" = set; then :
7995 withval
=$with_sdk; aros_android_sdk
="$withval"
7997 aros_android_sdk
=$default_android_sdk
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
8001 $as_echo "$aros_android_sdk" >&6; }
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
8004 $as_echo_n "checking Android NDK path... " >&6; }
8006 # Check whether --with-ndk was given.
8007 if test "${with_ndk+set}" = set; then :
8008 withval
=$with_ndk; aros_android_ndk
="$withval"
8010 aros_android_ndk
="none"
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
8014 $as_echo "$aros_android_ndk" >&6; }
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
8017 $as_echo_n "checking what Android SDK version to use... " >&6; }
8019 # Check whether --with-sdk-version was given.
8020 if test "${with_sdk_version+set}" = set; then :
8021 withval
=$with_sdk_version; aros_sdk_version
="$withval"
8023 aros_sdk_version
="12"
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
8027 $as_echo "$aros_sdk_version" >&6; }
8029 aros_android_level
=android-
$aros_sdk_version
8030 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
8031 echo "Platform $aros_android_level is not installed in your SDK"
8032 echo "Use --with-sdk-version=<API level number> to select another platform version"
8033 echo "You can check what plaform versions are installed in your SDK"
8034 echo "by examining contents of $aros_android_sdk/platforms directory"
8035 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
8038 export PATH
="$aros_android_sdk/tools:$PATH"
8039 # Extract the first word of "$android_tool", so it can be a program name with args.
8040 set dummy
$android_tool; ac_word
=$2
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8042 $as_echo_n "checking for $ac_word... " >&6; }
8043 if ${ac_cv_path_android_tool+:} false
; then :
8044 $as_echo_n "(cached) " >&6
8046 case $android_tool in
8048 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
8051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8055 test -z "$as_dir" && as_dir
=.
8056 for ac_exec_ext
in '' $ac_executable_extensions; do
8057 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8058 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
8059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8069 android_tool
=$ac_cv_path_android_tool
8070 if test -n "$android_tool"; then
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
8072 $as_echo "$android_tool" >&6; }
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8075 $as_echo "no" >&6; }
8080 if test "$android_tool" = ""; then
8083 if test "$android_tool" = "no"; then
8086 if test "$req_avail" = "no"; then
8087 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
8090 if test "$aros_android_ndk" != "none"; then
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
8092 $as_echo_n "checking what Android NDK version to use... " >&6; }
8094 # Check whether --with-ndk-version was given.
8095 if test "${with_ndk_version+set}" = set; then :
8096 withval
=$with_ndk_version; aros_ndk_version
="$withval"
8098 aros_ndk_version
="9"
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
8102 $as_echo "$aros_ndk_version" >&6; }
8105 # Extract the first word of "ant", so it can be a program name with args.
8106 set dummy ant
; ac_word
=$2
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8108 $as_echo_n "checking for $ac_word... " >&6; }
8109 if ${ac_cv_path_ant+:} false
; then :
8110 $as_echo_n "(cached) " >&6
8114 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
8117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8121 test -z "$as_dir" && as_dir
=.
8122 for ac_exec_ext
in '' $ac_executable_extensions; do
8123 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8124 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
8125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8136 if test -n "$ant"; then
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
8138 $as_echo "$ant" >&6; }
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8141 $as_echo "no" >&6; }
8145 if test "$ant" = ""; then
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
8147 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Build debug or release apk" >&5
8151 $as_echo_n "checking Build debug or release apk... " >&6; }
8153 # Check whether --with-apk-version was given.
8154 if test "${with_apk_version+set}" = set; then :
8155 withval
=$with_apk_version; aros_android_antapk
=$withval
8157 aros_android_antapk
=release
8160 if test $aros_android_antapk != release
-a $aros_android_antapk != debug
; then
8161 as_fn_error $?
"apk-version has to be release or debug" "$LINENO" 5
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_antapk" >&5
8164 $as_echo "$aros_android_antapk" >&6; }
8166 if test "$host_os" = "mingw32"; then
8167 android_tool
="cmd //c $android_tool"
8175 #-----------------------------------------------------------------------------
8176 # External toolchains
8177 kernel_tool_prefix
="none"
8178 aros_tool_prefix
="none"
8179 elf_tool_prefix
="${target_cpu}-elf-"
8180 x86_isa_extra
="ISA_X86_FLAGS := -m32 -march=i486"
8181 x86_64_isa_extra
="ISA_X8664_FLAGS := -mcmodel=large"
8184 # This is the target configuration switch.
8185 case "$target_os" in
8187 aros_target_arch
="linux"
8188 aros_target_family
="unix"
8189 case "$target_cpu" in
8191 aros_target_cpu
="m68k"
8192 aros_object_format
="m68kelf"
8193 aros_flavour
="emulcompat"
8194 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8195 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8196 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8197 gcc_target_cpu
="mc68000"
8200 aros_target_cpu
="i386"
8201 aros_object_format
="elf_i386"
8202 aros_flavour
="emulation"
8203 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8204 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8205 x86_64_isa_extra
="$x86_64_isa_extra -mno-red-zone"
8206 aros_kernel_ldflags
="-Wl,-melf_i386"
8207 aros_nominal_depth
=8
8208 gcc_target_cpu
="i386"
8209 pci_hidd_target
="hidd-pci-linux"
8210 android_tool_dir_prefix
="x86"
8211 android_tool_prefix
="i686-android-linux"
8212 android_ndk_arch
="x86"
8215 aros_target_cpu
="x86_64"
8216 aros_object_format
="elf_x86_64"
8217 aros_flavour
="emulation"
8218 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8219 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8220 x86_64_isa_extra
="$x86_64_isa_extra -mno-red-zone"
8221 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8222 aros_config_cxxflags
="$aros_config_cxxflags -fno-omit-frame-pointer"
8223 aros_nominal_depth
=8
8224 pci_hidd_target
="hidd-pci-linux"
8227 aros_target_cpu
="ppc"
8228 aros_object_format
="elf32ppc"
8229 aros_flavour
="emulation"
8230 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8231 aros_nominal_depth
=8
8232 gcc_target_cpu
="ppc"
8235 # Same as powerpc, but I need this for the nightly build to work again.
8236 # Actually, the nightly should be made working with powerpc target.
8237 # That just was too much work for the moment, another week or two.
8239 aros_target_cpu
="ppc"
8240 aros_object_format
="elf32ppc"
8241 aros_flavour
="emulation"
8242 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8243 aros_nominal_depth
=8
8244 gcc_target_cpu
="ppc"
8247 aros_target_cpu
="aarch64"
8248 target_cpu
="aarch64"
8249 aros_object_format
="aarch64elf_aros"
8250 aros_flavour
="emulation"
8251 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8252 gcc_target_cpu
="aarch64"
8253 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
8254 aros_config_cxxflags
="$aros_config_cxxflags -fno-strict-aliasing -fno-omit-frame-pointer"
8255 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
8256 aros_arch_libs
="-laeabi"
8257 gcc_default_float_abi
="hard"
8258 kernel_tool_prefix
="aarch64-linux-gnueabihf-"
8261 aros_target_cpu
="arm"
8263 aros_object_format
="armelf_aros"
8264 aros_flavour
="emulation"
8265 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8266 gcc_target_cpu
="arm"
8267 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
8268 aros_config_cxxflags
="$aros_config_cxxflags -fno-strict-aliasing -fno-omit-frame-pointer"
8269 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
8270 aros_arch_libs
="-laeabi"
8271 gcc_default_float_abi
="hard"
8272 android_tool_dir_prefix
="arm-linux-androideabi"
8273 android_tool_prefix
="arm-linux-androideabi"
8274 android_ndk_arch
="arm"
8275 kernel_tool_prefix
="arm-linux-gnueabihf-"
8278 aros_target_cpu
="arm"
8279 aros_object_format
="armelf_aros"
8280 aros_flavour
="emulation"
8281 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8282 gcc_target_cpu
="arm"
8283 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
8284 aros_config_cxxflags
="$aros_config_cxxflags -fno-strict-aliasing -fno-omit-frame-pointer"
8285 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
8286 aros_arch_libs
="-laeabi"
8287 android_tool_dir_prefix
="arm-linux-androideabi"
8288 android_tool_prefix
="arm-linux-androideabi"
8289 android_ndk_arch
="arm"
8290 kernel_tool_prefix
="arm-linux-gnueabi-"
8293 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
8296 case "$aros_target_variant" in
8299 if test "$android_ndk_arch" = ""; then
8300 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
8303 aros_nominal_width
=320
8304 aros_nominal_height
=480
8305 if test "$aros_android_ndk" = "none"; then
8306 aros_kernel_cflags
="-mandroid"
8307 aros_kernel_ldflags
="-mandroid"
8310 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$kernel_tool_version/prebuilt/$android_build_os/bin:$PATH"
8311 kernel_tool_version
=""
8312 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
8313 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
8314 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
8315 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
8316 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
8319 host_android_gfx
=yes
8320 # Disable implicit PIC mode
8321 aros_config_cflags
="$aros_config_cflags -fno-pic"
8322 kernel_tool_prefix
="$android_tool_prefix-"
8328 aros_target_arch
="pc"
8329 aros_shared_default
="no"
8330 target_bootloader
="grub2"
8331 case "$target_cpu" in
8333 aros_target_cpu
="i386"
8336 if test "$aros_object_format" = "" ; then
8337 aros_object_format
="elf_i386"
8339 aros_flavour
="standalone"
8340 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8341 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8342 x86_64_isa_extra
="$x86_64_isa_extra -mno-red-zone"
8343 aros_kernel_ldflags
="-Wl,-melf_i386"
8344 aros_nominal_width
=640
8345 aros_nominal_height
=480
8346 gcc_target_cpu
="i386"
8349 PLATFORM_EXECSMP
="#define __AROSPLATFORM_SMP__"
8350 aros_target_cpu
="x86_64"
8352 if test "$aros_object_format" = "" ; then
8353 aros_object_format
="elf_x86_64"
8355 aros_flavour
="standalone"
8356 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8357 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8358 x86_64_isa_extra
="$x86_64_isa_extra -mno-red-zone"
8359 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -fno-omit-frame-pointer"
8360 aros_config_cxxflags
="$aros_config_cxxflags -fno-asynchronous-unwind-tables -fno-omit-frame-pointer"
8361 aros_kernel_ldflags
=""
8362 aros_nominal_width
=640
8363 aros_nominal_height
=480
8364 case "$aros_target_variant" in
8366 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8371 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
8377 aros_target_arch
="prep"
8378 aros_shared_default
="no"
8379 aros_target_cpu
="ppc"
8380 aros_object_format
="elf32ppc"
8381 aros_flavour
="ppcnative"
8382 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8383 aros_kernel_ldflags
=""
8384 aros_nominal_width
=640
8385 aros_nominal_height
=480
8386 gcc_target_cpu
="ppc"
8390 aros_target_arch
="freebsd"
8391 aros_target_family
="unix"
8392 aros_target_cpu
="i386"
8393 aros_flavour
="emulation"
8394 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8395 gcc_target_cpu
="i386"
8397 aros_target_strip_flags
="-x"
8401 aros_target_arch
="darwin"
8402 aros_target_family
="unix"
8403 aros_flavour
="emulation"
8404 case "$target_cpu" in
8406 aros_ios_platform
="iPhoneSimulator"
8407 aros_target_cpu
="i386"
8408 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8409 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8410 aros_kernel_ldflags
=""
8411 aros_macosx_version
="10.4"
8412 aros_nominal_depth
=8
8413 gcc_target_cpu
="i386"
8414 aros_object_format
="elf_i386"
8415 aros_kernel_ar_flags
="-cr"
8416 aros_target_strip_flags
="-x"
8417 kernel_tool_flags
="-m32"
8420 aros_target_cpu
="x86_64"
8421 aros_object_format
="elf_x86_64"
8422 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8423 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8424 aros_macosx_version
="10.6"
8425 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8426 aros_config_cxxflags
="$aros_config_cxxflags -fno-omit-frame-pointer"
8427 aros_kernel_cflags
="-m64"
8428 aros_kernel_ldflags
="-m64"
8429 aros_nominal_depth
=8
8431 aros_kernel_ar_flags
="-cr"
8434 aros_kernel_ranlib
="ranlib"
8436 aros_kernel_strip
="strip"
8437 kernel_tool_prefix
="i686-apple-darwin10-"
8440 aros_target_cpu
="ppc"
8441 aros_object_format
="elf32ppc"
8442 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8443 aros_kernel_ldflags
=""
8444 aros_macosx_version
="10.0"
8445 aros_nominal_depth
=8
8446 gcc_target_cpu
="ppc"
8448 aros_kernel_ar_flags
="-cr"
8449 aros_kernel_ld
="ld -arch ppc"
8450 aros_kernel_as
="as -arch ppc"
8451 aros_kernel_ranlib
="ranlib -arch ppc"
8452 aros_kernel_nm
="nm -arch ppc"
8453 aros_kernel_strip
="strip -arch ppc"
8454 kernel_tool_prefix
="powerpc-apple-darwin10-"
8457 aros_ios_platform
="iPhoneOS"
8458 aros_target_cpu
="arm"
8459 aros_object_format
="armelf_aros"
8460 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8461 aros_arch_libs
="-laeabi"
8462 aros_nominal_depth
=8
8463 gcc_target_cpu
="arm"
8465 aros_kernel_ar_flags
="-cr"
8466 aros_kernel_ld
="ld -arch arm"
8467 aros_kernel_ranlib
="ranlib -arch arm"
8468 kernel_tool_prefix
="arm-apple-darwin10-"
8469 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8472 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8475 case "$aros_target_variant" in
8477 aros_ios_version
="3.0"
8478 aros_nominal_width
=320
8479 aros_nominal_height
=480
8480 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8481 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8482 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8484 # This is here because it may depend on iOS or SDK version
8485 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8486 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8487 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8490 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8491 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8497 aros_target_arch
="dragonfly"
8498 aros_target_family
="unix"
8499 aros_flavour
="emulation"
8500 case "$target_cpu" in
8502 aros_target_cpu
="i386"
8503 aros_object_format
="elf_i386"
8504 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8505 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8508 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8509 aros_config_cxxflags
="$aros_config_cxxflags -fno-omit-frame-pointer"
8510 aros_target_cpu
="x86_64"
8511 aros_object_format
="elf_x86_64"
8512 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8513 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8516 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8522 aros_target_arch
="netbsd"
8523 aros_target_family
="unix"
8524 case "$target_cpu" in
8526 aros_target_cpu
="m68k"
8527 aros_object_format
="m68kelf"
8528 aros_flavour
="emulcompat"
8529 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8530 gcc_target_cpu
="mc68000"
8533 aros_target_cpu
="i386"
8534 aros_object_format
="elf_i386"
8535 aros_flavour
="emulation"
8536 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8537 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8538 aros_nominal_depth
=8
8539 gcc_target_cpu
="i386"
8542 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8545 aros_target_genmap
="-Wl,-M -Xlinker >"
8546 aros_flavour
="emulation"
8547 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8551 aros_target_arch
="openbsd"
8552 aros_target_family
="unix"
8553 case "$target_cpu" in
8555 aros_target_cpu
="i386"
8556 aros_object_format
="elf_i386"
8557 aros_flavour
="emulation"
8558 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8559 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8560 gcc_target_cpu
="i386"
8563 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8566 aros_target_genmap
="-Wl,-M -Xlinker >"
8567 aros_target_nm_flags
="-u"
8568 aros_flavour
="emulation"
8572 aros_target_arch
="solaris"
8573 aros_target_family
="unix"
8574 case "$target_cpu" in
8576 aros_target_cpu
="i386"
8577 aros_object_format
="elf_i386"
8578 aros_flavour
="emulation"
8579 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8580 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8581 aros_nominal_depth
=8
8582 gcc_target_cpu
="i386"
8585 aros_target_cpu
="sparc"
8586 aros_object_format
="elf_sparc"
8587 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8588 gcc_target_cpu
="sparc"
8591 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8594 aros_config_cppflags
="$aros_config_cppflags -D$aros_target_cpu"
8595 aros_flavour
="emulation"
8599 aros_target_arch
="morphos"
8600 aros_shared_default
="no"
8601 aros_target_cpu
="ppc"
8602 aros_object_format
="elf_ppc"
8603 aros_flavour
="nativecompat"
8604 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8605 gcc_target_cpu
="ppc"
8609 aros_target_arch
="sam440"
8610 aros_shared_default
="no"
8611 aros_target_cpu
="ppc"
8612 aros_object_format
="elf32ppc"
8613 aros_flavour
="ppcnative"
8614 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8615 aros_kernel_ldflags
=""
8616 aros_nominal_width
=1024
8617 aros_nominal_height
=768
8618 aros_nominal_depth
=24
8619 aros_isa_flags
="$aros_isa_flags -mcpu=440fp -mno-toc"
8620 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables"
8621 aros_config_cxxflags
="$aros_config_cxxflags -fno-asynchronous-unwind-tables"
8622 gcc_target_cpu
="powerpc"
8626 aros_target_arch
="efika"
8627 aros_shared_default
="no"
8628 aros_target_cpu
="arm"
8629 aros_object_format
="armelf_aros"
8630 aros_flavour
="standalone"
8631 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8632 aros_kernel_ldflags
=""
8633 aros_nominal_width
=1024
8634 aros_nominal_height
=600
8635 aros_arch_libs
="-laeabi"
8636 gcc_default_cpu
="armv7-a"
8637 gcc_default_fpu
="vfpv3"
8638 aros_isa_flags
="$aros_isa_flags -mtune=cortex-a8"
8639 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8640 aros_config_cxxflags
="$aros_config_cxxflags -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8641 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8642 if test "$optimization" = "default"; then
8643 optimization_level
="-Os"
8645 case "$target_cpu" in
8647 gcc_default_float_abi
="hard"
8652 gcc_default_float_abi
="softfp"
8655 as_fn_error $?
"\"Unknown CPU for EfikaMX $target_cpu\"" "$LINENO" 5
8661 aros_target_arch
="chrp"
8662 aros_shared_default
="no"
8663 aros_target_cpu
="ppc"
8664 aros_object_format
="elf32ppc"
8665 aros_flavour
="ppcnative"
8666 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8667 aros_kernel_ldflags
=""
8668 aros_nominal_width
=640
8669 aros_nominal_height
=480
8670 aros_isa_flags
="$aros_isa_flags -mno-toc"
8671 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables"
8672 aros_config_cxxflags
="$aros_config_cxxflags -fno-asynchronous-unwind-tables"
8673 gcc_target_cpu
="powerpc"
8674 case "$aros_target_variant" in
8676 aros_isa_flags
="$aros_isa_flags -mcpu=603e"
8677 aros_config_cppflags
="$aros_config_cppflags -DBIG_ENDIAN_OHCI=1"
8683 PLATFORM_EXECSMP
="#define __AROSPLATFORM_SMP__"
8684 aros_flavour
="standalone"
8685 aros_target_arch
="raspi"
8687 aros_shared_default
="no"
8689 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__"
8691 case "$target_cpu" in
8693 aros_target_cpu
="aarch64"
8694 gcc_default_cpu
="aarch64"
8695 aros_object_format
="aarch64elf_aros"
8698 aros_target_cpu
="arm"
8699 gcc_default_cpu
="armv6zk"
8700 gcc_default_cpu_tune
="arm1176jzf-s"
8701 aros_object_format
="armelf_aros"
8702 aros_isa_flags
="$aros_isa_flags -marm"
8703 aros_config_cflags
="$aros_config_cflags"
8704 aros_config_cxxflags
="$aros_config_cxxflags"
8705 aros_config_aflags
="$aros_config_aflags -marm"
8706 aros_kernel_cflags
="$aros_kernel_cflags -marm"
8707 aros_target_mkdep
="$aros_target_mkdep -Darm"
8708 aros_arch_libs
="-laeabi"
8711 aros_flavour
="standcompat"
8712 aros_target_cpu
="armeb"
8713 gcc_default_float_abi
="hard"
8714 gcc_default_cpu
="armv7ve"
8715 gcc_default_cpu_tune
="cortex-a7"
8716 aros_object_format
="armelfb_aros"
8717 aros_isa_flags
="$aros_isa_flags -marm"
8718 aros_config_cflags
="$aros_config_cflags"
8719 aros_config_cxxflags
="$aros_config_cxxflags"
8720 aros_config_aflags
="$aros_config_aflags -marm"
8721 aros_kernel_cflags
="$aros_kernel_cflags -marm"
8722 aros_target_mkdep
="$aros_target_mkdep -Darm"
8723 aros_arch_libs
="-laeabi"
8726 aros_target_cpu
="arm"
8727 gcc_default_cpu
="armv6zk"
8728 gcc_default_cpu_tune
="arm1176jzf-s"
8729 aros_object_format
="armelf_aros"
8730 aros_isa_flags
="$aros_isa_flags -marm"
8731 aros_config_cflags
="$aros_config_cflags"
8732 aros_config_cxxflags
="$aros_config_cxxflags"
8733 aros_config_aflags
="$aros_config_aflags -marm"
8734 aros_kernel_cflags
="$aros_kernel_cflags -marm"
8735 aros_target_mkdep
="$aros_target_mkdep -Darm"
8736 aros_arch_libs
="-laeabi"
8739 as_fn_error $?
"\"Unknown CPU for RasPi $target_cpu\"" "$LINENO" 5
8743 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -fno-exceptions"
8744 aros_config_cxxflags
="$aros_config_cxxflags -fno-asynchronous-unwind-tables -fno-exceptions"
8745 aros_config_aflags
="$aros_config_aflags -fno-asynchronous-unwind-tables -fno-exceptions"
8746 aros_kernel_cflags
="$aros_kernel_cflags -fno-asynchronous-unwind-tables -fno-exceptions"
8748 case "$aros_target_variant" in
8750 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8756 aros_flavour
="standalone"
8757 aros_target_arch
="stm32f7_discovery"
8758 aros_target_cpu
="arm"
8759 aros_target_cpu_mode
="thumb2"
8760 aros_object_format
="armelf_aros"
8761 aros_shared_default
="no"
8763 gcc_default_cpu
="armv7e-m"
8764 gcc_default_cpu_tune
="cortex-m7"
8765 gcc_default_fpu
="fpv5-sp-d16"
8766 gcc_default_float_abi
="hard"
8768 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dthumb"
8772 aros_target_arch
="amiga"
8773 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8774 aros_shared_default
="no"
8776 case "$target_cpu" in
8778 # Check whether --enable-amigaos_compliance was given.
8779 if test "${enable_amigaos_compliance+set}" = set; then :
8780 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8784 aros_target_cpu
="m68k"
8785 aros_object_format
="m68kelf"
8786 aros_flavour
="standcompat"
8787 gcc_target_cpu
="m68000"
8788 aros_nowarn_flags
="$aros_nowarn_flags NOWARN_VOLATILE_REGISTER_VAR"
8789 aros_config_cppflags
="$aros_config_cppflags -DNOLIBINLINE"
8790 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin"
8791 aros_config_cxxflags
="$aros_config_cxxflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin"
8792 if test "$optimization" = "default"; then
8793 optimization_level
="-Os"
8795 aros_config_aflags
="$aros_config_aflags"
8796 aros_target_strip_flags
="-R.comment --strip-debug"
8797 aros_nominal_width
=640
8798 aros_nominal_height
=256
8799 aros_nominal_depth
=2
8803 aros_flavour
="native"
8804 gcc_target_cpu
="ppc"
8807 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8813 aros_target_arch
="mingw32"
8814 aros_shared_default
="no"
8815 aros_flavour
="emulation"
8816 aros_shared_cflags
=""
8817 need_crosstools
="yes"
8820 case "$target_cpu" in
8822 aros_target_cpu
="i386"
8823 aros_object_format
="elf_i386"
8824 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8825 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8826 aros_nominal_depth
=8
8827 gcc_target_cpu
="i386"
8829 kernel_tool_prefix
="i386-mingw32-"
8832 aros_target_cpu
="x86_64"
8833 aros_object_format
="elf_x86_64"
8834 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8835 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8836 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8837 aros_config_cxxflags
="$aros_config_cxxflags -fno-omit-frame-pointer"
8838 aros_nominal_depth
=8
8839 kernel_tool_prefix
="x86_64-w64-mingw32-"
8842 aros_target_cpu
="arm"
8843 aros_object_format
="armelf_aros"
8844 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8845 aros_arch_libs
="-laeabi"
8846 aros_nominal_depth
=8
8847 gcc_target_cpu
="arm"
8848 gcc_default_float_abi
="soft"
8849 kernel_tool_prefix
="arm-mingw32ce-"
8850 aros_nominal_width
=160
8851 aros_nominal_height
=160
8854 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8857 if test $host_os = "cygwin"; then
8858 aros_kernel_cflags
="-mno-cygwin"
8862 aros_target_arch
="pp"
8863 aros_shared_default
="no"
8864 case "$target_cpu" in
8866 aros_target_cpu
="m68k"
8867 aros_object_format
="m68kelf"
8868 aros_flavour
="palmnative"
8869 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8870 aros_nominal_width
=160
8871 aros_nominal_height
=160
8872 aros_nominal_depth
=1
8873 aros_target_ar_flags
="cru"
8874 aros_compiler_libs
="-lgcc1"
8875 aros_shared_default
=no
8876 aros_shared_cflags
="-fpic"
8877 aros_shared_aflags
=""
8878 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8879 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8880 aros_debug_cppflags
="$aros_messages_debug"
8881 aros_debug_cflags
="$aros_symbols_debug"
8882 aros_debug_aflags
=""
8883 aros_debug_ldflags
="$aros_symbols_debug"
8884 aros_mungwall_debug
="0"
8885 aros_modules_debug
="0"
8886 gcc_target_cpu
="mc68000"
8887 ignore_undefined_symbols
="-ius"
8890 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8896 aros_target_arch
="mac"
8897 aros_shared_default
="no"
8898 case "$target_cpu" in
8900 aros_target_cpu
="m68k"
8901 aros_object_format
="m68kelf"
8902 aros_flavour
="mac68knative"
8903 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8904 aros_nominal_width
=512
8905 aros_nominal_height
=384
8906 aros_nominal_depth
=8
8907 aros_target_ar_flags
="cru"
8908 aros_compiler_libs
="-lgcc1"
8909 aros_shared_default
=no
8910 aros_shared_cflags
="-fpic"
8911 aros_shared_aflags
=""
8912 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8913 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8914 aros_debug_cppflags
="$aros_messages_debug"
8915 aros_debug_cflags
="$aros_symbols_debug"
8916 aros_debug_aflags
=""
8917 aros_debug_ldflags
="$aros_symbols_debug"
8918 aros_mungwall_debug
="0"
8919 aros_modules_debug
="0"
8920 gcc_target_cpu
="mc68000"
8921 ignore_undefined_symbols
="-ius"
8924 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8930 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8934 #-----------------------------------------------------------------------------
8935 crosstools_guess
="yes"
8936 aros_target_toolchain
="no"
8937 aros_config_sysroot
=""
8938 aros_kernel_sysroot
=""
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8941 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8943 # Check whether --with-kernel-toolchain-prefix was given.
8944 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8945 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8949 $as_echo "$kernel_tool_prefix" >&6; }
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8952 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8954 # Check whether --with-elf-toolchain-prefix was given.
8955 if test "${with_elf_toolchain_prefix+set}" = set; then :
8956 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8957 crosstools_guess
="no"
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8961 $as_echo "$elf_tool_prefix" >&6; }
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8964 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8966 # Check whether --with-aros-toolchain was given.
8967 if test "${with_aros_toolchain+set}" = set; then :
8968 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8969 crosstools_guess
="no"
8972 if test "$aros_tool_prefix" = "yes" ; then
8973 aros_tool_prefix
=$aros_target_cpu-aros-
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8976 $as_echo "$aros_tool_prefix" >&6; }
8978 #-----------------------------------------------------------------------------
8979 # Checking if we should build crosstools..
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8981 $as_echo_n "checking whether to build crosstools... " >&6; }
8982 # Check whether --enable-crosstools was given.
8983 if test "${enable_crosstools+set}" = set; then :
8984 enableval
=$enable_crosstools; crosstools
="$enableval"
8986 crosstools
="$crosstools_guess"
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8990 $as_echo "$crosstools" >&6; }
8992 if test "${crosstools}" = "yes"; then
8993 if test "${crosstools_guess}" = "no"; then
8994 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8998 if test "${crosstools}" = "yes" ||
test "${crosstools_guess}" = "no"; then
8999 aros_target_toolchain
="yes"
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
9003 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
9005 # Check whether --with-aros-toolchain-install was given.
9006 if test "${with_aros_toolchain_install+set}" = set; then :
9007 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
9010 if test "x$aros_toolchain_install" = "x"; then
9011 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
9013 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
9014 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
9015 if test "$crosstools_guess" = "no" ; then
9016 toolchain_needs_sysroot
=yes
9018 if test "x-$aros_flavour" != "x-emulation" -a "x-$aros_flavour" != "x-emulcompat" ; then
9019 aros_kernel_sysroot
= $aros_config_sysroot
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
9024 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking If we need to use --sysroot" >&5
9027 $as_echo_n "checking If we need to use --sysroot... " >&6; }
9028 if test "$toolchain_needs_sysroot" = "yes" ; then
9029 aros_config_sysroot
="--sysroot $AROS_BUILDDIR_UNIX/bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Developer"
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolchain_needs_sysroot" >&5
9032 $as_echo "$toolchain_needs_sysroot" >&6; }
9034 #-----------------------------------------------------------------------------
9035 if test "$aros_toolchain" = "gnu" ; then
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target binutils version to use" >&5
9037 $as_echo_n "checking what specific target binutils version to use... " >&6; }
9040 # Check whether --with-binutils-version was given.
9041 if test "${with_binutils_version+set}" = set; then :
9042 withval
=$with_binutils_version; use_binutils_version
="$withval"
9044 use_binutils_version
=""
9047 if test "$use_binutils_version" = ""; then
9048 target_binutils_version
="$default_binutils_version"
9050 target_binutils_version
="$use_binutils_version"
9052 if test "$aros_toolchain" = "gnu" ; then
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_binutils_version" >&5
9054 $as_echo "$target_binutils_version" >&6; }
9058 # Helper to identify gcc version
9061 #-----------------------------------------------------------------------------
9062 if test "$aros_toolchain" = "gnu" ; then
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
9064 $as_echo_n "checking what specific target gcc version to use... " >&6; }
9067 # Check whether --with-gcc-version was given.
9068 if test "${with_gcc_version+set}" = set; then :
9069 withval
=$with_gcc_version; use_gcc_version
="$withval"
9074 if test "$use_gcc_version" = ""; then
9075 if test "${crosstools}" = "no"; then
9076 if test "x$aros_toolchain_install" != "x"; then
9078 target_gcc_version
=""
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
9080 $as_echo_n "checking gcc version... " >&6; }
9081 if ${ax_cv_gcc_version+:} false
; then :
9082 $as_echo_n "(cached) " >&6
9085 ax_cv_gcc_version
="`$AROS_CROSSTOOLSDIR/${aros_tool_prefix}${toolchain_cpp_preprocessor} -dumpversion`"
9086 if test "x$ax_cv_gcc_version" = "x"; then :
9088 ax_cv_gcc_version
=""
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_version" >&5
9094 $as_echo "$ax_cv_gcc_version" >&6; }
9095 target_gcc_version
=$ax_cv_gcc_version
9100 if test "$use_gcc_version" = ""; then
9101 target_gcc_version
="$default_gcc_version"
9104 target_gcc_version
="$use_gcc_version"
9106 if test "$aros_toolchain" = "gnu" ; then
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_gcc_version" >&5
9108 $as_echo "$target_gcc_version" >&6; }
9110 GCC_VERSION_MAJOR
=$
(echo $target_gcc_version | cut
-d'.' -f1)
9111 GCC_VERSION_MINOR
=$
(echo $target_gcc_version | cut
-d'.' -f2)
9112 GCC_VERSION_PATCH
=$
(echo $target_gcc_version | cut
-d'.' -f3)
9114 gcc_fix_bitfields
="false"
9115 if test "$GCC_VERSION_MAJOR" -gt "4" ; then
9116 gcc_fix_bitfields
="true"
9118 if test "$GCC_VERSION_MAJOR" -gt "3" ; then
9119 if test "$GCC_VERSION_MINOR" -gt "6" ; then
9120 gcc_fix_bitfields
="true"
9125 if test "$gcc_fix_bitfields" = "true" ; then
9126 case "$aros_target_cpu" in
9128 x86_isa_extra
="$x86_isa_extra -mno-ms-bitfields"
9129 x86_64_isa_extra
="$x86_64_isa_extra -mno-ms-bitfields"
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Objective-C suppport" >&5
9136 $as_echo_n "checking whether to enable Objective-C suppport... " >&6; }
9137 # Check whether --enable-objc was given.
9138 if test "${enable_objc+set}" = set; then :
9139 enableval
=$enable_objc; objc
="$enableval"
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objc" >&5
9145 $as_echo "$objc" >&6; }
9146 if test "x$objc" = "xyes"; then
9149 objc_target
="no-objc"
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Java suppport" >&5
9153 $as_echo_n "checking whether to enable Java suppport... " >&6; }
9154 # Check whether --enable-java was given.
9155 if test "${enable_java+set}" = set; then :
9156 enableval
=$enable_java; java
="$enableval"
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $java" >&5
9162 $as_echo "$java" >&6; }
9163 if test "x$java" != "xno"; then
9166 java_target
="no-java"
9169 spec_obj_format
="-m $aros_object_format"
9170 # Now process extra architecture-specific options.
9171 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
9172 # as well as floating-point ABI.
9173 case "$aros_target_cpu" in
9175 aros_isa_extra
="$x86_isa_extra$export_newline$x86_64_isa_extra$export_newline"
9176 spec_obj_format
="%{!m32:-m elf_x86_64} %{m32:-m elf_i386}"
9179 if test "$gcc_default_cpu" = ""; then
9180 gcc_default_cpu
="armv6"
9182 if test "$gcc_default_fpu" = ""; then
9183 gcc_default_fpu
="vfp"
9185 if test "$gcc_default_endian" = ""; then
9186 if test "$target_cpu" = "armeb"; then
9187 gcc_default_endian
="big-endian"
9189 gcc_default_endian
="little-endian"
9192 if test "$gcc_default_float_abi" = ""; then
9193 if test "$target_cpu" = "armhf"; then
9194 gcc_default_float_abi
="hard"
9196 gcc_default_float_abi
="softfp"
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
9201 $as_echo_n "checking Which minimum CPU to use... " >&6; }
9203 # Check whether --with-cpu was given.
9204 if test "${with_cpu+set}" = set; then :
9205 withval
=$with_cpu; aros_gcc_cpu
="$withval"
9207 aros_gcc_cpu
=$gcc_default_cpu
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
9211 $as_echo "$aros_gcc_cpu" >&6; }
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
9214 $as_echo_n "checking Which minimum FPU to use... " >&6; }
9216 # Check whether --with-fpu was given.
9217 if test "${with_fpu+set}" = set; then :
9218 withval
=$with_fpu; aros_gcc_fpu
="$withval"
9220 aros_gcc_fpu
=$gcc_default_fpu
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
9224 $as_echo "$aros_gcc_fpu" >&6; }
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
9227 $as_echo_n "checking Which floating point ABI to use... " >&6; }
9229 # Check whether --with-float was given.
9230 if test "${with_float+set}" = set; then :
9231 withval
=$with_float; aros_gcc_float_abi
="$withval"
9233 aros_gcc_float_abi
=$gcc_default_float_abi
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
9237 $as_echo "$aros_gcc_float_abi" >&6; }
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which ARM mode to use" >&5
9240 $as_echo_n "checking Which ARM mode to use... " >&6; }
9241 if test "$aros_target_cpu_mode" = ""; then
9242 aros_target_cpu_mode
="arm32"
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Defaulting to $aros_target_cpu_mode" >&5
9244 $as_echo "Defaulting to $aros_target_cpu_mode" >&6; }
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cpu_mode" >&5
9247 $as_echo "$aros_target_cpu_mode" >&6; }
9250 case "$aros_target_cpu_mode" in
9252 gcc_default_mode
="arm"
9253 aros_isa_flags
="$aros_isa_flags -m$gcc_default_mode -m$gcc_default_endian -mthumb-interwork -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi"
9256 as_fn_error $?
"ARM 64-bit mode is unsupported" "$LINENO" 5
9259 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9262 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9265 gcc_default_mode
="thumb"
9266 # Do not specify -mthumb-interwork as it may add extra code to support arm/thumb interwork
9267 aros_isa_flags
="$aros_isa_flags -m$gcc_default_mode -m$gcc_default_endian -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi"
9270 as_fn_error $?
"Unsupported ARM mode specified $aros_target_cpu_mode" "$LINENO" 5
9274 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -fno-exceptions"
9275 aros_config_cxxflags
="$aros_config_cxxflags -fno-asynchronous-unwind-tables -fno-exceptions"
9276 aros_config_aflags
="$aros_config_aflags -fno-asynchronous-unwind-tables -fno-exceptions"
9279 aros_isa_extra
="$x86_isa_extra$export_newline$x86_64_isa_extra$export_newline"
9280 aros_kernel_ldflags
="$aros_kernel_ldflags -m32"
9284 # Some architectures may need custom ELF specs.
9285 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
9286 elf_specs_in
=config
/${aros_object_format}-specs.
in
9288 elf_specs_in
=config
/elf-specs.
in
9291 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
9292 # Since we override specs, we may need to put these defines there
9293 if test "$gcc_target_cpu" != ""; then
9294 gcc_target_cpu
="-D__${gcc_target_cpu}__"
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
9298 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
9300 # Check whether --with-portssources was given.
9301 if test "${with_portssources+set}" = set; then :
9302 withval
=$with_portssources; with_portssrcdir
=$withval
9304 with_portssrcdir
="default"
9307 if test "$with_portssrcdir" = "default"; then
9308 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
9310 AROS_PORTSSRCDIR
="$with_portssrcdir"
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
9313 $as_echo "$AROS_PORTSSRCDIR" >&6; }
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
9316 $as_echo_n "checking which bootloader to use... " >&6; }
9318 # Check whether --with-bootloader was given.
9319 if test "${with_bootloader+set}" = set; then :
9320 withval
=$with_bootloader; target_bootloader
=$withval
9322 target_bootloader
=$target_bootloader
9325 if test "$target_bootloader" = "none"; then
9326 aros_target_bootloader
=""
9328 aros_target_bootloader
="$target_bootloader"
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
9331 $as_echo "$target_bootloader" >&6; }
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
9334 $as_echo_n "checking which icon-set to use... " >&6; }
9336 # Check whether --with-iconset was given.
9337 if test "${with_iconset+set}" = set; then :
9338 withval
=$with_iconset; target_iconset
=$withval
9340 target_iconset
="default"
9343 if test "$target_iconset" = "default"; then
9344 aros_target_iconset
="Gorilla"
9345 target_iconset
="default (Gorilla)"
9347 aros_target_iconset
="$target_iconset"
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
9350 $as_echo "$target_iconset" >&6; }
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
9353 $as_echo_n "checking which GUI Theme to use... " >&6; }
9355 # Check whether --with-theme was given.
9356 if test "${with_theme+set}" = set; then :
9357 withval
=$with_theme; target_guitheme
=$withval
9359 target_guitheme
="default"
9362 if test "$target_guitheme" = "default"; then
9363 aros_target_guitheme
="Ice"
9365 aros_target_guitheme
="$target_guitheme"
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
9368 $as_echo "$aros_target_guitheme" >&6; }
9370 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
9374 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9378 if test "$aros_host_cpu" == "x86_64" ; then
9379 if test "$aros_target_cpu" == "i386" ; then
9384 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9385 if test "$aros_host_arch" != "$aros_target_arch" ; then
9389 if test "$host_cc_elf" = "no" ; then
9394 if test "$cross_compiling" = "no" ; then
9395 kernel_tool_prefix
=""
9396 if test "$host_cc_elf" = "yes" ; then
9401 if test "$kernel_tool_version" != ""; then
9402 kernel_tool_version
="-$kernel_tool_version"
9405 #######################################################################
9406 ## Compute what toolchains to use, and their paths ##
9407 #######################################################################
9409 # This takes, as input:
9410 # crosstools {yes,no}
9411 # kernel_tool_version {"",[version]}
9412 # target_tool_version {"",[version]}
9413 # kernel_tool_prefix {none,[some-arch-os-]}
9415 # target_tool_prefix ${aros_target_cpu}-aros-
9416 # aros_tool_prefix ${aros_target_cpu}-aros-
9419 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9420 # Where the 'kernel' binaries are located
9421 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9422 # Where the 'target' binaries are located
9423 # (not the symlink farm - that is aros_target_*!)
9426 # if crosstools then
9427 # if kernel_tools_prefix = "no-kernel-prefix-"
9428 # aros_kernel_* = crosstools cc paths
9429 # aros_kernel_cc = elf cc wrapper around crosstools cc
9431 # VALIDATE(${kernel_tools_prefix}*)
9432 # aros_kernel_* = ${kernel_tools_prefix}*
9433 # if ${kernel_tools_prefix}cc is an AROS gcc
9434 # aros_kernel_cc = ${kernel_tools_prefix}cc
9436 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
9440 # orig_target_* = aros built crosstools
9441 # orig_target_cc = elf cc wrapper around crosstools cc
9443 # VALIDATE(${kernel_tools_prefix}*)
9445 # orig_target_* = aros_kernel_*
9446 # if aros_kernel_cc is an AROS gcc
9447 # orig_target_cc = aros_kernel_cc
9449 # orig_target_cc = aros cc wrapper around aros_kernel_cc
9453 if test "$aros_toolchain" = "gnu" ; then
9454 target_tool_prefix
="${aros_target_cpu}-aros-"
9455 elif test "$aros_toolchain" = "llvm" ; then
9456 target_tool_prefix
="bin/"
9459 if test "$kernel_tool_prefix" != "" ; then
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
9461 $as_echo_n "checking which kernel tools... " >&6; }
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
9463 $as_echo "$kernel_tool_prefix" >&6; };
9466 if test "$kernel_tool_prefix" = "none" ; then
9467 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9468 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
9471 # Kernel tools required - find them
9472 # Note that 'normally', aros_kernel_* overrides will be
9473 # empty, unless specified in the per-arch sections above.
9474 if test "x$aros_kernel_cpp" = "x"; then
9475 aros_kernel_cpp
=${kernel_tool_prefix}${CPP}
9477 if test "${kernel_tool_version}" != ""; then
9478 if test "$aros_kernel_cpp" != ""; then
9479 ac_prog_args
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9480 ac_prog_cmd
=`expr "X$aros_kernel_cpp" : '^\S*'`
9481 aros_kernel_cpp
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9485 if test "$aros_kernel_cpp" = ""; then
9486 if test "$cross_compiling" = "yes" ; then
9487 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
9488 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9490 $as_echo_n "checking for $ac_word... " >&6; }
9491 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9492 $as_echo_n "(cached) " >&6
9494 case $aros_kernel_cpp in
9496 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9503 test -z "$as_dir" && as_dir
=.
9504 for ac_exec_ext
in '' $ac_executable_extensions; do
9505 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9506 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9517 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9518 if test -n "$aros_kernel_cpp"; then
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9520 $as_echo "$aros_kernel_cpp" >&6; }
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9523 $as_echo "no" >&6; }
9528 if test "$GCC" = "yes"; then
9529 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
9530 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
9531 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9533 $as_echo_n "checking for $ac_word... " >&6; }
9534 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9535 $as_echo_n "(cached) " >&6
9537 case $aros_kernel_cpp in
9539 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9543 for as_dir
in `dirname $aros_gcc_cpp`
9546 test -z "$as_dir" && as_dir
=.
9547 for ac_exec_ext
in '' $ac_executable_extensions; do
9548 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9549 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9560 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9561 if test -n "$aros_kernel_cpp"; then
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9563 $as_echo "$aros_kernel_cpp" >&6; }
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9566 $as_echo "no" >&6; }
9571 if test "$aros_kernel_cpp" = ""; then
9572 # Extract the first word of "cpp", so it can be a program name with args.
9573 set dummy cpp
; ac_word
=$2
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9575 $as_echo_n "checking for $ac_word... " >&6; }
9576 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9577 $as_echo_n "(cached) " >&6
9579 case $aros_kernel_cpp in
9581 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9588 test -z "$as_dir" && as_dir
=.
9589 for ac_exec_ext
in '' $ac_executable_extensions; do
9590 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9591 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9602 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9603 if test -n "$aros_kernel_cpp"; then
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9605 $as_echo "$aros_kernel_cpp" >&6; }
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9608 $as_echo "no" >&6; }
9615 ac_tool_optarg
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9616 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
9617 set dummy
$aros_kernel_cpp; ac_word
=$2
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9619 $as_echo_n "checking for $ac_word... " >&6; }
9620 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9621 $as_echo_n "(cached) " >&6
9623 case $aros_kernel_cpp in
9625 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9632 test -z "$as_dir" && as_dir
=.
9633 for ac_exec_ext
in '' $ac_executable_extensions; do
9634 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9635 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9646 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9647 if test -n "$aros_kernel_cpp"; then
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9649 $as_echo "$aros_kernel_cpp" >&6; }
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9652 $as_echo "no" >&6; }
9656 aros_kernel_cpp
="$aros_kernel_cpp $ac_tool_optarg"
9660 if test "$aros_kernel_cpp" = ""; then
9663 if test "$aros_kernel_cpp" = "no"; then
9666 if test "$req_avail" = "no"; then
9667 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
9670 if test "x$aros_kernel_cc" = "x"; then
9671 aros_kernel_cc
=${kernel_tool_prefix}${CC}
9673 if test "${kernel_tool_version}" != ""; then
9674 if test "$aros_kernel_cc" != ""; then
9675 ac_prog_args
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
9676 ac_prog_cmd
=`expr "X$aros_kernel_cc" : '^\S*'`
9677 aros_kernel_cc
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9681 if test "$aros_kernel_cc" = ""; then
9682 if test "$cross_compiling" = "yes" ; then
9683 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
9684 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9686 $as_echo_n "checking for $ac_word... " >&6; }
9687 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9688 $as_echo_n "(cached) " >&6
9690 case $aros_kernel_cc in
9692 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9699 test -z "$as_dir" && as_dir
=.
9700 for ac_exec_ext
in '' $ac_executable_extensions; do
9701 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9702 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9713 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9714 if test -n "$aros_kernel_cc"; then
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9716 $as_echo "$aros_kernel_cc" >&6; }
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9719 $as_echo "no" >&6; }
9724 if test "$GCC" = "yes"; then
9725 aros_gcc_cc
=`$CC -print-prog-name=cc`
9726 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
9727 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9729 $as_echo_n "checking for $ac_word... " >&6; }
9730 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9731 $as_echo_n "(cached) " >&6
9733 case $aros_kernel_cc in
9735 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9739 for as_dir
in `dirname $aros_gcc_cc`
9742 test -z "$as_dir" && as_dir
=.
9743 for ac_exec_ext
in '' $ac_executable_extensions; do
9744 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9745 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9756 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9757 if test -n "$aros_kernel_cc"; then
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9759 $as_echo "$aros_kernel_cc" >&6; }
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9762 $as_echo "no" >&6; }
9767 if test "$aros_kernel_cc" = ""; then
9768 # Extract the first word of "cc", so it can be a program name with args.
9769 set dummy cc
; ac_word
=$2
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9771 $as_echo_n "checking for $ac_word... " >&6; }
9772 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9773 $as_echo_n "(cached) " >&6
9775 case $aros_kernel_cc in
9777 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9784 test -z "$as_dir" && as_dir
=.
9785 for ac_exec_ext
in '' $ac_executable_extensions; do
9786 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9787 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9798 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9799 if test -n "$aros_kernel_cc"; then
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9801 $as_echo "$aros_kernel_cc" >&6; }
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9804 $as_echo "no" >&6; }
9811 ac_tool_optarg
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
9812 # Extract the first word of "$aros_kernel_cc", so it can be a program name with args.
9813 set dummy
$aros_kernel_cc; ac_word
=$2
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9815 $as_echo_n "checking for $ac_word... " >&6; }
9816 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9817 $as_echo_n "(cached) " >&6
9819 case $aros_kernel_cc in
9821 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9828 test -z "$as_dir" && as_dir
=.
9829 for ac_exec_ext
in '' $ac_executable_extensions; do
9830 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9831 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9842 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9843 if test -n "$aros_kernel_cc"; then
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9845 $as_echo "$aros_kernel_cc" >&6; }
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9848 $as_echo "no" >&6; }
9852 aros_kernel_cc
="$aros_kernel_cc $ac_tool_optarg"
9856 if test "$aros_kernel_cc" = ""; then
9859 if test "$aros_kernel_cc" = "no"; then
9862 if test "$req_avail" = "no"; then
9863 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9866 if test "x$aros_kernel_cxx" = "x"; then
9867 aros_kernel_cxx
=${kernel_tool_prefix}${CXX}
9869 if test "${kernel_tool_version}" != ""; then
9870 if test "$aros_kernel_cxx" != ""; then
9871 ac_prog_args
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
9872 ac_prog_cmd
=`expr "X$aros_kernel_cxx" : '^\S*'`
9873 aros_kernel_cxx
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9877 if test "$aros_kernel_cxx" = ""; then
9878 if test "$cross_compiling" = "yes" ; then
9879 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9880 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9882 $as_echo_n "checking for $ac_word... " >&6; }
9883 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9884 $as_echo_n "(cached) " >&6
9886 case $aros_kernel_cxx in
9888 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9895 test -z "$as_dir" && as_dir
=.
9896 for ac_exec_ext
in '' $ac_executable_extensions; do
9897 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9898 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9909 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9910 if test -n "$aros_kernel_cxx"; then
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9912 $as_echo "$aros_kernel_cxx" >&6; }
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9915 $as_echo "no" >&6; }
9920 if test "$GCC" = "yes"; then
9921 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9922 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9923 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9925 $as_echo_n "checking for $ac_word... " >&6; }
9926 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9927 $as_echo_n "(cached) " >&6
9929 case $aros_kernel_cxx in
9931 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9935 for as_dir
in `dirname $aros_gcc_cxx`
9938 test -z "$as_dir" && as_dir
=.
9939 for ac_exec_ext
in '' $ac_executable_extensions; do
9940 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9941 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9952 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9953 if test -n "$aros_kernel_cxx"; then
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9955 $as_echo "$aros_kernel_cxx" >&6; }
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9958 $as_echo "no" >&6; }
9963 if test "$aros_kernel_cxx" = ""; then
9964 # Extract the first word of "cxx", so it can be a program name with args.
9965 set dummy cxx
; ac_word
=$2
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9967 $as_echo_n "checking for $ac_word... " >&6; }
9968 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9969 $as_echo_n "(cached) " >&6
9971 case $aros_kernel_cxx in
9973 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9980 test -z "$as_dir" && as_dir
=.
9981 for ac_exec_ext
in '' $ac_executable_extensions; do
9982 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9983 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9994 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9995 if test -n "$aros_kernel_cxx"; then
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9997 $as_echo "$aros_kernel_cxx" >&6; }
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10000 $as_echo "no" >&6; }
10007 ac_tool_optarg
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
10008 # Extract the first word of "$aros_kernel_cxx", so it can be a program name with args.
10009 set dummy
$aros_kernel_cxx; ac_word
=$2
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10011 $as_echo_n "checking for $ac_word... " >&6; }
10012 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10013 $as_echo_n "(cached) " >&6
10015 case $aros_kernel_cxx in
10017 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10021 for as_dir
in $PATH
10024 test -z "$as_dir" && as_dir
=.
10025 for ac_exec_ext
in '' $ac_executable_extensions; do
10026 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10027 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10038 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10039 if test -n "$aros_kernel_cxx"; then
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10041 $as_echo "$aros_kernel_cxx" >&6; }
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10044 $as_echo "no" >&6; }
10048 aros_kernel_cxx
="$aros_kernel_cxx $ac_tool_optarg"
10051 # If it's set, make sure it's really there
10052 if test "x$aros_kernel_cxx" != "x" ; then
10054 if test "$aros_kernel_cxx" = ""; then
10057 if test "$aros_kernel_cxx" = "no"; then
10060 if test "$req_avail" = "no"; then
10061 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
10065 if test "$aros_kernel_ld" = ""; then
10066 if test "$cross_compiling" = "yes" ; then
10067 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
10068 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10070 $as_echo_n "checking for $ac_word... " >&6; }
10071 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10072 $as_echo_n "(cached) " >&6
10074 case $aros_kernel_ld in
10076 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10080 for as_dir
in $PATH
10083 test -z "$as_dir" && as_dir
=.
10084 for ac_exec_ext
in '' $ac_executable_extensions; do
10085 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10086 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10097 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10098 if test -n "$aros_kernel_ld"; then
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10100 $as_echo "$aros_kernel_ld" >&6; }
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10103 $as_echo "no" >&6; }
10108 if test "$GCC" = "yes"; then
10109 aros_gcc_ld
=`$CC -print-prog-name=ld`
10110 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
10111 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10113 $as_echo_n "checking for $ac_word... " >&6; }
10114 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10115 $as_echo_n "(cached) " >&6
10117 case $aros_kernel_ld in
10119 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10123 for as_dir
in `dirname $aros_gcc_ld`
10126 test -z "$as_dir" && as_dir
=.
10127 for ac_exec_ext
in '' $ac_executable_extensions; do
10128 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10129 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10140 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10141 if test -n "$aros_kernel_ld"; then
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10143 $as_echo "$aros_kernel_ld" >&6; }
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10146 $as_echo "no" >&6; }
10151 if test "$aros_kernel_ld" = ""; then
10152 # Extract the first word of "ld", so it can be a program name with args.
10153 set dummy ld
; ac_word
=$2
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10155 $as_echo_n "checking for $ac_word... " >&6; }
10156 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10157 $as_echo_n "(cached) " >&6
10159 case $aros_kernel_ld in
10161 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10165 for as_dir
in $PATH
10168 test -z "$as_dir" && as_dir
=.
10169 for ac_exec_ext
in '' $ac_executable_extensions; do
10170 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10171 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10182 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10183 if test -n "$aros_kernel_ld"; then
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10185 $as_echo "$aros_kernel_ld" >&6; }
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10188 $as_echo "no" >&6; }
10195 ac_tool_optarg
=`expr "X$aros_kernel_ld" : '[^ ]* \(.*\)'`
10196 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
10197 set dummy
$aros_kernel_ld; ac_word
=$2
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10199 $as_echo_n "checking for $ac_word... " >&6; }
10200 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10201 $as_echo_n "(cached) " >&6
10203 case $aros_kernel_ld in
10205 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10209 for as_dir
in $PATH
10212 test -z "$as_dir" && as_dir
=.
10213 for ac_exec_ext
in '' $ac_executable_extensions; do
10214 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10215 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10226 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10227 if test -n "$aros_kernel_ld"; then
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10229 $as_echo "$aros_kernel_ld" >&6; }
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10232 $as_echo "no" >&6; }
10236 aros_kernel_ld
="$aros_kernel_ld $ac_tool_optarg"
10240 if test "$aros_kernel_ld" = ""; then
10243 if test "$aros_kernel_ld" = "no"; then
10246 if test "$req_avail" = "no"; then
10247 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10250 if test "$aros_kernel_as" = ""; then
10251 if test "$cross_compiling" = "yes" ; then
10252 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
10253 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10255 $as_echo_n "checking for $ac_word... " >&6; }
10256 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10257 $as_echo_n "(cached) " >&6
10259 case $aros_kernel_as in
10261 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10265 for as_dir
in $PATH
10268 test -z "$as_dir" && as_dir
=.
10269 for ac_exec_ext
in '' $ac_executable_extensions; do
10270 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10271 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10282 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10283 if test -n "$aros_kernel_as"; then
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10285 $as_echo "$aros_kernel_as" >&6; }
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10288 $as_echo "no" >&6; }
10293 if test "$GCC" = "yes"; then
10294 aros_gcc_as
=`$CC -print-prog-name=as`
10295 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
10296 set dummy
`basename $aros_gcc_as`; ac_word
=$2
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10298 $as_echo_n "checking for $ac_word... " >&6; }
10299 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10300 $as_echo_n "(cached) " >&6
10302 case $aros_kernel_as in
10304 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10308 for as_dir
in `dirname $aros_gcc_as`
10311 test -z "$as_dir" && as_dir
=.
10312 for ac_exec_ext
in '' $ac_executable_extensions; do
10313 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10314 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10325 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10326 if test -n "$aros_kernel_as"; then
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10328 $as_echo "$aros_kernel_as" >&6; }
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10331 $as_echo "no" >&6; }
10336 if test "$aros_kernel_as" = ""; then
10337 # Extract the first word of "as", so it can be a program name with args.
10338 set dummy as
; ac_word
=$2
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10340 $as_echo_n "checking for $ac_word... " >&6; }
10341 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10342 $as_echo_n "(cached) " >&6
10344 case $aros_kernel_as in
10346 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10350 for as_dir
in $PATH
10353 test -z "$as_dir" && as_dir
=.
10354 for ac_exec_ext
in '' $ac_executable_extensions; do
10355 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10356 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10367 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10368 if test -n "$aros_kernel_as"; then
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10370 $as_echo "$aros_kernel_as" >&6; }
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10373 $as_echo "no" >&6; }
10380 ac_tool_optarg
=`expr "X$aros_kernel_as" : '[^ ]* \(.*\)'`
10381 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
10382 set dummy
$aros_kernel_as; ac_word
=$2
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10384 $as_echo_n "checking for $ac_word... " >&6; }
10385 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10386 $as_echo_n "(cached) " >&6
10388 case $aros_kernel_as in
10390 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10394 for as_dir
in $PATH
10397 test -z "$as_dir" && as_dir
=.
10398 for ac_exec_ext
in '' $ac_executable_extensions; do
10399 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10400 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10411 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10412 if test -n "$aros_kernel_as"; then
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10414 $as_echo "$aros_kernel_as" >&6; }
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10417 $as_echo "no" >&6; }
10421 aros_kernel_as
="$aros_kernel_as $ac_tool_optarg"
10425 if test "$aros_kernel_as" = ""; then
10428 if test "$aros_kernel_as" = "no"; then
10431 if test "$req_avail" = "no"; then
10432 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
10435 if test "$aros_kernel_ar" = ""; then
10436 if test "$cross_compiling" = "yes" ; then
10437 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
10438 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10440 $as_echo_n "checking for $ac_word... " >&6; }
10441 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10442 $as_echo_n "(cached) " >&6
10444 case $aros_kernel_ar in
10446 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10450 for as_dir
in $PATH
10453 test -z "$as_dir" && as_dir
=.
10454 for ac_exec_ext
in '' $ac_executable_extensions; do
10455 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10456 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10467 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10468 if test -n "$aros_kernel_ar"; then
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10470 $as_echo "$aros_kernel_ar" >&6; }
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10473 $as_echo "no" >&6; }
10478 if test "$GCC" = "yes"; then
10479 aros_gcc_ar
=`$CC -print-prog-name=ar`
10480 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
10481 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10483 $as_echo_n "checking for $ac_word... " >&6; }
10484 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10485 $as_echo_n "(cached) " >&6
10487 case $aros_kernel_ar in
10489 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10493 for as_dir
in `dirname $aros_gcc_ar`
10496 test -z "$as_dir" && as_dir
=.
10497 for ac_exec_ext
in '' $ac_executable_extensions; do
10498 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10499 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10510 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10511 if test -n "$aros_kernel_ar"; then
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10513 $as_echo "$aros_kernel_ar" >&6; }
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10516 $as_echo "no" >&6; }
10521 if test "$aros_kernel_ar" = ""; then
10522 # Extract the first word of "ar", so it can be a program name with args.
10523 set dummy
ar; ac_word
=$2
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10525 $as_echo_n "checking for $ac_word... " >&6; }
10526 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10527 $as_echo_n "(cached) " >&6
10529 case $aros_kernel_ar in
10531 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10535 for as_dir
in $PATH
10538 test -z "$as_dir" && as_dir
=.
10539 for ac_exec_ext
in '' $ac_executable_extensions; do
10540 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10541 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10552 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10553 if test -n "$aros_kernel_ar"; then
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10555 $as_echo "$aros_kernel_ar" >&6; }
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10558 $as_echo "no" >&6; }
10565 ac_tool_optarg
=`expr "X$aros_kernel_ar" : '[^ ]* \(.*\)'`
10566 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
10567 set dummy
$aros_kernel_ar; ac_word
=$2
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10569 $as_echo_n "checking for $ac_word... " >&6; }
10570 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10571 $as_echo_n "(cached) " >&6
10573 case $aros_kernel_ar in
10575 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10579 for as_dir
in $PATH
10582 test -z "$as_dir" && as_dir
=.
10583 for ac_exec_ext
in '' $ac_executable_extensions; do
10584 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10585 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10596 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10597 if test -n "$aros_kernel_ar"; then
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10599 $as_echo "$aros_kernel_ar" >&6; }
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10602 $as_echo "no" >&6; }
10606 aros_kernel_ar
="$aros_kernel_ar $ac_tool_optarg"
10610 if test "$aros_kernel_ar" = ""; then
10613 if test "$aros_kernel_ar" = "no"; then
10616 if test "$req_avail" = "no"; then
10617 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
10620 if test "$aros_kernel_ranlib" = ""; then
10621 if test "$cross_compiling" = "yes" ; then
10622 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
10623 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10625 $as_echo_n "checking for $ac_word... " >&6; }
10626 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10627 $as_echo_n "(cached) " >&6
10629 case $aros_kernel_ranlib in
10631 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10635 for as_dir
in $PATH
10638 test -z "$as_dir" && as_dir
=.
10639 for ac_exec_ext
in '' $ac_executable_extensions; do
10640 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10641 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10652 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10653 if test -n "$aros_kernel_ranlib"; then
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10655 $as_echo "$aros_kernel_ranlib" >&6; }
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10658 $as_echo "no" >&6; }
10663 if test "$GCC" = "yes"; then
10664 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10665 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10666 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10668 $as_echo_n "checking for $ac_word... " >&6; }
10669 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10670 $as_echo_n "(cached) " >&6
10672 case $aros_kernel_ranlib in
10674 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10678 for as_dir
in `dirname $aros_gcc_ranlib`
10681 test -z "$as_dir" && as_dir
=.
10682 for ac_exec_ext
in '' $ac_executable_extensions; do
10683 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10684 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10695 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10696 if test -n "$aros_kernel_ranlib"; then
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10698 $as_echo "$aros_kernel_ranlib" >&6; }
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10701 $as_echo "no" >&6; }
10706 if test "$aros_kernel_ranlib" = ""; then
10707 # Extract the first word of "ranlib", so it can be a program name with args.
10708 set dummy ranlib
; ac_word
=$2
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10710 $as_echo_n "checking for $ac_word... " >&6; }
10711 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10712 $as_echo_n "(cached) " >&6
10714 case $aros_kernel_ranlib in
10716 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10720 for as_dir
in $PATH
10723 test -z "$as_dir" && as_dir
=.
10724 for ac_exec_ext
in '' $ac_executable_extensions; do
10725 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10726 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10737 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10738 if test -n "$aros_kernel_ranlib"; then
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10740 $as_echo "$aros_kernel_ranlib" >&6; }
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10743 $as_echo "no" >&6; }
10750 ac_tool_optarg
=`expr "X$aros_kernel_ranlib" : '[^ ]* \(.*\)'`
10751 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
10752 set dummy
$aros_kernel_ranlib; ac_word
=$2
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10754 $as_echo_n "checking for $ac_word... " >&6; }
10755 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10756 $as_echo_n "(cached) " >&6
10758 case $aros_kernel_ranlib in
10760 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10764 for as_dir
in $PATH
10767 test -z "$as_dir" && as_dir
=.
10768 for ac_exec_ext
in '' $ac_executable_extensions; do
10769 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10770 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10781 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10782 if test -n "$aros_kernel_ranlib"; then
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10784 $as_echo "$aros_kernel_ranlib" >&6; }
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10787 $as_echo "no" >&6; }
10791 aros_kernel_ranlib
="$aros_kernel_ranlib $ac_tool_optarg"
10795 if test "$aros_kernel_ranlib" = ""; then
10798 if test "$aros_kernel_ranlib" = "no"; then
10801 if test "$req_avail" = "no"; then
10802 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
10805 if test "$aros_kernel_nm" = ""; then
10806 if test "$cross_compiling" = "yes" ; then
10807 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
10808 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10810 $as_echo_n "checking for $ac_word... " >&6; }
10811 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10812 $as_echo_n "(cached) " >&6
10814 case $aros_kernel_nm in
10816 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10820 for as_dir
in $PATH
10823 test -z "$as_dir" && as_dir
=.
10824 for ac_exec_ext
in '' $ac_executable_extensions; do
10825 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10826 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10837 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10838 if test -n "$aros_kernel_nm"; then
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10840 $as_echo "$aros_kernel_nm" >&6; }
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10843 $as_echo "no" >&6; }
10848 if test "$GCC" = "yes"; then
10849 aros_gcc_nm
=`$CC -print-prog-name=nm`
10850 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10851 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10853 $as_echo_n "checking for $ac_word... " >&6; }
10854 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10855 $as_echo_n "(cached) " >&6
10857 case $aros_kernel_nm in
10859 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10863 for as_dir
in `dirname $aros_gcc_nm`
10866 test -z "$as_dir" && as_dir
=.
10867 for ac_exec_ext
in '' $ac_executable_extensions; do
10868 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10869 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10880 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10881 if test -n "$aros_kernel_nm"; then
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10883 $as_echo "$aros_kernel_nm" >&6; }
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10886 $as_echo "no" >&6; }
10891 if test "$aros_kernel_nm" = ""; then
10892 # Extract the first word of "nm", so it can be a program name with args.
10893 set dummy nm
; ac_word
=$2
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10895 $as_echo_n "checking for $ac_word... " >&6; }
10896 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10897 $as_echo_n "(cached) " >&6
10899 case $aros_kernel_nm in
10901 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10905 for as_dir
in $PATH
10908 test -z "$as_dir" && as_dir
=.
10909 for ac_exec_ext
in '' $ac_executable_extensions; do
10910 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10911 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10922 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10923 if test -n "$aros_kernel_nm"; then
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10925 $as_echo "$aros_kernel_nm" >&6; }
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10928 $as_echo "no" >&6; }
10935 ac_tool_optarg
=`expr "X$aros_kernel_nm" : '[^ ]* \(.*\)'`
10936 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10937 set dummy
$aros_kernel_nm; ac_word
=$2
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10939 $as_echo_n "checking for $ac_word... " >&6; }
10940 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10941 $as_echo_n "(cached) " >&6
10943 case $aros_kernel_nm in
10945 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10949 for as_dir
in $PATH
10952 test -z "$as_dir" && as_dir
=.
10953 for ac_exec_ext
in '' $ac_executable_extensions; do
10954 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10955 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10966 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10967 if test -n "$aros_kernel_nm"; then
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10969 $as_echo "$aros_kernel_nm" >&6; }
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10972 $as_echo "no" >&6; }
10976 aros_kernel_nm
="$aros_kernel_nm $ac_tool_optarg"
10980 if test "$aros_kernel_nm" = ""; then
10983 if test "$aros_kernel_nm" = "no"; then
10986 if test "$req_avail" = "no"; then
10987 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10990 if test "$aros_kernel_strip" = ""; then
10991 if test "$cross_compiling" = "yes" ; then
10992 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10993 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10995 $as_echo_n "checking for $ac_word... " >&6; }
10996 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10997 $as_echo_n "(cached) " >&6
10999 case $aros_kernel_strip in
11001 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11005 for as_dir
in $PATH
11008 test -z "$as_dir" && as_dir
=.
11009 for ac_exec_ext
in '' $ac_executable_extensions; do
11010 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11011 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11022 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11023 if test -n "$aros_kernel_strip"; then
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11025 $as_echo "$aros_kernel_strip" >&6; }
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11028 $as_echo "no" >&6; }
11033 if test "$GCC" = "yes"; then
11034 aros_gcc_strip
=`$CC -print-prog-name=strip`
11035 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
11036 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11038 $as_echo_n "checking for $ac_word... " >&6; }
11039 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11040 $as_echo_n "(cached) " >&6
11042 case $aros_kernel_strip in
11044 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11048 for as_dir
in `dirname $aros_gcc_strip`
11051 test -z "$as_dir" && as_dir
=.
11052 for ac_exec_ext
in '' $ac_executable_extensions; do
11053 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11054 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11065 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11066 if test -n "$aros_kernel_strip"; then
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11068 $as_echo "$aros_kernel_strip" >&6; }
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11071 $as_echo "no" >&6; }
11076 if test "$aros_kernel_strip" = ""; then
11077 # Extract the first word of "strip", so it can be a program name with args.
11078 set dummy strip
; ac_word
=$2
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11080 $as_echo_n "checking for $ac_word... " >&6; }
11081 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11082 $as_echo_n "(cached) " >&6
11084 case $aros_kernel_strip in
11086 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11090 for as_dir
in $PATH
11093 test -z "$as_dir" && as_dir
=.
11094 for ac_exec_ext
in '' $ac_executable_extensions; do
11095 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11096 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11107 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11108 if test -n "$aros_kernel_strip"; then
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11110 $as_echo "$aros_kernel_strip" >&6; }
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11113 $as_echo "no" >&6; }
11120 ac_tool_optarg
=`expr "X$aros_kernel_strip" : '[^ ]* \(.*\)'`
11121 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
11122 set dummy
$aros_kernel_strip; ac_word
=$2
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11124 $as_echo_n "checking for $ac_word... " >&6; }
11125 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11126 $as_echo_n "(cached) " >&6
11128 case $aros_kernel_strip in
11130 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11134 for as_dir
in $PATH
11137 test -z "$as_dir" && as_dir
=.
11138 for ac_exec_ext
in '' $ac_executable_extensions; do
11139 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11140 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11151 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11152 if test -n "$aros_kernel_strip"; then
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11154 $as_echo "$aros_kernel_strip" >&6; }
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11157 $as_echo "no" >&6; }
11161 aros_kernel_strip
="$aros_kernel_strip $ac_tool_optarg"
11165 if test "$aros_kernel_strip" = ""; then
11168 if test "$aros_kernel_strip" = "no"; then
11171 if test "$req_avail" = "no"; then
11172 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
11175 # Objcopy and objdump are not required for the kernel
11176 # toolchain on many architectures.
11177 # So we'll look for them, but not make them strictly required.
11179 if test "$aros_kernel_objcopy" = ""; then
11180 if test "$cross_compiling" = "yes" ; then
11181 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
11182 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11184 $as_echo_n "checking for $ac_word... " >&6; }
11185 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11186 $as_echo_n "(cached) " >&6
11188 case $aros_kernel_objcopy in
11190 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11194 for as_dir
in $PATH
11197 test -z "$as_dir" && as_dir
=.
11198 for ac_exec_ext
in '' $ac_executable_extensions; do
11199 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11200 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11211 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11212 if test -n "$aros_kernel_objcopy"; then
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11214 $as_echo "$aros_kernel_objcopy" >&6; }
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11217 $as_echo "no" >&6; }
11222 if test "$GCC" = "yes"; then
11223 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
11224 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
11225 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11227 $as_echo_n "checking for $ac_word... " >&6; }
11228 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11229 $as_echo_n "(cached) " >&6
11231 case $aros_kernel_objcopy in
11233 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11237 for as_dir
in `dirname $aros_gcc_objcopy`
11240 test -z "$as_dir" && as_dir
=.
11241 for ac_exec_ext
in '' $ac_executable_extensions; do
11242 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11243 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11254 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11255 if test -n "$aros_kernel_objcopy"; then
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11257 $as_echo "$aros_kernel_objcopy" >&6; }
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11260 $as_echo "no" >&6; }
11265 if test "$aros_kernel_objcopy" = ""; then
11266 # Extract the first word of "objcopy", so it can be a program name with args.
11267 set dummy objcopy
; ac_word
=$2
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11269 $as_echo_n "checking for $ac_word... " >&6; }
11270 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11271 $as_echo_n "(cached) " >&6
11273 case $aros_kernel_objcopy in
11275 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11279 for as_dir
in $PATH
11282 test -z "$as_dir" && as_dir
=.
11283 for ac_exec_ext
in '' $ac_executable_extensions; do
11284 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11285 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11296 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11297 if test -n "$aros_kernel_objcopy"; then
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11299 $as_echo "$aros_kernel_objcopy" >&6; }
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11302 $as_echo "no" >&6; }
11309 ac_tool_optarg
=`expr "X$aros_kernel_objcopy" : '[^ ]* \(.*\)'`
11310 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
11311 set dummy
$aros_kernel_objcopy; ac_word
=$2
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11313 $as_echo_n "checking for $ac_word... " >&6; }
11314 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11315 $as_echo_n "(cached) " >&6
11317 case $aros_kernel_objcopy in
11319 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11323 for as_dir
in $PATH
11326 test -z "$as_dir" && as_dir
=.
11327 for ac_exec_ext
in '' $ac_executable_extensions; do
11328 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11329 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11340 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11341 if test -n "$aros_kernel_objcopy"; then
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11343 $as_echo "$aros_kernel_objcopy" >&6; }
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11346 $as_echo "no" >&6; }
11350 aros_kernel_objcopy
="$aros_kernel_objcopy $ac_tool_optarg"
11354 if test "$aros_kernel_objdump" = ""; then
11355 if test "$cross_compiling" = "yes" ; then
11356 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
11357 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11359 $as_echo_n "checking for $ac_word... " >&6; }
11360 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11361 $as_echo_n "(cached) " >&6
11363 case $aros_kernel_objdump in
11365 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11369 for as_dir
in $PATH
11372 test -z "$as_dir" && as_dir
=.
11373 for ac_exec_ext
in '' $ac_executable_extensions; do
11374 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11375 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11386 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11387 if test -n "$aros_kernel_objdump"; then
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11389 $as_echo "$aros_kernel_objdump" >&6; }
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11392 $as_echo "no" >&6; }
11397 if test "$GCC" = "yes"; then
11398 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
11399 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
11400 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11402 $as_echo_n "checking for $ac_word... " >&6; }
11403 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11404 $as_echo_n "(cached) " >&6
11406 case $aros_kernel_objdump in
11408 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11412 for as_dir
in `dirname $aros_gcc_objdump`
11415 test -z "$as_dir" && as_dir
=.
11416 for ac_exec_ext
in '' $ac_executable_extensions; do
11417 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11418 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11429 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11430 if test -n "$aros_kernel_objdump"; then
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11432 $as_echo "$aros_kernel_objdump" >&6; }
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11435 $as_echo "no" >&6; }
11440 if test "$aros_kernel_objdump" = ""; then
11441 # Extract the first word of "objdump", so it can be a program name with args.
11442 set dummy objdump
; ac_word
=$2
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11444 $as_echo_n "checking for $ac_word... " >&6; }
11445 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11446 $as_echo_n "(cached) " >&6
11448 case $aros_kernel_objdump in
11450 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11454 for as_dir
in $PATH
11457 test -z "$as_dir" && as_dir
=.
11458 for ac_exec_ext
in '' $ac_executable_extensions; do
11459 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11460 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11471 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11472 if test -n "$aros_kernel_objdump"; then
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11474 $as_echo "$aros_kernel_objdump" >&6; }
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11477 $as_echo "no" >&6; }
11484 ac_tool_optarg
=`expr "X$aros_kernel_objdump" : '[^ ]* \(.*\)'`
11485 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
11486 set dummy
$aros_kernel_objdump; ac_word
=$2
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11488 $as_echo_n "checking for $ac_word... " >&6; }
11489 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11490 $as_echo_n "(cached) " >&6
11492 case $aros_kernel_objdump in
11494 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11498 for as_dir
in $PATH
11501 test -z "$as_dir" && as_dir
=.
11502 for ac_exec_ext
in '' $ac_executable_extensions; do
11503 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11504 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11515 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11516 if test -n "$aros_kernel_objdump"; then
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11518 $as_echo "$aros_kernel_objdump" >&6; }
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11521 $as_echo "no" >&6; }
11525 aros_kernel_objdump
="$aros_kernel_objdump $ac_tool_optarg"
11528 if test "x${crosstools}" != "xyes" ; then
11530 if test "$aros_kernel_objcopy" = ""; then
11533 if test "$aros_kernel_objcopy" = "no"; then
11536 if test "$req_avail" = "no"; then
11537 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
11540 if test "$aros_kernel_objdump" = ""; then
11543 if test "$aros_kernel_objdump" = "no"; then
11546 if test "$req_avail" = "no"; then
11547 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
11553 $as_echo_n "checking which target tools to use... " >&6; }
11554 if test "$aros_target_toolchain" = "yes"; then
11555 if test "$aros_toolchain" = "llvm" ; then
11558 msg_result
=$target_tool_prefix
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
11561 $as_echo "$msg_result" >&6; }
11562 # We are building AROS crosstools
11563 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
11564 orig_target_cc
="${tmp_tool_prefix}${toolchain_c_compiler}${target_tool_version}"
11565 orig_target_cxx
="${tmp_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}"
11566 orig_target_cpp
="${tmp_tool_prefix}${toolchain_cpp_preprocessor}"
11567 orig_target_ld
="${tmp_tool_prefix}${toolchain_ld}"
11568 orig_target_as
="${tmp_tool_prefix}${toolchain_as}"
11569 orig_target_ar
="${tmp_tool_prefix}${toolchain_ar}"
11570 orig_target_ranlib
="${tmp_tool_prefix}${toolchain_ranlib}"
11571 orig_target_nm
="${tmp_tool_prefix}${toolchain_nm}"
11572 orig_target_strip
="${tmp_tool_prefix}${toolchain_strip}"
11573 orig_target_objcopy
="${tmp_tool_prefix}${toolchain_objcopy}"
11574 orig_target_objdump
="${tmp_tool_prefix}${toolchain_objdump}"
11576 # Determine whether AROS or ELF tools should be used
11577 if test "$aros_tool_prefix" = "none"; then
11578 aros_tool_prefix
="${elf_tool_prefix}"
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
11582 $as_echo "$aros_tool_prefix" >&6; }
11583 # We are *not* building AROS crosstools - use the AROS or ELF tools
11585 if test "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" = ""; then
11586 if test "$cross_compiling" = "yes" ; then
11587 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
11588 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11590 $as_echo_n "checking for $ac_word... " >&6; }
11591 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11592 $as_echo_n "(cached) " >&6
11594 case $orig_target_cpp in
11596 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11600 for as_dir
in $PATH
11603 test -z "$as_dir" && as_dir
=.
11604 for ac_exec_ext
in '' $ac_executable_extensions; do
11605 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11606 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11617 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11618 if test -n "$orig_target_cpp"; then
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11620 $as_echo "$orig_target_cpp" >&6; }
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11623 $as_echo "no" >&6; }
11628 if test "$GCC" = "yes"; then
11629 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
11630 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
11631 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11633 $as_echo_n "checking for $ac_word... " >&6; }
11634 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11635 $as_echo_n "(cached) " >&6
11637 case $orig_target_cpp in
11639 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11643 for as_dir
in `dirname $aros_gcc_cpp`
11646 test -z "$as_dir" && as_dir
=.
11647 for ac_exec_ext
in '' $ac_executable_extensions; do
11648 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11649 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11660 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11661 if test -n "$orig_target_cpp"; then
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11663 $as_echo "$orig_target_cpp" >&6; }
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11666 $as_echo "no" >&6; }
11671 if test "$orig_target_cpp" = ""; then
11672 # Extract the first word of "cpp", so it can be a program name with args.
11673 set dummy cpp
; ac_word
=$2
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11675 $as_echo_n "checking for $ac_word... " >&6; }
11676 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11677 $as_echo_n "(cached) " >&6
11679 case $orig_target_cpp in
11681 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11685 for as_dir
in $PATH
11688 test -z "$as_dir" && as_dir
=.
11689 for ac_exec_ext
in '' $ac_executable_extensions; do
11690 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11691 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11702 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11703 if test -n "$orig_target_cpp"; then
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11705 $as_echo "$orig_target_cpp" >&6; }
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11708 $as_echo "no" >&6; }
11715 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" : '[^ ]* \(.*\)'`
11716 # Extract the first word of "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}", so it can be a program name with args.
11717 set dummy
${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}; ac_word
=$2
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11719 $as_echo_n "checking for $ac_word... " >&6; }
11720 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11721 $as_echo_n "(cached) " >&6
11723 case $orig_target_cpp in
11725 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11729 for as_dir
in $PATH
11732 test -z "$as_dir" && as_dir
=.
11733 for ac_exec_ext
in '' $ac_executable_extensions; do
11734 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11735 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11746 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11747 if test -n "$orig_target_cpp"; then
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11749 $as_echo "$orig_target_cpp" >&6; }
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11752 $as_echo "no" >&6; }
11756 orig_target_cpp
="$orig_target_cpp $ac_tool_optarg"
11760 if test "$orig_target_cpp" = ""; then
11763 if test "$orig_target_cpp" = "no"; then
11766 if test "$req_avail" = "no"; then
11767 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
11770 if test "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" = ""; then
11771 if test "$cross_compiling" = "yes" ; then
11772 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11773 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11775 $as_echo_n "checking for $ac_word... " >&6; }
11776 if ${ac_cv_path_orig_target_cc+:} false
; then :
11777 $as_echo_n "(cached) " >&6
11779 case $orig_target_cc in
11781 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11785 for as_dir
in $PATH
11788 test -z "$as_dir" && as_dir
=.
11789 for ac_exec_ext
in '' $ac_executable_extensions; do
11790 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11791 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11802 orig_target_cc
=$ac_cv_path_orig_target_cc
11803 if test -n "$orig_target_cc"; then
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11805 $as_echo "$orig_target_cc" >&6; }
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11808 $as_echo "no" >&6; }
11813 if test "$GCC" = "yes"; then
11814 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11815 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11816 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11818 $as_echo_n "checking for $ac_word... " >&6; }
11819 if ${ac_cv_path_orig_target_cc+:} false
; then :
11820 $as_echo_n "(cached) " >&6
11822 case $orig_target_cc in
11824 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11828 for as_dir
in `dirname $aros_gcc_gcc`
11831 test -z "$as_dir" && as_dir
=.
11832 for ac_exec_ext
in '' $ac_executable_extensions; do
11833 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11834 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11845 orig_target_cc
=$ac_cv_path_orig_target_cc
11846 if test -n "$orig_target_cc"; then
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11848 $as_echo "$orig_target_cc" >&6; }
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11851 $as_echo "no" >&6; }
11856 if test "$orig_target_cc" = ""; then
11857 # Extract the first word of "gcc", so it can be a program name with args.
11858 set dummy gcc
; ac_word
=$2
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11860 $as_echo_n "checking for $ac_word... " >&6; }
11861 if ${ac_cv_path_orig_target_cc+:} false
; then :
11862 $as_echo_n "(cached) " >&6
11864 case $orig_target_cc in
11866 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11870 for as_dir
in $PATH
11873 test -z "$as_dir" && as_dir
=.
11874 for ac_exec_ext
in '' $ac_executable_extensions; do
11875 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11876 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11887 orig_target_cc
=$ac_cv_path_orig_target_cc
11888 if test -n "$orig_target_cc"; then
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11890 $as_echo "$orig_target_cc" >&6; }
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11893 $as_echo "no" >&6; }
11900 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
11901 # Extract the first word of "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}", so it can be a program name with args.
11902 set dummy
${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}; ac_word
=$2
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11904 $as_echo_n "checking for $ac_word... " >&6; }
11905 if ${ac_cv_path_orig_target_cc+:} false
; then :
11906 $as_echo_n "(cached) " >&6
11908 case $orig_target_cc in
11910 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11914 for as_dir
in $PATH
11917 test -z "$as_dir" && as_dir
=.
11918 for ac_exec_ext
in '' $ac_executable_extensions; do
11919 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11920 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11931 orig_target_cc
=$ac_cv_path_orig_target_cc
11932 if test -n "$orig_target_cc"; then
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11934 $as_echo "$orig_target_cc" >&6; }
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11937 $as_echo "no" >&6; }
11941 orig_target_cc
="$orig_target_cc $ac_tool_optarg"
11945 if test "$orig_target_cc" = ""; then
11948 if test "$orig_target_cc" = "no"; then
11951 if test "$req_avail" = "no"; then
11952 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11955 if test "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" = ""; then
11956 if test "$cross_compiling" = "yes" ; then
11957 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11958 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11960 $as_echo_n "checking for $ac_word... " >&6; }
11961 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11962 $as_echo_n "(cached) " >&6
11964 case $orig_target_cxx in
11966 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11970 for as_dir
in $PATH
11973 test -z "$as_dir" && as_dir
=.
11974 for ac_exec_ext
in '' $ac_executable_extensions; do
11975 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11976 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11987 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11988 if test -n "$orig_target_cxx"; then
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11990 $as_echo "$orig_target_cxx" >&6; }
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11993 $as_echo "no" >&6; }
11998 if test "$GCC" = "yes"; then
11999 aros_gcc_g
++=`$CC -print-prog-name=g++`
12000 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
12001 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12003 $as_echo_n "checking for $ac_word... " >&6; }
12004 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12005 $as_echo_n "(cached) " >&6
12007 case $orig_target_cxx in
12009 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12013 for as_dir
in `dirname $aros_gcc_g++`
12016 test -z "$as_dir" && as_dir
=.
12017 for ac_exec_ext
in '' $ac_executable_extensions; do
12018 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12019 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12030 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12031 if test -n "$orig_target_cxx"; then
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12033 $as_echo "$orig_target_cxx" >&6; }
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12036 $as_echo "no" >&6; }
12041 if test "$orig_target_cxx" = ""; then
12042 # Extract the first word of "g++", so it can be a program name with args.
12043 set dummy g
++; ac_word
=$2
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12045 $as_echo_n "checking for $ac_word... " >&6; }
12046 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12047 $as_echo_n "(cached) " >&6
12049 case $orig_target_cxx in
12051 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12055 for as_dir
in $PATH
12058 test -z "$as_dir" && as_dir
=.
12059 for ac_exec_ext
in '' $ac_executable_extensions; do
12060 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12061 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12072 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12073 if test -n "$orig_target_cxx"; then
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12075 $as_echo "$orig_target_cxx" >&6; }
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12078 $as_echo "no" >&6; }
12085 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
12086 # Extract the first word of "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}", so it can be a program name with args.
12087 set dummy
${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}; ac_word
=$2
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12089 $as_echo_n "checking for $ac_word... " >&6; }
12090 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12091 $as_echo_n "(cached) " >&6
12093 case $orig_target_cxx in
12095 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12099 for as_dir
in $PATH
12102 test -z "$as_dir" && as_dir
=.
12103 for ac_exec_ext
in '' $ac_executable_extensions; do
12104 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12105 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12116 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12117 if test -n "$orig_target_cxx"; then
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12119 $as_echo "$orig_target_cxx" >&6; }
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12122 $as_echo "no" >&6; }
12126 orig_target_cxx
="$orig_target_cxx $ac_tool_optarg"
12130 if test "$orig_target_cxx" = ""; then
12133 if test "$orig_target_cxx" = "no"; then
12136 if test "$req_avail" = "no"; then
12137 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
12140 if test "${aros_tool_prefix}${toolchain_ld}" = ""; then
12141 if test "$cross_compiling" = "yes" ; then
12142 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
12143 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12145 $as_echo_n "checking for $ac_word... " >&6; }
12146 if ${ac_cv_path_orig_target_ld+:} false
; then :
12147 $as_echo_n "(cached) " >&6
12149 case $orig_target_ld in
12151 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12155 for as_dir
in $PATH
12158 test -z "$as_dir" && as_dir
=.
12159 for ac_exec_ext
in '' $ac_executable_extensions; do
12160 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12161 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12172 orig_target_ld
=$ac_cv_path_orig_target_ld
12173 if test -n "$orig_target_ld"; then
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12175 $as_echo "$orig_target_ld" >&6; }
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12178 $as_echo "no" >&6; }
12183 if test "$GCC" = "yes"; then
12184 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
12185 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
12186 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12188 $as_echo_n "checking for $ac_word... " >&6; }
12189 if ${ac_cv_path_orig_target_ld+:} false
; then :
12190 $as_echo_n "(cached) " >&6
12192 case $orig_target_ld in
12194 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12198 for as_dir
in `dirname $aros_gcc_gcc`
12201 test -z "$as_dir" && as_dir
=.
12202 for ac_exec_ext
in '' $ac_executable_extensions; do
12203 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12204 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12215 orig_target_ld
=$ac_cv_path_orig_target_ld
12216 if test -n "$orig_target_ld"; then
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12218 $as_echo "$orig_target_ld" >&6; }
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12221 $as_echo "no" >&6; }
12226 if test "$orig_target_ld" = ""; then
12227 # Extract the first word of "gcc", so it can be a program name with args.
12228 set dummy gcc
; ac_word
=$2
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12230 $as_echo_n "checking for $ac_word... " >&6; }
12231 if ${ac_cv_path_orig_target_ld+:} false
; then :
12232 $as_echo_n "(cached) " >&6
12234 case $orig_target_ld in
12236 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12240 for as_dir
in $PATH
12243 test -z "$as_dir" && as_dir
=.
12244 for ac_exec_ext
in '' $ac_executable_extensions; do
12245 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12246 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12257 orig_target_ld
=$ac_cv_path_orig_target_ld
12258 if test -n "$orig_target_ld"; then
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12260 $as_echo "$orig_target_ld" >&6; }
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12263 $as_echo "no" >&6; }
12270 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ld}" : '[^ ]* \(.*\)'`
12271 # Extract the first word of "${aros_tool_prefix}${toolchain_ld}", so it can be a program name with args.
12272 set dummy
${aros_tool_prefix}${toolchain_ld}; ac_word
=$2
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12274 $as_echo_n "checking for $ac_word... " >&6; }
12275 if ${ac_cv_path_orig_target_ld+:} false
; then :
12276 $as_echo_n "(cached) " >&6
12278 case $orig_target_ld in
12280 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12284 for as_dir
in $PATH
12287 test -z "$as_dir" && as_dir
=.
12288 for ac_exec_ext
in '' $ac_executable_extensions; do
12289 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12290 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12301 orig_target_ld
=$ac_cv_path_orig_target_ld
12302 if test -n "$orig_target_ld"; then
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12304 $as_echo "$orig_target_ld" >&6; }
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12307 $as_echo "no" >&6; }
12311 orig_target_ld
="$orig_target_ld $ac_tool_optarg"
12315 if test "$orig_target_ld" = ""; then
12318 if test "$orig_target_ld" = "no"; then
12321 if test "$req_avail" = "no"; then
12322 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
12325 if test "aros_tool_prefix}${toolchain_as}" = ""; then
12326 if test "$cross_compiling" = "yes" ; then
12327 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
12328 set dummy
${target_tool_prefix}as
; ac_word
=$2
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12330 $as_echo_n "checking for $ac_word... " >&6; }
12331 if ${ac_cv_path_orig_target_as+:} false
; then :
12332 $as_echo_n "(cached) " >&6
12334 case $orig_target_as in
12336 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12340 for as_dir
in $PATH
12343 test -z "$as_dir" && as_dir
=.
12344 for ac_exec_ext
in '' $ac_executable_extensions; do
12345 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12346 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12357 orig_target_as
=$ac_cv_path_orig_target_as
12358 if test -n "$orig_target_as"; then
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12360 $as_echo "$orig_target_as" >&6; }
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12363 $as_echo "no" >&6; }
12368 if test "$GCC" = "yes"; then
12369 aros_gcc_as
=`$CC -print-prog-name=as`
12370 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
12371 set dummy
`basename $aros_gcc_as`; ac_word
=$2
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12373 $as_echo_n "checking for $ac_word... " >&6; }
12374 if ${ac_cv_path_orig_target_as+:} false
; then :
12375 $as_echo_n "(cached) " >&6
12377 case $orig_target_as in
12379 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12383 for as_dir
in `dirname $aros_gcc_as`
12386 test -z "$as_dir" && as_dir
=.
12387 for ac_exec_ext
in '' $ac_executable_extensions; do
12388 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12389 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12400 orig_target_as
=$ac_cv_path_orig_target_as
12401 if test -n "$orig_target_as"; then
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12403 $as_echo "$orig_target_as" >&6; }
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12406 $as_echo "no" >&6; }
12411 if test "$orig_target_as" = ""; then
12412 # Extract the first word of "as", so it can be a program name with args.
12413 set dummy as
; ac_word
=$2
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12415 $as_echo_n "checking for $ac_word... " >&6; }
12416 if ${ac_cv_path_orig_target_as+:} false
; then :
12417 $as_echo_n "(cached) " >&6
12419 case $orig_target_as in
12421 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12425 for as_dir
in $PATH
12428 test -z "$as_dir" && as_dir
=.
12429 for ac_exec_ext
in '' $ac_executable_extensions; do
12430 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12431 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12442 orig_target_as
=$ac_cv_path_orig_target_as
12443 if test -n "$orig_target_as"; then
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12445 $as_echo "$orig_target_as" >&6; }
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12448 $as_echo "no" >&6; }
12455 ac_tool_optarg
=`expr "Xaros_tool_prefix}${toolchain_as}" : '[^ ]* \(.*\)'`
12456 # Extract the first word of "aros_tool_prefix}${toolchain_as}", so it can be a program name with args.
12457 set dummy aros_tool_prefix
}${toolchain_as}; ac_word
=$2
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12459 $as_echo_n "checking for $ac_word... " >&6; }
12460 if ${ac_cv_path_orig_target_as+:} false
; then :
12461 $as_echo_n "(cached) " >&6
12463 case $orig_target_as in
12465 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12469 for as_dir
in $PATH
12472 test -z "$as_dir" && as_dir
=.
12473 for ac_exec_ext
in '' $ac_executable_extensions; do
12474 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12475 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12486 orig_target_as
=$ac_cv_path_orig_target_as
12487 if test -n "$orig_target_as"; then
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12489 $as_echo "$orig_target_as" >&6; }
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12492 $as_echo "no" >&6; }
12496 orig_target_as
="$orig_target_as $ac_tool_optarg"
12500 if test "$orig_target_as" = ""; then
12503 if test "$orig_target_as" = "no"; then
12506 if test "$req_avail" = "no"; then
12507 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
12510 if test "${aros_tool_prefix}${toolchain_ar}" = ""; then
12511 if test "$cross_compiling" = "yes" ; then
12512 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
12513 set dummy
${target_tool_prefix}ar; ac_word
=$2
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12515 $as_echo_n "checking for $ac_word... " >&6; }
12516 if ${ac_cv_path_orig_target_ar+:} false
; then :
12517 $as_echo_n "(cached) " >&6
12519 case $orig_target_ar in
12521 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12525 for as_dir
in $PATH
12528 test -z "$as_dir" && as_dir
=.
12529 for ac_exec_ext
in '' $ac_executable_extensions; do
12530 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12531 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12542 orig_target_ar
=$ac_cv_path_orig_target_ar
12543 if test -n "$orig_target_ar"; then
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12545 $as_echo "$orig_target_ar" >&6; }
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12548 $as_echo "no" >&6; }
12553 if test "$GCC" = "yes"; then
12554 aros_gcc_ar
=`$CC -print-prog-name=ar`
12555 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
12556 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12558 $as_echo_n "checking for $ac_word... " >&6; }
12559 if ${ac_cv_path_orig_target_ar+:} false
; then :
12560 $as_echo_n "(cached) " >&6
12562 case $orig_target_ar in
12564 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12568 for as_dir
in `dirname $aros_gcc_ar`
12571 test -z "$as_dir" && as_dir
=.
12572 for ac_exec_ext
in '' $ac_executable_extensions; do
12573 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12574 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12585 orig_target_ar
=$ac_cv_path_orig_target_ar
12586 if test -n "$orig_target_ar"; then
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12588 $as_echo "$orig_target_ar" >&6; }
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12591 $as_echo "no" >&6; }
12596 if test "$orig_target_ar" = ""; then
12597 # Extract the first word of "ar", so it can be a program name with args.
12598 set dummy
ar; ac_word
=$2
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12600 $as_echo_n "checking for $ac_word... " >&6; }
12601 if ${ac_cv_path_orig_target_ar+:} false
; then :
12602 $as_echo_n "(cached) " >&6
12604 case $orig_target_ar in
12606 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12610 for as_dir
in $PATH
12613 test -z "$as_dir" && as_dir
=.
12614 for ac_exec_ext
in '' $ac_executable_extensions; do
12615 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12616 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12627 orig_target_ar
=$ac_cv_path_orig_target_ar
12628 if test -n "$orig_target_ar"; then
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12630 $as_echo "$orig_target_ar" >&6; }
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12633 $as_echo "no" >&6; }
12640 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ar}" : '[^ ]* \(.*\)'`
12641 # Extract the first word of "${aros_tool_prefix}${toolchain_ar}", so it can be a program name with args.
12642 set dummy
${aros_tool_prefix}${toolchain_ar}; ac_word
=$2
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12644 $as_echo_n "checking for $ac_word... " >&6; }
12645 if ${ac_cv_path_orig_target_ar+:} false
; then :
12646 $as_echo_n "(cached) " >&6
12648 case $orig_target_ar in
12650 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12654 for as_dir
in $PATH
12657 test -z "$as_dir" && as_dir
=.
12658 for ac_exec_ext
in '' $ac_executable_extensions; do
12659 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12660 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12671 orig_target_ar
=$ac_cv_path_orig_target_ar
12672 if test -n "$orig_target_ar"; then
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12674 $as_echo "$orig_target_ar" >&6; }
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12677 $as_echo "no" >&6; }
12681 orig_target_ar
="$orig_target_ar $ac_tool_optarg"
12685 if test "$orig_target_ar" = ""; then
12688 if test "$orig_target_ar" = "no"; then
12691 if test "$req_avail" = "no"; then
12692 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
12695 if test "${aros_tool_prefix}${toolchain_ranlib}" = ""; then
12696 if test "$cross_compiling" = "yes" ; then
12697 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
12698 set dummy
${target_tool_prefix}ar; ac_word
=$2
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12700 $as_echo_n "checking for $ac_word... " >&6; }
12701 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12702 $as_echo_n "(cached) " >&6
12704 case $orig_target_ranlib in
12706 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12710 for as_dir
in $PATH
12713 test -z "$as_dir" && as_dir
=.
12714 for ac_exec_ext
in '' $ac_executable_extensions; do
12715 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12716 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12727 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12728 if test -n "$orig_target_ranlib"; then
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12730 $as_echo "$orig_target_ranlib" >&6; }
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12733 $as_echo "no" >&6; }
12738 if test "$GCC" = "yes"; then
12739 aros_gcc_ar
=`$CC -print-prog-name=ar`
12740 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
12741 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12743 $as_echo_n "checking for $ac_word... " >&6; }
12744 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12745 $as_echo_n "(cached) " >&6
12747 case $orig_target_ranlib in
12749 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12753 for as_dir
in `dirname $aros_gcc_ar`
12756 test -z "$as_dir" && as_dir
=.
12757 for ac_exec_ext
in '' $ac_executable_extensions; do
12758 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12759 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12770 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12771 if test -n "$orig_target_ranlib"; then
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12773 $as_echo "$orig_target_ranlib" >&6; }
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12776 $as_echo "no" >&6; }
12781 if test "$orig_target_ranlib" = ""; then
12782 # Extract the first word of "ar", so it can be a program name with args.
12783 set dummy
ar; ac_word
=$2
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12785 $as_echo_n "checking for $ac_word... " >&6; }
12786 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12787 $as_echo_n "(cached) " >&6
12789 case $orig_target_ranlib in
12791 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12795 for as_dir
in $PATH
12798 test -z "$as_dir" && as_dir
=.
12799 for ac_exec_ext
in '' $ac_executable_extensions; do
12800 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12801 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12812 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12813 if test -n "$orig_target_ranlib"; then
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12815 $as_echo "$orig_target_ranlib" >&6; }
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12818 $as_echo "no" >&6; }
12825 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ranlib}" : '[^ ]* \(.*\)'`
12826 # Extract the first word of "${aros_tool_prefix}${toolchain_ranlib}", so it can be a program name with args.
12827 set dummy
${aros_tool_prefix}${toolchain_ranlib}; ac_word
=$2
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12829 $as_echo_n "checking for $ac_word... " >&6; }
12830 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12831 $as_echo_n "(cached) " >&6
12833 case $orig_target_ranlib in
12835 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12839 for as_dir
in $PATH
12842 test -z "$as_dir" && as_dir
=.
12843 for ac_exec_ext
in '' $ac_executable_extensions; do
12844 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12845 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12856 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12857 if test -n "$orig_target_ranlib"; then
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12859 $as_echo "$orig_target_ranlib" >&6; }
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12862 $as_echo "no" >&6; }
12866 orig_target_ranlib
="$orig_target_ranlib $ac_tool_optarg"
12870 if test "$orig_target_ranlib" = ""; then
12873 if test "$orig_target_ranlib" = "no"; then
12876 if test "$req_avail" = "no"; then
12877 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
12880 if test "${aros_tool_prefix}${toolchain_nm}" = ""; then
12881 if test "$cross_compiling" = "yes" ; then
12882 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
12883 set dummy
${target_tool_prefix}nm
; ac_word
=$2
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12885 $as_echo_n "checking for $ac_word... " >&6; }
12886 if ${ac_cv_path_orig_target_nm+:} false
; then :
12887 $as_echo_n "(cached) " >&6
12889 case $orig_target_nm in
12891 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12895 for as_dir
in $PATH
12898 test -z "$as_dir" && as_dir
=.
12899 for ac_exec_ext
in '' $ac_executable_extensions; do
12900 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12901 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12912 orig_target_nm
=$ac_cv_path_orig_target_nm
12913 if test -n "$orig_target_nm"; then
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12915 $as_echo "$orig_target_nm" >&6; }
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12918 $as_echo "no" >&6; }
12923 if test "$GCC" = "yes"; then
12924 aros_gcc_nm
=`$CC -print-prog-name=nm`
12925 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
12926 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12928 $as_echo_n "checking for $ac_word... " >&6; }
12929 if ${ac_cv_path_orig_target_nm+:} false
; then :
12930 $as_echo_n "(cached) " >&6
12932 case $orig_target_nm in
12934 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12938 for as_dir
in `dirname $aros_gcc_nm`
12941 test -z "$as_dir" && as_dir
=.
12942 for ac_exec_ext
in '' $ac_executable_extensions; do
12943 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12944 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12955 orig_target_nm
=$ac_cv_path_orig_target_nm
12956 if test -n "$orig_target_nm"; then
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12958 $as_echo "$orig_target_nm" >&6; }
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12961 $as_echo "no" >&6; }
12966 if test "$orig_target_nm" = ""; then
12967 # Extract the first word of "nm", so it can be a program name with args.
12968 set dummy nm
; ac_word
=$2
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12970 $as_echo_n "checking for $ac_word... " >&6; }
12971 if ${ac_cv_path_orig_target_nm+:} false
; then :
12972 $as_echo_n "(cached) " >&6
12974 case $orig_target_nm in
12976 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12980 for as_dir
in $PATH
12983 test -z "$as_dir" && as_dir
=.
12984 for ac_exec_ext
in '' $ac_executable_extensions; do
12985 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12986 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12997 orig_target_nm
=$ac_cv_path_orig_target_nm
12998 if test -n "$orig_target_nm"; then
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13000 $as_echo "$orig_target_nm" >&6; }
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13003 $as_echo "no" >&6; }
13010 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_nm}" : '[^ ]* \(.*\)'`
13011 # Extract the first word of "${aros_tool_prefix}${toolchain_nm}", so it can be a program name with args.
13012 set dummy
${aros_tool_prefix}${toolchain_nm}; ac_word
=$2
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13014 $as_echo_n "checking for $ac_word... " >&6; }
13015 if ${ac_cv_path_orig_target_nm+:} false
; then :
13016 $as_echo_n "(cached) " >&6
13018 case $orig_target_nm in
13020 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13024 for as_dir
in $PATH
13027 test -z "$as_dir" && as_dir
=.
13028 for ac_exec_ext
in '' $ac_executable_extensions; do
13029 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13030 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13041 orig_target_nm
=$ac_cv_path_orig_target_nm
13042 if test -n "$orig_target_nm"; then
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13044 $as_echo "$orig_target_nm" >&6; }
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13047 $as_echo "no" >&6; }
13051 orig_target_nm
="$orig_target_nm $ac_tool_optarg"
13055 if test "$orig_target_nm" = ""; then
13058 if test "$orig_target_nm" = "no"; then
13061 if test "$req_avail" = "no"; then
13062 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
13065 if test "${aros_tool_prefix}${toolchain_strip}" = ""; then
13066 if test "$cross_compiling" = "yes" ; then
13067 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
13068 set dummy
${target_tool_prefix}strip
; ac_word
=$2
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13070 $as_echo_n "checking for $ac_word... " >&6; }
13071 if ${ac_cv_path_orig_target_strip+:} false
; then :
13072 $as_echo_n "(cached) " >&6
13074 case $orig_target_strip in
13076 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13080 for as_dir
in $PATH
13083 test -z "$as_dir" && as_dir
=.
13084 for ac_exec_ext
in '' $ac_executable_extensions; do
13085 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13086 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13097 orig_target_strip
=$ac_cv_path_orig_target_strip
13098 if test -n "$orig_target_strip"; then
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13100 $as_echo "$orig_target_strip" >&6; }
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13103 $as_echo "no" >&6; }
13108 if test "$GCC" = "yes"; then
13109 aros_gcc_strip
=`$CC -print-prog-name=strip`
13110 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
13111 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13113 $as_echo_n "checking for $ac_word... " >&6; }
13114 if ${ac_cv_path_orig_target_strip+:} false
; then :
13115 $as_echo_n "(cached) " >&6
13117 case $orig_target_strip in
13119 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13123 for as_dir
in `dirname $aros_gcc_strip`
13126 test -z "$as_dir" && as_dir
=.
13127 for ac_exec_ext
in '' $ac_executable_extensions; do
13128 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13129 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13140 orig_target_strip
=$ac_cv_path_orig_target_strip
13141 if test -n "$orig_target_strip"; then
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13143 $as_echo "$orig_target_strip" >&6; }
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13146 $as_echo "no" >&6; }
13151 if test "$orig_target_strip" = ""; then
13152 # Extract the first word of "strip", so it can be a program name with args.
13153 set dummy strip
; ac_word
=$2
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13155 $as_echo_n "checking for $ac_word... " >&6; }
13156 if ${ac_cv_path_orig_target_strip+:} false
; then :
13157 $as_echo_n "(cached) " >&6
13159 case $orig_target_strip in
13161 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13165 for as_dir
in $PATH
13168 test -z "$as_dir" && as_dir
=.
13169 for ac_exec_ext
in '' $ac_executable_extensions; do
13170 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13171 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13182 orig_target_strip
=$ac_cv_path_orig_target_strip
13183 if test -n "$orig_target_strip"; then
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13185 $as_echo "$orig_target_strip" >&6; }
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13188 $as_echo "no" >&6; }
13195 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_strip}" : '[^ ]* \(.*\)'`
13196 # Extract the first word of "${aros_tool_prefix}${toolchain_strip}", so it can be a program name with args.
13197 set dummy
${aros_tool_prefix}${toolchain_strip}; ac_word
=$2
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13199 $as_echo_n "checking for $ac_word... " >&6; }
13200 if ${ac_cv_path_orig_target_strip+:} false
; then :
13201 $as_echo_n "(cached) " >&6
13203 case $orig_target_strip in
13205 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13209 for as_dir
in $PATH
13212 test -z "$as_dir" && as_dir
=.
13213 for ac_exec_ext
in '' $ac_executable_extensions; do
13214 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13215 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13226 orig_target_strip
=$ac_cv_path_orig_target_strip
13227 if test -n "$orig_target_strip"; then
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13229 $as_echo "$orig_target_strip" >&6; }
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13232 $as_echo "no" >&6; }
13236 orig_target_strip
="$orig_target_strip $ac_tool_optarg"
13240 if test "$orig_target_strip" = ""; then
13243 if test "$orig_target_strip" = "no"; then
13246 if test "$req_avail" = "no"; then
13247 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
13250 if test "${aros_tool_prefix}${toolchain_objcopy}" = ""; then
13251 if test "$cross_compiling" = "yes" ; then
13252 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
13253 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13255 $as_echo_n "checking for $ac_word... " >&6; }
13256 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13257 $as_echo_n "(cached) " >&6
13259 case $orig_target_objcopy in
13261 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13265 for as_dir
in $PATH
13268 test -z "$as_dir" && as_dir
=.
13269 for ac_exec_ext
in '' $ac_executable_extensions; do
13270 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13271 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13282 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13283 if test -n "$orig_target_objcopy"; then
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13285 $as_echo "$orig_target_objcopy" >&6; }
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13288 $as_echo "no" >&6; }
13293 if test "$GCC" = "yes"; then
13294 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
13295 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
13296 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13298 $as_echo_n "checking for $ac_word... " >&6; }
13299 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13300 $as_echo_n "(cached) " >&6
13302 case $orig_target_objcopy in
13304 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13308 for as_dir
in `dirname $aros_gcc_objcopy`
13311 test -z "$as_dir" && as_dir
=.
13312 for ac_exec_ext
in '' $ac_executable_extensions; do
13313 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13314 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13325 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13326 if test -n "$orig_target_objcopy"; then
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13328 $as_echo "$orig_target_objcopy" >&6; }
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13331 $as_echo "no" >&6; }
13336 if test "$orig_target_objcopy" = ""; then
13337 # Extract the first word of "objcopy", so it can be a program name with args.
13338 set dummy objcopy
; ac_word
=$2
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13340 $as_echo_n "checking for $ac_word... " >&6; }
13341 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13342 $as_echo_n "(cached) " >&6
13344 case $orig_target_objcopy in
13346 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13350 for as_dir
in $PATH
13353 test -z "$as_dir" && as_dir
=.
13354 for ac_exec_ext
in '' $ac_executable_extensions; do
13355 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13356 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13367 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13368 if test -n "$orig_target_objcopy"; then
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13370 $as_echo "$orig_target_objcopy" >&6; }
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13373 $as_echo "no" >&6; }
13380 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objcopy}" : '[^ ]* \(.*\)'`
13381 # Extract the first word of "${aros_tool_prefix}${toolchain_objcopy}", so it can be a program name with args.
13382 set dummy
${aros_tool_prefix}${toolchain_objcopy}; ac_word
=$2
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13384 $as_echo_n "checking for $ac_word... " >&6; }
13385 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13386 $as_echo_n "(cached) " >&6
13388 case $orig_target_objcopy in
13390 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13394 for as_dir
in $PATH
13397 test -z "$as_dir" && as_dir
=.
13398 for ac_exec_ext
in '' $ac_executable_extensions; do
13399 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13400 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13411 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13412 if test -n "$orig_target_objcopy"; then
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13414 $as_echo "$orig_target_objcopy" >&6; }
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13417 $as_echo "no" >&6; }
13421 orig_target_objcopy
="$orig_target_objcopy $ac_tool_optarg"
13425 if test "$orig_target_objcopy" = ""; then
13428 if test "$orig_target_objcopy" = "no"; then
13431 if test "$req_avail" = "no"; then
13432 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
13435 if test "${aros_tool_prefix}${toolchain_objdump}" = ""; then
13436 if test "$cross_compiling" = "yes" ; then
13437 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
13438 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13440 $as_echo_n "checking for $ac_word... " >&6; }
13441 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13442 $as_echo_n "(cached) " >&6
13444 case $orig_target_objdump in
13446 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13450 for as_dir
in $PATH
13453 test -z "$as_dir" && as_dir
=.
13454 for ac_exec_ext
in '' $ac_executable_extensions; do
13455 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13456 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13467 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13468 if test -n "$orig_target_objdump"; then
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13470 $as_echo "$orig_target_objdump" >&6; }
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13473 $as_echo "no" >&6; }
13478 if test "$GCC" = "yes"; then
13479 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
13480 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
13481 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13483 $as_echo_n "checking for $ac_word... " >&6; }
13484 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13485 $as_echo_n "(cached) " >&6
13487 case $orig_target_objdump in
13489 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13493 for as_dir
in `dirname $aros_gcc_objdump`
13496 test -z "$as_dir" && as_dir
=.
13497 for ac_exec_ext
in '' $ac_executable_extensions; do
13498 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13499 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13510 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13511 if test -n "$orig_target_objdump"; then
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13513 $as_echo "$orig_target_objdump" >&6; }
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13516 $as_echo "no" >&6; }
13521 if test "$orig_target_objdump" = ""; then
13522 # Extract the first word of "objdump", so it can be a program name with args.
13523 set dummy objdump
; ac_word
=$2
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13525 $as_echo_n "checking for $ac_word... " >&6; }
13526 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13527 $as_echo_n "(cached) " >&6
13529 case $orig_target_objdump in
13531 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13535 for as_dir
in $PATH
13538 test -z "$as_dir" && as_dir
=.
13539 for ac_exec_ext
in '' $ac_executable_extensions; do
13540 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13541 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13552 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13553 if test -n "$orig_target_objdump"; then
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13555 $as_echo "$orig_target_objdump" >&6; }
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13558 $as_echo "no" >&6; }
13565 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objdump}" : '[^ ]* \(.*\)'`
13566 # Extract the first word of "${aros_tool_prefix}${toolchain_objdump}", so it can be a program name with args.
13567 set dummy
${aros_tool_prefix}${toolchain_objdump}; ac_word
=$2
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13569 $as_echo_n "checking for $ac_word... " >&6; }
13570 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13571 $as_echo_n "(cached) " >&6
13573 case $orig_target_objdump in
13575 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13579 for as_dir
in $PATH
13582 test -z "$as_dir" && as_dir
=.
13583 for ac_exec_ext
in '' $ac_executable_extensions; do
13584 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13585 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13596 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13597 if test -n "$orig_target_objdump"; then
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13599 $as_echo "$orig_target_objdump" >&6; }
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13602 $as_echo "no" >&6; }
13606 orig_target_objdump
="$orig_target_objdump $ac_tool_optarg"
13610 if test "$orig_target_objdump" = ""; then
13613 if test "$orig_target_objdump" = "no"; then
13616 if test "$req_avail" = "no"; then
13617 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
13621 if test "$kernel_tool_prefix" = "none" ; then
13622 # No kernel tools specified
13623 # Assume target tools == kernel tools with ELF wrapper
13624 aros_kernel_cc
=$orig_target_cc
13625 aros_kernel_cxx
=$orig_target_cxx
13626 aros_kernel_cpp
=$orig_target_cpp
13627 aros_kernel_ld
=$orig_target_ld
13628 aros_kernel_as
=$orig_target_as
13629 aros_kernel_ar
=$orig_target_ar
13630 aros_kernel_ranlib
=$orig_target_ranlib
13631 aros_kernel_nm
=$orig_target_nm
13632 aros_kernel_strip
=$orig_target_strip
13633 aros_kernel_objcopy
=$orig_target_objcopy
13634 aros_kernel_objdump
=$orig_target_objdump
13635 use_kernel_cc_wrapper
=yes
13638 # At this point, all aros_kernel_* and aros_target_*
13639 # tools should be set up correctly
13641 CC
="$aros_kernel_cc $kernel_tool_flags"
13642 CPP
="$aros_kernel_cpp"
13644 #-----------------------------------------------------------------------------
13646 # Find all the tools we need to compile. This could be cross-compiling
13647 # though! If that is the case we use the GNU form of the target and
13648 # simply add this to the front of the binary name. This is rather simple,
13649 # but it should work under most circumstances.
13651 # The default tools are to use the same as the host, but only if the
13652 # host and target CPU are the same. With GCC this is normally enough.
13656 aros_shared_ld
="$aros_host_ld"
13658 aros_target_mkdep
="$aros_host_mkdep"
13660 # The default tools executables to be linked to.
13661 if test "$rescomp" != ""; then
13662 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
13663 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13665 $as_echo_n "checking for $ac_word... " >&6; }
13666 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
13667 $as_echo_n "(cached) " >&6
13669 case $aros_kernel_rescomp in
13671 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
13674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13675 for as_dir
in $PATH
13678 test -z "$as_dir" && as_dir
=.
13679 for ac_exec_ext
in '' $ac_executable_extensions; do
13680 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13681 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
13682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13692 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
13693 if test -n "$aros_kernel_rescomp"; then
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
13695 $as_echo "$aros_kernel_rescomp" >&6; }
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13698 $as_echo "no" >&6; }
13703 if test "$aros_kernel_rescomp" = ""; then
13706 if test "$aros_kernel_rescomp" = "no"; then
13709 if test "$req_avail" = "no"; then
13710 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
13714 # Set up the sources for the symlink farm
13715 if test "$crosstools" = "yes"; then
13716 crosstools_target
=tools-crosstools
13719 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
13720 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
13722 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/host/config"
13723 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
13724 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Developer/include/aros"
13725 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
13726 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
13727 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
13728 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
13730 # aros_cc_pre is a variable that is added to the front of the compiler name
13731 # in the generated aros-gcc shell script. We need this to enable the cache
13732 # to work across cleaned builds. Also, support DISTCC using the correct
13733 # environment variable.
13736 if test "x${DISTCC}" != "x" ; then
13737 if test "x${CCACHE}" != "x" ; then
13738 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
13740 aros_cc_pre
="${DISTCC} "
13743 if test "x${CCACHE}" != "x" ; then
13744 aros_cc_pre
="${CCACHE} "
13748 aros_target_nostdinc_cflags
=-nostdinc
13750 aros_target_nostartup_ldflags
=-nostartfiles
13752 aros_target_nix_ldflags
=-nix
13754 aros_target_detach_ldflags
=-detach
13756 aros_target_nostdlib_ldflags
=-nostdlib
13761 if test "$aros_target_toolchain" != "yes"; then
13762 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
13763 if test "$GCC" = "yes"; then
13764 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
13767 # We do not know which c compiler version we are going to build and what we need to know
13768 # here is different for different versions so this will be set later during the
13769 # build of crosstools.
13770 if test "$aros_toolchain" = "gnu" ; then
13771 prefix
="$AROS_CROSSTOOLSDIR/${aros_target_cpu}-aros-"
13772 elif test "$aros_toolchain" = "llvm" ; then
13773 prefix
="$AROS_CROSSTOOLSDIR/bin/"
13775 aros_target_cc_path
=@aros_target_cc_path@
13777 aros_target_cpp
="${prefix}${toolchain_cpp_preprocessor}"
13778 aros_target_cc
="${prefix}${toolchain_c_compiler}"
13779 aros_target_cxx
="${prefix}${toolchain_cxx_compiler}"
13780 aros_target_as
="${prefix}${toolchain_as}"
13781 if test "${use_ld_wrapper}" = "yes"; then
13782 aros_target_ld
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${aros_ld}"
13784 aros_target_ld
="${prefix}${toolchain_ld}"
13786 aros_toolchain_ld
="${prefix}${toolchain_ld}"
13788 aros_target_ar
="${prefix}${toolchain_ar} $aros_target_ar_flags"
13789 aros_target_objcopy
="${prefix}${toolchain_objcopy}"
13790 aros_target_objdump
="${prefix}${toolchain_objdump}"
13791 aros_target_ranlib
="${prefix}${toolchain_ranlib} $aros_target_ranlib_flags"
13792 aros_target_nm
="${prefix}${toolchain_nm} $aros_target_nm_flags"
13793 aros_target_strip
="${prefix}${toolchain_strip}"
13794 aros_plain_nm
="${prefix}${toolchain_nm}"
13795 aros_plain_ar
="${prefix}${toolchain_ar}"
13797 # Check whether --enable-includes was given.
13798 if test "${enable_includes+set}" = set; then :
13799 enableval
=$enable_includes; aros_target_incl
=$enable_includes
13801 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
13805 if test "$aros_kernel_includes" = ""; then
13806 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13807 aros_kernel_includes
="-isystem $aros_target_incl"
13811 if test "$aros_kernel_includes" != "" ; then
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
13813 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
13814 if test "$aros_kernel_cc_includes" = "" ; then
13815 # Try to guess where the directory is.
13816 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
13817 if test -d $aros_kernel_cc_includes; then
13818 # Check if there is also an include-fixed directory and add it
13819 # to kernel compiler's include path as it may contain some of
13820 # the headers we need.
13821 if test -d "$aros_kernel_cc_includes"-fixed; then
13822 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
13824 # Check for specific includes directory. Needed for Ubuntu 11.10 and Debian
13825 if test -d "/usr/include/${aros_target_cpu}-linux-gnu"; then
13826 aros_kernel_cc_includes
+=" -isystem /usr/include/${aros_target_cpu}-linux-gnu"
13829 # The directory doesn't exist, we need to do some more work.
13830 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
13832 # These are the headers we're looking for.
13833 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13834 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13838 for h
in $headers; do
13839 # Which other headers are needed by each of the above?
13840 deps
=$
(echo "#include <$h>" | \
13841 $aros_kernel_cc -E -M - 2>/dev
/null | \
13842 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13844 # Copy all the needed headers to a directory beneath gendir.
13847 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
13848 sed -n "s,^.*/include\(/.*\),\1,p")
13849 ! test -d $dir && mkdir
-p $dir
13850 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
13856 $as_echo "$aros_kernel_cc_includes" >&6; }
13857 # Adding -nostdinc to kernel includes as they are always used together.
13858 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
13861 if test "$crosstools" != "yes"; then
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
13863 $as_echo_n "checking for the target compiler's include path... " >&6; }
13864 if test "$aros_target_cc_includes" = "" ; then
13865 #try to guess where the directory is
13866 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
13867 if ! test -d $aros_target_cc_includes; then
13868 #the directory doesn't exist, we need to do some more work
13869 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
13871 #these are the headers we're looking for
13872 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13873 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13877 for h
in $headers; do
13878 #which other headers each of the above headers needs?
13879 deps
=$
(echo "#include <$h>" | \
13880 $orig_target_cc -E -M - 2>/dev
/null | \
13881 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13883 #copy all the needed headers to a directory beneath gendir
13886 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
13887 sed -n "s,^.*/include\(/.*\),\1,p")
13888 ! test -d $dir && mkdir
-p $dir
13889 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
13895 $as_echo "$aros_target_cc_includes" >&6; }
13897 # We do not know which c compiler version we are going to build and what we need to know
13898 # here is different for different versions so this will be set later during the
13899 # build of crosstools.
13900 aros_target_cc_includes
=@aros_target_cc_includes@
13904 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
13905 # On GCC >= 4.0 -iquote should be used
13909 save_cflags
="$CFLAGS"
13911 kernel_cflags_iquote
=$host_cflags_iquote
13912 kernel_cflags_iquote_end
=$host_cflags_iquote_end
13913 if test "x-$cross_compiling" = "x-yes"; then
13914 CC
="$aros_kernel_cc"
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
13916 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
13917 if test "x-$crosstools" != "x-yes"; then
13918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13919 /* end confdefs.h. */
13929 if ac_fn_c_try_compile
"$LINENO"; then :
13930 use_no_stack_protector
="yes"
13932 use_no_stack_protector
="no"
13934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13936 # we do know it is supported for the smallest version of gcc we are going to build
13937 # we assume it's also supported by later versions
13938 use_no_stack_protector
=yes
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
13941 $as_echo "$use_no_stack_protector" >&6; }
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13943 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13944 if test "x-$crosstools" != "x-yes"; then
13945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13946 /* end confdefs.h. */
13956 if ac_fn_c_try_compile
"$LINENO"; then :
13961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13963 # we do know it is supported for the smallest version of gcc we are going to build
13964 # we assume it's also supported by later versions
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13968 $as_echo "$has_iquote" >&6; }
13969 if test "x-$has_iquote" = "x-yes" ; then
13970 kernel_cflags_iquote
=-iquote
13971 kernel_cflags_iquote_end
=
13973 kernel_cflags_iquote
=-I
13974 kernel_cflags_iquote_end
=-I-
13977 if test "x-$use_no_stack_protector" = "x-yes" ; then
13978 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13981 #-----------------------------------------------------------------------------
13983 # Check if we can explicitly choose older version of symbol hashing
13985 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13986 CC
="$aros_kernel_cc"
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13988 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13990 /* end confdefs.h. */
14000 if ac_fn_c_try_link
"$LINENO"; then :
14001 use_hash_style
="yes"
14003 use_hash_style
="no"
14005 rm -f core conftest.err conftest.
$ac_objext \
14006 conftest
$ac_exeext conftest.
$ac_ext
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
14008 $as_echo "$use_hash_style" >&6; }
14009 if test "x-$use_hash_style" = "x-yes" ; then
14010 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
14013 CFLAGS
="$save_cflags"
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
14022 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
14024 # Check whether --with-resolution was given.
14025 if test "${with_resolution+set}" = set; then :
14026 withval
=$with_resolution; resolution
=$withval
14031 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
14032 if test "$resolution" = "yes" ; then
14035 if test "$resolution" = "no" ; then
14038 if test "$resolution" != "none" ; then
14039 aros_nominal_width
=`echo $resolution | cut -d'x' -f1`
14040 aros_nominal_height
=`echo $resolution | cut -d'x' -f2`
14041 aros_nominal_depth
=`echo $resolution | cut -d'x' -f3`
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&5
14044 $as_echo "$aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&6; }
14045 aros_cv_nominal_width
=$aros_nominal_width
14046 aros_cv_nominal_height
=$aros_nominal_height
14047 aros_cv_nominal_depth
=$aros_nominal_depth
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether serial debug is enabled" >&5
14050 $as_echo_n "checking whether serial debug is enabled... " >&6; }
14052 # Check whether --with-serial-debug was given.
14053 if test "${with_serial_debug+set}" = set; then :
14054 withval
=$with_serial_debug; serial_debug
=$withval
14059 if test "$aros_serial_debug" = 0 ; then
14060 serial_debug_forced
=""
14061 if test "$serial_debug" = "yes" ; then
14064 if test "$serial_debug" = "no" ; then
14065 serial_debug
="none"
14068 serial_debug_forced
="(forced)"
14069 serial_debug
=$aros_serial_debug
14071 if test "$serial_debug" != "none" ; then
14072 aros_serial_debug
=$serial_debug
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
14074 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14077 $as_echo "no" >&6; }
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether palm debug hack is enabled" >&5
14081 $as_echo_n "checking whether palm debug hack is enabled... " >&6; }
14082 # Check whether --enable-palm_debug_hack was given.
14083 if test "${enable_palm_debug_hack+set}" = set; then :
14084 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
14086 palm_debug_hack
="no"
14089 if test "$palm_debug_hack" = "yes" ; then
14090 aros_palm_debug_hack
="1"
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
14093 $as_echo "$palm_debug_hack" >&6; }
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usb3.0 code is enabled" >&5
14096 $as_echo_n "checking whether usb3.0 code is enabled... " >&6; }
14097 # Check whether --enable-usb30_code was given.
14098 if test "${enable_usb30_code+set}" = set; then :
14099 enableval
=$enable_usb30_code; usb30_code
="yes"
14104 if test "$usb30_code" = "yes" ; then
14105 aros_config_cppflags
="$aros_config_cppflags -DAROS_USB30_CODE"
14106 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
14109 $as_echo "$usb30_code" >&6; }
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether nesting supervisor support is enabled" >&5
14112 $as_echo_n "checking whether nesting supervisor support is enabled... " >&6; }
14113 # Check whether --enable-nesting_supervisor was given.
14114 if test "${enable_nesting_supervisor+set}" = set; then :
14115 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
14117 nesting_supervisor
="no"
14120 if test "$nesting_supervisor" = "yes" ; then
14121 aros_nesting_supervisor
="1"
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
14124 $as_echo "$nesting_supervisor" >&6; }
14126 if test "$aros_enable_mmu" = "" ; then
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MMU support is enabled" >&5
14128 $as_echo_n "checking whether MMU support is enabled... " >&6; }
14129 # Check whether --enable-mmu was given.
14130 if test "${enable_mmu+set}" = set; then :
14131 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
14133 aros_enable_mmu
="yes"
14136 if test "$aros_enable_mmu" = "" ; then
14137 aros_enable_mmu
="yes"
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
14140 $as_echo "$aros_enable_mmu" >&6; }
14142 if test "$aros_enable_mmu" = "no" ; then
14143 aros_enable_mmu
="0"
14145 aros_enable_mmu
="1"
14149 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
14151 if test "x-$need_dlopen" != "x-no" ; then
14154 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
14155 if test "x$ac_cv_func_dlopen" = xyes
; then :
14161 if test "x-$have_dl" = "x-no" ; then
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14163 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14164 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14165 $as_echo_n "(cached) " >&6
14167 ac_check_lib_save_LIBS
=$LIBS
14169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14170 /* end confdefs.h. */
14172 /* Override any GCC internal prototype to avoid an error.
14173 Use char because int might match the return type of a GCC
14174 builtin and then its argument prototype would still apply. */
14187 if ac_fn_c_try_link
"$LINENO"; then :
14188 ac_cv_lib_dl_dlopen
=yes
14190 ac_cv_lib_dl_dlopen
=no
14192 rm -f core conftest.err conftest.
$ac_objext \
14193 conftest
$ac_exeext conftest.
$ac_ext
14194 LIBS
=$ac_check_lib_save_LIBS
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14197 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14198 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14200 aros_host_ldflags
="$aros_host_ldflags -ldl"
14206 if test "x-$have_dl" = "x-no" ; then
14207 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
14213 # Check whether --enable-x11_hidd was given.
14214 if test "${enable_x11_hidd+set}" = set; then :
14215 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
14217 x11_hidd
="$need_x11"
14220 case "x-$x11_hidd" in
14221 x-yes|x-no|x-auto
) ;;
14222 *) x11_hidd
="$need_x11" ;;
14227 if test "x-$x11_hidd" != "x-no" ; then
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
14230 $as_echo_n "checking for X... " >&6; }
14233 # Check whether --with-x was given.
14234 if test "${with_x+set}" = set; then :
14238 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
14239 if test "x$with_x" = xno
; then
14240 # The user explicitly disabled X.
14243 case $x_includes,$x_libraries in #(
14244 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
14245 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
14246 $as_echo_n "(cached) " >&6
14248 # One or both of the vars are not set, and there is no cached value.
14249 ac_x_includes
=no ac_x_libraries
=no
14250 rm -f -r conftest.dir
14251 if mkdir conftest.dir
; then
14253 cat >Imakefile
<<'_ACEOF'
14255 @echo incroot='${INCROOT}'
14257 @echo usrlibdir='${USRLIBDIR}'
14259 @echo libdir='${LIBDIR}'
14261 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
14262 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14263 for ac_var
in incroot usrlibdir libdir
; do
14264 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14266 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14267 for ac_extension
in a so sl dylib la dll
; do
14268 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14269 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14270 ac_im_usrlibdir
=$ac_im_libdir; break
14273 # Screen out bogus values from the imake configuration. They are
14274 # bogus both because they are the default anyway, and because
14275 # using them would break gcc on systems where it needs fixed includes.
14276 case $ac_im_incroot in
14277 /usr
/include
) ac_x_includes
= ;;
14278 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
14280 case $ac_im_usrlibdir in
14281 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
14282 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
14286 rm -f -r conftest.dir
14289 # Standard set of common directories for X headers.
14290 # Check X11 before X11Rn because it is often a symlink to the current release.
14304 /usr/local/X11/include
14305 /usr/local/X11R7/include
14306 /usr/local/X11R6/include
14307 /usr/local/X11R5/include
14308 /usr/local/X11R4/include
14310 /usr/local/include/X11
14311 /usr/local/include/X11R7
14312 /usr/local/include/X11R6
14313 /usr/local/include/X11R5
14314 /usr/local/include/X11R4
14318 /usr/XFree86/include/X11
14322 /usr/unsupported/include
14323 /usr/athena/include
14324 /usr/local/x11r5/include
14325 /usr/lpp/Xamples/include
14327 /usr/openwin/include
14328 /usr/openwin/share/include'
14330 if test "$ac_x_includes" = no
; then
14331 # Guess where to find include files, by looking for Xlib.h.
14332 # First, try using that file with no special directory specified.
14333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14334 /* end confdefs.h. */
14335 #include <X11/Xlib.h>
14337 if ac_fn_c_try_cpp
"$LINENO"; then :
14338 # We can compile using X headers with no special include directory.
14341 for ac_dir
in $ac_x_header_dirs; do
14342 if test -r "$ac_dir/X11/Xlib.h"; then
14343 ac_x_includes
=$ac_dir
14348 rm -f conftest.err conftest.i conftest.
$ac_ext
14349 fi # $ac_x_includes = no
14351 if test "$ac_x_libraries" = no
; then
14352 # Check for the libraries.
14353 # See if we find them without any special options.
14354 # Don't add to $LIBS permanently.
14357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14358 /* end confdefs.h. */
14359 #include <X11/Xlib.h>
14368 if ac_fn_c_try_link
"$LINENO"; then :
14370 # We can link X programs with no special library path.
14374 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14376 # Don't even attempt the hair of trying to link an X program!
14377 for ac_extension
in a so sl dylib la dll
; do
14378 if test -r "$ac_dir/libX11.$ac_extension"; then
14379 ac_x_libraries
=$ac_dir
14385 rm -f core conftest.err conftest.
$ac_objext \
14386 conftest
$ac_exeext conftest.
$ac_ext
14387 fi # $ac_x_libraries = no
14389 case $ac_x_includes,$ac_x_libraries in #(
14390 no
,* |
*,no |
*\'*)
14391 # Didn't find X, or a directory has "'" in its name.
14392 ac_cv_have_x
="have_x=no";; #(
14394 # Record where we found X for the cache.
14395 ac_cv_have_x
="have_x=yes\
14396 ac_x_includes='$ac_x_includes'\
14397 ac_x_libraries='$ac_x_libraries'"
14403 eval "$ac_cv_have_x"
14406 if test "$have_x" != yes; then
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14408 $as_echo "$have_x" >&6; }
14411 # If each of the values was on the command line, it overrides each guess.
14412 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
14413 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
14414 # Update the cache value to reflect the command line values.
14415 ac_cv_have_x
="have_x=yes\
14416 ac_x_includes='$x_includes'\
14417 ac_x_libraries='$x_libraries'"
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14419 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
14423 if test -n "$x_includes"; then
14424 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14427 if test -n "$x_libraries"; then
14428 X_LIBS
="$X_LIBS -L$x_libraries"
14431 if test "x-$no_x" = "x-yes" ; then
14433 if test "x-$x11_hidd" != "x-auto" ; then
14434 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
14441 aros_host_x11_cflags
="$X_CFLAGS"
14442 aros_host_x11_ldflags
="$X_LIBS -lX11"
14444 # Check whether --enable-x11_shm was given.
14445 if test "${enable_x11_shm+set}" = set; then :
14446 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
14448 x11_hidd_shm
="auto"
14451 case "x-$x11_hidd_shm" in
14452 x-yes|x-no|x-auto
) ;;
14453 *) x11_hidd_shm
="auto" ;;
14458 if test "x-$x11_hidd_shm" != "x-no" ; then
14460 for ac_header
in sys
/ipc.h
14462 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
14463 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
14464 cat >>confdefs.h
<<_ACEOF
14465 #define HAVE_SYS_IPC_H 1
14472 for ac_header
in sys
/shm.h
14474 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
14475 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
14476 cat >>confdefs.h
<<_ACEOF
14477 #define HAVE_SYS_SHM_H 1
14485 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
14487 save_cflags
="$CFLAGS"
14488 save_ldflags
="$LDFLAGS"
14489 CFLAGS
="$CFLAGS $X_CFLAGS"
14490 LDFLAGS
="$LDFLAGS $X_LIBS"
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14492 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
14493 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
14494 $as_echo_n "(cached) " >&6
14496 ac_check_lib_save_LIBS
=$LIBS
14497 LIBS
="-lXext $LIBS"
14498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14499 /* end confdefs.h. */
14501 /* Override any GCC internal prototype to avoid an error.
14502 Use char because int might match the return type of a GCC
14503 builtin and then its argument prototype would still apply. */
14507 char XShmQueryExtension ();
14511 return XShmQueryExtension ();
14516 if ac_fn_c_try_link
"$LINENO"; then :
14517 ac_cv_lib_Xext_XShmQueryExtension
=yes
14519 ac_cv_lib_Xext_XShmQueryExtension
=no
14521 rm -f core conftest.err conftest.
$ac_objext \
14522 conftest
$ac_exeext conftest.
$ac_ext
14523 LIBS
=$ac_check_lib_save_LIBS
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14526 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14527 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
14531 CFLAGS
="$save_cflags"
14532 LDFLAGS
="$save_ldflags"
14536 if test "x-$have_xshm" = "x-yes" ; then
14537 DO_XSHM_SUPPORT
="1"
14538 elif test "x-$x11_hidd_shm" = "x-yes" ; then
14539 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
14541 DO_XSHM_SUPPORT
="0"
14545 # Check whether --enable-x11_vidmode was given.
14546 if test "${enable_x11_vidmode+set}" = set; then :
14547 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
14549 x11_hidd_vidmode
="auto"
14552 case "x-$x11_hidd_vidmode" in
14553 x-yes|x-no|x-auto
) ;;
14554 *) x11_hidd_vidmode
="auto" ;;
14559 if test "x-$x11_hidd_vidmode" != "x-no" ; then
14561 save_cflags
="$CFLAGS"
14562 save_ldflags
="$LDFLAGS"
14563 CFLAGS
="$CFLAGS $X_CFLAGS"
14564 LDFLAGS
="$LDFLAGS $X_LIBS"
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
14566 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
14567 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
14568 $as_echo_n "(cached) " >&6
14570 ac_check_lib_save_LIBS
=$LIBS
14571 LIBS
="-lXxf86vm $LIBS"
14572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14573 /* end confdefs.h. */
14575 /* Override any GCC internal prototype to avoid an error.
14576 Use char because int might match the return type of a GCC
14577 builtin and then its argument prototype would still apply. */
14581 char XF86VidModeQueryExtension ();
14585 return XF86VidModeQueryExtension ();
14590 if ac_fn_c_try_link
"$LINENO"; then :
14591 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
14593 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
14595 rm -f core conftest.err conftest.
$ac_objext \
14596 conftest
$ac_exeext conftest.
$ac_ext
14597 LIBS
=$ac_check_lib_save_LIBS
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
14600 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
14601 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
14605 CFLAGS
="$save_cflags"
14606 LDFLAGS
="$save_ldflags"
14609 if test "x-$have_vidmode" = "x-yes" ; then
14610 DO_VIDMODE_SUPPORT
="1"
14611 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
14612 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
14614 DO_VIDMODE_SUPPORT
="0"
14619 # Check whether --enable-sdl_hidd was given.
14620 if test "${enable_sdl_hidd+set}" = set; then :
14621 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
14626 case "x-$sdl_hidd" in
14627 x-yes|x-no|x-auto
) ;;
14628 *) sdl_hidd
="auto" ;;
14631 if test "x-$sdl_hidd" != "x-no" ; then
14635 # Check whether --with-sdl-prefix was given.
14636 if test "${with_sdl_prefix+set}" = set; then :
14637 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
14643 # Check whether --with-sdl-exec-prefix was given.
14644 if test "${with_sdl_exec_prefix+set}" = set; then :
14645 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
14650 # Check whether --enable-sdltest was given.
14651 if test "${enable_sdltest+set}" = set; then :
14652 enableval
=$enable_sdltest;
14658 if test x
$sdl_exec_prefix != x
; then
14659 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
14660 if test x
${SDL_CONFIG+set} != xset
; then
14661 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
14664 if test x
$sdl_prefix != x
; then
14665 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
14666 if test x
${SDL_CONFIG+set} != xset
; then
14667 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
14671 as_save_PATH
="$PATH"
14672 if test "x$prefix" != xNONE
; then
14673 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
14675 # Extract the first word of "sdl-config", so it can be a program name with args.
14676 set dummy sdl-config
; ac_word
=$2
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14678 $as_echo_n "checking for $ac_word... " >&6; }
14679 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
14680 $as_echo_n "(cached) " >&6
14682 case $SDL_CONFIG in
14684 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
14687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14688 for as_dir
in $PATH
14691 test -z "$as_dir" && as_dir
=.
14692 for ac_exec_ext
in '' $ac_executable_extensions; do
14693 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14694 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14702 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
14706 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
14707 if test -n "$SDL_CONFIG"; then
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
14709 $as_echo "$SDL_CONFIG" >&6; }
14711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14712 $as_echo "no" >&6; }
14716 PATH
="$as_save_PATH"
14717 min_sdl_version
=$SDL_VERSION
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
14719 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
14721 if test "$SDL_CONFIG" = "no" ; then
14724 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
14725 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
14727 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
14728 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
14729 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
14730 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
14731 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
14732 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
14733 if test "x$enable_sdltest" = "xyes" ; then
14734 ac_save_CFLAGS
="$CFLAGS"
14735 ac_save_CXXFLAGS
="$CXXFLAGS"
14736 ac_save_LIBS
="$LIBS"
14737 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14738 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14739 LIBS
="$LIBS $SDL_LIBS"
14741 if test "$cross_compiling" = yes; then :
14742 echo $ac_n "cross compiling; assumed OK... $ac_c"
14744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14745 /* end confdefs.h. */
14748 #include <stdlib.h>
14749 #include <string.h>
14753 my_strdup (char *str)
14759 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14760 strcpy (new_str, str);
14768 int main (int argc, char *argv[])
14770 int major, minor, micro;
14773 /* This hangs on some systems (?)
14774 system ("touch conf.sdltest");
14776 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14778 /* HP/UX 9 (%@#!) writes to sscanf strings */
14779 tmp_version = my_strdup("$min_sdl_version");
14780 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14781 printf("%s, bad version string\n", "$min_sdl_version");
14785 if (($sdl_major_version > major) ||
14786 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14787 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14793 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14794 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14795 printf("*** best to upgrade to the required version.\n");
14796 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14797 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14798 printf("*** config.cache before re-running configure\n");
14805 if ac_fn_c_try_run
"$LINENO"; then :
14810 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14811 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14814 CFLAGS
="$ac_save_CFLAGS"
14815 CXXFLAGS
="$ac_save_CXXFLAGS"
14816 LIBS
="$ac_save_LIBS"
14819 if test "x$no_sdl" = x
; then
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14821 $as_echo "yes" >&6; }
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14825 $as_echo "no" >&6; }
14826 if test "$SDL_CONFIG" = "no" ; then
14827 echo "*** The sdl-config script installed by SDL could not be found"
14828 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14829 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14830 echo "*** full path to sdl-config."
14832 if test -f conf.sdltest
; then
14835 echo "*** Could not run SDL test program, checking why..."
14836 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14837 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14838 LIBS
="$LIBS $SDL_LIBS"
14839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14840 /* end confdefs.h. */
14845 int main(int argc, char *argv[])
14848 #define main K_and_R_C_main
14858 if ac_fn_c_try_link
"$LINENO"; then :
14859 echo "*** The test program compiled, but did not run. This usually means"
14860 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14861 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14862 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14863 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14864 echo "*** is required on your system"
14866 echo "*** If you have an old version installed, it is best to remove it, although"
14867 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14869 echo "*** The test program failed to compile or link. See the file config.log for the"
14870 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14871 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14872 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14874 rm -f core conftest.err conftest.
$ac_objext \
14875 conftest
$ac_exeext conftest.
$ac_ext
14876 CFLAGS
="$ac_save_CFLAGS"
14877 CXXFLAGS
="$ac_save_CXXFLAGS"
14878 LIBS
="$ac_save_LIBS"
14890 if test "x-$have_sdl" != "x-yes" ; then
14892 if test "x-$sdl_hidd" != "x-auto" ; then
14893 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14898 aros_host_sdl_cflags
=$SDL_CFLAGS
14899 aros_host_sdl_libs
=$SDL_LIBS
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether building of dbus.library is enabled" >&5
14907 $as_echo_n "checking whether building of dbus.library is enabled... " >&6; }
14908 # Check whether --enable-dbus was given.
14909 if test "${enable_dbus+set}" = set; then :
14910 enableval
=$enable_dbus; dbus
="yes"
14915 if test "$dbus" = "yes" ; then
14917 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14918 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14919 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14920 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14925 $as_echo "$dbus" >&6; }
14927 if test "$use_kernel_cc_wrapper" = "yes" ; then
14928 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-${toolchain_c_compiler}"
14931 aros_kernel_cppflags
=$aros_config_cppflags
14932 aros_optimization_cflags
="$optimization_level"
14933 if test "$optimization" = "default"; then
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default optimization level to use" >&5
14935 $as_echo_n "checking default optimization level to use... " >&6; }
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization_level" >&5
14937 $as_echo "$optimization_level" >&6; }
14955 # Compatability with other Amiga-like operation systems
15068 # Hosted Graphics Related
15086 # Bootloader related
15089 # Native version related
15094 # Palm native version related
15097 # Unix/Hosted version related
15103 # Apple iOS related
15108 # ARM default GCC target related
15136 # Collect-aros stuff: "-ius" to ignore undefined symbols
15139 # C compiler related
15144 #ObjC compiler related
15153 case "$aros_flavour" in
15154 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
15155 aros_flavour
="emulation" ;;
15156 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
15157 aros_flavour
="emulation" ;;
15158 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
15159 aros_flavour
="standalone";;
15160 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15161 aros_flavour
="standalone";;
15162 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
15163 aros_flavour
="native" ;;
15164 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
15165 aros_flavour
="native" ;;
15166 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
15167 aros_flavour
="linklib" ;;
15168 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15169 aros_flavour
="palmnative" ;;
15170 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15171 aros_flavour
="mac68knative" ;;
15172 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15173 aros_flavour
="ppcnative" ;;
15176 if test ! -d ${aros_inc_dir} ; then
15177 ${MKDIR} ${aros_inc_dir}
15179 if test ! -d ${aros_geninc_dir} ; then
15180 ${MKDIR} ${aros_geninc_dir}
15182 if test ! -d ${aros_hostcfg_dir} ; then
15183 ${MKDIR} ${aros_hostcfg_dir}
15185 if test ! -d ${aros_targetcfg_dir} ; then
15186 ${MKDIR} ${aros_targetcfg_dir}
15188 if test ! -d ${aros_tools_dir} ; then
15189 ${MKDIR} ${aros_tools_dir}
15191 if test ! -d ${aros_scripts_dir} ; then
15192 ${MKDIR} ${aros_scripts_dir}
15195 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
15198 # Generic build tools (metamake, etc)
15199 ac_config_commands
="$ac_config_commands genmf-executable-support"
15201 ac_config_files
="$ac_config_files Makefile config/make.cfg ${aros_inc_dir}/config.h:config/config.h.in ${aros_geninc_dir}/config.h:config/config.h.in ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in ${aros_targetcfg_dir}/build.cfg:config/build.cfg.in mmake.config compiler/include/geninc.cfg:compiler/include/geninc.cfg.in ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname:scripts/uname.in tools/collect-aros/env.h"
15205 ac_config_commands
="$ac_config_commands binutils-support"
15207 if test "${use_ld_wrapper}" = "yes"; then
15208 ac_config_files
="$ac_config_files ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${aros_ld}:scripts/aros-ld.in"
15211 # Bare Elf support script and spec
15212 if test "${use_kernel_cc_wrapper}" = "yes"; then
15213 ac_config_commands
="$ac_config_commands elf-compiler-support"
15215 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"
15219 # Host compiler support scripts and spec
15220 if test "${aros_target_toolchain}" = "no"; then
15221 ac_config_commands
="$ac_config_commands host-compiler-wrapper-support"
15223 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"
15228 if test "$aros_target_variant" == "android"; then
15229 ac_config_files
="$ac_config_files ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in"
15234 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in"
15237 cat >confcache
<<\_ACEOF
15238 # This file is a shell script that caches the results of configure
15239 # tests run on this system so they can be shared between configure
15240 # scripts and configure runs, see configure's option --config-cache.
15241 # It is not useful on other systems. If it contains results you don't
15242 # want to keep, you may remove or edit it.
15244 # config.status only pays attention to the cache file if you give it
15245 # the --recheck option to rerun configure.
15247 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15248 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15249 # following values.
15253 # The following way of writing the cache mishandles newlines in values,
15254 # but we know of no workaround that is simple, portable, and efficient.
15255 # So, we kill variables containing newlines.
15256 # Ultrix sh set writes to stderr and can't be redirected directly,
15257 # and sets the high bit in the cache file unless we assign to the vars.
15259 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15260 eval ac_val
=\$
$ac_var
15264 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15265 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15268 _ | IFS | as_nl
) ;; #(
15269 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15270 *) { eval $ac_var=; unset $ac_var;} ;;
15276 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15277 *${as_nl}ac_space
=\
*)
15278 # `set' does not quote correctly, so add quotes: double-quote
15279 # substitution turns \\\\ into \\, and sed turns \\ into \.
15282 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15285 # `set' quotes correctly as required by POSIX, so do not add quotes.
15286 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15295 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15297 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15299 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15300 if test -w "$cache_file"; then
15301 if test "x$cache_file" != "x/dev/null"; then
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15303 $as_echo "$as_me: updating cache $cache_file" >&6;}
15304 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15305 cat confcache
>"$cache_file"
15307 case $cache_file in #(
15309 mv -f confcache
"$cache_file"$$
&&
15310 mv -f "$cache_file"$$
"$cache_file" ;; #(
15312 mv -f confcache
"$cache_file" ;;
15317 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15318 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15323 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15324 # Let make expand exec_prefix.
15325 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15327 DEFS
=-DHAVE_CONFIG_H
15332 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15333 # 1. Remove the extension, and $U if already installed.
15334 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15335 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15336 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15337 # will be set to the directory where LIBOBJS objects are built.
15338 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15339 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15341 LIBOBJS
=$ac_libobjs
15343 LTLIBOBJS
=$ac_ltlibobjs
15347 : "${CONFIG_STATUS=./config.status}"
15349 ac_clean_files_save
=$ac_clean_files
15350 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15352 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15354 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15356 # Generated by $as_me.
15357 # Run this file to recreate the current configuration.
15358 # Compiler output produced by configure, useful for debugging
15359 # configure, is in config.log if it exists.
15362 ac_cs_recheck=false
15365 SHELL=\${CONFIG_SHELL-$SHELL}
15368 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15369 ## -------------------- ##
15370 ## M4sh Initialization. ##
15371 ## -------------------- ##
15373 # Be more Bourne compatible
15374 DUALCASE
=1; export DUALCASE
# for MKS sh
15375 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15378 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15379 # is contrary to our usage. Disable this feature.
15380 alias -g '${1+"$@"}'='"$@"'
15381 setopt NO_GLOB_SUBST
15383 case `(set -o) 2>/dev/null` in #(
15395 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15396 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15397 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15398 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15399 # Prefer a ksh shell builtin over an external printf program on Solaris,
15400 # but without wasting forks for bash or zsh.
15401 if test -z "$BASH_VERSION$ZSH_VERSION" \
15402 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15403 as_echo='print
-r --'
15404 as_echo_n='print
-rn --'
15405 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15406 as_echo='printf %s
\n'
15407 as_echo_n='printf %s
'
15409 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15410 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15411 as_echo_n='/usr
/ucb
/echo -n'
15413 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15414 as_echo_n_body='eval
15418 expr "X$arg" : "X\\(.*\\)$as_nl";
15419 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15421 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15423 export as_echo_n_body
15424 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15426 export as_echo_body
15427 as_echo='sh
-c $as_echo_body as_echo
'
15430 # The user is always right.
15431 if test "${PATH_SEPARATOR+set}" != set; then
15433 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15434 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15441 # We need space, tab and new line, in precisely that order. Quoting is
15442 # there to prevent editors from complaining about space-tab.
15443 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15444 # splitting by setting IFS to empty value.)
15447 # Find who we are. Look in the path if we contain no directory separator.
15450 *[\\/]* ) as_myself=$0 ;;
15451 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15452 for as_dir in $PATH
15455 test -z "$as_dir" && as_dir=.
15456 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15462 # We did not find ourselves, most probably we were run as `sh COMMAND'
15463 # in which case we are not to be found in the path.
15464 if test "x$as_myself" = x
; then
15467 if test ! -f "$as_myself"; then
15468 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15472 # Unset variables that we do not need and which cause bugs (e.g. in
15473 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15474 # suppresses any "Segmentation fault" message there. '((' could
15475 # trigger a bug in pdksh 5.2.14.
15476 for as_var
in BASH_ENV ENV MAIL MAILPATH
15477 do eval test x\
${$as_var+set} = xset \
15478 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15491 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15494 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15495 # ----------------------------------------
15496 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15497 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15498 # script with STATUS, using 1 if that was 0.
15501 as_status
=$1; test $as_status -eq 0 && as_status
=1
15503 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15504 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15506 $as_echo "$as_me: error: $2" >&2
15507 as_fn_exit
$as_status
15511 # as_fn_set_status STATUS
15512 # -----------------------
15513 # Set $? to STATUS, without forking.
15514 as_fn_set_status
()
15517 } # as_fn_set_status
15519 # as_fn_exit STATUS
15520 # -----------------
15521 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15525 as_fn_set_status
$1
15531 # Portably unset VAR.
15534 { eval $1=; unset $1;}
15536 as_unset
=as_fn_unset
15537 # as_fn_append VAR VALUE
15538 # ----------------------
15539 # Append the text in VALUE to the end of the definition contained in VAR. Take
15540 # advantage of any shell optimizations that allow amortized linear growth over
15541 # repeated appends, instead of the typical quadratic growth present in naive
15543 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15544 eval 'as_fn_append ()
15555 # as_fn_arith ARG...
15556 # ------------------
15557 # Perform arithmetic evaluation on the ARGs, and store the result in the
15558 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15559 # must be portable across $(()) and expr.
15560 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15561 eval 'as_fn_arith ()
15568 as_val
=`expr "$@" || test $? -eq 1`
15573 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15574 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15580 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15581 as_basename
=basename
15586 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15592 as_me
=`$as_basename -- "$0" ||
15593 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15594 X"$0" : 'X\(//\)$' \| \
15595 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15597 sed '/^.*\/\([^/][^/]*\)\/*$/{
15611 # Avoid depending upon Character Ranges.
15612 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15613 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15614 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15615 as_cr_digits
='0123456789'
15616 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15618 ECHO_C
= ECHO_N
= ECHO_T
=
15619 case `echo -n x` in #(((((
15621 case `echo 'xy\c'` in
15622 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15624 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15631 rm -f conf$$ conf$$.exe conf$$.
file
15632 if test -d conf$$.dir
; then
15633 rm -f conf$$.dir
/conf$$.
file
15636 mkdir conf$$.dir
2>/dev
/null
15638 if (echo >conf$$.
file) 2>/dev
/null
; then
15639 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15641 # ... but there are two gotchas:
15642 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15643 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15644 # In both cases, we have to default to `cp -pR'.
15645 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15647 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15655 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15656 rmdir conf$$.dir
2>/dev
/null
15661 # Create "$as_dir" as a directory, including parents if necessary.
15666 -*) as_dir
=.
/$as_dir;;
15668 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15672 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15673 *) as_qdir
=$as_dir;;
15675 as_dirs
="'$as_qdir' $as_dirs"
15676 as_dir
=`$as_dirname -- "$as_dir" ||
15677 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15678 X"$as_dir" : 'X\(//\)[^/]' \| \
15679 X"$as_dir" : 'X\(//\)$' \| \
15680 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15681 $as_echo X"$as_dir" |
15682 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15686 /^X\(\/\/\)[^/].*/{
15699 test -d "$as_dir" && break
15701 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15702 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15706 if mkdir
-p .
2>/dev
/null
; then
15707 as_mkdir_p
='mkdir -p "$as_dir"'
15709 test -d .
/-p && rmdir .
/-p
15714 # as_fn_executable_p FILE
15715 # -----------------------
15716 # Test if FILE is an executable regular file.
15717 as_fn_executable_p
()
15719 test -f "$1" && test -x "$1"
15720 } # as_fn_executable_p
15721 as_test_x
='test -x'
15722 as_executable_p
=as_fn_executable_p
15724 # Sed expression to map a string onto a valid CPP name.
15725 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15727 # Sed expression to map a string onto a valid variable name.
15728 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15732 ## ----------------------------------- ##
15733 ## Main body of $CONFIG_STATUS script. ##
15734 ## ----------------------------------- ##
15736 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15738 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15739 # Save the log message, to keep $0 and so on meaningful, and to
15740 # report actual input values of CONFIG_FILES etc. instead of their
15741 # values after options handling.
15743 This file was extended by $as_me, which was
15744 generated by GNU Autoconf 2.69. Invocation command line was
15746 CONFIG_FILES = $CONFIG_FILES
15747 CONFIG_HEADERS = $CONFIG_HEADERS
15748 CONFIG_LINKS = $CONFIG_LINKS
15749 CONFIG_COMMANDS = $CONFIG_COMMANDS
15752 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15757 case $ac_config_files in *"
15758 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15761 case $ac_config_headers in *"
15762 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15767 # Files that config.status was made for.
15768 config_files="$ac_config_files"
15769 config_headers="$ac_config_headers"
15770 config_commands="$ac_config_commands"
15774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15776 \`$as_me' instantiates files and other configuration actions
15777 from templates according to the current configuration. Unless the files
15778 and actions are specified as TAGs, all are instantiated by default.
15780 Usage: $0 [OPTION]... [TAG]...
15782 -h, --help print this help, then exit
15783 -V, --version print version number and configuration settings, then exit
15784 --config print configuration, then exit
15785 -q, --quiet, --silent
15786 do not print progress messages
15787 -d, --debug don't remove temporary files
15788 --recheck update $as_me by reconfiguring in the same conditions
15789 --file=FILE[:TEMPLATE]
15790 instantiate the configuration file FILE
15791 --header=FILE[:TEMPLATE]
15792 instantiate the configuration header FILE
15794 Configuration files:
15797 Configuration headers:
15800 Configuration commands:
15803 Report bugs to the package provider."
15806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15807 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15810 configured by $0, generated by GNU Autoconf 2.69,
15811 with options \\"\$ac_cs_config\\"
15813 Copyright (C) 2012 Free Software Foundation, Inc.
15814 This config.status script is free software; the Free Software Foundation
15815 gives unlimited permission to copy, distribute and modify it."
15819 test -n "\$AWK" || AWK=awk
15822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15823 # The default lists apply if the user does not specify any file.
15829 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15830 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15834 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15846 # Handling of the options.
15847 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15849 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15850 $as_echo "$ac_cs_version"; exit ;;
15851 --config |
--confi |
--conf |
--con |
--co |
--c )
15852 $as_echo "$ac_cs_config"; exit ;;
15853 --debug |
--debu |
--deb |
--de |
--d |
-d )
15855 --file |
--fil |
--fi |
--f )
15858 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15859 '') as_fn_error $?
"missing file argument" ;;
15861 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15862 ac_need_defaults
=false
;;
15863 --header |
--heade |
--head |
--hea )
15866 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15868 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15869 ac_need_defaults
=false
;;
15871 # Conflict between --help and --header
15872 as_fn_error $?
"ambiguous option: \`$1'
15873 Try \`$0 --help' for more information.";;
15874 --help |
--hel |
-h )
15875 $as_echo "$ac_cs_usage"; exit ;;
15876 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15877 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15880 # This is an error.
15881 -*) as_fn_error $?
"unrecognized option: \`$1'
15882 Try \`$0 --help' for more information." ;;
15884 *) as_fn_append ac_config_targets
" $1"
15885 ac_need_defaults
=false
;;
15891 ac_configure_extra_args
=
15893 if $ac_cs_silent; then
15895 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15899 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15900 if \$ac_cs_recheck; then
15901 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15903 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15904 CONFIG_SHELL='$SHELL'
15905 export CONFIG_SHELL
15910 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15914 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15915 ## Running $as_me. ##
15921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15926 AROS_CROSSTOOLSDIR=${AROS_CROSSTOOLSDIR}
15927 aros_tools_dir=${aros_tools_dir}
15931 aros_host_exe_suffix=${aros_host_exe_suffix}
15932 aros_tools_dir=${aros_tools_dir}
15933 aros_target_cpu=${aros_target_cpu}
15934 aros_target_arch=${aros_target_arch}
15935 aros_target_suffix=${aros_target_suffix}
15936 orig_target_nm=${orig_target_nm}
15937 orig_target_as=${orig_target_as}
15938 orig_target_ar=${orig_target_ar}
15939 orig_target_ranlib=${orig_target_ranlib}
15940 orig_target_objdump=${orig_target_objdump}
15941 orig_target_objcopy=${orig_target_objcopy}
15942 orig_target_strip=${orig_target_strip}
15943 aros_kernel_ld=${aros_kernel_ld}
15947 aros_host_exe_suffix=${aros_host_exe_suffix}
15948 aros_tools_dir=${aros_tools_dir}
15949 aros_target_cpu=${aros_target_cpu}
15950 aros_target_arch=${aros_target_arch}
15951 aros_target_suffix=${aros_target_suffix}
15952 aros_kernel_ld=${aros_kernel_ld}
15956 aros_host_exe_suffix=${aros_host_exe_suffix}
15957 aros_tools_dir=${aros_tools_dir}
15958 aros_target_cpu=${aros_target_cpu}
15959 aros_target_arch=${aros_target_arch}
15960 aros_target_suffix=${aros_target_suffix}
15966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15968 # Handling of arguments.
15969 for ac_config_target
in $ac_config_targets
15971 case $ac_config_target in
15972 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15973 "genmf-executable-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf-executable-support" ;;
15974 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15975 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15976 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15977 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15978 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15979 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15980 "${aros_targetcfg_dir}/build.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/build.cfg:config/build.cfg.in" ;;
15981 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15982 "compiler/include/geninc.cfg") CONFIG_FILES
="$CONFIG_FILES compiler/include/geninc.cfg:compiler/include/geninc.cfg.in" ;;
15983 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15984 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15985 "${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname") CONFIG_FILES="$CONFIG_FILES ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname:scripts/uname.in" ;;
15986 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15987 "binutils-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS binutils-support" ;;
15988 "${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${aros_ld}") CONFIG_FILES="$CONFIG_FILES ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${aros_ld}:scripts/aros-ld.in" ;;
15989 "elf-compiler-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS elf-compiler-support" ;;
15990 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15991 "${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" ;;
15992 "host-compiler-wrapper-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS host-compiler-wrapper-support" ;;
15993 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15994 "${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" ;;
15995 "${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" ;;
15996 "${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" ;;
15997 "${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" ;;
15998 "${aros_targetcfg_dir}/conf.cmake") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in" ;;
16000 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16005 # If the user did not use the arguments to specify the items to instantiate,
16006 # then the envvar interface is used. Set only those that are not.
16007 # We use the long form for the default assignment because of an extremely
16008 # bizarre bug on SunOS 4.1.3.
16009 if $ac_need_defaults; then
16010 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16011 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16012 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16015 # Have a temporary directory for convenience. Make it in the build tree
16016 # simply because there is no reason against having it here, and in addition,
16017 # creating and moving files from /tmp can sometimes cause problems.
16018 # Hook for its removal unless debugging.
16019 # Note that there is a small window in which the directory will not be cleaned:
16020 # after its creation but before its name has been assigned to `$tmp'.
16024 trap 'exit_status=$?
16025 : "${ac_tmp:=$tmp}"
16026 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16028 trap 'as_fn_exit 1' 1 2 13 15
16030 # Create a (secure) tmp directory for tmp files.
16033 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16037 tmp
=.
/conf$$
-$RANDOM
16038 (umask 077 && mkdir
"$tmp")
16039 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16042 # Set up the scripts for CONFIG_FILES section.
16043 # No need to generate them if there are no CONFIG_FILES.
16044 # This happens for instance with `./config.status config.h'.
16045 if test -n "$CONFIG_FILES"; then
16048 ac_cr
=`echo X | tr X '\015'`
16049 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16050 # But we know of no other shell where ac_cr would be empty at this
16051 # point, so we can use a bashism as a fallback.
16052 if test "x$ac_cr" = x
; then
16053 eval ac_cr
=\$
\'\\r
\'
16055 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16056 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16059 ac_cs_awk_cr
=$ac_cr
16062 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16067 echo "cat >conf$$subs.awk <<_ACEOF" &&
16068 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16070 } >conf$$subs.sh ||
16071 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16072 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16074 for ac_last_try in false false false false false :; do
16075 . ./conf$$subs.sh ||
16076 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16078 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16079 if test $ac_delim_n = $ac_delim_num; then
16081 elif $ac_last_try; then
16082 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16084 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16087 rm -f conf$$subs.sh
16089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16090 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16094 s/^/S["/; s
/!.
*/"]=/
16104 s/\(.\{148\}\)..*/\1/
16106 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16111 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16118 s/\(.\{148\}\)..*/\1/
16120 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16124 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16129 ' <conf$$subs.awk | sed '
16134 ' >>$CONFIG_STATUS || ac_write_fail=1
16135 rm -f conf$$subs.awk
16136 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16138 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16139 for (key in S) S_is_set[key] = 1
16145 nfields = split(line, field, "@
")
16147 len = length(field[1])
16148 for (i = 2; i < nfields; i++) {
16150 keylen = length(key)
16151 if (S_is_set[key]) {
16153 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16154 len += length(value) + length(field[++i])
16165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16166 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16167 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16170 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16171 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16174 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16175 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16176 # trailing colons and then remove the whole line if VPATH becomes empty
16177 # (actually we leave an empty line to preserve line numbers).
16178 if test "x
$srcdir" = x.; then
16179 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16198 fi # test -n "$CONFIG_FILES"
16200 # Set up the scripts for CONFIG_HEADERS section.
16201 # No need to generate them if there are no CONFIG_HEADERS.
16202 # This happens for instance with `./config.status Makefile'.
16203 if test -n "$CONFIG_HEADERS"; then
16204 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16208 # Transform confdefs.h into an awk script `defines.awk', embedded as
16209 # here-document in config.status, that substitutes the proper values into
16210 # config.h.in to produce config.h.
16212 # Create a delimiter string that does not exist in confdefs.h, to ease
16213 # handling of long lines.
16215 for ac_last_try in false false :; do
16216 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16217 if test -z "$ac_tt"; then
16219 elif $ac_last_try; then
16220 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16222 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16226 # For the awk script, D is an array of macro values keyed by name,
16227 # likewise P contains macro parameters if any. Preserve backslash
16228 # newline sequences.
16230 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16232 s/.\{148\}/&'"$ac_delim"'/g
16235 s/^[ ]*#[ ]*define[ ][ ]*/ /
16242 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16244 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16248 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16249 D["\
1"]=" \
3\\\\\\n
"\\/p
16251 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16256 s/.\{148\}/&'"$ac_delim"'/g
16261 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16264 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16266 ' <confdefs.h | sed '
16267 s/'"$ac_delim"'/"\\\
16268 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16271 for (key in D) D_is_set[key] = 1
16274 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16276 split(line, arg, " ")
16277 if (arg[1] == "#") {
16281 defundef
= substr
(arg
[1], 2)
16284 split(mac1
, mac2
, "(") #)
16286 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16287 if (D_is_set
[macro
]) {
16288 # Preserve the white space surrounding the "#".
16289 print prefix
"define", macro P
[macro
] D
[macro
]
16292 # Replace #undef with comments. This is necessary, for example,
16293 # in the case of _POSIX_SOURCE, which is predefined and required
16294 # on some systems where configure will not decide to define it.
16295 if (defundef
== "undef") {
16296 print
"/*", prefix defundef
, macro
, "*/"
16304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16305 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16306 fi # test -n "$CONFIG_HEADERS"
16309 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16314 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16316 case $ac_mode$ac_tag in
16318 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16319 :[FH
]-) ac_tag
=-:-;;
16320 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16337 -) ac_f
="$ac_tmp/stdin";;
16338 *) # Look for the file first in the build tree, then in the source tree
16339 # (if the path is not absolute). The absolute path cannot be DOS-style,
16340 # because $ac_f cannot contain `:'.
16344 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16346 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16348 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16349 as_fn_append ac_file_inputs
" '$ac_f'"
16352 # Let's still pretend it is `configure' which instantiates (i.e., don't
16353 # use $as_me), people would be surprised to read:
16354 # /* config.h. Generated by config.status. */
16355 configure_input
='Generated from '`
16356 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16358 if test x
"$ac_file" != x-
; then
16359 configure_input
="$ac_file. $configure_input"
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16361 $as_echo "$as_me: creating $ac_file" >&6;}
16363 # Neutralize special characters interpreted by sed in replacement strings.
16364 case $configure_input in #(
16365 *\
&* |
*\|
* |
*\\* )
16366 ac_sed_conf_input
=`$as_echo "$configure_input" |
16367 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16368 *) ac_sed_conf_input
=$configure_input;;
16372 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16373 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16378 ac_dir
=`$as_dirname -- "$ac_file" ||
16379 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16380 X"$ac_file" : 'X\(//\)[^/]' \| \
16381 X"$ac_file" : 'X\(//\)$' \| \
16382 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16383 $as_echo X"$ac_file" |
16384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16388 /^X\(\/\/\)[^/].*/{
16401 as_dir
="$ac_dir"; as_fn_mkdir_p
16405 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16407 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16408 # A ".." for each directory in $ac_dir_suffix.
16409 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16410 case $ac_top_builddir_sub in
16411 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16412 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16415 ac_abs_top_builddir
=$ac_pwd
16416 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16417 # for backward compatibility:
16418 ac_top_builddir
=$ac_top_build_prefix
16421 .
) # We are building in place.
16423 ac_top_srcdir
=$ac_top_builddir_sub
16424 ac_abs_top_srcdir
=$ac_pwd ;;
16425 [\\/]* | ?
:[\\/]* ) # Absolute name.
16426 ac_srcdir
=$srcdir$ac_dir_suffix;
16427 ac_top_srcdir
=$srcdir
16428 ac_abs_top_srcdir
=$srcdir ;;
16429 *) # Relative name.
16430 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16431 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16432 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16434 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16445 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16446 # If the template does not know about datarootdir, expand it.
16447 # FIXME: This hack should be removed a few years after 2.60.
16448 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16459 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16460 *datarootdir
*) ac_datarootdir_seen
=yes;;
16461 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16463 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16465 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16466 ac_datarootdir_hack='
16467 s&@datadir@&$datadir&g
16468 s&@docdir@&$docdir&g
16469 s&@infodir@&$infodir&g
16470 s&@localedir@&$localedir&g
16471 s&@mandir@&$mandir&g
16472 s&\\\${datarootdir}&$datarootdir&g' ;;
16476 # Neutralize VPATH when `$srcdir' = `.'.
16477 # Shell code in configure.ac might set extrasub.
16478 # FIXME: do we really want to maintain this feature?
16479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16480 ac_sed_extra="$ac_vpsub
16483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16485 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16486 s|@configure_input@|
$ac_sed_conf_input|
;t t
16487 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16488 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16489 s
&@srcdir@
&$ac_srcdir&;t t
16490 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16491 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16492 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16493 s
&@builddir@
&$ac_builddir&;t t
16494 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16495 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16496 $ac_datarootdir_hack
16498 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16499 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16501 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16502 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16503 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16504 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16506 which seems to be undefined. Please make sure it is defined" >&5
16507 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16508 which seems to be undefined. Please make sure it is defined" >&2;}
16510 rm -f "$ac_tmp/stdin"
16512 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16513 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16515 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16521 if test x"$ac_file" != x-; then
16523 $as_echo "/* $configure_input */" \
16524 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16525 } >"$ac_tmp/config.h" \
16526 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16527 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16529 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16532 mv "$ac_tmp/config.h" "$ac_file" \
16533 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16536 $as_echo "/* $configure_input */" \
16537 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16538 || as_fn_error $? "could not create -" "$LINENO" 5
16542 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16543 $as_echo "$as_me: executing $ac_file commands" >&6;}
16548 case $ac_file$ac_mode in
16549 "genmf-executable-support":C)
16550 chmod a+x ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname
16551 chmod a+x ${aros_tools_dir}/genmf.py
16553 "binutils-support":C)
16554 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16556 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
16558 chmod a+x ${prefix2}-ld
16560 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
16561 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
16562 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
16563 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
16564 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
16565 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
16566 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
16568 "elf-compiler-support":C)
16569 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16571 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
16573 chmod a+x ${prefix2}-gcc
16575 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix2}-ld$aros_host_exe_suffix
16577 "host-compiler-wrapper-support":C)
16578 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16580 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
16582 chmod a+x ${prefix2}-${toolchain_c_compiler} ${prefix2}-${toolchain_cxx_compiler} ${prefix2}-${toolchain_cpp_preprocessor}
16591 ac_clean_files=$ac_clean_files_save
16593 test $ac_write_fail = 0 ||
16594 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16597 # configure is writing to config.log, and then calls config.status.
16598 # config.status does its own redirection, appending to config.log.
16599 # Unfortunately, on DOS this fails, as config.log is still kept open
16600 # by configure, so config.status won't be able to
write to it
; its
16601 # output is simply discarded. So we exec the FD to /dev/null,
16602 # effectively closing config.log, so it can be properly (re)opened and
16603 # appended to by config.status. When coming back to configure, we
16604 # need to make the FD available again.
16605 if test "$no_create" != yes; then
16607 ac_config_status_args
=
16608 test "$silent" = yes &&
16609 ac_config_status_args
="$ac_config_status_args --quiet"
16611 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16613 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16614 # would make configure fail if this is the last instruction.
16615 $ac_cs_success || as_fn_exit
1
16617 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16619 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16624 #XXX compatability...
16625 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
16627 if test -n "$aros_shared_cflags" ; then
16628 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
16629 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg