2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="mmakefile"
586 # Factoring default headers for most tests.
587 ac_includes_default
="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
623 ac_subst_vars
='LTLIBOBJS
627 target_binutils_version
629 ignore_undefined_symbols
643 gcc_default_float_abi
651 aros_nesting_supervisor
659 aros_host_x11_ldflags
670 crosstools_cxx_target
673 aros_optimization_cflags
676 aros_target_strip_flags
684 aros_kernel_objcflags
711 aros_target_cc_includes
727 aros_target_bootloader
749 aros_amigaos_compliance
757 aros_target_toolchain
766 kernel_cflags_iquote_end
768 host_cflags_iquote_end
771 aros_target_nostdlib_ldflags
772 aros_target_detach_ldflags
773 aros_target_nix_ldflags
774 aros_target_nostartup_ldflags
775 aros_target_nostdinc_cflags
814 arosconfig_use_libpngconfig
897 program_transform_name
910 enable_option_checking
921 with_kernel_gcc_version
924 enable_target_variant
931 enable_amigaos_compliance
932 with_kernel_toolchain_prefix
933 with_elf_toolchain_prefix
936 with_aros_toolchain_install
937 with_binutils_version
951 enable_palm_debug_hack
953 enable_nesting_supervisor
965 ac_precious_vars
='build_alias
981 # Initialize some variables set by options.
983 ac_init_version
=false
984 ac_unrecognized_opts
=
986 # The variables have the same names as the options, with
987 # dashes changed to underlines.
995 program_transform_name
=s
,x
,x
,
1003 # Installation directory options.
1004 # These are left unexpanded so users can "make install exec_prefix=/foo"
1005 # and all the variables that are supposed to be based on exec_prefix
1006 # by default will actually change.
1007 # Use braces instead of parens because sh, perl, etc. also accept them.
1008 # (The list follows the same order as the GNU Coding Standards.)
1009 bindir
='${exec_prefix}/bin'
1010 sbindir
='${exec_prefix}/sbin'
1011 libexecdir
='${exec_prefix}/libexec'
1012 datarootdir
='${prefix}/share'
1013 datadir
='${datarootdir}'
1014 sysconfdir
='${prefix}/etc'
1015 sharedstatedir
='${prefix}/com'
1016 localstatedir
='${prefix}/var'
1017 includedir
='${prefix}/include'
1018 oldincludedir
='/usr/include'
1019 docdir
='${datarootdir}/doc/${PACKAGE}'
1020 infodir
='${datarootdir}/info'
1025 libdir
='${exec_prefix}/lib'
1026 localedir
='${datarootdir}/locale'
1027 mandir
='${datarootdir}/man'
1033 # If the previous option needs an argument, assign it.
1034 if test -n "$ac_prev"; then
1035 eval $ac_prev=\
$ac_option
1041 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1046 # Accept the important Cygnus configure options, so we can diagnose typos.
1048 case $ac_dashdash$ac_option in
1052 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1054 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1055 bindir
=$ac_optarg ;;
1057 -build |
--build |
--buil |
--bui |
--bu)
1058 ac_prev
=build_alias
;;
1059 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1060 build_alias
=$ac_optarg ;;
1062 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1063 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1064 ac_prev
=cache_file
;;
1065 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1066 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1067 cache_file
=$ac_optarg ;;
1069 --config-cache |
-C)
1070 cache_file
=config.cache
;;
1072 -datadir |
--datadir |
--datadi |
--datad)
1074 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1075 datadir
=$ac_optarg ;;
1077 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1078 |
--dataroo |
--dataro |
--datar)
1079 ac_prev
=datarootdir
;;
1080 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1081 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1082 datarootdir
=$ac_optarg ;;
1084 -disable-* |
--disable-*)
1085 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1086 # Reject names that are not valid shell variable names.
1087 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1088 as_fn_error $?
"invalid feature name: $ac_useropt"
1089 ac_useropt_orig
=$ac_useropt
1090 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1091 case $ac_user_opts in
1093 "enable_
$ac_useropt"
1095 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1096 ac_unrecognized_sep
=', ';;
1098 eval enable_
$ac_useropt=no
;;
1100 -docdir |
--docdir |
--docdi |
--doc |
--do)
1102 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1103 docdir
=$ac_optarg ;;
1105 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1107 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1108 dvidir
=$ac_optarg ;;
1110 -enable-* |
--enable-*)
1111 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1114 as_fn_error $?
"invalid feature name: $ac_useropt"
1115 ac_useropt_orig
=$ac_useropt
1116 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1117 case $ac_user_opts in
1119 "enable_
$ac_useropt"
1121 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1122 ac_unrecognized_sep
=', ';;
1124 eval enable_
$ac_useropt=\
$ac_optarg ;;
1126 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1127 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1128 |
--exec |
--exe |
--ex)
1129 ac_prev
=exec_prefix
;;
1130 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1131 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1132 |
--exec=* |
--exe=* |
--ex=*)
1133 exec_prefix
=$ac_optarg ;;
1135 -gas |
--gas |
--ga |
--g)
1136 # Obsolete; use --with-gas.
1139 -help |
--help |
--hel |
--he |
-h)
1140 ac_init_help
=long
;;
1141 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1142 ac_init_help
=recursive
;;
1143 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1144 ac_init_help
=short
;;
1146 -host |
--host |
--hos |
--ho)
1147 ac_prev
=host_alias
;;
1148 -host=* |
--host=* |
--hos=* |
--ho=*)
1149 host_alias
=$ac_optarg ;;
1151 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1153 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1155 htmldir
=$ac_optarg ;;
1157 -includedir |
--includedir |
--includedi |
--included |
--include \
1158 |
--includ |
--inclu |
--incl |
--inc)
1159 ac_prev
=includedir
;;
1160 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1161 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1162 includedir
=$ac_optarg ;;
1164 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1166 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1167 infodir
=$ac_optarg ;;
1169 -libdir |
--libdir |
--libdi |
--libd)
1171 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1172 libdir
=$ac_optarg ;;
1174 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1175 |
--libexe |
--libex |
--libe)
1176 ac_prev
=libexecdir
;;
1177 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1178 |
--libexe=* |
--libex=* |
--libe=*)
1179 libexecdir
=$ac_optarg ;;
1181 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1182 ac_prev
=localedir
;;
1183 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1184 localedir
=$ac_optarg ;;
1186 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1187 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1188 ac_prev
=localstatedir
;;
1189 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1190 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1191 localstatedir
=$ac_optarg ;;
1193 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1195 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1196 mandir
=$ac_optarg ;;
1198 -nfp |
--nfp |
--nf)
1199 # Obsolete; use --without-fp.
1202 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1203 |
--no-cr |
--no-c |
-n)
1206 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1207 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1210 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1211 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1212 |
--oldin |
--oldi |
--old |
--ol |
--o)
1213 ac_prev
=oldincludedir
;;
1214 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1215 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1216 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1217 oldincludedir
=$ac_optarg ;;
1219 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1221 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1222 prefix
=$ac_optarg ;;
1224 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1225 |
--program-pre |
--program-pr |
--program-p)
1226 ac_prev
=program_prefix
;;
1227 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1228 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1229 program_prefix
=$ac_optarg ;;
1231 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1232 |
--program-suf |
--program-su |
--program-s)
1233 ac_prev
=program_suffix
;;
1234 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1235 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1236 program_suffix
=$ac_optarg ;;
1238 -program-transform-name |
--program-transform-name \
1239 |
--program-transform-nam |
--program-transform-na \
1240 |
--program-transform-n |
--program-transform- \
1241 |
--program-transform |
--program-transfor \
1242 |
--program-transfo |
--program-transf \
1243 |
--program-trans |
--program-tran \
1244 |
--progr-tra |
--program-tr |
--program-t)
1245 ac_prev
=program_transform_name
;;
1246 -program-transform-name=* |
--program-transform-name=* \
1247 |
--program-transform-nam=* |
--program-transform-na=* \
1248 |
--program-transform-n=* |
--program-transform-=* \
1249 |
--program-transform=* |
--program-transfor=* \
1250 |
--program-transfo=* |
--program-transf=* \
1251 |
--program-trans=* |
--program-tran=* \
1252 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1253 program_transform_name
=$ac_optarg ;;
1255 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1257 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1258 pdfdir
=$ac_optarg ;;
1260 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1262 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1265 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1266 |
-silent |
--silent |
--silen |
--sile |
--sil)
1269 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1271 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1273 sbindir
=$ac_optarg ;;
1275 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1276 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1277 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1279 ac_prev
=sharedstatedir
;;
1280 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1281 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1282 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1284 sharedstatedir
=$ac_optarg ;;
1286 -site |
--site |
--sit)
1288 -site=* |
--site=* |
--sit=*)
1291 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1293 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1294 srcdir
=$ac_optarg ;;
1296 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1297 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1298 ac_prev
=sysconfdir
;;
1299 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1300 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1301 sysconfdir
=$ac_optarg ;;
1303 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1304 ac_prev
=target_alias
;;
1305 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1306 target_alias
=$ac_optarg ;;
1308 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1311 -version |
--version |
--versio |
--versi |
--vers |
-V)
1312 ac_init_version
=: ;;
1315 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1316 # Reject names that are not valid shell variable names.
1317 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1318 as_fn_error $?
"invalid package name: $ac_useropt"
1319 ac_useropt_orig
=$ac_useropt
1320 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1321 case $ac_user_opts in
1325 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1326 ac_unrecognized_sep
=', ';;
1328 eval with_
$ac_useropt=\
$ac_optarg ;;
1330 -without-* |
--without-*)
1331 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1332 # Reject names that are not valid shell variable names.
1333 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1334 as_fn_error $?
"invalid package name: $ac_useropt"
1335 ac_useropt_orig
=$ac_useropt
1336 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1337 case $ac_user_opts in
1341 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1342 ac_unrecognized_sep
=', ';;
1344 eval with_
$ac_useropt=no
;;
1347 # Obsolete; use --with-x.
1350 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1351 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1352 ac_prev
=x_includes
;;
1353 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1354 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1355 x_includes
=$ac_optarg ;;
1357 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1358 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1359 ac_prev
=x_libraries
;;
1360 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1361 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1362 x_libraries
=$ac_optarg ;;
1364 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1365 Try \`$0 --help' for more information"
1369 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1370 # Reject names that are not valid shell variable names.
1371 case $ac_envvar in #(
1372 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1373 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1375 eval $ac_envvar=\
$ac_optarg
1376 export $ac_envvar ;;
1379 # FIXME: should be removed in autoconf 3.0.
1380 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1381 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1382 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1383 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1389 if test -n "$ac_prev"; then
1390 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1391 as_fn_error $?
"missing argument to $ac_option"
1394 if test -n "$ac_unrecognized_opts"; then
1395 case $enable_option_checking in
1397 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1398 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1402 # Check all directory arguments for consistency.
1403 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1404 datadir sysconfdir sharedstatedir localstatedir includedir \
1405 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1406 libdir localedir mandir
1408 eval ac_val
=\$
$ac_var
1409 # Remove trailing slashes.
1412 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1413 eval $ac_var=\
$ac_val;;
1415 # Be sure to have absolute directory names.
1417 [\\/$
]* | ?
:[\\/]* ) continue;;
1418 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1420 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1423 # There might be people who depend on the old broken behavior: `$host'
1424 # used to hold the argument of --host etc.
1425 # FIXME: To remove some day.
1428 target
=$target_alias
1430 # FIXME: To remove some day.
1431 if test "x$host_alias" != x
; then
1432 if test "x$build_alias" = x
; then
1433 cross_compiling
=maybe
1434 elif test "x$build_alias" != "x$host_alias"; then
1440 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1442 test "$silent" = yes && exec 6>/dev
/null
1445 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1446 ac_ls_di
=`ls -di .` &&
1447 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1448 as_fn_error $?
"working directory cannot be determined"
1449 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1450 as_fn_error $?
"pwd does not report name of working directory"
1453 # Find the source files, if location was not specified.
1454 if test -z "$srcdir"; then
1455 ac_srcdir_defaulted
=yes
1456 # Try the directory containing this script, then the parent directory.
1457 ac_confdir
=`$as_dirname -- "$as_myself" ||
1458 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1459 X"$as_myself" : 'X\(//\)[^/]' \| \
1460 X"$as_myself" : 'X\(//\)$' \| \
1461 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1462 $as_echo X"$as_myself" |
1463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1481 if test ! -r "$srcdir/$ac_unique_file"; then
1485 ac_srcdir_defaulted
=no
1487 if test ! -r "$srcdir/$ac_unique_file"; then
1488 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1489 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1491 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1493 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1495 # When building in place, set srcdir=.
1496 if test "$ac_abs_confdir" = "$ac_pwd"; then
1499 # Remove unnecessary trailing slashes from srcdir.
1500 # Double slashes in file names in object file debugging info
1501 # mess up M-x gdb in Emacs.
1503 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1505 for ac_var
in $ac_precious_vars; do
1506 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1507 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1508 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1509 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1513 # Report the --help message.
1515 if test "$ac_init_help" = "long"; then
1516 # Omit some internal or obsolete options to make the list less imposing.
1517 # This message is too long to be a string in the A/UX 3.1 sh.
1519 \`configure' configures this package to adapt to many kinds of systems.
1521 Usage: $0 [OPTION]... [VAR=VALUE]...
1523 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1524 VAR=VALUE. See below for descriptions of some of the useful variables.
1526 Defaults for the options are specified in brackets.
1529 -h, --help display this help and exit
1530 --help=short display options specific to this package
1531 --help=recursive display the short help of all the included packages
1532 -V, --version display version information and exit
1533 -q, --quiet, --silent do not print \`checking ...' messages
1534 --cache-file=FILE cache test results in FILE [disabled]
1535 -C, --config-cache alias for \`--cache-file=config.cache'
1536 -n, --no-create do not create output files
1537 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1539 Installation directories:
1540 --prefix=PREFIX install architecture-independent files in PREFIX
1541 [$ac_default_prefix]
1542 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1545 By default, \`make install' will install all the files in
1546 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1547 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1548 for instance \`--prefix=\$HOME'.
1550 For better control, use the options below.
1552 Fine tuning of the installation directories:
1553 --bindir=DIR user executables [EPREFIX/bin]
1554 --sbindir=DIR system admin executables [EPREFIX/sbin]
1555 --libexecdir=DIR program executables [EPREFIX/libexec]
1556 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1557 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1558 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1559 --libdir=DIR object code libraries [EPREFIX/lib]
1560 --includedir=DIR C header files [PREFIX/include]
1561 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1562 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1563 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1564 --infodir=DIR info documentation [DATAROOTDIR/info]
1565 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1566 --mandir=DIR man documentation [DATAROOTDIR/man]
1567 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1568 --htmldir=DIR html documentation [DOCDIR]
1569 --dvidir=DIR dvi documentation [DOCDIR]
1570 --pdfdir=DIR pdf documentation [DOCDIR]
1571 --psdir=DIR ps documentation [DOCDIR]
1577 --x-includes=DIR X include files are
in DIR
1578 --x-libraries=DIR X library files are
in DIR
1581 --build=BUILD configure
for building on BUILD
[guessed
]
1582 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1586 if test -n "$ac_init_help"; then
1591 --disable-option-checking ignore unrecognized
--enable/--with options
1592 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1593 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1594 --disable-libpng-config disable libpng-config
test and configuration
1595 --enable-lto=yes|no Enable link
time optimizations
if the target
1596 compiler supports them
(default
=no
)
1597 --enable-coverage=yes|no
1598 Enable coverage instrumentation
if the target
1599 compiler supports it
(default
=no
)
1600 --enable-build-type=TYPE
1601 Select the build
type. Available types are
:
1602 personal
, nightly
, snapshot
, milestone
, release. Do
1603 NOT use this option unless you know what you are
1604 doing
! (default
=personal
)
1605 --enable-debug=list Enable different types of debug. Commas or
1606 whitespaces can be used to separate the items
in the
1607 list. Available types of debug are
: all
, none
,
1608 messages
, stack
, mungwall
, modules
, symbols. If no
1609 list is provided
then "all" is assumed.
1611 --enable-distcc Use distcc as a front end to the compiler
1613 --enable-ccache Use ccache as a front end to the compiler
1615 --enable-target-variant=NAME
1616 Enable a specific target variant
(default
=none
)
1617 --enable-amigaos-compliance=VERSION
1618 Enforce userspace AmigaOS compliance to a specific
1619 KickStart version
(default
=none
).
1620 --disable-crosstools Do not build cross-compiler toolchain
1621 --enable-objc Enable Objectve-C support
(default
=no
)
1622 --enable-java Enable Java support
(default
=no
)
1623 --enable-includes=dir Alternative system include directory
1624 --enable-palm-debug-hack
1625 Enable palm debug output hack
in palm native
1627 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1628 --enable-nesting-supervisor
1629 Enable nesting supervisor support
in unix
1631 --disable-mmu Disable MMU support
(default
=enabled
)
1632 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1633 --enable-x11-shm use X11 shared memory
(default
=auto
)
1634 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1635 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1636 --disable-sdltest Do not try to compile and run a
test SDL program
1637 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1640 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1641 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1642 --with-c-compiler=VERSION
1643 Use specified c compiler
for building AROS
1644 --with-cxx-compiler=VERSION
1645 Use specified c
++ compiler building AROS
1646 --with-toolchain=family Which toolchain family to crosscompile with
1648 --with-kernel-gcc-version=VERSION
1649 Use gcc-VERSION
for building bootstrap
1650 --with-optimization=FLAGS
1651 Use optimization flags FLAGS
(e.g
1652 --with-optimization=-O2).
1653 --with-paranoia=(yes|no|FLAGS
)
1654 Specific compiler warning FLAGS to
enable for
1655 paranoia builds
(default
=-Wall -Werror)
1656 --with-xcode=PATH Specify XCode path
for iOS targets
1657 (default
=/Developer
).
1658 --with-sdk-version=VERSION
1659 Use iOS SDK version VERSION
(default
=4.1).
1660 --with-sdk=PATH Specify Android SDK path
1661 (default
=$default_android_sdk).
1662 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1663 --with-sdk-version=LEVEL
1664 Use Android SDK
for API LEVEL
(default
=12).
1665 --with-ndk-version=LEVEL
1666 Use Android NDK
for API LEVEL
(default
=9).
1667 --with-apk-version=(release|debug
)
1668 Which version of AROSBootstrap.apk to compile.
1669 Release version needs key
for signing
, debug version
1670 will only run
in emulator.
(default
=release
)
1671 --with-kernel-toolchain-prefix=...
1672 Specify crosscompile toolchain prefix
for kernel
1674 --with-elf-toolchain-prefix=...
1675 Specify crosscompile toolchain prefix to wrap
for
1677 --with-aros-toolchain=PREFIX
1678 Specify prebuilt AROS toolchain. Use
yes for default
1680 --with-aros-toolchain-install=DIR
1681 Where to
install or search
for cross tools binaries
1682 --with-binutils-version=VERSION
1683 Use binutils-VERSION
for building AROS
1684 --with-gcc-version=VERSION
1685 Compile gcc-VERSION
for AROS
1686 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1687 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1688 --with-float=<spec
> Specify floating point ABI
1689 (default
=$gcc_default_float_abi).
1690 --with-portssources=DIR Where to download sourcecode
for external ports
1691 --with-bootloader=NAME Use a specific bootloader
1692 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1693 --with-theme=NAME Use a specific GUI Theme
1694 --with-resolution=XRESxYRESxDEPTH
1695 Default resolution of the initial WorkbenchScreen
1696 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1697 --with-x use the X Window System
1698 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1699 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1701 Some influential environment variables
:
1702 CXX C
++ compiler
command
1703 CXXFLAGS C
++ compiler flags
1704 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1705 nonstandard directory
<lib dir
>
1706 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1707 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1708 you have headers
in a nonstandard directory
<include dir
>
1709 CC C compiler
command
1710 CFLAGS C compiler flags
1712 PYTHON the Python interpreter
1713 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1715 Use these variables to override the choices made by
`configure' or to help
1716 it to find libraries and programs with nonstandard names/locations.
1718 Report bugs to the package provider.
1723 if test "$ac_init_help" = "recursive"; then
1724 # If there are subdirs, report their specific --help.
1725 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1726 test -d "$ac_dir" ||
1727 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1732 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1734 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1735 # A ".." for each directory in $ac_dir_suffix.
1736 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1737 case $ac_top_builddir_sub in
1738 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1739 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1742 ac_abs_top_builddir=$ac_pwd
1743 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1744 # for backward compatibility:
1745 ac_top_builddir=$ac_top_build_prefix
1748 .) # We are building in place.
1750 ac_top_srcdir=$ac_top_builddir_sub
1751 ac_abs_top_srcdir=$ac_pwd ;;
1752 [\\/]* | ?:[\\/]* ) # Absolute name.
1753 ac_srcdir=$srcdir$ac_dir_suffix;
1754 ac_top_srcdir=$srcdir
1755 ac_abs_top_srcdir=$srcdir ;;
1757 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1758 ac_top_srcdir=$ac_top_build_prefix$srcdir
1759 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1761 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1763 cd "$ac_dir" || { ac_status=$?; continue; }
1764 # Check for guested configure.
1765 if test -f "$ac_srcdir/configure.gnu"; then
1767 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1768 elif test -f "$ac_srcdir/configure"; then
1770 $SHELL "$ac_srcdir/configure" --help=recursive
1772 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1774 cd "$ac_pwd" || { ac_status=$?; break; }
1778 test -n "$ac_init_help" && exit $ac_status
1779 if $ac_init_version; then
1782 generated by GNU Autoconf 2.69
1784 Copyright (C) 2012 Free Software Foundation, Inc.
1785 This configure script is free software; the Free Software Foundation
1786 gives unlimited permission to copy, distribute and modify it.
1791 ## ------------------------ ##
1792 ## Autoconf initialization. ##
1793 ## ------------------------ ##
1795 # ac_fn_cxx_try_compile LINENO
1796 # ----------------------------
1797 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1798 ac_fn_cxx_try_compile ()
1800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801 rm -f conftest.$ac_objext
1802 if { { ac_try="$ac_compile"
1804 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1805 *) ac_try_echo
=$ac_try;;
1807 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1808 $as_echo "$ac_try_echo"; } >&5
1809 (eval "$ac_compile") 2>conftest.err
1811 if test -s conftest.err
; then
1812 grep -v '^ *+' conftest.err
>conftest.er1
1813 cat conftest.er1
>&5
1814 mv -f conftest.er1 conftest.err
1816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1817 test $ac_status = 0; } && {
1818 test -z "$ac_cxx_werror_flag" ||
1819 test ! -s conftest.err
1820 } && test -s conftest.
$ac_objext; then :
1823 $as_echo "$as_me: failed program was:" >&5
1824 sed 's/^/| /' conftest.
$ac_ext >&5
1828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829 as_fn_set_status
$ac_retval
1831 } # ac_fn_cxx_try_compile
1833 # ac_fn_c_try_compile LINENO
1834 # --------------------------
1835 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1836 ac_fn_c_try_compile
()
1838 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1839 rm -f conftest.
$ac_objext
1840 if { { ac_try
="$ac_compile"
1842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1843 *) ac_try_echo=$ac_try;;
1845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1846 $as_echo "$ac_try_echo"; } >&5
1847 (eval "$ac_compile") 2>conftest.err
1849 if test -s conftest.err; then
1850 grep -v '^ *+' conftest.err >conftest.er1
1851 cat conftest.er1 >&5
1852 mv -f conftest.er1 conftest.err
1854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1855 test $ac_status = 0; } && {
1856 test -z "$ac_c_werror_flag" ||
1857 test ! -s conftest.err
1858 } && test -s conftest.$ac_objext; then :
1861 $as_echo "$as_me: failed program was:" >&5
1862 sed 's/^/| /' conftest.$ac_ext >&5
1866 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1867 as_fn_set_status $ac_retval
1869 } # ac_fn_c_try_compile
1871 # ac_fn_c_try_cpp LINENO
1872 # ----------------------
1873 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1877 if { { ac_try="$ac_cpp conftest.$ac_ext"
1879 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1880 *) ac_try_echo
=$ac_try;;
1882 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1883 $as_echo "$ac_try_echo"; } >&5
1884 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1886 if test -s conftest.err
; then
1887 grep -v '^ *+' conftest.err
>conftest.er1
1888 cat conftest.er1
>&5
1889 mv -f conftest.er1 conftest.err
1891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1892 test $ac_status = 0; } > conftest.i
&& {
1893 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1894 test ! -s conftest.err
1898 $as_echo "$as_me: failed program was:" >&5
1899 sed 's/^/| /' conftest.
$ac_ext >&5
1903 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1904 as_fn_set_status
$ac_retval
1908 # ac_fn_c_try_link LINENO
1909 # -----------------------
1910 # Try to link conftest.$ac_ext, and return whether this succeeded.
1913 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1914 rm -f conftest.
$ac_objext conftest
$ac_exeext
1915 if { { ac_try
="$ac_link"
1917 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1918 *) ac_try_echo=$ac_try;;
1920 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1921 $as_echo "$ac_try_echo"; } >&5
1922 (eval "$ac_link") 2>conftest.err
1924 if test -s conftest.err; then
1925 grep -v '^ *+' conftest.err >conftest.er1
1926 cat conftest.er1 >&5
1927 mv -f conftest.er1 conftest.err
1929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1930 test $ac_status = 0; } && {
1931 test -z "$ac_c_werror_flag" ||
1932 test ! -s conftest.err
1933 } && test -s conftest$ac_exeext && {
1934 test "$cross_compiling" = yes ||
1935 test -x conftest$ac_exeext
1939 $as_echo "$as_me: failed program was:" >&5
1940 sed 's/^/| /' conftest.$ac_ext >&5
1944 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1945 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1946 # interfere with the next link command; also delete a directory that is
1947 # left behind by Apple's compiler. We do this before executing the actions.
1948 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1950 as_fn_set_status $ac_retval
1952 } # ac_fn_c_try_link
1954 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1955 # -------------------------------------------------------
1956 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1957 # the include files in INCLUDES and setting the cache variable VAR
1959 ac_fn_c_check_header_mongrel ()
1961 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1962 if eval \${$3+:} false; then :
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1964 $as_echo_n "checking for $2... " >&6; }
1965 if eval \${$3+:} false; then :
1966 $as_echo_n "(cached) " >&6
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970 $as_echo "$ac_res" >&6; }
1972 # Is the header compilable?
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1974 $as_echo_n "checking $2 usability... " >&6; }
1975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1976 /* end confdefs.h. */
1980 if ac_fn_c_try_compile "$LINENO"; then :
1981 ac_header_compiler=yes
1983 ac_header_compiler=no
1985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1987 $as_echo "$ac_header_compiler" >&6; }
1989 # Is the header present?
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1991 $as_echo_n "checking $2 presence... " >&6; }
1992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1993 /* end confdefs.h. */
1996 if ac_fn_c_try_cpp "$LINENO"; then :
1997 ac_header_preproc=yes
1999 ac_header_preproc=no
2001 rm -f conftest.err conftest.i conftest.$ac_ext
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2003 $as_echo "$ac_header_preproc" >&6; }
2005 # So? What about this header?
2006 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2009 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2011 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2015 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2017 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2019 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2021 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2023 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2027 $as_echo_n "checking for $2... " >&6; }
2028 if eval \${$3+:} false; then :
2029 $as_echo_n "(cached) " >&6
2031 eval "$3=\$ac_header_compiler"
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2035 $as_echo "$ac_res" >&6; }
2037 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2039 } # ac_fn_c_check_header_mongrel
2041 # ac_fn_c_try_run LINENO
2042 # ----------------------
2043 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2044 # that executables *can* be run.
2047 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2048 if { { ac_try="$ac_link"
2050 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2051 *) ac_try_echo
=$ac_try;;
2053 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2054 $as_echo "$ac_try_echo"; } >&5
2055 (eval "$ac_link") 2>&5
2057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2058 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2059 { { case "(($ac_try" in
2060 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2061 *) ac_try_echo=$ac_try;;
2063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2064 $as_echo "$ac_try_echo"; } >&5
2065 (eval "$ac_try") 2>&5
2067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2068 test $ac_status = 0; }; }; then :
2071 $as_echo "$as_me: program exited with status $ac_status" >&5
2072 $as_echo "$as_me: failed program was:" >&5
2073 sed 's/^/| /' conftest.$ac_ext >&5
2075 ac_retval=$ac_status
2077 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2078 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2079 as_fn_set_status $ac_retval
2083 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2084 # -------------------------------------------------------
2085 # Tests whether HEADER exists and can be compiled using the include files in
2086 # INCLUDES, setting the cache variable VAR accordingly.
2087 ac_fn_c_check_header_compile ()
2089 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2091 $as_echo_n "checking for $2... " >&6; }
2092 if eval \${$3+:} false; then :
2093 $as_echo_n "(cached) " >&6
2095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2096 /* end confdefs.h. */
2100 if ac_fn_c_try_compile "$LINENO"; then :
2105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2109 $as_echo "$ac_res" >&6; }
2110 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2112 } # ac_fn_c_check_header_compile
2114 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2115 # ----------------------------------------------------
2116 # Tries to find if the field MEMBER exists in type AGGR, after including
2117 # INCLUDES, setting cache variable VAR accordingly.
2118 ac_fn_c_check_member ()
2120 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2122 $as_echo_n "checking for $2.$3... " >&6; }
2123 if eval \${$4+:} false; then :
2124 $as_echo_n "(cached) " >&6
2126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2127 /* end confdefs.h. */
2139 if ac_fn_c_try_compile "$LINENO"; then :
2142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2143 /* end confdefs.h. */
2149 if (sizeof ac_aggr.$3)
2155 if ac_fn_c_try_compile "$LINENO"; then :
2160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2166 $as_echo "$ac_res" >&6; }
2167 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2169 } # ac_fn_c_check_member
2171 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2172 # ---------------------------------------------
2173 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2175 ac_fn_c_check_decl ()
2177 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2178 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2179 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2181 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2182 if eval \${$3+:} false; then :
2183 $as_echo_n "(cached) " >&6
2185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2186 /* end confdefs.h. */
2191 #ifndef $as_decl_name
2193 (void) $as_decl_use;
2195 (void) $as_decl_name;
2203 if ac_fn_c_try_compile "$LINENO"; then :
2208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2212 $as_echo "$ac_res" >&6; }
2213 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2215 } # ac_fn_c_check_decl
2217 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2218 # -------------------------------------------
2219 # Tests whether TYPE exists after having included INCLUDES, setting cache
2220 # variable VAR accordingly.
2221 ac_fn_c_check_type ()
2223 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2225 $as_echo_n "checking for $2... " >&6; }
2226 if eval \${$3+:} false; then :
2227 $as_echo_n "(cached) " >&6
2230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2231 /* end confdefs.h. */
2242 if ac_fn_c_try_compile "$LINENO"; then :
2243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2244 /* end confdefs.h. */
2255 if ac_fn_c_try_compile "$LINENO"; then :
2260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2266 $as_echo "$ac_res" >&6; }
2267 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2269 } # ac_fn_c_check_type
2271 # ac_fn_c_check_func LINENO FUNC VAR
2272 # ----------------------------------
2273 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2274 ac_fn_c_check_func ()
2276 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2278 $as_echo_n "checking for $2... " >&6; }
2279 if eval \${$3+:} false; then :
2280 $as_echo_n "(cached) " >&6
2282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2283 /* end confdefs.h. */
2284 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2286 #define $2 innocuous_$2
2288 /* System header to define __stub macros and hopefully few prototypes,
2289 which can conflict with char $2 (); below.
2290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2291 <limits.h> exists even on freestanding compilers. */
2294 # include <limits.h>
2296 # include <assert.h>
2301 /* Override any GCC internal prototype to avoid an error.
2302 Use char because int might match the return type of a GCC
2303 builtin and then its argument prototype would still apply. */
2308 /* The GNU C library defines this for functions which it implements
2309 to always fail with ENOSYS. Some functions are actually named
2310 something starting with __ and the normal name is an alias. */
2311 #if defined __stub_$2 || defined __stub___$2
2323 if ac_fn_c_try_link "$LINENO"; then :
2328 rm -f core conftest.err conftest.$ac_objext \
2329 conftest$ac_exeext conftest.$ac_ext
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2333 $as_echo "$ac_res" >&6; }
2334 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2336 } # ac_fn_c_check_func
2337 cat >config.log <<_ACEOF
2338 This file contains any messages produced by compilers while
2339 running configure, to aid debugging if configure makes a mistake.
2341 It was created by $as_me, which was
2342 generated by GNU Autoconf 2.69. Invocation command line was
2354 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2355 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2356 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2357 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2358 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2360 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2361 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2363 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2364 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2365 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2366 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2367 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2368 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2369 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2377 test -z "$as_dir" && as_dir=.
2378 $as_echo "PATH: $as_dir"
2394 # Keep a trace of the command line.
2395 # Strip out --no-create and --no-recursion so they do not pile up.
2396 # Strip out --silent because we don't want to record it for future runs.
2397 # Also quote any args containing shell meta-characters.
2398 # Make two passes to allow for proper duplicate-argument suppression.
2402 ac_must_keep_next=false
2408 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2409 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2410 | -silent | --silent | --silen | --sile | --sil)
2413 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2416 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2418 as_fn_append ac_configure_args1 " '$ac_arg'"
2419 if test $ac_must_keep_next = true; then
2420 ac_must_keep_next=false # Got value, back to normal.
2423 *=* | --config-cache | -C | -disable-* | --disable-* \
2424 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2425 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2426 | -with-* | --with-* | -without-* | --without-* | --x)
2427 case "$ac_configure_args0 " in
2428 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2431 -* ) ac_must_keep_next=true ;;
2434 as_fn_append ac_configure_args " '$ac_arg'"
2439 { ac_configure_args0=; unset ac_configure_args0;}
2440 { ac_configure_args1=; unset ac_configure_args1;}
2442 # When interrupted or exit'd, cleanup temporary files, and complete
2443 # config.log. We remove comments because anyway the quotes in there
2444 # would cause problems or look ugly.
2445 # WARNING: Use '\'' to represent an apostrophe within the trap.
2446 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2447 trap 'exit_status=$?
2448 # Save into config.log some information that might help in debugging.
2452 $as_echo "## ---------------- ##
2453 ## Cache variables. ##
2454 ## ---------------- ##"
2456 # The following way of writing the cache mishandles newlines in values,
2458 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2459 eval ac_val=\$$ac_var
2463 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2464 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2467 _ | IFS | as_nl) ;; #(
2468 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2469 *) { eval $ac_var=; unset $ac_var;} ;;
2474 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2475 *${as_nl}ac_space=\ *)
2477 "s/'\''/'\''\\\\'\'''\''/g;
2478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2481 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2488 $as_echo "## ----------------- ##
2489 ## Output variables. ##
2490 ## ----------------- ##"
2492 for ac_var in $ac_subst_vars
2494 eval ac_val=\$$ac_var
2496 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2498 $as_echo "$ac_var='\''$ac_val'\''"
2502 if test -n "$ac_subst_files"; then
2503 $as_echo "## ------------------- ##
2504 ## File substitutions. ##
2505 ## ------------------- ##"
2507 for ac_var in $ac_subst_files
2509 eval ac_val=\$$ac_var
2511 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2513 $as_echo "$ac_var='\''$ac_val'\''"
2518 if test -s confdefs.h; then
2519 $as_echo "## ----------- ##
2526 test "$ac_signal" != 0 &&
2527 $as_echo "$as_me: caught signal $ac_signal"
2528 $as_echo "$as_me: exit $exit_status"
2530 rm -f core *.core core.conftest.* &&
2531 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2534 for ac_signal in 1 2 13 15; do
2535 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2539 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2540 rm -f -r conftest* confdefs.h
2542 $as_echo "/* confdefs.h */" > confdefs.h
2544 # Predefined preprocessor variables.
2546 cat >>confdefs.h <<_ACEOF
2547 #define PACKAGE_NAME "$PACKAGE_NAME"
2550 cat >>confdefs.h <<_ACEOF
2551 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2554 cat >>confdefs.h <<_ACEOF
2555 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2558 cat >>confdefs.h <<_ACEOF
2559 #define PACKAGE_STRING "$PACKAGE_STRING"
2562 cat >>confdefs.h <<_ACEOF
2563 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2566 cat >>confdefs.h <<_ACEOF
2567 #define PACKAGE_URL "$PACKAGE_URL"
2571 # Let the site file select an alternate cache file if it wants to.
2572 # Prefer an explicitly selected file to automatically selected ones.
2575 if test -n "$CONFIG_SITE"; then
2576 # We do not want a PATH search for config.site.
2577 case $CONFIG_SITE in #((
2578 -*) ac_site_file1=./$CONFIG_SITE;;
2579 */*) ac_site_file1=$CONFIG_SITE;;
2580 *) ac_site_file1=./$CONFIG_SITE;;
2582 elif test "x$prefix" != xNONE; then
2583 ac_site_file1=$prefix/share/config.site
2584 ac_site_file2=$prefix/etc/config.site
2586 ac_site_file1=$ac_default_prefix/share/config.site
2587 ac_site_file2=$ac_default_prefix/etc/config.site
2589 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2591 test "x$ac_site_file" = xNONE && continue
2592 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2594 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2595 sed 's/^/| /' "$ac_site_file" >&5
2597 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2599 as_fn_error $? "failed to load site
script $ac_site_file
2600 See \
`config.log' for more details" "$LINENO" 5; }
2604 if test -r "$cache_file"; then
2605 # Some versions of bash will fail to source /dev/null (special files
2606 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2607 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2609 $as_echo "$as_me: loading cache $cache_file" >&6;}
2611 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2612 *) . "./$cache_file";;
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2617 $as_echo "$as_me: creating cache $cache_file" >&6;}
2621 as_fn_append ac_header_list " stdlib.h"
2622 as_fn_append ac_header_list " unistd.h"
2623 as_fn_append ac_header_list " sys/param.h"
2624 # Check that the precious variables saved in the cache have kept the same
2626 ac_cache_corrupted=false
2627 for ac_var in $ac_precious_vars; do
2628 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2629 eval ac_new_set=\$ac_env_${ac_var}_set
2630 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2631 eval ac_new_val=\$ac_env_${ac_var}_value
2632 case $ac_old_set,$ac_new_set in
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2635 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2636 ac_cache_corrupted=: ;;
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2639 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2640 ac_cache_corrupted=: ;;
2643 if test "x$ac_old_val" != "x$ac_new_val"; then
2644 # differences in whitespace do not lead to failure.
2645 ac_old_val_w=`echo x
$ac_old_val`
2646 ac_new_val_w=`echo x
$ac_new_val`
2647 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2649 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2650 ac_cache_corrupted=:
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2653 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2654 eval $ac_var=\$ac_old_val
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2657 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2659 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2662 # Pass precious variables to config.status.
2663 if test "$ac_new_set" = set; then
2665 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2666 *) ac_arg=$ac_var=$ac_new_val ;;
2668 case " $ac_configure_args " in
2669 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2670 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2674 if $ac_cache_corrupted; then
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2676 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2678 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2679 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2681 ## -------------------- ##
2682 ## Main body of script. ##
2683 ## -------------------- ##
2686 ac_cpp='$CPP $CPPFLAGS'
2687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2694 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2695 if test -f "$ac_dir/install-sh"; then
2697 ac_install_sh="$ac_aux_dir/install-sh -c"
2699 elif test -f "$ac_dir/install.sh"; then
2701 ac_install_sh="$ac_aux_dir/install.sh -c"
2703 elif test -f "$ac_dir/shtool"; then
2705 ac_install_sh="$ac_aux_dir/shtool install -c"
2709 if test -z "$ac_aux_dir"; then
2710 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2713 # These three variables are undocumented and unsupported,
2714 # and are intended to be withdrawn in a future Autoconf release.
2715 # They can cause serious problems if a builder's source tree is in a directory
2716 # whose full name contains unusual characters.
2717 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2718 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2719 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2723 # Check what host we are running on.
2724 # If a target is not suggested, we use this one.
2725 # Note that what we call a target, Autoconf calls a host.
2726 # Make sure we can run config.sub.
2727 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2728 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2731 $as_echo_n "checking build system type... " >&6; }
2732 if ${ac_cv_build+:} false; then :
2733 $as_echo_n "(cached) " >&6
2735 ac_build_alias=$build_alias
2736 test "x$ac_build_alias" = x &&
2737 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2738 test "x$ac_build_alias" = x &&
2739 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2740 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2741 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2745 $as_echo "$ac_cv_build" >&6; }
2746 case $ac_cv_build in
2748 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2751 ac_save_IFS=$IFS; IFS='-'
2757 # Remember, the first character of IFS is used to create $*,
2758 # except with old shells:
2761 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2765 $as_echo_n "checking host system type... " >&6; }
2766 if ${ac_cv_host+:} false; then :
2767 $as_echo_n "(cached) " >&6
2769 if test "x$host_alias" = x; then
2770 ac_cv_host=$ac_cv_build
2772 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2773 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2778 $as_echo "$ac_cv_host" >&6; }
2781 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2784 ac_save_IFS=$IFS; IFS='-'
2790 # Remember, the first character of IFS is used to create $*,
2791 # except with old shells:
2794 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2798 # Default versions for the gnu tools we build
2799 default_gcc_version="4.6.4"
2800 default_binutils_version="2.23.2"
2801 default_grub2_version="2.02"
2802 target_grub2_version=$default_grub2_version
2804 # The AROS target is slightly different to the normal GNU style
2805 # format. We don't have the middle part, and we reverse the order
2806 # of the $(CPU) and $(OS) bits.
2808 # Don't strip the version of the target yet, it might be
2809 # useful on some systems.
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2812 $as_echo_n "checking for AROS style target... " >&6; }
2814 if test "$target" = "NONE" ; then
2815 target=$host_os-$host_cpu
2817 if test "$target" = "" ; then
2818 target=$host_os-$host_cpu
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2822 $as_echo "$target" >&6; }
2824 if test "$host_os" = "mingw32" ; then
2828 # Don't know where else to put this...
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2830 $as_echo_n "checking building AROS in... " >&6; }
2831 AROS_BUILDDIR=`${PWDCMD-pwd}`
2832 AROS_BUILDDIR_UNIX=${PWD}
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2834 $as_echo "$AROS_BUILDDIR" >&6; }
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2837 $as_echo_n "checking AROS source in... " >&6; }
2838 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2841 $as_echo "$SRCDIR" >&6; }
2843 # Parse the target field into something useful.
2845 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2846 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2849 # Some debug output, to be removed again.
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2851 $as_echo_n "checking for target system (debug output)... " >&6; }
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2853 $as_echo "$target_os" >&6; }
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2855 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2857 $as_echo "$target_cpu" >&6; }
2859 aros_nominal_width=800
2860 aros_nominal_height=600
2861 aros_nominal_depth=4
2864 default_c_compilers="gcc clang cc"
2866 # Check whether --with-c-compiler was given.
2867 if test "${with_c_compiler+set}" = set; then :
2868 withval=$with_c_compiler; use_c_compiler="$withval"
2873 if test "$use_c_compiler" = ""; then
2874 host_c_compilers="$default_c_compilers"
2876 host_c_compilers="$use_c_compiler"
2879 default_cxx_compilers="g++ clang++ c++"
2881 # Check whether --with-cxx-compiler was given.
2882 if test "${with_cxx_compiler+set}" = set; then :
2883 withval=$with_cxx_compiler; use_cxx_compiler="$withval"
2888 if test "$use_cxx_compiler" = ""; then
2889 host_cxx_compilers="$default_cxx_compilers"
2891 host_cxx_compilers="$use_cxx_compiler"
2895 # The first step is to find the host binaries.
2896 # Check for a compiler.
2897 # Due to a bug in autoconf check for c++ compiler first.
2898 # For mor info see, http://osdir.com/ml/bug-autoconf-gnu/2010-05/msg00001.html.
2900 ac_cpp='$CXXCPP $CPPFLAGS'
2901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2904 if test -z "$CXX"; then
2905 if test -n "$CCC"; then
2908 if test -n "$ac_tool_prefix"; then
2909 for ac_prog in ${host_cxx_compilers}
2911 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2912 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2914 $as_echo_n "checking for $ac_word... " >&6; }
2915 if ${ac_cv_prog_CXX+:} false; then :
2916 $as_echo_n "(cached) " >&6
2918 if test -n "$CXX"; then
2919 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2925 test -z "$as_dir" && as_dir=.
2926 for ac_exec_ext in '' $ac_executable_extensions; do
2927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2928 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2939 if test -n "$CXX"; then
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2941 $as_echo "$CXX" >&6; }
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2944 $as_echo "no" >&6; }
2948 test -n "$CXX" && break
2951 if test -z "$CXX"; then
2953 for ac_prog in ${host_cxx_compilers}
2955 # Extract the first word of "$ac_prog", so it can be a program name with args.
2956 set dummy $ac_prog; ac_word=$2
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2958 $as_echo_n "checking for $ac_word... " >&6; }
2959 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2960 $as_echo_n "(cached) " >&6
2962 if test -n "$ac_ct_CXX"; then
2963 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2969 test -z "$as_dir" && as_dir=.
2970 for ac_exec_ext in '' $ac_executable_extensions; do
2971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2972 ac_cv_prog_ac_ct_CXX="$ac_prog"
2973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2982 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2983 if test -n "$ac_ct_CXX"; then
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2985 $as_echo "$ac_ct_CXX" >&6; }
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2988 $as_echo "no" >&6; }
2992 test -n "$ac_ct_CXX" && break
2995 if test "x$ac_ct_CXX" = x; then
2998 case $cross_compiling:$ac_tool_warned in
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3002 ac_tool_warned=yes ;;
3010 # Provide some information about the compiler.
3011 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3014 for ac_option in --version -v -V -qversion; do
3015 { { ac_try="$ac_compiler $ac_option >&5"
3017 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3018 *) ac_try_echo
=$ac_try;;
3020 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3021 $as_echo "$ac_try_echo"; } >&5
3022 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3024 if test -s conftest.err
; then
3026 ... rest of stderr output deleted ...
3027 10q' conftest.err
>conftest.er1
3028 cat conftest.er1
>&5
3030 rm -f conftest.er1 conftest.err
3031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3032 test $ac_status = 0; }
3035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3036 /* end confdefs.h. */
3046 ac_clean_files_save
=$ac_clean_files
3047 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3048 # Try to create an executable without -o first, disregard a.out.
3049 # It will help us diagnose broken compilers, and finding out an intuition
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3052 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3053 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3055 # The possible output files:
3056 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3059 for ac_file
in $ac_files
3062 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3063 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3068 if { { ac_try
="$ac_link_default"
3070 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3071 *) ac_try_echo=$ac_try;;
3073 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3074 $as_echo "$ac_try_echo"; } >&5
3075 (eval "$ac_link_default") 2>&5
3077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3078 test $ac_status = 0; }; then :
3079 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3080 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3081 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3082 # so that the user can short-circuit this test for compilers unknown to
3084 for ac_file in $ac_files ''
3086 test -f "$ac_file" || continue
3088 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3091 # We found the default executable, but exeext='' is most
3095 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3097 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3099 # We set ac_cv_exeext here because the later test for it is not
3100 # safe: cross compilers may not add the suffix if given an `-o'
3101 # argument, so we may need to know it at that point already.
3102 # Even if this section looks crufty: it has the advantage of
3109 test "$ac_cv_exeext" = no && ac_cv_exeext=
3114 if test -z "$ac_file"; then :
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3116 $as_echo "no" >&6; }
3117 $as_echo "$as_me: failed program was:" >&5
3118 sed 's
/^
/|
/' conftest.$ac_ext >&5
3120 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3121 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3122 as_fn_error 77 "C++ compiler cannot create executables
3123 See \`config.log
' for more details" "$LINENO" 5; }
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3126 $as_echo "yes" >&6; }
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3129 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3131 $as_echo "$ac_file" >&6; }
3132 ac_exeext=$ac_cv_exeext
3134 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3135 ac_clean_files=$ac_clean_files_save
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3137 $as_echo_n "checking for suffix of executables... " >&6; }
3138 if { { ac_try="$ac_link"
3140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3141 *) ac_try_echo=$ac_try;;
3143 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3144 $as_echo "$ac_try_echo"; } >&5
3145 (eval "$ac_link") 2>&5
3147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3148 test $ac_status = 0; }; then :
3149 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3150 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3151 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3153 for ac_file
in conftest.exe conftest conftest.
*; do
3154 test -f "$ac_file" ||
continue
3156 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3157 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3163 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3165 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3166 See \`config.log' for more details" "$LINENO" 5; }
3168 rm -f conftest conftest
$ac_cv_exeext
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3170 $as_echo "$ac_cv_exeext" >&6; }
3172 rm -f conftest.
$ac_ext
3173 EXEEXT
=$ac_cv_exeext
3175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3176 /* end confdefs.h. */
3181 FILE *f = fopen ("conftest.out", "w");
3182 return ferror (f) || fclose (f) != 0;
3188 ac_clean_files
="$ac_clean_files conftest.out"
3189 # Check that the compiler produces executables we can run. If not, either
3190 # the compiler is broken, or we cross compile.
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3192 $as_echo_n "checking whether we are cross compiling... " >&6; }
3193 if test "$cross_compiling" != yes; then
3194 { { ac_try
="$ac_link"
3196 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3197 *) ac_try_echo=$ac_try;;
3199 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3200 $as_echo "$ac_try_echo"; } >&5
3201 (eval "$ac_link") 2>&5
3203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3204 test $ac_status = 0; }
3205 if { ac_try='./conftest$ac_cv_exeext'
3206 { { case "(($ac_try" in
3207 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3208 *) ac_try_echo
=$ac_try;;
3210 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3211 $as_echo "$ac_try_echo"; } >&5
3212 (eval "$ac_try") 2>&5
3214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3215 test $ac_status = 0; }; }; then
3218 if test "$cross_compiling" = maybe
; then
3221 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3223 as_fn_error $?
"cannot run C++ compiled programs.
3224 If you meant to cross compile, use \`--host'.
3225 See \`config.log' for more details" "$LINENO" 5; }
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3230 $as_echo "$cross_compiling" >&6; }
3232 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3233 ac_clean_files
=$ac_clean_files_save
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3235 $as_echo_n "checking for suffix of object files... " >&6; }
3236 if ${ac_cv_objext+:} false
; then :
3237 $as_echo_n "(cached) " >&6
3239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3240 /* end confdefs.h. */
3250 rm -f conftest.o conftest.obj
3251 if { { ac_try
="$ac_compile"
3253 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3254 *) ac_try_echo=$ac_try;;
3256 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3257 $as_echo "$ac_try_echo"; } >&5
3258 (eval "$ac_compile") 2>&5
3260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3261 test $ac_status = 0; }; then :
3262 for ac_file in conftest.o conftest.obj conftest.*; do
3263 test -f "$ac_file" || continue;
3265 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3266 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3271 $as_echo "$as_me: failed program was:" >&5
3272 sed 's/^/| /' conftest.$ac_ext >&5
3274 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3276 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3277 See \
`config.log' for more details" "$LINENO" 5; }
3279 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3282 $as_echo "$ac_cv_objext" >&6; }
3283 OBJEXT=$ac_cv_objext
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3286 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3287 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3288 $as_echo_n "(cached) " >&6
3290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3291 /* end confdefs.h. */
3304 if ac_fn_cxx_try_compile "$LINENO"; then :
3309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3314 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3315 if test $ac_compiler_gnu = yes; then
3320 ac_test_CXXFLAGS=${CXXFLAGS+set}
3321 ac_save_CXXFLAGS=$CXXFLAGS
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3323 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3324 if ${ac_cv_prog_cxx_g+:} false; then :
3325 $as_echo_n "(cached) " >&6
3327 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3328 ac_cxx_werror_flag=yes
3331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3332 /* end confdefs.h. */
3342 if ac_fn_cxx_try_compile "$LINENO"; then :
3343 ac_cv_prog_cxx_g=yes
3346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3347 /* end confdefs.h. */
3357 if ac_fn_cxx_try_compile "$LINENO"; then :
3360 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3363 /* end confdefs.h. */
3373 if ac_fn_cxx_try_compile "$LINENO"; then :
3374 ac_cv_prog_cxx_g=yes
3376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3381 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3384 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3385 if test "$ac_test_CXXFLAGS" = set; then
3386 CXXFLAGS=$ac_save_CXXFLAGS
3387 elif test $ac_cv_prog_cxx_g = yes; then
3388 if test "$GXX" = yes; then
3394 if test "$GXX" = yes; then
3401 ac_cpp='$CPP $CPPFLAGS'
3402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3407 ac_cpp='$CPP $CPPFLAGS'
3408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3411 if test -n "$ac_tool_prefix"; then
3412 for ac_prog in ${host_c_compilers}
3414 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3415 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3417 $as_echo_n "checking for $ac_word... " >&6; }
3418 if ${ac_cv_prog_CC+:} false; then :
3419 $as_echo_n "(cached) " >&6
3421 if test -n "$CC"; then
3422 ac_cv_prog_CC="$CC" # Let the user override the test.
3424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428 test -z "$as_dir" && as_dir=.
3429 for ac_exec_ext in '' $ac_executable_extensions; do
3430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3431 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3442 if test -n "$CC"; then
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3444 $as_echo "$CC" >&6; }
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3447 $as_echo "no" >&6; }
3451 test -n "$CC" && break
3454 if test -z "$CC"; then
3456 for ac_prog in ${host_c_compilers}
3458 # Extract the first word of "$ac_prog", so it can be a program name with args.
3459 set dummy $ac_prog; ac_word=$2
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3461 $as_echo_n "checking for $ac_word... " >&6; }
3462 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3463 $as_echo_n "(cached) " >&6
3465 if test -n "$ac_ct_CC"; then
3466 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3472 test -z "$as_dir" && as_dir=.
3473 for ac_exec_ext in '' $ac_executable_extensions; do
3474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3475 ac_cv_prog_ac_ct_CC="$ac_prog"
3476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3485 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3486 if test -n "$ac_ct_CC"; then
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3488 $as_echo "$ac_ct_CC" >&6; }
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3491 $as_echo "no" >&6; }
3495 test -n "$ac_ct_CC" && break
3498 if test "x$ac_ct_CC" = x; then
3501 case $cross_compiling:$ac_tool_warned in
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3504 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3505 ac_tool_warned=yes ;;
3512 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3514 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3515 See \
`config.log' for more details" "$LINENO" 5; }
3517 # Provide some information about the compiler.
3518 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3521 for ac_option in --version -v -V -qversion; do
3522 { { ac_try="$ac_compiler $ac_option >&5"
3524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3525 *) ac_try_echo
=$ac_try;;
3527 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3528 $as_echo "$ac_try_echo"; } >&5
3529 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3531 if test -s conftest.err
; then
3533 ... rest of stderr output deleted ...
3534 10q' conftest.err
>conftest.er1
3535 cat conftest.er1
>&5
3537 rm -f conftest.er1 conftest.err
3538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3539 test $ac_status = 0; }
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3543 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3544 if ${ac_cv_c_compiler_gnu+:} false
; then :
3545 $as_echo_n "(cached) " >&6
3547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3548 /* end confdefs.h. */
3561 if ac_fn_c_try_compile
"$LINENO"; then :
3566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3567 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3571 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3572 if test $ac_compiler_gnu = yes; then
3577 ac_test_CFLAGS
=${CFLAGS+set}
3578 ac_save_CFLAGS
=$CFLAGS
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3580 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3581 if ${ac_cv_prog_cc_g+:} false
; then :
3582 $as_echo_n "(cached) " >&6
3584 ac_save_c_werror_flag
=$ac_c_werror_flag
3585 ac_c_werror_flag
=yes
3588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3589 /* end confdefs.h. */
3599 if ac_fn_c_try_compile
"$LINENO"; then :
3603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3604 /* end confdefs.h. */
3614 if ac_fn_c_try_compile
"$LINENO"; then :
3617 ac_c_werror_flag
=$ac_save_c_werror_flag
3619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3620 /* end confdefs.h. */
3630 if ac_fn_c_try_compile
"$LINENO"; then :
3633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3635 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3638 ac_c_werror_flag
=$ac_save_c_werror_flag
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3641 $as_echo "$ac_cv_prog_cc_g" >&6; }
3642 if test "$ac_test_CFLAGS" = set; then
3643 CFLAGS
=$ac_save_CFLAGS
3644 elif test $ac_cv_prog_cc_g = yes; then
3645 if test "$GCC" = yes; then
3651 if test "$GCC" = yes; then
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3658 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3659 if ${ac_cv_prog_cc_c89+:} false
; then :
3660 $as_echo_n "(cached) " >&6
3662 ac_cv_prog_cc_c89
=no
3664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3665 /* end confdefs.h. */
3669 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3670 struct buf { int x; };
3671 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3672 static char *e (p, i)
3678 static char *f (char * (*g) (char **, int), char **p, ...)
3683 s = g (p, va_arg (v,int));
3688 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3689 function prototypes and stuff, but not '\xHH' hex character constants.
3690 These don't provoke an error unfortunately, instead are silently treated
3691 as 'x'. The following induces an error, until -std is added to get
3692 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3693 array size at least. It's necessary to write '\x00'==0 to get something
3694 that's true only with -std. */
3695 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3697 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3698 inside strings and character constants. */
3700 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3702 int test (int i, double x);
3703 struct s1 {int (*f) (int a);};
3704 struct s2 {int (*f) (double a);};
3705 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3711 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3716 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3717 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3719 CC
="$ac_save_CC $ac_arg"
3720 if ac_fn_c_try_compile
"$LINENO"; then :
3721 ac_cv_prog_cc_c89
=$ac_arg
3723 rm -f core conftest.err conftest.
$ac_objext
3724 test "x$ac_cv_prog_cc_c89" != "xno" && break
3726 rm -f conftest.
$ac_ext
3731 case "x$ac_cv_prog_cc_c89" in
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3734 $as_echo "none needed" >&6; } ;;
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3737 $as_echo "unsupported" >&6; } ;;
3739 CC
="$CC $ac_cv_prog_cc_c89"
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3741 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3743 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3748 ac_cpp
='$CPP $CPPFLAGS'
3749 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3750 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3751 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3753 aros_host_def_cc
="$CC"
3754 case $ac_cv_prog_cc_stdc in #(
3756 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3759 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3760 if ${ac_cv_prog_cc_c99+:} false
; then :
3761 $as_echo_n "(cached) " >&6
3763 ac_cv_prog_cc_c99
=no
3765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3766 /* end confdefs.h. */
3768 #include <stdbool.h>
3773 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3774 #define debug(...) fprintf (stderr, __VA_ARGS__)
3775 #define showlist(...) puts (#__VA_ARGS__)
3776 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3778 test_varargs_macros (void)
3783 debug ("X = %d\n", x);
3784 showlist (The first, second, and third items.);
3785 report (x>y, "x is %d but y is %d", x, y);
3788 // Check long long types.
3789 #define BIG64 18446744073709551615ull
3790 #define BIG32 4294967295ul
3791 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3793 your preprocessor is broken;
3797 your preprocessor is broken;
3799 static long long int bignum = -9223372036854775807LL;
3800 static unsigned long long int ubignum = BIG64;
3802 struct incomplete_array
3810 const wchar_t *name;
3814 typedef const char *ccp;
3817 test_restrict (ccp restrict text)
3819 // See if C++-style comments work.
3820 // Iterate through items via the restricted pointer.
3821 // Also check for declarations in for loops.
3822 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3827 // Check varargs and va_copy.
3829 test_varargs (const char *format, ...)
3832 va_start (args, format);
3834 va_copy (args_copy, args);
3845 str = va_arg (args_copy, const char *);
3848 number = va_arg (args_copy, int);
3851 fnumber = va_arg (args_copy, double);
3866 _Bool success = false;
3869 if (test_restrict ("String literal") == 0)
3871 char *restrict newvar = "Another string";
3874 test_varargs ("s, d' f .", "string", 65, 34.234);
3875 test_varargs_macros ();
3877 // Check flexible array members.
3878 struct incomplete_array *ia =
3879 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3881 for (int i = 0; i < ia->datasize; ++i)
3882 ia->data[i] = i * 1.234;
3884 // Check named initializers.
3885 struct named_init ni = {
3887 .name = L"Test wide string",
3888 .average = 543.34343,
3893 int dynamic_array[ni.number];
3894 dynamic_array[ni.number - 1] = 543;
3896 // work around unused variable warnings
3897 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3898 || dynamic_array[ni.number - 1] != 543);
3904 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
3906 CC
="$ac_save_CC $ac_arg"
3907 if ac_fn_c_try_compile
"$LINENO"; then :
3908 ac_cv_prog_cc_c99
=$ac_arg
3910 rm -f core conftest.err conftest.
$ac_objext
3911 test "x$ac_cv_prog_cc_c99" != "xno" && break
3913 rm -f conftest.
$ac_ext
3918 case "x$ac_cv_prog_cc_c99" in
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3921 $as_echo "none needed" >&6; } ;;
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3924 $as_echo "unsupported" >&6; } ;;
3926 CC
="$CC $ac_cv_prog_cc_c99"
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3928 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3930 if test "x$ac_cv_prog_cc_c99" != xno
; then :
3931 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3934 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3935 if ${ac_cv_prog_cc_c89+:} false
; then :
3936 $as_echo_n "(cached) " >&6
3938 ac_cv_prog_cc_c89
=no
3940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3941 /* end confdefs.h. */
3945 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3946 struct buf { int x; };
3947 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3948 static char *e (p, i)
3954 static char *f (char * (*g) (char **, int), char **p, ...)
3959 s = g (p, va_arg (v,int));
3964 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3965 function prototypes and stuff, but not '\xHH' hex character constants.
3966 These don't provoke an error unfortunately, instead are silently treated
3967 as 'x'. The following induces an error, until -std is added to get
3968 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3969 array size at least. It's necessary to write '\x00'==0 to get something
3970 that's true only with -std. */
3971 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3973 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3974 inside strings and character constants. */
3976 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3978 int test (int i, double x);
3979 struct s1 {int (*f) (int a);};
3980 struct s2 {int (*f) (double a);};
3981 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3987 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3992 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3993 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3995 CC
="$ac_save_CC $ac_arg"
3996 if ac_fn_c_try_compile
"$LINENO"; then :
3997 ac_cv_prog_cc_c89
=$ac_arg
3999 rm -f core conftest.err conftest.
$ac_objext
4000 test "x$ac_cv_prog_cc_c89" != "xno" && break
4002 rm -f conftest.
$ac_ext
4007 case "x$ac_cv_prog_cc_c89" in
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4010 $as_echo "none needed" >&6; } ;;
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4013 $as_echo "unsupported" >&6; } ;;
4015 CC
="$CC $ac_cv_prog_cc_c89"
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4017 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4019 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4020 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4022 ac_cv_prog_cc_stdc
=no
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4029 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4030 if ${ac_cv_prog_cc_stdc+:} false
; then :
4031 $as_echo_n "(cached) " >&6
4034 case $ac_cv_prog_cc_stdc in #(
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4037 $as_echo "unsupported" >&6; } ;; #(
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4040 $as_echo "none needed" >&6; } ;; #(
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4043 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4047 ac_cpp
='$CPP $CPPFLAGS'
4048 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4049 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4050 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4052 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4053 # On Suns, sometimes $CPP names a directory.
4054 if test -n "$CPP" && test -d "$CPP"; then
4057 if test -z "$CPP"; then
4058 if ${ac_cv_prog_CPP+:} false
; then :
4059 $as_echo_n "(cached) " >&6
4061 # Double quotes because CPP needs to be expanded
4062 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4065 for ac_c_preproc_warn_flag
in '' yes
4067 # Use a header file that comes with gcc, so configuring glibc
4068 # with a fresh cross-compiler works.
4069 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4070 # <limits.h> exists even on freestanding compilers.
4071 # On the NeXT, cc -E runs the code through the compiler's parser,
4072 # not just through cpp. "Syntax error" is here to catch this case.
4073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h. */
4076 # include <limits.h>
4078 # include <assert.h>
4082 if ac_fn_c_try_cpp
"$LINENO"; then :
4085 # Broken: fails on valid input.
4088 rm -f conftest.err conftest.i conftest.
$ac_ext
4090 # OK, works on sane cases. Now check whether nonexistent headers
4091 # can be detected and how.
4092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4093 /* end confdefs.h. */
4094 #include <ac_nonexistent.h>
4096 if ac_fn_c_try_cpp
"$LINENO"; then :
4097 # Broken: success on invalid input.
4100 # Passes both tests.
4104 rm -f conftest.err conftest.i conftest.
$ac_ext
4107 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4108 rm -f conftest.i conftest.err conftest.
$ac_ext
4109 if $ac_preproc_ok; then :
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4122 $as_echo "$CPP" >&6; }
4124 for ac_c_preproc_warn_flag
in '' yes
4126 # Use a header file that comes with gcc, so configuring glibc
4127 # with a fresh cross-compiler works.
4128 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4129 # <limits.h> exists even on freestanding compilers.
4130 # On the NeXT, cc -E runs the code through the compiler's parser,
4131 # not just through cpp. "Syntax error" is here to catch this case.
4132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4133 /* end confdefs.h. */
4135 # include <limits.h>
4137 # include <assert.h>
4141 if ac_fn_c_try_cpp
"$LINENO"; then :
4144 # Broken: fails on valid input.
4147 rm -f conftest.err conftest.i conftest.
$ac_ext
4149 # OK, works on sane cases. Now check whether nonexistent headers
4150 # can be detected and how.
4151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4152 /* end confdefs.h. */
4153 #include <ac_nonexistent.h>
4155 if ac_fn_c_try_cpp
"$LINENO"; then :
4156 # Broken: success on invalid input.
4159 # Passes both tests.
4163 rm -f conftest.err conftest.i conftest.
$ac_ext
4166 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4167 rm -f conftest.i conftest.err conftest.
$ac_ext
4168 if $ac_preproc_ok; then :
4171 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4173 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4174 See \`config.log' for more details" "$LINENO" 5; }
4178 ac_cpp
='$CPP $CPPFLAGS'
4179 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4180 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4181 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4184 # Check for a compatible awk
4185 for ac_prog
in gawk nawk
4187 # Extract the first word of "$ac_prog", so it can be a program name with args.
4188 set dummy
$ac_prog; ac_word
=$2
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4190 $as_echo_n "checking for $ac_word... " >&6; }
4191 if ${ac_cv_prog_AWK+:} false
; then :
4192 $as_echo_n "(cached) " >&6
4194 if test -n "$AWK"; then
4195 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4201 test -z "$as_dir" && as_dir
=.
4202 for ac_exec_ext
in '' $ac_executable_extensions; do
4203 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4204 ac_cv_prog_AWK
="$ac_prog"
4205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4215 if test -n "$AWK"; then
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4217 $as_echo "$AWK" >&6; }
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4220 $as_echo "no" >&6; }
4224 test -n "$AWK" && break
4228 if test "$AWK" = ""; then
4231 if test "$AWK" = "no"; then
4234 if test "$req_avail" = "no"; then
4235 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4237 # Extract the first word of "mmake", so it can be a program name with args.
4238 set dummy mmake
; ac_word
=$2
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4240 $as_echo_n "checking for $ac_word... " >&6; }
4241 if ${ac_cv_prog_MMAKE+:} false
; then :
4242 $as_echo_n "(cached) " >&6
4244 if test -n "$MMAKE"; then
4245 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4251 test -z "$as_dir" && as_dir
=.
4252 for ac_exec_ext
in '' $ac_executable_extensions; do
4253 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4254 ac_cv_prog_MMAKE
="mmake "
4255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4264 MMAKE
=$ac_cv_prog_MMAKE
4265 if test -n "$MMAKE"; then
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4267 $as_echo "$MMAKE" >&6; }
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4270 $as_echo "no" >&6; }
4275 # Perform some default variable assignments. Note all of these will be
4276 # Regenerated from the script, so there is no need to cache them.
4278 aros_build_host
=$host
4279 aros_host_cpp
="$CPP"
4281 aros_host_cxx
="$CXX"
4282 if test "$GCC" = "yes"; then
4283 aros_gcc_ld
=`$CC -print-prog-name=ld`
4284 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4285 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4287 $as_echo_n "checking for $ac_word... " >&6; }
4288 if ${ac_cv_path_aros_host_ld+:} false
; then :
4289 $as_echo_n "(cached) " >&6
4291 case $aros_host_ld in
4293 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4297 for as_dir
in `dirname $aros_gcc_ld`
4300 test -z "$as_dir" && as_dir
=.
4301 for ac_exec_ext
in '' $ac_executable_extensions; do
4302 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4303 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4314 aros_host_ld
=$ac_cv_path_aros_host_ld
4315 if test -n "$aros_host_ld"; then
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4317 $as_echo "$aros_host_ld" >&6; }
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4320 $as_echo "no" >&6; }
4325 if test "$aros_host_ld" = ""; then
4326 # Extract the first word of "ld", so it can be a program name with args.
4327 set dummy ld
; ac_word
=$2
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4329 $as_echo_n "checking for $ac_word... " >&6; }
4330 if ${ac_cv_path_aros_host_ld+:} false
; then :
4331 $as_echo_n "(cached) " >&6
4333 case $aros_host_ld in
4335 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4342 test -z "$as_dir" && as_dir
=.
4343 for ac_exec_ext
in '' $ac_executable_extensions; do
4344 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4345 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4356 aros_host_ld
=$ac_cv_path_aros_host_ld
4357 if test -n "$aros_host_ld"; then
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4359 $as_echo "$aros_host_ld" >&6; }
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4362 $as_echo "no" >&6; }
4368 if test "$aros_host_ld" = ""; then
4371 if test "$aros_host_ld" = "no"; then
4374 if test "$req_avail" = "no"; then
4375 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4377 aros_host_make
="make"
4378 aros_host_cflags
="$CFLAGS"
4379 aros_host_cxxflags
="$CXXFLAGS"
4380 aros_host_cppflags
="$CPPFLAGS"
4381 aros_host_ldflags
="$LDFLAGS"
4382 aros_host_debug
="-g -O0"
4383 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4384 aros_host_mkargs
="--no-print-directory"
4385 aros_host_exe_suffix
="$EXEEXT"
4386 aros_host_lib_suffix
=""
4388 # Ignore all compliance, AROS ROMs = 0
4389 # KickStart v1.0 = 30
4390 # KickStart v1.3 = 34
4391 # KickStart v2.0 = 37
4392 # KickStart v3.0 = 39
4393 # KickStart v3.1 = 40
4395 aros_amigaos_compliance
=0
4397 for ac_prog
in aclocal aclocal19 aclocal-1.9
4399 # Extract the first word of "$ac_prog", so it can be a program name with args.
4400 set dummy
$ac_prog; ac_word
=$2
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4402 $as_echo_n "checking for $ac_word... " >&6; }
4403 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4404 $as_echo_n "(cached) " >&6
4406 if test -n "$aros_host_aclocal"; then
4407 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4413 test -z "$as_dir" && as_dir
=.
4414 for ac_exec_ext
in '' $ac_executable_extensions; do
4415 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4416 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4426 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4427 if test -n "$aros_host_aclocal"; then
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4429 $as_echo "$aros_host_aclocal" >&6; }
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4432 $as_echo "no" >&6; }
4436 test -n "$aros_host_aclocal" && break
4439 for ac_prog
in autoconf autoconf259 autoconf253
4441 # Extract the first word of "$ac_prog", so it can be a program name with args.
4442 set dummy
$ac_prog; ac_word
=$2
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4444 $as_echo_n "checking for $ac_word... " >&6; }
4445 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4446 $as_echo_n "(cached) " >&6
4448 if test -n "$aros_host_autoconf"; then
4449 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4455 test -z "$as_dir" && as_dir
=.
4456 for ac_exec_ext
in '' $ac_executable_extensions; do
4457 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4458 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4468 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4469 if test -n "$aros_host_autoconf"; then
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4471 $as_echo "$aros_host_autoconf" >&6; }
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4474 $as_echo "no" >&6; }
4478 test -n "$aros_host_autoconf" && break
4481 for ac_prog
in autoheader autoheader259 autoheader253
4483 # Extract the first word of "$ac_prog", so it can be a program name with args.
4484 set dummy
$ac_prog; ac_word
=$2
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4486 $as_echo_n "checking for $ac_word... " >&6; }
4487 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4488 $as_echo_n "(cached) " >&6
4490 if test -n "$aros_host_autoheader"; then
4491 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4497 test -z "$as_dir" && as_dir
=.
4498 for ac_exec_ext
in '' $ac_executable_extensions; do
4499 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4500 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4510 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4511 if test -n "$aros_host_autoheader"; then
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4513 $as_echo "$aros_host_autoheader" >&6; }
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4516 $as_echo "no" >&6; }
4520 test -n "$aros_host_autoheader" && break
4523 for ac_prog
in automake automake19 automake-1.9
4525 # Extract the first word of "$ac_prog", so it can be a program name with args.
4526 set dummy
$ac_prog; ac_word
=$2
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4528 $as_echo_n "checking for $ac_word... " >&6; }
4529 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4530 $as_echo_n "(cached) " >&6
4532 if test -n "$aros_host_automake"; then
4533 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4539 test -z "$as_dir" && as_dir
=.
4540 for ac_exec_ext
in '' $ac_executable_extensions; do
4541 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4542 ac_cv_prog_aros_host_automake
="$ac_prog"
4543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4552 aros_host_automake
=$ac_cv_prog_aros_host_automake
4553 if test -n "$aros_host_automake"; then
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4555 $as_echo "$aros_host_automake" >&6; }
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4558 $as_echo "no" >&6; }
4562 test -n "$aros_host_automake" && break
4567 if test "$aros_host_aclocal" = ""; then
4570 if test "$aros_host_aclocal" = "no"; then
4573 if test "$req_avail" = "no"; then
4574 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4577 if test "$aros_host_automake" = ""; then
4580 if test "$aros_host_automake" = "no"; then
4583 if test "$req_avail" = "no"; then
4584 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4587 case "$aros_host_cc" in
4589 aros_host_cc_pipe
=""
4592 aros_host_cc_pipe
="-pipe"
4595 aros_host_cc_pipe
=""
4598 aros_host_cc_pipe
=""
4602 aros_kernel_cc_includes
=""
4603 aros_target_cc_includes
=""
4606 # ----------------------------------------------------------------------------------------
4607 # Host-specific defaults
4609 # This is the main host configuration section. It is where the host
4610 # can change the values of any variables it needs to change. We do
4611 # not look at anything that compiles to the target yet, we'll get
4616 aros_host_arch
="aros"
4617 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4620 aros_host_cpu
="i386"
4623 aros_host_cpu
="x86_64"
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4630 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4631 aros_host_cpu
="$host_cpu"
4637 aros_host_arch
="linux"
4638 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4639 android_build_os
="linux-x86"
4640 android_tool
="android"
4641 default_android_sdk
="/opt/android-sdk-linux_x86"
4644 aros_host_cpu
="i386"
4647 aros_host_cpu
="x86_64"
4650 aros_host_cpu
="m68k"
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4660 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4661 aros_host_cpu
="$host_cpu"
4667 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe -I/usr/local/include"
4668 aros_host_make
="gmake"
4669 aros_host_arch
="freebsd"
4670 aros_host_cpu
="i386"
4672 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4676 aros_object_format
="elf_i386"
4680 aros_object_format
="elf_i386_fbsd"
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/include/stddef.h" >&5
4688 $as_echo_n "checking for /usr/include/stddef.h... " >&6; }
4689 if ${ac_cv_file__usr_include_stddef_h+:} false
; then :
4690 $as_echo_n "(cached) " >&6
4692 test "$cross_compiling" = yes &&
4693 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
4694 if test -r "/usr/include/stddef.h"; then
4695 ac_cv_file__usr_include_stddef_h
=yes
4697 ac_cv_file__usr_include_stddef_h
=no
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_include_stddef_h" >&5
4701 $as_echo "$ac_cv_file__usr_include_stddef_h" >&6; }
4702 if test "x$ac_cv_file__usr_include_stddef_h" = xyes
; then :
4705 as_fn_error $?
"XCode incorrectly configured!
4706 please run 'xcode-select --install' before
4707 re-running configure" "$LINENO" 5
4711 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4712 aros_host_arch
="darwin"
4714 if [ -z ${SED+x} ]; then SED
="gsed"; fi
4715 android_build_os
="darwin-x86"
4716 android_tool
="android"
4717 default_android_sdk
="/android-sdk-mac_x86"
4720 aros_host_cpu
="i386"
4723 aros_host_cpu
="x86_64"
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4730 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4731 aros_host_cpu
="$host_cpu"
4735 aros_host_ldflags
="$aros_host_ldflags -liconv"
4740 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4741 aros_host_make
="gmake"
4742 aros_host_arch
="dragonfly"
4745 aros_host_cpu
="i386"
4748 aros_host_cpu
="x86_64"
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4752 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4753 aros_host_cpu
="$host_cpu"
4759 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4760 aros_host_make
="gmake"
4761 aros_host_arch
="netbsd"
4764 aros_host_cpu
="i386"
4767 aros_host_cpu
="m68k"
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4771 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4772 aros_host_cpu
="$host_cpu"
4775 aros_host_lib_suffix
=".0.0"
4779 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4780 aros_host_make
="gmake"
4781 aros_host_arch
="openbsd"
4784 aros_host_cpu
="i386"
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4788 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4789 aros_host_cpu
="$host_cpu"
4795 aros_host_arch
="solaris"
4796 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4799 aros_host_cpu
="i386"
4802 aros_host_cpu
="sparc"
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4806 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4807 aros_host_cpu
="$host_cpu"
4813 aros_host_arch
="morphos"
4819 aros_host_arch
="amiga"
4825 TOUCH
="/gg/bin/touch"
4828 aros_host_cpu
="m68k"
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4835 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4836 aros_host_cpu
="$host_cpu"
4842 aros_host_arch
="cygwin"
4843 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4845 android_build_os
="windows"
4846 android_tool
="android.bat"
4847 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4851 aros_host_cpu
="i386"
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4855 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4856 aros_host_cpu
="$host_cpu"
4862 aros_host_arch
="mingw32"
4863 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4865 android_build_os
="windows"
4866 android_tool
="android.bat"
4867 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4869 libpng_libextra
="-lws2_32"
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4875 $as_echo_n "checking for Windows native gcc target... " >&6; }
4876 host_cpu
=`gcc -dumpmachine`
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4878 $as_echo "$host_cpu" >&6; }
4885 aros_host_cpu
="i386"
4889 aros_host_cpu
="i386"
4893 aros_host_cpu
="x86_64"
4894 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4899 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4900 aros_host_cpu
="$host_cpu"
4905 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4909 # Extract the first word of "ar", so it can be a program name with args.
4910 set dummy
ar; ac_word
=$2
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4912 $as_echo_n "checking for $ac_word... " >&6; }
4913 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4914 $as_echo_n "(cached) " >&6
4916 if test -n "$aros_host_ar"; then
4917 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4923 test -z "$as_dir" && as_dir
=.
4924 for ac_exec_ext
in '' $ac_executable_extensions; do
4925 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4926 ac_cv_prog_aros_host_ar
="ar cr"
4927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4936 aros_host_ar
=$ac_cv_prog_aros_host_ar
4937 if test -n "$aros_host_ar"; then
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4939 $as_echo "$aros_host_ar" >&6; }
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4942 $as_echo "no" >&6; }
4947 if test "$aros_host_ar" = ""; then
4950 if test "$aros_host_ar" = "no"; then
4953 if test "$req_avail" = "no"; then
4954 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4956 # Extract the first word of "ranlib", so it can be a program name with args.
4957 set dummy ranlib
; ac_word
=$2
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4959 $as_echo_n "checking for $ac_word... " >&6; }
4960 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4961 $as_echo_n "(cached) " >&6
4963 if test -n "$aros_host_ranlib"; then
4964 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4970 test -z "$as_dir" && as_dir
=.
4971 for ac_exec_ext
in '' $ac_executable_extensions; do
4972 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4973 ac_cv_prog_aros_host_ranlib
="ranlib "
4974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4983 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4984 if test -n "$aros_host_ranlib"; then
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4986 $as_echo "$aros_host_ranlib" >&6; }
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989 $as_echo "no" >&6; }
4994 if test "$aros_host_ranlib" = ""; then
4997 if test "$aros_host_ranlib" = "no"; then
5000 if test "$req_avail" = "no"; then
5001 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
5003 # Extract the first word of "strip", so it can be a program name with args.
5004 set dummy strip
; ac_word
=$2
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5006 $as_echo_n "checking for $ac_word... " >&6; }
5007 if ${ac_cv_prog_aros_host_strip+:} false
; then :
5008 $as_echo_n "(cached) " >&6
5010 if test -n "$aros_host_strip"; then
5011 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5017 test -z "$as_dir" && as_dir
=.
5018 for ac_exec_ext
in '' $ac_executable_extensions; do
5019 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5020 ac_cv_prog_aros_host_strip
="strip "
5021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5030 aros_host_strip
=$ac_cv_prog_aros_host_strip
5031 if test -n "$aros_host_strip"; then
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5033 $as_echo "$aros_host_strip" >&6; }
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5036 $as_echo "no" >&6; }
5041 if test "$aros_host_strip" = ""; then
5044 if test "$aros_host_strip" = "no"; then
5047 if test "$req_avail" = "no"; then
5048 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5051 # Extract the first word of "rm", so it can be a program name with args.
5052 set dummy
rm; ac_word
=$2
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054 $as_echo_n "checking for $ac_word... " >&6; }
5055 if ${ac_cv_prog_RM+:} false
; then :
5056 $as_echo_n "(cached) " >&6
5058 if test -n "$RM"; then
5059 ac_cv_prog_RM
="$RM" # Let the user override the test.
5061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5065 test -z "$as_dir" && as_dir
=.
5066 for ac_exec_ext
in '' $ac_executable_extensions; do
5067 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5068 ac_cv_prog_RM
="rm -rf"
5069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5079 if test -n "$RM"; then
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5081 $as_echo "$RM" >&6; }
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5084 $as_echo "no" >&6; }
5089 if test "$RM" = ""; then
5092 if test "$RM" = "no"; then
5095 if test "$req_avail" = "no"; then
5096 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5098 # Extract the first word of "cp", so it can be a program name with args.
5099 set dummy
cp; ac_word
=$2
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5101 $as_echo_n "checking for $ac_word... " >&6; }
5102 if ${ac_cv_prog_CP+:} false
; then :
5103 $as_echo_n "(cached) " >&6
5105 if test -n "$CP"; then
5106 ac_cv_prog_CP
="$CP" # Let the user override the test.
5108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5112 test -z "$as_dir" && as_dir
=.
5113 for ac_exec_ext
in '' $ac_executable_extensions; do
5114 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5126 if test -n "$CP"; then
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5128 $as_echo "$CP" >&6; }
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5131 $as_echo "no" >&6; }
5136 if test "$CP" = ""; then
5139 if test "$CP" = "no"; then
5142 if test "$req_avail" = "no"; then
5143 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5145 # Extract the first word of "mv", so it can be a program name with args.
5146 set dummy
mv; ac_word
=$2
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148 $as_echo_n "checking for $ac_word... " >&6; }
5149 if ${ac_cv_prog_MV+:} false
; then :
5150 $as_echo_n "(cached) " >&6
5152 if test -n "$MV"; then
5153 ac_cv_prog_MV
="$MV" # Let the user override the test.
5155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5159 test -z "$as_dir" && as_dir
=.
5160 for ac_exec_ext
in '' $ac_executable_extensions; do
5161 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5173 if test -n "$MV"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5175 $as_echo "$MV" >&6; }
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5183 if test "$MV" = ""; then
5186 if test "$MV" = "no"; then
5189 if test "$req_avail" = "no"; then
5190 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5192 # Extract the first word of "echo", so it can be a program name with args.
5193 set dummy
echo; ac_word
=$2
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5195 $as_echo_n "checking for $ac_word... " >&6; }
5196 if ${ac_cv_prog_ECHO+:} false
; then :
5197 $as_echo_n "(cached) " >&6
5199 if test -n "$ECHO"; then
5200 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5206 test -z "$as_dir" && as_dir
=.
5207 for ac_exec_ext
in '' $ac_executable_extensions; do
5208 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5209 ac_cv_prog_ECHO
="echo "
5210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5219 ECHO
=$ac_cv_prog_ECHO
5220 if test -n "$ECHO"; then
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5222 $as_echo "$ECHO" >&6; }
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5225 $as_echo "no" >&6; }
5230 if test "$ECHO" = ""; then
5233 if test "$ECHO" = "no"; then
5236 if test "$req_avail" = "no"; then
5237 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5239 # Extract the first word of "mkdir", so it can be a program name with args.
5240 set dummy mkdir
; ac_word
=$2
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5242 $as_echo_n "checking for $ac_word... " >&6; }
5243 if ${ac_cv_prog_MKDIR+:} false
; then :
5244 $as_echo_n "(cached) " >&6
5246 if test -n "$MKDIR"; then
5247 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5253 test -z "$as_dir" && as_dir
=.
5254 for ac_exec_ext
in '' $ac_executable_extensions; do
5255 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5256 ac_cv_prog_MKDIR
="mkdir -p"
5257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5266 MKDIR
=$ac_cv_prog_MKDIR
5267 if test -n "$MKDIR"; then
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5269 $as_echo "$MKDIR" >&6; }
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5272 $as_echo "no" >&6; }
5277 if test "$MKDIR" = ""; then
5280 if test "$MKDIR" = "no"; then
5283 if test "$req_avail" = "no"; then
5284 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5286 # Extract the first word of "touch", so it can be a program name with args.
5287 set dummy
touch; ac_word
=$2
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5289 $as_echo_n "checking for $ac_word... " >&6; }
5290 if ${ac_cv_prog_TOUCH+:} false
; then :
5291 $as_echo_n "(cached) " >&6
5293 if test -n "$TOUCH"; then
5294 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5300 test -z "$as_dir" && as_dir
=.
5301 for ac_exec_ext
in '' $ac_executable_extensions; do
5302 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5303 ac_cv_prog_TOUCH
="touch "
5304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5313 TOUCH
=$ac_cv_prog_TOUCH
5314 if test -n "$TOUCH"; then
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5316 $as_echo "$TOUCH" >&6; }
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5319 $as_echo "no" >&6; }
5324 if test "$TOUCH" = ""; then
5327 if test "$TOUCH" = "no"; then
5330 if test "$req_avail" = "no"; then
5331 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5333 # Extract the first word of "sort", so it can be a program name with args.
5334 set dummy
sort; ac_word
=$2
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5336 $as_echo_n "checking for $ac_word... " >&6; }
5337 if ${ac_cv_prog_SORT+:} false
; then :
5338 $as_echo_n "(cached) " >&6
5340 if test -n "$SORT"; then
5341 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5347 test -z "$as_dir" && as_dir
=.
5348 for ac_exec_ext
in '' $ac_executable_extensions; do
5349 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5350 ac_cv_prog_SORT
="sort "
5351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5360 SORT
=$ac_cv_prog_SORT
5361 if test -n "$SORT"; then
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5363 $as_echo "$SORT" >&6; }
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5366 $as_echo "no" >&6; }
5371 if test "$SORT" = ""; then
5374 if test "$SORT" = "no"; then
5377 if test "$req_avail" = "no"; then
5378 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5380 # Extract the first word of "uniq", so it can be a program name with args.
5381 set dummy
uniq; ac_word
=$2
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5383 $as_echo_n "checking for $ac_word... " >&6; }
5384 if ${ac_cv_prog_UNIQ+:} false
; then :
5385 $as_echo_n "(cached) " >&6
5387 if test -n "$UNIQ"; then
5388 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5394 test -z "$as_dir" && as_dir
=.
5395 for ac_exec_ext
in '' $ac_executable_extensions; do
5396 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5397 ac_cv_prog_UNIQ
="uniq "
5398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5407 UNIQ
=$ac_cv_prog_UNIQ
5408 if test -n "$UNIQ"; then
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5410 $as_echo "$UNIQ" >&6; }
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5413 $as_echo "no" >&6; }
5418 if test "$UNIQ" = ""; then
5421 if test "$UNIQ" = "no"; then
5424 if test "$req_avail" = "no"; then
5425 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5427 # Extract the first word of "true", so it can be a program name with args.
5428 set dummy true
; ac_word
=$2
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5430 $as_echo_n "checking for $ac_word... " >&6; }
5431 if ${ac_cv_prog_NOP+:} false
; then :
5432 $as_echo_n "(cached) " >&6
5434 if test -n "$NOP"; then
5435 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5441 test -z "$as_dir" && as_dir
=.
5442 for ac_exec_ext
in '' $ac_executable_extensions; do
5443 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5444 ac_cv_prog_NOP
="true "
5445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5455 if test -n "$NOP"; then
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5457 $as_echo "$NOP" >&6; }
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5460 $as_echo "no" >&6; }
5465 if test "$NOP" = ""; then
5468 if test "$NOP" = "no"; then
5471 if test "$req_avail" = "no"; then
5472 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5474 # Extract the first word of "cat", so it can be a program name with args.
5475 set dummy
cat; ac_word
=$2
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5477 $as_echo_n "checking for $ac_word... " >&6; }
5478 if ${ac_cv_prog_CAT+:} false
; then :
5479 $as_echo_n "(cached) " >&6
5481 if test -n "$CAT"; then
5482 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5488 test -z "$as_dir" && as_dir
=.
5489 for ac_exec_ext
in '' $ac_executable_extensions; do
5490 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5491 ac_cv_prog_CAT
="cat "
5492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5502 if test -n "$CAT"; then
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5504 $as_echo "$CAT" >&6; }
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5507 $as_echo "no" >&6; }
5512 if test "$CAT" = ""; then
5515 if test "$CAT" = "no"; then
5518 if test "$req_avail" = "no"; then
5519 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5521 # Extract the first word of "bison", so it can be a program name with args.
5522 set dummy bison
; ac_word
=$2
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5524 $as_echo_n "checking for $ac_word... " >&6; }
5525 if ${ac_cv_prog_BISON+:} false
; then :
5526 $as_echo_n "(cached) " >&6
5528 if test -n "$BISON"; then
5529 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5535 test -z "$as_dir" && as_dir
=.
5536 for ac_exec_ext
in '' $ac_executable_extensions; do
5537 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5538 ac_cv_prog_BISON
="bison "
5539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5548 BISON
=$ac_cv_prog_BISON
5549 if test -n "$BISON"; then
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5551 $as_echo "$BISON" >&6; }
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5554 $as_echo "no" >&6; }
5559 if test "$BISON" = ""; then
5562 if test "$BISON" = "no"; then
5565 if test "$req_avail" = "no"; then
5566 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5568 # Extract the first word of "flex", so it can be a program name with args.
5569 set dummy flex
; ac_word
=$2
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5571 $as_echo_n "checking for $ac_word... " >&6; }
5572 if ${ac_cv_prog_FLEX+:} false
; then :
5573 $as_echo_n "(cached) " >&6
5575 if test -n "$FLEX"; then
5576 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5582 test -z "$as_dir" && as_dir
=.
5583 for ac_exec_ext
in '' $ac_executable_extensions; do
5584 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5585 ac_cv_prog_FLEX
="flex "
5586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5595 FLEX
=$ac_cv_prog_FLEX
5596 if test -n "$FLEX"; then
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5598 $as_echo "$FLEX" >&6; }
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5601 $as_echo "no" >&6; }
5606 if test "$FLEX" = ""; then
5609 if test "$FLEX" = "no"; then
5612 if test "$req_avail" = "no"; then
5613 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5615 # Extract the first word of "pngtopnm", so it can be a program name with args.
5616 set dummy pngtopnm
; ac_word
=$2
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5618 $as_echo_n "checking for $ac_word... " >&6; }
5619 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5620 $as_echo_n "(cached) " >&6
5622 if test -n "$PNGTOPNM"; then
5623 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5629 test -z "$as_dir" && as_dir
=.
5630 for ac_exec_ext
in '' $ac_executable_extensions; do
5631 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5632 ac_cv_prog_PNGTOPNM
="pngtopnm "
5633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5642 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5643 if test -n "$PNGTOPNM"; then
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5645 $as_echo "$PNGTOPNM" >&6; }
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5648 $as_echo "no" >&6; }
5653 if test "$PNGTOPNM" = ""; then
5656 if test "$PNGTOPNM" = "no"; then
5659 if test "$req_avail" = "no"; then
5660 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5662 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5663 set dummy ppmtoilbm
; ac_word
=$2
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5665 $as_echo_n "checking for $ac_word... " >&6; }
5666 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5667 $as_echo_n "(cached) " >&6
5669 if test -n "$PPMTOILBM"; then
5670 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5676 test -z "$as_dir" && as_dir
=.
5677 for ac_exec_ext
in '' $ac_executable_extensions; do
5678 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5679 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5689 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5690 if test -n "$PPMTOILBM"; then
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5692 $as_echo "$PPMTOILBM" >&6; }
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5695 $as_echo "no" >&6; }
5700 if test "$PPMTOILBM" = ""; then
5703 if test "$PPMTOILBM" = "no"; then
5706 if test "$req_avail" = "no"; then
5707 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5709 # Extract the first word of "sed", so it can be a program name with args.
5710 set dummy
sed; ac_word
=$2
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5712 $as_echo_n "checking for $ac_word... " >&6; }
5713 if ${ac_cv_prog_SED+:} false
; then :
5714 $as_echo_n "(cached) " >&6
5716 if test -n "$SED"; then
5717 ac_cv_prog_SED
="$SED" # Let the user override the test.
5719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5723 test -z "$as_dir" && as_dir
=.
5724 for ac_exec_ext
in '' $ac_executable_extensions; do
5725 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5726 ac_cv_prog_SED
="sed "
5727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5737 if test -n "$SED"; then
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5739 $as_echo "$SED" >&6; }
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5742 $as_echo "no" >&6; }
5747 if test "$SED" = ""; then
5750 if test "$SED" = "no"; then
5753 if test "$req_avail" = "no"; then
5754 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5756 # Extract the first word of "chmod", so it can be a program name with args.
5757 set dummy
chmod; ac_word
=$2
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5759 $as_echo_n "checking for $ac_word... " >&6; }
5760 if ${ac_cv_prog_CHMOD+:} false
; then :
5761 $as_echo_n "(cached) " >&6
5763 if test -n "$CHMOD"; then
5764 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5770 test -z "$as_dir" && as_dir
=.
5771 for ac_exec_ext
in '' $ac_executable_extensions; do
5772 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5773 ac_cv_prog_CHMOD
="chmod "
5774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5783 CHMOD
=$ac_cv_prog_CHMOD
5784 if test -n "$CHMOD"; then
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5786 $as_echo "$CHMOD" >&6; }
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5789 $as_echo "no" >&6; }
5794 if test "$CHMOD" = ""; then
5797 if test "$CHMOD" = "no"; then
5800 if test "$req_avail" = "no"; then
5801 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5803 # Extract the first word of "patch", so it can be a program name with args.
5804 set dummy
patch; ac_word
=$2
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5806 $as_echo_n "checking for $ac_word... " >&6; }
5807 if ${ac_cv_prog_PATCH+:} false
; then :
5808 $as_echo_n "(cached) " >&6
5810 if test -n "$PATCH"; then
5811 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5817 test -z "$as_dir" && as_dir
=.
5818 for ac_exec_ext
in '' $ac_executable_extensions; do
5819 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5820 ac_cv_prog_PATCH
="patch "
5821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5830 PATCH
=$ac_cv_prog_PATCH
5831 if test -n "$PATCH"; then
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5833 $as_echo "$PATCH" >&6; }
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5836 $as_echo "no" >&6; }
5841 if test "$PATCH" = ""; then
5844 if test "$PATCH" = "no"; then
5847 if test "$req_avail" = "no"; then
5848 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5857 if test -n "$PYTHON"; then
5858 # If the user set $PYTHON, use it and don't search something else.
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
5860 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
5862 # split strings by '.' and convert to numeric. Append some zeros
5863 # because we need at least 4 digits for the hex conversion.
5864 # map returns an iterator in Python 3.0 and a list in 2.x
5865 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5867 # xrange is not present in Python 3.0 and range returns an iterator
5868 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5869 sys.exit(sys.hexversion < minverhex)"
5870 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5871 ($PYTHON -c "$prog") >&5 2>&5
5873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5874 (exit $ac_status); }; then :
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5876 $as_echo "yes" >&6; }
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5879 $as_echo "no" >&6; }
5880 as_fn_error $?
"Python interpreter is too old" "$LINENO" 5
5882 am_display_PYTHON
=$PYTHON
5884 # Otherwise, try each interpreter until we find one that satisfies
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5887 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5888 if ${am_cv_pathless_PYTHON+:} false
; then :
5889 $as_echo_n "(cached) " >&6
5892 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
5893 test "$am_cv_pathless_PYTHON" = none
&& break
5895 # split strings by '.' and convert to numeric. Append some zeros
5896 # because we need at least 4 digits for the hex conversion.
5897 # map returns an iterator in Python 3.0 and a list in 2.x
5898 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5900 # xrange is not present in Python 3.0 and range returns an iterator
5901 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5902 sys.exit(sys.hexversion < minverhex)"
5903 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5904 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5907 (exit $ac_status); }; then :
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5913 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5914 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5915 if test "$am_cv_pathless_PYTHON" = none
; then
5918 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5919 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5921 $as_echo_n "checking for $ac_word... " >&6; }
5922 if ${ac_cv_path_PYTHON+:} false
; then :
5923 $as_echo_n "(cached) " >&6
5927 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5934 test -z "$as_dir" && as_dir
=.
5935 for ac_exec_ext
in '' $ac_executable_extensions; do
5936 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5937 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5948 PYTHON
=$ac_cv_path_PYTHON
5949 if test -n "$PYTHON"; then
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5951 $as_echo "$PYTHON" >&6; }
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5954 $as_echo "no" >&6; }
5959 am_display_PYTHON
=$am_cv_pathless_PYTHON
5963 if test "$PYTHON" = :; then
5964 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5969 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5970 if ${am_cv_python_version+:} false
; then :
5971 $as_echo_n "(cached) " >&6
5973 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5976 $as_echo "$am_cv_python_version" >&6; }
5977 PYTHON_VERSION
=$am_cv_python_version
5981 PYTHON_PREFIX
='${prefix}'
5983 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5988 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5989 if ${am_cv_python_platform+:} false
; then :
5990 $as_echo_n "(cached) " >&6
5992 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5995 $as_echo "$am_cv_python_platform" >&6; }
5996 PYTHON_PLATFORM
=$am_cv_python_platform
5999 # Just factor out some code duplication.
6000 am_python_setup_sysconfig
="\
6002 # Prefer sysconfig over distutils.sysconfig, for better compatibility
6003 # with python 3.x. See automake bug#10227.
6007 can_use_sysconfig = 0
6009 can_use_sysconfig = 1
6010 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
6011 # <https://github.com/pypa/virtualenv/issues/118>
6013 from platform import python_implementation
6014 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
6015 can_use_sysconfig = 0
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
6021 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
6022 if ${am_cv_python_pythondir+:} false
; then :
6023 $as_echo_n "(cached) " >&6
6025 if test "x$prefix" = xNONE
6027 am_py_prefix
=$ac_default_prefix
6029 am_py_prefix
=$prefix
6031 am_cv_python_pythondir
=`$PYTHON -c "
6032 $am_python_setup_sysconfig
6033 if can_use_sysconfig:
6034 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
6036 from distutils import sysconfig
6037 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
6038 sys.stdout.write(sitedir)"`
6039 case $am_cv_python_pythondir in
6041 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
6042 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
6045 case $am_py_prefix in
6048 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
6056 $as_echo "$am_cv_python_pythondir" >&6; }
6057 pythondir
=$am_cv_python_pythondir
6061 pkgpythondir
=\
${pythondir}/$PACKAGE
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
6065 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
6066 if ${am_cv_python_pyexecdir+:} false
; then :
6067 $as_echo_n "(cached) " >&6
6069 if test "x$exec_prefix" = xNONE
6071 am_py_exec_prefix
=$am_py_prefix
6073 am_py_exec_prefix
=$exec_prefix
6075 am_cv_python_pyexecdir
=`$PYTHON -c "
6076 $am_python_setup_sysconfig
6077 if can_use_sysconfig:
6078 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
6080 from distutils import sysconfig
6081 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
6082 sys.stdout.write(sitedir)"`
6083 case $am_cv_python_pyexecdir in
6084 $am_py_exec_prefix*)
6085 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
6086 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
6089 case $am_py_exec_prefix in
6092 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
6100 $as_echo "$am_cv_python_pyexecdir" >&6; }
6101 pyexecdir
=$am_cv_python_pyexecdir
6105 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
6113 # Check whether --enable-libpng-config was given.
6114 if test "${enable_libpng_config+set}" = set; then :
6115 enableval
=$enable_libpng_config;
6118 if test "$enable_libpng_config" != "no"; then
6119 # Extract the first word of "libpng-config", so it can be a program name with args.
6120 set dummy libpng-config
; ac_word
=$2
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6122 $as_echo_n "checking for $ac_word... " >&6; }
6123 if ${ac_cv_prog_arosconfig_use_libpngconfig+:} false
; then :
6124 $as_echo_n "(cached) " >&6
6126 if test -n "$arosconfig_use_libpngconfig"; then
6127 ac_cv_prog_arosconfig_use_libpngconfig
="$arosconfig_use_libpngconfig" # Let the user override the test.
6129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6133 test -z "$as_dir" && as_dir
=.
6134 for ac_exec_ext
in '' $ac_executable_extensions; do
6135 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6136 ac_cv_prog_arosconfig_use_libpngconfig
="yes"
6137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6144 test -z "$ac_cv_prog_arosconfig_use_libpngconfig" && ac_cv_prog_arosconfig_use_libpngconfig
="no"
6147 arosconfig_use_libpngconfig
=$ac_cv_prog_arosconfig_use_libpngconfig
6148 if test -n "$arosconfig_use_libpngconfig"; then
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $arosconfig_use_libpngconfig" >&5
6150 $as_echo "$arosconfig_use_libpngconfig" >&6; }
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6153 $as_echo "no" >&6; }
6158 if test "$arosconfig_use_libpngconfig" = "yes"; then
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libpng-config library" >&5
6160 $as_echo_n "checking libpng-config library... " >&6; }
6161 libpng_incdir
="`libpng-config --cflags`"
6162 libpng_libextra
="$libpng_libextra `libpng-config --ldflags`"
6163 libpng
="`libpng-config --libs`"
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libpng" >&5
6165 $as_echo "$libpng" >&6; }
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
6169 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
6170 if ${ac_cv_lib_png_png_read_png+:} false
; then :
6171 $as_echo_n "(cached) " >&6
6173 ac_check_lib_save_LIBS
=$LIBS
6175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6176 /* end confdefs.h. */
6178 /* Override any GCC internal prototype to avoid an error.
6179 Use char because int might match the return type of a GCC
6180 builtin and then its argument prototype would still apply. */
6184 char png_read_png ();
6188 return png_read_png ();
6193 if ac_fn_c_try_link
"$LINENO"; then :
6194 ac_cv_lib_png_png_read_png
=yes
6196 ac_cv_lib_png_png_read_png
=no
6198 rm -f core conftest.err conftest.
$ac_objext \
6199 conftest
$ac_exeext conftest.
$ac_ext
6200 LIBS
=$ac_check_lib_save_LIBS
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
6203 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
6204 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
6210 if test "$libpng_libextra" != ""; then
6211 if test "$libpng" != "no"; then
6212 libpng_libextra
="$libpng_libextra $libpng"
6217 if test "$libpng" = ""; then
6220 if test "$libpng" = "no"; then
6223 if test "$req_avail" = "no"; then
6224 as_fn_error $?
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
6240 # Check for some includes for the X11 HIDD and the kernel
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6243 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6244 if ${ac_cv_path_GREP+:} false
; then :
6245 $as_echo_n "(cached) " >&6
6247 if test -z "$GREP"; then
6248 ac_path_GREP_found
=false
6249 # Loop through the user's path and test for each of PROGNAME-LIST
6250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6251 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6254 test -z "$as_dir" && as_dir
=.
6255 for ac_prog
in grep ggrep
; do
6256 for ac_exec_ext
in '' $ac_executable_extensions; do
6257 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6258 as_fn_executable_p
"$ac_path_GREP" ||
continue
6259 # Check for GNU ac_path_GREP and select it if it is found.
6260 # Check for GNU $ac_path_GREP
6261 case `"$ac_path_GREP" --version 2>&1` in
6263 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6266 $as_echo_n 0123456789 >"conftest.in"
6269 cat "conftest.in" "conftest.in" >"conftest.tmp"
6270 mv "conftest.tmp" "conftest.in"
6271 cp "conftest.in" "conftest.nl"
6272 $as_echo 'GREP' >> "conftest.nl"
6273 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6274 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6275 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6276 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6277 # Best one so far, save it but keep looking for a better one
6278 ac_cv_path_GREP
="$ac_path_GREP"
6279 ac_path_GREP_max
=$ac_count
6281 # 10*(2^10) chars as input seems more than enough
6282 test $ac_count -gt 10 && break
6284 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6287 $ac_path_GREP_found && break 3
6292 if test -z "$ac_cv_path_GREP"; then
6293 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6296 ac_cv_path_GREP
=$GREP
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6301 $as_echo "$ac_cv_path_GREP" >&6; }
6302 GREP
="$ac_cv_path_GREP"
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6306 $as_echo_n "checking for egrep... " >&6; }
6307 if ${ac_cv_path_EGREP+:} false
; then :
6308 $as_echo_n "(cached) " >&6
6310 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6311 then ac_cv_path_EGREP
="$GREP -E"
6313 if test -z "$EGREP"; then
6314 ac_path_EGREP_found
=false
6315 # Loop through the user's path and test for each of PROGNAME-LIST
6316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6317 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6320 test -z "$as_dir" && as_dir
=.
6321 for ac_prog
in egrep; do
6322 for ac_exec_ext
in '' $ac_executable_extensions; do
6323 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6324 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6325 # Check for GNU ac_path_EGREP and select it if it is found.
6326 # Check for GNU $ac_path_EGREP
6327 case `"$ac_path_EGREP" --version 2>&1` in
6329 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6332 $as_echo_n 0123456789 >"conftest.in"
6335 cat "conftest.in" "conftest.in" >"conftest.tmp"
6336 mv "conftest.tmp" "conftest.in"
6337 cp "conftest.in" "conftest.nl"
6338 $as_echo 'EGREP' >> "conftest.nl"
6339 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6340 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6341 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6342 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6343 # Best one so far, save it but keep looking for a better one
6344 ac_cv_path_EGREP
="$ac_path_EGREP"
6345 ac_path_EGREP_max
=$ac_count
6347 # 10*(2^10) chars as input seems more than enough
6348 test $ac_count -gt 10 && break
6350 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6353 $ac_path_EGREP_found && break 3
6358 if test -z "$ac_cv_path_EGREP"; then
6359 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6362 ac_cv_path_EGREP
=$EGREP
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6368 $as_echo "$ac_cv_path_EGREP" >&6; }
6369 EGREP
="$ac_cv_path_EGREP"
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6373 $as_echo_n "checking for ANSI C header files... " >&6; }
6374 if ${ac_cv_header_stdc+:} false
; then :
6375 $as_echo_n "(cached) " >&6
6377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6378 /* end confdefs.h. */
6392 if ac_fn_c_try_compile
"$LINENO"; then :
6393 ac_cv_header_stdc
=yes
6395 ac_cv_header_stdc
=no
6397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6399 if test $ac_cv_header_stdc = yes; then
6400 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6402 /* end confdefs.h. */
6406 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6407 $EGREP "memchr" >/dev
/null
2>&1; then :
6410 ac_cv_header_stdc
=no
6416 if test $ac_cv_header_stdc = yes; then
6417 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6419 /* end confdefs.h. */
6423 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6424 $EGREP "free" >/dev
/null
2>&1; then :
6427 ac_cv_header_stdc
=no
6433 if test $ac_cv_header_stdc = yes; then
6434 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6435 if test "$cross_compiling" = yes; then :
6438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6439 /* end confdefs.h. */
6442 #if ((' ' & 0x0FF) == 0x020)
6443 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6444 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6446 # define ISLOWER(c) \
6447 (('a' <= (c) && (c) <= 'i') \
6448 || ('j' <= (c) && (c) <= 'r') \
6449 || ('s' <= (c) && (c) <= 'z'))
6450 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6453 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6458 for (i = 0; i < 256; i++)
6459 if (XOR (islower (i), ISLOWER (i))
6460 || toupper (i) != TOUPPER (i))
6465 if ac_fn_c_try_run
"$LINENO"; then :
6468 ac_cv_header_stdc
=no
6470 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6471 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6477 $as_echo "$ac_cv_header_stdc" >&6; }
6478 if test $ac_cv_header_stdc = yes; then
6480 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6484 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6485 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6486 inttypes.h stdint.h unistd.h
6488 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6489 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6491 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6492 cat >>confdefs.h
<<_ACEOF
6493 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6501 for ac_header
in sys
/ipc.h sys
/shm.h \
6502 sys
/mmap.h sys
/mman.h sysexits.h \
6503 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6506 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6507 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6508 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6509 cat >>confdefs.h
<<_ACEOF
6510 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6518 for ac_header
in sys
/mount.h
6520 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6522 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6523 cat >>confdefs.h
<<_ACEOF
6524 #define HAVE_SYS_MOUNT_H 1
6533 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6534 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6536 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6537 if eval \
${$as_ac_Header+:} false
; then :
6538 $as_echo_n "(cached) " >&6
6540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6541 /* end confdefs.h. */
6542 #include <sys/types.h>
6554 if ac_fn_c_try_compile
"$LINENO"; then :
6555 eval "$as_ac_Header=yes"
6557 eval "$as_ac_Header=no"
6559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6561 eval ac_res
=\$
$as_ac_Header
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6563 $as_echo "$ac_res" >&6; }
6564 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6565 cat >>confdefs.h
<<_ACEOF
6566 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6569 ac_header_dirent
=$ac_hdr; break
6573 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6574 if test $ac_header_dirent = dirent.h
; then
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6576 $as_echo_n "checking for library containing opendir... " >&6; }
6577 if ${ac_cv_search_opendir+:} false
; then :
6578 $as_echo_n "(cached) " >&6
6580 ac_func_search_save_LIBS
=$LIBS
6581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6582 /* end confdefs.h. */
6584 /* Override any GCC internal prototype to avoid an error.
6585 Use char because int might match the return type of a GCC
6586 builtin and then its argument prototype would still apply. */
6599 for ac_lib
in '' dir
; do
6600 if test -z "$ac_lib"; then
6601 ac_res
="none required"
6604 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6606 if ac_fn_c_try_link
"$LINENO"; then :
6607 ac_cv_search_opendir
=$ac_res
6609 rm -f core conftest.err conftest.
$ac_objext \
6611 if ${ac_cv_search_opendir+:} false
; then :
6615 if ${ac_cv_search_opendir+:} false
; then :
6618 ac_cv_search_opendir
=no
6621 LIBS
=$ac_func_search_save_LIBS
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6624 $as_echo "$ac_cv_search_opendir" >&6; }
6625 ac_res
=$ac_cv_search_opendir
6626 if test "$ac_res" != no
; then :
6627 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6633 $as_echo_n "checking for library containing opendir... " >&6; }
6634 if ${ac_cv_search_opendir+:} false
; then :
6635 $as_echo_n "(cached) " >&6
6637 ac_func_search_save_LIBS
=$LIBS
6638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6639 /* end confdefs.h. */
6641 /* Override any GCC internal prototype to avoid an error.
6642 Use char because int might match the return type of a GCC
6643 builtin and then its argument prototype would still apply. */
6656 for ac_lib
in '' x
; do
6657 if test -z "$ac_lib"; then
6658 ac_res
="none required"
6661 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6663 if ac_fn_c_try_link
"$LINENO"; then :
6664 ac_cv_search_opendir
=$ac_res
6666 rm -f core conftest.err conftest.
$ac_objext \
6668 if ${ac_cv_search_opendir+:} false
; then :
6672 if ${ac_cv_search_opendir+:} false
; then :
6675 ac_cv_search_opendir
=no
6678 LIBS
=$ac_func_search_save_LIBS
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6681 $as_echo "$ac_cv_search_opendir" >&6; }
6682 ac_res
=$ac_cv_search_opendir
6683 if test "$ac_res" != no
; then :
6684 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6691 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6692 if ${ac_cv_header_stat_broken+:} false
; then :
6693 $as_echo_n "(cached) " >&6
6695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6696 /* end confdefs.h. */
6697 #include <sys/types.h>
6698 #include <sys/stat.h>
6700 #if defined S_ISBLK && defined S_IFDIR
6701 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6704 #if defined S_ISBLK && defined S_IFCHR
6705 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6708 #if defined S_ISLNK && defined S_IFREG
6709 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6712 #if defined S_ISSOCK && defined S_IFREG
6713 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6717 if ac_fn_c_try_compile
"$LINENO"; then :
6718 ac_cv_header_stat_broken
=no
6720 ac_cv_header_stat_broken
=yes
6722 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6725 $as_echo "$ac_cv_header_stat_broken" >&6; }
6726 if test $ac_cv_header_stat_broken = yes; then
6728 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6733 $as_echo_n "checking for ANSI C header files... " >&6; }
6734 if ${ac_cv_header_stdc+:} false
; then :
6735 $as_echo_n "(cached) " >&6
6737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6738 /* end confdefs.h. */
6752 if ac_fn_c_try_compile
"$LINENO"; then :
6753 ac_cv_header_stdc
=yes
6755 ac_cv_header_stdc
=no
6757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6759 if test $ac_cv_header_stdc = yes; then
6760 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6762 /* end confdefs.h. */
6766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6767 $EGREP "memchr" >/dev
/null
2>&1; then :
6770 ac_cv_header_stdc
=no
6776 if test $ac_cv_header_stdc = yes; then
6777 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6779 /* end confdefs.h. */
6783 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6784 $EGREP "free" >/dev
/null
2>&1; then :
6787 ac_cv_header_stdc
=no
6793 if test $ac_cv_header_stdc = yes; then
6794 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6795 if test "$cross_compiling" = yes; then :
6798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6799 /* end confdefs.h. */
6802 #if ((' ' & 0x0FF) == 0x020)
6803 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6804 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6806 # define ISLOWER(c) \
6807 (('a' <= (c) && (c) <= 'i') \
6808 || ('j' <= (c) && (c) <= 'r') \
6809 || ('s' <= (c) && (c) <= 'z'))
6810 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6813 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6818 for (i = 0; i < 256; i++)
6819 if (XOR (islower (i), ISLOWER (i))
6820 || toupper (i) != TOUPPER (i))
6825 if ac_fn_c_try_run
"$LINENO"; then :
6828 ac_cv_header_stdc
=no
6830 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6831 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6837 $as_echo "$ac_cv_header_stdc" >&6; }
6838 if test $ac_cv_header_stdc = yes; then
6840 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6845 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6846 if ${ac_cv_header_sys_wait_h+:} false
; then :
6847 $as_echo_n "(cached) " >&6
6849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6850 /* end confdefs.h. */
6851 #include <sys/types.h>
6852 #include <sys/wait.h>
6854 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6857 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6865 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6870 if ac_fn_c_try_compile
"$LINENO"; then :
6871 ac_cv_header_sys_wait_h
=yes
6873 ac_cv_header_sys_wait_h
=no
6875 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6878 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6879 if test $ac_cv_header_sys_wait_h = yes; then
6881 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6886 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6887 if ${ac_cv_header_time+:} false
; then :
6888 $as_echo_n "(cached) " >&6
6890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6891 /* end confdefs.h. */
6892 #include <sys/types.h>
6893 #include <sys/time.h>
6899 if ((struct tm *) 0)
6905 if ac_fn_c_try_compile
"$LINENO"; then :
6906 ac_cv_header_time
=yes
6908 ac_cv_header_time
=no
6910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6913 $as_echo "$ac_cv_header_time" >&6; }
6914 if test $ac_cv_header_time = yes; then
6916 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6920 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6921 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6923 cat >>confdefs.h
<<_ACEOF
6924 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6928 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6933 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6934 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6936 cat >>confdefs.h
<<_ACEOF
6937 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6941 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6944 case " $LIBOBJS " in
6945 *" fileblocks.$ac_objext "* ) ;;
6946 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6953 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6954 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6956 cat >>confdefs.h
<<_ACEOF
6957 #define HAVE_STRUCT_STAT_ST_RDEV 1
6961 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6967 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6968 if ${ac_cv_struct_tm+:} false
; then :
6969 $as_echo_n "(cached) " >&6
6971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6972 /* end confdefs.h. */
6973 #include <sys/types.h>
6980 int *p = &tm.tm_sec;
6986 if ac_fn_c_try_compile
"$LINENO"; then :
6987 ac_cv_struct_tm
=time.h
6989 ac_cv_struct_tm
=sys
/time.h
6991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6994 $as_echo "$ac_cv_struct_tm" >&6; }
6995 if test $ac_cv_struct_tm = sys
/time.h
; then
6997 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
7001 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
7002 #include <$ac_cv_struct_tm>
7005 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
7007 cat >>confdefs.h
<<_ACEOF
7008 #define HAVE_STRUCT_TM_TM_ZONE 1
7014 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
7016 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
7019 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
7021 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
7027 cat >>confdefs.h
<<_ACEOF
7028 #define HAVE_DECL_TZNAME $ac_have_decl
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
7032 $as_echo_n "checking for tzname... " >&6; }
7033 if ${ac_cv_var_tzname+:} false
; then :
7034 $as_echo_n "(cached) " >&6
7036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7037 /* end confdefs.h. */
7039 #if !HAVE_DECL_TZNAME
7040 extern char *tzname[];
7046 return tzname[0][0];
7051 if ac_fn_c_try_link
"$LINENO"; then :
7052 ac_cv_var_tzname
=yes
7056 rm -f core conftest.err conftest.
$ac_objext \
7057 conftest
$ac_exeext conftest.
$ac_ext
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
7060 $as_echo "$ac_cv_var_tzname" >&6; }
7061 if test $ac_cv_var_tzname = yes; then
7063 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
7068 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
7069 if test "x$ac_cv_type_off_t" = xyes
; then :
7073 cat >>confdefs.h
<<_ACEOF
7074 #define off_t long int
7079 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
7080 if test "x$ac_cv_type_pid_t" = xyes
; then :
7084 cat >>confdefs.h
<<_ACEOF
7090 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7091 if test "x$ac_cv_type_size_t" = xyes
; then :
7095 cat >>confdefs.h
<<_ACEOF
7096 #define size_t unsigned int
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
7102 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7103 if ${ac_cv_type_uid_t+:} false
; then :
7104 $as_echo_n "(cached) " >&6
7106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7107 /* end confdefs.h. */
7108 #include <sys/types.h>
7111 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7112 $EGREP "uid_t" >/dev
/null
2>&1; then :
7113 ac_cv_type_uid_t
=yes
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
7121 $as_echo "$ac_cv_type_uid_t" >&6; }
7122 if test $ac_cv_type_uid_t = no
; then
7124 $as_echo "#define uid_t int" >>confdefs.h
7127 $as_echo "#define gid_t int" >>confdefs.h
7132 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
7133 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
7135 cat >>confdefs.h
<<_ACEOF
7136 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7143 # Look for some functions
7144 for ac_func
in getpagesize kqueue statfs statvfs \
7145 clone kse_create rfork_thread thr_create sa_register \
7146 getcontext makecontext setcontext sigaltstack swapcontext
7148 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7149 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7150 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7151 cat >>confdefs.h
<<_ACEOF
7152 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7162 for ac_header
in $ac_header_list
7164 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7165 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7167 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7168 cat >>confdefs.h
<<_ACEOF
7169 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7183 for ac_func
in getpagesize
7185 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
7186 if test "x$ac_cv_func_getpagesize" = xyes
; then :
7187 cat >>confdefs.h
<<_ACEOF
7188 #define HAVE_GETPAGESIZE 1
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
7195 $as_echo_n "checking for working mmap... " >&6; }
7196 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
7197 $as_echo_n "(cached) " >&6
7199 if test "$cross_compiling" = yes; then :
7200 ac_cv_func_mmap_fixed_mapped
=no
7202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7203 /* end confdefs.h. */
7204 $ac_includes_default
7205 /* malloc might have been renamed as rpl_malloc. */
7208 /* Thanks to Mike Haertel and Jim Avera for this test.
7209 Here is a matrix of mmap possibilities:
7210 mmap private not fixed
7211 mmap private fixed at somewhere currently unmapped
7212 mmap private fixed at somewhere already mapped
7213 mmap shared not fixed
7214 mmap shared fixed at somewhere currently unmapped
7215 mmap shared fixed at somewhere already mapped
7216 For private mappings, we should verify that changes cannot be read()
7217 back from the file, nor mmap's back from the file at a different
7218 address. (There have been systems where private was not correctly
7219 implemented like the infamous i386 svr4.0, and systems where the
7220 VM page cache was not coherent with the file system buffer cache
7221 like early versions of FreeBSD and possibly contemporary NetBSD.)
7222 For shared mappings, we should conversely verify that changes get
7223 propagated back to all the places they're supposed to be.
7225 Grep wants private fixed already mapped.
7226 The main things grep needs to know about mmap are:
7227 * does it exist and is it safe to write into the mmap'd area
7228 * how to use it (BSD variants) */
7231 #include <sys/mman.h>
7233 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7237 /* This mess was copied from the GNU getpagesize.h. */
7238 #ifndef HAVE_GETPAGESIZE
7239 # ifdef _SC_PAGESIZE
7240 # define getpagesize() sysconf(_SC_PAGESIZE)
7241 # else /* no _SC_PAGESIZE */
7242 # ifdef HAVE_SYS_PARAM_H
7243 # include <sys/param.h>
7244 # ifdef EXEC_PAGESIZE
7245 # define getpagesize() EXEC_PAGESIZE
7246 # else /* no EXEC_PAGESIZE */
7248 # define getpagesize() NBPG * CLSIZE
7251 # endif /* no CLSIZE */
7252 # else /* no NBPG */
7254 # define getpagesize() NBPC
7255 # else /* no NBPC */
7257 # define getpagesize() PAGESIZE
7258 # endif /* PAGESIZE */
7259 # endif /* no NBPC */
7260 # endif /* no NBPG */
7261 # endif /* no EXEC_PAGESIZE */
7262 # else /* no HAVE_SYS_PARAM_H */
7263 # define getpagesize() 8192 /* punt totally */
7264 # endif /* no HAVE_SYS_PARAM_H */
7265 # endif /* no _SC_PAGESIZE */
7267 #endif /* no HAVE_GETPAGESIZE */
7272 char *data, *data2, *data3;
7277 pagesize = getpagesize ();
7279 /* First, make a file with some known garbage in it. */
7280 data = (char *) malloc (pagesize);
7283 for (i = 0; i < pagesize; ++i)
7284 *(data + i) = rand ();
7286 fd = creat ("conftest.mmap", 0600);
7289 if (write (fd, data, pagesize) != pagesize)
7293 /* Next, check that the tail of a page is zero-filled. File must have
7294 non-zero length, otherwise we risk SIGBUS for entire page. */
7295 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7299 if (write (fd2, cdata2, 1) != 1)
7301 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7302 if (data2 == MAP_FAILED)
7304 for (i = 0; i < pagesize; ++i)
7308 if (munmap (data2, pagesize))
7311 /* Next, try to mmap the file at a fixed address which already has
7312 something else allocated at it. If we can, also make sure that
7313 we see the same garbage. */
7314 fd = open ("conftest.mmap", O_RDWR);
7317 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7318 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7320 for (i = 0; i < pagesize; ++i)
7321 if (*(data + i) != *(data2 + i))
7324 /* Finally, make sure that changes to the mapped area do not
7325 percolate back to the file as seen by read(). (This is a bug on
7326 some variants of i386 svr4.0.) */
7327 for (i = 0; i < pagesize; ++i)
7328 *(data2 + i) = *(data2 + i) + 1;
7329 data3 = (char *) malloc (pagesize);
7332 if (read (fd, data3, pagesize) != pagesize)
7334 for (i = 0; i < pagesize; ++i)
7335 if (*(data + i) != *(data3 + i))
7341 if ac_fn_c_try_run
"$LINENO"; then :
7342 ac_cv_func_mmap_fixed_mapped
=yes
7344 ac_cv_func_mmap_fixed_mapped
=no
7346 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7347 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7352 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7353 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7355 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7358 rm -f conftest.mmap conftest.txt
7361 #-----------------------------------------------------------------------------
7364 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7365 # it switched on by default, and we use the host compiler, so it compiles AROS
7366 # code with this enabled resulting in link failures as we don't have support
7369 # We use two methods to disable it. For the host compiler (used to compile
7370 # some hosted modules), we test to see if the compiler supports stack
7371 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7372 # work on all platforms.
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7376 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7377 save_cflags
="$CFLAGS"
7378 CFLAGS
="$CFLAGS -fno-stack-protector"
7379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7380 /* end confdefs.h. */
7390 if ac_fn_c_try_compile
"$LINENO"; then :
7391 use_no_stack_protector
="yes"
7393 use_no_stack_protector
="no"
7395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7397 $as_echo "$use_no_stack_protector" >&6; }
7398 if test "x-$use_no_stack_protector" = "x-yes" ; then
7399 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7401 CFLAGS
="$save_cflags"
7403 #-----------------------------------------------------------------------------
7405 # Disable pointer-signedness warnings if the compiler recognises the option
7406 # (this only works for the host compiler at the moment)
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7409 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7410 save_cflags
="$CFLAGS"
7411 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7413 /* end confdefs.h. */
7423 if ac_fn_c_try_compile
"$LINENO"; then :
7424 use_no_sign_warning
="yes"
7426 use_no_sign_warning
="no"
7428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7430 $as_echo "$use_no_sign_warning" >&6; }
7431 if test "x-$use_no_sign_warning" = "x-yes" ; then
7432 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7434 CFLAGS
="$save_cflags"
7436 #-----------------------------------------------------------------------------
7438 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7441 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7442 save_cflags
="$CFLAGS"
7443 CFLAGS
="$CFLAGS -fgnu89-inline"
7444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7445 /* end confdefs.h. */
7455 if ac_fn_c_try_compile
"$LINENO"; then :
7456 use_gnu89_inline
="yes"
7458 use_gnu89_inline
="no"
7460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7462 $as_echo "$use_gnu89_inline" >&6; }
7463 if test "x-$use_gnu89_inline" = "x-yes" ; then
7464 gnu89_inline
="-fgnu89-inline"
7466 CFLAGS
="$save_cflags"
7469 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
7470 # On GCC >= 4.0 -iquote should be used
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
7473 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
7474 CFLAGS
="$CFLAGS -iquote."
7475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7476 /* end confdefs.h. */
7486 if ac_fn_c_try_compile
"$LINENO"; then :
7491 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
7493 $as_echo "$has_iquote" >&6; }
7494 if test "x-$has_iquote" = "x-yes" ; then
7495 host_cflags_iquote
=-iquote
7496 host_cflags_iquote_end
=
7498 host_cflags_iquote
=-I
7499 host_cflags_iquote_end
=-I-
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: Performing target configuration..." >&5
7503 $as_echo "$as_me: Performing target configuration..." >&6;}
7506 aros_nowarn_flags
="NOWARN_UNUSED_COMMAND_LINE_ARGUMENT NOWARN_UNKNOWN_WARNING_OPTION NOWARN_POINTER_SIGN NOWARN_PARENTHESES"
7508 toolchain_needs_sysroot
=no
7512 aros_config_cppflags
=
7514 aros_config_cxxflags
=
7515 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7516 aros_config_ldflags
=""
7518 aros_shared_default
=yes
7520 aros_shared_cflags
="-fPIC"
7521 aros_shared_aflags
=""
7522 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7523 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7525 aros_kernel_ar_flags
="cr"
7526 aros_target_ar_flags
="cr"
7527 aros_target_nm_flags
="-C -ul"
7528 aros_target_strip_flags
="--strip-unneeded -R.comment"
7533 aros_target_genmap
="-Wl,-Map -Xlinker"
7535 # Native flavour stuff
7536 aros_serial_debug
="0"
7538 # Palm native flavour stuff
7539 aros_palm_debug_hack
="0"
7541 # Unix flavour stuff
7542 aros_nesting_supervisor
="0"
7544 # Collect-aros stuff: "-ius" to ignore undefined symbols
7545 ignore_undefined_symbols
=""
7547 # Check for X11 by default
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which toolchain family to use ..." >&5
7556 $as_echo_n "checking Which toolchain family to use ...... " >&6; }
7558 # Check whether --with-toolchain was given.
7559 if test "${with_toolchain+set}" = set; then :
7560 withval
=$with_toolchain; aros_toolchain
="$withval"
7562 aros_toolchain
="gnu"
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_toolchain" >&5
7566 $as_echo "$aros_toolchain" >&6; }
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should enable link time optimizations (LTO)" >&5
7570 $as_echo_n "checking if we should enable link time optimizations (LTO)... " >&6; }
7571 # Check whether --enable-lto was given.
7572 if test "${enable_lto+set}" = set; then :
7573 enableval
=$enable_lto; aros_config_lto
="$enableval"
7575 aros_config_lto
="no"
7578 if test "$aros_config_lto" != "no"; then
7579 aros_config_lto
="yes"
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_config_lto" >&5
7582 $as_echo "$aros_config_lto" >&6; }
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should enable coverage instrumentation" >&5
7585 $as_echo_n "checking if we should enable coverage instrumentation... " >&6; }
7586 # Check whether --enable-coverage was given.
7587 if test "${enable_coverage+set}" = set; then :
7588 enableval
=$enable_coverage; aros_config_coverage
="$enableval"
7590 aros_config_coverage
="no"
7593 if test "$aros_config_coverage" != "no"; then
7594 aros_config_coverage
="yes"
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_config_coverage" >&5
7597 $as_echo "$aros_config_coverage" >&6; }
7601 case "$aros_toolchain" in
7603 # toolchain_needs_sysroot=yes
7604 toolchain_c_compiler
="clang"
7605 toolchain_cxx_compiler
="clang++"
7606 toolchain_cpp_preprocessor
="clang -E"
7607 toolchain_ld
="ld.lld"
7609 toolchain_as
="llvm-as"
7610 toolchain_ar
="llvm-ar"
7611 toolchain_ranlib
="llvm-ranlib"
7612 toolchain_nm
="llvm-nm"
7613 toolchain_strip
="true"
7614 toolchain_objcopy
="llvm-objcopy"
7615 toolchain_objdump
="llvm-objdump"
7618 toolchain_c_compiler
="gcc"
7619 toolchain_cxx_compiler
="g++"
7620 toolchain_cpp_preprocessor
="gcc -E"
7623 if test "$aros_config_lto" != "yes"; then
7626 toolchain_ranlib
="ranlib"
7629 toolchain_ld
="ld.bfd"
7630 toolchain_ar
="gcc-ar"
7631 toolchain_ranlib
="gcc-ranlib"
7632 toolchain_nm
="gcc-nm"
7634 toolchain_strip
="strip"
7635 toolchain_objcopy
="objcopy"
7636 toolchain_objdump
="objdump"
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown toolchain family!\"" >&5
7640 $as_echo "$as_me: WARNING: \"Unknown toolchain family!\"" >&2;}
7641 toolchain_c_compiler
="cc"
7642 toolchain_cxx_compiler
="c++"
7643 toolchain_cpp_preprocessor
="cpp"
7648 toolchain_ranlib
="ranlib"
7650 toolchain_strip
="strip"
7651 toolchain_objcopy
="objcopy"
7652 toolchain_objdump
="objdump"
7656 #-----------------------------------------------------------------------------
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which type of build to do" >&5
7659 $as_echo_n "checking which type of build to do... " >&6; }
7660 # Check whether --enable-build_type was given.
7661 if test "${enable_build_type+set}" = set; then :
7662 enableval
=$enable_build_type; build_type
=$enableval
7664 build_type
="personal"
7668 if test "$build_type" = "nightly"; then
7669 build_type_string
="NIGHTLY"
7670 elif test "$build_type" = "snapshot"; then
7671 build_type_string
="SNAPSHOT"
7672 elif test "$build_type" = "milestone"; then
7673 build_type_string
="MILESTONE"
7674 elif test "$build_type" = "release"; then
7675 build_type_string
="RELEASE"
7677 build_type_string
="PERSONAL"
7678 build_type
="personal"
7681 aros_config_cppflags
="$aros_config_cppflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7684 $as_echo "$build_type" >&6; }
7686 #-----------------------------------------------------------------------------
7687 all_debug_types
="messages stack modules mungwall symbols"
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7690 $as_echo_n "checking which debug types to enable... " >&6; }
7691 # Check whether --enable-debug was given.
7692 if test "${enable_debug+set}" = set; then :
7693 enableval
=$enable_debug; debug
="$enableval"
7699 if test "$debug" = "" -o "$debug" = "no"; then
7701 elif test "$debug" = "yes"; then
7705 if test "$debug" = "all" ; then
7706 debug
="messages stack modules symbols"
7707 for d
in $all_debug_types; do
7708 export aros_
${d}_debug
="1"
7711 for d
in $all_debug_types; do
7712 export aros_
${d}_debug
="0"
7716 if test "$debug" != "none"; then
7717 debug
=`echo $debug | sed s/,/\ /g`
7720 for d2
in $all_debug_types; do
7721 if test "$d2" = "$d"; then
7726 if test "$found" = "0"; then
7727 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7729 export aros_
${d}_debug
="1"
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7734 $as_echo "$debug" >&6; }
7736 if test "$aros_messages_debug" = "1"; then
7737 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7739 aros_messages_debug
=""
7741 if test "$aros_symbols_debug" = "1"; then
7742 aros_symbols_debug
="-g"
7744 aros_symbols_debug
=""
7747 # These are the flags to pass when compiling debugged programs
7748 aros_debug_cppflags
="$aros_messages_debug"
7749 aros_debug_cflags
="$aros_symbols_debug"
7750 aros_debug_cxxflags
=
7751 aros_debug_aflags
=""
7752 aros_debug_ldflags
="$aros_symbols_debug"
7754 #-----------------------------------------------------------------------------
7755 # Checking for distcc and ccache.
7757 # Always apply the transforms in this particular order. Basically you should
7758 # always run 'ccache distcc compiler' in that order for the best performance.
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7761 $as_echo_n "checking whether to enable distcc... " >&6; }
7762 # Check whether --enable-distcc was given.
7763 if test "${enable_distcc+set}" = set; then :
7764 enableval
=$enable_distcc; distcc
="$enableval"
7769 if test "$distcc" != "" -a "$distcc" != "no"; then
7770 # AC_CHECK_PROG will print out the result in this case
7771 # Extract the first word of "distcc", so it can be a program name with args.
7772 set dummy distcc
; ac_word
=$2
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7774 $as_echo_n "checking for $ac_word... " >&6; }
7775 if ${ac_cv_path_DISTCC+:} false
; then :
7776 $as_echo_n "(cached) " >&6
7780 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7787 test -z "$as_dir" && as_dir
=.
7788 for ac_exec_ext
in '' $ac_executable_extensions; do
7789 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7790 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7798 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7802 DISTCC
=$ac_cv_path_DISTCC
7803 if test -n "$DISTCC"; then
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7805 $as_echo "$DISTCC" >&6; }
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7808 $as_echo "no" >&6; }
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7814 $as_echo "no" >&6; }
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7818 $as_echo_n "checking whether to enable ccache... " >&6; }
7819 # Check whether --enable-ccache was given.
7820 if test "${enable_ccache+set}" = set; then :
7821 enableval
=$enable_ccache; ccache
="$enableval"
7826 if test "$ccache" != "" -a "$ccache" != "no"; then
7827 # AC_CHECK_PROG will print out the result in this case
7828 # Extract the first word of "ccache", so it can be a program name with args.
7829 set dummy ccache
; ac_word
=$2
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7831 $as_echo_n "checking for $ac_word... " >&6; }
7832 if ${ac_cv_prog_CCACHE+:} false
; then :
7833 $as_echo_n "(cached) " >&6
7835 if test -n "$CCACHE"; then
7836 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7842 test -z "$as_dir" && as_dir
=.
7843 for ac_exec_ext
in '' $ac_executable_extensions; do
7844 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7845 ac_cv_prog_CCACHE
="ccache"
7846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7855 CCACHE
=$ac_cv_prog_CCACHE
7856 if test -n "$CCACHE"; then
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7858 $as_echo "$CCACHE" >&6; }
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7861 $as_echo "no" >&6; }
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7867 $as_echo "no" >&6; }
7870 #-----------------------------------------------------------------------------
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7872 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7874 # Check whether --with-kernel-gcc-version was given.
7875 if test "${with_kernel_gcc_version+set}" = set; then :
7876 withval
=$with_kernel_gcc_version; kernel_tool_version
="$withval"
7878 kernel_tool_version
=""
7881 if test "$kernel_tool_version" != "" ; then
7882 msg_result
=$kernel_tool_version
7884 msg_result
="default"
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
7887 $as_echo "$msg_result" >&6; }
7889 #-----------------------------------------------------------------------------
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7891 $as_echo_n "checking what optimization flags to use... " >&6; }
7893 # Check whether --with-optimization was given.
7894 if test "${with_optimization+set}" = set; then :
7895 withval
=$with_optimization; optimization_level
="$withval"
7897 optimization_level
="unknown"
7900 if test "$optimization_level" = "unknown"; then
7901 optimization
="default"
7902 if test "$debug" != "none"; then
7903 optimization_level
="-O0"
7905 optimization_level
="-O2"
7908 optimization
="$optimization_level"
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7911 $as_echo "$optimization" >&6; }
7913 paranoia_default
=yes
7914 #-----------------------------------------------------------------------------
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which paranoia flags to use" >&5
7916 $as_echo_n "checking which paranoia flags to use... " >&6; }
7918 # Check whether --with-paranoia was given.
7919 if test "${with_paranoia+set}" = set; then :
7920 withval
=$with_paranoia; paranoia_flags
="$withval"
7922 paranoia_flags
="$paranoia_default"
7925 if test "$paranoia_flags" = "no"; then
7926 paranoia_flags
="-Wall -Werror-implicit-function-declaration"
7929 if test "$paranoia_flags" = "yes"; then
7930 paranoia_flags
="-Wall -Werror"
7932 msg_result
="$paranoia_flags"
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
7935 $as_echo "$msg_result" >&6; }
7936 aros_warn_flags
="$aros_warn_flags $paranoia_flags"
7938 #-----------------------------------------------------------------------------
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7940 $as_echo_n "checking what target variant to enable... " >&6; }
7941 # Check whether --enable-target_variant was given.
7942 if test "${enable_target_variant+set}" = set; then :
7943 enableval
=$enable_target_variant; target_variant
=$enableval
7948 if test "$target_variant" = ""; then
7949 aros_target_variant
=""
7950 aros_target_suffix
=""
7953 aros_target_variant
="$target_variant"
7954 aros_target_suffix
="-$target_variant"
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7957 $as_echo "$enableval" >&6; }
7959 #-----------------------------------------------------------------------------
7960 # Target-specific defaults. You can override then on a per-target basis.
7962 # Bootloader name. Currently used by PC target.
7963 target_bootloader
="none"
7967 #-----------------------------------------------------------------------------
7968 # Additional options for some specific targets
7970 case "$aros_target_variant" in
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7973 $as_echo_n "checking XCode path... " >&6; }
7975 # Check whether --with-xcode was given.
7976 if test "${with_xcode+set}" = set; then :
7977 withval
=$with_xcode; aros_xcode_path
="$withval"
7979 aros_xcode_path
="/Developer"
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7983 $as_echo "$aros_xcode_path" >&6; }
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7986 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7988 # Check whether --with-sdk-version was given.
7989 if test "${with_sdk_version+set}" = set; then :
7990 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7992 aros_sdk_version
="4.1"
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7996 $as_echo "$aros_sdk_version" >&6; }
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
8002 $as_echo_n "checking Android SDK path... " >&6; }
8004 # Check whether --with-sdk was given.
8005 if test "${with_sdk+set}" = set; then :
8006 withval
=$with_sdk; aros_android_sdk
="$withval"
8008 aros_android_sdk
=$default_android_sdk
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
8012 $as_echo "$aros_android_sdk" >&6; }
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
8015 $as_echo_n "checking Android NDK path... " >&6; }
8017 # Check whether --with-ndk was given.
8018 if test "${with_ndk+set}" = set; then :
8019 withval
=$with_ndk; aros_android_ndk
="$withval"
8021 aros_android_ndk
="none"
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
8025 $as_echo "$aros_android_ndk" >&6; }
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
8028 $as_echo_n "checking what Android SDK version to use... " >&6; }
8030 # Check whether --with-sdk-version was given.
8031 if test "${with_sdk_version+set}" = set; then :
8032 withval
=$with_sdk_version; aros_sdk_version
="$withval"
8034 aros_sdk_version
="12"
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
8038 $as_echo "$aros_sdk_version" >&6; }
8040 aros_android_level
=android-
$aros_sdk_version
8041 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
8042 echo "Platform $aros_android_level is not installed in your SDK"
8043 echo "Use --with-sdk-version=<API level number> to select another platform version"
8044 echo "You can check what plaform versions are installed in your SDK"
8045 echo "by examining contents of $aros_android_sdk/platforms directory"
8046 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
8049 export PATH
="$aros_android_sdk/tools:$PATH"
8050 # Extract the first word of "$android_tool", so it can be a program name with args.
8051 set dummy
$android_tool; ac_word
=$2
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8053 $as_echo_n "checking for $ac_word... " >&6; }
8054 if ${ac_cv_path_android_tool+:} false
; then :
8055 $as_echo_n "(cached) " >&6
8057 case $android_tool in
8059 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
8062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8066 test -z "$as_dir" && as_dir
=.
8067 for ac_exec_ext
in '' $ac_executable_extensions; do
8068 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8069 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
8070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8080 android_tool
=$ac_cv_path_android_tool
8081 if test -n "$android_tool"; then
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
8083 $as_echo "$android_tool" >&6; }
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8086 $as_echo "no" >&6; }
8091 if test "$android_tool" = ""; then
8094 if test "$android_tool" = "no"; then
8097 if test "$req_avail" = "no"; then
8098 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
8101 if test "$aros_android_ndk" != "none"; then
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
8103 $as_echo_n "checking what Android NDK version to use... " >&6; }
8105 # Check whether --with-ndk-version was given.
8106 if test "${with_ndk_version+set}" = set; then :
8107 withval
=$with_ndk_version; aros_ndk_version
="$withval"
8109 aros_ndk_version
="9"
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
8113 $as_echo "$aros_ndk_version" >&6; }
8116 # Extract the first word of "ant", so it can be a program name with args.
8117 set dummy ant
; ac_word
=$2
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8119 $as_echo_n "checking for $ac_word... " >&6; }
8120 if ${ac_cv_path_ant+:} false
; then :
8121 $as_echo_n "(cached) " >&6
8125 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
8128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8132 test -z "$as_dir" && as_dir
=.
8133 for ac_exec_ext
in '' $ac_executable_extensions; do
8134 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8135 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
8136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8147 if test -n "$ant"; then
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
8149 $as_echo "$ant" >&6; }
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8152 $as_echo "no" >&6; }
8156 if test "$ant" = ""; then
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
8158 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Build debug or release apk" >&5
8162 $as_echo_n "checking Build debug or release apk... " >&6; }
8164 # Check whether --with-apk-version was given.
8165 if test "${with_apk_version+set}" = set; then :
8166 withval
=$with_apk_version; aros_android_antapk
=$withval
8168 aros_android_antapk
=release
8171 if test $aros_android_antapk != release
-a $aros_android_antapk != debug
; then
8172 as_fn_error $?
"apk-version has to be release or debug" "$LINENO" 5
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_antapk" >&5
8175 $as_echo "$aros_android_antapk" >&6; }
8177 if test "$host_os" = "mingw32"; then
8178 android_tool
="cmd //c $android_tool"
8186 #-----------------------------------------------------------------------------
8187 # External toolchains
8188 kernel_tool_prefix
="none"
8189 aros_tool_prefix
="none"
8190 elf_tool_prefix
="${target_cpu}-elf-"
8192 # This is the target configuration switch.
8193 case "$target_os" in
8195 aros_target_arch
="linux"
8196 aros_target_family
="unix"
8197 case "$target_cpu" in
8199 aros_target_cpu
="m68k"
8200 aros_object_format
="m68kelf"
8201 aros_flavour
="emulcompat"
8202 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8203 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8204 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8205 gcc_target_cpu
="mc68000"
8208 aros_target_cpu
="i386"
8209 aros_object_format
="elf_i386"
8210 aros_flavour
="emulation"
8211 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8212 aros_kernel_ldflags
="-Wl,-melf_i386"
8213 aros_nominal_depth
=8
8214 gcc_target_cpu
="i386"
8215 pci_hidd_target
="hidd-pci-linux"
8216 android_tool_dir_prefix
="x86"
8217 android_tool_prefix
="i686-android-linux"
8218 android_ndk_arch
="x86"
8221 aros_target_cpu
="x86_64"
8222 aros_object_format
="elf_x86_64"
8223 aros_flavour
="emulation"
8224 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8225 aros_isa_flags
="$aros_isa_flags -mcmodel=large -mno-red-zone"
8226 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8227 aros_config_cxxflags
="$aros_config_cxxflags -fno-omit-frame-pointer"
8228 aros_nominal_depth
=8
8229 pci_hidd_target
="hidd-pci-linux"
8232 aros_target_cpu
="ppc"
8233 aros_object_format
="elf32ppc"
8234 aros_flavour
="emulation"
8235 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8236 aros_nominal_depth
=8
8237 gcc_target_cpu
="ppc"
8240 # Same as powerpc, but I need this for the nightly build to work again.
8241 # Actually, the nightly should be made working with powerpc target.
8242 # That just was too much work for the moment, another week or two.
8244 aros_target_cpu
="ppc"
8245 aros_object_format
="elf32ppc"
8246 aros_flavour
="emulation"
8247 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8248 aros_nominal_depth
=8
8249 gcc_target_cpu
="ppc"
8252 aros_target_cpu
="aarch64"
8253 target_cpu
="aarch64"
8254 aros_object_format
="aarch64elf_aros"
8255 aros_flavour
="emulation"
8256 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8257 gcc_target_cpu
="aarch64"
8258 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
8259 aros_config_cxxflags
="$aros_config_cxxflags -fno-strict-aliasing -fno-omit-frame-pointer"
8260 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
8261 aros_arch_libs
="-laeabi"
8262 gcc_default_float_abi
="hard"
8263 kernel_tool_prefix
="aarch64-linux-gnueabihf-"
8266 aros_target_cpu
="arm"
8268 aros_object_format
="armelf_aros"
8269 aros_flavour
="emulation"
8270 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8271 gcc_target_cpu
="arm"
8272 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
8273 aros_config_cxxflags
="$aros_config_cxxflags -fno-strict-aliasing -fno-omit-frame-pointer"
8274 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
8275 aros_arch_libs
="-laeabi"
8276 gcc_default_float_abi
="hard"
8277 android_tool_dir_prefix
="arm-linux-androideabi"
8278 android_tool_prefix
="arm-linux-androideabi"
8279 android_ndk_arch
="arm"
8280 kernel_tool_prefix
="arm-linux-gnueabihf-"
8283 aros_target_cpu
="arm"
8284 aros_object_format
="armelf_aros"
8285 aros_flavour
="emulation"
8286 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8287 gcc_target_cpu
="arm"
8288 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
8289 aros_config_cxxflags
="$aros_config_cxxflags -fno-strict-aliasing -fno-omit-frame-pointer"
8290 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
8291 aros_arch_libs
="-laeabi"
8292 android_tool_dir_prefix
="arm-linux-androideabi"
8293 android_tool_prefix
="arm-linux-androideabi"
8294 android_ndk_arch
="arm"
8295 kernel_tool_prefix
="arm-linux-gnueabi-"
8298 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
8301 case "$aros_target_variant" in
8304 if test "$android_ndk_arch" = ""; then
8305 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
8308 aros_nominal_width
=320
8309 aros_nominal_height
=480
8310 if test "$aros_android_ndk" = "none"; then
8311 aros_kernel_cflags
="-mandroid"
8312 aros_kernel_ldflags
="-mandroid"
8315 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$kernel_tool_version/prebuilt/$android_build_os/bin:$PATH"
8316 kernel_tool_version
=""
8317 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
8318 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
8319 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
8320 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
8321 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
8324 host_android_gfx
=yes
8325 # Disable implicit PIC mode
8326 aros_config_cflags
="$aros_config_cflags -fno-pic"
8327 kernel_tool_prefix
="$android_tool_prefix-"
8333 aros_target_arch
="pc"
8334 aros_shared_default
="no"
8335 target_bootloader
="grub2"
8336 case "$target_cpu" in
8338 aros_target_cpu
="i386"
8341 if test "$aros_object_format" = "" ; then
8342 aros_object_format
="elf_i386"
8344 aros_flavour
="standalone"
8345 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8346 aros_kernel_ldflags
="-Wl,-melf_i386"
8347 aros_nominal_width
=640
8348 aros_nominal_height
=480
8349 gcc_target_cpu
="i386"
8352 PLATFORM_EXECSMP
="#define __AROSPLATFORM_SMP__"
8353 aros_target_cpu
="x86_64"
8355 if test "$aros_object_format" = "" ; then
8356 aros_object_format
="elf_x86_64"
8358 aros_flavour
="standalone"
8359 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8360 aros_isa_flags
="$aros_isa_flags -mcmodel=large -mno-red-zone"
8361 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -fno-omit-frame-pointer"
8362 aros_config_cxxflags
="$aros_config_cxxflags -fno-asynchronous-unwind-tables -fno-omit-frame-pointer"
8363 aros_kernel_ldflags
=""
8364 aros_nominal_width
=640
8365 aros_nominal_height
=480
8366 case "$aros_target_variant" in
8368 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8373 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
8379 aros_target_arch
="prep"
8380 aros_shared_default
="no"
8381 aros_target_cpu
="ppc"
8382 aros_object_format
="elf32ppc"
8383 aros_flavour
="ppcnative"
8384 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8385 aros_kernel_ldflags
=""
8386 aros_nominal_width
=640
8387 aros_nominal_height
=480
8388 gcc_target_cpu
="ppc"
8392 aros_target_arch
="freebsd"
8393 aros_target_family
="unix"
8394 aros_target_cpu
="i386"
8395 aros_flavour
="emulation"
8396 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8397 gcc_target_cpu
="i386"
8399 aros_target_strip_flags
="-x"
8403 aros_target_arch
="darwin"
8404 aros_target_family
="unix"
8405 aros_flavour
="emulation"
8406 case "$target_cpu" in
8408 aros_ios_platform
="iPhoneSimulator"
8409 aros_target_cpu
="i386"
8410 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8411 aros_kernel_ldflags
=""
8412 aros_macosx_version
="10.4"
8413 aros_nominal_depth
=8
8414 gcc_target_cpu
="i386"
8415 aros_object_format
="elf_i386"
8416 aros_kernel_ar_flags
="-cr"
8417 aros_target_strip_flags
="-x"
8418 kernel_tool_flags
="-m32"
8421 aros_target_cpu
="x86_64"
8422 aros_object_format
="elf_x86_64"
8423 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8424 aros_macosx_version
="10.6"
8425 aros_isa_flags
="$aros_isa_flags -mcmodel=large"
8426 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8427 aros_config_cxxflags
="$aros_config_cxxflags -fno-omit-frame-pointer"
8428 aros_kernel_cflags
="-m64"
8429 aros_kernel_ldflags
="-m64"
8430 aros_nominal_depth
=8
8432 aros_kernel_ar_flags
="-cr"
8435 aros_kernel_ranlib
="ranlib"
8437 aros_kernel_strip
="strip"
8438 kernel_tool_prefix
="i686-apple-darwin10-"
8441 aros_target_cpu
="ppc"
8442 aros_object_format
="elf32ppc"
8443 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8444 aros_kernel_ldflags
=""
8445 aros_macosx_version
="10.0"
8446 aros_nominal_depth
=8
8447 gcc_target_cpu
="ppc"
8449 aros_kernel_ar_flags
="-cr"
8450 aros_kernel_ld
="ld -arch ppc"
8451 aros_kernel_as
="as -arch ppc"
8452 aros_kernel_ranlib
="ranlib -arch ppc"
8453 aros_kernel_nm
="nm -arch ppc"
8454 aros_kernel_strip
="strip -arch ppc"
8455 kernel_tool_prefix
="powerpc-apple-darwin10-"
8458 aros_ios_platform
="iPhoneOS"
8459 aros_target_cpu
="arm"
8460 aros_object_format
="armelf_aros"
8461 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8462 aros_arch_libs
="-laeabi"
8463 aros_nominal_depth
=8
8464 gcc_target_cpu
="arm"
8466 aros_kernel_ar_flags
="-cr"
8467 aros_kernel_ld
="ld -arch arm"
8468 aros_kernel_ranlib
="ranlib -arch arm"
8469 kernel_tool_prefix
="arm-apple-darwin10-"
8470 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8473 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8476 case "$aros_target_variant" in
8478 aros_ios_version
="3.0"
8479 aros_nominal_width
=320
8480 aros_nominal_height
=480
8481 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8482 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8483 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8485 # This is here because it may depend on iOS or SDK version
8486 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8487 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8488 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8491 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8492 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8498 aros_target_arch
="dragonfly"
8499 aros_target_family
="unix"
8500 aros_flavour
="emulation"
8501 case "$target_cpu" in
8503 aros_target_cpu
="i386"
8504 aros_object_format
="elf_i386"
8505 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
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__"
8515 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8521 aros_target_arch
="netbsd"
8522 aros_target_family
="unix"
8523 case "$target_cpu" in
8525 aros_target_cpu
="m68k"
8526 aros_object_format
="m68kelf"
8527 aros_flavour
="emulcompat"
8528 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8529 gcc_target_cpu
="mc68000"
8532 aros_target_cpu
="i386"
8533 aros_object_format
="elf_i386"
8534 aros_flavour
="emulation"
8535 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8536 aros_nominal_depth
=8
8537 gcc_target_cpu
="i386"
8540 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8543 aros_target_genmap
="-Wl,-M -Xlinker >"
8544 aros_flavour
="emulation"
8545 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8549 aros_target_arch
="openbsd"
8550 aros_target_family
="unix"
8551 case "$target_cpu" in
8553 aros_target_cpu
="i386"
8554 aros_object_format
="elf_i386"
8555 aros_flavour
="emulation"
8556 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8557 gcc_target_cpu
="i386"
8560 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8563 aros_target_genmap
="-Wl,-M -Xlinker >"
8564 aros_target_nm_flags
="-u"
8565 aros_flavour
="emulation"
8569 aros_target_arch
="solaris"
8570 aros_target_family
="unix"
8571 case "$target_cpu" in
8573 aros_target_cpu
="i386"
8574 aros_object_format
="elf_i386"
8575 aros_flavour
="emulation"
8576 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8577 aros_nominal_depth
=8
8578 gcc_target_cpu
="i386"
8581 aros_target_cpu
="sparc"
8582 aros_object_format
="elf_sparc"
8583 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8584 gcc_target_cpu
="sparc"
8587 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8590 aros_config_cppflags
="$aros_config_cppflags -D$aros_target_cpu"
8591 aros_flavour
="emulation"
8595 aros_target_arch
="morphos"
8596 aros_shared_default
="no"
8597 aros_target_cpu
="ppc"
8598 aros_object_format
="elf_ppc"
8599 aros_flavour
="nativecompat"
8600 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8601 gcc_target_cpu
="ppc"
8605 aros_target_arch
="sam440"
8606 aros_shared_default
="no"
8607 aros_target_cpu
="ppc"
8608 aros_object_format
="elf32ppc"
8609 aros_flavour
="ppcnative"
8610 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8611 aros_kernel_ldflags
=""
8612 aros_nominal_width
=1024
8613 aros_nominal_height
=768
8614 aros_nominal_depth
=24
8615 aros_isa_flags
="$aros_isa_flags -mcpu=440fp -mno-toc"
8616 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables"
8617 aros_config_cxxflags
="$aros_config_cxxflags -fno-asynchronous-unwind-tables"
8618 gcc_target_cpu
="powerpc"
8622 aros_target_arch
="efika"
8623 aros_shared_default
="no"
8624 aros_target_cpu
="arm"
8625 aros_object_format
="armelf_aros"
8626 aros_flavour
="standalone"
8627 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8628 aros_kernel_ldflags
=""
8629 aros_nominal_width
=1024
8630 aros_nominal_height
=600
8631 aros_arch_libs
="-laeabi"
8632 gcc_default_cpu
="armv7-a"
8633 gcc_default_fpu
="vfpv3"
8634 aros_isa_flags
="$aros_isa_flags -mtune=cortex-a8"
8635 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8636 aros_config_cxxflags
="$aros_config_cxxflags -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8637 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8638 if test "$optimization" = "default"; then
8639 optimization_level
="-Os"
8641 case "$target_cpu" in
8643 gcc_default_float_abi
="hard"
8648 gcc_default_float_abi
="softfp"
8651 as_fn_error $?
"\"Unknown CPU for EfikaMX $target_cpu\"" "$LINENO" 5
8657 aros_target_arch
="chrp"
8658 aros_shared_default
="no"
8659 aros_target_cpu
="ppc"
8660 aros_object_format
="elf32ppc"
8661 aros_flavour
="ppcnative"
8662 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8663 aros_kernel_ldflags
=""
8664 aros_nominal_width
=640
8665 aros_nominal_height
=480
8666 aros_isa_flags
="$aros_isa_flags -mno-toc"
8667 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables"
8668 aros_config_cxxflags
="$aros_config_cxxflags -fno-asynchronous-unwind-tables"
8669 gcc_target_cpu
="powerpc"
8670 case "$aros_target_variant" in
8672 aros_isa_flags
="$aros_isa_flags -mcpu=603e"
8673 aros_config_cppflags
="$aros_config_cppflags -DBIG_ENDIAN_OHCI=1"
8679 PLATFORM_EXECSMP
="#define __AROSPLATFORM_SMP__"
8680 aros_flavour
="standalone"
8681 aros_target_arch
="raspi"
8683 aros_shared_default
="no"
8685 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__"
8687 case "$target_cpu" in
8689 aros_target_cpu
="aarch64"
8690 gcc_default_cpu
="aarch64"
8691 aros_object_format
="aarch64elf_aros"
8694 aros_target_cpu
="arm"
8695 gcc_default_cpu
="armv6zk"
8696 gcc_default_cpu_tune
="arm1176jzf-s"
8697 aros_object_format
="armelf_aros"
8698 aros_isa_flags
="$aros_isa_flags -marm"
8699 aros_config_cflags
="$aros_config_cflags"
8700 aros_config_cxxflags
="$aros_config_cxxflags"
8701 aros_config_aflags
="$aros_config_aflags -marm"
8702 aros_kernel_cflags
="$aros_kernel_cflags -marm"
8703 aros_target_mkdep
="$aros_target_mkdep -Darm"
8704 aros_arch_libs
="-laeabi"
8707 aros_target_cpu
="arm"
8708 gcc_default_cpu
="armv6zk"
8709 gcc_default_cpu_tune
="arm1176jzf-s"
8710 aros_object_format
="armelf_aros"
8711 aros_isa_flags
="$aros_isa_flags -marm"
8712 aros_config_cflags
="$aros_config_cflags"
8713 aros_config_cxxflags
="$aros_config_cxxflags"
8714 aros_config_aflags
="$aros_config_aflags -marm"
8715 aros_kernel_cflags
="$aros_kernel_cflags -marm"
8716 aros_target_mkdep
="$aros_target_mkdep -Darm"
8717 aros_arch_libs
="-laeabi"
8720 as_fn_error $?
"\"Unknown CPU for RasPi $target_cpu\"" "$LINENO" 5
8724 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -fno-exceptions"
8725 aros_config_cxxflags
="$aros_config_cxxflags -fno-asynchronous-unwind-tables -fno-exceptions"
8726 aros_config_aflags
="$aros_config_aflags -fno-asynchronous-unwind-tables -fno-exceptions"
8727 aros_kernel_cflags
="$aros_kernel_cflags -fno-asynchronous-unwind-tables -fno-exceptions"
8729 case "$aros_target_variant" in
8731 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8737 aros_flavour
="standalone"
8738 aros_target_arch
="stm32f7_discovery"
8739 aros_target_cpu
="arm"
8740 aros_target_cpu_mode
="thumb2"
8741 aros_object_format
="armelf_aros"
8742 aros_shared_default
="no"
8744 gcc_default_cpu
="armv7e-m"
8745 gcc_default_cpu_tune
="cortex-m7"
8746 gcc_default_fpu
="fpv5-sp-d16"
8747 gcc_default_float_abi
="hard"
8749 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dthumb"
8753 aros_target_arch
="amiga"
8754 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8755 aros_shared_default
="no"
8757 case "$target_cpu" in
8759 # Check whether --enable-amigaos_compliance was given.
8760 if test "${enable_amigaos_compliance+set}" = set; then :
8761 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8765 aros_target_cpu
="m68k"
8766 aros_object_format
="m68kelf"
8767 aros_flavour
="standcompat"
8768 gcc_target_cpu
="m68000"
8769 aros_nowarn_flags
="$aros_nowarn_flags NOWARN_VOLATILE_REGISTER_VAR"
8770 aros_config_cppflags
="$aros_config_cppflags -DNOLIBINLINE"
8771 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin"
8772 aros_config_cxxflags
="$aros_config_cxxflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin"
8773 if test "$optimization" = "default"; then
8774 optimization_level
="-Os"
8776 aros_config_aflags
="$aros_config_aflags"
8777 aros_target_strip_flags
="-R.comment --strip-debug"
8778 aros_nominal_width
=640
8779 aros_nominal_height
=256
8780 aros_nominal_depth
=2
8784 aros_flavour
="native"
8785 gcc_target_cpu
="ppc"
8788 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8794 aros_target_arch
="mingw32"
8795 aros_shared_default
="no"
8796 aros_flavour
="emulation"
8797 aros_shared_cflags
=""
8798 need_crosstools
="yes"
8801 case "$target_cpu" in
8803 aros_target_cpu
="i386"
8804 aros_object_format
="elf_i386"
8805 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8806 aros_nominal_depth
=8
8807 gcc_target_cpu
="i386"
8809 kernel_tool_prefix
="i386-mingw32-"
8812 aros_target_cpu
="x86_64"
8813 aros_object_format
="elf_x86_64"
8814 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8815 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8816 aros_config_cxxflags
="$aros_config_cxxflags -fno-omit-frame-pointer"
8817 aros_nominal_depth
=8
8818 kernel_tool_prefix
="x86_64-w64-mingw32-"
8821 aros_target_cpu
="arm"
8822 aros_object_format
="armelf_aros"
8823 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8824 aros_arch_libs
="-laeabi"
8825 aros_nominal_depth
=8
8826 gcc_target_cpu
="arm"
8827 gcc_default_float_abi
="soft"
8828 kernel_tool_prefix
="arm-mingw32ce-"
8829 aros_nominal_width
=160
8830 aros_nominal_height
=160
8833 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8836 if test $host_os = "cygwin"; then
8837 aros_kernel_cflags
="-mno-cygwin"
8841 aros_target_arch
="pp"
8842 aros_shared_default
="no"
8843 case "$target_cpu" in
8845 aros_target_cpu
="m68k"
8846 aros_object_format
="m68kelf"
8847 aros_flavour
="palmnative"
8848 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8849 aros_nominal_width
=160
8850 aros_nominal_height
=160
8851 aros_nominal_depth
=1
8852 aros_target_ar_flags
="cru"
8853 aros_compiler_libs
="-lgcc1"
8854 aros_shared_default
=no
8855 aros_shared_cflags
="-fpic"
8856 aros_shared_aflags
=""
8857 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8858 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8859 aros_debug_cppflags
="$aros_messages_debug"
8860 aros_debug_cflags
="$aros_symbols_debug"
8861 aros_debug_aflags
=""
8862 aros_debug_ldflags
="$aros_symbols_debug"
8863 aros_mungwall_debug
="0"
8864 aros_modules_debug
="0"
8865 gcc_target_cpu
="mc68000"
8866 ignore_undefined_symbols
="-ius"
8869 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8875 aros_target_arch
="mac"
8876 aros_shared_default
="no"
8877 case "$target_cpu" in
8879 aros_target_cpu
="m68k"
8880 aros_object_format
="m68kelf"
8881 aros_flavour
="mac68knative"
8882 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8883 aros_nominal_width
=512
8884 aros_nominal_height
=384
8885 aros_nominal_depth
=8
8886 aros_target_ar_flags
="cru"
8887 aros_compiler_libs
="-lgcc1"
8888 aros_shared_default
=no
8889 aros_shared_cflags
="-fpic"
8890 aros_shared_aflags
=""
8891 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8892 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8893 aros_debug_cppflags
="$aros_messages_debug"
8894 aros_debug_cflags
="$aros_symbols_debug"
8895 aros_debug_aflags
=""
8896 aros_debug_ldflags
="$aros_symbols_debug"
8897 aros_mungwall_debug
="0"
8898 aros_modules_debug
="0"
8899 gcc_target_cpu
="mc68000"
8900 ignore_undefined_symbols
="-ius"
8903 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8909 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8913 #-----------------------------------------------------------------------------
8914 crosstools_guess
="yes"
8915 aros_target_toolchain
="no"
8916 aros_config_sysroot
=""
8917 aros_kernel_sysroot
=""
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8920 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8922 # Check whether --with-kernel-toolchain-prefix was given.
8923 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8924 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8928 $as_echo "$kernel_tool_prefix" >&6; }
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8931 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8933 # Check whether --with-elf-toolchain-prefix was given.
8934 if test "${with_elf_toolchain_prefix+set}" = set; then :
8935 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8936 crosstools_guess
="no"
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8940 $as_echo "$elf_tool_prefix" >&6; }
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8943 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8945 # Check whether --with-aros-toolchain was given.
8946 if test "${with_aros_toolchain+set}" = set; then :
8947 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8948 crosstools_guess
="no"
8951 if test "$aros_tool_prefix" = "yes" ; then
8952 aros_tool_prefix
=$aros_target_cpu-aros-
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8955 $as_echo "$aros_tool_prefix" >&6; }
8957 #-----------------------------------------------------------------------------
8958 # Checking if we should build crosstools..
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8960 $as_echo_n "checking whether to build crosstools... " >&6; }
8961 # Check whether --enable-crosstools was given.
8962 if test "${enable_crosstools+set}" = set; then :
8963 enableval
=$enable_crosstools; crosstools
="$enableval"
8965 crosstools
="$crosstools_guess"
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8969 $as_echo "$crosstools" >&6; }
8971 if test "${crosstools}" = "yes"; then
8972 if test "${crosstools_guess}" = "no"; then
8973 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8977 if test "${crosstools}" = "yes" ||
test "${crosstools_guess}" = "no"; then
8978 aros_target_toolchain
="yes"
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8982 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8984 # Check whether --with-aros-toolchain-install was given.
8985 if test "${with_aros_toolchain_install+set}" = set; then :
8986 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8989 if test "x$aros_toolchain_install" = "x"; then
8990 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8992 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8993 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8994 if test "$crosstools_guess" = "no" ; then
8995 toolchain_needs_sysroot
=yes
8997 if test "x-$aros_flavour" != "x-emulation" -a "x-$aros_flavour" != "x-emulcompat" ; then
8998 aros_kernel_sysroot
= $aros_config_sysroot
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
9003 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking If we need to use --sysroot" >&5
9006 $as_echo_n "checking If we need to use --sysroot... " >&6; }
9007 if test "$toolchain_needs_sysroot" = "yes" ; then
9008 aros_config_sysroot
="--sysroot $AROS_BUILDDIR_UNIX/bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Developer"
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolchain_needs_sysroot" >&5
9011 $as_echo "$toolchain_needs_sysroot" >&6; }
9013 #-----------------------------------------------------------------------------
9014 if test "$aros_toolchain" = "gnu" ; then
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target binutils version to use" >&5
9016 $as_echo_n "checking what specific target binutils version to use... " >&6; }
9019 # Check whether --with-binutils-version was given.
9020 if test "${with_binutils_version+set}" = set; then :
9021 withval
=$with_binutils_version; use_binutils_version
="$withval"
9023 use_binutils_version
=""
9026 if test "$use_binutils_version" = ""; then
9027 target_binutils_version
="$default_binutils_version"
9029 target_binutils_version
="$use_binutils_version"
9031 if test "$aros_toolchain" = "gnu" ; then
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_binutils_version" >&5
9033 $as_echo "$target_binutils_version" >&6; }
9037 # Helper to identify gcc version
9040 #-----------------------------------------------------------------------------
9041 if test "$aros_toolchain" = "gnu" ; then
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
9043 $as_echo_n "checking what specific target gcc version to use... " >&6; }
9046 # Check whether --with-gcc-version was given.
9047 if test "${with_gcc_version+set}" = set; then :
9048 withval
=$with_gcc_version; use_gcc_version
="$withval"
9053 if test "$use_gcc_version" = ""; then
9054 if test "${crosstools}" = "no"; then
9055 if test "x$aros_toolchain_install" != "x"; then
9057 target_gcc_version
=""
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
9059 $as_echo_n "checking gcc version... " >&6; }
9060 if ${ax_cv_gcc_version+:} false
; then :
9061 $as_echo_n "(cached) " >&6
9064 ax_cv_gcc_version
="`$AROS_CROSSTOOLSDIR/${aros_tool_prefix}${toolchain_cpp_preprocessor} -dumpversion`"
9065 if test "x$ax_cv_gcc_version" = "x"; then :
9067 ax_cv_gcc_version
=""
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_version" >&5
9073 $as_echo "$ax_cv_gcc_version" >&6; }
9074 target_gcc_version
=$ax_cv_gcc_version
9079 if test "$use_gcc_version" = ""; then
9080 target_gcc_version
="$default_gcc_version"
9083 target_gcc_version
="$use_gcc_version"
9085 if test "$aros_toolchain" = "gnu" ; then
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_gcc_version" >&5
9087 $as_echo "$target_gcc_version" >&6; }
9089 GCC_VERSION_MAJOR
=$
(echo $target_gcc_version | cut
-d'.' -f1)
9090 GCC_VERSION_MINOR
=$
(echo $target_gcc_version | cut
-d'.' -f2)
9091 GCC_VERSION_PATCH
=$
(echo $target_gcc_version | cut
-d'.' -f3)
9093 gcc_fix_bitfields
="false"
9094 if test "$GCC_VERSION_MAJOR" -gt "4" ; then
9095 gcc_fix_bitfields
="true"
9097 if test "$GCC_VERSION_MAJOR" -gt "3" ; then
9098 if test "$GCC_VERSION_MINOR" -gt "6" ; then
9099 gcc_fix_bitfields
="true"
9104 if test "$gcc_fix_bitfields" = "true" ; then
9105 case "$aros_target_cpu" in
9107 aros_kernel_cflags
="$aros_kernel_cflags -mno-ms-bitfields"
9108 aros_isa_flags
="$aros_isa_flags -mno-ms-bitfields"
9111 aros_kernel_cflags
="$aros_kernel_cflags -mno-ms-bitfields"
9112 aros_isa_flags
="$aros_isa_flags -mno-ms-bitfields"
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Objective-C suppport" >&5
9119 $as_echo_n "checking whether to enable Objective-C suppport... " >&6; }
9120 # Check whether --enable-objc was given.
9121 if test "${enable_objc+set}" = set; then :
9122 enableval
=$enable_objc; objc
="$enableval"
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objc" >&5
9128 $as_echo "$objc" >&6; }
9129 if test "x$objc" = "xyes"; then
9132 objc_target
="no-objc"
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Java suppport" >&5
9136 $as_echo_n "checking whether to enable Java suppport... " >&6; }
9137 # Check whether --enable-java was given.
9138 if test "${enable_java+set}" = set; then :
9139 enableval
=$enable_java; java
="$enableval"
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $java" >&5
9145 $as_echo "$java" >&6; }
9146 if test "x$java" != "xno"; then
9149 java_target
="no-java"
9152 spec_obj_format
="-m $aros_object_format"
9153 # Now process extra architecture-specific options.
9154 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
9155 # as well as floating-point ABI.
9156 case "$aros_target_cpu" in
9158 spec_obj_format
="%{!m32:-m elf_x86_64} %{m32:-m elf_i386}"
9161 if test "$gcc_default_cpu" = ""; then
9162 gcc_default_cpu
="armv6"
9164 if test "$gcc_default_fpu" = ""; then
9165 gcc_default_fpu
="vfp"
9167 if test "$gcc_default_float_abi" = ""; then
9168 if test "$target_cpu" = "armhf"; then
9169 gcc_default_float_abi
="hard"
9171 gcc_default_float_abi
="softfp"
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
9176 $as_echo_n "checking Which minimum CPU to use... " >&6; }
9178 # Check whether --with-cpu was given.
9179 if test "${with_cpu+set}" = set; then :
9180 withval
=$with_cpu; aros_gcc_cpu
="$withval"
9182 aros_gcc_cpu
=$gcc_default_cpu
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
9186 $as_echo "$aros_gcc_cpu" >&6; }
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
9189 $as_echo_n "checking Which minimum FPU to use... " >&6; }
9191 # Check whether --with-fpu was given.
9192 if test "${with_fpu+set}" = set; then :
9193 withval
=$with_fpu; aros_gcc_fpu
="$withval"
9195 aros_gcc_fpu
=$gcc_default_fpu
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
9199 $as_echo "$aros_gcc_fpu" >&6; }
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
9202 $as_echo_n "checking Which floating point ABI to use... " >&6; }
9204 # Check whether --with-float was given.
9205 if test "${with_float+set}" = set; then :
9206 withval
=$with_float; aros_gcc_float_abi
="$withval"
9208 aros_gcc_float_abi
=$gcc_default_float_abi
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
9212 $as_echo "$aros_gcc_float_abi" >&6; }
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which ARM mode to use" >&5
9215 $as_echo_n "checking Which ARM mode to use... " >&6; }
9216 if test "$aros_target_cpu_mode" = ""; then
9217 aros_target_cpu_mode
="arm32"
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Defaulting to $aros_target_cpu_mode" >&5
9219 $as_echo "Defaulting to $aros_target_cpu_mode" >&6; }
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cpu_mode" >&5
9222 $as_echo "$aros_target_cpu_mode" >&6; }
9225 case "$aros_target_cpu_mode" in
9227 gcc_default_mode
="arm"
9228 aros_isa_flags
="$aros_isa_flags -m$gcc_default_mode -mthumb-interwork -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi"
9231 as_fn_error $?
"ARM 64-bit mode is unsupported" "$LINENO" 5
9234 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9237 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9240 gcc_default_mode
="thumb"
9241 # Do not specify -mthumb-interwork as it may add extra code to support arm/thumb interwork
9242 aros_isa_flags
="$aros_isa_flags -m$gcc_default_mode -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi"
9245 as_fn_error $?
"Unsupported ARM mode specified $aros_target_cpu_mode" "$LINENO" 5
9249 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -fno-exceptions"
9250 aros_config_cxxflags
="$aros_config_cxxflags -fno-asynchronous-unwind-tables -fno-exceptions"
9251 aros_config_aflags
="$aros_config_aflags -fno-asynchronous-unwind-tables -fno-exceptions"
9254 aros_isa_flags
="$aros_isa_flags -m32 -march=i486"
9255 aros_kernel_cflags
="$aros_kernel_cflags $aros_isa_flags"
9256 aros_kernel_ldflags
="$aros_kernel_ldflags -m32"
9260 # Some architectures may need custom ELF specs.
9261 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
9262 elf_specs_in
=config
/${aros_object_format}-specs.
in
9264 elf_specs_in
=config
/elf-specs.
in
9267 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
9268 # Since we override specs, we may need to put these defines there
9269 if test "$gcc_target_cpu" != ""; then
9270 gcc_target_cpu
="-D__${gcc_target_cpu}__"
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
9274 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
9276 # Check whether --with-portssources was given.
9277 if test "${with_portssources+set}" = set; then :
9278 withval
=$with_portssources; with_portssrcdir
=$withval
9280 with_portssrcdir
="default"
9283 if test "$with_portssrcdir" = "default"; then
9284 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
9286 AROS_PORTSSRCDIR
="$with_portssrcdir"
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
9289 $as_echo "$AROS_PORTSSRCDIR" >&6; }
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
9292 $as_echo_n "checking which bootloader to use... " >&6; }
9294 # Check whether --with-bootloader was given.
9295 if test "${with_bootloader+set}" = set; then :
9296 withval
=$with_bootloader; target_bootloader
=$withval
9298 target_bootloader
=$target_bootloader
9301 if test "$target_bootloader" = "none"; then
9302 aros_target_bootloader
=""
9304 aros_target_bootloader
="$target_bootloader"
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
9307 $as_echo "$target_bootloader" >&6; }
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
9310 $as_echo_n "checking which icon-set to use... " >&6; }
9312 # Check whether --with-iconset was given.
9313 if test "${with_iconset+set}" = set; then :
9314 withval
=$with_iconset; target_iconset
=$withval
9316 target_iconset
="default"
9319 if test "$target_iconset" = "default"; then
9320 aros_target_iconset
="Gorilla"
9321 target_iconset
="default (Gorilla)"
9323 aros_target_iconset
="$target_iconset"
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
9326 $as_echo "$target_iconset" >&6; }
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
9329 $as_echo_n "checking which GUI Theme to use... " >&6; }
9331 # Check whether --with-theme was given.
9332 if test "${with_theme+set}" = set; then :
9333 withval
=$with_theme; target_guitheme
=$withval
9335 target_guitheme
="default"
9338 if test "$target_guitheme" = "default"; then
9339 aros_target_guitheme
="Ice"
9341 aros_target_guitheme
="$target_guitheme"
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
9344 $as_echo "$aros_target_guitheme" >&6; }
9346 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
9350 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9354 if test "$aros_host_cpu" == "x86_64" ; then
9355 if test "$aros_target_cpu" == "i386" ; then
9360 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9361 if test "$aros_host_arch" != "$aros_target_arch" ; then
9365 if test "$host_cc_elf" = "no" ; then
9370 if test "$cross_compiling" = "no" ; then
9371 kernel_tool_prefix
=""
9372 if test "$host_cc_elf" = "yes" ; then
9377 if test "$kernel_tool_version" != ""; then
9378 kernel_tool_version
="-$kernel_tool_version"
9381 #######################################################################
9382 ## Compute what toolchains to use, and their paths ##
9383 #######################################################################
9385 # This takes, as input:
9386 # crosstools {yes,no}
9387 # kernel_tool_version {"",[version]}
9388 # target_tool_version {"",[version]}
9389 # kernel_tool_prefix {none,[some-arch-os-]}
9391 # target_tool_prefix ${aros_target_cpu}-aros-
9392 # aros_tool_prefix ${aros_target_cpu}-aros-
9395 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9396 # Where the 'kernel' binaries are located
9397 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9398 # Where the 'target' binaries are located
9399 # (not the symlink farm - that is aros_target_*!)
9402 # if crosstools then
9403 # if kernel_tools_prefix = "no-kernel-prefix-"
9404 # aros_kernel_* = crosstools cc paths
9405 # aros_kernel_cc = elf cc wrapper around crosstools cc
9407 # VALIDATE(${kernel_tools_prefix}*)
9408 # aros_kernel_* = ${kernel_tools_prefix}*
9409 # if ${kernel_tools_prefix}cc is an AROS gcc
9410 # aros_kernel_cc = ${kernel_tools_prefix}cc
9412 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
9416 # orig_target_* = aros built crosstools
9417 # orig_target_cc = elf cc wrapper around crosstools cc
9419 # VALIDATE(${kernel_tools_prefix}*)
9421 # orig_target_* = aros_kernel_*
9422 # if aros_kernel_cc is an AROS gcc
9423 # orig_target_cc = aros_kernel_cc
9425 # orig_target_cc = aros cc wrapper around aros_kernel_cc
9429 if test "$aros_toolchain" = "gnu" ; then
9430 target_tool_prefix
="${aros_target_cpu}-aros-"
9431 elif test "$aros_toolchain" = "llvm" ; then
9432 target_tool_prefix
="bin/"
9435 if test "$kernel_tool_prefix" != "" ; then
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
9437 $as_echo_n "checking which kernel tools... " >&6; }
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
9439 $as_echo "$kernel_tool_prefix" >&6; };
9442 if test "$kernel_tool_prefix" = "none" ; then
9443 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9444 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
9447 # Kernel tools required - find them
9448 # Note that 'normally', aros_kernel_* overrides will be
9449 # empty, unless specified in the per-arch sections above.
9450 if test "x$aros_kernel_cpp" = "x"; then
9451 aros_kernel_cpp
=${kernel_tool_prefix}${CPP}
9453 if test "${kernel_tool_version}" != ""; then
9454 if test "$aros_kernel_cpp" != ""; then
9455 ac_prog_args
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9456 ac_prog_cmd
=`expr "X$aros_kernel_cpp" : '^\S*'`
9457 aros_kernel_cpp
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9461 if test "$aros_kernel_cpp" = ""; then
9462 if test "$cross_compiling" = "yes" ; then
9463 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
9464 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9466 $as_echo_n "checking for $ac_word... " >&6; }
9467 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9468 $as_echo_n "(cached) " >&6
9470 case $aros_kernel_cpp in
9472 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9479 test -z "$as_dir" && as_dir
=.
9480 for ac_exec_ext
in '' $ac_executable_extensions; do
9481 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9482 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9493 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9494 if test -n "$aros_kernel_cpp"; then
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9496 $as_echo "$aros_kernel_cpp" >&6; }
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9499 $as_echo "no" >&6; }
9504 if test "$GCC" = "yes"; then
9505 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
9506 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
9507 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9509 $as_echo_n "checking for $ac_word... " >&6; }
9510 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9511 $as_echo_n "(cached) " >&6
9513 case $aros_kernel_cpp in
9515 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9519 for as_dir
in `dirname $aros_gcc_cpp`
9522 test -z "$as_dir" && as_dir
=.
9523 for ac_exec_ext
in '' $ac_executable_extensions; do
9524 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9525 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9536 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9537 if test -n "$aros_kernel_cpp"; then
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9539 $as_echo "$aros_kernel_cpp" >&6; }
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9542 $as_echo "no" >&6; }
9547 if test "$aros_kernel_cpp" = ""; then
9548 # Extract the first word of "cpp", so it can be a program name with args.
9549 set dummy cpp
; ac_word
=$2
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9551 $as_echo_n "checking for $ac_word... " >&6; }
9552 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9553 $as_echo_n "(cached) " >&6
9555 case $aros_kernel_cpp in
9557 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9564 test -z "$as_dir" && as_dir
=.
9565 for ac_exec_ext
in '' $ac_executable_extensions; do
9566 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9567 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9578 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9579 if test -n "$aros_kernel_cpp"; then
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9581 $as_echo "$aros_kernel_cpp" >&6; }
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9584 $as_echo "no" >&6; }
9591 ac_tool_optarg
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9592 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
9593 set dummy
$aros_kernel_cpp; ac_word
=$2
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9595 $as_echo_n "checking for $ac_word... " >&6; }
9596 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9597 $as_echo_n "(cached) " >&6
9599 case $aros_kernel_cpp in
9601 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9608 test -z "$as_dir" && as_dir
=.
9609 for ac_exec_ext
in '' $ac_executable_extensions; do
9610 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9611 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9622 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9623 if test -n "$aros_kernel_cpp"; then
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9625 $as_echo "$aros_kernel_cpp" >&6; }
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9628 $as_echo "no" >&6; }
9632 aros_kernel_cpp
="$aros_kernel_cpp $ac_tool_optarg"
9636 if test "$aros_kernel_cpp" = ""; then
9639 if test "$aros_kernel_cpp" = "no"; then
9642 if test "$req_avail" = "no"; then
9643 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
9646 if test "x$aros_kernel_cc" = "x"; then
9647 aros_kernel_cc
=${kernel_tool_prefix}${CC}
9649 if test "${kernel_tool_version}" != ""; then
9650 if test "$aros_kernel_cc" != ""; then
9651 ac_prog_args
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
9652 ac_prog_cmd
=`expr "X$aros_kernel_cc" : '^\S*'`
9653 aros_kernel_cc
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9657 if test "$aros_kernel_cc" = ""; then
9658 if test "$cross_compiling" = "yes" ; then
9659 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
9660 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9662 $as_echo_n "checking for $ac_word... " >&6; }
9663 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9664 $as_echo_n "(cached) " >&6
9666 case $aros_kernel_cc in
9668 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9675 test -z "$as_dir" && as_dir
=.
9676 for ac_exec_ext
in '' $ac_executable_extensions; do
9677 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9678 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9689 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9690 if test -n "$aros_kernel_cc"; then
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9692 $as_echo "$aros_kernel_cc" >&6; }
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9695 $as_echo "no" >&6; }
9700 if test "$GCC" = "yes"; then
9701 aros_gcc_cc
=`$CC -print-prog-name=cc`
9702 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
9703 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9705 $as_echo_n "checking for $ac_word... " >&6; }
9706 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9707 $as_echo_n "(cached) " >&6
9709 case $aros_kernel_cc in
9711 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9715 for as_dir
in `dirname $aros_gcc_cc`
9718 test -z "$as_dir" && as_dir
=.
9719 for ac_exec_ext
in '' $ac_executable_extensions; do
9720 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9721 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9732 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9733 if test -n "$aros_kernel_cc"; then
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9735 $as_echo "$aros_kernel_cc" >&6; }
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9738 $as_echo "no" >&6; }
9743 if test "$aros_kernel_cc" = ""; then
9744 # Extract the first word of "cc", so it can be a program name with args.
9745 set dummy cc
; ac_word
=$2
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9747 $as_echo_n "checking for $ac_word... " >&6; }
9748 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9749 $as_echo_n "(cached) " >&6
9751 case $aros_kernel_cc in
9753 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9760 test -z "$as_dir" && as_dir
=.
9761 for ac_exec_ext
in '' $ac_executable_extensions; do
9762 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9763 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9774 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9775 if test -n "$aros_kernel_cc"; then
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9777 $as_echo "$aros_kernel_cc" >&6; }
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9780 $as_echo "no" >&6; }
9787 ac_tool_optarg
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
9788 # Extract the first word of "$aros_kernel_cc", so it can be a program name with args.
9789 set dummy
$aros_kernel_cc; ac_word
=$2
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9791 $as_echo_n "checking for $ac_word... " >&6; }
9792 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9793 $as_echo_n "(cached) " >&6
9795 case $aros_kernel_cc in
9797 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9804 test -z "$as_dir" && as_dir
=.
9805 for ac_exec_ext
in '' $ac_executable_extensions; do
9806 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9807 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9818 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9819 if test -n "$aros_kernel_cc"; then
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9821 $as_echo "$aros_kernel_cc" >&6; }
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9824 $as_echo "no" >&6; }
9828 aros_kernel_cc
="$aros_kernel_cc $ac_tool_optarg"
9832 if test "$aros_kernel_cc" = ""; then
9835 if test "$aros_kernel_cc" = "no"; then
9838 if test "$req_avail" = "no"; then
9839 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9842 if test "x$aros_kernel_cxx" = "x"; then
9843 aros_kernel_cxx
=${kernel_tool_prefix}${CXX}
9845 if test "${kernel_tool_version}" != ""; then
9846 if test "$aros_kernel_cxx" != ""; then
9847 ac_prog_args
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
9848 ac_prog_cmd
=`expr "X$aros_kernel_cxx" : '^\S*'`
9849 aros_kernel_cxx
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9853 if test "$aros_kernel_cxx" = ""; then
9854 if test "$cross_compiling" = "yes" ; then
9855 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9856 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9858 $as_echo_n "checking for $ac_word... " >&6; }
9859 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9860 $as_echo_n "(cached) " >&6
9862 case $aros_kernel_cxx in
9864 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9871 test -z "$as_dir" && as_dir
=.
9872 for ac_exec_ext
in '' $ac_executable_extensions; do
9873 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9874 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9885 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9886 if test -n "$aros_kernel_cxx"; then
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9888 $as_echo "$aros_kernel_cxx" >&6; }
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9891 $as_echo "no" >&6; }
9896 if test "$GCC" = "yes"; then
9897 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9898 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9899 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9901 $as_echo_n "checking for $ac_word... " >&6; }
9902 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9903 $as_echo_n "(cached) " >&6
9905 case $aros_kernel_cxx in
9907 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9911 for as_dir
in `dirname $aros_gcc_cxx`
9914 test -z "$as_dir" && as_dir
=.
9915 for ac_exec_ext
in '' $ac_executable_extensions; do
9916 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9917 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9928 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9929 if test -n "$aros_kernel_cxx"; then
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9931 $as_echo "$aros_kernel_cxx" >&6; }
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9934 $as_echo "no" >&6; }
9939 if test "$aros_kernel_cxx" = ""; then
9940 # Extract the first word of "cxx", so it can be a program name with args.
9941 set dummy cxx
; ac_word
=$2
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9943 $as_echo_n "checking for $ac_word... " >&6; }
9944 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9945 $as_echo_n "(cached) " >&6
9947 case $aros_kernel_cxx in
9949 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9956 test -z "$as_dir" && as_dir
=.
9957 for ac_exec_ext
in '' $ac_executable_extensions; do
9958 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9959 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9970 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9971 if test -n "$aros_kernel_cxx"; then
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9973 $as_echo "$aros_kernel_cxx" >&6; }
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9976 $as_echo "no" >&6; }
9983 ac_tool_optarg
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
9984 # Extract the first word of "$aros_kernel_cxx", so it can be a program name with args.
9985 set dummy
$aros_kernel_cxx; ac_word
=$2
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9987 $as_echo_n "checking for $ac_word... " >&6; }
9988 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9989 $as_echo_n "(cached) " >&6
9991 case $aros_kernel_cxx in
9993 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10000 test -z "$as_dir" && as_dir
=.
10001 for ac_exec_ext
in '' $ac_executable_extensions; do
10002 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10003 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10014 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10015 if test -n "$aros_kernel_cxx"; then
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10017 $as_echo "$aros_kernel_cxx" >&6; }
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10020 $as_echo "no" >&6; }
10024 aros_kernel_cxx
="$aros_kernel_cxx $ac_tool_optarg"
10027 # If it's set, make sure it's really there
10028 if test "x$aros_kernel_cxx" != "x" ; then
10030 if test "$aros_kernel_cxx" = ""; then
10033 if test "$aros_kernel_cxx" = "no"; then
10036 if test "$req_avail" = "no"; then
10037 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
10041 if test "$aros_kernel_ld" = ""; then
10042 if test "$cross_compiling" = "yes" ; then
10043 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
10044 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10046 $as_echo_n "checking for $ac_word... " >&6; }
10047 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10048 $as_echo_n "(cached) " >&6
10050 case $aros_kernel_ld in
10052 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10056 for as_dir
in $PATH
10059 test -z "$as_dir" && as_dir
=.
10060 for ac_exec_ext
in '' $ac_executable_extensions; do
10061 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10062 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10073 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10074 if test -n "$aros_kernel_ld"; then
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10076 $as_echo "$aros_kernel_ld" >&6; }
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10079 $as_echo "no" >&6; }
10084 if test "$GCC" = "yes"; then
10085 aros_gcc_ld
=`$CC -print-prog-name=ld`
10086 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
10087 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10089 $as_echo_n "checking for $ac_word... " >&6; }
10090 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10091 $as_echo_n "(cached) " >&6
10093 case $aros_kernel_ld in
10095 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10099 for as_dir
in `dirname $aros_gcc_ld`
10102 test -z "$as_dir" && as_dir
=.
10103 for ac_exec_ext
in '' $ac_executable_extensions; do
10104 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10105 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10116 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10117 if test -n "$aros_kernel_ld"; then
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10119 $as_echo "$aros_kernel_ld" >&6; }
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10122 $as_echo "no" >&6; }
10127 if test "$aros_kernel_ld" = ""; then
10128 # Extract the first word of "ld", so it can be a program name with args.
10129 set dummy ld
; ac_word
=$2
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10131 $as_echo_n "checking for $ac_word... " >&6; }
10132 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10133 $as_echo_n "(cached) " >&6
10135 case $aros_kernel_ld in
10137 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10141 for as_dir
in $PATH
10144 test -z "$as_dir" && as_dir
=.
10145 for ac_exec_ext
in '' $ac_executable_extensions; do
10146 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10147 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10158 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10159 if test -n "$aros_kernel_ld"; then
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10161 $as_echo "$aros_kernel_ld" >&6; }
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10164 $as_echo "no" >&6; }
10171 ac_tool_optarg
=`expr "X$aros_kernel_ld" : '[^ ]* \(.*\)'`
10172 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
10173 set dummy
$aros_kernel_ld; ac_word
=$2
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10175 $as_echo_n "checking for $ac_word... " >&6; }
10176 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10177 $as_echo_n "(cached) " >&6
10179 case $aros_kernel_ld in
10181 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10185 for as_dir
in $PATH
10188 test -z "$as_dir" && as_dir
=.
10189 for ac_exec_ext
in '' $ac_executable_extensions; do
10190 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10191 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10202 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10203 if test -n "$aros_kernel_ld"; then
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10205 $as_echo "$aros_kernel_ld" >&6; }
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10208 $as_echo "no" >&6; }
10212 aros_kernel_ld
="$aros_kernel_ld $ac_tool_optarg"
10216 if test "$aros_kernel_ld" = ""; then
10219 if test "$aros_kernel_ld" = "no"; then
10222 if test "$req_avail" = "no"; then
10223 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10226 if test "$aros_kernel_as" = ""; then
10227 if test "$cross_compiling" = "yes" ; then
10228 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
10229 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10231 $as_echo_n "checking for $ac_word... " >&6; }
10232 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10233 $as_echo_n "(cached) " >&6
10235 case $aros_kernel_as in
10237 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10241 for as_dir
in $PATH
10244 test -z "$as_dir" && as_dir
=.
10245 for ac_exec_ext
in '' $ac_executable_extensions; do
10246 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10247 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10258 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10259 if test -n "$aros_kernel_as"; then
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10261 $as_echo "$aros_kernel_as" >&6; }
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10264 $as_echo "no" >&6; }
10269 if test "$GCC" = "yes"; then
10270 aros_gcc_as
=`$CC -print-prog-name=as`
10271 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
10272 set dummy
`basename $aros_gcc_as`; ac_word
=$2
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10274 $as_echo_n "checking for $ac_word... " >&6; }
10275 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10276 $as_echo_n "(cached) " >&6
10278 case $aros_kernel_as in
10280 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10284 for as_dir
in `dirname $aros_gcc_as`
10287 test -z "$as_dir" && as_dir
=.
10288 for ac_exec_ext
in '' $ac_executable_extensions; do
10289 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10290 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10301 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10302 if test -n "$aros_kernel_as"; then
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10304 $as_echo "$aros_kernel_as" >&6; }
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10307 $as_echo "no" >&6; }
10312 if test "$aros_kernel_as" = ""; then
10313 # Extract the first word of "as", so it can be a program name with args.
10314 set dummy as
; ac_word
=$2
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10316 $as_echo_n "checking for $ac_word... " >&6; }
10317 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10318 $as_echo_n "(cached) " >&6
10320 case $aros_kernel_as in
10322 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10326 for as_dir
in $PATH
10329 test -z "$as_dir" && as_dir
=.
10330 for ac_exec_ext
in '' $ac_executable_extensions; do
10331 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10332 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10343 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10344 if test -n "$aros_kernel_as"; then
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10346 $as_echo "$aros_kernel_as" >&6; }
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10349 $as_echo "no" >&6; }
10356 ac_tool_optarg
=`expr "X$aros_kernel_as" : '[^ ]* \(.*\)'`
10357 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
10358 set dummy
$aros_kernel_as; ac_word
=$2
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10360 $as_echo_n "checking for $ac_word... " >&6; }
10361 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10362 $as_echo_n "(cached) " >&6
10364 case $aros_kernel_as in
10366 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10370 for as_dir
in $PATH
10373 test -z "$as_dir" && as_dir
=.
10374 for ac_exec_ext
in '' $ac_executable_extensions; do
10375 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10376 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10387 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10388 if test -n "$aros_kernel_as"; then
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10390 $as_echo "$aros_kernel_as" >&6; }
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10393 $as_echo "no" >&6; }
10397 aros_kernel_as
="$aros_kernel_as $ac_tool_optarg"
10401 if test "$aros_kernel_as" = ""; then
10404 if test "$aros_kernel_as" = "no"; then
10407 if test "$req_avail" = "no"; then
10408 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
10411 if test "$aros_kernel_ar" = ""; then
10412 if test "$cross_compiling" = "yes" ; then
10413 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
10414 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10416 $as_echo_n "checking for $ac_word... " >&6; }
10417 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10418 $as_echo_n "(cached) " >&6
10420 case $aros_kernel_ar in
10422 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10426 for as_dir
in $PATH
10429 test -z "$as_dir" && as_dir
=.
10430 for ac_exec_ext
in '' $ac_executable_extensions; do
10431 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10432 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10443 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10444 if test -n "$aros_kernel_ar"; then
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10446 $as_echo "$aros_kernel_ar" >&6; }
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10449 $as_echo "no" >&6; }
10454 if test "$GCC" = "yes"; then
10455 aros_gcc_ar
=`$CC -print-prog-name=ar`
10456 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
10457 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10459 $as_echo_n "checking for $ac_word... " >&6; }
10460 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10461 $as_echo_n "(cached) " >&6
10463 case $aros_kernel_ar in
10465 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10469 for as_dir
in `dirname $aros_gcc_ar`
10472 test -z "$as_dir" && as_dir
=.
10473 for ac_exec_ext
in '' $ac_executable_extensions; do
10474 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10475 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10486 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10487 if test -n "$aros_kernel_ar"; then
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10489 $as_echo "$aros_kernel_ar" >&6; }
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10492 $as_echo "no" >&6; }
10497 if test "$aros_kernel_ar" = ""; then
10498 # Extract the first word of "ar", so it can be a program name with args.
10499 set dummy
ar; ac_word
=$2
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10501 $as_echo_n "checking for $ac_word... " >&6; }
10502 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10503 $as_echo_n "(cached) " >&6
10505 case $aros_kernel_ar in
10507 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10511 for as_dir
in $PATH
10514 test -z "$as_dir" && as_dir
=.
10515 for ac_exec_ext
in '' $ac_executable_extensions; do
10516 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10517 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10528 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10529 if test -n "$aros_kernel_ar"; then
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10531 $as_echo "$aros_kernel_ar" >&6; }
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10534 $as_echo "no" >&6; }
10541 ac_tool_optarg
=`expr "X$aros_kernel_ar" : '[^ ]* \(.*\)'`
10542 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
10543 set dummy
$aros_kernel_ar; ac_word
=$2
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10545 $as_echo_n "checking for $ac_word... " >&6; }
10546 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10547 $as_echo_n "(cached) " >&6
10549 case $aros_kernel_ar in
10551 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10555 for as_dir
in $PATH
10558 test -z "$as_dir" && as_dir
=.
10559 for ac_exec_ext
in '' $ac_executable_extensions; do
10560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10561 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10572 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10573 if test -n "$aros_kernel_ar"; then
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10575 $as_echo "$aros_kernel_ar" >&6; }
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10578 $as_echo "no" >&6; }
10582 aros_kernel_ar
="$aros_kernel_ar $ac_tool_optarg"
10586 if test "$aros_kernel_ar" = ""; then
10589 if test "$aros_kernel_ar" = "no"; then
10592 if test "$req_avail" = "no"; then
10593 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
10596 if test "$aros_kernel_ranlib" = ""; then
10597 if test "$cross_compiling" = "yes" ; then
10598 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
10599 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10601 $as_echo_n "checking for $ac_word... " >&6; }
10602 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10603 $as_echo_n "(cached) " >&6
10605 case $aros_kernel_ranlib in
10607 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10611 for as_dir
in $PATH
10614 test -z "$as_dir" && as_dir
=.
10615 for ac_exec_ext
in '' $ac_executable_extensions; do
10616 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10617 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10628 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10629 if test -n "$aros_kernel_ranlib"; then
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10631 $as_echo "$aros_kernel_ranlib" >&6; }
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10634 $as_echo "no" >&6; }
10639 if test "$GCC" = "yes"; then
10640 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10641 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10642 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10644 $as_echo_n "checking for $ac_word... " >&6; }
10645 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10646 $as_echo_n "(cached) " >&6
10648 case $aros_kernel_ranlib in
10650 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10654 for as_dir
in `dirname $aros_gcc_ranlib`
10657 test -z "$as_dir" && as_dir
=.
10658 for ac_exec_ext
in '' $ac_executable_extensions; do
10659 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10660 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10671 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10672 if test -n "$aros_kernel_ranlib"; then
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10674 $as_echo "$aros_kernel_ranlib" >&6; }
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10677 $as_echo "no" >&6; }
10682 if test "$aros_kernel_ranlib" = ""; then
10683 # Extract the first word of "ranlib", so it can be a program name with args.
10684 set dummy ranlib
; ac_word
=$2
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10686 $as_echo_n "checking for $ac_word... " >&6; }
10687 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10688 $as_echo_n "(cached) " >&6
10690 case $aros_kernel_ranlib in
10692 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10696 for as_dir
in $PATH
10699 test -z "$as_dir" && as_dir
=.
10700 for ac_exec_ext
in '' $ac_executable_extensions; do
10701 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10702 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10713 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10714 if test -n "$aros_kernel_ranlib"; then
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10716 $as_echo "$aros_kernel_ranlib" >&6; }
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10719 $as_echo "no" >&6; }
10726 ac_tool_optarg
=`expr "X$aros_kernel_ranlib" : '[^ ]* \(.*\)'`
10727 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
10728 set dummy
$aros_kernel_ranlib; ac_word
=$2
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10730 $as_echo_n "checking for $ac_word... " >&6; }
10731 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10732 $as_echo_n "(cached) " >&6
10734 case $aros_kernel_ranlib in
10736 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10740 for as_dir
in $PATH
10743 test -z "$as_dir" && as_dir
=.
10744 for ac_exec_ext
in '' $ac_executable_extensions; do
10745 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10746 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10757 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10758 if test -n "$aros_kernel_ranlib"; then
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10760 $as_echo "$aros_kernel_ranlib" >&6; }
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10763 $as_echo "no" >&6; }
10767 aros_kernel_ranlib
="$aros_kernel_ranlib $ac_tool_optarg"
10771 if test "$aros_kernel_ranlib" = ""; then
10774 if test "$aros_kernel_ranlib" = "no"; then
10777 if test "$req_avail" = "no"; then
10778 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
10781 if test "$aros_kernel_nm" = ""; then
10782 if test "$cross_compiling" = "yes" ; then
10783 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
10784 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10786 $as_echo_n "checking for $ac_word... " >&6; }
10787 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10788 $as_echo_n "(cached) " >&6
10790 case $aros_kernel_nm in
10792 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10796 for as_dir
in $PATH
10799 test -z "$as_dir" && as_dir
=.
10800 for ac_exec_ext
in '' $ac_executable_extensions; do
10801 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10802 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10813 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10814 if test -n "$aros_kernel_nm"; then
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10816 $as_echo "$aros_kernel_nm" >&6; }
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10819 $as_echo "no" >&6; }
10824 if test "$GCC" = "yes"; then
10825 aros_gcc_nm
=`$CC -print-prog-name=nm`
10826 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10827 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10829 $as_echo_n "checking for $ac_word... " >&6; }
10830 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10831 $as_echo_n "(cached) " >&6
10833 case $aros_kernel_nm in
10835 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10839 for as_dir
in `dirname $aros_gcc_nm`
10842 test -z "$as_dir" && as_dir
=.
10843 for ac_exec_ext
in '' $ac_executable_extensions; do
10844 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10845 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10856 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10857 if test -n "$aros_kernel_nm"; then
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10859 $as_echo "$aros_kernel_nm" >&6; }
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10862 $as_echo "no" >&6; }
10867 if test "$aros_kernel_nm" = ""; then
10868 # Extract the first word of "nm", so it can be a program name with args.
10869 set dummy nm
; ac_word
=$2
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10871 $as_echo_n "checking for $ac_word... " >&6; }
10872 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10873 $as_echo_n "(cached) " >&6
10875 case $aros_kernel_nm in
10877 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10881 for as_dir
in $PATH
10884 test -z "$as_dir" && as_dir
=.
10885 for ac_exec_ext
in '' $ac_executable_extensions; do
10886 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10887 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10898 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10899 if test -n "$aros_kernel_nm"; then
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10901 $as_echo "$aros_kernel_nm" >&6; }
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10904 $as_echo "no" >&6; }
10911 ac_tool_optarg
=`expr "X$aros_kernel_nm" : '[^ ]* \(.*\)'`
10912 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10913 set dummy
$aros_kernel_nm; ac_word
=$2
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10915 $as_echo_n "checking for $ac_word... " >&6; }
10916 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10917 $as_echo_n "(cached) " >&6
10919 case $aros_kernel_nm in
10921 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10925 for as_dir
in $PATH
10928 test -z "$as_dir" && as_dir
=.
10929 for ac_exec_ext
in '' $ac_executable_extensions; do
10930 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10931 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10942 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10943 if test -n "$aros_kernel_nm"; then
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10945 $as_echo "$aros_kernel_nm" >&6; }
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10948 $as_echo "no" >&6; }
10952 aros_kernel_nm
="$aros_kernel_nm $ac_tool_optarg"
10956 if test "$aros_kernel_nm" = ""; then
10959 if test "$aros_kernel_nm" = "no"; then
10962 if test "$req_avail" = "no"; then
10963 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10966 if test "$aros_kernel_strip" = ""; then
10967 if test "$cross_compiling" = "yes" ; then
10968 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10969 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10971 $as_echo_n "checking for $ac_word... " >&6; }
10972 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10973 $as_echo_n "(cached) " >&6
10975 case $aros_kernel_strip in
10977 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10981 for as_dir
in $PATH
10984 test -z "$as_dir" && as_dir
=.
10985 for ac_exec_ext
in '' $ac_executable_extensions; do
10986 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10987 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10998 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10999 if test -n "$aros_kernel_strip"; then
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11001 $as_echo "$aros_kernel_strip" >&6; }
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11004 $as_echo "no" >&6; }
11009 if test "$GCC" = "yes"; then
11010 aros_gcc_strip
=`$CC -print-prog-name=strip`
11011 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
11012 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11014 $as_echo_n "checking for $ac_word... " >&6; }
11015 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11016 $as_echo_n "(cached) " >&6
11018 case $aros_kernel_strip in
11020 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11024 for as_dir
in `dirname $aros_gcc_strip`
11027 test -z "$as_dir" && as_dir
=.
11028 for ac_exec_ext
in '' $ac_executable_extensions; do
11029 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11030 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11041 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11042 if test -n "$aros_kernel_strip"; then
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11044 $as_echo "$aros_kernel_strip" >&6; }
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11047 $as_echo "no" >&6; }
11052 if test "$aros_kernel_strip" = ""; then
11053 # Extract the first word of "strip", so it can be a program name with args.
11054 set dummy strip
; ac_word
=$2
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11056 $as_echo_n "checking for $ac_word... " >&6; }
11057 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11058 $as_echo_n "(cached) " >&6
11060 case $aros_kernel_strip in
11062 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11066 for as_dir
in $PATH
11069 test -z "$as_dir" && as_dir
=.
11070 for ac_exec_ext
in '' $ac_executable_extensions; do
11071 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11072 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11083 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11084 if test -n "$aros_kernel_strip"; then
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11086 $as_echo "$aros_kernel_strip" >&6; }
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11089 $as_echo "no" >&6; }
11096 ac_tool_optarg
=`expr "X$aros_kernel_strip" : '[^ ]* \(.*\)'`
11097 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
11098 set dummy
$aros_kernel_strip; ac_word
=$2
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11100 $as_echo_n "checking for $ac_word... " >&6; }
11101 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11102 $as_echo_n "(cached) " >&6
11104 case $aros_kernel_strip in
11106 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11110 for as_dir
in $PATH
11113 test -z "$as_dir" && as_dir
=.
11114 for ac_exec_ext
in '' $ac_executable_extensions; do
11115 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11116 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11127 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11128 if test -n "$aros_kernel_strip"; then
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11130 $as_echo "$aros_kernel_strip" >&6; }
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11133 $as_echo "no" >&6; }
11137 aros_kernel_strip
="$aros_kernel_strip $ac_tool_optarg"
11141 if test "$aros_kernel_strip" = ""; then
11144 if test "$aros_kernel_strip" = "no"; then
11147 if test "$req_avail" = "no"; then
11148 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
11151 # Objcopy and objdump are not required for the kernel
11152 # toolchain on many architectures.
11153 # So we'll look for them, but not make them strictly required.
11155 if test "$aros_kernel_objcopy" = ""; then
11156 if test "$cross_compiling" = "yes" ; then
11157 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
11158 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11160 $as_echo_n "checking for $ac_word... " >&6; }
11161 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11162 $as_echo_n "(cached) " >&6
11164 case $aros_kernel_objcopy in
11166 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11170 for as_dir
in $PATH
11173 test -z "$as_dir" && as_dir
=.
11174 for ac_exec_ext
in '' $ac_executable_extensions; do
11175 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11176 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11187 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11188 if test -n "$aros_kernel_objcopy"; then
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11190 $as_echo "$aros_kernel_objcopy" >&6; }
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11193 $as_echo "no" >&6; }
11198 if test "$GCC" = "yes"; then
11199 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
11200 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
11201 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11203 $as_echo_n "checking for $ac_word... " >&6; }
11204 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11205 $as_echo_n "(cached) " >&6
11207 case $aros_kernel_objcopy in
11209 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11213 for as_dir
in `dirname $aros_gcc_objcopy`
11216 test -z "$as_dir" && as_dir
=.
11217 for ac_exec_ext
in '' $ac_executable_extensions; do
11218 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11219 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11230 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11231 if test -n "$aros_kernel_objcopy"; then
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11233 $as_echo "$aros_kernel_objcopy" >&6; }
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11236 $as_echo "no" >&6; }
11241 if test "$aros_kernel_objcopy" = ""; then
11242 # Extract the first word of "objcopy", so it can be a program name with args.
11243 set dummy objcopy
; ac_word
=$2
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11245 $as_echo_n "checking for $ac_word... " >&6; }
11246 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11247 $as_echo_n "(cached) " >&6
11249 case $aros_kernel_objcopy in
11251 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11255 for as_dir
in $PATH
11258 test -z "$as_dir" && as_dir
=.
11259 for ac_exec_ext
in '' $ac_executable_extensions; do
11260 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11261 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11272 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11273 if test -n "$aros_kernel_objcopy"; then
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11275 $as_echo "$aros_kernel_objcopy" >&6; }
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11278 $as_echo "no" >&6; }
11285 ac_tool_optarg
=`expr "X$aros_kernel_objcopy" : '[^ ]* \(.*\)'`
11286 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
11287 set dummy
$aros_kernel_objcopy; ac_word
=$2
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11289 $as_echo_n "checking for $ac_word... " >&6; }
11290 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11291 $as_echo_n "(cached) " >&6
11293 case $aros_kernel_objcopy in
11295 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11299 for as_dir
in $PATH
11302 test -z "$as_dir" && as_dir
=.
11303 for ac_exec_ext
in '' $ac_executable_extensions; do
11304 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11305 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11316 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11317 if test -n "$aros_kernel_objcopy"; then
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11319 $as_echo "$aros_kernel_objcopy" >&6; }
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11322 $as_echo "no" >&6; }
11326 aros_kernel_objcopy
="$aros_kernel_objcopy $ac_tool_optarg"
11330 if test "$aros_kernel_objdump" = ""; then
11331 if test "$cross_compiling" = "yes" ; then
11332 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
11333 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11335 $as_echo_n "checking for $ac_word... " >&6; }
11336 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11337 $as_echo_n "(cached) " >&6
11339 case $aros_kernel_objdump in
11341 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11345 for as_dir
in $PATH
11348 test -z "$as_dir" && as_dir
=.
11349 for ac_exec_ext
in '' $ac_executable_extensions; do
11350 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11351 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11362 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11363 if test -n "$aros_kernel_objdump"; then
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11365 $as_echo "$aros_kernel_objdump" >&6; }
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11368 $as_echo "no" >&6; }
11373 if test "$GCC" = "yes"; then
11374 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
11375 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
11376 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11378 $as_echo_n "checking for $ac_word... " >&6; }
11379 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11380 $as_echo_n "(cached) " >&6
11382 case $aros_kernel_objdump in
11384 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11388 for as_dir
in `dirname $aros_gcc_objdump`
11391 test -z "$as_dir" && as_dir
=.
11392 for ac_exec_ext
in '' $ac_executable_extensions; do
11393 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11394 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11405 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11406 if test -n "$aros_kernel_objdump"; then
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11408 $as_echo "$aros_kernel_objdump" >&6; }
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11411 $as_echo "no" >&6; }
11416 if test "$aros_kernel_objdump" = ""; then
11417 # Extract the first word of "objdump", so it can be a program name with args.
11418 set dummy objdump
; ac_word
=$2
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11420 $as_echo_n "checking for $ac_word... " >&6; }
11421 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11422 $as_echo_n "(cached) " >&6
11424 case $aros_kernel_objdump in
11426 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11430 for as_dir
in $PATH
11433 test -z "$as_dir" && as_dir
=.
11434 for ac_exec_ext
in '' $ac_executable_extensions; do
11435 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11436 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11447 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11448 if test -n "$aros_kernel_objdump"; then
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11450 $as_echo "$aros_kernel_objdump" >&6; }
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11453 $as_echo "no" >&6; }
11460 ac_tool_optarg
=`expr "X$aros_kernel_objdump" : '[^ ]* \(.*\)'`
11461 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
11462 set dummy
$aros_kernel_objdump; ac_word
=$2
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11464 $as_echo_n "checking for $ac_word... " >&6; }
11465 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11466 $as_echo_n "(cached) " >&6
11468 case $aros_kernel_objdump in
11470 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11474 for as_dir
in $PATH
11477 test -z "$as_dir" && as_dir
=.
11478 for ac_exec_ext
in '' $ac_executable_extensions; do
11479 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11480 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11491 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11492 if test -n "$aros_kernel_objdump"; then
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11494 $as_echo "$aros_kernel_objdump" >&6; }
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11497 $as_echo "no" >&6; }
11501 aros_kernel_objdump
="$aros_kernel_objdump $ac_tool_optarg"
11504 if test "x${crosstools}" != "xyes" ; then
11506 if test "$aros_kernel_objcopy" = ""; then
11509 if test "$aros_kernel_objcopy" = "no"; then
11512 if test "$req_avail" = "no"; then
11513 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
11516 if test "$aros_kernel_objdump" = ""; then
11519 if test "$aros_kernel_objdump" = "no"; then
11522 if test "$req_avail" = "no"; then
11523 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
11529 $as_echo_n "checking which target tools to use... " >&6; }
11530 if test "$aros_target_toolchain" = "yes"; then
11531 if test "$aros_toolchain" = "llvm" ; then
11534 msg_result
=$target_tool_prefix
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
11537 $as_echo "$msg_result" >&6; }
11538 # We are building AROS crosstools
11539 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
11540 orig_target_cc
="${tmp_tool_prefix}${toolchain_c_compiler}${target_tool_version}"
11541 orig_target_cxx
="${tmp_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}"
11542 orig_target_cpp
="${tmp_tool_prefix}${toolchain_cpp_preprocessor}"
11543 orig_target_ld
="${tmp_tool_prefix}${toolchain_ld}"
11544 orig_target_as
="${tmp_tool_prefix}${toolchain_as}"
11545 orig_target_ar
="${tmp_tool_prefix}${toolchain_ar}"
11546 orig_target_ranlib
="${tmp_tool_prefix}${toolchain_ranlib}"
11547 orig_target_nm
="${tmp_tool_prefix}${toolchain_nm}"
11548 orig_target_strip
="${tmp_tool_prefix}${toolchain_strip}"
11549 orig_target_objcopy
="${tmp_tool_prefix}${toolchain_objcopy}"
11550 orig_target_objdump
="${tmp_tool_prefix}${toolchain_objdump}"
11552 # Determine whether AROS or ELF tools should be used
11553 if test "$aros_tool_prefix" = "none"; then
11554 aros_tool_prefix
="${elf_tool_prefix}"
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
11558 $as_echo "$aros_tool_prefix" >&6; }
11559 # We are *not* building AROS crosstools - use the AROS or ELF tools
11561 if test "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" = ""; then
11562 if test "$cross_compiling" = "yes" ; then
11563 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
11564 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11566 $as_echo_n "checking for $ac_word... " >&6; }
11567 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11568 $as_echo_n "(cached) " >&6
11570 case $orig_target_cpp in
11572 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11576 for as_dir
in $PATH
11579 test -z "$as_dir" && as_dir
=.
11580 for ac_exec_ext
in '' $ac_executable_extensions; do
11581 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11582 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11593 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11594 if test -n "$orig_target_cpp"; then
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11596 $as_echo "$orig_target_cpp" >&6; }
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11599 $as_echo "no" >&6; }
11604 if test "$GCC" = "yes"; then
11605 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
11606 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
11607 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11609 $as_echo_n "checking for $ac_word... " >&6; }
11610 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11611 $as_echo_n "(cached) " >&6
11613 case $orig_target_cpp in
11615 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11619 for as_dir
in `dirname $aros_gcc_cpp`
11622 test -z "$as_dir" && as_dir
=.
11623 for ac_exec_ext
in '' $ac_executable_extensions; do
11624 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11625 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11636 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11637 if test -n "$orig_target_cpp"; then
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11639 $as_echo "$orig_target_cpp" >&6; }
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11642 $as_echo "no" >&6; }
11647 if test "$orig_target_cpp" = ""; then
11648 # Extract the first word of "cpp", so it can be a program name with args.
11649 set dummy cpp
; ac_word
=$2
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11651 $as_echo_n "checking for $ac_word... " >&6; }
11652 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11653 $as_echo_n "(cached) " >&6
11655 case $orig_target_cpp in
11657 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11661 for as_dir
in $PATH
11664 test -z "$as_dir" && as_dir
=.
11665 for ac_exec_ext
in '' $ac_executable_extensions; do
11666 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11667 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11678 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11679 if test -n "$orig_target_cpp"; then
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11681 $as_echo "$orig_target_cpp" >&6; }
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11684 $as_echo "no" >&6; }
11691 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" : '[^ ]* \(.*\)'`
11692 # Extract the first word of "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}", so it can be a program name with args.
11693 set dummy
${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}; ac_word
=$2
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11695 $as_echo_n "checking for $ac_word... " >&6; }
11696 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11697 $as_echo_n "(cached) " >&6
11699 case $orig_target_cpp in
11701 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11705 for as_dir
in $PATH
11708 test -z "$as_dir" && as_dir
=.
11709 for ac_exec_ext
in '' $ac_executable_extensions; do
11710 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11711 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11722 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11723 if test -n "$orig_target_cpp"; then
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11725 $as_echo "$orig_target_cpp" >&6; }
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11728 $as_echo "no" >&6; }
11732 orig_target_cpp
="$orig_target_cpp $ac_tool_optarg"
11736 if test "$orig_target_cpp" = ""; then
11739 if test "$orig_target_cpp" = "no"; then
11742 if test "$req_avail" = "no"; then
11743 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
11746 if test "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" = ""; then
11747 if test "$cross_compiling" = "yes" ; then
11748 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11749 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11751 $as_echo_n "checking for $ac_word... " >&6; }
11752 if ${ac_cv_path_orig_target_cc+:} false
; then :
11753 $as_echo_n "(cached) " >&6
11755 case $orig_target_cc in
11757 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11761 for as_dir
in $PATH
11764 test -z "$as_dir" && as_dir
=.
11765 for ac_exec_ext
in '' $ac_executable_extensions; do
11766 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11767 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11778 orig_target_cc
=$ac_cv_path_orig_target_cc
11779 if test -n "$orig_target_cc"; then
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11781 $as_echo "$orig_target_cc" >&6; }
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11784 $as_echo "no" >&6; }
11789 if test "$GCC" = "yes"; then
11790 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11791 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11792 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11794 $as_echo_n "checking for $ac_word... " >&6; }
11795 if ${ac_cv_path_orig_target_cc+:} false
; then :
11796 $as_echo_n "(cached) " >&6
11798 case $orig_target_cc in
11800 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11804 for as_dir
in `dirname $aros_gcc_gcc`
11807 test -z "$as_dir" && as_dir
=.
11808 for ac_exec_ext
in '' $ac_executable_extensions; do
11809 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11810 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11821 orig_target_cc
=$ac_cv_path_orig_target_cc
11822 if test -n "$orig_target_cc"; then
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11824 $as_echo "$orig_target_cc" >&6; }
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11827 $as_echo "no" >&6; }
11832 if test "$orig_target_cc" = ""; then
11833 # Extract the first word of "gcc", so it can be a program name with args.
11834 set dummy gcc
; ac_word
=$2
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11836 $as_echo_n "checking for $ac_word... " >&6; }
11837 if ${ac_cv_path_orig_target_cc+:} false
; then :
11838 $as_echo_n "(cached) " >&6
11840 case $orig_target_cc in
11842 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11846 for as_dir
in $PATH
11849 test -z "$as_dir" && as_dir
=.
11850 for ac_exec_ext
in '' $ac_executable_extensions; do
11851 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11852 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11863 orig_target_cc
=$ac_cv_path_orig_target_cc
11864 if test -n "$orig_target_cc"; then
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11866 $as_echo "$orig_target_cc" >&6; }
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11869 $as_echo "no" >&6; }
11876 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
11877 # Extract the first word of "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}", so it can be a program name with args.
11878 set dummy
${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}; ac_word
=$2
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11880 $as_echo_n "checking for $ac_word... " >&6; }
11881 if ${ac_cv_path_orig_target_cc+:} false
; then :
11882 $as_echo_n "(cached) " >&6
11884 case $orig_target_cc in
11886 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11890 for as_dir
in $PATH
11893 test -z "$as_dir" && as_dir
=.
11894 for ac_exec_ext
in '' $ac_executable_extensions; do
11895 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11896 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11907 orig_target_cc
=$ac_cv_path_orig_target_cc
11908 if test -n "$orig_target_cc"; then
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11910 $as_echo "$orig_target_cc" >&6; }
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11913 $as_echo "no" >&6; }
11917 orig_target_cc
="$orig_target_cc $ac_tool_optarg"
11921 if test "$orig_target_cc" = ""; then
11924 if test "$orig_target_cc" = "no"; then
11927 if test "$req_avail" = "no"; then
11928 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11931 if test "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" = ""; then
11932 if test "$cross_compiling" = "yes" ; then
11933 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11934 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11936 $as_echo_n "checking for $ac_word... " >&6; }
11937 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11938 $as_echo_n "(cached) " >&6
11940 case $orig_target_cxx in
11942 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11946 for as_dir
in $PATH
11949 test -z "$as_dir" && as_dir
=.
11950 for ac_exec_ext
in '' $ac_executable_extensions; do
11951 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11952 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11963 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11964 if test -n "$orig_target_cxx"; then
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11966 $as_echo "$orig_target_cxx" >&6; }
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11969 $as_echo "no" >&6; }
11974 if test "$GCC" = "yes"; then
11975 aros_gcc_g
++=`$CC -print-prog-name=g++`
11976 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11977 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11979 $as_echo_n "checking for $ac_word... " >&6; }
11980 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11981 $as_echo_n "(cached) " >&6
11983 case $orig_target_cxx in
11985 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11989 for as_dir
in `dirname $aros_gcc_g++`
11992 test -z "$as_dir" && as_dir
=.
11993 for ac_exec_ext
in '' $ac_executable_extensions; do
11994 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11995 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12006 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12007 if test -n "$orig_target_cxx"; then
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12009 $as_echo "$orig_target_cxx" >&6; }
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12012 $as_echo "no" >&6; }
12017 if test "$orig_target_cxx" = ""; then
12018 # Extract the first word of "g++", so it can be a program name with args.
12019 set dummy g
++; ac_word
=$2
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12021 $as_echo_n "checking for $ac_word... " >&6; }
12022 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12023 $as_echo_n "(cached) " >&6
12025 case $orig_target_cxx in
12027 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12031 for as_dir
in $PATH
12034 test -z "$as_dir" && as_dir
=.
12035 for ac_exec_ext
in '' $ac_executable_extensions; do
12036 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12037 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12048 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12049 if test -n "$orig_target_cxx"; then
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12051 $as_echo "$orig_target_cxx" >&6; }
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12054 $as_echo "no" >&6; }
12061 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
12062 # Extract the first word of "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}", so it can be a program name with args.
12063 set dummy
${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}; ac_word
=$2
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12065 $as_echo_n "checking for $ac_word... " >&6; }
12066 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12067 $as_echo_n "(cached) " >&6
12069 case $orig_target_cxx in
12071 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12075 for as_dir
in $PATH
12078 test -z "$as_dir" && as_dir
=.
12079 for ac_exec_ext
in '' $ac_executable_extensions; do
12080 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12081 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12092 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12093 if test -n "$orig_target_cxx"; then
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12095 $as_echo "$orig_target_cxx" >&6; }
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12098 $as_echo "no" >&6; }
12102 orig_target_cxx
="$orig_target_cxx $ac_tool_optarg"
12106 if test "$orig_target_cxx" = ""; then
12109 if test "$orig_target_cxx" = "no"; then
12112 if test "$req_avail" = "no"; then
12113 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
12116 if test "${aros_tool_prefix}${toolchain_ld}" = ""; then
12117 if test "$cross_compiling" = "yes" ; then
12118 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
12119 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12121 $as_echo_n "checking for $ac_word... " >&6; }
12122 if ${ac_cv_path_orig_target_ld+:} false
; then :
12123 $as_echo_n "(cached) " >&6
12125 case $orig_target_ld in
12127 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12131 for as_dir
in $PATH
12134 test -z "$as_dir" && as_dir
=.
12135 for ac_exec_ext
in '' $ac_executable_extensions; do
12136 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12137 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12148 orig_target_ld
=$ac_cv_path_orig_target_ld
12149 if test -n "$orig_target_ld"; then
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12151 $as_echo "$orig_target_ld" >&6; }
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12154 $as_echo "no" >&6; }
12159 if test "$GCC" = "yes"; then
12160 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
12161 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
12162 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12164 $as_echo_n "checking for $ac_word... " >&6; }
12165 if ${ac_cv_path_orig_target_ld+:} false
; then :
12166 $as_echo_n "(cached) " >&6
12168 case $orig_target_ld in
12170 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12174 for as_dir
in `dirname $aros_gcc_gcc`
12177 test -z "$as_dir" && as_dir
=.
12178 for ac_exec_ext
in '' $ac_executable_extensions; do
12179 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12180 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12191 orig_target_ld
=$ac_cv_path_orig_target_ld
12192 if test -n "$orig_target_ld"; then
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12194 $as_echo "$orig_target_ld" >&6; }
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12197 $as_echo "no" >&6; }
12202 if test "$orig_target_ld" = ""; then
12203 # Extract the first word of "gcc", so it can be a program name with args.
12204 set dummy gcc
; ac_word
=$2
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12206 $as_echo_n "checking for $ac_word... " >&6; }
12207 if ${ac_cv_path_orig_target_ld+:} false
; then :
12208 $as_echo_n "(cached) " >&6
12210 case $orig_target_ld in
12212 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12216 for as_dir
in $PATH
12219 test -z "$as_dir" && as_dir
=.
12220 for ac_exec_ext
in '' $ac_executable_extensions; do
12221 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12222 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12233 orig_target_ld
=$ac_cv_path_orig_target_ld
12234 if test -n "$orig_target_ld"; then
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12236 $as_echo "$orig_target_ld" >&6; }
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12239 $as_echo "no" >&6; }
12246 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ld}" : '[^ ]* \(.*\)'`
12247 # Extract the first word of "${aros_tool_prefix}${toolchain_ld}", so it can be a program name with args.
12248 set dummy
${aros_tool_prefix}${toolchain_ld}; ac_word
=$2
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12250 $as_echo_n "checking for $ac_word... " >&6; }
12251 if ${ac_cv_path_orig_target_ld+:} false
; then :
12252 $as_echo_n "(cached) " >&6
12254 case $orig_target_ld in
12256 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12260 for as_dir
in $PATH
12263 test -z "$as_dir" && as_dir
=.
12264 for ac_exec_ext
in '' $ac_executable_extensions; do
12265 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12266 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12277 orig_target_ld
=$ac_cv_path_orig_target_ld
12278 if test -n "$orig_target_ld"; then
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12280 $as_echo "$orig_target_ld" >&6; }
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12283 $as_echo "no" >&6; }
12287 orig_target_ld
="$orig_target_ld $ac_tool_optarg"
12291 if test "$orig_target_ld" = ""; then
12294 if test "$orig_target_ld" = "no"; then
12297 if test "$req_avail" = "no"; then
12298 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
12301 if test "aros_tool_prefix}${toolchain_as}" = ""; then
12302 if test "$cross_compiling" = "yes" ; then
12303 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
12304 set dummy
${target_tool_prefix}as
; ac_word
=$2
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12306 $as_echo_n "checking for $ac_word... " >&6; }
12307 if ${ac_cv_path_orig_target_as+:} false
; then :
12308 $as_echo_n "(cached) " >&6
12310 case $orig_target_as in
12312 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12316 for as_dir
in $PATH
12319 test -z "$as_dir" && as_dir
=.
12320 for ac_exec_ext
in '' $ac_executable_extensions; do
12321 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12322 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12333 orig_target_as
=$ac_cv_path_orig_target_as
12334 if test -n "$orig_target_as"; then
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12336 $as_echo "$orig_target_as" >&6; }
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12339 $as_echo "no" >&6; }
12344 if test "$GCC" = "yes"; then
12345 aros_gcc_as
=`$CC -print-prog-name=as`
12346 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
12347 set dummy
`basename $aros_gcc_as`; ac_word
=$2
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12349 $as_echo_n "checking for $ac_word... " >&6; }
12350 if ${ac_cv_path_orig_target_as+:} false
; then :
12351 $as_echo_n "(cached) " >&6
12353 case $orig_target_as in
12355 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12359 for as_dir
in `dirname $aros_gcc_as`
12362 test -z "$as_dir" && as_dir
=.
12363 for ac_exec_ext
in '' $ac_executable_extensions; do
12364 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12365 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12376 orig_target_as
=$ac_cv_path_orig_target_as
12377 if test -n "$orig_target_as"; then
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12379 $as_echo "$orig_target_as" >&6; }
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12382 $as_echo "no" >&6; }
12387 if test "$orig_target_as" = ""; then
12388 # Extract the first word of "as", so it can be a program name with args.
12389 set dummy as
; ac_word
=$2
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12391 $as_echo_n "checking for $ac_word... " >&6; }
12392 if ${ac_cv_path_orig_target_as+:} false
; then :
12393 $as_echo_n "(cached) " >&6
12395 case $orig_target_as in
12397 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12401 for as_dir
in $PATH
12404 test -z "$as_dir" && as_dir
=.
12405 for ac_exec_ext
in '' $ac_executable_extensions; do
12406 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12407 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12418 orig_target_as
=$ac_cv_path_orig_target_as
12419 if test -n "$orig_target_as"; then
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12421 $as_echo "$orig_target_as" >&6; }
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12424 $as_echo "no" >&6; }
12431 ac_tool_optarg
=`expr "Xaros_tool_prefix}${toolchain_as}" : '[^ ]* \(.*\)'`
12432 # Extract the first word of "aros_tool_prefix}${toolchain_as}", so it can be a program name with args.
12433 set dummy aros_tool_prefix
}${toolchain_as}; ac_word
=$2
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12435 $as_echo_n "checking for $ac_word... " >&6; }
12436 if ${ac_cv_path_orig_target_as+:} false
; then :
12437 $as_echo_n "(cached) " >&6
12439 case $orig_target_as in
12441 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12445 for as_dir
in $PATH
12448 test -z "$as_dir" && as_dir
=.
12449 for ac_exec_ext
in '' $ac_executable_extensions; do
12450 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12451 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12462 orig_target_as
=$ac_cv_path_orig_target_as
12463 if test -n "$orig_target_as"; then
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12465 $as_echo "$orig_target_as" >&6; }
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12468 $as_echo "no" >&6; }
12472 orig_target_as
="$orig_target_as $ac_tool_optarg"
12476 if test "$orig_target_as" = ""; then
12479 if test "$orig_target_as" = "no"; then
12482 if test "$req_avail" = "no"; then
12483 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
12486 if test "${aros_tool_prefix}${toolchain_ar}" = ""; then
12487 if test "$cross_compiling" = "yes" ; then
12488 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
12489 set dummy
${target_tool_prefix}ar; ac_word
=$2
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12491 $as_echo_n "checking for $ac_word... " >&6; }
12492 if ${ac_cv_path_orig_target_ar+:} false
; then :
12493 $as_echo_n "(cached) " >&6
12495 case $orig_target_ar in
12497 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12501 for as_dir
in $PATH
12504 test -z "$as_dir" && as_dir
=.
12505 for ac_exec_ext
in '' $ac_executable_extensions; do
12506 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12507 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12518 orig_target_ar
=$ac_cv_path_orig_target_ar
12519 if test -n "$orig_target_ar"; then
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12521 $as_echo "$orig_target_ar" >&6; }
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12524 $as_echo "no" >&6; }
12529 if test "$GCC" = "yes"; then
12530 aros_gcc_ar
=`$CC -print-prog-name=ar`
12531 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
12532 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12534 $as_echo_n "checking for $ac_word... " >&6; }
12535 if ${ac_cv_path_orig_target_ar+:} false
; then :
12536 $as_echo_n "(cached) " >&6
12538 case $orig_target_ar in
12540 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12544 for as_dir
in `dirname $aros_gcc_ar`
12547 test -z "$as_dir" && as_dir
=.
12548 for ac_exec_ext
in '' $ac_executable_extensions; do
12549 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12550 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12561 orig_target_ar
=$ac_cv_path_orig_target_ar
12562 if test -n "$orig_target_ar"; then
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12564 $as_echo "$orig_target_ar" >&6; }
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12567 $as_echo "no" >&6; }
12572 if test "$orig_target_ar" = ""; then
12573 # Extract the first word of "ar", so it can be a program name with args.
12574 set dummy
ar; ac_word
=$2
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12576 $as_echo_n "checking for $ac_word... " >&6; }
12577 if ${ac_cv_path_orig_target_ar+:} false
; then :
12578 $as_echo_n "(cached) " >&6
12580 case $orig_target_ar in
12582 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12586 for as_dir
in $PATH
12589 test -z "$as_dir" && as_dir
=.
12590 for ac_exec_ext
in '' $ac_executable_extensions; do
12591 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12592 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12603 orig_target_ar
=$ac_cv_path_orig_target_ar
12604 if test -n "$orig_target_ar"; then
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12606 $as_echo "$orig_target_ar" >&6; }
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12609 $as_echo "no" >&6; }
12616 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ar}" : '[^ ]* \(.*\)'`
12617 # Extract the first word of "${aros_tool_prefix}${toolchain_ar}", so it can be a program name with args.
12618 set dummy
${aros_tool_prefix}${toolchain_ar}; ac_word
=$2
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12620 $as_echo_n "checking for $ac_word... " >&6; }
12621 if ${ac_cv_path_orig_target_ar+:} false
; then :
12622 $as_echo_n "(cached) " >&6
12624 case $orig_target_ar in
12626 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12630 for as_dir
in $PATH
12633 test -z "$as_dir" && as_dir
=.
12634 for ac_exec_ext
in '' $ac_executable_extensions; do
12635 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12636 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12647 orig_target_ar
=$ac_cv_path_orig_target_ar
12648 if test -n "$orig_target_ar"; then
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12650 $as_echo "$orig_target_ar" >&6; }
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12653 $as_echo "no" >&6; }
12657 orig_target_ar
="$orig_target_ar $ac_tool_optarg"
12661 if test "$orig_target_ar" = ""; then
12664 if test "$orig_target_ar" = "no"; then
12667 if test "$req_avail" = "no"; then
12668 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
12671 if test "${aros_tool_prefix}${toolchain_ranlib}" = ""; then
12672 if test "$cross_compiling" = "yes" ; then
12673 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
12674 set dummy
${target_tool_prefix}ar; ac_word
=$2
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12676 $as_echo_n "checking for $ac_word... " >&6; }
12677 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12678 $as_echo_n "(cached) " >&6
12680 case $orig_target_ranlib in
12682 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12686 for as_dir
in $PATH
12689 test -z "$as_dir" && as_dir
=.
12690 for ac_exec_ext
in '' $ac_executable_extensions; do
12691 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12692 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12703 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12704 if test -n "$orig_target_ranlib"; then
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12706 $as_echo "$orig_target_ranlib" >&6; }
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12709 $as_echo "no" >&6; }
12714 if test "$GCC" = "yes"; then
12715 aros_gcc_ar
=`$CC -print-prog-name=ar`
12716 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
12717 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12719 $as_echo_n "checking for $ac_word... " >&6; }
12720 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12721 $as_echo_n "(cached) " >&6
12723 case $orig_target_ranlib in
12725 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12729 for as_dir
in `dirname $aros_gcc_ar`
12732 test -z "$as_dir" && as_dir
=.
12733 for ac_exec_ext
in '' $ac_executable_extensions; do
12734 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12735 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12746 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12747 if test -n "$orig_target_ranlib"; then
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12749 $as_echo "$orig_target_ranlib" >&6; }
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12752 $as_echo "no" >&6; }
12757 if test "$orig_target_ranlib" = ""; then
12758 # Extract the first word of "ar", so it can be a program name with args.
12759 set dummy
ar; ac_word
=$2
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12761 $as_echo_n "checking for $ac_word... " >&6; }
12762 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12763 $as_echo_n "(cached) " >&6
12765 case $orig_target_ranlib in
12767 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12771 for as_dir
in $PATH
12774 test -z "$as_dir" && as_dir
=.
12775 for ac_exec_ext
in '' $ac_executable_extensions; do
12776 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12777 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12788 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12789 if test -n "$orig_target_ranlib"; then
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12791 $as_echo "$orig_target_ranlib" >&6; }
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12794 $as_echo "no" >&6; }
12801 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ranlib}" : '[^ ]* \(.*\)'`
12802 # Extract the first word of "${aros_tool_prefix}${toolchain_ranlib}", so it can be a program name with args.
12803 set dummy
${aros_tool_prefix}${toolchain_ranlib}; ac_word
=$2
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12805 $as_echo_n "checking for $ac_word... " >&6; }
12806 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12807 $as_echo_n "(cached) " >&6
12809 case $orig_target_ranlib in
12811 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12815 for as_dir
in $PATH
12818 test -z "$as_dir" && as_dir
=.
12819 for ac_exec_ext
in '' $ac_executable_extensions; do
12820 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12821 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12832 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12833 if test -n "$orig_target_ranlib"; then
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12835 $as_echo "$orig_target_ranlib" >&6; }
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12838 $as_echo "no" >&6; }
12842 orig_target_ranlib
="$orig_target_ranlib $ac_tool_optarg"
12846 if test "$orig_target_ranlib" = ""; then
12849 if test "$orig_target_ranlib" = "no"; then
12852 if test "$req_avail" = "no"; then
12853 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
12856 if test "${aros_tool_prefix}${toolchain_nm}" = ""; then
12857 if test "$cross_compiling" = "yes" ; then
12858 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
12859 set dummy
${target_tool_prefix}nm
; ac_word
=$2
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12861 $as_echo_n "checking for $ac_word... " >&6; }
12862 if ${ac_cv_path_orig_target_nm+:} false
; then :
12863 $as_echo_n "(cached) " >&6
12865 case $orig_target_nm in
12867 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12871 for as_dir
in $PATH
12874 test -z "$as_dir" && as_dir
=.
12875 for ac_exec_ext
in '' $ac_executable_extensions; do
12876 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12877 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12888 orig_target_nm
=$ac_cv_path_orig_target_nm
12889 if test -n "$orig_target_nm"; then
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12891 $as_echo "$orig_target_nm" >&6; }
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12894 $as_echo "no" >&6; }
12899 if test "$GCC" = "yes"; then
12900 aros_gcc_nm
=`$CC -print-prog-name=nm`
12901 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
12902 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12904 $as_echo_n "checking for $ac_word... " >&6; }
12905 if ${ac_cv_path_orig_target_nm+:} false
; then :
12906 $as_echo_n "(cached) " >&6
12908 case $orig_target_nm in
12910 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12914 for as_dir
in `dirname $aros_gcc_nm`
12917 test -z "$as_dir" && as_dir
=.
12918 for ac_exec_ext
in '' $ac_executable_extensions; do
12919 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12920 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12931 orig_target_nm
=$ac_cv_path_orig_target_nm
12932 if test -n "$orig_target_nm"; then
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12934 $as_echo "$orig_target_nm" >&6; }
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12937 $as_echo "no" >&6; }
12942 if test "$orig_target_nm" = ""; then
12943 # Extract the first word of "nm", so it can be a program name with args.
12944 set dummy nm
; ac_word
=$2
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12946 $as_echo_n "checking for $ac_word... " >&6; }
12947 if ${ac_cv_path_orig_target_nm+:} false
; then :
12948 $as_echo_n "(cached) " >&6
12950 case $orig_target_nm in
12952 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12956 for as_dir
in $PATH
12959 test -z "$as_dir" && as_dir
=.
12960 for ac_exec_ext
in '' $ac_executable_extensions; do
12961 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12962 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12973 orig_target_nm
=$ac_cv_path_orig_target_nm
12974 if test -n "$orig_target_nm"; then
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12976 $as_echo "$orig_target_nm" >&6; }
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12979 $as_echo "no" >&6; }
12986 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_nm}" : '[^ ]* \(.*\)'`
12987 # Extract the first word of "${aros_tool_prefix}${toolchain_nm}", so it can be a program name with args.
12988 set dummy
${aros_tool_prefix}${toolchain_nm}; ac_word
=$2
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12990 $as_echo_n "checking for $ac_word... " >&6; }
12991 if ${ac_cv_path_orig_target_nm+:} false
; then :
12992 $as_echo_n "(cached) " >&6
12994 case $orig_target_nm in
12996 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13000 for as_dir
in $PATH
13003 test -z "$as_dir" && as_dir
=.
13004 for ac_exec_ext
in '' $ac_executable_extensions; do
13005 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13006 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13017 orig_target_nm
=$ac_cv_path_orig_target_nm
13018 if test -n "$orig_target_nm"; then
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13020 $as_echo "$orig_target_nm" >&6; }
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13023 $as_echo "no" >&6; }
13027 orig_target_nm
="$orig_target_nm $ac_tool_optarg"
13031 if test "$orig_target_nm" = ""; then
13034 if test "$orig_target_nm" = "no"; then
13037 if test "$req_avail" = "no"; then
13038 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
13041 if test "${aros_tool_prefix}${toolchain_strip}" = ""; then
13042 if test "$cross_compiling" = "yes" ; then
13043 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
13044 set dummy
${target_tool_prefix}strip
; ac_word
=$2
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13046 $as_echo_n "checking for $ac_word... " >&6; }
13047 if ${ac_cv_path_orig_target_strip+:} false
; then :
13048 $as_echo_n "(cached) " >&6
13050 case $orig_target_strip in
13052 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13056 for as_dir
in $PATH
13059 test -z "$as_dir" && as_dir
=.
13060 for ac_exec_ext
in '' $ac_executable_extensions; do
13061 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13062 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13073 orig_target_strip
=$ac_cv_path_orig_target_strip
13074 if test -n "$orig_target_strip"; then
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13076 $as_echo "$orig_target_strip" >&6; }
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13079 $as_echo "no" >&6; }
13084 if test "$GCC" = "yes"; then
13085 aros_gcc_strip
=`$CC -print-prog-name=strip`
13086 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
13087 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13089 $as_echo_n "checking for $ac_word... " >&6; }
13090 if ${ac_cv_path_orig_target_strip+:} false
; then :
13091 $as_echo_n "(cached) " >&6
13093 case $orig_target_strip in
13095 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13099 for as_dir
in `dirname $aros_gcc_strip`
13102 test -z "$as_dir" && as_dir
=.
13103 for ac_exec_ext
in '' $ac_executable_extensions; do
13104 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13105 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13116 orig_target_strip
=$ac_cv_path_orig_target_strip
13117 if test -n "$orig_target_strip"; then
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13119 $as_echo "$orig_target_strip" >&6; }
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13122 $as_echo "no" >&6; }
13127 if test "$orig_target_strip" = ""; then
13128 # Extract the first word of "strip", so it can be a program name with args.
13129 set dummy strip
; ac_word
=$2
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13131 $as_echo_n "checking for $ac_word... " >&6; }
13132 if ${ac_cv_path_orig_target_strip+:} false
; then :
13133 $as_echo_n "(cached) " >&6
13135 case $orig_target_strip in
13137 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13141 for as_dir
in $PATH
13144 test -z "$as_dir" && as_dir
=.
13145 for ac_exec_ext
in '' $ac_executable_extensions; do
13146 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13147 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13158 orig_target_strip
=$ac_cv_path_orig_target_strip
13159 if test -n "$orig_target_strip"; then
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13161 $as_echo "$orig_target_strip" >&6; }
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13164 $as_echo "no" >&6; }
13171 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_strip}" : '[^ ]* \(.*\)'`
13172 # Extract the first word of "${aros_tool_prefix}${toolchain_strip}", so it can be a program name with args.
13173 set dummy
${aros_tool_prefix}${toolchain_strip}; ac_word
=$2
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13175 $as_echo_n "checking for $ac_word... " >&6; }
13176 if ${ac_cv_path_orig_target_strip+:} false
; then :
13177 $as_echo_n "(cached) " >&6
13179 case $orig_target_strip in
13181 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13185 for as_dir
in $PATH
13188 test -z "$as_dir" && as_dir
=.
13189 for ac_exec_ext
in '' $ac_executable_extensions; do
13190 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13191 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13202 orig_target_strip
=$ac_cv_path_orig_target_strip
13203 if test -n "$orig_target_strip"; then
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13205 $as_echo "$orig_target_strip" >&6; }
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13208 $as_echo "no" >&6; }
13212 orig_target_strip
="$orig_target_strip $ac_tool_optarg"
13216 if test "$orig_target_strip" = ""; then
13219 if test "$orig_target_strip" = "no"; then
13222 if test "$req_avail" = "no"; then
13223 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
13226 if test "${aros_tool_prefix}${toolchain_objcopy}" = ""; then
13227 if test "$cross_compiling" = "yes" ; then
13228 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
13229 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13231 $as_echo_n "checking for $ac_word... " >&6; }
13232 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13233 $as_echo_n "(cached) " >&6
13235 case $orig_target_objcopy in
13237 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13241 for as_dir
in $PATH
13244 test -z "$as_dir" && as_dir
=.
13245 for ac_exec_ext
in '' $ac_executable_extensions; do
13246 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13247 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13258 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13259 if test -n "$orig_target_objcopy"; then
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13261 $as_echo "$orig_target_objcopy" >&6; }
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13264 $as_echo "no" >&6; }
13269 if test "$GCC" = "yes"; then
13270 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
13271 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
13272 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13274 $as_echo_n "checking for $ac_word... " >&6; }
13275 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13276 $as_echo_n "(cached) " >&6
13278 case $orig_target_objcopy in
13280 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13284 for as_dir
in `dirname $aros_gcc_objcopy`
13287 test -z "$as_dir" && as_dir
=.
13288 for ac_exec_ext
in '' $ac_executable_extensions; do
13289 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13290 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13301 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13302 if test -n "$orig_target_objcopy"; then
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13304 $as_echo "$orig_target_objcopy" >&6; }
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13307 $as_echo "no" >&6; }
13312 if test "$orig_target_objcopy" = ""; then
13313 # Extract the first word of "objcopy", so it can be a program name with args.
13314 set dummy objcopy
; ac_word
=$2
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13316 $as_echo_n "checking for $ac_word... " >&6; }
13317 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13318 $as_echo_n "(cached) " >&6
13320 case $orig_target_objcopy in
13322 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13326 for as_dir
in $PATH
13329 test -z "$as_dir" && as_dir
=.
13330 for ac_exec_ext
in '' $ac_executable_extensions; do
13331 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13332 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13343 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13344 if test -n "$orig_target_objcopy"; then
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13346 $as_echo "$orig_target_objcopy" >&6; }
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13349 $as_echo "no" >&6; }
13356 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objcopy}" : '[^ ]* \(.*\)'`
13357 # Extract the first word of "${aros_tool_prefix}${toolchain_objcopy}", so it can be a program name with args.
13358 set dummy
${aros_tool_prefix}${toolchain_objcopy}; ac_word
=$2
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13360 $as_echo_n "checking for $ac_word... " >&6; }
13361 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13362 $as_echo_n "(cached) " >&6
13364 case $orig_target_objcopy in
13366 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13370 for as_dir
in $PATH
13373 test -z "$as_dir" && as_dir
=.
13374 for ac_exec_ext
in '' $ac_executable_extensions; do
13375 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13376 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13387 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13388 if test -n "$orig_target_objcopy"; then
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13390 $as_echo "$orig_target_objcopy" >&6; }
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13393 $as_echo "no" >&6; }
13397 orig_target_objcopy
="$orig_target_objcopy $ac_tool_optarg"
13401 if test "$orig_target_objcopy" = ""; then
13404 if test "$orig_target_objcopy" = "no"; then
13407 if test "$req_avail" = "no"; then
13408 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
13411 if test "${aros_tool_prefix}${toolchain_objdump}" = ""; then
13412 if test "$cross_compiling" = "yes" ; then
13413 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
13414 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13416 $as_echo_n "checking for $ac_word... " >&6; }
13417 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13418 $as_echo_n "(cached) " >&6
13420 case $orig_target_objdump in
13422 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13426 for as_dir
in $PATH
13429 test -z "$as_dir" && as_dir
=.
13430 for ac_exec_ext
in '' $ac_executable_extensions; do
13431 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13432 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13443 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13444 if test -n "$orig_target_objdump"; then
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13446 $as_echo "$orig_target_objdump" >&6; }
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13449 $as_echo "no" >&6; }
13454 if test "$GCC" = "yes"; then
13455 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
13456 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
13457 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13459 $as_echo_n "checking for $ac_word... " >&6; }
13460 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13461 $as_echo_n "(cached) " >&6
13463 case $orig_target_objdump in
13465 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13469 for as_dir
in `dirname $aros_gcc_objdump`
13472 test -z "$as_dir" && as_dir
=.
13473 for ac_exec_ext
in '' $ac_executable_extensions; do
13474 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13475 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13486 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13487 if test -n "$orig_target_objdump"; then
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13489 $as_echo "$orig_target_objdump" >&6; }
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13492 $as_echo "no" >&6; }
13497 if test "$orig_target_objdump" = ""; then
13498 # Extract the first word of "objdump", so it can be a program name with args.
13499 set dummy objdump
; ac_word
=$2
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13501 $as_echo_n "checking for $ac_word... " >&6; }
13502 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13503 $as_echo_n "(cached) " >&6
13505 case $orig_target_objdump in
13507 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13511 for as_dir
in $PATH
13514 test -z "$as_dir" && as_dir
=.
13515 for ac_exec_ext
in '' $ac_executable_extensions; do
13516 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13517 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13528 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13529 if test -n "$orig_target_objdump"; then
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13531 $as_echo "$orig_target_objdump" >&6; }
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13534 $as_echo "no" >&6; }
13541 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objdump}" : '[^ ]* \(.*\)'`
13542 # Extract the first word of "${aros_tool_prefix}${toolchain_objdump}", so it can be a program name with args.
13543 set dummy
${aros_tool_prefix}${toolchain_objdump}; ac_word
=$2
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13545 $as_echo_n "checking for $ac_word... " >&6; }
13546 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13547 $as_echo_n "(cached) " >&6
13549 case $orig_target_objdump in
13551 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13555 for as_dir
in $PATH
13558 test -z "$as_dir" && as_dir
=.
13559 for ac_exec_ext
in '' $ac_executable_extensions; do
13560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13561 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13572 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13573 if test -n "$orig_target_objdump"; then
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13575 $as_echo "$orig_target_objdump" >&6; }
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13578 $as_echo "no" >&6; }
13582 orig_target_objdump
="$orig_target_objdump $ac_tool_optarg"
13586 if test "$orig_target_objdump" = ""; then
13589 if test "$orig_target_objdump" = "no"; then
13592 if test "$req_avail" = "no"; then
13593 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
13597 if test "$kernel_tool_prefix" = "none" ; then
13598 # No kernel tools specified
13599 # Assume target tools == kernel tools with ELF wrapper
13600 aros_kernel_cc
=$orig_target_cc
13601 aros_kernel_cxx
=$orig_target_cxx
13602 aros_kernel_cpp
=$orig_target_cpp
13603 aros_kernel_ld
=$orig_target_ld
13604 aros_kernel_as
=$orig_target_as
13605 aros_kernel_ar
=$orig_target_ar
13606 aros_kernel_ranlib
=$orig_target_ranlib
13607 aros_kernel_nm
=$orig_target_nm
13608 aros_kernel_strip
=$orig_target_strip
13609 aros_kernel_objcopy
=$orig_target_objcopy
13610 aros_kernel_objdump
=$orig_target_objdump
13611 use_kernel_cc_wrapper
=yes
13614 # At this point, all aros_kernel_* and aros_target_*
13615 # tools should be set up correctly
13617 CC
="$aros_kernel_cc $kernel_tool_flags"
13618 CPP
="$aros_kernel_cpp"
13620 #-----------------------------------------------------------------------------
13622 # Find all the tools we need to compile. This could be cross-compiling
13623 # though! If that is the case we use the GNU form of the target and
13624 # simply add this to the front of the binary name. This is rather simple,
13625 # but it should work under most circumstances.
13627 # The default tools are to use the same as the host, but only if the
13628 # host and target CPU are the same. With GCC this is normally enough.
13632 aros_shared_ld
="$aros_host_ld"
13634 aros_target_mkdep
="$aros_host_mkdep"
13636 # The default tools executables to be linked to.
13637 if test "$rescomp" != ""; then
13638 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
13639 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13641 $as_echo_n "checking for $ac_word... " >&6; }
13642 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
13643 $as_echo_n "(cached) " >&6
13645 case $aros_kernel_rescomp in
13647 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
13650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13651 for as_dir
in $PATH
13654 test -z "$as_dir" && as_dir
=.
13655 for ac_exec_ext
in '' $ac_executable_extensions; do
13656 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13657 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
13658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13668 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
13669 if test -n "$aros_kernel_rescomp"; then
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
13671 $as_echo "$aros_kernel_rescomp" >&6; }
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13674 $as_echo "no" >&6; }
13679 if test "$aros_kernel_rescomp" = ""; then
13682 if test "$aros_kernel_rescomp" = "no"; then
13685 if test "$req_avail" = "no"; then
13686 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
13690 # Set up the sources for the symlink farm
13691 if test "$crosstools" = "yes"; then
13692 crosstools_target
=tools-crosstools
13695 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
13696 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
13698 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/host/config"
13699 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
13700 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Developer/include/aros"
13701 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
13702 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
13703 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
13704 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
13706 # aros_cc_pre is a variable that is added to the front of the compiler name
13707 # in the generated aros-gcc shell script. We need this to enable the cache
13708 # to work across cleaned builds. Also, support DISTCC using the correct
13709 # environment variable.
13712 if test "x${DISTCC}" != "x" ; then
13713 if test "x${CCACHE}" != "x" ; then
13714 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
13716 aros_cc_pre
="${DISTCC} "
13719 if test "x${CCACHE}" != "x" ; then
13720 aros_cc_pre
="${CCACHE} "
13724 aros_target_nostdinc_cflags
=-nostdinc
13726 aros_target_nostartup_ldflags
=-nostartfiles
13728 aros_target_nix_ldflags
=-nix
13730 aros_target_detach_ldflags
=-detach
13732 aros_target_nostdlib_ldflags
=-nostdlib
13737 if test "$aros_target_toolchain" != "yes"; then
13738 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
13739 if test "$GCC" = "yes"; then
13740 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
13743 # We do not know which c compiler version we are going to build and what we need to know
13744 # here is different for different versions so this will be set later during the
13745 # build of crosstools.
13746 if test "$aros_toolchain" = "gnu" ; then
13747 prefix
="$AROS_CROSSTOOLSDIR/${aros_target_cpu}-aros-"
13748 elif test "$aros_toolchain" = "llvm" ; then
13749 prefix
="$AROS_CROSSTOOLSDIR/bin/"
13751 aros_target_cc_path
=@aros_target_cc_path@
13753 aros_target_cpp
="${prefix}${toolchain_cpp_preprocessor}"
13754 aros_target_cc
="${prefix}${toolchain_c_compiler}"
13755 aros_target_cxx
="${prefix}${toolchain_cxx_compiler}"
13756 aros_target_as
="${prefix}${toolchain_as}"
13757 if test "${use_ld_wrapper}" = "yes"; then
13758 aros_target_ld
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${aros_ld}"
13760 aros_target_ld
="${prefix}${toolchain_ld}"
13762 aros_toolchain_ld
="${prefix}${toolchain_ld}"
13764 aros_target_ar
="${prefix}${toolchain_ar} $aros_target_ar_flags"
13765 aros_target_objcopy
="${prefix}${toolchain_objcopy}"
13766 aros_target_objdump
="${prefix}${toolchain_objdump}"
13767 aros_target_ranlib
="${prefix}${toolchain_ranlib} $aros_target_ranlib_flags"
13768 aros_target_nm
="${prefix}${toolchain_nm} $aros_target_nm_flags"
13769 aros_target_strip
="${prefix}${toolchain_strip}"
13770 aros_plain_nm
="${prefix}${toolchain_nm}"
13771 aros_plain_ar
="${prefix}${toolchain_ar}"
13773 # Check whether --enable-includes was given.
13774 if test "${enable_includes+set}" = set; then :
13775 enableval
=$enable_includes; aros_target_incl
=$enable_includes
13777 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
13781 if test "$aros_kernel_includes" = ""; then
13782 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13783 aros_kernel_includes
="-isystem $aros_target_incl"
13787 if test "$aros_kernel_includes" != "" ; then
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
13789 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
13790 if test "$aros_kernel_cc_includes" = "" ; then
13791 # Try to guess where the directory is.
13792 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
13793 if test -d $aros_kernel_cc_includes; then
13794 # Check if there is also an include-fixed directory and add it
13795 # to kernel compiler's include path as it may contain some of
13796 # the headers we need.
13797 if test -d "$aros_kernel_cc_includes"-fixed; then
13798 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
13800 # Check for specific includes directory. Needed for Ubuntu 11.10 and Debian
13801 if test -d "/usr/include/${aros_target_cpu}-linux-gnu"; then
13802 aros_kernel_cc_includes
+=" -isystem /usr/include/${aros_target_cpu}-linux-gnu"
13805 # The directory doesn't exist, we need to do some more work.
13806 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
13808 # These are the headers we're looking for.
13809 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13810 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13814 for h
in $headers; do
13815 # Which other headers are needed by each of the above?
13816 deps
=$
(echo "#include <$h>" | \
13817 $aros_kernel_cc -E -M - 2>/dev
/null | \
13818 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13820 # Copy all the needed headers to a directory beneath gendir.
13823 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
13824 sed -n "s,^.*/include\(/.*\),\1,p")
13825 ! test -d $dir && mkdir
-p $dir
13826 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
13832 $as_echo "$aros_kernel_cc_includes" >&6; }
13833 # Adding -nostdinc to kernel includes as they are always used together.
13834 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
13837 if test "$crosstools" != "yes"; then
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
13839 $as_echo_n "checking for the target compiler's include path... " >&6; }
13840 if test "$aros_target_cc_includes" = "" ; then
13841 #try to guess where the directory is
13842 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
13843 if ! test -d $aros_target_cc_includes; then
13844 #the directory doesn't exist, we need to do some more work
13845 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
13847 #these are the headers we're looking for
13848 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13849 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13853 for h
in $headers; do
13854 #which other headers each of the above headers needs?
13855 deps
=$
(echo "#include <$h>" | \
13856 $orig_target_cc -E -M - 2>/dev
/null | \
13857 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13859 #copy all the needed headers to a directory beneath gendir
13862 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
13863 sed -n "s,^.*/include\(/.*\),\1,p")
13864 ! test -d $dir && mkdir
-p $dir
13865 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
13871 $as_echo "$aros_target_cc_includes" >&6; }
13873 # We do not know which c compiler version we are going to build and what we need to know
13874 # here is different for different versions so this will be set later during the
13875 # build of crosstools.
13876 aros_target_cc_includes
=@aros_target_cc_includes@
13880 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
13881 # On GCC >= 4.0 -iquote should be used
13885 save_cflags
="$CFLAGS"
13887 kernel_cflags_iquote
=$host_cflags_iquote
13888 kernel_cflags_iquote_end
=$host_cflags_iquote_end
13889 if test "x-$cross_compiling" = "x-yes"; then
13890 CC
="$aros_kernel_cc"
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
13892 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
13893 if test "x-$crosstools" != "x-yes"; then
13894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13895 /* end confdefs.h. */
13905 if ac_fn_c_try_compile
"$LINENO"; then :
13906 use_no_stack_protector
="yes"
13908 use_no_stack_protector
="no"
13910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13912 # we do know it is supported for the smallest version of gcc we are going to build
13913 # we assume it's also supported by later versions
13914 use_no_stack_protector
=yes
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
13917 $as_echo "$use_no_stack_protector" >&6; }
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13919 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13920 if test "x-$crosstools" != "x-yes"; then
13921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13922 /* end confdefs.h. */
13932 if ac_fn_c_try_compile
"$LINENO"; then :
13937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13939 # we do know it is supported for the smallest version of gcc we are going to build
13940 # we assume it's also supported by later versions
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13944 $as_echo "$has_iquote" >&6; }
13945 if test "x-$has_iquote" = "x-yes" ; then
13946 kernel_cflags_iquote
=-iquote
13947 kernel_cflags_iquote_end
=
13949 kernel_cflags_iquote
=-I
13950 kernel_cflags_iquote_end
=-I-
13953 if test "x-$use_no_stack_protector" = "x-yes" ; then
13954 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13957 #-----------------------------------------------------------------------------
13959 # Check if we can explicitly choose older version of symbol hashing
13961 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13962 CC
="$aros_kernel_cc"
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13964 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13966 /* end confdefs.h. */
13976 if ac_fn_c_try_link
"$LINENO"; then :
13977 use_hash_style
="yes"
13979 use_hash_style
="no"
13981 rm -f core conftest.err conftest.
$ac_objext \
13982 conftest
$ac_exeext conftest.
$ac_ext
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13984 $as_echo "$use_hash_style" >&6; }
13985 if test "x-$use_hash_style" = "x-yes" ; then
13986 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13989 CFLAGS
="$save_cflags"
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13998 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
14000 # Check whether --with-resolution was given.
14001 if test "${with_resolution+set}" = set; then :
14002 withval
=$with_resolution; resolution
=$withval
14007 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
14008 if test "$resolution" = "yes" ; then
14011 if test "$resolution" = "no" ; then
14014 if test "$resolution" != "none" ; then
14015 aros_nominal_width
=`echo $resolution | cut -d'x' -f1`
14016 aros_nominal_height
=`echo $resolution | cut -d'x' -f2`
14017 aros_nominal_depth
=`echo $resolution | cut -d'x' -f3`
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&5
14020 $as_echo "$aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&6; }
14021 aros_cv_nominal_width
=$aros_nominal_width
14022 aros_cv_nominal_height
=$aros_nominal_height
14023 aros_cv_nominal_depth
=$aros_nominal_depth
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether serial debug is enabled" >&5
14026 $as_echo_n "checking whether serial debug is enabled... " >&6; }
14028 # Check whether --with-serial-debug was given.
14029 if test "${with_serial_debug+set}" = set; then :
14030 withval
=$with_serial_debug; serial_debug
=$withval
14035 if test "$aros_serial_debug" = 0 ; then
14036 serial_debug_forced
=""
14037 if test "$serial_debug" = "yes" ; then
14040 if test "$serial_debug" = "no" ; then
14041 serial_debug
="none"
14044 serial_debug_forced
="(forced)"
14045 serial_debug
=$aros_serial_debug
14047 if test "$serial_debug" != "none" ; then
14048 aros_serial_debug
=$serial_debug
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
14050 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14053 $as_echo "no" >&6; }
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether palm debug hack is enabled" >&5
14057 $as_echo_n "checking whether palm debug hack is enabled... " >&6; }
14058 # Check whether --enable-palm_debug_hack was given.
14059 if test "${enable_palm_debug_hack+set}" = set; then :
14060 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
14062 palm_debug_hack
="no"
14065 if test "$palm_debug_hack" = "yes" ; then
14066 aros_palm_debug_hack
="1"
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
14069 $as_echo "$palm_debug_hack" >&6; }
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usb3.0 code is enabled" >&5
14072 $as_echo_n "checking whether usb3.0 code is enabled... " >&6; }
14073 # Check whether --enable-usb30_code was given.
14074 if test "${enable_usb30_code+set}" = set; then :
14075 enableval
=$enable_usb30_code; usb30_code
="yes"
14080 if test "$usb30_code" = "yes" ; then
14081 aros_config_cppflags
="$aros_config_cppflags -DAROS_USB30_CODE"
14082 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
14085 $as_echo "$usb30_code" >&6; }
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether nesting supervisor support is enabled" >&5
14088 $as_echo_n "checking whether nesting supervisor support is enabled... " >&6; }
14089 # Check whether --enable-nesting_supervisor was given.
14090 if test "${enable_nesting_supervisor+set}" = set; then :
14091 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
14093 nesting_supervisor
="no"
14096 if test "$nesting_supervisor" = "yes" ; then
14097 aros_nesting_supervisor
="1"
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
14100 $as_echo "$nesting_supervisor" >&6; }
14102 if test "$aros_enable_mmu" = "" ; then
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MMU support is enabled" >&5
14104 $as_echo_n "checking whether MMU support is enabled... " >&6; }
14105 # Check whether --enable-mmu was given.
14106 if test "${enable_mmu+set}" = set; then :
14107 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
14109 aros_enable_mmu
="yes"
14112 if test "$aros_enable_mmu" = "" ; then
14113 aros_enable_mmu
="yes"
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
14116 $as_echo "$aros_enable_mmu" >&6; }
14118 if test "$aros_enable_mmu" = "no" ; then
14119 aros_enable_mmu
="0"
14121 aros_enable_mmu
="1"
14125 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
14127 if test "x-$need_dlopen" != "x-no" ; then
14130 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
14131 if test "x$ac_cv_func_dlopen" = xyes
; then :
14137 if test "x-$have_dl" = "x-no" ; then
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14139 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14140 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14141 $as_echo_n "(cached) " >&6
14143 ac_check_lib_save_LIBS
=$LIBS
14145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14146 /* end confdefs.h. */
14148 /* Override any GCC internal prototype to avoid an error.
14149 Use char because int might match the return type of a GCC
14150 builtin and then its argument prototype would still apply. */
14163 if ac_fn_c_try_link
"$LINENO"; then :
14164 ac_cv_lib_dl_dlopen
=yes
14166 ac_cv_lib_dl_dlopen
=no
14168 rm -f core conftest.err conftest.
$ac_objext \
14169 conftest
$ac_exeext conftest.
$ac_ext
14170 LIBS
=$ac_check_lib_save_LIBS
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14173 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14174 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14176 aros_host_ldflags
="$aros_host_ldflags -ldl"
14182 if test "x-$have_dl" = "x-no" ; then
14183 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
14189 # Check whether --enable-x11_hidd was given.
14190 if test "${enable_x11_hidd+set}" = set; then :
14191 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
14193 x11_hidd
="$need_x11"
14196 case "x-$x11_hidd" in
14197 x-yes|x-no|x-auto
) ;;
14198 *) x11_hidd
="$need_x11" ;;
14203 if test "x-$x11_hidd" != "x-no" ; then
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
14206 $as_echo_n "checking for X... " >&6; }
14209 # Check whether --with-x was given.
14210 if test "${with_x+set}" = set; then :
14214 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
14215 if test "x$with_x" = xno
; then
14216 # The user explicitly disabled X.
14219 case $x_includes,$x_libraries in #(
14220 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
14221 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
14222 $as_echo_n "(cached) " >&6
14224 # One or both of the vars are not set, and there is no cached value.
14225 ac_x_includes
=no ac_x_libraries
=no
14226 rm -f -r conftest.dir
14227 if mkdir conftest.dir
; then
14229 cat >Imakefile
<<'_ACEOF'
14231 @echo incroot='${INCROOT}'
14233 @echo usrlibdir='${USRLIBDIR}'
14235 @echo libdir='${LIBDIR}'
14237 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
14238 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14239 for ac_var
in incroot usrlibdir libdir
; do
14240 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14242 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14243 for ac_extension
in a so sl dylib la dll
; do
14244 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14245 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14246 ac_im_usrlibdir
=$ac_im_libdir; break
14249 # Screen out bogus values from the imake configuration. They are
14250 # bogus both because they are the default anyway, and because
14251 # using them would break gcc on systems where it needs fixed includes.
14252 case $ac_im_incroot in
14253 /usr
/include
) ac_x_includes
= ;;
14254 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
14256 case $ac_im_usrlibdir in
14257 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
14258 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
14262 rm -f -r conftest.dir
14265 # Standard set of common directories for X headers.
14266 # Check X11 before X11Rn because it is often a symlink to the current release.
14280 /usr/local/X11/include
14281 /usr/local/X11R7/include
14282 /usr/local/X11R6/include
14283 /usr/local/X11R5/include
14284 /usr/local/X11R4/include
14286 /usr/local/include/X11
14287 /usr/local/include/X11R7
14288 /usr/local/include/X11R6
14289 /usr/local/include/X11R5
14290 /usr/local/include/X11R4
14294 /usr/XFree86/include/X11
14298 /usr/unsupported/include
14299 /usr/athena/include
14300 /usr/local/x11r5/include
14301 /usr/lpp/Xamples/include
14303 /usr/openwin/include
14304 /usr/openwin/share/include'
14306 if test "$ac_x_includes" = no
; then
14307 # Guess where to find include files, by looking for Xlib.h.
14308 # First, try using that file with no special directory specified.
14309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14310 /* end confdefs.h. */
14311 #include <X11/Xlib.h>
14313 if ac_fn_c_try_cpp
"$LINENO"; then :
14314 # We can compile using X headers with no special include directory.
14317 for ac_dir
in $ac_x_header_dirs; do
14318 if test -r "$ac_dir/X11/Xlib.h"; then
14319 ac_x_includes
=$ac_dir
14324 rm -f conftest.err conftest.i conftest.
$ac_ext
14325 fi # $ac_x_includes = no
14327 if test "$ac_x_libraries" = no
; then
14328 # Check for the libraries.
14329 # See if we find them without any special options.
14330 # Don't add to $LIBS permanently.
14333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14334 /* end confdefs.h. */
14335 #include <X11/Xlib.h>
14344 if ac_fn_c_try_link
"$LINENO"; then :
14346 # We can link X programs with no special library path.
14350 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14352 # Don't even attempt the hair of trying to link an X program!
14353 for ac_extension
in a so sl dylib la dll
; do
14354 if test -r "$ac_dir/libX11.$ac_extension"; then
14355 ac_x_libraries
=$ac_dir
14361 rm -f core conftest.err conftest.
$ac_objext \
14362 conftest
$ac_exeext conftest.
$ac_ext
14363 fi # $ac_x_libraries = no
14365 case $ac_x_includes,$ac_x_libraries in #(
14366 no
,* |
*,no |
*\'*)
14367 # Didn't find X, or a directory has "'" in its name.
14368 ac_cv_have_x
="have_x=no";; #(
14370 # Record where we found X for the cache.
14371 ac_cv_have_x
="have_x=yes\
14372 ac_x_includes='$ac_x_includes'\
14373 ac_x_libraries='$ac_x_libraries'"
14379 eval "$ac_cv_have_x"
14382 if test "$have_x" != yes; then
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14384 $as_echo "$have_x" >&6; }
14387 # If each of the values was on the command line, it overrides each guess.
14388 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
14389 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
14390 # Update the cache value to reflect the command line values.
14391 ac_cv_have_x
="have_x=yes\
14392 ac_x_includes='$x_includes'\
14393 ac_x_libraries='$x_libraries'"
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14395 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
14399 if test -n "$x_includes"; then
14400 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14403 if test -n "$x_libraries"; then
14404 X_LIBS
="$X_LIBS -L$x_libraries"
14407 if test "x-$no_x" = "x-yes" ; then
14409 if test "x-$x11_hidd" != "x-auto" ; then
14410 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
14417 aros_host_x11_cflags
="$X_CFLAGS"
14418 aros_host_x11_ldflags
="$X_LIBS -lX11"
14420 # Check whether --enable-x11_shm was given.
14421 if test "${enable_x11_shm+set}" = set; then :
14422 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
14424 x11_hidd_shm
="auto"
14427 case "x-$x11_hidd_shm" in
14428 x-yes|x-no|x-auto
) ;;
14429 *) x11_hidd_shm
="auto" ;;
14434 if test "x-$x11_hidd_shm" != "x-no" ; then
14436 for ac_header
in sys
/ipc.h
14438 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
14439 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
14440 cat >>confdefs.h
<<_ACEOF
14441 #define HAVE_SYS_IPC_H 1
14448 for ac_header
in sys
/shm.h
14450 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
14451 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
14452 cat >>confdefs.h
<<_ACEOF
14453 #define HAVE_SYS_SHM_H 1
14461 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
14463 save_cflags
="$CFLAGS"
14464 save_ldflags
="$LDFLAGS"
14465 CFLAGS
="$CFLAGS $X_CFLAGS"
14466 LDFLAGS
="$LDFLAGS $X_LIBS"
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14468 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
14469 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
14470 $as_echo_n "(cached) " >&6
14472 ac_check_lib_save_LIBS
=$LIBS
14473 LIBS
="-lXext $LIBS"
14474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14475 /* end confdefs.h. */
14477 /* Override any GCC internal prototype to avoid an error.
14478 Use char because int might match the return type of a GCC
14479 builtin and then its argument prototype would still apply. */
14483 char XShmQueryExtension ();
14487 return XShmQueryExtension ();
14492 if ac_fn_c_try_link
"$LINENO"; then :
14493 ac_cv_lib_Xext_XShmQueryExtension
=yes
14495 ac_cv_lib_Xext_XShmQueryExtension
=no
14497 rm -f core conftest.err conftest.
$ac_objext \
14498 conftest
$ac_exeext conftest.
$ac_ext
14499 LIBS
=$ac_check_lib_save_LIBS
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14502 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14503 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
14507 CFLAGS
="$save_cflags"
14508 LDFLAGS
="$save_ldflags"
14512 if test "x-$have_xshm" = "x-yes" ; then
14513 DO_XSHM_SUPPORT
="1"
14514 elif test "x-$x11_hidd_shm" = "x-yes" ; then
14515 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
14517 DO_XSHM_SUPPORT
="0"
14521 # Check whether --enable-x11_vidmode was given.
14522 if test "${enable_x11_vidmode+set}" = set; then :
14523 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
14525 x11_hidd_vidmode
="auto"
14528 case "x-$x11_hidd_vidmode" in
14529 x-yes|x-no|x-auto
) ;;
14530 *) x11_hidd_vidmode
="auto" ;;
14535 if test "x-$x11_hidd_vidmode" != "x-no" ; then
14537 save_cflags
="$CFLAGS"
14538 save_ldflags
="$LDFLAGS"
14539 CFLAGS
="$CFLAGS $X_CFLAGS"
14540 LDFLAGS
="$LDFLAGS $X_LIBS"
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
14542 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
14543 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
14544 $as_echo_n "(cached) " >&6
14546 ac_check_lib_save_LIBS
=$LIBS
14547 LIBS
="-lXxf86vm $LIBS"
14548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14549 /* end confdefs.h. */
14551 /* Override any GCC internal prototype to avoid an error.
14552 Use char because int might match the return type of a GCC
14553 builtin and then its argument prototype would still apply. */
14557 char XF86VidModeQueryExtension ();
14561 return XF86VidModeQueryExtension ();
14566 if ac_fn_c_try_link
"$LINENO"; then :
14567 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
14569 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
14571 rm -f core conftest.err conftest.
$ac_objext \
14572 conftest
$ac_exeext conftest.
$ac_ext
14573 LIBS
=$ac_check_lib_save_LIBS
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
14576 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
14577 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
14581 CFLAGS
="$save_cflags"
14582 LDFLAGS
="$save_ldflags"
14585 if test "x-$have_vidmode" = "x-yes" ; then
14586 DO_VIDMODE_SUPPORT
="1"
14587 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
14588 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
14590 DO_VIDMODE_SUPPORT
="0"
14595 # Check whether --enable-sdl_hidd was given.
14596 if test "${enable_sdl_hidd+set}" = set; then :
14597 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
14602 case "x-$sdl_hidd" in
14603 x-yes|x-no|x-auto
) ;;
14604 *) sdl_hidd
="auto" ;;
14607 if test "x-$sdl_hidd" != "x-no" ; then
14611 # Check whether --with-sdl-prefix was given.
14612 if test "${with_sdl_prefix+set}" = set; then :
14613 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
14619 # Check whether --with-sdl-exec-prefix was given.
14620 if test "${with_sdl_exec_prefix+set}" = set; then :
14621 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
14626 # Check whether --enable-sdltest was given.
14627 if test "${enable_sdltest+set}" = set; then :
14628 enableval
=$enable_sdltest;
14634 if test x
$sdl_exec_prefix != x
; then
14635 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
14636 if test x
${SDL_CONFIG+set} != xset
; then
14637 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
14640 if test x
$sdl_prefix != x
; then
14641 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
14642 if test x
${SDL_CONFIG+set} != xset
; then
14643 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
14647 as_save_PATH
="$PATH"
14648 if test "x$prefix" != xNONE
; then
14649 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
14651 # Extract the first word of "sdl-config", so it can be a program name with args.
14652 set dummy sdl-config
; ac_word
=$2
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14654 $as_echo_n "checking for $ac_word... " >&6; }
14655 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
14656 $as_echo_n "(cached) " >&6
14658 case $SDL_CONFIG in
14660 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
14663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14664 for as_dir
in $PATH
14667 test -z "$as_dir" && as_dir
=.
14668 for ac_exec_ext
in '' $ac_executable_extensions; do
14669 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14670 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14678 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
14682 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
14683 if test -n "$SDL_CONFIG"; then
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
14685 $as_echo "$SDL_CONFIG" >&6; }
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14688 $as_echo "no" >&6; }
14692 PATH
="$as_save_PATH"
14693 min_sdl_version
=$SDL_VERSION
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
14695 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
14697 if test "$SDL_CONFIG" = "no" ; then
14700 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
14701 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
14703 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
14704 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
14705 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
14706 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
14707 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
14708 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
14709 if test "x$enable_sdltest" = "xyes" ; then
14710 ac_save_CFLAGS
="$CFLAGS"
14711 ac_save_CXXFLAGS
="$CXXFLAGS"
14712 ac_save_LIBS
="$LIBS"
14713 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14714 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14715 LIBS
="$LIBS $SDL_LIBS"
14717 if test "$cross_compiling" = yes; then :
14718 echo $ac_n "cross compiling; assumed OK... $ac_c"
14720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14721 /* end confdefs.h. */
14724 #include <stdlib.h>
14725 #include <string.h>
14729 my_strdup (char *str)
14735 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14736 strcpy (new_str, str);
14744 int main (int argc, char *argv[])
14746 int major, minor, micro;
14749 /* This hangs on some systems (?)
14750 system ("touch conf.sdltest");
14752 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14754 /* HP/UX 9 (%@#!) writes to sscanf strings */
14755 tmp_version = my_strdup("$min_sdl_version");
14756 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14757 printf("%s, bad version string\n", "$min_sdl_version");
14761 if (($sdl_major_version > major) ||
14762 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14763 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14769 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14770 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14771 printf("*** best to upgrade to the required version.\n");
14772 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14773 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14774 printf("*** config.cache before re-running configure\n");
14781 if ac_fn_c_try_run
"$LINENO"; then :
14786 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14787 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14790 CFLAGS
="$ac_save_CFLAGS"
14791 CXXFLAGS
="$ac_save_CXXFLAGS"
14792 LIBS
="$ac_save_LIBS"
14795 if test "x$no_sdl" = x
; then
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14797 $as_echo "yes" >&6; }
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14801 $as_echo "no" >&6; }
14802 if test "$SDL_CONFIG" = "no" ; then
14803 echo "*** The sdl-config script installed by SDL could not be found"
14804 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14805 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14806 echo "*** full path to sdl-config."
14808 if test -f conf.sdltest
; then
14811 echo "*** Could not run SDL test program, checking why..."
14812 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14813 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14814 LIBS
="$LIBS $SDL_LIBS"
14815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14816 /* end confdefs.h. */
14821 int main(int argc, char *argv[])
14824 #define main K_and_R_C_main
14834 if ac_fn_c_try_link
"$LINENO"; then :
14835 echo "*** The test program compiled, but did not run. This usually means"
14836 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14837 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14838 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14839 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14840 echo "*** is required on your system"
14842 echo "*** If you have an old version installed, it is best to remove it, although"
14843 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14845 echo "*** The test program failed to compile or link. See the file config.log for the"
14846 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14847 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14848 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14850 rm -f core conftest.err conftest.
$ac_objext \
14851 conftest
$ac_exeext conftest.
$ac_ext
14852 CFLAGS
="$ac_save_CFLAGS"
14853 CXXFLAGS
="$ac_save_CXXFLAGS"
14854 LIBS
="$ac_save_LIBS"
14866 if test "x-$have_sdl" != "x-yes" ; then
14868 if test "x-$sdl_hidd" != "x-auto" ; then
14869 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14874 aros_host_sdl_cflags
=$SDL_CFLAGS
14875 aros_host_sdl_libs
=$SDL_LIBS
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether building of dbus.library is enabled" >&5
14883 $as_echo_n "checking whether building of dbus.library is enabled... " >&6; }
14884 # Check whether --enable-dbus was given.
14885 if test "${enable_dbus+set}" = set; then :
14886 enableval
=$enable_dbus; dbus
="yes"
14891 if test "$dbus" = "yes" ; then
14893 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14894 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14895 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14896 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14901 $as_echo "$dbus" >&6; }
14903 if test "$use_kernel_cc_wrapper" = "yes" ; then
14904 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-${toolchain_c_compiler}"
14907 aros_kernel_cppflags
=$aros_config_cppflags
14908 aros_optimization_cflags
="$optimization_level"
14909 if test "$optimization" = "default"; then
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default optimization level to use" >&5
14911 $as_echo_n "checking default optimization level to use... " >&6; }
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization_level" >&5
14913 $as_echo "$optimization_level" >&6; }
14931 # Compatability with other Amiga-like operation systems
15043 # Hosted Graphics Related
15061 # Bootloader related
15064 # Native version related
15069 # Palm native version related
15072 # Unix/Hosted version related
15078 # Apple iOS related
15083 # ARM default GCC target related
15111 # Collect-aros stuff: "-ius" to ignore undefined symbols
15114 # C compiler related
15119 #ObjC compiler related
15128 case "$aros_flavour" in
15129 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
15130 aros_flavour
="emulation" ;;
15131 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
15132 aros_flavour
="emulation" ;;
15133 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
15134 aros_flavour
="standalone";;
15135 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15136 aros_flavour
="standalone";;
15137 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
15138 aros_flavour
="native" ;;
15139 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
15140 aros_flavour
="native" ;;
15141 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
15142 aros_flavour
="linklib" ;;
15143 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15144 aros_flavour
="palmnative" ;;
15145 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15146 aros_flavour
="mac68knative" ;;
15147 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15148 aros_flavour
="ppcnative" ;;
15151 if test ! -d ${aros_inc_dir} ; then
15152 ${MKDIR} ${aros_inc_dir}
15154 if test ! -d ${aros_geninc_dir} ; then
15155 ${MKDIR} ${aros_geninc_dir}
15157 if test ! -d ${aros_hostcfg_dir} ; then
15158 ${MKDIR} ${aros_hostcfg_dir}
15160 if test ! -d ${aros_targetcfg_dir} ; then
15161 ${MKDIR} ${aros_targetcfg_dir}
15163 if test ! -d ${aros_tools_dir} ; then
15164 ${MKDIR} ${aros_tools_dir}
15166 if test ! -d ${aros_scripts_dir} ; then
15167 ${MKDIR} ${aros_scripts_dir}
15170 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
15173 # Generic build tools (metamake, etc)
15174 ac_config_commands
="$ac_config_commands genmf-executable-support"
15176 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"
15180 ac_config_commands
="$ac_config_commands binutils-support"
15182 if test "${use_ld_wrapper}" = "yes"; then
15183 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"
15186 # Bare Elf support script and spec
15187 if test "${use_kernel_cc_wrapper}" = "yes"; then
15188 ac_config_commands
="$ac_config_commands elf-compiler-support"
15190 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"
15194 # Host compiler support scripts and spec
15195 if test "${aros_target_toolchain}" = "no"; then
15196 ac_config_commands
="$ac_config_commands host-compiler-wrapper-support"
15198 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"
15203 if test "$aros_target_variant" == "android"; then
15204 ac_config_files
="$ac_config_files ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in"
15209 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in"
15212 cat >confcache
<<\_ACEOF
15213 # This file is a shell script that caches the results of configure
15214 # tests run on this system so they can be shared between configure
15215 # scripts and configure runs, see configure's option --config-cache.
15216 # It is not useful on other systems. If it contains results you don't
15217 # want to keep, you may remove or edit it.
15219 # config.status only pays attention to the cache file if you give it
15220 # the --recheck option to rerun configure.
15222 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15223 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15224 # following values.
15228 # The following way of writing the cache mishandles newlines in values,
15229 # but we know of no workaround that is simple, portable, and efficient.
15230 # So, we kill variables containing newlines.
15231 # Ultrix sh set writes to stderr and can't be redirected directly,
15232 # and sets the high bit in the cache file unless we assign to the vars.
15234 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15235 eval ac_val
=\$
$ac_var
15239 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15240 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15243 _ | IFS | as_nl
) ;; #(
15244 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15245 *) { eval $ac_var=; unset $ac_var;} ;;
15251 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15252 *${as_nl}ac_space
=\
*)
15253 # `set' does not quote correctly, so add quotes: double-quote
15254 # substitution turns \\\\ into \\, and sed turns \\ into \.
15257 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15260 # `set' quotes correctly as required by POSIX, so do not add quotes.
15261 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15270 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15272 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15274 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15275 if test -w "$cache_file"; then
15276 if test "x$cache_file" != "x/dev/null"; then
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15278 $as_echo "$as_me: updating cache $cache_file" >&6;}
15279 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15280 cat confcache
>"$cache_file"
15282 case $cache_file in #(
15284 mv -f confcache
"$cache_file"$$
&&
15285 mv -f "$cache_file"$$
"$cache_file" ;; #(
15287 mv -f confcache
"$cache_file" ;;
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15293 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15298 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15299 # Let make expand exec_prefix.
15300 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15302 DEFS
=-DHAVE_CONFIG_H
15307 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15308 # 1. Remove the extension, and $U if already installed.
15309 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15310 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15311 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15312 # will be set to the directory where LIBOBJS objects are built.
15313 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15314 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15316 LIBOBJS
=$ac_libobjs
15318 LTLIBOBJS
=$ac_ltlibobjs
15322 : "${CONFIG_STATUS=./config.status}"
15324 ac_clean_files_save
=$ac_clean_files
15325 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15327 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15329 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15331 # Generated by $as_me.
15332 # Run this file to recreate the current configuration.
15333 # Compiler output produced by configure, useful for debugging
15334 # configure, is in config.log if it exists.
15337 ac_cs_recheck=false
15340 SHELL=\${CONFIG_SHELL-$SHELL}
15343 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15344 ## -------------------- ##
15345 ## M4sh Initialization. ##
15346 ## -------------------- ##
15348 # Be more Bourne compatible
15349 DUALCASE
=1; export DUALCASE
# for MKS sh
15350 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15353 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15354 # is contrary to our usage. Disable this feature.
15355 alias -g '${1+"$@"}'='"$@"'
15356 setopt NO_GLOB_SUBST
15358 case `(set -o) 2>/dev/null` in #(
15370 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15371 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15372 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15373 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15374 # Prefer a ksh shell builtin over an external printf program on Solaris,
15375 # but without wasting forks for bash or zsh.
15376 if test -z "$BASH_VERSION$ZSH_VERSION" \
15377 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15378 as_echo='print
-r --'
15379 as_echo_n='print
-rn --'
15380 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15381 as_echo='printf %s
\n'
15382 as_echo_n='printf %s
'
15384 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15385 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15386 as_echo_n='/usr
/ucb
/echo -n'
15388 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15389 as_echo_n_body='eval
15393 expr "X$arg" : "X\\(.*\\)$as_nl";
15394 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15396 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15398 export as_echo_n_body
15399 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15401 export as_echo_body
15402 as_echo='sh
-c $as_echo_body as_echo
'
15405 # The user is always right.
15406 if test "${PATH_SEPARATOR+set}" != set; then
15408 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15409 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15416 # We need space, tab and new line, in precisely that order. Quoting is
15417 # there to prevent editors from complaining about space-tab.
15418 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15419 # splitting by setting IFS to empty value.)
15422 # Find who we are. Look in the path if we contain no directory separator.
15425 *[\\/]* ) as_myself=$0 ;;
15426 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15427 for as_dir in $PATH
15430 test -z "$as_dir" && as_dir=.
15431 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15437 # We did not find ourselves, most probably we were run as `sh COMMAND'
15438 # in which case we are not to be found in the path.
15439 if test "x$as_myself" = x
; then
15442 if test ! -f "$as_myself"; then
15443 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15447 # Unset variables that we do not need and which cause bugs (e.g. in
15448 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15449 # suppresses any "Segmentation fault" message there. '((' could
15450 # trigger a bug in pdksh 5.2.14.
15451 for as_var
in BASH_ENV ENV MAIL MAILPATH
15452 do eval test x\
${$as_var+set} = xset \
15453 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15466 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15469 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15470 # ----------------------------------------
15471 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15472 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15473 # script with STATUS, using 1 if that was 0.
15476 as_status
=$1; test $as_status -eq 0 && as_status
=1
15478 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15479 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15481 $as_echo "$as_me: error: $2" >&2
15482 as_fn_exit
$as_status
15486 # as_fn_set_status STATUS
15487 # -----------------------
15488 # Set $? to STATUS, without forking.
15489 as_fn_set_status
()
15492 } # as_fn_set_status
15494 # as_fn_exit STATUS
15495 # -----------------
15496 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15500 as_fn_set_status
$1
15506 # Portably unset VAR.
15509 { eval $1=; unset $1;}
15511 as_unset
=as_fn_unset
15512 # as_fn_append VAR VALUE
15513 # ----------------------
15514 # Append the text in VALUE to the end of the definition contained in VAR. Take
15515 # advantage of any shell optimizations that allow amortized linear growth over
15516 # repeated appends, instead of the typical quadratic growth present in naive
15518 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15519 eval 'as_fn_append ()
15530 # as_fn_arith ARG...
15531 # ------------------
15532 # Perform arithmetic evaluation on the ARGs, and store the result in the
15533 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15534 # must be portable across $(()) and expr.
15535 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15536 eval 'as_fn_arith ()
15543 as_val
=`expr "$@" || test $? -eq 1`
15548 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15549 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15555 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15556 as_basename
=basename
15561 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15567 as_me
=`$as_basename -- "$0" ||
15568 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15569 X"$0" : 'X\(//\)$' \| \
15570 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15572 sed '/^.*\/\([^/][^/]*\)\/*$/{
15586 # Avoid depending upon Character Ranges.
15587 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15588 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15589 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15590 as_cr_digits
='0123456789'
15591 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15593 ECHO_C
= ECHO_N
= ECHO_T
=
15594 case `echo -n x` in #(((((
15596 case `echo 'xy\c'` in
15597 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15599 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15606 rm -f conf$$ conf$$.exe conf$$.
file
15607 if test -d conf$$.dir
; then
15608 rm -f conf$$.dir
/conf$$.
file
15611 mkdir conf$$.dir
2>/dev
/null
15613 if (echo >conf$$.
file) 2>/dev
/null
; then
15614 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15616 # ... but there are two gotchas:
15617 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15618 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15619 # In both cases, we have to default to `cp -pR'.
15620 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15622 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15630 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15631 rmdir conf$$.dir
2>/dev
/null
15636 # Create "$as_dir" as a directory, including parents if necessary.
15641 -*) as_dir
=.
/$as_dir;;
15643 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15647 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15648 *) as_qdir
=$as_dir;;
15650 as_dirs
="'$as_qdir' $as_dirs"
15651 as_dir
=`$as_dirname -- "$as_dir" ||
15652 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15653 X"$as_dir" : 'X\(//\)[^/]' \| \
15654 X"$as_dir" : 'X\(//\)$' \| \
15655 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15656 $as_echo X"$as_dir" |
15657 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15661 /^X\(\/\/\)[^/].*/{
15674 test -d "$as_dir" && break
15676 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15677 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15681 if mkdir
-p .
2>/dev
/null
; then
15682 as_mkdir_p
='mkdir -p "$as_dir"'
15684 test -d .
/-p && rmdir .
/-p
15689 # as_fn_executable_p FILE
15690 # -----------------------
15691 # Test if FILE is an executable regular file.
15692 as_fn_executable_p
()
15694 test -f "$1" && test -x "$1"
15695 } # as_fn_executable_p
15696 as_test_x
='test -x'
15697 as_executable_p
=as_fn_executable_p
15699 # Sed expression to map a string onto a valid CPP name.
15700 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15702 # Sed expression to map a string onto a valid variable name.
15703 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15707 ## ----------------------------------- ##
15708 ## Main body of $CONFIG_STATUS script. ##
15709 ## ----------------------------------- ##
15711 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15713 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15714 # Save the log message, to keep $0 and so on meaningful, and to
15715 # report actual input values of CONFIG_FILES etc. instead of their
15716 # values after options handling.
15718 This file was extended by $as_me, which was
15719 generated by GNU Autoconf 2.69. Invocation command line was
15721 CONFIG_FILES = $CONFIG_FILES
15722 CONFIG_HEADERS = $CONFIG_HEADERS
15723 CONFIG_LINKS = $CONFIG_LINKS
15724 CONFIG_COMMANDS = $CONFIG_COMMANDS
15727 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15732 case $ac_config_files in *"
15733 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15736 case $ac_config_headers in *"
15737 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15742 # Files that config.status was made for.
15743 config_files="$ac_config_files"
15744 config_headers="$ac_config_headers"
15745 config_commands="$ac_config_commands"
15749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15751 \`$as_me' instantiates files and other configuration actions
15752 from templates according to the current configuration. Unless the files
15753 and actions are specified as TAGs, all are instantiated by default.
15755 Usage: $0 [OPTION]... [TAG]...
15757 -h, --help print this help, then exit
15758 -V, --version print version number and configuration settings, then exit
15759 --config print configuration, then exit
15760 -q, --quiet, --silent
15761 do not print progress messages
15762 -d, --debug don't remove temporary files
15763 --recheck update $as_me by reconfiguring in the same conditions
15764 --file=FILE[:TEMPLATE]
15765 instantiate the configuration file FILE
15766 --header=FILE[:TEMPLATE]
15767 instantiate the configuration header FILE
15769 Configuration files:
15772 Configuration headers:
15775 Configuration commands:
15778 Report bugs to the package provider."
15781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15782 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15785 configured by $0, generated by GNU Autoconf 2.69,
15786 with options \\"\$ac_cs_config\\"
15788 Copyright (C) 2012 Free Software Foundation, Inc.
15789 This config.status script is free software; the Free Software Foundation
15790 gives unlimited permission to copy, distribute and modify it."
15794 test -n "\$AWK" || AWK=awk
15797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15798 # The default lists apply if the user does not specify any file.
15804 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15805 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15809 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15821 # Handling of the options.
15822 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15824 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15825 $as_echo "$ac_cs_version"; exit ;;
15826 --config |
--confi |
--conf |
--con |
--co |
--c )
15827 $as_echo "$ac_cs_config"; exit ;;
15828 --debug |
--debu |
--deb |
--de |
--d |
-d )
15830 --file |
--fil |
--fi |
--f )
15833 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15834 '') as_fn_error $?
"missing file argument" ;;
15836 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15837 ac_need_defaults
=false
;;
15838 --header |
--heade |
--head |
--hea )
15841 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15843 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15844 ac_need_defaults
=false
;;
15846 # Conflict between --help and --header
15847 as_fn_error $?
"ambiguous option: \`$1'
15848 Try \`$0 --help' for more information.";;
15849 --help |
--hel |
-h )
15850 $as_echo "$ac_cs_usage"; exit ;;
15851 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15852 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15855 # This is an error.
15856 -*) as_fn_error $?
"unrecognized option: \`$1'
15857 Try \`$0 --help' for more information." ;;
15859 *) as_fn_append ac_config_targets
" $1"
15860 ac_need_defaults
=false
;;
15866 ac_configure_extra_args
=
15868 if $ac_cs_silent; then
15870 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15875 if \$ac_cs_recheck; then
15876 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15878 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15879 CONFIG_SHELL='$SHELL'
15880 export CONFIG_SHELL
15885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15889 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15890 ## Running $as_me. ##
15896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15901 AROS_CROSSTOOLSDIR=${AROS_CROSSTOOLSDIR}
15902 aros_tools_dir=${aros_tools_dir}
15906 aros_host_exe_suffix=${aros_host_exe_suffix}
15907 aros_tools_dir=${aros_tools_dir}
15908 aros_target_cpu=${aros_target_cpu}
15909 aros_target_arch=${aros_target_arch}
15910 aros_target_suffix=${aros_target_suffix}
15911 orig_target_nm=${orig_target_nm}
15912 orig_target_as=${orig_target_as}
15913 orig_target_ar=${orig_target_ar}
15914 orig_target_ranlib=${orig_target_ranlib}
15915 orig_target_objdump=${orig_target_objdump}
15916 orig_target_objcopy=${orig_target_objcopy}
15917 orig_target_strip=${orig_target_strip}
15918 aros_kernel_ld=${aros_kernel_ld}
15922 aros_host_exe_suffix=${aros_host_exe_suffix}
15923 aros_tools_dir=${aros_tools_dir}
15924 aros_target_cpu=${aros_target_cpu}
15925 aros_target_arch=${aros_target_arch}
15926 aros_target_suffix=${aros_target_suffix}
15927 aros_kernel_ld=${aros_kernel_ld}
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}
15941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15943 # Handling of arguments.
15944 for ac_config_target
in $ac_config_targets
15946 case $ac_config_target in
15947 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15948 "genmf-executable-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf-executable-support" ;;
15949 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15950 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15951 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15952 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15953 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15954 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15955 "${aros_targetcfg_dir}/build.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/build.cfg:config/build.cfg.in" ;;
15956 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15957 "compiler/include/geninc.cfg") CONFIG_FILES
="$CONFIG_FILES compiler/include/geninc.cfg:compiler/include/geninc.cfg.in" ;;
15958 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15959 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15960 "${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname") CONFIG_FILES="$CONFIG_FILES ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname:scripts/uname.in" ;;
15961 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15962 "binutils-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS binutils-support" ;;
15963 "${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" ;;
15964 "elf-compiler-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS elf-compiler-support" ;;
15965 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15966 "${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" ;;
15967 "host-compiler-wrapper-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS host-compiler-wrapper-support" ;;
15968 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15969 "${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" ;;
15970 "${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" ;;
15971 "${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" ;;
15972 "${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" ;;
15973 "${aros_targetcfg_dir}/conf.cmake") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in" ;;
15975 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15980 # If the user did not use the arguments to specify the items to instantiate,
15981 # then the envvar interface is used. Set only those that are not.
15982 # We use the long form for the default assignment because of an extremely
15983 # bizarre bug on SunOS 4.1.3.
15984 if $ac_need_defaults; then
15985 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15986 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15987 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15990 # Have a temporary directory for convenience. Make it in the build tree
15991 # simply because there is no reason against having it here, and in addition,
15992 # creating and moving files from /tmp can sometimes cause problems.
15993 # Hook for its removal unless debugging.
15994 # Note that there is a small window in which the directory will not be cleaned:
15995 # after its creation but before its name has been assigned to `$tmp'.
15999 trap 'exit_status=$?
16000 : "${ac_tmp:=$tmp}"
16001 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16003 trap 'as_fn_exit 1' 1 2 13 15
16005 # Create a (secure) tmp directory for tmp files.
16008 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16012 tmp
=.
/conf$$
-$RANDOM
16013 (umask 077 && mkdir
"$tmp")
16014 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16017 # Set up the scripts for CONFIG_FILES section.
16018 # No need to generate them if there are no CONFIG_FILES.
16019 # This happens for instance with `./config.status config.h'.
16020 if test -n "$CONFIG_FILES"; then
16023 ac_cr
=`echo X | tr X '\015'`
16024 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16025 # But we know of no other shell where ac_cr would be empty at this
16026 # point, so we can use a bashism as a fallback.
16027 if test "x$ac_cr" = x
; then
16028 eval ac_cr
=\$
\'\\r
\'
16030 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16031 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16034 ac_cs_awk_cr
=$ac_cr
16037 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16042 echo "cat >conf$$subs.awk <<_ACEOF" &&
16043 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16045 } >conf$$subs.sh ||
16046 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16047 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16049 for ac_last_try in false false false false false :; do
16050 . ./conf$$subs.sh ||
16051 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16053 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16054 if test $ac_delim_n = $ac_delim_num; then
16056 elif $ac_last_try; then
16057 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16059 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16062 rm -f conf$$subs.sh
16064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16065 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16069 s/^/S["/; s
/!.
*/"]=/
16079 s/\(.\{148\}\)..*/\1/
16081 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16086 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16093 s/\(.\{148\}\)..*/\1/
16095 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16099 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16104 ' <conf$$subs.awk | sed '
16109 ' >>$CONFIG_STATUS || ac_write_fail=1
16110 rm -f conf$$subs.awk
16111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16113 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16114 for (key in S) S_is_set[key] = 1
16120 nfields = split(line, field, "@
")
16122 len = length(field[1])
16123 for (i = 2; i < nfields; i++) {
16125 keylen = length(key)
16126 if (S_is_set[key]) {
16128 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16129 len += length(value) + length(field[++i])
16140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16141 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16142 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16145 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16146 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16149 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16150 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16151 # trailing colons and then remove the whole line if VPATH becomes empty
16152 # (actually we leave an empty line to preserve line numbers).
16153 if test "x
$srcdir" = x.; then
16154 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16173 fi # test -n "$CONFIG_FILES"
16175 # Set up the scripts for CONFIG_HEADERS section.
16176 # No need to generate them if there are no CONFIG_HEADERS.
16177 # This happens for instance with `./config.status Makefile'.
16178 if test -n "$CONFIG_HEADERS"; then
16179 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16183 # Transform confdefs.h into an awk script `defines.awk', embedded as
16184 # here-document in config.status, that substitutes the proper values into
16185 # config.h.in to produce config.h.
16187 # Create a delimiter string that does not exist in confdefs.h, to ease
16188 # handling of long lines.
16190 for ac_last_try in false false :; do
16191 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16192 if test -z "$ac_tt"; then
16194 elif $ac_last_try; then
16195 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16197 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16201 # For the awk script, D is an array of macro values keyed by name,
16202 # likewise P contains macro parameters if any. Preserve backslash
16203 # newline sequences.
16205 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16207 s/.\{148\}/&'"$ac_delim"'/g
16210 s/^[ ]*#[ ]*define[ ][ ]*/ /
16217 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16219 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16223 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16224 D["\
1"]=" \
3\\\\\\n
"\\/p
16226 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16231 s/.\{148\}/&'"$ac_delim"'/g
16236 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16239 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16241 ' <confdefs.h | sed '
16242 s/'"$ac_delim"'/"\\\
16243 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16245 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16246 for (key in D) D_is_set[key] = 1
16249 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16251 split(line, arg, " ")
16252 if (arg[1] == "#") {
16256 defundef
= substr
(arg
[1], 2)
16259 split(mac1
, mac2
, "(") #)
16261 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16262 if (D_is_set
[macro
]) {
16263 # Preserve the white space surrounding the "#".
16264 print prefix
"define", macro P
[macro
] D
[macro
]
16267 # Replace #undef with comments. This is necessary, for example,
16268 # in the case of _POSIX_SOURCE, which is predefined and required
16269 # on some systems where configure will not decide to define it.
16270 if (defundef
== "undef") {
16271 print
"/*", prefix defundef
, macro
, "*/"
16279 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16280 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16281 fi # test -n "$CONFIG_HEADERS"
16284 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16289 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16291 case $ac_mode$ac_tag in
16293 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16294 :[FH
]-) ac_tag
=-:-;;
16295 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16312 -) ac_f
="$ac_tmp/stdin";;
16313 *) # Look for the file first in the build tree, then in the source tree
16314 # (if the path is not absolute). The absolute path cannot be DOS-style,
16315 # because $ac_f cannot contain `:'.
16319 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16321 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16323 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16324 as_fn_append ac_file_inputs
" '$ac_f'"
16327 # Let's still pretend it is `configure' which instantiates (i.e., don't
16328 # use $as_me), people would be surprised to read:
16329 # /* config.h. Generated by config.status. */
16330 configure_input
='Generated from '`
16331 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16333 if test x
"$ac_file" != x-
; then
16334 configure_input
="$ac_file. $configure_input"
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16336 $as_echo "$as_me: creating $ac_file" >&6;}
16338 # Neutralize special characters interpreted by sed in replacement strings.
16339 case $configure_input in #(
16340 *\
&* |
*\|
* |
*\\* )
16341 ac_sed_conf_input
=`$as_echo "$configure_input" |
16342 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16343 *) ac_sed_conf_input
=$configure_input;;
16347 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16348 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16353 ac_dir
=`$as_dirname -- "$ac_file" ||
16354 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16355 X"$ac_file" : 'X\(//\)[^/]' \| \
16356 X"$ac_file" : 'X\(//\)$' \| \
16357 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16358 $as_echo X"$ac_file" |
16359 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16363 /^X\(\/\/\)[^/].*/{
16376 as_dir
="$ac_dir"; as_fn_mkdir_p
16380 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16382 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16383 # A ".." for each directory in $ac_dir_suffix.
16384 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16385 case $ac_top_builddir_sub in
16386 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16387 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16390 ac_abs_top_builddir
=$ac_pwd
16391 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16392 # for backward compatibility:
16393 ac_top_builddir
=$ac_top_build_prefix
16396 .
) # We are building in place.
16398 ac_top_srcdir
=$ac_top_builddir_sub
16399 ac_abs_top_srcdir
=$ac_pwd ;;
16400 [\\/]* | ?
:[\\/]* ) # Absolute name.
16401 ac_srcdir
=$srcdir$ac_dir_suffix;
16402 ac_top_srcdir
=$srcdir
16403 ac_abs_top_srcdir
=$srcdir ;;
16404 *) # Relative name.
16405 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16406 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16407 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16409 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16421 # If the template does not know about datarootdir, expand it.
16422 # FIXME: This hack should be removed a few years after 2.60.
16423 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16434 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16435 *datarootdir
*) ac_datarootdir_seen
=yes;;
16436 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16438 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16440 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16441 ac_datarootdir_hack='
16442 s&@datadir@&$datadir&g
16443 s&@docdir@&$docdir&g
16444 s&@infodir@&$infodir&g
16445 s&@localedir@&$localedir&g
16446 s&@mandir@&$mandir&g
16447 s&\\\${datarootdir}&$datarootdir&g' ;;
16451 # Neutralize VPATH when `$srcdir' = `.'.
16452 # Shell code in configure.ac might set extrasub.
16453 # FIXME: do we really want to maintain this feature?
16454 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16455 ac_sed_extra="$ac_vpsub
16458 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16460 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16461 s|@configure_input@|
$ac_sed_conf_input|
;t t
16462 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16463 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16464 s
&@srcdir@
&$ac_srcdir&;t t
16465 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16466 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16467 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16468 s
&@builddir@
&$ac_builddir&;t t
16469 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16470 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16471 $ac_datarootdir_hack
16473 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16474 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16476 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16477 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16478 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16479 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16481 which seems to be undefined. Please make sure it is defined" >&5
16482 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16483 which seems to be undefined. Please make sure it is defined" >&2;}
16485 rm -f "$ac_tmp/stdin"
16487 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16488 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16490 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16496 if test x"$ac_file" != x-; then
16498 $as_echo "/* $configure_input */" \
16499 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16500 } >"$ac_tmp/config.h" \
16501 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16502 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16504 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16507 mv "$ac_tmp/config.h" "$ac_file" \
16508 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16511 $as_echo "/* $configure_input */" \
16512 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16513 || as_fn_error $? "could not create -" "$LINENO" 5
16517 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16518 $as_echo "$as_me: executing $ac_file commands" >&6;}
16523 case $ac_file$ac_mode in
16524 "genmf-executable-support":C)
16525 chmod a+x ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname
16526 chmod a+x ${aros_tools_dir}/genmf.py
16528 "binutils-support":C)
16529 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16531 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
16533 chmod a+x ${prefix2}-ld
16535 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
16536 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
16537 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
16538 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
16539 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
16540 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
16541 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
16543 "elf-compiler-support":C)
16544 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16546 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
16548 chmod a+x ${prefix2}-gcc
16550 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix2}-ld$aros_host_exe_suffix
16552 "host-compiler-wrapper-support":C)
16553 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16555 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
16557 chmod a+x ${prefix2}-${toolchain_c_compiler} ${prefix2}-${toolchain_cxx_compiler} ${prefix2}-${toolchain_cpp_preprocessor}
16566 ac_clean_files=$ac_clean_files_save
16568 test $ac_write_fail = 0 ||
16569 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16572 # configure is writing to config.log, and then calls config.status.
16573 # config.status does its own redirection, appending to config.log.
16574 # Unfortunately, on DOS this fails, as config.log is still kept open
16575 # by configure, so config.status won't be able to
write to it
; its
16576 # output is simply discarded. So we exec the FD to /dev/null,
16577 # effectively closing config.log, so it can be properly (re)opened and
16578 # appended to by config.status. When coming back to configure, we
16579 # need to make the FD available again.
16580 if test "$no_create" != yes; then
16582 ac_config_status_args
=
16583 test "$silent" = yes &&
16584 ac_config_status_args
="$ac_config_status_args --quiet"
16586 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16588 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16589 # would make configure fail if this is the last instruction.
16590 $ac_cs_success || as_fn_exit
1
16592 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16594 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16599 #XXX compatability...
16600 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
16602 if test -n "$aros_shared_cflags" ; then
16603 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
16604 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg