2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="mmakefile"
586 # Factoring default headers for most tests.
587 ac_includes_default
="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
623 ac_subst_vars
='LTLIBOBJS
627 target_binutils_version
629 ignore_undefined_symbols
643 gcc_default_float_abi
651 aros_nesting_supervisor
658 aros_host_x11_ldflags
669 crosstools_cxx_target
672 aros_optimization_cflags
675 aros_target_strip_flags
683 aros_kernel_objcflags
710 aros_target_cc_includes
726 aros_target_bootloader
748 aros_amigaos_compliance
756 aros_target_toolchain
765 kernel_cflags_iquote_end
767 host_cflags_iquote_end
770 aros_target_nostdlib_ldflags
771 aros_target_detach_ldflags
772 aros_target_nix_ldflags
773 aros_target_nostartup_ldflags
774 aros_target_nostdinc_cflags
813 arosconfig_use_libpngconfig
896 program_transform_name
909 enable_option_checking
920 with_kernel_gcc_version
923 enable_target_variant
930 enable_amigaos_compliance
931 with_kernel_toolchain_prefix
932 with_elf_toolchain_prefix
935 with_aros_toolchain_install
936 with_binutils_version
950 enable_palm_debug_hack
952 enable_nesting_supervisor
964 ac_precious_vars
='build_alias
980 # Initialize some variables set by options.
982 ac_init_version
=false
983 ac_unrecognized_opts
=
985 # The variables have the same names as the options, with
986 # dashes changed to underlines.
994 program_transform_name
=s
,x
,x
,
1002 # Installation directory options.
1003 # These are left unexpanded so users can "make install exec_prefix=/foo"
1004 # and all the variables that are supposed to be based on exec_prefix
1005 # by default will actually change.
1006 # Use braces instead of parens because sh, perl, etc. also accept them.
1007 # (The list follows the same order as the GNU Coding Standards.)
1008 bindir
='${exec_prefix}/bin'
1009 sbindir
='${exec_prefix}/sbin'
1010 libexecdir
='${exec_prefix}/libexec'
1011 datarootdir
='${prefix}/share'
1012 datadir
='${datarootdir}'
1013 sysconfdir
='${prefix}/etc'
1014 sharedstatedir
='${prefix}/com'
1015 localstatedir
='${prefix}/var'
1016 includedir
='${prefix}/include'
1017 oldincludedir
='/usr/include'
1018 docdir
='${datarootdir}/doc/${PACKAGE}'
1019 infodir
='${datarootdir}/info'
1024 libdir
='${exec_prefix}/lib'
1025 localedir
='${datarootdir}/locale'
1026 mandir
='${datarootdir}/man'
1032 # If the previous option needs an argument, assign it.
1033 if test -n "$ac_prev"; then
1034 eval $ac_prev=\
$ac_option
1040 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1045 # Accept the important Cygnus configure options, so we can diagnose typos.
1047 case $ac_dashdash$ac_option in
1051 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1053 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1054 bindir
=$ac_optarg ;;
1056 -build |
--build |
--buil |
--bui |
--bu)
1057 ac_prev
=build_alias
;;
1058 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1059 build_alias
=$ac_optarg ;;
1061 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1062 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1063 ac_prev
=cache_file
;;
1064 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1065 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1066 cache_file
=$ac_optarg ;;
1068 --config-cache |
-C)
1069 cache_file
=config.cache
;;
1071 -datadir |
--datadir |
--datadi |
--datad)
1073 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1074 datadir
=$ac_optarg ;;
1076 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1077 |
--dataroo |
--dataro |
--datar)
1078 ac_prev
=datarootdir
;;
1079 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1080 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1081 datarootdir
=$ac_optarg ;;
1083 -disable-* |
--disable-*)
1084 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1085 # Reject names that are not valid shell variable names.
1086 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1087 as_fn_error $?
"invalid feature name: $ac_useropt"
1088 ac_useropt_orig
=$ac_useropt
1089 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1090 case $ac_user_opts in
1092 "enable_
$ac_useropt"
1094 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1095 ac_unrecognized_sep
=', ';;
1097 eval enable_
$ac_useropt=no
;;
1099 -docdir |
--docdir |
--docdi |
--doc |
--do)
1101 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1102 docdir
=$ac_optarg ;;
1104 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1106 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1107 dvidir
=$ac_optarg ;;
1109 -enable-* |
--enable-*)
1110 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1113 as_fn_error $?
"invalid feature name: $ac_useropt"
1114 ac_useropt_orig
=$ac_useropt
1115 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1116 case $ac_user_opts in
1118 "enable_
$ac_useropt"
1120 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1121 ac_unrecognized_sep
=', ';;
1123 eval enable_
$ac_useropt=\
$ac_optarg ;;
1125 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1126 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1127 |
--exec |
--exe |
--ex)
1128 ac_prev
=exec_prefix
;;
1129 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1130 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1131 |
--exec=* |
--exe=* |
--ex=*)
1132 exec_prefix
=$ac_optarg ;;
1134 -gas |
--gas |
--ga |
--g)
1135 # Obsolete; use --with-gas.
1138 -help |
--help |
--hel |
--he |
-h)
1139 ac_init_help
=long
;;
1140 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1141 ac_init_help
=recursive
;;
1142 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1143 ac_init_help
=short
;;
1145 -host |
--host |
--hos |
--ho)
1146 ac_prev
=host_alias
;;
1147 -host=* |
--host=* |
--hos=* |
--ho=*)
1148 host_alias
=$ac_optarg ;;
1150 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1152 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1154 htmldir
=$ac_optarg ;;
1156 -includedir |
--includedir |
--includedi |
--included |
--include \
1157 |
--includ |
--inclu |
--incl |
--inc)
1158 ac_prev
=includedir
;;
1159 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1160 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1161 includedir
=$ac_optarg ;;
1163 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1165 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1166 infodir
=$ac_optarg ;;
1168 -libdir |
--libdir |
--libdi |
--libd)
1170 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1171 libdir
=$ac_optarg ;;
1173 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1174 |
--libexe |
--libex |
--libe)
1175 ac_prev
=libexecdir
;;
1176 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1177 |
--libexe=* |
--libex=* |
--libe=*)
1178 libexecdir
=$ac_optarg ;;
1180 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1181 ac_prev
=localedir
;;
1182 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1183 localedir
=$ac_optarg ;;
1185 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1186 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1187 ac_prev
=localstatedir
;;
1188 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1189 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1190 localstatedir
=$ac_optarg ;;
1192 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1194 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1195 mandir
=$ac_optarg ;;
1197 -nfp |
--nfp |
--nf)
1198 # Obsolete; use --without-fp.
1201 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1202 |
--no-cr |
--no-c |
-n)
1205 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1206 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1209 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1210 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1211 |
--oldin |
--oldi |
--old |
--ol |
--o)
1212 ac_prev
=oldincludedir
;;
1213 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1214 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1215 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1216 oldincludedir
=$ac_optarg ;;
1218 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1220 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1221 prefix
=$ac_optarg ;;
1223 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1224 |
--program-pre |
--program-pr |
--program-p)
1225 ac_prev
=program_prefix
;;
1226 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1227 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1228 program_prefix
=$ac_optarg ;;
1230 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1231 |
--program-suf |
--program-su |
--program-s)
1232 ac_prev
=program_suffix
;;
1233 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1234 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1235 program_suffix
=$ac_optarg ;;
1237 -program-transform-name |
--program-transform-name \
1238 |
--program-transform-nam |
--program-transform-na \
1239 |
--program-transform-n |
--program-transform- \
1240 |
--program-transform |
--program-transfor \
1241 |
--program-transfo |
--program-transf \
1242 |
--program-trans |
--program-tran \
1243 |
--progr-tra |
--program-tr |
--program-t)
1244 ac_prev
=program_transform_name
;;
1245 -program-transform-name=* |
--program-transform-name=* \
1246 |
--program-transform-nam=* |
--program-transform-na=* \
1247 |
--program-transform-n=* |
--program-transform-=* \
1248 |
--program-transform=* |
--program-transfor=* \
1249 |
--program-transfo=* |
--program-transf=* \
1250 |
--program-trans=* |
--program-tran=* \
1251 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1252 program_transform_name
=$ac_optarg ;;
1254 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1256 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1257 pdfdir
=$ac_optarg ;;
1259 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1261 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1264 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1265 |
-silent |
--silent |
--silen |
--sile |
--sil)
1268 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1270 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1272 sbindir
=$ac_optarg ;;
1274 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1275 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1276 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1278 ac_prev
=sharedstatedir
;;
1279 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1280 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1281 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1283 sharedstatedir
=$ac_optarg ;;
1285 -site |
--site |
--sit)
1287 -site=* |
--site=* |
--sit=*)
1290 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1292 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1293 srcdir
=$ac_optarg ;;
1295 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1296 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1297 ac_prev
=sysconfdir
;;
1298 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1299 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1300 sysconfdir
=$ac_optarg ;;
1302 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1303 ac_prev
=target_alias
;;
1304 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1305 target_alias
=$ac_optarg ;;
1307 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1310 -version |
--version |
--versio |
--versi |
--vers |
-V)
1311 ac_init_version
=: ;;
1314 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1315 # Reject names that are not valid shell variable names.
1316 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1317 as_fn_error $?
"invalid package name: $ac_useropt"
1318 ac_useropt_orig
=$ac_useropt
1319 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1320 case $ac_user_opts in
1324 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1325 ac_unrecognized_sep
=', ';;
1327 eval with_
$ac_useropt=\
$ac_optarg ;;
1329 -without-* |
--without-*)
1330 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1331 # Reject names that are not valid shell variable names.
1332 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1333 as_fn_error $?
"invalid package name: $ac_useropt"
1334 ac_useropt_orig
=$ac_useropt
1335 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1336 case $ac_user_opts in
1340 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1341 ac_unrecognized_sep
=', ';;
1343 eval with_
$ac_useropt=no
;;
1346 # Obsolete; use --with-x.
1349 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1350 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1351 ac_prev
=x_includes
;;
1352 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1353 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1354 x_includes
=$ac_optarg ;;
1356 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1357 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1358 ac_prev
=x_libraries
;;
1359 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1360 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1361 x_libraries
=$ac_optarg ;;
1363 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1364 Try \`$0 --help' for more information"
1368 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1369 # Reject names that are not valid shell variable names.
1370 case $ac_envvar in #(
1371 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1372 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1374 eval $ac_envvar=\
$ac_optarg
1375 export $ac_envvar ;;
1378 # FIXME: should be removed in autoconf 3.0.
1379 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1380 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1381 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1382 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1388 if test -n "$ac_prev"; then
1389 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1390 as_fn_error $?
"missing argument to $ac_option"
1393 if test -n "$ac_unrecognized_opts"; then
1394 case $enable_option_checking in
1396 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1397 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1401 # Check all directory arguments for consistency.
1402 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1403 datadir sysconfdir sharedstatedir localstatedir includedir \
1404 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1405 libdir localedir mandir
1407 eval ac_val
=\$
$ac_var
1408 # Remove trailing slashes.
1411 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1412 eval $ac_var=\
$ac_val;;
1414 # Be sure to have absolute directory names.
1416 [\\/$
]* | ?
:[\\/]* ) continue;;
1417 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1419 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1422 # There might be people who depend on the old broken behavior: `$host'
1423 # used to hold the argument of --host etc.
1424 # FIXME: To remove some day.
1427 target
=$target_alias
1429 # FIXME: To remove some day.
1430 if test "x$host_alias" != x
; then
1431 if test "x$build_alias" = x
; then
1432 cross_compiling
=maybe
1433 elif test "x$build_alias" != "x$host_alias"; then
1439 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1441 test "$silent" = yes && exec 6>/dev
/null
1444 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1445 ac_ls_di
=`ls -di .` &&
1446 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1447 as_fn_error $?
"working directory cannot be determined"
1448 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1449 as_fn_error $?
"pwd does not report name of working directory"
1452 # Find the source files, if location was not specified.
1453 if test -z "$srcdir"; then
1454 ac_srcdir_defaulted
=yes
1455 # Try the directory containing this script, then the parent directory.
1456 ac_confdir
=`$as_dirname -- "$as_myself" ||
1457 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1458 X"$as_myself" : 'X\(//\)[^/]' \| \
1459 X"$as_myself" : 'X\(//\)$' \| \
1460 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1461 $as_echo X"$as_myself" |
1462 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1480 if test ! -r "$srcdir/$ac_unique_file"; then
1484 ac_srcdir_defaulted
=no
1486 if test ! -r "$srcdir/$ac_unique_file"; then
1487 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1488 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1490 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1492 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1494 # When building in place, set srcdir=.
1495 if test "$ac_abs_confdir" = "$ac_pwd"; then
1498 # Remove unnecessary trailing slashes from srcdir.
1499 # Double slashes in file names in object file debugging info
1500 # mess up M-x gdb in Emacs.
1502 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1504 for ac_var
in $ac_precious_vars; do
1505 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1506 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1507 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1508 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1512 # Report the --help message.
1514 if test "$ac_init_help" = "long"; then
1515 # Omit some internal or obsolete options to make the list less imposing.
1516 # This message is too long to be a string in the A/UX 3.1 sh.
1518 \`configure' configures this package to adapt to many kinds of systems.
1520 Usage: $0 [OPTION]... [VAR=VALUE]...
1522 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1523 VAR=VALUE. See below for descriptions of some of the useful variables.
1525 Defaults for the options are specified in brackets.
1528 -h, --help display this help and exit
1529 --help=short display options specific to this package
1530 --help=recursive display the short help of all the included packages
1531 -V, --version display version information and exit
1532 -q, --quiet, --silent do not print \`checking ...' messages
1533 --cache-file=FILE cache test results in FILE [disabled]
1534 -C, --config-cache alias for \`--cache-file=config.cache'
1535 -n, --no-create do not create output files
1536 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1538 Installation directories:
1539 --prefix=PREFIX install architecture-independent files in PREFIX
1540 [$ac_default_prefix]
1541 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1544 By default, \`make install' will install all the files in
1545 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1546 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1547 for instance \`--prefix=\$HOME'.
1549 For better control, use the options below.
1551 Fine tuning of the installation directories:
1552 --bindir=DIR user executables [EPREFIX/bin]
1553 --sbindir=DIR system admin executables [EPREFIX/sbin]
1554 --libexecdir=DIR program executables [EPREFIX/libexec]
1555 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1556 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1557 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1558 --libdir=DIR object code libraries [EPREFIX/lib]
1559 --includedir=DIR C header files [PREFIX/include]
1560 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1561 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1562 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1563 --infodir=DIR info documentation [DATAROOTDIR/info]
1564 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1565 --mandir=DIR man documentation [DATAROOTDIR/man]
1566 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1567 --htmldir=DIR html documentation [DOCDIR]
1568 --dvidir=DIR dvi documentation [DOCDIR]
1569 --pdfdir=DIR pdf documentation [DOCDIR]
1570 --psdir=DIR ps documentation [DOCDIR]
1576 --x-includes=DIR X include files are
in DIR
1577 --x-libraries=DIR X library files are
in DIR
1580 --build=BUILD configure
for building on BUILD
[guessed
]
1581 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1585 if test -n "$ac_init_help"; then
1590 --disable-option-checking ignore unrecognized
--enable/--with options
1591 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1592 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1593 --disable-libpng-config disable libpng-config
test and configuration
1594 --enable-lto=yes|no Enable link
time optimizations
if the target
1595 compiler supports them
(default
=no
)
1596 --enable-coverage=yes|no
1597 Enable coverage instrumentation
if the target
1598 compiler supports it
(default
=no
)
1599 --enable-build-type=TYPE
1600 Select the build
type. Available types are
:
1601 personal
, nightly
, snapshot
, milestone
, release. Do
1602 NOT use this option unless you know what you are
1603 doing
! (default
=personal
)
1604 --enable-debug=list Enable different types of debug. Commas or
1605 whitespaces can be used to separate the items
in the
1606 list. Available types of debug are
: all
, none
,
1607 messages
, stack
, mungwall
, modules
, symbols. If no
1608 list is provided
then "all" is assumed.
1610 --enable-distcc Use distcc as a front end to the compiler
1612 --enable-ccache Use ccache as a front end to the compiler
1614 --enable-target-variant=NAME
1615 Enable a specific target variant
(default
=none
)
1616 --enable-amigaos-compliance=VERSION
1617 Enforce userspace AmigaOS compliance to a specific
1618 KickStart version
(default
=none
).
1619 --disable-crosstools Do not build cross-compiler toolchain
1620 --enable-objc Enable Objectve-C support
(default
=no
)
1621 --enable-java Enable Java support
(default
=no
)
1622 --enable-includes=dir Alternative system include directory
1623 --enable-palm-debug-hack
1624 Enable palm debug output hack
in palm native
1626 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1627 --enable-nesting-supervisor
1628 Enable nesting supervisor support
in unix
1630 --disable-mmu Disable MMU support
(default
=enabled
)
1631 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1632 --enable-x11-shm use X11 shared memory
(default
=auto
)
1633 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1634 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1635 --disable-sdltest Do not try to compile and run a
test SDL program
1636 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1639 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1640 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1641 --with-c-compiler=VERSION
1642 Use specified c compiler
for building AROS
1643 --with-cxx-compiler=VERSION
1644 Use specified c
++ compiler building AROS
1645 --with-toolchain=family Which toolchain family to crosscompile with
1647 --with-kernel-gcc-version=VERSION
1648 Use gcc-VERSION
for building bootstrap
1649 --with-optimization=FLAGS
1650 Use optimization flags FLAGS
(e.g
1651 --with-optimization=-O2).
1652 --with-paranoia=(yes|no|FLAGS
)
1653 Specific compiler warning FLAGS to
enable for
1654 paranoia builds
(default
=-Wall -Werror)
1655 --with-xcode=PATH Specify XCode path
for iOS targets
1656 (default
=/Developer
).
1657 --with-sdk-version=VERSION
1658 Use iOS SDK version VERSION
(default
=4.1).
1659 --with-sdk=PATH Specify Android SDK path
1660 (default
=$default_android_sdk).
1661 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1662 --with-sdk-version=LEVEL
1663 Use Android SDK
for API LEVEL
(default
=12).
1664 --with-ndk-version=LEVEL
1665 Use Android NDK
for API LEVEL
(default
=9).
1666 --with-apk-version=(release|debug
)
1667 Which version of AROSBootstrap.apk to compile.
1668 Release version needs key
for signing
, debug version
1669 will only run
in emulator.
(default
=release
)
1670 --with-kernel-toolchain-prefix=...
1671 Specify crosscompile toolchain prefix
for kernel
1673 --with-elf-toolchain-prefix=...
1674 Specify crosscompile toolchain prefix to wrap
for
1676 --with-aros-toolchain=PREFIX
1677 Specify prebuilt AROS toolchain. Use
yes for default
1679 --with-aros-toolchain-install=DIR
1680 Where to
install or search
for cross tools binaries
1681 --with-binutils-version=VERSION
1682 Use binutils-VERSION
for building AROS
1683 --with-gcc-version=VERSION
1684 Compile gcc-VERSION
for AROS
1685 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1686 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1687 --with-float=<spec
> Specify floating point ABI
1688 (default
=$gcc_default_float_abi).
1689 --with-portssources=DIR Where to download sourcecode
for external ports
1690 --with-bootloader=NAME Use a specific bootloader
1691 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1692 --with-theme=NAME Use a specific GUI Theme
1693 --with-resolution=XRESxYRESxDEPTH
1694 Default resolution of the initial WorkbenchScreen
1695 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1696 --with-x use the X Window System
1697 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1698 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1700 Some influential environment variables
:
1701 CXX C
++ compiler
command
1702 CXXFLAGS C
++ compiler flags
1703 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1704 nonstandard directory
<lib dir
>
1705 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1706 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1707 you have headers
in a nonstandard directory
<include dir
>
1708 CC C compiler
command
1709 CFLAGS C compiler flags
1711 PYTHON the Python interpreter
1712 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1714 Use these variables to override the choices made by
`configure' or to help
1715 it to find libraries and programs with nonstandard names/locations.
1717 Report bugs to the package provider.
1722 if test "$ac_init_help" = "recursive"; then
1723 # If there are subdirs, report their specific --help.
1724 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1725 test -d "$ac_dir" ||
1726 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1731 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1733 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1734 # A ".." for each directory in $ac_dir_suffix.
1735 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1736 case $ac_top_builddir_sub in
1737 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1738 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1741 ac_abs_top_builddir=$ac_pwd
1742 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1743 # for backward compatibility:
1744 ac_top_builddir=$ac_top_build_prefix
1747 .) # We are building in place.
1749 ac_top_srcdir=$ac_top_builddir_sub
1750 ac_abs_top_srcdir=$ac_pwd ;;
1751 [\\/]* | ?:[\\/]* ) # Absolute name.
1752 ac_srcdir=$srcdir$ac_dir_suffix;
1753 ac_top_srcdir=$srcdir
1754 ac_abs_top_srcdir=$srcdir ;;
1756 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1757 ac_top_srcdir=$ac_top_build_prefix$srcdir
1758 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1760 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1762 cd "$ac_dir" || { ac_status=$?; continue; }
1763 # Check for guested configure.
1764 if test -f "$ac_srcdir/configure.gnu"; then
1766 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1767 elif test -f "$ac_srcdir/configure"; then
1769 $SHELL "$ac_srcdir/configure" --help=recursive
1771 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1773 cd "$ac_pwd" || { ac_status=$?; break; }
1777 test -n "$ac_init_help" && exit $ac_status
1778 if $ac_init_version; then
1781 generated by GNU Autoconf 2.69
1783 Copyright (C) 2012 Free Software Foundation, Inc.
1784 This configure script is free software; the Free Software Foundation
1785 gives unlimited permission to copy, distribute and modify it.
1790 ## ------------------------ ##
1791 ## Autoconf initialization. ##
1792 ## ------------------------ ##
1794 # ac_fn_cxx_try_compile LINENO
1795 # ----------------------------
1796 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1797 ac_fn_cxx_try_compile ()
1799 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1800 rm -f conftest.$ac_objext
1801 if { { ac_try="$ac_compile"
1803 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1804 *) ac_try_echo
=$ac_try;;
1806 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1807 $as_echo "$ac_try_echo"; } >&5
1808 (eval "$ac_compile") 2>conftest.err
1810 if test -s conftest.err
; then
1811 grep -v '^ *+' conftest.err
>conftest.er1
1812 cat conftest.er1
>&5
1813 mv -f conftest.er1 conftest.err
1815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1816 test $ac_status = 0; } && {
1817 test -z "$ac_cxx_werror_flag" ||
1818 test ! -s conftest.err
1819 } && test -s conftest.
$ac_objext; then :
1822 $as_echo "$as_me: failed program was:" >&5
1823 sed 's/^/| /' conftest.
$ac_ext >&5
1827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828 as_fn_set_status
$ac_retval
1830 } # ac_fn_cxx_try_compile
1832 # ac_fn_c_try_compile LINENO
1833 # --------------------------
1834 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1835 ac_fn_c_try_compile
()
1837 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1838 rm -f conftest.
$ac_objext
1839 if { { ac_try
="$ac_compile"
1841 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1842 *) ac_try_echo=$ac_try;;
1844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845 $as_echo "$ac_try_echo"; } >&5
1846 (eval "$ac_compile") 2>conftest.err
1848 if test -s conftest.err; then
1849 grep -v '^ *+' conftest.err >conftest.er1
1850 cat conftest.er1 >&5
1851 mv -f conftest.er1 conftest.err
1853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854 test $ac_status = 0; } && {
1855 test -z "$ac_c_werror_flag" ||
1856 test ! -s conftest.err
1857 } && test -s conftest.$ac_objext; then :
1860 $as_echo "$as_me: failed program was:" >&5
1861 sed 's/^/| /' conftest.$ac_ext >&5
1865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1866 as_fn_set_status $ac_retval
1868 } # ac_fn_c_try_compile
1870 # ac_fn_c_try_cpp LINENO
1871 # ----------------------
1872 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1876 if { { ac_try="$ac_cpp conftest.$ac_ext"
1878 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1879 *) ac_try_echo
=$ac_try;;
1881 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1882 $as_echo "$ac_try_echo"; } >&5
1883 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1885 if test -s conftest.err
; then
1886 grep -v '^ *+' conftest.err
>conftest.er1
1887 cat conftest.er1
>&5
1888 mv -f conftest.er1 conftest.err
1890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1891 test $ac_status = 0; } > conftest.i
&& {
1892 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1893 test ! -s conftest.err
1897 $as_echo "$as_me: failed program was:" >&5
1898 sed 's/^/| /' conftest.
$ac_ext >&5
1902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1903 as_fn_set_status
$ac_retval
1907 # ac_fn_c_try_link LINENO
1908 # -----------------------
1909 # Try to link conftest.$ac_ext, and return whether this succeeded.
1912 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1913 rm -f conftest.
$ac_objext conftest
$ac_exeext
1914 if { { ac_try
="$ac_link"
1916 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1917 *) ac_try_echo=$ac_try;;
1919 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1920 $as_echo "$ac_try_echo"; } >&5
1921 (eval "$ac_link") 2>conftest.err
1923 if test -s conftest.err; then
1924 grep -v '^ *+' conftest.err >conftest.er1
1925 cat conftest.er1 >&5
1926 mv -f conftest.er1 conftest.err
1928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1929 test $ac_status = 0; } && {
1930 test -z "$ac_c_werror_flag" ||
1931 test ! -s conftest.err
1932 } && test -s conftest$ac_exeext && {
1933 test "$cross_compiling" = yes ||
1934 test -x conftest$ac_exeext
1938 $as_echo "$as_me: failed program was:" >&5
1939 sed 's/^/| /' conftest.$ac_ext >&5
1943 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1944 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1945 # interfere with the next link command; also delete a directory that is
1946 # left behind by Apple's compiler. We do this before executing the actions.
1947 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1949 as_fn_set_status $ac_retval
1951 } # ac_fn_c_try_link
1953 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1954 # -------------------------------------------------------
1955 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1956 # the include files in INCLUDES and setting the cache variable VAR
1958 ac_fn_c_check_header_mongrel ()
1960 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1961 if eval \${$3+:} false; then :
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1963 $as_echo_n "checking for $2... " >&6; }
1964 if eval \${$3+:} false; then :
1965 $as_echo_n "(cached) " >&6
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1969 $as_echo "$ac_res" >&6; }
1971 # Is the header compilable?
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1973 $as_echo_n "checking $2 usability... " >&6; }
1974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1975 /* end confdefs.h. */
1979 if ac_fn_c_try_compile "$LINENO"; then :
1980 ac_header_compiler=yes
1982 ac_header_compiler=no
1984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1986 $as_echo "$ac_header_compiler" >&6; }
1988 # Is the header present?
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1990 $as_echo_n "checking $2 presence... " >&6; }
1991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1992 /* end confdefs.h. */
1995 if ac_fn_c_try_cpp "$LINENO"; then :
1996 ac_header_preproc=yes
1998 ac_header_preproc=no
2000 rm -f conftest.err conftest.i conftest.$ac_ext
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2002 $as_echo "$ac_header_preproc" >&6; }
2004 # So? What about this header?
2005 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2008 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2010 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2014 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2016 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2018 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2020 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2022 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2026 $as_echo_n "checking for $2... " >&6; }
2027 if eval \${$3+:} false; then :
2028 $as_echo_n "(cached) " >&6
2030 eval "$3=\$ac_header_compiler"
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2034 $as_echo "$ac_res" >&6; }
2036 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2038 } # ac_fn_c_check_header_mongrel
2040 # ac_fn_c_try_run LINENO
2041 # ----------------------
2042 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2043 # that executables *can* be run.
2046 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2047 if { { ac_try="$ac_link"
2049 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2050 *) ac_try_echo
=$ac_try;;
2052 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2053 $as_echo "$ac_try_echo"; } >&5
2054 (eval "$ac_link") 2>&5
2056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2057 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2058 { { case "(($ac_try" in
2059 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2060 *) ac_try_echo=$ac_try;;
2062 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2063 $as_echo "$ac_try_echo"; } >&5
2064 (eval "$ac_try") 2>&5
2066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2067 test $ac_status = 0; }; }; then :
2070 $as_echo "$as_me: program exited with status $ac_status" >&5
2071 $as_echo "$as_me: failed program was:" >&5
2072 sed 's/^/| /' conftest.$ac_ext >&5
2074 ac_retval=$ac_status
2076 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2077 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2078 as_fn_set_status $ac_retval
2082 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2083 # -------------------------------------------------------
2084 # Tests whether HEADER exists and can be compiled using the include files in
2085 # INCLUDES, setting the cache variable VAR accordingly.
2086 ac_fn_c_check_header_compile ()
2088 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2090 $as_echo_n "checking for $2... " >&6; }
2091 if eval \${$3+:} false; then :
2092 $as_echo_n "(cached) " >&6
2094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2095 /* end confdefs.h. */
2099 if ac_fn_c_try_compile "$LINENO"; then :
2104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2108 $as_echo "$ac_res" >&6; }
2109 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2111 } # ac_fn_c_check_header_compile
2113 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2114 # ----------------------------------------------------
2115 # Tries to find if the field MEMBER exists in type AGGR, after including
2116 # INCLUDES, setting cache variable VAR accordingly.
2117 ac_fn_c_check_member ()
2119 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2121 $as_echo_n "checking for $2.$3... " >&6; }
2122 if eval \${$4+:} false; then :
2123 $as_echo_n "(cached) " >&6
2125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2126 /* end confdefs.h. */
2138 if ac_fn_c_try_compile "$LINENO"; then :
2141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2142 /* end confdefs.h. */
2148 if (sizeof ac_aggr.$3)
2154 if ac_fn_c_try_compile "$LINENO"; then :
2159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2165 $as_echo "$ac_res" >&6; }
2166 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2168 } # ac_fn_c_check_member
2170 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2171 # ---------------------------------------------
2172 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2174 ac_fn_c_check_decl ()
2176 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2177 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2178 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2180 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2181 if eval \${$3+:} false; then :
2182 $as_echo_n "(cached) " >&6
2184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185 /* end confdefs.h. */
2190 #ifndef $as_decl_name
2192 (void) $as_decl_use;
2194 (void) $as_decl_name;
2202 if ac_fn_c_try_compile "$LINENO"; then :
2207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2211 $as_echo "$ac_res" >&6; }
2212 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2214 } # ac_fn_c_check_decl
2216 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2217 # -------------------------------------------
2218 # Tests whether TYPE exists after having included INCLUDES, setting cache
2219 # variable VAR accordingly.
2220 ac_fn_c_check_type ()
2222 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2224 $as_echo_n "checking for $2... " >&6; }
2225 if eval \${$3+:} false; then :
2226 $as_echo_n "(cached) " >&6
2229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2230 /* end confdefs.h. */
2241 if ac_fn_c_try_compile "$LINENO"; then :
2242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2243 /* end confdefs.h. */
2254 if ac_fn_c_try_compile "$LINENO"; then :
2259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2265 $as_echo "$ac_res" >&6; }
2266 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2268 } # ac_fn_c_check_type
2270 # ac_fn_c_check_func LINENO FUNC VAR
2271 # ----------------------------------
2272 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2273 ac_fn_c_check_func ()
2275 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2277 $as_echo_n "checking for $2... " >&6; }
2278 if eval \${$3+:} false; then :
2279 $as_echo_n "(cached) " >&6
2281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2282 /* end confdefs.h. */
2283 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2285 #define $2 innocuous_$2
2287 /* System header to define __stub macros and hopefully few prototypes,
2288 which can conflict with char $2 (); below.
2289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2290 <limits.h> exists even on freestanding compilers. */
2293 # include <limits.h>
2295 # include <assert.h>
2300 /* Override any GCC internal prototype to avoid an error.
2301 Use char because int might match the return type of a GCC
2302 builtin and then its argument prototype would still apply. */
2307 /* The GNU C library defines this for functions which it implements
2308 to always fail with ENOSYS. Some functions are actually named
2309 something starting with __ and the normal name is an alias. */
2310 #if defined __stub_$2 || defined __stub___$2
2322 if ac_fn_c_try_link "$LINENO"; then :
2327 rm -f core conftest.err conftest.$ac_objext \
2328 conftest$ac_exeext conftest.$ac_ext
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2332 $as_echo "$ac_res" >&6; }
2333 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2335 } # ac_fn_c_check_func
2336 cat >config.log <<_ACEOF
2337 This file contains any messages produced by compilers while
2338 running configure, to aid debugging if configure makes a mistake.
2340 It was created by $as_me, which was
2341 generated by GNU Autoconf 2.69. Invocation command line was
2353 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2354 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2355 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2356 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2357 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2359 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2360 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2362 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2363 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2364 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2365 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2366 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2367 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2368 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2376 test -z "$as_dir" && as_dir=.
2377 $as_echo "PATH: $as_dir"
2393 # Keep a trace of the command line.
2394 # Strip out --no-create and --no-recursion so they do not pile up.
2395 # Strip out --silent because we don't want to record it for future runs.
2396 # Also quote any args containing shell meta-characters.
2397 # Make two passes to allow for proper duplicate-argument suppression.
2401 ac_must_keep_next=false
2407 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2408 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2409 | -silent | --silent | --silen | --sile | --sil)
2412 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2415 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2417 as_fn_append ac_configure_args1 " '$ac_arg'"
2418 if test $ac_must_keep_next = true; then
2419 ac_must_keep_next=false # Got value, back to normal.
2422 *=* | --config-cache | -C | -disable-* | --disable-* \
2423 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2424 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2425 | -with-* | --with-* | -without-* | --without-* | --x)
2426 case "$ac_configure_args0 " in
2427 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2430 -* ) ac_must_keep_next=true ;;
2433 as_fn_append ac_configure_args " '$ac_arg'"
2438 { ac_configure_args0=; unset ac_configure_args0;}
2439 { ac_configure_args1=; unset ac_configure_args1;}
2441 # When interrupted or exit'd, cleanup temporary files, and complete
2442 # config.log. We remove comments because anyway the quotes in there
2443 # would cause problems or look ugly.
2444 # WARNING: Use '\'' to represent an apostrophe within the trap.
2445 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2446 trap 'exit_status=$?
2447 # Save into config.log some information that might help in debugging.
2451 $as_echo "## ---------------- ##
2452 ## Cache variables. ##
2453 ## ---------------- ##"
2455 # The following way of writing the cache mishandles newlines in values,
2457 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2458 eval ac_val=\$$ac_var
2462 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2463 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2466 _ | IFS | as_nl) ;; #(
2467 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2468 *) { eval $ac_var=; unset $ac_var;} ;;
2473 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2474 *${as_nl}ac_space=\ *)
2476 "s/'\''/'\''\\\\'\'''\''/g;
2477 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2480 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2487 $as_echo "## ----------------- ##
2488 ## Output variables. ##
2489 ## ----------------- ##"
2491 for ac_var in $ac_subst_vars
2493 eval ac_val=\$$ac_var
2495 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2497 $as_echo "$ac_var='\''$ac_val'\''"
2501 if test -n "$ac_subst_files"; then
2502 $as_echo "## ------------------- ##
2503 ## File substitutions. ##
2504 ## ------------------- ##"
2506 for ac_var in $ac_subst_files
2508 eval ac_val=\$$ac_var
2510 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2512 $as_echo "$ac_var='\''$ac_val'\''"
2517 if test -s confdefs.h; then
2518 $as_echo "## ----------- ##
2525 test "$ac_signal" != 0 &&
2526 $as_echo "$as_me: caught signal $ac_signal"
2527 $as_echo "$as_me: exit $exit_status"
2529 rm -f core *.core core.conftest.* &&
2530 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2533 for ac_signal in 1 2 13 15; do
2534 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2538 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2539 rm -f -r conftest* confdefs.h
2541 $as_echo "/* confdefs.h */" > confdefs.h
2543 # Predefined preprocessor variables.
2545 cat >>confdefs.h <<_ACEOF
2546 #define PACKAGE_NAME "$PACKAGE_NAME"
2549 cat >>confdefs.h <<_ACEOF
2550 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2553 cat >>confdefs.h <<_ACEOF
2554 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2557 cat >>confdefs.h <<_ACEOF
2558 #define PACKAGE_STRING "$PACKAGE_STRING"
2561 cat >>confdefs.h <<_ACEOF
2562 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2565 cat >>confdefs.h <<_ACEOF
2566 #define PACKAGE_URL "$PACKAGE_URL"
2570 # Let the site file select an alternate cache file if it wants to.
2571 # Prefer an explicitly selected file to automatically selected ones.
2574 if test -n "$CONFIG_SITE"; then
2575 # We do not want a PATH search for config.site.
2576 case $CONFIG_SITE in #((
2577 -*) ac_site_file1=./$CONFIG_SITE;;
2578 */*) ac_site_file1=$CONFIG_SITE;;
2579 *) ac_site_file1=./$CONFIG_SITE;;
2581 elif test "x$prefix" != xNONE; then
2582 ac_site_file1=$prefix/share/config.site
2583 ac_site_file2=$prefix/etc/config.site
2585 ac_site_file1=$ac_default_prefix/share/config.site
2586 ac_site_file2=$ac_default_prefix/etc/config.site
2588 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2590 test "x$ac_site_file" = xNONE && continue
2591 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2593 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2594 sed 's/^/| /' "$ac_site_file" >&5
2596 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2598 as_fn_error $? "failed to load site
script $ac_site_file
2599 See \
`config.log' for more details" "$LINENO" 5; }
2603 if test -r "$cache_file"; then
2604 # Some versions of bash will fail to source /dev/null (special files
2605 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2606 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2608 $as_echo "$as_me: loading cache $cache_file" >&6;}
2610 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2611 *) . "./$cache_file";;
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2616 $as_echo "$as_me: creating cache $cache_file" >&6;}
2620 as_fn_append ac_header_list " stdlib.h"
2621 as_fn_append ac_header_list " unistd.h"
2622 as_fn_append ac_header_list " sys/param.h"
2623 # Check that the precious variables saved in the cache have kept the same
2625 ac_cache_corrupted=false
2626 for ac_var in $ac_precious_vars; do
2627 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2628 eval ac_new_set=\$ac_env_${ac_var}_set
2629 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2630 eval ac_new_val=\$ac_env_${ac_var}_value
2631 case $ac_old_set,$ac_new_set in
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2634 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2635 ac_cache_corrupted=: ;;
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2638 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2639 ac_cache_corrupted=: ;;
2642 if test "x$ac_old_val" != "x$ac_new_val"; then
2643 # differences in whitespace do not lead to failure.
2644 ac_old_val_w=`echo x
$ac_old_val`
2645 ac_new_val_w=`echo x
$ac_new_val`
2646 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2648 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2649 ac_cache_corrupted=:
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2652 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2653 eval $ac_var=\$ac_old_val
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2656 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2658 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2661 # Pass precious variables to config.status.
2662 if test "$ac_new_set" = set; then
2664 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2665 *) ac_arg=$ac_var=$ac_new_val ;;
2667 case " $ac_configure_args " in
2668 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2669 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2673 if $ac_cache_corrupted; then
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2675 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2677 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2678 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2680 ## -------------------- ##
2681 ## Main body of script. ##
2682 ## -------------------- ##
2685 ac_cpp='$CPP $CPPFLAGS'
2686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2693 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2694 if test -f "$ac_dir/install-sh"; then
2696 ac_install_sh="$ac_aux_dir/install-sh -c"
2698 elif test -f "$ac_dir/install.sh"; then
2700 ac_install_sh="$ac_aux_dir/install.sh -c"
2702 elif test -f "$ac_dir/shtool"; then
2704 ac_install_sh="$ac_aux_dir/shtool install -c"
2708 if test -z "$ac_aux_dir"; then
2709 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2712 # These three variables are undocumented and unsupported,
2713 # and are intended to be withdrawn in a future Autoconf release.
2714 # They can cause serious problems if a builder's source tree is in a directory
2715 # whose full name contains unusual characters.
2716 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2717 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2718 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2722 # Check what host we are running on.
2723 # If a target is not suggested, we use this one.
2724 # Note that what we call a target, Autoconf calls a host.
2725 # Make sure we can run config.sub.
2726 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2727 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2730 $as_echo_n "checking build system type... " >&6; }
2731 if ${ac_cv_build+:} false; then :
2732 $as_echo_n "(cached) " >&6
2734 ac_build_alias=$build_alias
2735 test "x$ac_build_alias" = x &&
2736 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2737 test "x$ac_build_alias" = x &&
2738 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2739 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2740 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2744 $as_echo "$ac_cv_build" >&6; }
2745 case $ac_cv_build in
2747 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2750 ac_save_IFS=$IFS; IFS='-'
2756 # Remember, the first character of IFS is used to create $*,
2757 # except with old shells:
2760 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2764 $as_echo_n "checking host system type... " >&6; }
2765 if ${ac_cv_host+:} false; then :
2766 $as_echo_n "(cached) " >&6
2768 if test "x$host_alias" = x; then
2769 ac_cv_host=$ac_cv_build
2771 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2772 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2777 $as_echo "$ac_cv_host" >&6; }
2780 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2783 ac_save_IFS=$IFS; IFS='-'
2789 # Remember, the first character of IFS is used to create $*,
2790 # except with old shells:
2793 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2797 # Default versions for the gnu tools we build
2798 default_gcc_version="4.6.4"
2799 default_binutils_version="2.23.2"
2801 # The AROS target is slightly different to the normal GNU style
2802 # format. We don't have the middle part, and we reverse the order
2803 # of the $(CPU) and $(OS) bits.
2805 # Don't strip the version of the target yet, it might be
2806 # useful on some systems.
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2809 $as_echo_n "checking for AROS style target... " >&6; }
2811 if test "$target" = "NONE" ; then
2812 target=$host_os-$host_cpu
2814 if test "$target" = "" ; then
2815 target=$host_os-$host_cpu
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2819 $as_echo "$target" >&6; }
2821 if test "$host_os" = "mingw32" ; then
2825 # Don't know where else to put this...
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2827 $as_echo_n "checking building AROS in... " >&6; }
2828 AROS_BUILDDIR=`${PWDCMD-pwd}`
2829 AROS_BUILDDIR_UNIX=${PWD}
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2831 $as_echo "$AROS_BUILDDIR" >&6; }
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2834 $as_echo_n "checking AROS source in... " >&6; }
2835 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2838 $as_echo "$SRCDIR" >&6; }
2840 # Parse the target field into something useful.
2842 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2843 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2846 # Some debug output, to be removed again.
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2848 $as_echo_n "checking for target system (debug output)... " >&6; }
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2850 $as_echo "$target_os" >&6; }
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2852 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2854 $as_echo "$target_cpu" >&6; }
2856 aros_nominal_width=800
2857 aros_nominal_height=600
2858 aros_nominal_depth=4
2861 default_c_compilers="gcc clang cc"
2863 # Check whether --with-c-compiler was given.
2864 if test "${with_c_compiler+set}" = set; then :
2865 withval=$with_c_compiler; use_c_compiler="$withval"
2870 if test "$use_c_compiler" = ""; then
2871 host_c_compilers="$default_c_compilers"
2873 host_c_compilers="$use_c_compiler"
2876 default_cxx_compilers="g++ clang++ c++"
2878 # Check whether --with-cxx-compiler was given.
2879 if test "${with_cxx_compiler+set}" = set; then :
2880 withval=$with_cxx_compiler; use_cxx_compiler="$withval"
2885 if test "$use_cxx_compiler" = ""; then
2886 host_cxx_compilers="$default_cxx_compilers"
2888 host_cxx_compilers="$use_cxx_compiler"
2892 # The first step is to find the host binaries.
2893 # Check for a compiler.
2894 # Due to a bug in autoconf check for c++ compiler first.
2895 # For mor info see, http://osdir.com/ml/bug-autoconf-gnu/2010-05/msg00001.html.
2897 ac_cpp='$CXXCPP $CPPFLAGS'
2898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2901 if test -z "$CXX"; then
2902 if test -n "$CCC"; then
2905 if test -n "$ac_tool_prefix"; then
2906 for ac_prog in ${host_cxx_compilers}
2908 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2909 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2911 $as_echo_n "checking for $ac_word... " >&6; }
2912 if ${ac_cv_prog_CXX+:} false; then :
2913 $as_echo_n "(cached) " >&6
2915 if test -n "$CXX"; then
2916 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2922 test -z "$as_dir" && as_dir=.
2923 for ac_exec_ext in '' $ac_executable_extensions; do
2924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2925 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2936 if test -n "$CXX"; then
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2938 $as_echo "$CXX" >&6; }
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2941 $as_echo "no" >&6; }
2945 test -n "$CXX" && break
2948 if test -z "$CXX"; then
2950 for ac_prog in ${host_cxx_compilers}
2952 # Extract the first word of "$ac_prog", so it can be a program name with args.
2953 set dummy $ac_prog; ac_word=$2
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2955 $as_echo_n "checking for $ac_word... " >&6; }
2956 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2957 $as_echo_n "(cached) " >&6
2959 if test -n "$ac_ct_CXX"; then
2960 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2966 test -z "$as_dir" && as_dir=.
2967 for ac_exec_ext in '' $ac_executable_extensions; do
2968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2969 ac_cv_prog_ac_ct_CXX="$ac_prog"
2970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2979 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2980 if test -n "$ac_ct_CXX"; then
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2982 $as_echo "$ac_ct_CXX" >&6; }
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2985 $as_echo "no" >&6; }
2989 test -n "$ac_ct_CXX" && break
2992 if test "x$ac_ct_CXX" = x; then
2995 case $cross_compiling:$ac_tool_warned in
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2998 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2999 ac_tool_warned=yes ;;
3007 # Provide some information about the compiler.
3008 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3011 for ac_option in --version -v -V -qversion; do
3012 { { ac_try="$ac_compiler $ac_option >&5"
3014 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3015 *) ac_try_echo
=$ac_try;;
3017 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3018 $as_echo "$ac_try_echo"; } >&5
3019 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3021 if test -s conftest.err
; then
3023 ... rest of stderr output deleted ...
3024 10q' conftest.err
>conftest.er1
3025 cat conftest.er1
>&5
3027 rm -f conftest.er1 conftest.err
3028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3029 test $ac_status = 0; }
3032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3033 /* end confdefs.h. */
3043 ac_clean_files_save
=$ac_clean_files
3044 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3045 # Try to create an executable without -o first, disregard a.out.
3046 # It will help us diagnose broken compilers, and finding out an intuition
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3049 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3050 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3052 # The possible output files:
3053 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3056 for ac_file
in $ac_files
3059 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3060 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3065 if { { ac_try
="$ac_link_default"
3067 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3068 *) ac_try_echo=$ac_try;;
3070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3071 $as_echo "$ac_try_echo"; } >&5
3072 (eval "$ac_link_default") 2>&5
3074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3075 test $ac_status = 0; }; then :
3076 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3077 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3078 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3079 # so that the user can short-circuit this test for compilers unknown to
3081 for ac_file in $ac_files ''
3083 test -f "$ac_file" || continue
3085 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3088 # We found the default executable, but exeext='' is most
3092 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3094 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3096 # We set ac_cv_exeext here because the later test for it is not
3097 # safe: cross compilers may not add the suffix if given an `-o'
3098 # argument, so we may need to know it at that point already.
3099 # Even if this section looks crufty: it has the advantage of
3106 test "$ac_cv_exeext" = no && ac_cv_exeext=
3111 if test -z "$ac_file"; then :
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3113 $as_echo "no" >&6; }
3114 $as_echo "$as_me: failed program was:" >&5
3115 sed 's
/^
/|
/' conftest.$ac_ext >&5
3117 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3118 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3119 as_fn_error 77 "C++ compiler cannot create executables
3120 See \`config.log
' for more details" "$LINENO" 5; }
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3123 $as_echo "yes" >&6; }
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3126 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3128 $as_echo "$ac_file" >&6; }
3129 ac_exeext=$ac_cv_exeext
3131 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3132 ac_clean_files=$ac_clean_files_save
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3134 $as_echo_n "checking for suffix of executables... " >&6; }
3135 if { { ac_try="$ac_link"
3137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138 *) ac_try_echo=$ac_try;;
3140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3141 $as_echo "$ac_try_echo"; } >&5
3142 (eval "$ac_link") 2>&5
3144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3145 test $ac_status = 0; }; then :
3146 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3147 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3148 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3150 for ac_file
in conftest.exe conftest conftest.
*; do
3151 test -f "$ac_file" ||
continue
3153 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3154 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3160 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3161 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3162 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3163 See \`config.log' for more details" "$LINENO" 5; }
3165 rm -f conftest conftest
$ac_cv_exeext
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3167 $as_echo "$ac_cv_exeext" >&6; }
3169 rm -f conftest.
$ac_ext
3170 EXEEXT
=$ac_cv_exeext
3172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3173 /* end confdefs.h. */
3178 FILE *f = fopen ("conftest.out", "w");
3179 return ferror (f) || fclose (f) != 0;
3185 ac_clean_files
="$ac_clean_files conftest.out"
3186 # Check that the compiler produces executables we can run. If not, either
3187 # the compiler is broken, or we cross compile.
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3189 $as_echo_n "checking whether we are cross compiling... " >&6; }
3190 if test "$cross_compiling" != yes; then
3191 { { ac_try
="$ac_link"
3193 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3194 *) ac_try_echo=$ac_try;;
3196 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3197 $as_echo "$ac_try_echo"; } >&5
3198 (eval "$ac_link") 2>&5
3200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3201 test $ac_status = 0; }
3202 if { ac_try='./conftest$ac_cv_exeext'
3203 { { case "(($ac_try" in
3204 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3205 *) ac_try_echo
=$ac_try;;
3207 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3208 $as_echo "$ac_try_echo"; } >&5
3209 (eval "$ac_try") 2>&5
3211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3212 test $ac_status = 0; }; }; then
3215 if test "$cross_compiling" = maybe
; then
3218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3220 as_fn_error $?
"cannot run C++ compiled programs.
3221 If you meant to cross compile, use \`--host'.
3222 See \`config.log' for more details" "$LINENO" 5; }
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3227 $as_echo "$cross_compiling" >&6; }
3229 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3230 ac_clean_files
=$ac_clean_files_save
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3232 $as_echo_n "checking for suffix of object files... " >&6; }
3233 if ${ac_cv_objext+:} false
; then :
3234 $as_echo_n "(cached) " >&6
3236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3237 /* end confdefs.h. */
3247 rm -f conftest.o conftest.obj
3248 if { { ac_try
="$ac_compile"
3250 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3251 *) ac_try_echo=$ac_try;;
3253 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3254 $as_echo "$ac_try_echo"; } >&5
3255 (eval "$ac_compile") 2>&5
3257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3258 test $ac_status = 0; }; then :
3259 for ac_file in conftest.o conftest.obj conftest.*; do
3260 test -f "$ac_file" || continue;
3262 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3263 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3268 $as_echo "$as_me: failed program was:" >&5
3269 sed 's/^/| /' conftest.$ac_ext >&5
3271 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3273 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3274 See \
`config.log' for more details" "$LINENO" 5; }
3276 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3279 $as_echo "$ac_cv_objext" >&6; }
3280 OBJEXT=$ac_cv_objext
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3283 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3284 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3285 $as_echo_n "(cached) " >&6
3287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3288 /* end confdefs.h. */
3301 if ac_fn_cxx_try_compile "$LINENO"; then :
3306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3307 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3311 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3312 if test $ac_compiler_gnu = yes; then
3317 ac_test_CXXFLAGS=${CXXFLAGS+set}
3318 ac_save_CXXFLAGS=$CXXFLAGS
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3320 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3321 if ${ac_cv_prog_cxx_g+:} false; then :
3322 $as_echo_n "(cached) " >&6
3324 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3325 ac_cxx_werror_flag=yes
3328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3329 /* end confdefs.h. */
3339 if ac_fn_cxx_try_compile "$LINENO"; then :
3340 ac_cv_prog_cxx_g=yes
3343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3344 /* end confdefs.h. */
3354 if ac_fn_cxx_try_compile "$LINENO"; then :
3357 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3360 /* end confdefs.h. */
3370 if ac_fn_cxx_try_compile "$LINENO"; then :
3371 ac_cv_prog_cxx_g=yes
3373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3378 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3381 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3382 if test "$ac_test_CXXFLAGS" = set; then
3383 CXXFLAGS=$ac_save_CXXFLAGS
3384 elif test $ac_cv_prog_cxx_g = yes; then
3385 if test "$GXX" = yes; then
3391 if test "$GXX" = yes; then
3398 ac_cpp='$CPP $CPPFLAGS'
3399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3404 ac_cpp='$CPP $CPPFLAGS'
3405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3408 if test -n "$ac_tool_prefix"; then
3409 for ac_prog in ${host_c_compilers}
3411 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3412 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3414 $as_echo_n "checking for $ac_word... " >&6; }
3415 if ${ac_cv_prog_CC+:} false; then :
3416 $as_echo_n "(cached) " >&6
3418 if test -n "$CC"; then
3419 ac_cv_prog_CC="$CC" # Let the user override the test.
3421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3425 test -z "$as_dir" && as_dir=.
3426 for ac_exec_ext in '' $ac_executable_extensions; do
3427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3428 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3439 if test -n "$CC"; then
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3441 $as_echo "$CC" >&6; }
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3444 $as_echo "no" >&6; }
3448 test -n "$CC" && break
3451 if test -z "$CC"; then
3453 for ac_prog in ${host_c_compilers}
3455 # Extract the first word of "$ac_prog", so it can be a program name with args.
3456 set dummy $ac_prog; ac_word=$2
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3458 $as_echo_n "checking for $ac_word... " >&6; }
3459 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3460 $as_echo_n "(cached) " >&6
3462 if test -n "$ac_ct_CC"; then
3463 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3469 test -z "$as_dir" && as_dir=.
3470 for ac_exec_ext in '' $ac_executable_extensions; do
3471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3472 ac_cv_prog_ac_ct_CC="$ac_prog"
3473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3482 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3483 if test -n "$ac_ct_CC"; then
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3485 $as_echo "$ac_ct_CC" >&6; }
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3488 $as_echo "no" >&6; }
3492 test -n "$ac_ct_CC" && break
3495 if test "x$ac_ct_CC" = x; then
3498 case $cross_compiling:$ac_tool_warned in
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3502 ac_tool_warned=yes ;;
3509 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3511 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3512 See \
`config.log' for more details" "$LINENO" 5; }
3514 # Provide some information about the compiler.
3515 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3518 for ac_option in --version -v -V -qversion; do
3519 { { ac_try="$ac_compiler $ac_option >&5"
3521 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3522 *) ac_try_echo
=$ac_try;;
3524 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3525 $as_echo "$ac_try_echo"; } >&5
3526 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3528 if test -s conftest.err
; then
3530 ... rest of stderr output deleted ...
3531 10q' conftest.err
>conftest.er1
3532 cat conftest.er1
>&5
3534 rm -f conftest.er1 conftest.err
3535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3536 test $ac_status = 0; }
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3540 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3541 if ${ac_cv_c_compiler_gnu+:} false
; then :
3542 $as_echo_n "(cached) " >&6
3544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3545 /* end confdefs.h. */
3558 if ac_fn_c_try_compile
"$LINENO"; then :
3563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3564 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3568 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3569 if test $ac_compiler_gnu = yes; then
3574 ac_test_CFLAGS
=${CFLAGS+set}
3575 ac_save_CFLAGS
=$CFLAGS
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3577 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3578 if ${ac_cv_prog_cc_g+:} false
; then :
3579 $as_echo_n "(cached) " >&6
3581 ac_save_c_werror_flag
=$ac_c_werror_flag
3582 ac_c_werror_flag
=yes
3585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3586 /* end confdefs.h. */
3596 if ac_fn_c_try_compile
"$LINENO"; then :
3600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3601 /* end confdefs.h. */
3611 if ac_fn_c_try_compile
"$LINENO"; then :
3614 ac_c_werror_flag
=$ac_save_c_werror_flag
3616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3617 /* end confdefs.h. */
3627 if ac_fn_c_try_compile
"$LINENO"; then :
3630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3635 ac_c_werror_flag
=$ac_save_c_werror_flag
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3638 $as_echo "$ac_cv_prog_cc_g" >&6; }
3639 if test "$ac_test_CFLAGS" = set; then
3640 CFLAGS
=$ac_save_CFLAGS
3641 elif test $ac_cv_prog_cc_g = yes; then
3642 if test "$GCC" = yes; then
3648 if test "$GCC" = yes; then
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3655 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3656 if ${ac_cv_prog_cc_c89+:} false
; then :
3657 $as_echo_n "(cached) " >&6
3659 ac_cv_prog_cc_c89
=no
3661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3662 /* end confdefs.h. */
3666 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3667 struct buf { int x; };
3668 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3669 static char *e (p, i)
3675 static char *f (char * (*g) (char **, int), char **p, ...)
3680 s = g (p, va_arg (v,int));
3685 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3686 function prototypes and stuff, but not '\xHH' hex character constants.
3687 These don't provoke an error unfortunately, instead are silently treated
3688 as 'x'. The following induces an error, until -std is added to get
3689 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3690 array size at least. It's necessary to write '\x00'==0 to get something
3691 that's true only with -std. */
3692 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3694 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3695 inside strings and character constants. */
3697 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3699 int test (int i, double x);
3700 struct s1 {int (*f) (int a);};
3701 struct s2 {int (*f) (double a);};
3702 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3708 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3713 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3714 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3716 CC
="$ac_save_CC $ac_arg"
3717 if ac_fn_c_try_compile
"$LINENO"; then :
3718 ac_cv_prog_cc_c89
=$ac_arg
3720 rm -f core conftest.err conftest.
$ac_objext
3721 test "x$ac_cv_prog_cc_c89" != "xno" && break
3723 rm -f conftest.
$ac_ext
3728 case "x$ac_cv_prog_cc_c89" in
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3731 $as_echo "none needed" >&6; } ;;
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3734 $as_echo "unsupported" >&6; } ;;
3736 CC
="$CC $ac_cv_prog_cc_c89"
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3738 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3740 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3745 ac_cpp
='$CPP $CPPFLAGS'
3746 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3747 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3748 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3750 aros_host_def_cc
="$CC"
3751 case $ac_cv_prog_cc_stdc in #(
3753 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3756 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3757 if ${ac_cv_prog_cc_c99+:} false
; then :
3758 $as_echo_n "(cached) " >&6
3760 ac_cv_prog_cc_c99
=no
3762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3763 /* end confdefs.h. */
3765 #include <stdbool.h>
3770 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3771 #define debug(...) fprintf (stderr, __VA_ARGS__)
3772 #define showlist(...) puts (#__VA_ARGS__)
3773 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3775 test_varargs_macros (void)
3780 debug ("X = %d\n", x);
3781 showlist (The first, second, and third items.);
3782 report (x>y, "x is %d but y is %d", x, y);
3785 // Check long long types.
3786 #define BIG64 18446744073709551615ull
3787 #define BIG32 4294967295ul
3788 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3790 your preprocessor is broken;
3794 your preprocessor is broken;
3796 static long long int bignum = -9223372036854775807LL;
3797 static unsigned long long int ubignum = BIG64;
3799 struct incomplete_array
3807 const wchar_t *name;
3811 typedef const char *ccp;
3814 test_restrict (ccp restrict text)
3816 // See if C++-style comments work.
3817 // Iterate through items via the restricted pointer.
3818 // Also check for declarations in for loops.
3819 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3824 // Check varargs and va_copy.
3826 test_varargs (const char *format, ...)
3829 va_start (args, format);
3831 va_copy (args_copy, args);
3842 str = va_arg (args_copy, const char *);
3845 number = va_arg (args_copy, int);
3848 fnumber = va_arg (args_copy, double);
3863 _Bool success = false;
3866 if (test_restrict ("String literal") == 0)
3868 char *restrict newvar = "Another string";
3871 test_varargs ("s, d' f .", "string", 65, 34.234);
3872 test_varargs_macros ();
3874 // Check flexible array members.
3875 struct incomplete_array *ia =
3876 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3878 for (int i = 0; i < ia->datasize; ++i)
3879 ia->data[i] = i * 1.234;
3881 // Check named initializers.
3882 struct named_init ni = {
3884 .name = L"Test wide string",
3885 .average = 543.34343,
3890 int dynamic_array[ni.number];
3891 dynamic_array[ni.number - 1] = 543;
3893 // work around unused variable warnings
3894 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3895 || dynamic_array[ni.number - 1] != 543);
3901 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
3903 CC
="$ac_save_CC $ac_arg"
3904 if ac_fn_c_try_compile
"$LINENO"; then :
3905 ac_cv_prog_cc_c99
=$ac_arg
3907 rm -f core conftest.err conftest.
$ac_objext
3908 test "x$ac_cv_prog_cc_c99" != "xno" && break
3910 rm -f conftest.
$ac_ext
3915 case "x$ac_cv_prog_cc_c99" in
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3918 $as_echo "none needed" >&6; } ;;
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3921 $as_echo "unsupported" >&6; } ;;
3923 CC
="$CC $ac_cv_prog_cc_c99"
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3925 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3927 if test "x$ac_cv_prog_cc_c99" != xno
; then :
3928 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3931 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3932 if ${ac_cv_prog_cc_c89+:} false
; then :
3933 $as_echo_n "(cached) " >&6
3935 ac_cv_prog_cc_c89
=no
3937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3938 /* end confdefs.h. */
3942 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3943 struct buf { int x; };
3944 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3945 static char *e (p, i)
3951 static char *f (char * (*g) (char **, int), char **p, ...)
3956 s = g (p, va_arg (v,int));
3961 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3962 function prototypes and stuff, but not '\xHH' hex character constants.
3963 These don't provoke an error unfortunately, instead are silently treated
3964 as 'x'. The following induces an error, until -std is added to get
3965 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3966 array size at least. It's necessary to write '\x00'==0 to get something
3967 that's true only with -std. */
3968 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3970 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3971 inside strings and character constants. */
3973 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3975 int test (int i, double x);
3976 struct s1 {int (*f) (int a);};
3977 struct s2 {int (*f) (double a);};
3978 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3984 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3989 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3990 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3992 CC
="$ac_save_CC $ac_arg"
3993 if ac_fn_c_try_compile
"$LINENO"; then :
3994 ac_cv_prog_cc_c89
=$ac_arg
3996 rm -f core conftest.err conftest.
$ac_objext
3997 test "x$ac_cv_prog_cc_c89" != "xno" && break
3999 rm -f conftest.
$ac_ext
4004 case "x$ac_cv_prog_cc_c89" in
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4007 $as_echo "none needed" >&6; } ;;
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4010 $as_echo "unsupported" >&6; } ;;
4012 CC
="$CC $ac_cv_prog_cc_c89"
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4014 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4016 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4017 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4019 ac_cv_prog_cc_stdc
=no
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4026 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4027 if ${ac_cv_prog_cc_stdc+:} false
; then :
4028 $as_echo_n "(cached) " >&6
4031 case $ac_cv_prog_cc_stdc in #(
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4034 $as_echo "unsupported" >&6; } ;; #(
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4037 $as_echo "none needed" >&6; } ;; #(
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4040 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4044 ac_cpp
='$CPP $CPPFLAGS'
4045 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4046 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4047 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4049 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4050 # On Suns, sometimes $CPP names a directory.
4051 if test -n "$CPP" && test -d "$CPP"; then
4054 if test -z "$CPP"; then
4055 if ${ac_cv_prog_CPP+:} false
; then :
4056 $as_echo_n "(cached) " >&6
4058 # Double quotes because CPP needs to be expanded
4059 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4062 for ac_c_preproc_warn_flag
in '' yes
4064 # Use a header file that comes with gcc, so configuring glibc
4065 # with a fresh cross-compiler works.
4066 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4067 # <limits.h> exists even on freestanding compilers.
4068 # On the NeXT, cc -E runs the code through the compiler's parser,
4069 # not just through cpp. "Syntax error" is here to catch this case.
4070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4071 /* end confdefs.h. */
4073 # include <limits.h>
4075 # include <assert.h>
4079 if ac_fn_c_try_cpp
"$LINENO"; then :
4082 # Broken: fails on valid input.
4085 rm -f conftest.err conftest.i conftest.
$ac_ext
4087 # OK, works on sane cases. Now check whether nonexistent headers
4088 # can be detected and how.
4089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4090 /* end confdefs.h. */
4091 #include <ac_nonexistent.h>
4093 if ac_fn_c_try_cpp
"$LINENO"; then :
4094 # Broken: success on invalid input.
4097 # Passes both tests.
4101 rm -f conftest.err conftest.i conftest.
$ac_ext
4104 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4105 rm -f conftest.i conftest.err conftest.
$ac_ext
4106 if $ac_preproc_ok; then :
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4119 $as_echo "$CPP" >&6; }
4121 for ac_c_preproc_warn_flag
in '' yes
4123 # Use a header file that comes with gcc, so configuring glibc
4124 # with a fresh cross-compiler works.
4125 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4126 # <limits.h> exists even on freestanding compilers.
4127 # On the NeXT, cc -E runs the code through the compiler's parser,
4128 # not just through cpp. "Syntax error" is here to catch this case.
4129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h. */
4132 # include <limits.h>
4134 # include <assert.h>
4138 if ac_fn_c_try_cpp
"$LINENO"; then :
4141 # Broken: fails on valid input.
4144 rm -f conftest.err conftest.i conftest.
$ac_ext
4146 # OK, works on sane cases. Now check whether nonexistent headers
4147 # can be detected and how.
4148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4149 /* end confdefs.h. */
4150 #include <ac_nonexistent.h>
4152 if ac_fn_c_try_cpp
"$LINENO"; then :
4153 # Broken: success on invalid input.
4156 # Passes both tests.
4160 rm -f conftest.err conftest.i conftest.
$ac_ext
4163 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4164 rm -f conftest.i conftest.err conftest.
$ac_ext
4165 if $ac_preproc_ok; then :
4168 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4169 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4170 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4171 See \`config.log' for more details" "$LINENO" 5; }
4175 ac_cpp
='$CPP $CPPFLAGS'
4176 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4177 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4178 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4181 # Check for a compatible awk
4182 for ac_prog
in gawk nawk
4184 # Extract the first word of "$ac_prog", so it can be a program name with args.
4185 set dummy
$ac_prog; ac_word
=$2
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4187 $as_echo_n "checking for $ac_word... " >&6; }
4188 if ${ac_cv_prog_AWK+:} false
; then :
4189 $as_echo_n "(cached) " >&6
4191 if test -n "$AWK"; then
4192 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4198 test -z "$as_dir" && as_dir
=.
4199 for ac_exec_ext
in '' $ac_executable_extensions; do
4200 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4201 ac_cv_prog_AWK
="$ac_prog"
4202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4212 if test -n "$AWK"; then
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4214 $as_echo "$AWK" >&6; }
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4217 $as_echo "no" >&6; }
4221 test -n "$AWK" && break
4225 if test "$AWK" = ""; then
4228 if test "$AWK" = "no"; then
4231 if test "$req_avail" = "no"; then
4232 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4234 # Extract the first word of "mmake", so it can be a program name with args.
4235 set dummy mmake
; ac_word
=$2
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4237 $as_echo_n "checking for $ac_word... " >&6; }
4238 if ${ac_cv_prog_MMAKE+:} false
; then :
4239 $as_echo_n "(cached) " >&6
4241 if test -n "$MMAKE"; then
4242 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4248 test -z "$as_dir" && as_dir
=.
4249 for ac_exec_ext
in '' $ac_executable_extensions; do
4250 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4251 ac_cv_prog_MMAKE
="mmake "
4252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4261 MMAKE
=$ac_cv_prog_MMAKE
4262 if test -n "$MMAKE"; then
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4264 $as_echo "$MMAKE" >&6; }
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4267 $as_echo "no" >&6; }
4272 # Perform some default variable assignments. Note all of these will be
4273 # Regenerated from the script, so there is no need to cache them.
4275 aros_build_host
=$host
4276 aros_host_cpp
="$CPP"
4278 aros_host_cxx
="$CXX"
4279 if test "$GCC" = "yes"; then
4280 aros_gcc_ld
=`$CC -print-prog-name=ld`
4281 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4282 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4284 $as_echo_n "checking for $ac_word... " >&6; }
4285 if ${ac_cv_path_aros_host_ld+:} false
; then :
4286 $as_echo_n "(cached) " >&6
4288 case $aros_host_ld in
4290 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4294 for as_dir
in `dirname $aros_gcc_ld`
4297 test -z "$as_dir" && as_dir
=.
4298 for ac_exec_ext
in '' $ac_executable_extensions; do
4299 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4300 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4311 aros_host_ld
=$ac_cv_path_aros_host_ld
4312 if test -n "$aros_host_ld"; then
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4314 $as_echo "$aros_host_ld" >&6; }
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4317 $as_echo "no" >&6; }
4322 if test "$aros_host_ld" = ""; then
4323 # Extract the first word of "ld", so it can be a program name with args.
4324 set dummy ld
; ac_word
=$2
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4326 $as_echo_n "checking for $ac_word... " >&6; }
4327 if ${ac_cv_path_aros_host_ld+:} false
; then :
4328 $as_echo_n "(cached) " >&6
4330 case $aros_host_ld in
4332 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4339 test -z "$as_dir" && as_dir
=.
4340 for ac_exec_ext
in '' $ac_executable_extensions; do
4341 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4342 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4353 aros_host_ld
=$ac_cv_path_aros_host_ld
4354 if test -n "$aros_host_ld"; then
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4356 $as_echo "$aros_host_ld" >&6; }
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4359 $as_echo "no" >&6; }
4365 if test "$aros_host_ld" = ""; then
4368 if test "$aros_host_ld" = "no"; then
4371 if test "$req_avail" = "no"; then
4372 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4374 aros_host_make
="make"
4375 aros_host_cflags
="$CFLAGS"
4376 aros_host_cxxflags
="$CXXFLAGS"
4377 aros_host_cppflags
="$CPPFLAGS"
4378 aros_host_ldflags
="$LDFLAGS"
4379 aros_host_debug
="-g -O0"
4380 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4381 aros_host_mkargs
="--no-print-directory"
4382 aros_host_exe_suffix
="$EXEEXT"
4383 aros_host_lib_suffix
=""
4385 # Ignore all compliance, AROS ROMs = 0
4386 # KickStart v1.0 = 30
4387 # KickStart v1.3 = 34
4388 # KickStart v2.0 = 37
4389 # KickStart v3.0 = 39
4390 # KickStart v3.1 = 40
4392 aros_amigaos_compliance
=0
4394 for ac_prog
in aclocal aclocal19 aclocal-1.9
4396 # Extract the first word of "$ac_prog", so it can be a program name with args.
4397 set dummy
$ac_prog; ac_word
=$2
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4399 $as_echo_n "checking for $ac_word... " >&6; }
4400 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4401 $as_echo_n "(cached) " >&6
4403 if test -n "$aros_host_aclocal"; then
4404 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4410 test -z "$as_dir" && as_dir
=.
4411 for ac_exec_ext
in '' $ac_executable_extensions; do
4412 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4413 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4423 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4424 if test -n "$aros_host_aclocal"; then
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4426 $as_echo "$aros_host_aclocal" >&6; }
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4429 $as_echo "no" >&6; }
4433 test -n "$aros_host_aclocal" && break
4436 for ac_prog
in autoconf autoconf259 autoconf253
4438 # Extract the first word of "$ac_prog", so it can be a program name with args.
4439 set dummy
$ac_prog; ac_word
=$2
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4441 $as_echo_n "checking for $ac_word... " >&6; }
4442 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4443 $as_echo_n "(cached) " >&6
4445 if test -n "$aros_host_autoconf"; then
4446 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4452 test -z "$as_dir" && as_dir
=.
4453 for ac_exec_ext
in '' $ac_executable_extensions; do
4454 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4455 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4465 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4466 if test -n "$aros_host_autoconf"; then
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4468 $as_echo "$aros_host_autoconf" >&6; }
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4471 $as_echo "no" >&6; }
4475 test -n "$aros_host_autoconf" && break
4478 for ac_prog
in autoheader autoheader259 autoheader253
4480 # Extract the first word of "$ac_prog", so it can be a program name with args.
4481 set dummy
$ac_prog; ac_word
=$2
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4483 $as_echo_n "checking for $ac_word... " >&6; }
4484 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4485 $as_echo_n "(cached) " >&6
4487 if test -n "$aros_host_autoheader"; then
4488 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4494 test -z "$as_dir" && as_dir
=.
4495 for ac_exec_ext
in '' $ac_executable_extensions; do
4496 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4497 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4507 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4508 if test -n "$aros_host_autoheader"; then
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4510 $as_echo "$aros_host_autoheader" >&6; }
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4513 $as_echo "no" >&6; }
4517 test -n "$aros_host_autoheader" && break
4520 for ac_prog
in automake automake19 automake-1.9
4522 # Extract the first word of "$ac_prog", so it can be a program name with args.
4523 set dummy
$ac_prog; ac_word
=$2
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4525 $as_echo_n "checking for $ac_word... " >&6; }
4526 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4527 $as_echo_n "(cached) " >&6
4529 if test -n "$aros_host_automake"; then
4530 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4536 test -z "$as_dir" && as_dir
=.
4537 for ac_exec_ext
in '' $ac_executable_extensions; do
4538 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4539 ac_cv_prog_aros_host_automake
="$ac_prog"
4540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4549 aros_host_automake
=$ac_cv_prog_aros_host_automake
4550 if test -n "$aros_host_automake"; then
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4552 $as_echo "$aros_host_automake" >&6; }
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4555 $as_echo "no" >&6; }
4559 test -n "$aros_host_automake" && break
4564 if test "$aros_host_aclocal" = ""; then
4567 if test "$aros_host_aclocal" = "no"; then
4570 if test "$req_avail" = "no"; then
4571 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4574 if test "$aros_host_automake" = ""; then
4577 if test "$aros_host_automake" = "no"; then
4580 if test "$req_avail" = "no"; then
4581 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4584 case "$aros_host_cc" in
4586 aros_host_cc_pipe
=""
4589 aros_host_cc_pipe
="-pipe"
4592 aros_host_cc_pipe
=""
4595 aros_host_cc_pipe
=""
4599 aros_kernel_cc_includes
=""
4600 aros_target_cc_includes
=""
4603 # ----------------------------------------------------------------------------------------
4604 # Host-specific defaults
4606 # This is the main host configuration section. It is where the host
4607 # can change the values of any variables it needs to change. We do
4608 # not look at anything that compiles to the target yet, we'll get
4613 aros_host_arch
="aros"
4614 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4617 aros_host_cpu
="i386"
4620 aros_host_cpu
="x86_64"
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4627 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4628 aros_host_cpu
="$host_cpu"
4634 aros_host_arch
="linux"
4635 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4636 android_build_os
="linux-x86"
4637 android_tool
="android"
4638 default_android_sdk
="/opt/android-sdk-linux_x86"
4641 aros_host_cpu
="i386"
4644 aros_host_cpu
="x86_64"
4647 aros_host_cpu
="m68k"
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4657 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4658 aros_host_cpu
="$host_cpu"
4664 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe -I/usr/local/include"
4665 aros_host_make
="gmake"
4666 aros_host_arch
="freebsd"
4667 aros_host_cpu
="i386"
4669 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4673 aros_object_format
="elf_i386"
4677 aros_object_format
="elf_i386_fbsd"
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/include/stddef.h" >&5
4685 $as_echo_n "checking for /usr/include/stddef.h... " >&6; }
4686 if ${ac_cv_file__usr_include_stddef_h+:} false
; then :
4687 $as_echo_n "(cached) " >&6
4689 test "$cross_compiling" = yes &&
4690 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
4691 if test -r "/usr/include/stddef.h"; then
4692 ac_cv_file__usr_include_stddef_h
=yes
4694 ac_cv_file__usr_include_stddef_h
=no
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_include_stddef_h" >&5
4698 $as_echo "$ac_cv_file__usr_include_stddef_h" >&6; }
4699 if test "x$ac_cv_file__usr_include_stddef_h" = xyes
; then :
4702 as_fn_error $?
"XCode incorrectly configured!
4703 please run 'xcode-select --install' before
4704 re-running configure" "$LINENO" 5
4708 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4709 aros_host_arch
="darwin"
4711 if [ -z ${SED+x} ]; then SED
="gsed"; fi
4712 android_build_os
="darwin-x86"
4713 android_tool
="android"
4714 default_android_sdk
="/android-sdk-mac_x86"
4717 aros_host_cpu
="i386"
4720 aros_host_cpu
="x86_64"
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4727 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4728 aros_host_cpu
="$host_cpu"
4732 aros_host_ldflags
="$aros_host_ldflags -liconv"
4737 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4738 aros_host_make
="gmake"
4739 aros_host_arch
="dragonfly"
4742 aros_host_cpu
="i386"
4745 aros_host_cpu
="x86_64"
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4749 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4750 aros_host_cpu
="$host_cpu"
4756 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4757 aros_host_make
="gmake"
4758 aros_host_arch
="netbsd"
4761 aros_host_cpu
="i386"
4764 aros_host_cpu
="m68k"
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4768 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4769 aros_host_cpu
="$host_cpu"
4772 aros_host_lib_suffix
=".0.0"
4776 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4777 aros_host_make
="gmake"
4778 aros_host_arch
="openbsd"
4781 aros_host_cpu
="i386"
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4785 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4786 aros_host_cpu
="$host_cpu"
4792 aros_host_arch
="solaris"
4793 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4796 aros_host_cpu
="i386"
4799 aros_host_cpu
="sparc"
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4803 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4804 aros_host_cpu
="$host_cpu"
4810 aros_host_arch
="morphos"
4816 aros_host_arch
="amiga"
4822 TOUCH
="/gg/bin/touch"
4825 aros_host_cpu
="m68k"
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4832 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4833 aros_host_cpu
="$host_cpu"
4839 aros_host_arch
="cygwin"
4840 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4842 android_build_os
="windows"
4843 android_tool
="android.bat"
4844 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4848 aros_host_cpu
="i386"
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4852 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4853 aros_host_cpu
="$host_cpu"
4859 aros_host_arch
="mingw32"
4860 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4862 android_build_os
="windows"
4863 android_tool
="android.bat"
4864 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4866 libpng_libextra
="-lws2_32"
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
4872 $as_echo_n "checking for Windows native gcc target... " >&6; }
4873 host_cpu
=`gcc -dumpmachine`
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
4875 $as_echo "$host_cpu" >&6; }
4882 aros_host_cpu
="i386"
4886 aros_host_cpu
="i386"
4890 aros_host_cpu
="x86_64"
4891 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4896 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4897 aros_host_cpu
="$host_cpu"
4902 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4906 # Extract the first word of "ar", so it can be a program name with args.
4907 set dummy
ar; ac_word
=$2
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4909 $as_echo_n "checking for $ac_word... " >&6; }
4910 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4911 $as_echo_n "(cached) " >&6
4913 if test -n "$aros_host_ar"; then
4914 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4920 test -z "$as_dir" && as_dir
=.
4921 for ac_exec_ext
in '' $ac_executable_extensions; do
4922 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4923 ac_cv_prog_aros_host_ar
="ar cr"
4924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4933 aros_host_ar
=$ac_cv_prog_aros_host_ar
4934 if test -n "$aros_host_ar"; then
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4936 $as_echo "$aros_host_ar" >&6; }
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4939 $as_echo "no" >&6; }
4944 if test "$aros_host_ar" = ""; then
4947 if test "$aros_host_ar" = "no"; then
4950 if test "$req_avail" = "no"; then
4951 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4953 # Extract the first word of "ranlib", so it can be a program name with args.
4954 set dummy ranlib
; ac_word
=$2
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4956 $as_echo_n "checking for $ac_word... " >&6; }
4957 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4958 $as_echo_n "(cached) " >&6
4960 if test -n "$aros_host_ranlib"; then
4961 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4967 test -z "$as_dir" && as_dir
=.
4968 for ac_exec_ext
in '' $ac_executable_extensions; do
4969 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4970 ac_cv_prog_aros_host_ranlib
="ranlib "
4971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4980 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4981 if test -n "$aros_host_ranlib"; then
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4983 $as_echo "$aros_host_ranlib" >&6; }
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4986 $as_echo "no" >&6; }
4991 if test "$aros_host_ranlib" = ""; then
4994 if test "$aros_host_ranlib" = "no"; then
4997 if test "$req_avail" = "no"; then
4998 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
5000 # Extract the first word of "strip", so it can be a program name with args.
5001 set dummy strip
; ac_word
=$2
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5003 $as_echo_n "checking for $ac_word... " >&6; }
5004 if ${ac_cv_prog_aros_host_strip+:} false
; then :
5005 $as_echo_n "(cached) " >&6
5007 if test -n "$aros_host_strip"; then
5008 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5014 test -z "$as_dir" && as_dir
=.
5015 for ac_exec_ext
in '' $ac_executable_extensions; do
5016 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5017 ac_cv_prog_aros_host_strip
="strip "
5018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5027 aros_host_strip
=$ac_cv_prog_aros_host_strip
5028 if test -n "$aros_host_strip"; then
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5030 $as_echo "$aros_host_strip" >&6; }
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5033 $as_echo "no" >&6; }
5038 if test "$aros_host_strip" = ""; then
5041 if test "$aros_host_strip" = "no"; then
5044 if test "$req_avail" = "no"; then
5045 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5048 # Extract the first word of "rm", so it can be a program name with args.
5049 set dummy
rm; ac_word
=$2
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5051 $as_echo_n "checking for $ac_word... " >&6; }
5052 if ${ac_cv_prog_RM+:} false
; then :
5053 $as_echo_n "(cached) " >&6
5055 if test -n "$RM"; then
5056 ac_cv_prog_RM
="$RM" # Let the user override the test.
5058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5062 test -z "$as_dir" && as_dir
=.
5063 for ac_exec_ext
in '' $ac_executable_extensions; do
5064 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5065 ac_cv_prog_RM
="rm -rf"
5066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5076 if test -n "$RM"; then
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5078 $as_echo "$RM" >&6; }
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5081 $as_echo "no" >&6; }
5086 if test "$RM" = ""; then
5089 if test "$RM" = "no"; then
5092 if test "$req_avail" = "no"; then
5093 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5095 # Extract the first word of "cp", so it can be a program name with args.
5096 set dummy
cp; ac_word
=$2
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5098 $as_echo_n "checking for $ac_word... " >&6; }
5099 if ${ac_cv_prog_CP+:} false
; then :
5100 $as_echo_n "(cached) " >&6
5102 if test -n "$CP"; then
5103 ac_cv_prog_CP
="$CP" # Let the user override the test.
5105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5109 test -z "$as_dir" && as_dir
=.
5110 for ac_exec_ext
in '' $ac_executable_extensions; do
5111 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5123 if test -n "$CP"; then
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5125 $as_echo "$CP" >&6; }
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5128 $as_echo "no" >&6; }
5133 if test "$CP" = ""; then
5136 if test "$CP" = "no"; then
5139 if test "$req_avail" = "no"; then
5140 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5142 # Extract the first word of "mv", so it can be a program name with args.
5143 set dummy
mv; ac_word
=$2
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5145 $as_echo_n "checking for $ac_word... " >&6; }
5146 if ${ac_cv_prog_MV+:} false
; then :
5147 $as_echo_n "(cached) " >&6
5149 if test -n "$MV"; then
5150 ac_cv_prog_MV
="$MV" # Let the user override the test.
5152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5156 test -z "$as_dir" && as_dir
=.
5157 for ac_exec_ext
in '' $ac_executable_extensions; do
5158 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5170 if test -n "$MV"; then
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5172 $as_echo "$MV" >&6; }
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5175 $as_echo "no" >&6; }
5180 if test "$MV" = ""; then
5183 if test "$MV" = "no"; then
5186 if test "$req_avail" = "no"; then
5187 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5189 # Extract the first word of "echo", so it can be a program name with args.
5190 set dummy
echo; ac_word
=$2
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5192 $as_echo_n "checking for $ac_word... " >&6; }
5193 if ${ac_cv_prog_ECHO+:} false
; then :
5194 $as_echo_n "(cached) " >&6
5196 if test -n "$ECHO"; then
5197 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5203 test -z "$as_dir" && as_dir
=.
5204 for ac_exec_ext
in '' $ac_executable_extensions; do
5205 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5206 ac_cv_prog_ECHO
="echo "
5207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5216 ECHO
=$ac_cv_prog_ECHO
5217 if test -n "$ECHO"; then
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5219 $as_echo "$ECHO" >&6; }
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5222 $as_echo "no" >&6; }
5227 if test "$ECHO" = ""; then
5230 if test "$ECHO" = "no"; then
5233 if test "$req_avail" = "no"; then
5234 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5236 # Extract the first word of "mkdir", so it can be a program name with args.
5237 set dummy mkdir
; ac_word
=$2
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5239 $as_echo_n "checking for $ac_word... " >&6; }
5240 if ${ac_cv_prog_MKDIR+:} false
; then :
5241 $as_echo_n "(cached) " >&6
5243 if test -n "$MKDIR"; then
5244 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5250 test -z "$as_dir" && as_dir
=.
5251 for ac_exec_ext
in '' $ac_executable_extensions; do
5252 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5253 ac_cv_prog_MKDIR
="mkdir -p"
5254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5263 MKDIR
=$ac_cv_prog_MKDIR
5264 if test -n "$MKDIR"; then
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5266 $as_echo "$MKDIR" >&6; }
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5269 $as_echo "no" >&6; }
5274 if test "$MKDIR" = ""; then
5277 if test "$MKDIR" = "no"; then
5280 if test "$req_avail" = "no"; then
5281 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5283 # Extract the first word of "touch", so it can be a program name with args.
5284 set dummy
touch; ac_word
=$2
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5286 $as_echo_n "checking for $ac_word... " >&6; }
5287 if ${ac_cv_prog_TOUCH+:} false
; then :
5288 $as_echo_n "(cached) " >&6
5290 if test -n "$TOUCH"; then
5291 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5297 test -z "$as_dir" && as_dir
=.
5298 for ac_exec_ext
in '' $ac_executable_extensions; do
5299 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5300 ac_cv_prog_TOUCH
="touch "
5301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5310 TOUCH
=$ac_cv_prog_TOUCH
5311 if test -n "$TOUCH"; then
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5313 $as_echo "$TOUCH" >&6; }
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5316 $as_echo "no" >&6; }
5321 if test "$TOUCH" = ""; then
5324 if test "$TOUCH" = "no"; then
5327 if test "$req_avail" = "no"; then
5328 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5330 # Extract the first word of "sort", so it can be a program name with args.
5331 set dummy
sort; ac_word
=$2
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5333 $as_echo_n "checking for $ac_word... " >&6; }
5334 if ${ac_cv_prog_SORT+:} false
; then :
5335 $as_echo_n "(cached) " >&6
5337 if test -n "$SORT"; then
5338 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5344 test -z "$as_dir" && as_dir
=.
5345 for ac_exec_ext
in '' $ac_executable_extensions; do
5346 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5347 ac_cv_prog_SORT
="sort "
5348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5357 SORT
=$ac_cv_prog_SORT
5358 if test -n "$SORT"; then
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5360 $as_echo "$SORT" >&6; }
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5363 $as_echo "no" >&6; }
5368 if test "$SORT" = ""; then
5371 if test "$SORT" = "no"; then
5374 if test "$req_avail" = "no"; then
5375 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5377 # Extract the first word of "uniq", so it can be a program name with args.
5378 set dummy
uniq; ac_word
=$2
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5380 $as_echo_n "checking for $ac_word... " >&6; }
5381 if ${ac_cv_prog_UNIQ+:} false
; then :
5382 $as_echo_n "(cached) " >&6
5384 if test -n "$UNIQ"; then
5385 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5391 test -z "$as_dir" && as_dir
=.
5392 for ac_exec_ext
in '' $ac_executable_extensions; do
5393 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5394 ac_cv_prog_UNIQ
="uniq "
5395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5404 UNIQ
=$ac_cv_prog_UNIQ
5405 if test -n "$UNIQ"; then
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5407 $as_echo "$UNIQ" >&6; }
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5410 $as_echo "no" >&6; }
5415 if test "$UNIQ" = ""; then
5418 if test "$UNIQ" = "no"; then
5421 if test "$req_avail" = "no"; then
5422 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5424 # Extract the first word of "true", so it can be a program name with args.
5425 set dummy true
; ac_word
=$2
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5427 $as_echo_n "checking for $ac_word... " >&6; }
5428 if ${ac_cv_prog_NOP+:} false
; then :
5429 $as_echo_n "(cached) " >&6
5431 if test -n "$NOP"; then
5432 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5438 test -z "$as_dir" && as_dir
=.
5439 for ac_exec_ext
in '' $ac_executable_extensions; do
5440 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5441 ac_cv_prog_NOP
="true "
5442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 if test -n "$NOP"; then
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5454 $as_echo "$NOP" >&6; }
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5457 $as_echo "no" >&6; }
5462 if test "$NOP" = ""; then
5465 if test "$NOP" = "no"; then
5468 if test "$req_avail" = "no"; then
5469 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5471 # Extract the first word of "cat", so it can be a program name with args.
5472 set dummy
cat; ac_word
=$2
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5474 $as_echo_n "checking for $ac_word... " >&6; }
5475 if ${ac_cv_prog_CAT+:} false
; then :
5476 $as_echo_n "(cached) " >&6
5478 if test -n "$CAT"; then
5479 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5485 test -z "$as_dir" && as_dir
=.
5486 for ac_exec_ext
in '' $ac_executable_extensions; do
5487 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5488 ac_cv_prog_CAT
="cat "
5489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5499 if test -n "$CAT"; then
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5501 $as_echo "$CAT" >&6; }
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5504 $as_echo "no" >&6; }
5509 if test "$CAT" = ""; then
5512 if test "$CAT" = "no"; then
5515 if test "$req_avail" = "no"; then
5516 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5518 # Extract the first word of "bison", so it can be a program name with args.
5519 set dummy bison
; ac_word
=$2
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5521 $as_echo_n "checking for $ac_word... " >&6; }
5522 if ${ac_cv_prog_BISON+:} false
; then :
5523 $as_echo_n "(cached) " >&6
5525 if test -n "$BISON"; then
5526 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5532 test -z "$as_dir" && as_dir
=.
5533 for ac_exec_ext
in '' $ac_executable_extensions; do
5534 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5535 ac_cv_prog_BISON
="bison "
5536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5545 BISON
=$ac_cv_prog_BISON
5546 if test -n "$BISON"; then
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5548 $as_echo "$BISON" >&6; }
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5551 $as_echo "no" >&6; }
5556 if test "$BISON" = ""; then
5559 if test "$BISON" = "no"; then
5562 if test "$req_avail" = "no"; then
5563 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5565 # Extract the first word of "flex", so it can be a program name with args.
5566 set dummy flex
; ac_word
=$2
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5568 $as_echo_n "checking for $ac_word... " >&6; }
5569 if ${ac_cv_prog_FLEX+:} false
; then :
5570 $as_echo_n "(cached) " >&6
5572 if test -n "$FLEX"; then
5573 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5579 test -z "$as_dir" && as_dir
=.
5580 for ac_exec_ext
in '' $ac_executable_extensions; do
5581 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5582 ac_cv_prog_FLEX
="flex "
5583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5592 FLEX
=$ac_cv_prog_FLEX
5593 if test -n "$FLEX"; then
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5595 $as_echo "$FLEX" >&6; }
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5598 $as_echo "no" >&6; }
5603 if test "$FLEX" = ""; then
5606 if test "$FLEX" = "no"; then
5609 if test "$req_avail" = "no"; then
5610 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5612 # Extract the first word of "pngtopnm", so it can be a program name with args.
5613 set dummy pngtopnm
; ac_word
=$2
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5615 $as_echo_n "checking for $ac_word... " >&6; }
5616 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5617 $as_echo_n "(cached) " >&6
5619 if test -n "$PNGTOPNM"; then
5620 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5626 test -z "$as_dir" && as_dir
=.
5627 for ac_exec_ext
in '' $ac_executable_extensions; do
5628 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5629 ac_cv_prog_PNGTOPNM
="pngtopnm "
5630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5639 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5640 if test -n "$PNGTOPNM"; then
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5642 $as_echo "$PNGTOPNM" >&6; }
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5645 $as_echo "no" >&6; }
5650 if test "$PNGTOPNM" = ""; then
5653 if test "$PNGTOPNM" = "no"; then
5656 if test "$req_avail" = "no"; then
5657 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5659 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5660 set dummy ppmtoilbm
; ac_word
=$2
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5662 $as_echo_n "checking for $ac_word... " >&6; }
5663 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5664 $as_echo_n "(cached) " >&6
5666 if test -n "$PPMTOILBM"; then
5667 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5673 test -z "$as_dir" && as_dir
=.
5674 for ac_exec_ext
in '' $ac_executable_extensions; do
5675 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5676 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5686 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5687 if test -n "$PPMTOILBM"; then
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5689 $as_echo "$PPMTOILBM" >&6; }
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5692 $as_echo "no" >&6; }
5697 if test "$PPMTOILBM" = ""; then
5700 if test "$PPMTOILBM" = "no"; then
5703 if test "$req_avail" = "no"; then
5704 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5706 # Extract the first word of "sed", so it can be a program name with args.
5707 set dummy
sed; ac_word
=$2
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5709 $as_echo_n "checking for $ac_word... " >&6; }
5710 if ${ac_cv_prog_SED+:} false
; then :
5711 $as_echo_n "(cached) " >&6
5713 if test -n "$SED"; then
5714 ac_cv_prog_SED
="$SED" # Let the user override the test.
5716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5720 test -z "$as_dir" && as_dir
=.
5721 for ac_exec_ext
in '' $ac_executable_extensions; do
5722 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5723 ac_cv_prog_SED
="sed "
5724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5734 if test -n "$SED"; then
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5736 $as_echo "$SED" >&6; }
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5739 $as_echo "no" >&6; }
5744 if test "$SED" = ""; then
5747 if test "$SED" = "no"; then
5750 if test "$req_avail" = "no"; then
5751 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5753 # Extract the first word of "chmod", so it can be a program name with args.
5754 set dummy
chmod; ac_word
=$2
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5756 $as_echo_n "checking for $ac_word... " >&6; }
5757 if ${ac_cv_prog_CHMOD+:} false
; then :
5758 $as_echo_n "(cached) " >&6
5760 if test -n "$CHMOD"; then
5761 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5767 test -z "$as_dir" && as_dir
=.
5768 for ac_exec_ext
in '' $ac_executable_extensions; do
5769 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5770 ac_cv_prog_CHMOD
="chmod "
5771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5780 CHMOD
=$ac_cv_prog_CHMOD
5781 if test -n "$CHMOD"; then
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5783 $as_echo "$CHMOD" >&6; }
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5786 $as_echo "no" >&6; }
5791 if test "$CHMOD" = ""; then
5794 if test "$CHMOD" = "no"; then
5797 if test "$req_avail" = "no"; then
5798 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5800 # Extract the first word of "patch", so it can be a program name with args.
5801 set dummy
patch; ac_word
=$2
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5803 $as_echo_n "checking for $ac_word... " >&6; }
5804 if ${ac_cv_prog_PATCH+:} false
; then :
5805 $as_echo_n "(cached) " >&6
5807 if test -n "$PATCH"; then
5808 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5814 test -z "$as_dir" && as_dir
=.
5815 for ac_exec_ext
in '' $ac_executable_extensions; do
5816 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5817 ac_cv_prog_PATCH
="patch "
5818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5827 PATCH
=$ac_cv_prog_PATCH
5828 if test -n "$PATCH"; then
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5830 $as_echo "$PATCH" >&6; }
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5833 $as_echo "no" >&6; }
5838 if test "$PATCH" = ""; then
5841 if test "$PATCH" = "no"; then
5844 if test "$req_avail" = "no"; then
5845 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5854 if test -n "$PYTHON"; then
5855 # If the user set $PYTHON, use it and don't search something else.
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
5857 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
5859 # split strings by '.' and convert to numeric. Append some zeros
5860 # because we need at least 4 digits for the hex conversion.
5861 # map returns an iterator in Python 3.0 and a list in 2.x
5862 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5864 # xrange is not present in Python 3.0 and range returns an iterator
5865 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5866 sys.exit(sys.hexversion < minverhex)"
5867 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5868 ($PYTHON -c "$prog") >&5 2>&5
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); }; then :
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5873 $as_echo "yes" >&6; }
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5876 $as_echo "no" >&6; }
5877 as_fn_error $?
"Python interpreter is too old" "$LINENO" 5
5879 am_display_PYTHON
=$PYTHON
5881 # Otherwise, try each interpreter until we find one that satisfies
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5884 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5885 if ${am_cv_pathless_PYTHON+:} false
; then :
5886 $as_echo_n "(cached) " >&6
5889 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
5890 test "$am_cv_pathless_PYTHON" = none
&& break
5892 # split strings by '.' and convert to numeric. Append some zeros
5893 # because we need at least 4 digits for the hex conversion.
5894 # map returns an iterator in Python 3.0 and a list in 2.x
5895 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
5897 # xrange is not present in Python 3.0 and range returns an iterator
5898 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
5899 sys.exit(sys.hexversion < minverhex)"
5900 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5901 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5904 (exit $ac_status); }; then :
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5910 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5911 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5912 if test "$am_cv_pathless_PYTHON" = none
; then
5915 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5916 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5918 $as_echo_n "checking for $ac_word... " >&6; }
5919 if ${ac_cv_path_PYTHON+:} false
; then :
5920 $as_echo_n "(cached) " >&6
5924 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5931 test -z "$as_dir" && as_dir
=.
5932 for ac_exec_ext
in '' $ac_executable_extensions; do
5933 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5934 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5945 PYTHON
=$ac_cv_path_PYTHON
5946 if test -n "$PYTHON"; then
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5948 $as_echo "$PYTHON" >&6; }
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5951 $as_echo "no" >&6; }
5956 am_display_PYTHON
=$am_cv_pathless_PYTHON
5960 if test "$PYTHON" = :; then
5961 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5966 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5967 if ${am_cv_python_version+:} false
; then :
5968 $as_echo_n "(cached) " >&6
5970 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5973 $as_echo "$am_cv_python_version" >&6; }
5974 PYTHON_VERSION
=$am_cv_python_version
5978 PYTHON_PREFIX
='${prefix}'
5980 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5985 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5986 if ${am_cv_python_platform+:} false
; then :
5987 $as_echo_n "(cached) " >&6
5989 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5992 $as_echo "$am_cv_python_platform" >&6; }
5993 PYTHON_PLATFORM
=$am_cv_python_platform
5996 # Just factor out some code duplication.
5997 am_python_setup_sysconfig
="\
5999 # Prefer sysconfig over distutils.sysconfig, for better compatibility
6000 # with python 3.x. See automake bug#10227.
6004 can_use_sysconfig = 0
6006 can_use_sysconfig = 1
6007 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
6008 # <https://github.com/pypa/virtualenv/issues/118>
6010 from platform import python_implementation
6011 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
6012 can_use_sysconfig = 0
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
6018 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
6019 if ${am_cv_python_pythondir+:} false
; then :
6020 $as_echo_n "(cached) " >&6
6022 if test "x$prefix" = xNONE
6024 am_py_prefix
=$ac_default_prefix
6026 am_py_prefix
=$prefix
6028 am_cv_python_pythondir
=`$PYTHON -c "
6029 $am_python_setup_sysconfig
6030 if can_use_sysconfig:
6031 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
6033 from distutils import sysconfig
6034 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
6035 sys.stdout.write(sitedir)"`
6036 case $am_cv_python_pythondir in
6038 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
6039 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
6042 case $am_py_prefix in
6045 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
6053 $as_echo "$am_cv_python_pythondir" >&6; }
6054 pythondir
=$am_cv_python_pythondir
6058 pkgpythondir
=\
${pythondir}/$PACKAGE
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
6062 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
6063 if ${am_cv_python_pyexecdir+:} false
; then :
6064 $as_echo_n "(cached) " >&6
6066 if test "x$exec_prefix" = xNONE
6068 am_py_exec_prefix
=$am_py_prefix
6070 am_py_exec_prefix
=$exec_prefix
6072 am_cv_python_pyexecdir
=`$PYTHON -c "
6073 $am_python_setup_sysconfig
6074 if can_use_sysconfig:
6075 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
6077 from distutils import sysconfig
6078 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
6079 sys.stdout.write(sitedir)"`
6080 case $am_cv_python_pyexecdir in
6081 $am_py_exec_prefix*)
6082 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
6083 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
6086 case $am_py_exec_prefix in
6089 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
6097 $as_echo "$am_cv_python_pyexecdir" >&6; }
6098 pyexecdir
=$am_cv_python_pyexecdir
6102 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
6110 # Check whether --enable-libpng-config was given.
6111 if test "${enable_libpng_config+set}" = set; then :
6112 enableval
=$enable_libpng_config;
6115 if test "$enable_libpng_config" != "no"; then
6116 # Extract the first word of "libpng-config", so it can be a program name with args.
6117 set dummy libpng-config
; ac_word
=$2
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6119 $as_echo_n "checking for $ac_word... " >&6; }
6120 if ${ac_cv_prog_arosconfig_use_libpngconfig+:} false
; then :
6121 $as_echo_n "(cached) " >&6
6123 if test -n "$arosconfig_use_libpngconfig"; then
6124 ac_cv_prog_arosconfig_use_libpngconfig
="$arosconfig_use_libpngconfig" # Let the user override the test.
6126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6130 test -z "$as_dir" && as_dir
=.
6131 for ac_exec_ext
in '' $ac_executable_extensions; do
6132 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6133 ac_cv_prog_arosconfig_use_libpngconfig
="yes"
6134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6141 test -z "$ac_cv_prog_arosconfig_use_libpngconfig" && ac_cv_prog_arosconfig_use_libpngconfig
="no"
6144 arosconfig_use_libpngconfig
=$ac_cv_prog_arosconfig_use_libpngconfig
6145 if test -n "$arosconfig_use_libpngconfig"; then
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $arosconfig_use_libpngconfig" >&5
6147 $as_echo "$arosconfig_use_libpngconfig" >&6; }
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6150 $as_echo "no" >&6; }
6155 if test "$arosconfig_use_libpngconfig" = "yes"; then
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libpng-config library" >&5
6157 $as_echo_n "checking libpng-config library... " >&6; }
6158 libpng_incdir
="`libpng-config --cflags`"
6159 libpng_libextra
="$libpng_libextra `libpng-config --ldflags`"
6160 libpng
="`libpng-config --libs`"
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libpng" >&5
6162 $as_echo "$libpng" >&6; }
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
6166 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
6167 if ${ac_cv_lib_png_png_read_png+:} false
; then :
6168 $as_echo_n "(cached) " >&6
6170 ac_check_lib_save_LIBS
=$LIBS
6172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6173 /* end confdefs.h. */
6175 /* Override any GCC internal prototype to avoid an error.
6176 Use char because int might match the return type of a GCC
6177 builtin and then its argument prototype would still apply. */
6181 char png_read_png ();
6185 return png_read_png ();
6190 if ac_fn_c_try_link
"$LINENO"; then :
6191 ac_cv_lib_png_png_read_png
=yes
6193 ac_cv_lib_png_png_read_png
=no
6195 rm -f core conftest.err conftest.
$ac_objext \
6196 conftest
$ac_exeext conftest.
$ac_ext
6197 LIBS
=$ac_check_lib_save_LIBS
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
6200 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
6201 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
6207 if test "$libpng_libextra" != ""; then
6208 if test "$libpng" != "no"; then
6209 libpng_libextra
="$libpng_libextra $libpng"
6214 if test "$libpng" = ""; then
6217 if test "$libpng" = "no"; then
6220 if test "$req_avail" = "no"; then
6221 as_fn_error $?
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
6237 # Check for some includes for the X11 HIDD and the kernel
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6240 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6241 if ${ac_cv_path_GREP+:} false
; then :
6242 $as_echo_n "(cached) " >&6
6244 if test -z "$GREP"; then
6245 ac_path_GREP_found
=false
6246 # Loop through the user's path and test for each of PROGNAME-LIST
6247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6248 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6251 test -z "$as_dir" && as_dir
=.
6252 for ac_prog
in grep ggrep
; do
6253 for ac_exec_ext
in '' $ac_executable_extensions; do
6254 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6255 as_fn_executable_p
"$ac_path_GREP" ||
continue
6256 # Check for GNU ac_path_GREP and select it if it is found.
6257 # Check for GNU $ac_path_GREP
6258 case `"$ac_path_GREP" --version 2>&1` in
6260 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6263 $as_echo_n 0123456789 >"conftest.in"
6266 cat "conftest.in" "conftest.in" >"conftest.tmp"
6267 mv "conftest.tmp" "conftest.in"
6268 cp "conftest.in" "conftest.nl"
6269 $as_echo 'GREP' >> "conftest.nl"
6270 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6271 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6272 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6273 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6274 # Best one so far, save it but keep looking for a better one
6275 ac_cv_path_GREP
="$ac_path_GREP"
6276 ac_path_GREP_max
=$ac_count
6278 # 10*(2^10) chars as input seems more than enough
6279 test $ac_count -gt 10 && break
6281 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6284 $ac_path_GREP_found && break 3
6289 if test -z "$ac_cv_path_GREP"; then
6290 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6293 ac_cv_path_GREP
=$GREP
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6298 $as_echo "$ac_cv_path_GREP" >&6; }
6299 GREP
="$ac_cv_path_GREP"
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6303 $as_echo_n "checking for egrep... " >&6; }
6304 if ${ac_cv_path_EGREP+:} false
; then :
6305 $as_echo_n "(cached) " >&6
6307 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6308 then ac_cv_path_EGREP
="$GREP -E"
6310 if test -z "$EGREP"; then
6311 ac_path_EGREP_found
=false
6312 # Loop through the user's path and test for each of PROGNAME-LIST
6313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6314 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6317 test -z "$as_dir" && as_dir
=.
6318 for ac_prog
in egrep; do
6319 for ac_exec_ext
in '' $ac_executable_extensions; do
6320 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6321 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6322 # Check for GNU ac_path_EGREP and select it if it is found.
6323 # Check for GNU $ac_path_EGREP
6324 case `"$ac_path_EGREP" --version 2>&1` in
6326 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6329 $as_echo_n 0123456789 >"conftest.in"
6332 cat "conftest.in" "conftest.in" >"conftest.tmp"
6333 mv "conftest.tmp" "conftest.in"
6334 cp "conftest.in" "conftest.nl"
6335 $as_echo 'EGREP' >> "conftest.nl"
6336 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6337 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6338 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6339 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6340 # Best one so far, save it but keep looking for a better one
6341 ac_cv_path_EGREP
="$ac_path_EGREP"
6342 ac_path_EGREP_max
=$ac_count
6344 # 10*(2^10) chars as input seems more than enough
6345 test $ac_count -gt 10 && break
6347 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6350 $ac_path_EGREP_found && break 3
6355 if test -z "$ac_cv_path_EGREP"; then
6356 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6359 ac_cv_path_EGREP
=$EGREP
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6365 $as_echo "$ac_cv_path_EGREP" >&6; }
6366 EGREP
="$ac_cv_path_EGREP"
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6370 $as_echo_n "checking for ANSI C header files... " >&6; }
6371 if ${ac_cv_header_stdc+:} false
; then :
6372 $as_echo_n "(cached) " >&6
6374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6375 /* end confdefs.h. */
6389 if ac_fn_c_try_compile
"$LINENO"; then :
6390 ac_cv_header_stdc
=yes
6392 ac_cv_header_stdc
=no
6394 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6396 if test $ac_cv_header_stdc = yes; then
6397 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6399 /* end confdefs.h. */
6403 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6404 $EGREP "memchr" >/dev
/null
2>&1; then :
6407 ac_cv_header_stdc
=no
6413 if test $ac_cv_header_stdc = yes; then
6414 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6416 /* end confdefs.h. */
6420 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6421 $EGREP "free" >/dev
/null
2>&1; then :
6424 ac_cv_header_stdc
=no
6430 if test $ac_cv_header_stdc = yes; then
6431 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6432 if test "$cross_compiling" = yes; then :
6435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6436 /* end confdefs.h. */
6439 #if ((' ' & 0x0FF) == 0x020)
6440 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6441 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6443 # define ISLOWER(c) \
6444 (('a' <= (c) && (c) <= 'i') \
6445 || ('j' <= (c) && (c) <= 'r') \
6446 || ('s' <= (c) && (c) <= 'z'))
6447 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6450 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6455 for (i = 0; i < 256; i++)
6456 if (XOR (islower (i), ISLOWER (i))
6457 || toupper (i) != TOUPPER (i))
6462 if ac_fn_c_try_run
"$LINENO"; then :
6465 ac_cv_header_stdc
=no
6467 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6468 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6474 $as_echo "$ac_cv_header_stdc" >&6; }
6475 if test $ac_cv_header_stdc = yes; then
6477 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6481 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6482 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6483 inttypes.h stdint.h unistd.h
6485 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6486 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6488 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6489 cat >>confdefs.h
<<_ACEOF
6490 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6498 for ac_header
in sys
/ipc.h sys
/shm.h \
6499 sys
/mmap.h sys
/mman.h sysexits.h \
6500 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6503 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6504 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6505 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6506 cat >>confdefs.h
<<_ACEOF
6507 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6515 for ac_header
in sys
/mount.h
6517 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6519 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6520 cat >>confdefs.h
<<_ACEOF
6521 #define HAVE_SYS_MOUNT_H 1
6530 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6531 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6533 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6534 if eval \
${$as_ac_Header+:} false
; then :
6535 $as_echo_n "(cached) " >&6
6537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6538 /* end confdefs.h. */
6539 #include <sys/types.h>
6551 if ac_fn_c_try_compile
"$LINENO"; then :
6552 eval "$as_ac_Header=yes"
6554 eval "$as_ac_Header=no"
6556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6558 eval ac_res
=\$
$as_ac_Header
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6560 $as_echo "$ac_res" >&6; }
6561 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6562 cat >>confdefs.h
<<_ACEOF
6563 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6566 ac_header_dirent
=$ac_hdr; break
6570 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6571 if test $ac_header_dirent = dirent.h
; then
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6573 $as_echo_n "checking for library containing opendir... " >&6; }
6574 if ${ac_cv_search_opendir+:} false
; then :
6575 $as_echo_n "(cached) " >&6
6577 ac_func_search_save_LIBS
=$LIBS
6578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6579 /* end confdefs.h. */
6581 /* Override any GCC internal prototype to avoid an error.
6582 Use char because int might match the return type of a GCC
6583 builtin and then its argument prototype would still apply. */
6596 for ac_lib
in '' dir
; do
6597 if test -z "$ac_lib"; then
6598 ac_res
="none required"
6601 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6603 if ac_fn_c_try_link
"$LINENO"; then :
6604 ac_cv_search_opendir
=$ac_res
6606 rm -f core conftest.err conftest.
$ac_objext \
6608 if ${ac_cv_search_opendir+:} false
; then :
6612 if ${ac_cv_search_opendir+:} false
; then :
6615 ac_cv_search_opendir
=no
6618 LIBS
=$ac_func_search_save_LIBS
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6621 $as_echo "$ac_cv_search_opendir" >&6; }
6622 ac_res
=$ac_cv_search_opendir
6623 if test "$ac_res" != no
; then :
6624 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6630 $as_echo_n "checking for library containing opendir... " >&6; }
6631 if ${ac_cv_search_opendir+:} false
; then :
6632 $as_echo_n "(cached) " >&6
6634 ac_func_search_save_LIBS
=$LIBS
6635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6636 /* end confdefs.h. */
6638 /* Override any GCC internal prototype to avoid an error.
6639 Use char because int might match the return type of a GCC
6640 builtin and then its argument prototype would still apply. */
6653 for ac_lib
in '' x
; do
6654 if test -z "$ac_lib"; then
6655 ac_res
="none required"
6658 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6660 if ac_fn_c_try_link
"$LINENO"; then :
6661 ac_cv_search_opendir
=$ac_res
6663 rm -f core conftest.err conftest.
$ac_objext \
6665 if ${ac_cv_search_opendir+:} false
; then :
6669 if ${ac_cv_search_opendir+:} false
; then :
6672 ac_cv_search_opendir
=no
6675 LIBS
=$ac_func_search_save_LIBS
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6678 $as_echo "$ac_cv_search_opendir" >&6; }
6679 ac_res
=$ac_cv_search_opendir
6680 if test "$ac_res" != no
; then :
6681 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6688 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6689 if ${ac_cv_header_stat_broken+:} false
; then :
6690 $as_echo_n "(cached) " >&6
6692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6693 /* end confdefs.h. */
6694 #include <sys/types.h>
6695 #include <sys/stat.h>
6697 #if defined S_ISBLK && defined S_IFDIR
6698 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6701 #if defined S_ISBLK && defined S_IFCHR
6702 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6705 #if defined S_ISLNK && defined S_IFREG
6706 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6709 #if defined S_ISSOCK && defined S_IFREG
6710 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6714 if ac_fn_c_try_compile
"$LINENO"; then :
6715 ac_cv_header_stat_broken
=no
6717 ac_cv_header_stat_broken
=yes
6719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6722 $as_echo "$ac_cv_header_stat_broken" >&6; }
6723 if test $ac_cv_header_stat_broken = yes; then
6725 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6730 $as_echo_n "checking for ANSI C header files... " >&6; }
6731 if ${ac_cv_header_stdc+:} false
; then :
6732 $as_echo_n "(cached) " >&6
6734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6735 /* end confdefs.h. */
6749 if ac_fn_c_try_compile
"$LINENO"; then :
6750 ac_cv_header_stdc
=yes
6752 ac_cv_header_stdc
=no
6754 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6756 if test $ac_cv_header_stdc = yes; then
6757 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6759 /* end confdefs.h. */
6763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6764 $EGREP "memchr" >/dev
/null
2>&1; then :
6767 ac_cv_header_stdc
=no
6773 if test $ac_cv_header_stdc = yes; then
6774 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6776 /* end confdefs.h. */
6780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6781 $EGREP "free" >/dev
/null
2>&1; then :
6784 ac_cv_header_stdc
=no
6790 if test $ac_cv_header_stdc = yes; then
6791 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6792 if test "$cross_compiling" = yes; then :
6795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6796 /* end confdefs.h. */
6799 #if ((' ' & 0x0FF) == 0x020)
6800 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6801 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6803 # define ISLOWER(c) \
6804 (('a' <= (c) && (c) <= 'i') \
6805 || ('j' <= (c) && (c) <= 'r') \
6806 || ('s' <= (c) && (c) <= 'z'))
6807 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6810 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6815 for (i = 0; i < 256; i++)
6816 if (XOR (islower (i), ISLOWER (i))
6817 || toupper (i) != TOUPPER (i))
6822 if ac_fn_c_try_run
"$LINENO"; then :
6825 ac_cv_header_stdc
=no
6827 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6828 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6834 $as_echo "$ac_cv_header_stdc" >&6; }
6835 if test $ac_cv_header_stdc = yes; then
6837 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6842 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6843 if ${ac_cv_header_sys_wait_h+:} false
; then :
6844 $as_echo_n "(cached) " >&6
6846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6847 /* end confdefs.h. */
6848 #include <sys/types.h>
6849 #include <sys/wait.h>
6851 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6854 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6862 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6867 if ac_fn_c_try_compile
"$LINENO"; then :
6868 ac_cv_header_sys_wait_h
=yes
6870 ac_cv_header_sys_wait_h
=no
6872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6875 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6876 if test $ac_cv_header_sys_wait_h = yes; then
6878 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6883 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6884 if ${ac_cv_header_time+:} false
; then :
6885 $as_echo_n "(cached) " >&6
6887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6888 /* end confdefs.h. */
6889 #include <sys/types.h>
6890 #include <sys/time.h>
6896 if ((struct tm *) 0)
6902 if ac_fn_c_try_compile
"$LINENO"; then :
6903 ac_cv_header_time
=yes
6905 ac_cv_header_time
=no
6907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6910 $as_echo "$ac_cv_header_time" >&6; }
6911 if test $ac_cv_header_time = yes; then
6913 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6917 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6918 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6920 cat >>confdefs.h
<<_ACEOF
6921 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6925 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6930 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6931 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6933 cat >>confdefs.h
<<_ACEOF
6934 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6938 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6941 case " $LIBOBJS " in
6942 *" fileblocks.$ac_objext "* ) ;;
6943 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6950 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6951 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6953 cat >>confdefs.h
<<_ACEOF
6954 #define HAVE_STRUCT_STAT_ST_RDEV 1
6958 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6964 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6965 if ${ac_cv_struct_tm+:} false
; then :
6966 $as_echo_n "(cached) " >&6
6968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6969 /* end confdefs.h. */
6970 #include <sys/types.h>
6977 int *p = &tm.tm_sec;
6983 if ac_fn_c_try_compile
"$LINENO"; then :
6984 ac_cv_struct_tm
=time.h
6986 ac_cv_struct_tm
=sys
/time.h
6988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6991 $as_echo "$ac_cv_struct_tm" >&6; }
6992 if test $ac_cv_struct_tm = sys
/time.h
; then
6994 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6998 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6999 #include <$ac_cv_struct_tm>
7002 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
7004 cat >>confdefs.h
<<_ACEOF
7005 #define HAVE_STRUCT_TM_TM_ZONE 1
7011 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
7013 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
7016 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
7018 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
7024 cat >>confdefs.h
<<_ACEOF
7025 #define HAVE_DECL_TZNAME $ac_have_decl
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
7029 $as_echo_n "checking for tzname... " >&6; }
7030 if ${ac_cv_var_tzname+:} false
; then :
7031 $as_echo_n "(cached) " >&6
7033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7034 /* end confdefs.h. */
7036 #if !HAVE_DECL_TZNAME
7037 extern char *tzname[];
7043 return tzname[0][0];
7048 if ac_fn_c_try_link
"$LINENO"; then :
7049 ac_cv_var_tzname
=yes
7053 rm -f core conftest.err conftest.
$ac_objext \
7054 conftest
$ac_exeext conftest.
$ac_ext
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
7057 $as_echo "$ac_cv_var_tzname" >&6; }
7058 if test $ac_cv_var_tzname = yes; then
7060 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
7065 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
7066 if test "x$ac_cv_type_off_t" = xyes
; then :
7070 cat >>confdefs.h
<<_ACEOF
7071 #define off_t long int
7076 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
7077 if test "x$ac_cv_type_pid_t" = xyes
; then :
7081 cat >>confdefs.h
<<_ACEOF
7087 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7088 if test "x$ac_cv_type_size_t" = xyes
; then :
7092 cat >>confdefs.h
<<_ACEOF
7093 #define size_t unsigned int
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
7099 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7100 if ${ac_cv_type_uid_t+:} false
; then :
7101 $as_echo_n "(cached) " >&6
7103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7104 /* end confdefs.h. */
7105 #include <sys/types.h>
7108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7109 $EGREP "uid_t" >/dev
/null
2>&1; then :
7110 ac_cv_type_uid_t
=yes
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
7118 $as_echo "$ac_cv_type_uid_t" >&6; }
7119 if test $ac_cv_type_uid_t = no
; then
7121 $as_echo "#define uid_t int" >>confdefs.h
7124 $as_echo "#define gid_t int" >>confdefs.h
7129 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
7130 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
7132 cat >>confdefs.h
<<_ACEOF
7133 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7140 # Look for some functions
7141 for ac_func
in getpagesize kqueue statfs statvfs \
7142 clone kse_create rfork_thread thr_create sa_register \
7143 getcontext makecontext setcontext sigaltstack swapcontext
7145 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7146 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7147 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7148 cat >>confdefs.h
<<_ACEOF
7149 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7159 for ac_header
in $ac_header_list
7161 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7162 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7164 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7165 cat >>confdefs.h
<<_ACEOF
7166 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7180 for ac_func
in getpagesize
7182 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
7183 if test "x$ac_cv_func_getpagesize" = xyes
; then :
7184 cat >>confdefs.h
<<_ACEOF
7185 #define HAVE_GETPAGESIZE 1
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
7192 $as_echo_n "checking for working mmap... " >&6; }
7193 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
7194 $as_echo_n "(cached) " >&6
7196 if test "$cross_compiling" = yes; then :
7197 ac_cv_func_mmap_fixed_mapped
=no
7199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7200 /* end confdefs.h. */
7201 $ac_includes_default
7202 /* malloc might have been renamed as rpl_malloc. */
7205 /* Thanks to Mike Haertel and Jim Avera for this test.
7206 Here is a matrix of mmap possibilities:
7207 mmap private not fixed
7208 mmap private fixed at somewhere currently unmapped
7209 mmap private fixed at somewhere already mapped
7210 mmap shared not fixed
7211 mmap shared fixed at somewhere currently unmapped
7212 mmap shared fixed at somewhere already mapped
7213 For private mappings, we should verify that changes cannot be read()
7214 back from the file, nor mmap's back from the file at a different
7215 address. (There have been systems where private was not correctly
7216 implemented like the infamous i386 svr4.0, and systems where the
7217 VM page cache was not coherent with the file system buffer cache
7218 like early versions of FreeBSD and possibly contemporary NetBSD.)
7219 For shared mappings, we should conversely verify that changes get
7220 propagated back to all the places they're supposed to be.
7222 Grep wants private fixed already mapped.
7223 The main things grep needs to know about mmap are:
7224 * does it exist and is it safe to write into the mmap'd area
7225 * how to use it (BSD variants) */
7228 #include <sys/mman.h>
7230 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7234 /* This mess was copied from the GNU getpagesize.h. */
7235 #ifndef HAVE_GETPAGESIZE
7236 # ifdef _SC_PAGESIZE
7237 # define getpagesize() sysconf(_SC_PAGESIZE)
7238 # else /* no _SC_PAGESIZE */
7239 # ifdef HAVE_SYS_PARAM_H
7240 # include <sys/param.h>
7241 # ifdef EXEC_PAGESIZE
7242 # define getpagesize() EXEC_PAGESIZE
7243 # else /* no EXEC_PAGESIZE */
7245 # define getpagesize() NBPG * CLSIZE
7248 # endif /* no CLSIZE */
7249 # else /* no NBPG */
7251 # define getpagesize() NBPC
7252 # else /* no NBPC */
7254 # define getpagesize() PAGESIZE
7255 # endif /* PAGESIZE */
7256 # endif /* no NBPC */
7257 # endif /* no NBPG */
7258 # endif /* no EXEC_PAGESIZE */
7259 # else /* no HAVE_SYS_PARAM_H */
7260 # define getpagesize() 8192 /* punt totally */
7261 # endif /* no HAVE_SYS_PARAM_H */
7262 # endif /* no _SC_PAGESIZE */
7264 #endif /* no HAVE_GETPAGESIZE */
7269 char *data, *data2, *data3;
7274 pagesize = getpagesize ();
7276 /* First, make a file with some known garbage in it. */
7277 data = (char *) malloc (pagesize);
7280 for (i = 0; i < pagesize; ++i)
7281 *(data + i) = rand ();
7283 fd = creat ("conftest.mmap", 0600);
7286 if (write (fd, data, pagesize) != pagesize)
7290 /* Next, check that the tail of a page is zero-filled. File must have
7291 non-zero length, otherwise we risk SIGBUS for entire page. */
7292 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7296 if (write (fd2, cdata2, 1) != 1)
7298 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7299 if (data2 == MAP_FAILED)
7301 for (i = 0; i < pagesize; ++i)
7305 if (munmap (data2, pagesize))
7308 /* Next, try to mmap the file at a fixed address which already has
7309 something else allocated at it. If we can, also make sure that
7310 we see the same garbage. */
7311 fd = open ("conftest.mmap", O_RDWR);
7314 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7315 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7317 for (i = 0; i < pagesize; ++i)
7318 if (*(data + i) != *(data2 + i))
7321 /* Finally, make sure that changes to the mapped area do not
7322 percolate back to the file as seen by read(). (This is a bug on
7323 some variants of i386 svr4.0.) */
7324 for (i = 0; i < pagesize; ++i)
7325 *(data2 + i) = *(data2 + i) + 1;
7326 data3 = (char *) malloc (pagesize);
7329 if (read (fd, data3, pagesize) != pagesize)
7331 for (i = 0; i < pagesize; ++i)
7332 if (*(data + i) != *(data3 + i))
7338 if ac_fn_c_try_run
"$LINENO"; then :
7339 ac_cv_func_mmap_fixed_mapped
=yes
7341 ac_cv_func_mmap_fixed_mapped
=no
7343 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7344 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7349 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7350 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7352 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7355 rm -f conftest.mmap conftest.txt
7358 #-----------------------------------------------------------------------------
7361 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7362 # it switched on by default, and we use the host compiler, so it compiles AROS
7363 # code with this enabled resulting in link failures as we don't have support
7366 # We use two methods to disable it. For the host compiler (used to compile
7367 # some hosted modules), we test to see if the compiler supports stack
7368 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7369 # work on all platforms.
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7373 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7374 save_cflags
="$CFLAGS"
7375 CFLAGS
="$CFLAGS -fno-stack-protector"
7376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7377 /* end confdefs.h. */
7387 if ac_fn_c_try_compile
"$LINENO"; then :
7388 use_no_stack_protector
="yes"
7390 use_no_stack_protector
="no"
7392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7394 $as_echo "$use_no_stack_protector" >&6; }
7395 if test "x-$use_no_stack_protector" = "x-yes" ; then
7396 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7398 CFLAGS
="$save_cflags"
7400 #-----------------------------------------------------------------------------
7402 # Disable pointer-signedness warnings if the compiler recognises the option
7403 # (this only works for the host compiler at the moment)
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7406 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7407 save_cflags
="$CFLAGS"
7408 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7410 /* end confdefs.h. */
7420 if ac_fn_c_try_compile
"$LINENO"; then :
7421 use_no_sign_warning
="yes"
7423 use_no_sign_warning
="no"
7425 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7427 $as_echo "$use_no_sign_warning" >&6; }
7428 if test "x-$use_no_sign_warning" = "x-yes" ; then
7429 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7431 CFLAGS
="$save_cflags"
7433 #-----------------------------------------------------------------------------
7435 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7438 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7439 save_cflags
="$CFLAGS"
7440 CFLAGS
="$CFLAGS -fgnu89-inline"
7441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7442 /* end confdefs.h. */
7452 if ac_fn_c_try_compile
"$LINENO"; then :
7453 use_gnu89_inline
="yes"
7455 use_gnu89_inline
="no"
7457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7459 $as_echo "$use_gnu89_inline" >&6; }
7460 if test "x-$use_gnu89_inline" = "x-yes" ; then
7461 gnu89_inline
="-fgnu89-inline"
7463 CFLAGS
="$save_cflags"
7466 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
7467 # On GCC >= 4.0 -iquote should be used
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
7470 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
7471 CFLAGS
="$CFLAGS -iquote."
7472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7473 /* end confdefs.h. */
7483 if ac_fn_c_try_compile
"$LINENO"; then :
7488 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
7490 $as_echo "$has_iquote" >&6; }
7491 if test "x-$has_iquote" = "x-yes" ; then
7492 host_cflags_iquote
=-iquote
7493 host_cflags_iquote_end
=
7495 host_cflags_iquote
=-I
7496 host_cflags_iquote_end
=-I-
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: Performing target configuration..." >&5
7500 $as_echo "$as_me: Performing target configuration..." >&6;}
7503 aros_nowarn_flags
="NOWARN_UNUSED_COMMAND_LINE_ARGUMENT NOWARN_UNKNOWN_WARNING_OPTION NOWARN_POINTER_SIGN NOWARN_PARENTHESES"
7505 toolchain_needs_sysroot
=no
7509 aros_config_cppflags
=
7511 aros_config_cxxflags
=
7512 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7513 aros_config_ldflags
=""
7515 aros_shared_default
=yes
7517 aros_shared_cflags
="-fPIC"
7518 aros_shared_aflags
=""
7519 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7520 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7522 aros_kernel_ar_flags
="cr"
7523 aros_target_ar_flags
="cr"
7524 aros_target_nm_flags
="-C -ul"
7525 aros_target_strip_flags
="--strip-unneeded -R.comment"
7530 aros_target_genmap
="-Wl,-Map -Xlinker"
7532 # Native flavour stuff
7533 aros_serial_debug
="0"
7535 # Palm native flavour stuff
7536 aros_palm_debug_hack
="0"
7538 # Unix flavour stuff
7539 aros_nesting_supervisor
="0"
7541 # Collect-aros stuff: "-ius" to ignore undefined symbols
7542 ignore_undefined_symbols
=""
7544 # Check for X11 by default
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which toolchain family to use ..." >&5
7553 $as_echo_n "checking Which toolchain family to use ...... " >&6; }
7555 # Check whether --with-toolchain was given.
7556 if test "${with_toolchain+set}" = set; then :
7557 withval
=$with_toolchain; aros_toolchain
="$withval"
7559 aros_toolchain
="gnu"
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_toolchain" >&5
7563 $as_echo "$aros_toolchain" >&6; }
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should enable link time optimizations (LTO)" >&5
7567 $as_echo_n "checking if we should enable link time optimizations (LTO)... " >&6; }
7568 # Check whether --enable-lto was given.
7569 if test "${enable_lto+set}" = set; then :
7570 enableval
=$enable_lto; aros_config_lto
="$enableval"
7572 aros_config_lto
="no"
7575 if test "$aros_config_lto" != "no"; then
7576 aros_config_lto
="yes"
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_config_lto" >&5
7579 $as_echo "$aros_config_lto" >&6; }
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should enable coverage instrumentation" >&5
7582 $as_echo_n "checking if we should enable coverage instrumentation... " >&6; }
7583 # Check whether --enable-coverage was given.
7584 if test "${enable_coverage+set}" = set; then :
7585 enableval
=$enable_coverage; aros_config_coverage
="$enableval"
7587 aros_config_coverage
="no"
7590 if test "$aros_config_coverage" != "no"; then
7591 aros_config_coverage
="yes"
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_config_coverage" >&5
7594 $as_echo "$aros_config_coverage" >&6; }
7598 case "$aros_toolchain" in
7600 # toolchain_needs_sysroot=yes
7601 toolchain_c_compiler
="clang"
7602 toolchain_cxx_compiler
="clang++"
7603 toolchain_cpp_preprocessor
="clang -E"
7604 toolchain_ld
="ld.lld"
7606 toolchain_as
="llvm-as"
7607 toolchain_ar
="llvm-ar"
7608 toolchain_ranlib
="llvm-ranlib"
7609 toolchain_nm
="llvm-nm"
7610 toolchain_strip
="true"
7611 toolchain_objcopy
="llvm-objcopy"
7612 toolchain_objdump
="llvm-objdump"
7615 toolchain_c_compiler
="gcc"
7616 toolchain_cxx_compiler
="g++"
7617 toolchain_cpp_preprocessor
="gcc -E"
7620 if test "$aros_config_lto" != "yes"; then
7623 toolchain_ranlib
="ranlib"
7626 toolchain_ld
="ld.bfd"
7627 toolchain_ar
="gcc-ar"
7628 toolchain_ranlib
="gcc-ranlib"
7629 toolchain_nm
="gcc-nm"
7631 toolchain_strip
="strip"
7632 toolchain_objcopy
="objcopy"
7633 toolchain_objdump
="objdump"
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown toolchain family!\"" >&5
7637 $as_echo "$as_me: WARNING: \"Unknown toolchain family!\"" >&2;}
7638 toolchain_c_compiler
="cc"
7639 toolchain_cxx_compiler
="c++"
7640 toolchain_cpp_preprocessor
="cpp"
7645 toolchain_ranlib
="ranlib"
7647 toolchain_strip
="strip"
7648 toolchain_objcopy
="objcopy"
7649 toolchain_objdump
="objdump"
7653 #-----------------------------------------------------------------------------
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which type of build to do" >&5
7656 $as_echo_n "checking which type of build to do... " >&6; }
7657 # Check whether --enable-build_type was given.
7658 if test "${enable_build_type+set}" = set; then :
7659 enableval
=$enable_build_type; build_type
=$enableval
7661 build_type
="personal"
7665 if test "$build_type" = "nightly"; then
7666 build_type_string
="NIGHTLY"
7667 elif test "$build_type" = "snapshot"; then
7668 build_type_string
="SNAPSHOT"
7669 elif test "$build_type" = "milestone"; then
7670 build_type_string
="MILESTONE"
7671 elif test "$build_type" = "release"; then
7672 build_type_string
="RELEASE"
7674 build_type_string
="PERSONAL"
7675 build_type
="personal"
7678 aros_config_cppflags
="$aros_config_cppflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7681 $as_echo "$build_type" >&6; }
7683 #-----------------------------------------------------------------------------
7684 all_debug_types
="messages stack modules mungwall symbols"
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7687 $as_echo_n "checking which debug types to enable... " >&6; }
7688 # Check whether --enable-debug was given.
7689 if test "${enable_debug+set}" = set; then :
7690 enableval
=$enable_debug; debug
="$enableval"
7696 if test "$debug" = "" -o "$debug" = "no"; then
7698 elif test "$debug" = "yes"; then
7702 if test "$debug" = "all" ; then
7703 debug
="messages stack modules symbols"
7704 for d
in $all_debug_types; do
7705 export aros_
${d}_debug
="1"
7708 for d
in $all_debug_types; do
7709 export aros_
${d}_debug
="0"
7713 if test "$debug" != "none"; then
7714 debug
=`echo $debug | sed s/,/\ /g`
7717 for d2
in $all_debug_types; do
7718 if test "$d2" = "$d"; then
7723 if test "$found" = "0"; then
7724 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
7726 export aros_
${d}_debug
="1"
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
7731 $as_echo "$debug" >&6; }
7733 if test "$aros_messages_debug" = "1"; then
7734 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7736 aros_messages_debug
=""
7738 if test "$aros_symbols_debug" = "1"; then
7739 aros_symbols_debug
="-g"
7741 aros_symbols_debug
=""
7744 # These are the flags to pass when compiling debugged programs
7745 aros_debug_cppflags
="$aros_messages_debug"
7746 aros_debug_cflags
="$aros_symbols_debug"
7747 aros_debug_cxxflags
=
7748 aros_debug_aflags
=""
7749 aros_debug_ldflags
="$aros_symbols_debug"
7751 #-----------------------------------------------------------------------------
7752 # Checking for distcc and ccache.
7754 # Always apply the transforms in this particular order. Basically you should
7755 # always run 'ccache distcc compiler' in that order for the best performance.
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
7758 $as_echo_n "checking whether to enable distcc... " >&6; }
7759 # Check whether --enable-distcc was given.
7760 if test "${enable_distcc+set}" = set; then :
7761 enableval
=$enable_distcc; distcc
="$enableval"
7766 if test "$distcc" != "" -a "$distcc" != "no"; then
7767 # AC_CHECK_PROG will print out the result in this case
7768 # Extract the first word of "distcc", so it can be a program name with args.
7769 set dummy distcc
; ac_word
=$2
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7771 $as_echo_n "checking for $ac_word... " >&6; }
7772 if ${ac_cv_path_DISTCC+:} false
; then :
7773 $as_echo_n "(cached) " >&6
7777 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7784 test -z "$as_dir" && as_dir
=.
7785 for ac_exec_ext
in '' $ac_executable_extensions; do
7786 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7787 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7795 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7799 DISTCC
=$ac_cv_path_DISTCC
7800 if test -n "$DISTCC"; then
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
7802 $as_echo "$DISTCC" >&6; }
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7805 $as_echo "no" >&6; }
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7811 $as_echo "no" >&6; }
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
7815 $as_echo_n "checking whether to enable ccache... " >&6; }
7816 # Check whether --enable-ccache was given.
7817 if test "${enable_ccache+set}" = set; then :
7818 enableval
=$enable_ccache; ccache
="$enableval"
7823 if test "$ccache" != "" -a "$ccache" != "no"; then
7824 # AC_CHECK_PROG will print out the result in this case
7825 # Extract the first word of "ccache", so it can be a program name with args.
7826 set dummy ccache
; ac_word
=$2
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7828 $as_echo_n "checking for $ac_word... " >&6; }
7829 if ${ac_cv_prog_CCACHE+:} false
; then :
7830 $as_echo_n "(cached) " >&6
7832 if test -n "$CCACHE"; then
7833 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7839 test -z "$as_dir" && as_dir
=.
7840 for ac_exec_ext
in '' $ac_executable_extensions; do
7841 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7842 ac_cv_prog_CCACHE
="ccache"
7843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7852 CCACHE
=$ac_cv_prog_CCACHE
7853 if test -n "$CCACHE"; then
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7855 $as_echo "$CCACHE" >&6; }
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7858 $as_echo "no" >&6; }
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7864 $as_echo "no" >&6; }
7867 #-----------------------------------------------------------------------------
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7869 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7871 # Check whether --with-kernel-gcc-version was given.
7872 if test "${with_kernel_gcc_version+set}" = set; then :
7873 withval
=$with_kernel_gcc_version; kernel_tool_version
="$withval"
7875 kernel_tool_version
=""
7878 if test "$kernel_tool_version" != "" ; then
7879 msg_result
=$kernel_tool_version
7881 msg_result
="default"
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
7884 $as_echo "$msg_result" >&6; }
7886 #-----------------------------------------------------------------------------
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7888 $as_echo_n "checking what optimization flags to use... " >&6; }
7890 # Check whether --with-optimization was given.
7891 if test "${with_optimization+set}" = set; then :
7892 withval
=$with_optimization; optimization_level
="$withval"
7894 optimization_level
="unknown"
7897 if test "$optimization_level" = "unknown"; then
7898 optimization
="default"
7899 if test "$debug" != "none"; then
7900 optimization_level
="-O0"
7902 optimization_level
="-O2"
7905 optimization
="$optimization_level"
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7908 $as_echo "$optimization" >&6; }
7910 paranoia_default
=yes
7911 #-----------------------------------------------------------------------------
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which paranoia flags to use" >&5
7913 $as_echo_n "checking which paranoia flags to use... " >&6; }
7915 # Check whether --with-paranoia was given.
7916 if test "${with_paranoia+set}" = set; then :
7917 withval
=$with_paranoia; paranoia_flags
="$withval"
7919 paranoia_flags
="$paranoia_default"
7922 if test "$paranoia_flags" = "no"; then
7923 paranoia_flags
="-Wall -Werror-implicit-function-declaration"
7926 if test "$paranoia_flags" = "yes"; then
7927 paranoia_flags
="-Wall -Werror"
7929 msg_result
="$paranoia_flags"
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
7932 $as_echo "$msg_result" >&6; }
7933 aros_warn_flags
="$aros_warn_flags $paranoia_flags"
7935 #-----------------------------------------------------------------------------
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7937 $as_echo_n "checking what target variant to enable... " >&6; }
7938 # Check whether --enable-target_variant was given.
7939 if test "${enable_target_variant+set}" = set; then :
7940 enableval
=$enable_target_variant; target_variant
=$enableval
7945 if test "$target_variant" = ""; then
7946 aros_target_variant
=""
7947 aros_target_suffix
=""
7950 aros_target_variant
="$target_variant"
7951 aros_target_suffix
="-$target_variant"
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7954 $as_echo "$enableval" >&6; }
7956 #-----------------------------------------------------------------------------
7957 # Target-specific defaults. You can override then on a per-target basis.
7959 # Bootloader name. Currently used by PC target.
7960 target_bootloader
="none"
7964 #-----------------------------------------------------------------------------
7965 # Additional options for some specific targets
7967 case "$aros_target_variant" in
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7970 $as_echo_n "checking XCode path... " >&6; }
7972 # Check whether --with-xcode was given.
7973 if test "${with_xcode+set}" = set; then :
7974 withval
=$with_xcode; aros_xcode_path
="$withval"
7976 aros_xcode_path
="/Developer"
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7980 $as_echo "$aros_xcode_path" >&6; }
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7983 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7985 # Check whether --with-sdk-version was given.
7986 if test "${with_sdk_version+set}" = set; then :
7987 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7989 aros_sdk_version
="4.1"
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7993 $as_echo "$aros_sdk_version" >&6; }
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7999 $as_echo_n "checking Android SDK path... " >&6; }
8001 # Check whether --with-sdk was given.
8002 if test "${with_sdk+set}" = set; then :
8003 withval
=$with_sdk; aros_android_sdk
="$withval"
8005 aros_android_sdk
=$default_android_sdk
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
8009 $as_echo "$aros_android_sdk" >&6; }
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
8012 $as_echo_n "checking Android NDK path... " >&6; }
8014 # Check whether --with-ndk was given.
8015 if test "${with_ndk+set}" = set; then :
8016 withval
=$with_ndk; aros_android_ndk
="$withval"
8018 aros_android_ndk
="none"
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
8022 $as_echo "$aros_android_ndk" >&6; }
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
8025 $as_echo_n "checking what Android SDK version to use... " >&6; }
8027 # Check whether --with-sdk-version was given.
8028 if test "${with_sdk_version+set}" = set; then :
8029 withval
=$with_sdk_version; aros_sdk_version
="$withval"
8031 aros_sdk_version
="12"
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
8035 $as_echo "$aros_sdk_version" >&6; }
8037 aros_android_level
=android-
$aros_sdk_version
8038 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
8039 echo "Platform $aros_android_level is not installed in your SDK"
8040 echo "Use --with-sdk-version=<API level number> to select another platform version"
8041 echo "You can check what plaform versions are installed in your SDK"
8042 echo "by examining contents of $aros_android_sdk/platforms directory"
8043 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
8046 export PATH
="$aros_android_sdk/tools:$PATH"
8047 # Extract the first word of "$android_tool", so it can be a program name with args.
8048 set dummy
$android_tool; ac_word
=$2
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8050 $as_echo_n "checking for $ac_word... " >&6; }
8051 if ${ac_cv_path_android_tool+:} false
; then :
8052 $as_echo_n "(cached) " >&6
8054 case $android_tool in
8056 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
8059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8063 test -z "$as_dir" && as_dir
=.
8064 for ac_exec_ext
in '' $ac_executable_extensions; do
8065 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8066 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
8067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8077 android_tool
=$ac_cv_path_android_tool
8078 if test -n "$android_tool"; then
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
8080 $as_echo "$android_tool" >&6; }
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8083 $as_echo "no" >&6; }
8088 if test "$android_tool" = ""; then
8091 if test "$android_tool" = "no"; then
8094 if test "$req_avail" = "no"; then
8095 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
8098 if test "$aros_android_ndk" != "none"; then
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
8100 $as_echo_n "checking what Android NDK version to use... " >&6; }
8102 # Check whether --with-ndk-version was given.
8103 if test "${with_ndk_version+set}" = set; then :
8104 withval
=$with_ndk_version; aros_ndk_version
="$withval"
8106 aros_ndk_version
="9"
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
8110 $as_echo "$aros_ndk_version" >&6; }
8113 # Extract the first word of "ant", so it can be a program name with args.
8114 set dummy ant
; ac_word
=$2
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8116 $as_echo_n "checking for $ac_word... " >&6; }
8117 if ${ac_cv_path_ant+:} false
; then :
8118 $as_echo_n "(cached) " >&6
8122 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
8125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8129 test -z "$as_dir" && as_dir
=.
8130 for ac_exec_ext
in '' $ac_executable_extensions; do
8131 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8132 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
8133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8144 if test -n "$ant"; then
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
8146 $as_echo "$ant" >&6; }
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8149 $as_echo "no" >&6; }
8153 if test "$ant" = ""; then
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
8155 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Build debug or release apk" >&5
8159 $as_echo_n "checking Build debug or release apk... " >&6; }
8161 # Check whether --with-apk-version was given.
8162 if test "${with_apk_version+set}" = set; then :
8163 withval
=$with_apk_version; aros_android_antapk
=$withval
8165 aros_android_antapk
=release
8168 if test $aros_android_antapk != release
-a $aros_android_antapk != debug
; then
8169 as_fn_error $?
"apk-version has to be release or debug" "$LINENO" 5
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_antapk" >&5
8172 $as_echo "$aros_android_antapk" >&6; }
8174 if test "$host_os" = "mingw32"; then
8175 android_tool
="cmd //c $android_tool"
8183 #-----------------------------------------------------------------------------
8184 # External toolchains
8185 kernel_tool_prefix
="none"
8186 aros_tool_prefix
="none"
8187 elf_tool_prefix
="${target_cpu}-elf-"
8189 # This is the target configuration switch.
8190 case "$target_os" in
8192 aros_target_arch
="linux"
8193 aros_target_family
="unix"
8194 case "$target_cpu" in
8196 aros_target_cpu
="m68k"
8197 aros_object_format
="m68kelf"
8198 aros_flavour
="emulcompat"
8199 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8200 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8201 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8202 gcc_target_cpu
="mc68000"
8205 aros_target_cpu
="i386"
8206 aros_object_format
="elf_i386"
8207 aros_flavour
="emulation"
8208 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8209 aros_kernel_ldflags
="-Wl,-melf_i386"
8210 aros_nominal_depth
=8
8211 gcc_target_cpu
="i386"
8212 pci_hidd_target
="hidd-pci-linux"
8213 android_tool_dir_prefix
="x86"
8214 android_tool_prefix
="i686-android-linux"
8215 android_ndk_arch
="x86"
8218 aros_target_cpu
="x86_64"
8219 aros_object_format
="elf_x86_64"
8220 aros_flavour
="emulation"
8221 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8222 aros_isa_flags
="$aros_isa_flags -mcmodel=large -mno-red-zone"
8223 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8224 aros_config_cxxflags
="$aros_config_cxxflags -fno-omit-frame-pointer"
8225 aros_nominal_depth
=8
8226 pci_hidd_target
="hidd-pci-linux"
8229 aros_target_cpu
="ppc"
8230 aros_object_format
="elf32ppc"
8231 aros_flavour
="emulation"
8232 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8233 aros_nominal_depth
=8
8234 gcc_target_cpu
="ppc"
8237 # Same as powerpc, but I need this for the nightly build to work again.
8238 # Actually, the nightly should be made working with powerpc target.
8239 # That just was too much work for the moment, another week or two.
8241 aros_target_cpu
="ppc"
8242 aros_object_format
="elf32ppc"
8243 aros_flavour
="emulation"
8244 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8245 aros_nominal_depth
=8
8246 gcc_target_cpu
="ppc"
8249 aros_target_cpu
="aarch64"
8250 target_cpu
="aarch64"
8251 aros_object_format
="aarch64elf_aros"
8252 aros_flavour
="emulation"
8253 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8254 gcc_target_cpu
="aarch64"
8255 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
8256 aros_config_cxxflags
="$aros_config_cxxflags -fno-strict-aliasing -fno-omit-frame-pointer"
8257 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
8258 aros_arch_libs
="-laeabi"
8259 gcc_default_float_abi
="hard"
8260 kernel_tool_prefix
="aarch64-linux-gnueabihf-"
8263 aros_target_cpu
="arm"
8265 aros_object_format
="armelf_aros"
8266 aros_flavour
="emulation"
8267 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8268 gcc_target_cpu
="arm"
8269 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
8270 aros_config_cxxflags
="$aros_config_cxxflags -fno-strict-aliasing -fno-omit-frame-pointer"
8271 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
8272 aros_arch_libs
="-laeabi"
8273 gcc_default_float_abi
="hard"
8274 android_tool_dir_prefix
="arm-linux-androideabi"
8275 android_tool_prefix
="arm-linux-androideabi"
8276 android_ndk_arch
="arm"
8277 kernel_tool_prefix
="arm-linux-gnueabihf-"
8280 aros_target_cpu
="arm"
8281 aros_object_format
="armelf_aros"
8282 aros_flavour
="emulation"
8283 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8284 gcc_target_cpu
="arm"
8285 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-omit-frame-pointer"
8286 aros_config_cxxflags
="$aros_config_cxxflags -fno-strict-aliasing -fno-omit-frame-pointer"
8287 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing"
8288 aros_arch_libs
="-laeabi"
8289 android_tool_dir_prefix
="arm-linux-androideabi"
8290 android_tool_prefix
="arm-linux-androideabi"
8291 android_ndk_arch
="arm"
8292 kernel_tool_prefix
="arm-linux-gnueabi-"
8295 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
8298 case "$aros_target_variant" in
8301 if test "$android_ndk_arch" = ""; then
8302 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
8305 aros_nominal_width
=320
8306 aros_nominal_height
=480
8307 if test "$aros_android_ndk" = "none"; then
8308 aros_kernel_cflags
="-mandroid"
8309 aros_kernel_ldflags
="-mandroid"
8312 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$kernel_tool_version/prebuilt/$android_build_os/bin:$PATH"
8313 kernel_tool_version
=""
8314 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
8315 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
8316 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
8317 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
8318 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
8321 host_android_gfx
=yes
8322 # Disable implicit PIC mode
8323 aros_config_cflags
="$aros_config_cflags -fno-pic"
8324 kernel_tool_prefix
="$android_tool_prefix-"
8330 aros_target_arch
="pc"
8331 aros_shared_default
="no"
8332 target_bootloader
="grub2"
8333 case "$target_cpu" in
8335 aros_target_cpu
="i386"
8338 if test "$aros_object_format" = "" ; then
8339 aros_object_format
="elf_i386"
8341 aros_flavour
="standalone"
8342 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8343 aros_kernel_ldflags
="-Wl,-melf_i386"
8344 aros_nominal_width
=640
8345 aros_nominal_height
=480
8346 gcc_target_cpu
="i386"
8349 PLATFORM_EXECSMP
="#define __AROSPLATFORM_SMP__"
8350 aros_target_cpu
="x86_64"
8352 if test "$aros_object_format" = "" ; then
8353 aros_object_format
="elf_x86_64"
8355 aros_flavour
="standalone"
8356 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8357 aros_isa_flags
="$aros_isa_flags -mcmodel=large -mno-red-zone"
8358 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -fno-omit-frame-pointer"
8359 aros_config_cxxflags
="$aros_config_cxxflags -fno-asynchronous-unwind-tables -fno-omit-frame-pointer"
8360 aros_kernel_ldflags
=""
8361 aros_nominal_width
=640
8362 aros_nominal_height
=480
8363 case "$aros_target_variant" in
8365 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8370 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
8376 aros_target_arch
="prep"
8377 aros_shared_default
="no"
8378 aros_target_cpu
="ppc"
8379 aros_object_format
="elf32ppc"
8380 aros_flavour
="ppcnative"
8381 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8382 aros_kernel_ldflags
=""
8383 aros_nominal_width
=640
8384 aros_nominal_height
=480
8385 gcc_target_cpu
="ppc"
8389 aros_target_arch
="freebsd"
8390 aros_target_family
="unix"
8391 aros_target_cpu
="i386"
8392 aros_flavour
="emulation"
8393 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8394 gcc_target_cpu
="i386"
8396 aros_target_strip_flags
="-x"
8400 aros_target_arch
="darwin"
8401 aros_target_family
="unix"
8402 aros_flavour
="emulation"
8403 case "$target_cpu" in
8405 aros_ios_platform
="iPhoneSimulator"
8406 aros_target_cpu
="i386"
8407 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8408 aros_kernel_ldflags
=""
8409 aros_macosx_version
="10.4"
8410 aros_nominal_depth
=8
8411 gcc_target_cpu
="i386"
8412 aros_object_format
="elf_i386"
8413 aros_kernel_ar_flags
="-cr"
8414 aros_target_strip_flags
="-x"
8415 kernel_tool_flags
="-m32"
8418 aros_target_cpu
="x86_64"
8419 aros_object_format
="elf_x86_64"
8420 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8421 aros_macosx_version
="10.6"
8422 aros_isa_flags
="$aros_isa_flags -mcmodel=large"
8423 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8424 aros_config_cxxflags
="$aros_config_cxxflags -fno-omit-frame-pointer"
8425 aros_kernel_cflags
="-m64"
8426 aros_kernel_ldflags
="-m64"
8427 aros_nominal_depth
=8
8429 aros_kernel_ar_flags
="-cr"
8432 aros_kernel_ranlib
="ranlib"
8434 aros_kernel_strip
="strip"
8435 kernel_tool_prefix
="i686-apple-darwin10-"
8438 aros_target_cpu
="ppc"
8439 aros_object_format
="elf32ppc"
8440 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8441 aros_kernel_ldflags
=""
8442 aros_macosx_version
="10.0"
8443 aros_nominal_depth
=8
8444 gcc_target_cpu
="ppc"
8446 aros_kernel_ar_flags
="-cr"
8447 aros_kernel_ld
="ld -arch ppc"
8448 aros_kernel_as
="as -arch ppc"
8449 aros_kernel_ranlib
="ranlib -arch ppc"
8450 aros_kernel_nm
="nm -arch ppc"
8451 aros_kernel_strip
="strip -arch ppc"
8452 kernel_tool_prefix
="powerpc-apple-darwin10-"
8455 aros_ios_platform
="iPhoneOS"
8456 aros_target_cpu
="arm"
8457 aros_object_format
="armelf_aros"
8458 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8459 aros_arch_libs
="-laeabi"
8460 aros_nominal_depth
=8
8461 gcc_target_cpu
="arm"
8463 aros_kernel_ar_flags
="-cr"
8464 aros_kernel_ld
="ld -arch arm"
8465 aros_kernel_ranlib
="ranlib -arch arm"
8466 kernel_tool_prefix
="arm-apple-darwin10-"
8467 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8470 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8473 case "$aros_target_variant" in
8475 aros_ios_version
="3.0"
8476 aros_nominal_width
=320
8477 aros_nominal_height
=480
8478 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8479 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8480 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8482 # This is here because it may depend on iOS or SDK version
8483 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8484 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8485 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8488 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8489 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8495 aros_target_arch
="dragonfly"
8496 aros_target_family
="unix"
8497 aros_flavour
="emulation"
8498 case "$target_cpu" in
8500 aros_target_cpu
="i386"
8501 aros_object_format
="elf_i386"
8502 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8505 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8506 aros_config_cxxflags
="$aros_config_cxxflags -fno-omit-frame-pointer"
8507 aros_target_cpu
="x86_64"
8508 aros_object_format
="elf_x86_64"
8509 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8512 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8518 aros_target_arch
="netbsd"
8519 aros_target_family
="unix"
8520 case "$target_cpu" in
8522 aros_target_cpu
="m68k"
8523 aros_object_format
="m68kelf"
8524 aros_flavour
="emulcompat"
8525 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8526 gcc_target_cpu
="mc68000"
8529 aros_target_cpu
="i386"
8530 aros_object_format
="elf_i386"
8531 aros_flavour
="emulation"
8532 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8533 aros_nominal_depth
=8
8534 gcc_target_cpu
="i386"
8537 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8540 aros_target_genmap
="-Wl,-M -Xlinker >"
8541 aros_flavour
="emulation"
8542 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8546 aros_target_arch
="openbsd"
8547 aros_target_family
="unix"
8548 case "$target_cpu" in
8550 aros_target_cpu
="i386"
8551 aros_object_format
="elf_i386"
8552 aros_flavour
="emulation"
8553 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8554 gcc_target_cpu
="i386"
8557 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8560 aros_target_genmap
="-Wl,-M -Xlinker >"
8561 aros_target_nm_flags
="-u"
8562 aros_flavour
="emulation"
8566 aros_target_arch
="solaris"
8567 aros_target_family
="unix"
8568 case "$target_cpu" in
8570 aros_target_cpu
="i386"
8571 aros_object_format
="elf_i386"
8572 aros_flavour
="emulation"
8573 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8574 aros_nominal_depth
=8
8575 gcc_target_cpu
="i386"
8578 aros_target_cpu
="sparc"
8579 aros_object_format
="elf_sparc"
8580 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8581 gcc_target_cpu
="sparc"
8584 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8587 aros_config_cppflags
="$aros_config_cppflags -D$aros_target_cpu"
8588 aros_flavour
="emulation"
8592 aros_target_arch
="morphos"
8593 aros_shared_default
="no"
8594 aros_target_cpu
="ppc"
8595 aros_object_format
="elf_ppc"
8596 aros_flavour
="nativecompat"
8597 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8598 gcc_target_cpu
="ppc"
8602 aros_target_arch
="sam440"
8603 aros_shared_default
="no"
8604 aros_target_cpu
="ppc"
8605 aros_object_format
="elf32ppc"
8606 aros_flavour
="ppcnative"
8607 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8608 aros_kernel_ldflags
=""
8609 aros_nominal_width
=1024
8610 aros_nominal_height
=768
8611 aros_nominal_depth
=24
8612 aros_isa_flags
="$aros_isa_flags -mcpu=440fp -mno-toc"
8613 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables"
8614 aros_config_cxxflags
="$aros_config_cxxflags -fno-asynchronous-unwind-tables"
8615 gcc_target_cpu
="powerpc"
8619 aros_target_arch
="efika"
8620 aros_shared_default
="no"
8621 aros_target_cpu
="arm"
8622 aros_object_format
="armelf_aros"
8623 aros_flavour
="standalone"
8624 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8625 aros_kernel_ldflags
=""
8626 aros_nominal_width
=1024
8627 aros_nominal_height
=600
8628 aros_arch_libs
="-laeabi"
8629 gcc_default_cpu
="armv7-a"
8630 gcc_default_fpu
="vfpv3"
8631 aros_isa_flags
="$aros_isa_flags -mtune=cortex-a8"
8632 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8633 aros_config_cxxflags
="$aros_config_cxxflags -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8634 aros_config_aflags
="$aros_config_aflags -fno-strict-aliasing -fno-asynchronous-unwind-tables"
8635 if test "$optimization" = "default"; then
8636 optimization_level
="-Os"
8638 case "$target_cpu" in
8640 gcc_default_float_abi
="hard"
8645 gcc_default_float_abi
="softfp"
8648 as_fn_error $?
"\"Unknown CPU for EfikaMX $target_cpu\"" "$LINENO" 5
8654 aros_target_arch
="chrp"
8655 aros_shared_default
="no"
8656 aros_target_cpu
="ppc"
8657 aros_object_format
="elf32ppc"
8658 aros_flavour
="ppcnative"
8659 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8660 aros_kernel_ldflags
=""
8661 aros_nominal_width
=640
8662 aros_nominal_height
=480
8663 aros_isa_flags
="$aros_isa_flags -mno-toc"
8664 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables"
8665 aros_config_cxxflags
="$aros_config_cxxflags -fno-asynchronous-unwind-tables"
8666 gcc_target_cpu
="powerpc"
8667 case "$aros_target_variant" in
8669 aros_isa_flags
="$aros_isa_flags -mcpu=603e"
8670 aros_config_cppflags
="$aros_config_cppflags -DBIG_ENDIAN_OHCI=1"
8676 PLATFORM_EXECSMP
="#define __AROSPLATFORM_SMP__"
8677 aros_flavour
="standalone"
8678 aros_target_arch
="raspi"
8680 aros_shared_default
="no"
8682 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__"
8684 case "$target_cpu" in
8686 aros_target_cpu
="aarch64"
8687 gcc_default_cpu
="aarch64"
8688 aros_object_format
="aarch64elf_aros"
8691 aros_target_cpu
="arm"
8692 gcc_default_cpu
="armv6zk"
8693 gcc_default_cpu_tune
="arm1176jzf-s"
8694 aros_object_format
="armelf_aros"
8695 aros_isa_flags
="$aros_isa_flags -marm"
8696 aros_config_cflags
="$aros_config_cflags"
8697 aros_config_cxxflags
="$aros_config_cxxflags"
8698 aros_config_aflags
="$aros_config_aflags -marm"
8699 aros_kernel_cflags
="$aros_kernel_cflags -marm"
8700 aros_target_mkdep
="$aros_target_mkdep -Darm"
8701 aros_arch_libs
="-laeabi"
8704 aros_target_cpu
="arm"
8705 gcc_default_cpu
="armv6zk"
8706 gcc_default_cpu_tune
="arm1176jzf-s"
8707 aros_object_format
="armelf_aros"
8708 aros_isa_flags
="$aros_isa_flags -marm"
8709 aros_config_cflags
="$aros_config_cflags"
8710 aros_config_cxxflags
="$aros_config_cxxflags"
8711 aros_config_aflags
="$aros_config_aflags -marm"
8712 aros_kernel_cflags
="$aros_kernel_cflags -marm"
8713 aros_target_mkdep
="$aros_target_mkdep -Darm"
8714 aros_arch_libs
="-laeabi"
8717 as_fn_error $?
"\"Unknown CPU for RasPi $target_cpu\"" "$LINENO" 5
8721 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -fno-exceptions"
8722 aros_config_cxxflags
="$aros_config_cxxflags -fno-asynchronous-unwind-tables -fno-exceptions"
8723 aros_config_aflags
="$aros_config_aflags -fno-asynchronous-unwind-tables -fno-exceptions"
8724 aros_kernel_cflags
="$aros_kernel_cflags -fno-asynchronous-unwind-tables -fno-exceptions"
8726 case "$aros_target_variant" in
8728 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8734 aros_flavour
="standalone"
8735 aros_target_arch
="stm32f7_discovery"
8736 aros_target_cpu
="arm"
8737 aros_target_cpu_mode
="thumb2"
8738 aros_object_format
="armelf_aros"
8739 aros_shared_default
="no"
8741 gcc_default_cpu
="armv7e-m"
8742 gcc_default_cpu_tune
="cortex-m7"
8743 gcc_default_fpu
="fpv5-sp-d16"
8744 gcc_default_float_abi
="hard"
8746 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dthumb"
8750 aros_target_arch
="amiga"
8751 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8752 aros_shared_default
="no"
8754 case "$target_cpu" in
8756 # Check whether --enable-amigaos_compliance was given.
8757 if test "${enable_amigaos_compliance+set}" = set; then :
8758 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
8762 aros_target_cpu
="m68k"
8763 aros_object_format
="m68kelf"
8764 aros_flavour
="standcompat"
8765 gcc_target_cpu
="m68000"
8766 aros_nowarn_flags
="$aros_nowarn_flags NOWARN_VOLATILE_REGISTER_VAR"
8767 aros_config_cppflags
="$aros_config_cppflags -DNOLIBINLINE"
8768 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin"
8769 aros_config_cxxflags
="$aros_config_cxxflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin"
8770 if test "$optimization" = "default"; then
8771 optimization_level
="-Os"
8773 aros_config_aflags
="$aros_config_aflags"
8774 aros_target_strip_flags
="-R.comment --strip-debug"
8775 aros_nominal_width
=640
8776 aros_nominal_height
=256
8777 aros_nominal_depth
=2
8781 aros_flavour
="native"
8782 gcc_target_cpu
="ppc"
8785 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
8791 aros_target_arch
="mingw32"
8792 aros_shared_default
="no"
8793 aros_flavour
="emulation"
8794 aros_shared_cflags
=""
8795 need_crosstools
="yes"
8798 case "$target_cpu" in
8800 aros_target_cpu
="i386"
8801 aros_object_format
="elf_i386"
8802 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8803 aros_nominal_depth
=8
8804 gcc_target_cpu
="i386"
8806 kernel_tool_prefix
="i386-mingw32-"
8809 aros_target_cpu
="x86_64"
8810 aros_object_format
="elf_x86_64"
8811 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8812 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
8813 aros_config_cxxflags
="$aros_config_cxxflags -fno-omit-frame-pointer"
8814 aros_nominal_depth
=8
8815 kernel_tool_prefix
="x86_64-w64-mingw32-"
8818 aros_target_cpu
="arm"
8819 aros_object_format
="armelf_aros"
8820 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8821 aros_arch_libs
="-laeabi"
8822 aros_nominal_depth
=8
8823 gcc_target_cpu
="arm"
8824 gcc_default_float_abi
="soft"
8825 kernel_tool_prefix
="arm-mingw32ce-"
8826 aros_nominal_width
=160
8827 aros_nominal_height
=160
8830 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
8833 if test $host_os = "cygwin"; then
8834 aros_kernel_cflags
="-mno-cygwin"
8838 aros_target_arch
="pp"
8839 aros_shared_default
="no"
8840 case "$target_cpu" in
8842 aros_target_cpu
="m68k"
8843 aros_object_format
="m68kelf"
8844 aros_flavour
="palmnative"
8845 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8846 aros_nominal_width
=160
8847 aros_nominal_height
=160
8848 aros_nominal_depth
=1
8849 aros_target_ar_flags
="cru"
8850 aros_compiler_libs
="-lgcc1"
8851 aros_shared_default
=no
8852 aros_shared_cflags
="-fpic"
8853 aros_shared_aflags
=""
8854 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8855 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8856 aros_debug_cppflags
="$aros_messages_debug"
8857 aros_debug_cflags
="$aros_symbols_debug"
8858 aros_debug_aflags
=""
8859 aros_debug_ldflags
="$aros_symbols_debug"
8860 aros_mungwall_debug
="0"
8861 aros_modules_debug
="0"
8862 gcc_target_cpu
="mc68000"
8863 ignore_undefined_symbols
="-ius"
8866 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
8872 aros_target_arch
="mac"
8873 aros_shared_default
="no"
8874 case "$target_cpu" in
8876 aros_target_cpu
="m68k"
8877 aros_object_format
="m68kelf"
8878 aros_flavour
="mac68knative"
8879 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8880 aros_nominal_width
=512
8881 aros_nominal_height
=384
8882 aros_nominal_depth
=8
8883 aros_target_ar_flags
="cru"
8884 aros_compiler_libs
="-lgcc1"
8885 aros_shared_default
=no
8886 aros_shared_cflags
="-fpic"
8887 aros_shared_aflags
=""
8888 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8889 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8890 aros_debug_cppflags
="$aros_messages_debug"
8891 aros_debug_cflags
="$aros_symbols_debug"
8892 aros_debug_aflags
=""
8893 aros_debug_ldflags
="$aros_symbols_debug"
8894 aros_mungwall_debug
="0"
8895 aros_modules_debug
="0"
8896 gcc_target_cpu
="mc68000"
8897 ignore_undefined_symbols
="-ius"
8900 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
8906 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
8910 #-----------------------------------------------------------------------------
8911 crosstools_guess
="yes"
8912 aros_target_toolchain
="no"
8913 aros_config_sysroot
=""
8914 aros_kernel_sysroot
=""
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
8917 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
8919 # Check whether --with-kernel-toolchain-prefix was given.
8920 if test "${with_kernel_toolchain_prefix+set}" = set; then :
8921 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
8925 $as_echo "$kernel_tool_prefix" >&6; }
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
8928 $as_echo_n "checking ELF toolchain prefix... " >&6; }
8930 # Check whether --with-elf-toolchain-prefix was given.
8931 if test "${with_elf_toolchain_prefix+set}" = set; then :
8932 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
8933 crosstools_guess
="no"
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
8937 $as_echo "$elf_tool_prefix" >&6; }
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
8940 $as_echo_n "checking AROS toolchain prefix... " >&6; }
8942 # Check whether --with-aros-toolchain was given.
8943 if test "${with_aros_toolchain+set}" = set; then :
8944 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
8945 crosstools_guess
="no"
8948 if test "$aros_tool_prefix" = "yes" ; then
8949 aros_tool_prefix
=$aros_target_cpu-aros-
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
8952 $as_echo "$aros_tool_prefix" >&6; }
8954 #-----------------------------------------------------------------------------
8955 # Checking if we should build crosstools..
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
8957 $as_echo_n "checking whether to build crosstools... " >&6; }
8958 # Check whether --enable-crosstools was given.
8959 if test "${enable_crosstools+set}" = set; then :
8960 enableval
=$enable_crosstools; crosstools
="$enableval"
8962 crosstools
="$crosstools_guess"
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
8966 $as_echo "$crosstools" >&6; }
8968 if test "${crosstools}" = "yes"; then
8969 if test "${crosstools_guess}" = "no"; then
8970 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
8974 if test "${crosstools}" = "yes" ||
test "${crosstools_guess}" = "no"; then
8975 aros_target_toolchain
="yes"
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
8979 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
8981 # Check whether --with-aros-toolchain-install was given.
8982 if test "${with_aros_toolchain_install+set}" = set; then :
8983 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
8986 if test "x$aros_toolchain_install" = "x"; then
8987 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
8989 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
8990 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
8991 if test "$crosstools_guess" = "no" ; then
8992 toolchain_needs_sysroot
=yes
8994 if test "x-$aros_flavour" != "x-emulation" -a "x-$aros_flavour" != "x-emulcompat" ; then
8995 aros_kernel_sysroot
= $aros_config_sysroot
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
9000 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking If we need to use --sysroot" >&5
9003 $as_echo_n "checking If we need to use --sysroot... " >&6; }
9004 if test "$toolchain_needs_sysroot" = "yes" ; then
9005 aros_config_sysroot
="--sysroot $AROS_BUILDDIR_UNIX/bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Developer"
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolchain_needs_sysroot" >&5
9008 $as_echo "$toolchain_needs_sysroot" >&6; }
9010 #-----------------------------------------------------------------------------
9011 if test "$aros_toolchain" = "gnu" ; then
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target binutils version to use" >&5
9013 $as_echo_n "checking what specific target binutils version to use... " >&6; }
9016 # Check whether --with-binutils-version was given.
9017 if test "${with_binutils_version+set}" = set; then :
9018 withval
=$with_binutils_version; use_binutils_version
="$withval"
9020 use_binutils_version
=""
9023 if test "$use_binutils_version" = ""; then
9024 target_binutils_version
="$default_binutils_version"
9026 target_binutils_version
="$use_binutils_version"
9028 if test "$aros_toolchain" = "gnu" ; then
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_binutils_version" >&5
9030 $as_echo "$target_binutils_version" >&6; }
9034 # Helper to identify gcc version
9037 #-----------------------------------------------------------------------------
9038 if test "$aros_toolchain" = "gnu" ; then
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
9040 $as_echo_n "checking what specific target gcc version to use... " >&6; }
9043 # Check whether --with-gcc-version was given.
9044 if test "${with_gcc_version+set}" = set; then :
9045 withval
=$with_gcc_version; use_gcc_version
="$withval"
9050 if test "$use_gcc_version" = ""; then
9051 if test "${crosstools}" = "no"; then
9052 if test "x$aros_toolchain_install" != "x"; then
9054 target_gcc_version
=""
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
9056 $as_echo_n "checking gcc version... " >&6; }
9057 if ${ax_cv_gcc_version+:} false
; then :
9058 $as_echo_n "(cached) " >&6
9061 ax_cv_gcc_version
="`$AROS_CROSSTOOLSDIR/${aros_tool_prefix}${toolchain_cpp_preprocessor} -dumpversion`"
9062 if test "x$ax_cv_gcc_version" = "x"; then :
9064 ax_cv_gcc_version
=""
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_version" >&5
9070 $as_echo "$ax_cv_gcc_version" >&6; }
9071 target_gcc_version
=$ax_cv_gcc_version
9076 if test "$use_gcc_version" = ""; then
9077 target_gcc_version
="$default_gcc_version"
9080 target_gcc_version
="$use_gcc_version"
9082 if test "$aros_toolchain" = "gnu" ; then
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_gcc_version" >&5
9084 $as_echo "$target_gcc_version" >&6; }
9086 GCC_VERSION_MAJOR
=$
(echo $target_gcc_version | cut
-d'.' -f1)
9087 GCC_VERSION_MINOR
=$
(echo $target_gcc_version | cut
-d'.' -f2)
9088 GCC_VERSION_PATCH
=$
(echo $target_gcc_version | cut
-d'.' -f3)
9090 gcc_fix_bitfields
="false"
9091 if test "$GCC_VERSION_MAJOR" -gt "4" ; then
9092 gcc_fix_bitfields
="true"
9094 if test "$GCC_VERSION_MAJOR" -gt "3" ; then
9095 if test "$GCC_VERSION_MINOR" -gt "6" ; then
9096 gcc_fix_bitfields
="true"
9101 if test "$gcc_fix_bitfields" = "true" ; then
9102 case "$aros_target_cpu" in
9104 aros_kernel_cflags
="$aros_kernel_cflags -mno-ms-bitfields"
9105 aros_isa_flags
="$aros_isa_flags -mno-ms-bitfields"
9108 aros_kernel_cflags
="$aros_kernel_cflags -mno-ms-bitfields"
9109 aros_isa_flags
="$aros_isa_flags -mno-ms-bitfields"
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Objective-C suppport" >&5
9116 $as_echo_n "checking whether to enable Objective-C suppport... " >&6; }
9117 # Check whether --enable-objc was given.
9118 if test "${enable_objc+set}" = set; then :
9119 enableval
=$enable_objc; objc
="$enableval"
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objc" >&5
9125 $as_echo "$objc" >&6; }
9126 if test "x$objc" = "xyes"; then
9129 objc_target
="no-objc"
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Java suppport" >&5
9133 $as_echo_n "checking whether to enable Java suppport... " >&6; }
9134 # Check whether --enable-java was given.
9135 if test "${enable_java+set}" = set; then :
9136 enableval
=$enable_java; java
="$enableval"
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $java" >&5
9142 $as_echo "$java" >&6; }
9143 if test "x$java" != "xno"; then
9146 java_target
="no-java"
9149 spec_obj_format
="-m $aros_object_format"
9150 # Now process extra architecture-specific options.
9151 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
9152 # as well as floating-point ABI.
9153 case "$aros_target_cpu" in
9155 spec_obj_format
="%{!m32:-m elf_x86_64} %{m32:-m elf_i386}"
9158 if test "$gcc_default_cpu" = ""; then
9159 gcc_default_cpu
="armv6"
9161 if test "$gcc_default_fpu" = ""; then
9162 gcc_default_fpu
="vfp"
9164 if test "$gcc_default_float_abi" = ""; then
9165 if test "$target_cpu" = "armhf"; then
9166 gcc_default_float_abi
="hard"
9168 gcc_default_float_abi
="softfp"
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
9173 $as_echo_n "checking Which minimum CPU to use... " >&6; }
9175 # Check whether --with-cpu was given.
9176 if test "${with_cpu+set}" = set; then :
9177 withval
=$with_cpu; aros_gcc_cpu
="$withval"
9179 aros_gcc_cpu
=$gcc_default_cpu
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
9183 $as_echo "$aros_gcc_cpu" >&6; }
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
9186 $as_echo_n "checking Which minimum FPU to use... " >&6; }
9188 # Check whether --with-fpu was given.
9189 if test "${with_fpu+set}" = set; then :
9190 withval
=$with_fpu; aros_gcc_fpu
="$withval"
9192 aros_gcc_fpu
=$gcc_default_fpu
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
9196 $as_echo "$aros_gcc_fpu" >&6; }
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
9199 $as_echo_n "checking Which floating point ABI to use... " >&6; }
9201 # Check whether --with-float was given.
9202 if test "${with_float+set}" = set; then :
9203 withval
=$with_float; aros_gcc_float_abi
="$withval"
9205 aros_gcc_float_abi
=$gcc_default_float_abi
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
9209 $as_echo "$aros_gcc_float_abi" >&6; }
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which ARM mode to use" >&5
9212 $as_echo_n "checking Which ARM mode to use... " >&6; }
9213 if test "$aros_target_cpu_mode" = ""; then
9214 aros_target_cpu_mode
="arm32"
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Defaulting to $aros_target_cpu_mode" >&5
9216 $as_echo "Defaulting to $aros_target_cpu_mode" >&6; }
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cpu_mode" >&5
9219 $as_echo "$aros_target_cpu_mode" >&6; }
9222 case "$aros_target_cpu_mode" in
9224 gcc_default_mode
="arm"
9225 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"
9228 as_fn_error $?
"ARM 64-bit mode is unsupported" "$LINENO" 5
9231 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9234 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9237 gcc_default_mode
="thumb"
9238 # Do not specify -mthumb-interwork as it may add extra code to support arm/thumb interwork
9239 aros_isa_flags
="$aros_isa_flags -m$gcc_default_mode -march=$aros_gcc_cpu -mfpu=$aros_gcc_fpu -mfloat-abi=$aros_gcc_float_abi"
9242 as_fn_error $?
"Unsupported ARM mode specified $aros_target_cpu_mode" "$LINENO" 5
9246 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -fno-exceptions"
9247 aros_config_cxxflags
="$aros_config_cxxflags -fno-asynchronous-unwind-tables -fno-exceptions"
9248 aros_config_aflags
="$aros_config_aflags -fno-asynchronous-unwind-tables -fno-exceptions"
9251 aros_isa_flags
="$aros_isa_flags -m32 -march=i486"
9252 aros_kernel_cflags
="$aros_kernel_cflags $aros_isa_flags"
9253 aros_kernel_ldflags
="$aros_kernel_ldflags -m32"
9257 # Some architectures may need custom ELF specs.
9258 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
9259 elf_specs_in
=config
/${aros_object_format}-specs.
in
9261 elf_specs_in
=config
/elf-specs.
in
9264 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
9265 # Since we override specs, we may need to put these defines there
9266 if test "$gcc_target_cpu" != ""; then
9267 gcc_target_cpu
="-D__${gcc_target_cpu}__"
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
9271 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
9273 # Check whether --with-portssources was given.
9274 if test "${with_portssources+set}" = set; then :
9275 withval
=$with_portssources; with_portssrcdir
=$withval
9277 with_portssrcdir
="default"
9280 if test "$with_portssrcdir" = "default"; then
9281 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
9283 AROS_PORTSSRCDIR
="$with_portssrcdir"
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
9286 $as_echo "$AROS_PORTSSRCDIR" >&6; }
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
9289 $as_echo_n "checking which bootloader to use... " >&6; }
9291 # Check whether --with-bootloader was given.
9292 if test "${with_bootloader+set}" = set; then :
9293 withval
=$with_bootloader; target_bootloader
=$withval
9295 target_bootloader
=$target_bootloader
9298 if test "$target_bootloader" = "none"; then
9299 aros_target_bootloader
=""
9301 aros_target_bootloader
="$target_bootloader"
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
9304 $as_echo "$target_bootloader" >&6; }
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
9307 $as_echo_n "checking which icon-set to use... " >&6; }
9309 # Check whether --with-iconset was given.
9310 if test "${with_iconset+set}" = set; then :
9311 withval
=$with_iconset; target_iconset
=$withval
9313 target_iconset
="default"
9316 if test "$target_iconset" = "default"; then
9317 aros_target_iconset
="Gorilla"
9318 target_iconset
="default (Gorilla)"
9320 aros_target_iconset
="$target_iconset"
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
9323 $as_echo "$target_iconset" >&6; }
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
9326 $as_echo_n "checking which GUI Theme to use... " >&6; }
9328 # Check whether --with-theme was given.
9329 if test "${with_theme+set}" = set; then :
9330 withval
=$with_theme; target_guitheme
=$withval
9332 target_guitheme
="default"
9335 if test "$target_guitheme" = "default"; then
9336 aros_target_guitheme
="Ice"
9338 aros_target_guitheme
="$target_guitheme"
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
9341 $as_echo "$aros_target_guitheme" >&6; }
9343 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
9347 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9351 if test "$aros_host_cpu" == "x86_64" ; then
9352 if test "$aros_target_cpu" == "i386" ; then
9357 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9358 if test "$aros_host_arch" != "$aros_target_arch" ; then
9362 if test "$host_cc_elf" = "no" ; then
9367 if test "$cross_compiling" = "no" ; then
9368 kernel_tool_prefix
=""
9369 if test "$host_cc_elf" = "yes" ; then
9374 if test "$kernel_tool_version" != ""; then
9375 kernel_tool_version
="-$kernel_tool_version"
9378 #######################################################################
9379 ## Compute what toolchains to use, and their paths ##
9380 #######################################################################
9382 # This takes, as input:
9383 # crosstools {yes,no}
9384 # kernel_tool_version {"",[version]}
9385 # target_tool_version {"",[version]}
9386 # kernel_tool_prefix {none,[some-arch-os-]}
9388 # target_tool_prefix ${aros_target_cpu}-aros-
9389 # aros_tool_prefix ${aros_target_cpu}-aros-
9392 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9393 # Where the 'kernel' binaries are located
9394 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9395 # Where the 'target' binaries are located
9396 # (not the symlink farm - that is aros_target_*!)
9399 # if crosstools then
9400 # if kernel_tools_prefix = "no-kernel-prefix-"
9401 # aros_kernel_* = crosstools cc paths
9402 # aros_kernel_cc = elf cc wrapper around crosstools cc
9404 # VALIDATE(${kernel_tools_prefix}*)
9405 # aros_kernel_* = ${kernel_tools_prefix}*
9406 # if ${kernel_tools_prefix}cc is an AROS gcc
9407 # aros_kernel_cc = ${kernel_tools_prefix}cc
9409 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
9413 # orig_target_* = aros built crosstools
9414 # orig_target_cc = elf cc wrapper around crosstools cc
9416 # VALIDATE(${kernel_tools_prefix}*)
9418 # orig_target_* = aros_kernel_*
9419 # if aros_kernel_cc is an AROS gcc
9420 # orig_target_cc = aros_kernel_cc
9422 # orig_target_cc = aros cc wrapper around aros_kernel_cc
9426 if test "$aros_toolchain" = "gnu" ; then
9427 target_tool_prefix
="${aros_target_cpu}-aros-"
9428 elif test "$aros_toolchain" = "llvm" ; then
9429 target_tool_prefix
="bin/"
9432 if test "$kernel_tool_prefix" != "" ; then
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
9434 $as_echo_n "checking which kernel tools... " >&6; }
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
9436 $as_echo "$kernel_tool_prefix" >&6; };
9439 if test "$kernel_tool_prefix" = "none" ; then
9440 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9441 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
9444 # Kernel tools required - find them
9445 # Note that 'normally', aros_kernel_* overrides will be
9446 # empty, unless specified in the per-arch sections above.
9447 if test "x$aros_kernel_cpp" = "x"; then
9448 aros_kernel_cpp
=${kernel_tool_prefix}${CPP}
9450 if test "${kernel_tool_version}" != ""; then
9451 if test "$aros_kernel_cpp" != ""; then
9452 ac_prog_args
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9453 ac_prog_cmd
=`expr "X$aros_kernel_cpp" : '^\S*'`
9454 aros_kernel_cpp
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9458 if test "$aros_kernel_cpp" = ""; then
9459 if test "$cross_compiling" = "yes" ; then
9460 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
9461 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9463 $as_echo_n "checking for $ac_word... " >&6; }
9464 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9465 $as_echo_n "(cached) " >&6
9467 case $aros_kernel_cpp in
9469 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9476 test -z "$as_dir" && as_dir
=.
9477 for ac_exec_ext
in '' $ac_executable_extensions; do
9478 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9479 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9490 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9491 if test -n "$aros_kernel_cpp"; then
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9493 $as_echo "$aros_kernel_cpp" >&6; }
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9496 $as_echo "no" >&6; }
9501 if test "$GCC" = "yes"; then
9502 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
9503 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
9504 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9506 $as_echo_n "checking for $ac_word... " >&6; }
9507 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9508 $as_echo_n "(cached) " >&6
9510 case $aros_kernel_cpp in
9512 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9516 for as_dir
in `dirname $aros_gcc_cpp`
9519 test -z "$as_dir" && as_dir
=.
9520 for ac_exec_ext
in '' $ac_executable_extensions; do
9521 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9522 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9533 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9534 if test -n "$aros_kernel_cpp"; then
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9536 $as_echo "$aros_kernel_cpp" >&6; }
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9539 $as_echo "no" >&6; }
9544 if test "$aros_kernel_cpp" = ""; then
9545 # Extract the first word of "cpp", so it can be a program name with args.
9546 set dummy cpp
; ac_word
=$2
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9548 $as_echo_n "checking for $ac_word... " >&6; }
9549 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9550 $as_echo_n "(cached) " >&6
9552 case $aros_kernel_cpp in
9554 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9561 test -z "$as_dir" && as_dir
=.
9562 for ac_exec_ext
in '' $ac_executable_extensions; do
9563 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9564 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9575 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9576 if test -n "$aros_kernel_cpp"; then
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9578 $as_echo "$aros_kernel_cpp" >&6; }
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9581 $as_echo "no" >&6; }
9588 ac_tool_optarg
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9589 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
9590 set dummy
$aros_kernel_cpp; ac_word
=$2
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9592 $as_echo_n "checking for $ac_word... " >&6; }
9593 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9594 $as_echo_n "(cached) " >&6
9596 case $aros_kernel_cpp in
9598 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9605 test -z "$as_dir" && as_dir
=.
9606 for ac_exec_ext
in '' $ac_executable_extensions; do
9607 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9608 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9619 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9620 if test -n "$aros_kernel_cpp"; then
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9622 $as_echo "$aros_kernel_cpp" >&6; }
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9625 $as_echo "no" >&6; }
9629 aros_kernel_cpp
="$aros_kernel_cpp $ac_tool_optarg"
9633 if test "$aros_kernel_cpp" = ""; then
9636 if test "$aros_kernel_cpp" = "no"; then
9639 if test "$req_avail" = "no"; then
9640 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
9643 if test "x$aros_kernel_cc" = "x"; then
9644 aros_kernel_cc
=${kernel_tool_prefix}${CC}
9646 if test "${kernel_tool_version}" != ""; then
9647 if test "$aros_kernel_cc" != ""; then
9648 ac_prog_args
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
9649 ac_prog_cmd
=`expr "X$aros_kernel_cc" : '^\S*'`
9650 aros_kernel_cc
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9654 if test "$aros_kernel_cc" = ""; then
9655 if test "$cross_compiling" = "yes" ; then
9656 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
9657 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9659 $as_echo_n "checking for $ac_word... " >&6; }
9660 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9661 $as_echo_n "(cached) " >&6
9663 case $aros_kernel_cc in
9665 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9672 test -z "$as_dir" && as_dir
=.
9673 for ac_exec_ext
in '' $ac_executable_extensions; do
9674 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9675 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9686 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9687 if test -n "$aros_kernel_cc"; then
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9689 $as_echo "$aros_kernel_cc" >&6; }
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9692 $as_echo "no" >&6; }
9697 if test "$GCC" = "yes"; then
9698 aros_gcc_cc
=`$CC -print-prog-name=cc`
9699 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
9700 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9702 $as_echo_n "checking for $ac_word... " >&6; }
9703 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9704 $as_echo_n "(cached) " >&6
9706 case $aros_kernel_cc in
9708 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9712 for as_dir
in `dirname $aros_gcc_cc`
9715 test -z "$as_dir" && as_dir
=.
9716 for ac_exec_ext
in '' $ac_executable_extensions; do
9717 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9718 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9729 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9730 if test -n "$aros_kernel_cc"; then
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9732 $as_echo "$aros_kernel_cc" >&6; }
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9735 $as_echo "no" >&6; }
9740 if test "$aros_kernel_cc" = ""; then
9741 # Extract the first word of "cc", so it can be a program name with args.
9742 set dummy cc
; ac_word
=$2
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9744 $as_echo_n "checking for $ac_word... " >&6; }
9745 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9746 $as_echo_n "(cached) " >&6
9748 case $aros_kernel_cc in
9750 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9757 test -z "$as_dir" && as_dir
=.
9758 for ac_exec_ext
in '' $ac_executable_extensions; do
9759 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9760 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9771 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9772 if test -n "$aros_kernel_cc"; then
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9774 $as_echo "$aros_kernel_cc" >&6; }
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9777 $as_echo "no" >&6; }
9784 ac_tool_optarg
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
9785 # Extract the first word of "$aros_kernel_cc", so it can be a program name with args.
9786 set dummy
$aros_kernel_cc; ac_word
=$2
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9788 $as_echo_n "checking for $ac_word... " >&6; }
9789 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
9790 $as_echo_n "(cached) " >&6
9792 case $aros_kernel_cc in
9794 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9801 test -z "$as_dir" && as_dir
=.
9802 for ac_exec_ext
in '' $ac_executable_extensions; do
9803 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9804 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9815 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9816 if test -n "$aros_kernel_cc"; then
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
9818 $as_echo "$aros_kernel_cc" >&6; }
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9821 $as_echo "no" >&6; }
9825 aros_kernel_cc
="$aros_kernel_cc $ac_tool_optarg"
9829 if test "$aros_kernel_cc" = ""; then
9832 if test "$aros_kernel_cc" = "no"; then
9835 if test "$req_avail" = "no"; then
9836 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
9839 if test "x$aros_kernel_cxx" = "x"; then
9840 aros_kernel_cxx
=${kernel_tool_prefix}${CXX}
9842 if test "${kernel_tool_version}" != ""; then
9843 if test "$aros_kernel_cxx" != ""; then
9844 ac_prog_args
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
9845 ac_prog_cmd
=`expr "X$aros_kernel_cxx" : '^\S*'`
9846 aros_kernel_cxx
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9850 if test "$aros_kernel_cxx" = ""; then
9851 if test "$cross_compiling" = "yes" ; then
9852 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
9853 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9855 $as_echo_n "checking for $ac_word... " >&6; }
9856 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9857 $as_echo_n "(cached) " >&6
9859 case $aros_kernel_cxx in
9861 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9868 test -z "$as_dir" && as_dir
=.
9869 for ac_exec_ext
in '' $ac_executable_extensions; do
9870 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9871 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9882 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9883 if test -n "$aros_kernel_cxx"; then
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9885 $as_echo "$aros_kernel_cxx" >&6; }
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9888 $as_echo "no" >&6; }
9893 if test "$GCC" = "yes"; then
9894 aros_gcc_cxx
=`$CC -print-prog-name=cxx`
9895 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
9896 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9898 $as_echo_n "checking for $ac_word... " >&6; }
9899 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9900 $as_echo_n "(cached) " >&6
9902 case $aros_kernel_cxx in
9904 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9908 for as_dir
in `dirname $aros_gcc_cxx`
9911 test -z "$as_dir" && as_dir
=.
9912 for ac_exec_ext
in '' $ac_executable_extensions; do
9913 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9914 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9925 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9926 if test -n "$aros_kernel_cxx"; then
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9928 $as_echo "$aros_kernel_cxx" >&6; }
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9931 $as_echo "no" >&6; }
9936 if test "$aros_kernel_cxx" = ""; then
9937 # Extract the first word of "cxx", so it can be a program name with args.
9938 set dummy cxx
; ac_word
=$2
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9940 $as_echo_n "checking for $ac_word... " >&6; }
9941 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9942 $as_echo_n "(cached) " >&6
9944 case $aros_kernel_cxx in
9946 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9953 test -z "$as_dir" && as_dir
=.
9954 for ac_exec_ext
in '' $ac_executable_extensions; do
9955 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9956 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
9957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9967 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
9968 if test -n "$aros_kernel_cxx"; then
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
9970 $as_echo "$aros_kernel_cxx" >&6; }
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9973 $as_echo "no" >&6; }
9980 ac_tool_optarg
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
9981 # Extract the first word of "$aros_kernel_cxx", so it can be a program name with args.
9982 set dummy
$aros_kernel_cxx; ac_word
=$2
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9984 $as_echo_n "checking for $ac_word... " >&6; }
9985 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
9986 $as_echo_n "(cached) " >&6
9988 case $aros_kernel_cxx in
9990 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
9993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9997 test -z "$as_dir" && as_dir
=.
9998 for ac_exec_ext
in '' $ac_executable_extensions; do
9999 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10000 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10011 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10012 if test -n "$aros_kernel_cxx"; then
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10014 $as_echo "$aros_kernel_cxx" >&6; }
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10017 $as_echo "no" >&6; }
10021 aros_kernel_cxx
="$aros_kernel_cxx $ac_tool_optarg"
10024 # If it's set, make sure it's really there
10025 if test "x$aros_kernel_cxx" != "x" ; then
10027 if test "$aros_kernel_cxx" = ""; then
10030 if test "$aros_kernel_cxx" = "no"; then
10033 if test "$req_avail" = "no"; then
10034 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
10038 if test "$aros_kernel_ld" = ""; then
10039 if test "$cross_compiling" = "yes" ; then
10040 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
10041 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10043 $as_echo_n "checking for $ac_word... " >&6; }
10044 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10045 $as_echo_n "(cached) " >&6
10047 case $aros_kernel_ld in
10049 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10053 for as_dir
in $PATH
10056 test -z "$as_dir" && as_dir
=.
10057 for ac_exec_ext
in '' $ac_executable_extensions; do
10058 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10059 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10070 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10071 if test -n "$aros_kernel_ld"; then
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10073 $as_echo "$aros_kernel_ld" >&6; }
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10076 $as_echo "no" >&6; }
10081 if test "$GCC" = "yes"; then
10082 aros_gcc_ld
=`$CC -print-prog-name=ld`
10083 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
10084 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10086 $as_echo_n "checking for $ac_word... " >&6; }
10087 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10088 $as_echo_n "(cached) " >&6
10090 case $aros_kernel_ld in
10092 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10096 for as_dir
in `dirname $aros_gcc_ld`
10099 test -z "$as_dir" && as_dir
=.
10100 for ac_exec_ext
in '' $ac_executable_extensions; do
10101 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10102 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10113 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10114 if test -n "$aros_kernel_ld"; then
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10116 $as_echo "$aros_kernel_ld" >&6; }
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10119 $as_echo "no" >&6; }
10124 if test "$aros_kernel_ld" = ""; then
10125 # Extract the first word of "ld", so it can be a program name with args.
10126 set dummy ld
; ac_word
=$2
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10128 $as_echo_n "checking for $ac_word... " >&6; }
10129 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10130 $as_echo_n "(cached) " >&6
10132 case $aros_kernel_ld in
10134 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10138 for as_dir
in $PATH
10141 test -z "$as_dir" && as_dir
=.
10142 for ac_exec_ext
in '' $ac_executable_extensions; do
10143 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10144 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10155 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10156 if test -n "$aros_kernel_ld"; then
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10158 $as_echo "$aros_kernel_ld" >&6; }
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10161 $as_echo "no" >&6; }
10168 ac_tool_optarg
=`expr "X$aros_kernel_ld" : '[^ ]* \(.*\)'`
10169 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
10170 set dummy
$aros_kernel_ld; ac_word
=$2
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10172 $as_echo_n "checking for $ac_word... " >&6; }
10173 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10174 $as_echo_n "(cached) " >&6
10176 case $aros_kernel_ld in
10178 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10182 for as_dir
in $PATH
10185 test -z "$as_dir" && as_dir
=.
10186 for ac_exec_ext
in '' $ac_executable_extensions; do
10187 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10188 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10199 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10200 if test -n "$aros_kernel_ld"; then
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10202 $as_echo "$aros_kernel_ld" >&6; }
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10205 $as_echo "no" >&6; }
10209 aros_kernel_ld
="$aros_kernel_ld $ac_tool_optarg"
10213 if test "$aros_kernel_ld" = ""; then
10216 if test "$aros_kernel_ld" = "no"; then
10219 if test "$req_avail" = "no"; then
10220 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10223 if test "$aros_kernel_as" = ""; then
10224 if test "$cross_compiling" = "yes" ; then
10225 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
10226 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10228 $as_echo_n "checking for $ac_word... " >&6; }
10229 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10230 $as_echo_n "(cached) " >&6
10232 case $aros_kernel_as in
10234 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10238 for as_dir
in $PATH
10241 test -z "$as_dir" && as_dir
=.
10242 for ac_exec_ext
in '' $ac_executable_extensions; do
10243 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10244 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10255 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10256 if test -n "$aros_kernel_as"; then
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10258 $as_echo "$aros_kernel_as" >&6; }
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10261 $as_echo "no" >&6; }
10266 if test "$GCC" = "yes"; then
10267 aros_gcc_as
=`$CC -print-prog-name=as`
10268 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
10269 set dummy
`basename $aros_gcc_as`; ac_word
=$2
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10271 $as_echo_n "checking for $ac_word... " >&6; }
10272 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10273 $as_echo_n "(cached) " >&6
10275 case $aros_kernel_as in
10277 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10281 for as_dir
in `dirname $aros_gcc_as`
10284 test -z "$as_dir" && as_dir
=.
10285 for ac_exec_ext
in '' $ac_executable_extensions; do
10286 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10287 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10298 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10299 if test -n "$aros_kernel_as"; then
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10301 $as_echo "$aros_kernel_as" >&6; }
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10304 $as_echo "no" >&6; }
10309 if test "$aros_kernel_as" = ""; then
10310 # Extract the first word of "as", so it can be a program name with args.
10311 set dummy as
; ac_word
=$2
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10313 $as_echo_n "checking for $ac_word... " >&6; }
10314 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10315 $as_echo_n "(cached) " >&6
10317 case $aros_kernel_as in
10319 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10323 for as_dir
in $PATH
10326 test -z "$as_dir" && as_dir
=.
10327 for ac_exec_ext
in '' $ac_executable_extensions; do
10328 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10329 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10340 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10341 if test -n "$aros_kernel_as"; then
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10343 $as_echo "$aros_kernel_as" >&6; }
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10346 $as_echo "no" >&6; }
10353 ac_tool_optarg
=`expr "X$aros_kernel_as" : '[^ ]* \(.*\)'`
10354 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
10355 set dummy
$aros_kernel_as; ac_word
=$2
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10357 $as_echo_n "checking for $ac_word... " >&6; }
10358 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10359 $as_echo_n "(cached) " >&6
10361 case $aros_kernel_as in
10363 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10367 for as_dir
in $PATH
10370 test -z "$as_dir" && as_dir
=.
10371 for ac_exec_ext
in '' $ac_executable_extensions; do
10372 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10373 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10384 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10385 if test -n "$aros_kernel_as"; then
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10387 $as_echo "$aros_kernel_as" >&6; }
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10390 $as_echo "no" >&6; }
10394 aros_kernel_as
="$aros_kernel_as $ac_tool_optarg"
10398 if test "$aros_kernel_as" = ""; then
10401 if test "$aros_kernel_as" = "no"; then
10404 if test "$req_avail" = "no"; then
10405 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
10408 if test "$aros_kernel_ar" = ""; then
10409 if test "$cross_compiling" = "yes" ; then
10410 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
10411 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10413 $as_echo_n "checking for $ac_word... " >&6; }
10414 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10415 $as_echo_n "(cached) " >&6
10417 case $aros_kernel_ar in
10419 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10423 for as_dir
in $PATH
10426 test -z "$as_dir" && as_dir
=.
10427 for ac_exec_ext
in '' $ac_executable_extensions; do
10428 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10429 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10440 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10441 if test -n "$aros_kernel_ar"; then
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10443 $as_echo "$aros_kernel_ar" >&6; }
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10446 $as_echo "no" >&6; }
10451 if test "$GCC" = "yes"; then
10452 aros_gcc_ar
=`$CC -print-prog-name=ar`
10453 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
10454 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10456 $as_echo_n "checking for $ac_word... " >&6; }
10457 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10458 $as_echo_n "(cached) " >&6
10460 case $aros_kernel_ar in
10462 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10466 for as_dir
in `dirname $aros_gcc_ar`
10469 test -z "$as_dir" && as_dir
=.
10470 for ac_exec_ext
in '' $ac_executable_extensions; do
10471 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10472 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10483 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10484 if test -n "$aros_kernel_ar"; then
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10486 $as_echo "$aros_kernel_ar" >&6; }
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10489 $as_echo "no" >&6; }
10494 if test "$aros_kernel_ar" = ""; then
10495 # Extract the first word of "ar", so it can be a program name with args.
10496 set dummy
ar; ac_word
=$2
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10498 $as_echo_n "checking for $ac_word... " >&6; }
10499 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10500 $as_echo_n "(cached) " >&6
10502 case $aros_kernel_ar in
10504 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10508 for as_dir
in $PATH
10511 test -z "$as_dir" && as_dir
=.
10512 for ac_exec_ext
in '' $ac_executable_extensions; do
10513 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10514 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10525 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10526 if test -n "$aros_kernel_ar"; then
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10528 $as_echo "$aros_kernel_ar" >&6; }
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10531 $as_echo "no" >&6; }
10538 ac_tool_optarg
=`expr "X$aros_kernel_ar" : '[^ ]* \(.*\)'`
10539 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
10540 set dummy
$aros_kernel_ar; ac_word
=$2
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10542 $as_echo_n "checking for $ac_word... " >&6; }
10543 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10544 $as_echo_n "(cached) " >&6
10546 case $aros_kernel_ar in
10548 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10552 for as_dir
in $PATH
10555 test -z "$as_dir" && as_dir
=.
10556 for ac_exec_ext
in '' $ac_executable_extensions; do
10557 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10558 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10569 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10570 if test -n "$aros_kernel_ar"; then
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10572 $as_echo "$aros_kernel_ar" >&6; }
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10575 $as_echo "no" >&6; }
10579 aros_kernel_ar
="$aros_kernel_ar $ac_tool_optarg"
10583 if test "$aros_kernel_ar" = ""; then
10586 if test "$aros_kernel_ar" = "no"; then
10589 if test "$req_avail" = "no"; then
10590 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
10593 if test "$aros_kernel_ranlib" = ""; then
10594 if test "$cross_compiling" = "yes" ; then
10595 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
10596 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10598 $as_echo_n "checking for $ac_word... " >&6; }
10599 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10600 $as_echo_n "(cached) " >&6
10602 case $aros_kernel_ranlib in
10604 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10608 for as_dir
in $PATH
10611 test -z "$as_dir" && as_dir
=.
10612 for ac_exec_ext
in '' $ac_executable_extensions; do
10613 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10614 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10625 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10626 if test -n "$aros_kernel_ranlib"; then
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10628 $as_echo "$aros_kernel_ranlib" >&6; }
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10631 $as_echo "no" >&6; }
10636 if test "$GCC" = "yes"; then
10637 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10638 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10639 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10641 $as_echo_n "checking for $ac_word... " >&6; }
10642 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10643 $as_echo_n "(cached) " >&6
10645 case $aros_kernel_ranlib in
10647 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10651 for as_dir
in `dirname $aros_gcc_ranlib`
10654 test -z "$as_dir" && as_dir
=.
10655 for ac_exec_ext
in '' $ac_executable_extensions; do
10656 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10657 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10668 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10669 if test -n "$aros_kernel_ranlib"; then
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10671 $as_echo "$aros_kernel_ranlib" >&6; }
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10674 $as_echo "no" >&6; }
10679 if test "$aros_kernel_ranlib" = ""; then
10680 # Extract the first word of "ranlib", so it can be a program name with args.
10681 set dummy ranlib
; ac_word
=$2
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10683 $as_echo_n "checking for $ac_word... " >&6; }
10684 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10685 $as_echo_n "(cached) " >&6
10687 case $aros_kernel_ranlib in
10689 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10693 for as_dir
in $PATH
10696 test -z "$as_dir" && as_dir
=.
10697 for ac_exec_ext
in '' $ac_executable_extensions; do
10698 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10699 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10710 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10711 if test -n "$aros_kernel_ranlib"; then
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10713 $as_echo "$aros_kernel_ranlib" >&6; }
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10716 $as_echo "no" >&6; }
10723 ac_tool_optarg
=`expr "X$aros_kernel_ranlib" : '[^ ]* \(.*\)'`
10724 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
10725 set dummy
$aros_kernel_ranlib; ac_word
=$2
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10727 $as_echo_n "checking for $ac_word... " >&6; }
10728 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
10729 $as_echo_n "(cached) " >&6
10731 case $aros_kernel_ranlib in
10733 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10737 for as_dir
in $PATH
10740 test -z "$as_dir" && as_dir
=.
10741 for ac_exec_ext
in '' $ac_executable_extensions; do
10742 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10743 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10754 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10755 if test -n "$aros_kernel_ranlib"; then
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10757 $as_echo "$aros_kernel_ranlib" >&6; }
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10760 $as_echo "no" >&6; }
10764 aros_kernel_ranlib
="$aros_kernel_ranlib $ac_tool_optarg"
10768 if test "$aros_kernel_ranlib" = ""; then
10771 if test "$aros_kernel_ranlib" = "no"; then
10774 if test "$req_avail" = "no"; then
10775 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
10778 if test "$aros_kernel_nm" = ""; then
10779 if test "$cross_compiling" = "yes" ; then
10780 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
10781 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10783 $as_echo_n "checking for $ac_word... " >&6; }
10784 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10785 $as_echo_n "(cached) " >&6
10787 case $aros_kernel_nm in
10789 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10793 for as_dir
in $PATH
10796 test -z "$as_dir" && as_dir
=.
10797 for ac_exec_ext
in '' $ac_executable_extensions; do
10798 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10799 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10810 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10811 if test -n "$aros_kernel_nm"; then
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10813 $as_echo "$aros_kernel_nm" >&6; }
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10816 $as_echo "no" >&6; }
10821 if test "$GCC" = "yes"; then
10822 aros_gcc_nm
=`$CC -print-prog-name=nm`
10823 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10824 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10826 $as_echo_n "checking for $ac_word... " >&6; }
10827 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10828 $as_echo_n "(cached) " >&6
10830 case $aros_kernel_nm in
10832 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10836 for as_dir
in `dirname $aros_gcc_nm`
10839 test -z "$as_dir" && as_dir
=.
10840 for ac_exec_ext
in '' $ac_executable_extensions; do
10841 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10842 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10853 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10854 if test -n "$aros_kernel_nm"; then
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10856 $as_echo "$aros_kernel_nm" >&6; }
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10859 $as_echo "no" >&6; }
10864 if test "$aros_kernel_nm" = ""; then
10865 # Extract the first word of "nm", so it can be a program name with args.
10866 set dummy nm
; ac_word
=$2
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10868 $as_echo_n "checking for $ac_word... " >&6; }
10869 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10870 $as_echo_n "(cached) " >&6
10872 case $aros_kernel_nm in
10874 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10878 for as_dir
in $PATH
10881 test -z "$as_dir" && as_dir
=.
10882 for ac_exec_ext
in '' $ac_executable_extensions; do
10883 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10884 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10895 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10896 if test -n "$aros_kernel_nm"; then
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10898 $as_echo "$aros_kernel_nm" >&6; }
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10901 $as_echo "no" >&6; }
10908 ac_tool_optarg
=`expr "X$aros_kernel_nm" : '[^ ]* \(.*\)'`
10909 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
10910 set dummy
$aros_kernel_nm; ac_word
=$2
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10912 $as_echo_n "checking for $ac_word... " >&6; }
10913 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
10914 $as_echo_n "(cached) " >&6
10916 case $aros_kernel_nm in
10918 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
10921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10922 for as_dir
in $PATH
10925 test -z "$as_dir" && as_dir
=.
10926 for ac_exec_ext
in '' $ac_executable_extensions; do
10927 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10928 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
10929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10939 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
10940 if test -n "$aros_kernel_nm"; then
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
10942 $as_echo "$aros_kernel_nm" >&6; }
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10945 $as_echo "no" >&6; }
10949 aros_kernel_nm
="$aros_kernel_nm $ac_tool_optarg"
10953 if test "$aros_kernel_nm" = ""; then
10956 if test "$aros_kernel_nm" = "no"; then
10959 if test "$req_avail" = "no"; then
10960 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
10963 if test "$aros_kernel_strip" = ""; then
10964 if test "$cross_compiling" = "yes" ; then
10965 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
10966 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10968 $as_echo_n "checking for $ac_word... " >&6; }
10969 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
10970 $as_echo_n "(cached) " >&6
10972 case $aros_kernel_strip in
10974 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
10977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10978 for as_dir
in $PATH
10981 test -z "$as_dir" && as_dir
=.
10982 for ac_exec_ext
in '' $ac_executable_extensions; do
10983 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10984 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
10985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10995 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
10996 if test -n "$aros_kernel_strip"; then
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
10998 $as_echo "$aros_kernel_strip" >&6; }
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11001 $as_echo "no" >&6; }
11006 if test "$GCC" = "yes"; then
11007 aros_gcc_strip
=`$CC -print-prog-name=strip`
11008 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
11009 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11011 $as_echo_n "checking for $ac_word... " >&6; }
11012 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11013 $as_echo_n "(cached) " >&6
11015 case $aros_kernel_strip in
11017 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11021 for as_dir
in `dirname $aros_gcc_strip`
11024 test -z "$as_dir" && as_dir
=.
11025 for ac_exec_ext
in '' $ac_executable_extensions; do
11026 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11027 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11038 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11039 if test -n "$aros_kernel_strip"; then
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11041 $as_echo "$aros_kernel_strip" >&6; }
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11044 $as_echo "no" >&6; }
11049 if test "$aros_kernel_strip" = ""; then
11050 # Extract the first word of "strip", so it can be a program name with args.
11051 set dummy strip
; ac_word
=$2
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11053 $as_echo_n "checking for $ac_word... " >&6; }
11054 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11055 $as_echo_n "(cached) " >&6
11057 case $aros_kernel_strip in
11059 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11063 for as_dir
in $PATH
11066 test -z "$as_dir" && as_dir
=.
11067 for ac_exec_ext
in '' $ac_executable_extensions; do
11068 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11069 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11080 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11081 if test -n "$aros_kernel_strip"; then
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11083 $as_echo "$aros_kernel_strip" >&6; }
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11086 $as_echo "no" >&6; }
11093 ac_tool_optarg
=`expr "X$aros_kernel_strip" : '[^ ]* \(.*\)'`
11094 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
11095 set dummy
$aros_kernel_strip; ac_word
=$2
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11097 $as_echo_n "checking for $ac_word... " >&6; }
11098 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11099 $as_echo_n "(cached) " >&6
11101 case $aros_kernel_strip in
11103 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11107 for as_dir
in $PATH
11110 test -z "$as_dir" && as_dir
=.
11111 for ac_exec_ext
in '' $ac_executable_extensions; do
11112 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11113 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11124 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11125 if test -n "$aros_kernel_strip"; then
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11127 $as_echo "$aros_kernel_strip" >&6; }
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11130 $as_echo "no" >&6; }
11134 aros_kernel_strip
="$aros_kernel_strip $ac_tool_optarg"
11138 if test "$aros_kernel_strip" = ""; then
11141 if test "$aros_kernel_strip" = "no"; then
11144 if test "$req_avail" = "no"; then
11145 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
11148 # Objcopy and objdump are not required for the kernel
11149 # toolchain on many architectures.
11150 # So we'll look for them, but not make them strictly required.
11152 if test "$aros_kernel_objcopy" = ""; then
11153 if test "$cross_compiling" = "yes" ; then
11154 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
11155 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11157 $as_echo_n "checking for $ac_word... " >&6; }
11158 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11159 $as_echo_n "(cached) " >&6
11161 case $aros_kernel_objcopy in
11163 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11167 for as_dir
in $PATH
11170 test -z "$as_dir" && as_dir
=.
11171 for ac_exec_ext
in '' $ac_executable_extensions; do
11172 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11173 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11184 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11185 if test -n "$aros_kernel_objcopy"; then
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11187 $as_echo "$aros_kernel_objcopy" >&6; }
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11190 $as_echo "no" >&6; }
11195 if test "$GCC" = "yes"; then
11196 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
11197 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
11198 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11200 $as_echo_n "checking for $ac_word... " >&6; }
11201 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11202 $as_echo_n "(cached) " >&6
11204 case $aros_kernel_objcopy in
11206 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11210 for as_dir
in `dirname $aros_gcc_objcopy`
11213 test -z "$as_dir" && as_dir
=.
11214 for ac_exec_ext
in '' $ac_executable_extensions; do
11215 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11216 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11227 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11228 if test -n "$aros_kernel_objcopy"; then
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11230 $as_echo "$aros_kernel_objcopy" >&6; }
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11233 $as_echo "no" >&6; }
11238 if test "$aros_kernel_objcopy" = ""; then
11239 # Extract the first word of "objcopy", so it can be a program name with args.
11240 set dummy objcopy
; ac_word
=$2
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11242 $as_echo_n "checking for $ac_word... " >&6; }
11243 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11244 $as_echo_n "(cached) " >&6
11246 case $aros_kernel_objcopy in
11248 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11252 for as_dir
in $PATH
11255 test -z "$as_dir" && as_dir
=.
11256 for ac_exec_ext
in '' $ac_executable_extensions; do
11257 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11258 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11269 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11270 if test -n "$aros_kernel_objcopy"; then
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11272 $as_echo "$aros_kernel_objcopy" >&6; }
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11275 $as_echo "no" >&6; }
11282 ac_tool_optarg
=`expr "X$aros_kernel_objcopy" : '[^ ]* \(.*\)'`
11283 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
11284 set dummy
$aros_kernel_objcopy; ac_word
=$2
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11286 $as_echo_n "checking for $ac_word... " >&6; }
11287 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11288 $as_echo_n "(cached) " >&6
11290 case $aros_kernel_objcopy in
11292 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11296 for as_dir
in $PATH
11299 test -z "$as_dir" && as_dir
=.
11300 for ac_exec_ext
in '' $ac_executable_extensions; do
11301 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11302 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11313 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11314 if test -n "$aros_kernel_objcopy"; then
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11316 $as_echo "$aros_kernel_objcopy" >&6; }
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11319 $as_echo "no" >&6; }
11323 aros_kernel_objcopy
="$aros_kernel_objcopy $ac_tool_optarg"
11327 if test "$aros_kernel_objdump" = ""; then
11328 if test "$cross_compiling" = "yes" ; then
11329 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
11330 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11332 $as_echo_n "checking for $ac_word... " >&6; }
11333 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11334 $as_echo_n "(cached) " >&6
11336 case $aros_kernel_objdump in
11338 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11342 for as_dir
in $PATH
11345 test -z "$as_dir" && as_dir
=.
11346 for ac_exec_ext
in '' $ac_executable_extensions; do
11347 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11348 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11359 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11360 if test -n "$aros_kernel_objdump"; then
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11362 $as_echo "$aros_kernel_objdump" >&6; }
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11365 $as_echo "no" >&6; }
11370 if test "$GCC" = "yes"; then
11371 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
11372 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
11373 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11375 $as_echo_n "checking for $ac_word... " >&6; }
11376 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11377 $as_echo_n "(cached) " >&6
11379 case $aros_kernel_objdump in
11381 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11385 for as_dir
in `dirname $aros_gcc_objdump`
11388 test -z "$as_dir" && as_dir
=.
11389 for ac_exec_ext
in '' $ac_executable_extensions; do
11390 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11391 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11402 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11403 if test -n "$aros_kernel_objdump"; then
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11405 $as_echo "$aros_kernel_objdump" >&6; }
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11408 $as_echo "no" >&6; }
11413 if test "$aros_kernel_objdump" = ""; then
11414 # Extract the first word of "objdump", so it can be a program name with args.
11415 set dummy objdump
; ac_word
=$2
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11417 $as_echo_n "checking for $ac_word... " >&6; }
11418 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11419 $as_echo_n "(cached) " >&6
11421 case $aros_kernel_objdump in
11423 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11427 for as_dir
in $PATH
11430 test -z "$as_dir" && as_dir
=.
11431 for ac_exec_ext
in '' $ac_executable_extensions; do
11432 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11433 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11444 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11445 if test -n "$aros_kernel_objdump"; then
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11447 $as_echo "$aros_kernel_objdump" >&6; }
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11450 $as_echo "no" >&6; }
11457 ac_tool_optarg
=`expr "X$aros_kernel_objdump" : '[^ ]* \(.*\)'`
11458 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
11459 set dummy
$aros_kernel_objdump; ac_word
=$2
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11461 $as_echo_n "checking for $ac_word... " >&6; }
11462 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11463 $as_echo_n "(cached) " >&6
11465 case $aros_kernel_objdump in
11467 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11471 for as_dir
in $PATH
11474 test -z "$as_dir" && as_dir
=.
11475 for ac_exec_ext
in '' $ac_executable_extensions; do
11476 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11477 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11488 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11489 if test -n "$aros_kernel_objdump"; then
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11491 $as_echo "$aros_kernel_objdump" >&6; }
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11494 $as_echo "no" >&6; }
11498 aros_kernel_objdump
="$aros_kernel_objdump $ac_tool_optarg"
11501 if test "x${crosstools}" != "xyes" ; then
11503 if test "$aros_kernel_objcopy" = ""; then
11506 if test "$aros_kernel_objcopy" = "no"; then
11509 if test "$req_avail" = "no"; then
11510 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
11513 if test "$aros_kernel_objdump" = ""; then
11516 if test "$aros_kernel_objdump" = "no"; then
11519 if test "$req_avail" = "no"; then
11520 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
11526 $as_echo_n "checking which target tools to use... " >&6; }
11527 if test "$aros_target_toolchain" = "yes"; then
11528 if test "$aros_toolchain" = "llvm" ; then
11531 msg_result
=$target_tool_prefix
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
11534 $as_echo "$msg_result" >&6; }
11535 # We are building AROS crosstools
11536 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
11537 orig_target_cc
="${tmp_tool_prefix}${toolchain_c_compiler}${target_tool_version}"
11538 orig_target_cxx
="${tmp_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}"
11539 orig_target_cpp
="${tmp_tool_prefix}${toolchain_cpp_preprocessor}"
11540 orig_target_ld
="${tmp_tool_prefix}${toolchain_ld}"
11541 orig_target_as
="${tmp_tool_prefix}${toolchain_as}"
11542 orig_target_ar
="${tmp_tool_prefix}${toolchain_ar}"
11543 orig_target_ranlib
="${tmp_tool_prefix}${toolchain_ranlib}"
11544 orig_target_nm
="${tmp_tool_prefix}${toolchain_nm}"
11545 orig_target_strip
="${tmp_tool_prefix}${toolchain_strip}"
11546 orig_target_objcopy
="${tmp_tool_prefix}${toolchain_objcopy}"
11547 orig_target_objdump
="${tmp_tool_prefix}${toolchain_objdump}"
11549 # Determine whether AROS or ELF tools should be used
11550 if test "$aros_tool_prefix" = "none"; then
11551 aros_tool_prefix
="${elf_tool_prefix}"
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
11555 $as_echo "$aros_tool_prefix" >&6; }
11556 # We are *not* building AROS crosstools - use the AROS or ELF tools
11558 if test "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" = ""; then
11559 if test "$cross_compiling" = "yes" ; then
11560 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
11561 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11563 $as_echo_n "checking for $ac_word... " >&6; }
11564 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11565 $as_echo_n "(cached) " >&6
11567 case $orig_target_cpp in
11569 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11573 for as_dir
in $PATH
11576 test -z "$as_dir" && as_dir
=.
11577 for ac_exec_ext
in '' $ac_executable_extensions; do
11578 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11579 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11590 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11591 if test -n "$orig_target_cpp"; then
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11593 $as_echo "$orig_target_cpp" >&6; }
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11596 $as_echo "no" >&6; }
11601 if test "$GCC" = "yes"; then
11602 aros_gcc_cpp
=`$CC -print-prog-name=cpp`
11603 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
11604 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11606 $as_echo_n "checking for $ac_word... " >&6; }
11607 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11608 $as_echo_n "(cached) " >&6
11610 case $orig_target_cpp in
11612 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11616 for as_dir
in `dirname $aros_gcc_cpp`
11619 test -z "$as_dir" && as_dir
=.
11620 for ac_exec_ext
in '' $ac_executable_extensions; do
11621 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11622 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11633 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11634 if test -n "$orig_target_cpp"; then
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11636 $as_echo "$orig_target_cpp" >&6; }
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11639 $as_echo "no" >&6; }
11644 if test "$orig_target_cpp" = ""; then
11645 # Extract the first word of "cpp", so it can be a program name with args.
11646 set dummy cpp
; ac_word
=$2
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11648 $as_echo_n "checking for $ac_word... " >&6; }
11649 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11650 $as_echo_n "(cached) " >&6
11652 case $orig_target_cpp in
11654 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11658 for as_dir
in $PATH
11661 test -z "$as_dir" && as_dir
=.
11662 for ac_exec_ext
in '' $ac_executable_extensions; do
11663 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11664 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11675 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11676 if test -n "$orig_target_cpp"; then
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11678 $as_echo "$orig_target_cpp" >&6; }
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11681 $as_echo "no" >&6; }
11688 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" : '[^ ]* \(.*\)'`
11689 # Extract the first word of "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}", so it can be a program name with args.
11690 set dummy
${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}; ac_word
=$2
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11692 $as_echo_n "checking for $ac_word... " >&6; }
11693 if ${ac_cv_path_orig_target_cpp+:} false
; then :
11694 $as_echo_n "(cached) " >&6
11696 case $orig_target_cpp in
11698 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
11701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11702 for as_dir
in $PATH
11705 test -z "$as_dir" && as_dir
=.
11706 for ac_exec_ext
in '' $ac_executable_extensions; do
11707 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11708 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
11709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11719 orig_target_cpp
=$ac_cv_path_orig_target_cpp
11720 if test -n "$orig_target_cpp"; then
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
11722 $as_echo "$orig_target_cpp" >&6; }
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11725 $as_echo "no" >&6; }
11729 orig_target_cpp
="$orig_target_cpp $ac_tool_optarg"
11733 if test "$orig_target_cpp" = ""; then
11736 if test "$orig_target_cpp" = "no"; then
11739 if test "$req_avail" = "no"; then
11740 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
11743 if test "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" = ""; then
11744 if test "$cross_compiling" = "yes" ; then
11745 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
11746 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11748 $as_echo_n "checking for $ac_word... " >&6; }
11749 if ${ac_cv_path_orig_target_cc+:} false
; then :
11750 $as_echo_n "(cached) " >&6
11752 case $orig_target_cc in
11754 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11758 for as_dir
in $PATH
11761 test -z "$as_dir" && as_dir
=.
11762 for ac_exec_ext
in '' $ac_executable_extensions; do
11763 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11764 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11775 orig_target_cc
=$ac_cv_path_orig_target_cc
11776 if test -n "$orig_target_cc"; then
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11778 $as_echo "$orig_target_cc" >&6; }
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11781 $as_echo "no" >&6; }
11786 if test "$GCC" = "yes"; then
11787 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
11788 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
11789 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11791 $as_echo_n "checking for $ac_word... " >&6; }
11792 if ${ac_cv_path_orig_target_cc+:} false
; then :
11793 $as_echo_n "(cached) " >&6
11795 case $orig_target_cc in
11797 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11801 for as_dir
in `dirname $aros_gcc_gcc`
11804 test -z "$as_dir" && as_dir
=.
11805 for ac_exec_ext
in '' $ac_executable_extensions; do
11806 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11807 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11818 orig_target_cc
=$ac_cv_path_orig_target_cc
11819 if test -n "$orig_target_cc"; then
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11821 $as_echo "$orig_target_cc" >&6; }
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11824 $as_echo "no" >&6; }
11829 if test "$orig_target_cc" = ""; then
11830 # Extract the first word of "gcc", so it can be a program name with args.
11831 set dummy gcc
; ac_word
=$2
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11833 $as_echo_n "checking for $ac_word... " >&6; }
11834 if ${ac_cv_path_orig_target_cc+:} false
; then :
11835 $as_echo_n "(cached) " >&6
11837 case $orig_target_cc in
11839 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11843 for as_dir
in $PATH
11846 test -z "$as_dir" && as_dir
=.
11847 for ac_exec_ext
in '' $ac_executable_extensions; do
11848 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11849 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11860 orig_target_cc
=$ac_cv_path_orig_target_cc
11861 if test -n "$orig_target_cc"; then
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11863 $as_echo "$orig_target_cc" >&6; }
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11866 $as_echo "no" >&6; }
11873 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
11874 # Extract the first word of "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}", so it can be a program name with args.
11875 set dummy
${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}; ac_word
=$2
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11877 $as_echo_n "checking for $ac_word... " >&6; }
11878 if ${ac_cv_path_orig_target_cc+:} false
; then :
11879 $as_echo_n "(cached) " >&6
11881 case $orig_target_cc in
11883 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
11886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11887 for as_dir
in $PATH
11890 test -z "$as_dir" && as_dir
=.
11891 for ac_exec_ext
in '' $ac_executable_extensions; do
11892 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11893 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
11894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11904 orig_target_cc
=$ac_cv_path_orig_target_cc
11905 if test -n "$orig_target_cc"; then
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
11907 $as_echo "$orig_target_cc" >&6; }
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11910 $as_echo "no" >&6; }
11914 orig_target_cc
="$orig_target_cc $ac_tool_optarg"
11918 if test "$orig_target_cc" = ""; then
11921 if test "$orig_target_cc" = "no"; then
11924 if test "$req_avail" = "no"; then
11925 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
11928 if test "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" = ""; then
11929 if test "$cross_compiling" = "yes" ; then
11930 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
11931 set dummy
${target_tool_prefix}g
++; ac_word
=$2
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11933 $as_echo_n "checking for $ac_word... " >&6; }
11934 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11935 $as_echo_n "(cached) " >&6
11937 case $orig_target_cxx in
11939 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11943 for as_dir
in $PATH
11946 test -z "$as_dir" && as_dir
=.
11947 for ac_exec_ext
in '' $ac_executable_extensions; do
11948 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11949 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11960 orig_target_cxx
=$ac_cv_path_orig_target_cxx
11961 if test -n "$orig_target_cxx"; then
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
11963 $as_echo "$orig_target_cxx" >&6; }
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11966 $as_echo "no" >&6; }
11971 if test "$GCC" = "yes"; then
11972 aros_gcc_g
++=`$CC -print-prog-name=g++`
11973 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
11974 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11976 $as_echo_n "checking for $ac_word... " >&6; }
11977 if ${ac_cv_path_orig_target_cxx+:} false
; then :
11978 $as_echo_n "(cached) " >&6
11980 case $orig_target_cxx in
11982 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
11985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11986 for as_dir
in `dirname $aros_gcc_g++`
11989 test -z "$as_dir" && as_dir
=.
11990 for ac_exec_ext
in '' $ac_executable_extensions; do
11991 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11992 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
11993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12003 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12004 if test -n "$orig_target_cxx"; then
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12006 $as_echo "$orig_target_cxx" >&6; }
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12009 $as_echo "no" >&6; }
12014 if test "$orig_target_cxx" = ""; then
12015 # Extract the first word of "g++", so it can be a program name with args.
12016 set dummy g
++; ac_word
=$2
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12018 $as_echo_n "checking for $ac_word... " >&6; }
12019 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12020 $as_echo_n "(cached) " >&6
12022 case $orig_target_cxx in
12024 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12028 for as_dir
in $PATH
12031 test -z "$as_dir" && as_dir
=.
12032 for ac_exec_ext
in '' $ac_executable_extensions; do
12033 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12034 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12045 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12046 if test -n "$orig_target_cxx"; then
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12048 $as_echo "$orig_target_cxx" >&6; }
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12051 $as_echo "no" >&6; }
12058 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
12059 # Extract the first word of "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}", so it can be a program name with args.
12060 set dummy
${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}; ac_word
=$2
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12062 $as_echo_n "checking for $ac_word... " >&6; }
12063 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12064 $as_echo_n "(cached) " >&6
12066 case $orig_target_cxx in
12068 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12072 for as_dir
in $PATH
12075 test -z "$as_dir" && as_dir
=.
12076 for ac_exec_ext
in '' $ac_executable_extensions; do
12077 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12078 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12089 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12090 if test -n "$orig_target_cxx"; then
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12092 $as_echo "$orig_target_cxx" >&6; }
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12095 $as_echo "no" >&6; }
12099 orig_target_cxx
="$orig_target_cxx $ac_tool_optarg"
12103 if test "$orig_target_cxx" = ""; then
12106 if test "$orig_target_cxx" = "no"; then
12109 if test "$req_avail" = "no"; then
12110 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
12113 if test "${aros_tool_prefix}${toolchain_ld}" = ""; then
12114 if test "$cross_compiling" = "yes" ; then
12115 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
12116 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12118 $as_echo_n "checking for $ac_word... " >&6; }
12119 if ${ac_cv_path_orig_target_ld+:} false
; then :
12120 $as_echo_n "(cached) " >&6
12122 case $orig_target_ld in
12124 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12128 for as_dir
in $PATH
12131 test -z "$as_dir" && as_dir
=.
12132 for ac_exec_ext
in '' $ac_executable_extensions; do
12133 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12134 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12145 orig_target_ld
=$ac_cv_path_orig_target_ld
12146 if test -n "$orig_target_ld"; then
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12148 $as_echo "$orig_target_ld" >&6; }
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12151 $as_echo "no" >&6; }
12156 if test "$GCC" = "yes"; then
12157 aros_gcc_gcc
=`$CC -print-prog-name=gcc`
12158 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
12159 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12161 $as_echo_n "checking for $ac_word... " >&6; }
12162 if ${ac_cv_path_orig_target_ld+:} false
; then :
12163 $as_echo_n "(cached) " >&6
12165 case $orig_target_ld in
12167 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12171 for as_dir
in `dirname $aros_gcc_gcc`
12174 test -z "$as_dir" && as_dir
=.
12175 for ac_exec_ext
in '' $ac_executable_extensions; do
12176 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12177 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12188 orig_target_ld
=$ac_cv_path_orig_target_ld
12189 if test -n "$orig_target_ld"; then
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12191 $as_echo "$orig_target_ld" >&6; }
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12194 $as_echo "no" >&6; }
12199 if test "$orig_target_ld" = ""; then
12200 # Extract the first word of "gcc", so it can be a program name with args.
12201 set dummy gcc
; ac_word
=$2
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12203 $as_echo_n "checking for $ac_word... " >&6; }
12204 if ${ac_cv_path_orig_target_ld+:} false
; then :
12205 $as_echo_n "(cached) " >&6
12207 case $orig_target_ld in
12209 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12213 for as_dir
in $PATH
12216 test -z "$as_dir" && as_dir
=.
12217 for ac_exec_ext
in '' $ac_executable_extensions; do
12218 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12219 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12230 orig_target_ld
=$ac_cv_path_orig_target_ld
12231 if test -n "$orig_target_ld"; then
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12233 $as_echo "$orig_target_ld" >&6; }
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12236 $as_echo "no" >&6; }
12243 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ld}" : '[^ ]* \(.*\)'`
12244 # Extract the first word of "${aros_tool_prefix}${toolchain_ld}", so it can be a program name with args.
12245 set dummy
${aros_tool_prefix}${toolchain_ld}; ac_word
=$2
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12247 $as_echo_n "checking for $ac_word... " >&6; }
12248 if ${ac_cv_path_orig_target_ld+:} false
; then :
12249 $as_echo_n "(cached) " >&6
12251 case $orig_target_ld in
12253 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12257 for as_dir
in $PATH
12260 test -z "$as_dir" && as_dir
=.
12261 for ac_exec_ext
in '' $ac_executable_extensions; do
12262 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12263 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12274 orig_target_ld
=$ac_cv_path_orig_target_ld
12275 if test -n "$orig_target_ld"; then
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12277 $as_echo "$orig_target_ld" >&6; }
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12280 $as_echo "no" >&6; }
12284 orig_target_ld
="$orig_target_ld $ac_tool_optarg"
12288 if test "$orig_target_ld" = ""; then
12291 if test "$orig_target_ld" = "no"; then
12294 if test "$req_avail" = "no"; then
12295 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
12298 if test "aros_tool_prefix}${toolchain_as}" = ""; then
12299 if test "$cross_compiling" = "yes" ; then
12300 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
12301 set dummy
${target_tool_prefix}as
; ac_word
=$2
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12303 $as_echo_n "checking for $ac_word... " >&6; }
12304 if ${ac_cv_path_orig_target_as+:} false
; then :
12305 $as_echo_n "(cached) " >&6
12307 case $orig_target_as in
12309 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12313 for as_dir
in $PATH
12316 test -z "$as_dir" && as_dir
=.
12317 for ac_exec_ext
in '' $ac_executable_extensions; do
12318 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12319 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12330 orig_target_as
=$ac_cv_path_orig_target_as
12331 if test -n "$orig_target_as"; then
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12333 $as_echo "$orig_target_as" >&6; }
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12336 $as_echo "no" >&6; }
12341 if test "$GCC" = "yes"; then
12342 aros_gcc_as
=`$CC -print-prog-name=as`
12343 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
12344 set dummy
`basename $aros_gcc_as`; ac_word
=$2
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12346 $as_echo_n "checking for $ac_word... " >&6; }
12347 if ${ac_cv_path_orig_target_as+:} false
; then :
12348 $as_echo_n "(cached) " >&6
12350 case $orig_target_as in
12352 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12356 for as_dir
in `dirname $aros_gcc_as`
12359 test -z "$as_dir" && as_dir
=.
12360 for ac_exec_ext
in '' $ac_executable_extensions; do
12361 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12362 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12373 orig_target_as
=$ac_cv_path_orig_target_as
12374 if test -n "$orig_target_as"; then
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12376 $as_echo "$orig_target_as" >&6; }
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12379 $as_echo "no" >&6; }
12384 if test "$orig_target_as" = ""; then
12385 # Extract the first word of "as", so it can be a program name with args.
12386 set dummy as
; ac_word
=$2
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12388 $as_echo_n "checking for $ac_word... " >&6; }
12389 if ${ac_cv_path_orig_target_as+:} false
; then :
12390 $as_echo_n "(cached) " >&6
12392 case $orig_target_as in
12394 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12398 for as_dir
in $PATH
12401 test -z "$as_dir" && as_dir
=.
12402 for ac_exec_ext
in '' $ac_executable_extensions; do
12403 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12404 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12415 orig_target_as
=$ac_cv_path_orig_target_as
12416 if test -n "$orig_target_as"; then
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12418 $as_echo "$orig_target_as" >&6; }
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12421 $as_echo "no" >&6; }
12428 ac_tool_optarg
=`expr "Xaros_tool_prefix}${toolchain_as}" : '[^ ]* \(.*\)'`
12429 # Extract the first word of "aros_tool_prefix}${toolchain_as}", so it can be a program name with args.
12430 set dummy aros_tool_prefix
}${toolchain_as}; ac_word
=$2
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12432 $as_echo_n "checking for $ac_word... " >&6; }
12433 if ${ac_cv_path_orig_target_as+:} false
; then :
12434 $as_echo_n "(cached) " >&6
12436 case $orig_target_as in
12438 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12442 for as_dir
in $PATH
12445 test -z "$as_dir" && as_dir
=.
12446 for ac_exec_ext
in '' $ac_executable_extensions; do
12447 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12448 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12459 orig_target_as
=$ac_cv_path_orig_target_as
12460 if test -n "$orig_target_as"; then
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12462 $as_echo "$orig_target_as" >&6; }
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12465 $as_echo "no" >&6; }
12469 orig_target_as
="$orig_target_as $ac_tool_optarg"
12473 if test "$orig_target_as" = ""; then
12476 if test "$orig_target_as" = "no"; then
12479 if test "$req_avail" = "no"; then
12480 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
12483 if test "${aros_tool_prefix}${toolchain_ar}" = ""; then
12484 if test "$cross_compiling" = "yes" ; then
12485 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
12486 set dummy
${target_tool_prefix}ar; ac_word
=$2
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12488 $as_echo_n "checking for $ac_word... " >&6; }
12489 if ${ac_cv_path_orig_target_ar+:} false
; then :
12490 $as_echo_n "(cached) " >&6
12492 case $orig_target_ar in
12494 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12498 for as_dir
in $PATH
12501 test -z "$as_dir" && as_dir
=.
12502 for ac_exec_ext
in '' $ac_executable_extensions; do
12503 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12504 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12515 orig_target_ar
=$ac_cv_path_orig_target_ar
12516 if test -n "$orig_target_ar"; then
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12518 $as_echo "$orig_target_ar" >&6; }
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12521 $as_echo "no" >&6; }
12526 if test "$GCC" = "yes"; then
12527 aros_gcc_ar
=`$CC -print-prog-name=ar`
12528 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
12529 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12531 $as_echo_n "checking for $ac_word... " >&6; }
12532 if ${ac_cv_path_orig_target_ar+:} false
; then :
12533 $as_echo_n "(cached) " >&6
12535 case $orig_target_ar in
12537 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12541 for as_dir
in `dirname $aros_gcc_ar`
12544 test -z "$as_dir" && as_dir
=.
12545 for ac_exec_ext
in '' $ac_executable_extensions; do
12546 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12547 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12558 orig_target_ar
=$ac_cv_path_orig_target_ar
12559 if test -n "$orig_target_ar"; then
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12561 $as_echo "$orig_target_ar" >&6; }
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12564 $as_echo "no" >&6; }
12569 if test "$orig_target_ar" = ""; then
12570 # Extract the first word of "ar", so it can be a program name with args.
12571 set dummy
ar; ac_word
=$2
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12573 $as_echo_n "checking for $ac_word... " >&6; }
12574 if ${ac_cv_path_orig_target_ar+:} false
; then :
12575 $as_echo_n "(cached) " >&6
12577 case $orig_target_ar in
12579 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12583 for as_dir
in $PATH
12586 test -z "$as_dir" && as_dir
=.
12587 for ac_exec_ext
in '' $ac_executable_extensions; do
12588 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12589 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12600 orig_target_ar
=$ac_cv_path_orig_target_ar
12601 if test -n "$orig_target_ar"; then
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12603 $as_echo "$orig_target_ar" >&6; }
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12606 $as_echo "no" >&6; }
12613 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ar}" : '[^ ]* \(.*\)'`
12614 # Extract the first word of "${aros_tool_prefix}${toolchain_ar}", so it can be a program name with args.
12615 set dummy
${aros_tool_prefix}${toolchain_ar}; ac_word
=$2
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12617 $as_echo_n "checking for $ac_word... " >&6; }
12618 if ${ac_cv_path_orig_target_ar+:} false
; then :
12619 $as_echo_n "(cached) " >&6
12621 case $orig_target_ar in
12623 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
12626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12627 for as_dir
in $PATH
12630 test -z "$as_dir" && as_dir
=.
12631 for ac_exec_ext
in '' $ac_executable_extensions; do
12632 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12633 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
12634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12644 orig_target_ar
=$ac_cv_path_orig_target_ar
12645 if test -n "$orig_target_ar"; then
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
12647 $as_echo "$orig_target_ar" >&6; }
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12650 $as_echo "no" >&6; }
12654 orig_target_ar
="$orig_target_ar $ac_tool_optarg"
12658 if test "$orig_target_ar" = ""; then
12661 if test "$orig_target_ar" = "no"; then
12664 if test "$req_avail" = "no"; then
12665 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
12668 if test "${aros_tool_prefix}${toolchain_ranlib}" = ""; then
12669 if test "$cross_compiling" = "yes" ; then
12670 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
12671 set dummy
${target_tool_prefix}ar; ac_word
=$2
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12673 $as_echo_n "checking for $ac_word... " >&6; }
12674 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12675 $as_echo_n "(cached) " >&6
12677 case $orig_target_ranlib in
12679 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12683 for as_dir
in $PATH
12686 test -z "$as_dir" && as_dir
=.
12687 for ac_exec_ext
in '' $ac_executable_extensions; do
12688 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12689 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12700 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12701 if test -n "$orig_target_ranlib"; then
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12703 $as_echo "$orig_target_ranlib" >&6; }
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12706 $as_echo "no" >&6; }
12711 if test "$GCC" = "yes"; then
12712 aros_gcc_ar
=`$CC -print-prog-name=ar`
12713 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
12714 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12716 $as_echo_n "checking for $ac_word... " >&6; }
12717 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12718 $as_echo_n "(cached) " >&6
12720 case $orig_target_ranlib in
12722 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12726 for as_dir
in `dirname $aros_gcc_ar`
12729 test -z "$as_dir" && as_dir
=.
12730 for ac_exec_ext
in '' $ac_executable_extensions; do
12731 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12732 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12743 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12744 if test -n "$orig_target_ranlib"; then
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12746 $as_echo "$orig_target_ranlib" >&6; }
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12749 $as_echo "no" >&6; }
12754 if test "$orig_target_ranlib" = ""; then
12755 # Extract the first word of "ar", so it can be a program name with args.
12756 set dummy
ar; ac_word
=$2
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12758 $as_echo_n "checking for $ac_word... " >&6; }
12759 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12760 $as_echo_n "(cached) " >&6
12762 case $orig_target_ranlib in
12764 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12768 for as_dir
in $PATH
12771 test -z "$as_dir" && as_dir
=.
12772 for ac_exec_ext
in '' $ac_executable_extensions; do
12773 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12774 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12785 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12786 if test -n "$orig_target_ranlib"; then
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12788 $as_echo "$orig_target_ranlib" >&6; }
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12791 $as_echo "no" >&6; }
12798 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ranlib}" : '[^ ]* \(.*\)'`
12799 # Extract the first word of "${aros_tool_prefix}${toolchain_ranlib}", so it can be a program name with args.
12800 set dummy
${aros_tool_prefix}${toolchain_ranlib}; ac_word
=$2
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12802 $as_echo_n "checking for $ac_word... " >&6; }
12803 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
12804 $as_echo_n "(cached) " >&6
12806 case $orig_target_ranlib in
12808 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
12811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12812 for as_dir
in $PATH
12815 test -z "$as_dir" && as_dir
=.
12816 for ac_exec_ext
in '' $ac_executable_extensions; do
12817 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12818 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
12819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12829 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
12830 if test -n "$orig_target_ranlib"; then
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
12832 $as_echo "$orig_target_ranlib" >&6; }
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12835 $as_echo "no" >&6; }
12839 orig_target_ranlib
="$orig_target_ranlib $ac_tool_optarg"
12843 if test "$orig_target_ranlib" = ""; then
12846 if test "$orig_target_ranlib" = "no"; then
12849 if test "$req_avail" = "no"; then
12850 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
12853 if test "${aros_tool_prefix}${toolchain_nm}" = ""; then
12854 if test "$cross_compiling" = "yes" ; then
12855 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
12856 set dummy
${target_tool_prefix}nm
; ac_word
=$2
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12858 $as_echo_n "checking for $ac_word... " >&6; }
12859 if ${ac_cv_path_orig_target_nm+:} false
; then :
12860 $as_echo_n "(cached) " >&6
12862 case $orig_target_nm in
12864 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12868 for as_dir
in $PATH
12871 test -z "$as_dir" && as_dir
=.
12872 for ac_exec_ext
in '' $ac_executable_extensions; do
12873 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12874 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12885 orig_target_nm
=$ac_cv_path_orig_target_nm
12886 if test -n "$orig_target_nm"; then
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12888 $as_echo "$orig_target_nm" >&6; }
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12891 $as_echo "no" >&6; }
12896 if test "$GCC" = "yes"; then
12897 aros_gcc_nm
=`$CC -print-prog-name=nm`
12898 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
12899 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12901 $as_echo_n "checking for $ac_word... " >&6; }
12902 if ${ac_cv_path_orig_target_nm+:} false
; then :
12903 $as_echo_n "(cached) " >&6
12905 case $orig_target_nm in
12907 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12911 for as_dir
in `dirname $aros_gcc_nm`
12914 test -z "$as_dir" && as_dir
=.
12915 for ac_exec_ext
in '' $ac_executable_extensions; do
12916 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12917 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12928 orig_target_nm
=$ac_cv_path_orig_target_nm
12929 if test -n "$orig_target_nm"; then
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12931 $as_echo "$orig_target_nm" >&6; }
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12934 $as_echo "no" >&6; }
12939 if test "$orig_target_nm" = ""; then
12940 # Extract the first word of "nm", so it can be a program name with args.
12941 set dummy nm
; ac_word
=$2
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12943 $as_echo_n "checking for $ac_word... " >&6; }
12944 if ${ac_cv_path_orig_target_nm+:} false
; then :
12945 $as_echo_n "(cached) " >&6
12947 case $orig_target_nm in
12949 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12953 for as_dir
in $PATH
12956 test -z "$as_dir" && as_dir
=.
12957 for ac_exec_ext
in '' $ac_executable_extensions; do
12958 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12959 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
12960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12970 orig_target_nm
=$ac_cv_path_orig_target_nm
12971 if test -n "$orig_target_nm"; then
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
12973 $as_echo "$orig_target_nm" >&6; }
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12976 $as_echo "no" >&6; }
12983 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_nm}" : '[^ ]* \(.*\)'`
12984 # Extract the first word of "${aros_tool_prefix}${toolchain_nm}", so it can be a program name with args.
12985 set dummy
${aros_tool_prefix}${toolchain_nm}; ac_word
=$2
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12987 $as_echo_n "checking for $ac_word... " >&6; }
12988 if ${ac_cv_path_orig_target_nm+:} false
; then :
12989 $as_echo_n "(cached) " >&6
12991 case $orig_target_nm in
12993 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
12996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12997 for as_dir
in $PATH
13000 test -z "$as_dir" && as_dir
=.
13001 for ac_exec_ext
in '' $ac_executable_extensions; do
13002 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13003 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13014 orig_target_nm
=$ac_cv_path_orig_target_nm
13015 if test -n "$orig_target_nm"; then
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13017 $as_echo "$orig_target_nm" >&6; }
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13020 $as_echo "no" >&6; }
13024 orig_target_nm
="$orig_target_nm $ac_tool_optarg"
13028 if test "$orig_target_nm" = ""; then
13031 if test "$orig_target_nm" = "no"; then
13034 if test "$req_avail" = "no"; then
13035 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
13038 if test "${aros_tool_prefix}${toolchain_strip}" = ""; then
13039 if test "$cross_compiling" = "yes" ; then
13040 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
13041 set dummy
${target_tool_prefix}strip
; ac_word
=$2
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13043 $as_echo_n "checking for $ac_word... " >&6; }
13044 if ${ac_cv_path_orig_target_strip+:} false
; then :
13045 $as_echo_n "(cached) " >&6
13047 case $orig_target_strip in
13049 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13053 for as_dir
in $PATH
13056 test -z "$as_dir" && as_dir
=.
13057 for ac_exec_ext
in '' $ac_executable_extensions; do
13058 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13059 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13070 orig_target_strip
=$ac_cv_path_orig_target_strip
13071 if test -n "$orig_target_strip"; then
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13073 $as_echo "$orig_target_strip" >&6; }
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13076 $as_echo "no" >&6; }
13081 if test "$GCC" = "yes"; then
13082 aros_gcc_strip
=`$CC -print-prog-name=strip`
13083 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
13084 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13086 $as_echo_n "checking for $ac_word... " >&6; }
13087 if ${ac_cv_path_orig_target_strip+:} false
; then :
13088 $as_echo_n "(cached) " >&6
13090 case $orig_target_strip in
13092 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13096 for as_dir
in `dirname $aros_gcc_strip`
13099 test -z "$as_dir" && as_dir
=.
13100 for ac_exec_ext
in '' $ac_executable_extensions; do
13101 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13102 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13113 orig_target_strip
=$ac_cv_path_orig_target_strip
13114 if test -n "$orig_target_strip"; then
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13116 $as_echo "$orig_target_strip" >&6; }
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13119 $as_echo "no" >&6; }
13124 if test "$orig_target_strip" = ""; then
13125 # Extract the first word of "strip", so it can be a program name with args.
13126 set dummy strip
; ac_word
=$2
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13128 $as_echo_n "checking for $ac_word... " >&6; }
13129 if ${ac_cv_path_orig_target_strip+:} false
; then :
13130 $as_echo_n "(cached) " >&6
13132 case $orig_target_strip in
13134 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13138 for as_dir
in $PATH
13141 test -z "$as_dir" && as_dir
=.
13142 for ac_exec_ext
in '' $ac_executable_extensions; do
13143 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13144 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13155 orig_target_strip
=$ac_cv_path_orig_target_strip
13156 if test -n "$orig_target_strip"; then
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13158 $as_echo "$orig_target_strip" >&6; }
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13161 $as_echo "no" >&6; }
13168 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_strip}" : '[^ ]* \(.*\)'`
13169 # Extract the first word of "${aros_tool_prefix}${toolchain_strip}", so it can be a program name with args.
13170 set dummy
${aros_tool_prefix}${toolchain_strip}; ac_word
=$2
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13172 $as_echo_n "checking for $ac_word... " >&6; }
13173 if ${ac_cv_path_orig_target_strip+:} false
; then :
13174 $as_echo_n "(cached) " >&6
13176 case $orig_target_strip in
13178 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13182 for as_dir
in $PATH
13185 test -z "$as_dir" && as_dir
=.
13186 for ac_exec_ext
in '' $ac_executable_extensions; do
13187 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13188 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13199 orig_target_strip
=$ac_cv_path_orig_target_strip
13200 if test -n "$orig_target_strip"; then
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13202 $as_echo "$orig_target_strip" >&6; }
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13205 $as_echo "no" >&6; }
13209 orig_target_strip
="$orig_target_strip $ac_tool_optarg"
13213 if test "$orig_target_strip" = ""; then
13216 if test "$orig_target_strip" = "no"; then
13219 if test "$req_avail" = "no"; then
13220 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
13223 if test "${aros_tool_prefix}${toolchain_objcopy}" = ""; then
13224 if test "$cross_compiling" = "yes" ; then
13225 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
13226 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13228 $as_echo_n "checking for $ac_word... " >&6; }
13229 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13230 $as_echo_n "(cached) " >&6
13232 case $orig_target_objcopy in
13234 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13238 for as_dir
in $PATH
13241 test -z "$as_dir" && as_dir
=.
13242 for ac_exec_ext
in '' $ac_executable_extensions; do
13243 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13244 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13255 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13256 if test -n "$orig_target_objcopy"; then
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13258 $as_echo "$orig_target_objcopy" >&6; }
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13261 $as_echo "no" >&6; }
13266 if test "$GCC" = "yes"; then
13267 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
13268 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
13269 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13271 $as_echo_n "checking for $ac_word... " >&6; }
13272 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13273 $as_echo_n "(cached) " >&6
13275 case $orig_target_objcopy in
13277 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13281 for as_dir
in `dirname $aros_gcc_objcopy`
13284 test -z "$as_dir" && as_dir
=.
13285 for ac_exec_ext
in '' $ac_executable_extensions; do
13286 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13287 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13298 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13299 if test -n "$orig_target_objcopy"; then
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13301 $as_echo "$orig_target_objcopy" >&6; }
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13304 $as_echo "no" >&6; }
13309 if test "$orig_target_objcopy" = ""; then
13310 # Extract the first word of "objcopy", so it can be a program name with args.
13311 set dummy objcopy
; ac_word
=$2
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13313 $as_echo_n "checking for $ac_word... " >&6; }
13314 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13315 $as_echo_n "(cached) " >&6
13317 case $orig_target_objcopy in
13319 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13323 for as_dir
in $PATH
13326 test -z "$as_dir" && as_dir
=.
13327 for ac_exec_ext
in '' $ac_executable_extensions; do
13328 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13329 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13340 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13341 if test -n "$orig_target_objcopy"; then
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13343 $as_echo "$orig_target_objcopy" >&6; }
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13346 $as_echo "no" >&6; }
13353 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objcopy}" : '[^ ]* \(.*\)'`
13354 # Extract the first word of "${aros_tool_prefix}${toolchain_objcopy}", so it can be a program name with args.
13355 set dummy
${aros_tool_prefix}${toolchain_objcopy}; ac_word
=$2
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13357 $as_echo_n "checking for $ac_word... " >&6; }
13358 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13359 $as_echo_n "(cached) " >&6
13361 case $orig_target_objcopy in
13363 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13367 for as_dir
in $PATH
13370 test -z "$as_dir" && as_dir
=.
13371 for ac_exec_ext
in '' $ac_executable_extensions; do
13372 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13373 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13384 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13385 if test -n "$orig_target_objcopy"; then
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13387 $as_echo "$orig_target_objcopy" >&6; }
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13390 $as_echo "no" >&6; }
13394 orig_target_objcopy
="$orig_target_objcopy $ac_tool_optarg"
13398 if test "$orig_target_objcopy" = ""; then
13401 if test "$orig_target_objcopy" = "no"; then
13404 if test "$req_avail" = "no"; then
13405 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
13408 if test "${aros_tool_prefix}${toolchain_objdump}" = ""; then
13409 if test "$cross_compiling" = "yes" ; then
13410 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
13411 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13413 $as_echo_n "checking for $ac_word... " >&6; }
13414 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13415 $as_echo_n "(cached) " >&6
13417 case $orig_target_objdump in
13419 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13423 for as_dir
in $PATH
13426 test -z "$as_dir" && as_dir
=.
13427 for ac_exec_ext
in '' $ac_executable_extensions; do
13428 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13429 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13440 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13441 if test -n "$orig_target_objdump"; then
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13443 $as_echo "$orig_target_objdump" >&6; }
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13446 $as_echo "no" >&6; }
13451 if test "$GCC" = "yes"; then
13452 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
13453 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
13454 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13456 $as_echo_n "checking for $ac_word... " >&6; }
13457 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13458 $as_echo_n "(cached) " >&6
13460 case $orig_target_objdump in
13462 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13466 for as_dir
in `dirname $aros_gcc_objdump`
13469 test -z "$as_dir" && as_dir
=.
13470 for ac_exec_ext
in '' $ac_executable_extensions; do
13471 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13472 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13483 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13484 if test -n "$orig_target_objdump"; then
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13486 $as_echo "$orig_target_objdump" >&6; }
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13489 $as_echo "no" >&6; }
13494 if test "$orig_target_objdump" = ""; then
13495 # Extract the first word of "objdump", so it can be a program name with args.
13496 set dummy objdump
; ac_word
=$2
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13498 $as_echo_n "checking for $ac_word... " >&6; }
13499 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13500 $as_echo_n "(cached) " >&6
13502 case $orig_target_objdump in
13504 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13508 for as_dir
in $PATH
13511 test -z "$as_dir" && as_dir
=.
13512 for ac_exec_ext
in '' $ac_executable_extensions; do
13513 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13514 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13525 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13526 if test -n "$orig_target_objdump"; then
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13528 $as_echo "$orig_target_objdump" >&6; }
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13531 $as_echo "no" >&6; }
13538 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objdump}" : '[^ ]* \(.*\)'`
13539 # Extract the first word of "${aros_tool_prefix}${toolchain_objdump}", so it can be a program name with args.
13540 set dummy
${aros_tool_prefix}${toolchain_objdump}; ac_word
=$2
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13542 $as_echo_n "checking for $ac_word... " >&6; }
13543 if ${ac_cv_path_orig_target_objdump+:} false
; then :
13544 $as_echo_n "(cached) " >&6
13546 case $orig_target_objdump in
13548 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
13551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13552 for as_dir
in $PATH
13555 test -z "$as_dir" && as_dir
=.
13556 for ac_exec_ext
in '' $ac_executable_extensions; do
13557 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13558 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
13559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13569 orig_target_objdump
=$ac_cv_path_orig_target_objdump
13570 if test -n "$orig_target_objdump"; then
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
13572 $as_echo "$orig_target_objdump" >&6; }
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13575 $as_echo "no" >&6; }
13579 orig_target_objdump
="$orig_target_objdump $ac_tool_optarg"
13583 if test "$orig_target_objdump" = ""; then
13586 if test "$orig_target_objdump" = "no"; then
13589 if test "$req_avail" = "no"; then
13590 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
13594 if test "$kernel_tool_prefix" = "none" ; then
13595 # No kernel tools specified
13596 # Assume target tools == kernel tools with ELF wrapper
13597 aros_kernel_cc
=$orig_target_cc
13598 aros_kernel_cxx
=$orig_target_cxx
13599 aros_kernel_cpp
=$orig_target_cpp
13600 aros_kernel_ld
=$orig_target_ld
13601 aros_kernel_as
=$orig_target_as
13602 aros_kernel_ar
=$orig_target_ar
13603 aros_kernel_ranlib
=$orig_target_ranlib
13604 aros_kernel_nm
=$orig_target_nm
13605 aros_kernel_strip
=$orig_target_strip
13606 aros_kernel_objcopy
=$orig_target_objcopy
13607 aros_kernel_objdump
=$orig_target_objdump
13608 use_kernel_cc_wrapper
=yes
13611 # At this point, all aros_kernel_* and aros_target_*
13612 # tools should be set up correctly
13614 CC
="$aros_kernel_cc $kernel_tool_flags"
13615 CPP
="$aros_kernel_cpp"
13617 #-----------------------------------------------------------------------------
13619 # Find all the tools we need to compile. This could be cross-compiling
13620 # though! If that is the case we use the GNU form of the target and
13621 # simply add this to the front of the binary name. This is rather simple,
13622 # but it should work under most circumstances.
13624 # The default tools are to use the same as the host, but only if the
13625 # host and target CPU are the same. With GCC this is normally enough.
13629 aros_shared_ld
="$aros_host_ld"
13631 aros_target_mkdep
="$aros_host_mkdep"
13633 # The default tools executables to be linked to.
13634 if test "$rescomp" != ""; then
13635 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
13636 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13638 $as_echo_n "checking for $ac_word... " >&6; }
13639 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
13640 $as_echo_n "(cached) " >&6
13642 case $aros_kernel_rescomp in
13644 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
13647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13648 for as_dir
in $PATH
13651 test -z "$as_dir" && as_dir
=.
13652 for ac_exec_ext
in '' $ac_executable_extensions; do
13653 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13654 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
13655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13665 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
13666 if test -n "$aros_kernel_rescomp"; then
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
13668 $as_echo "$aros_kernel_rescomp" >&6; }
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13671 $as_echo "no" >&6; }
13676 if test "$aros_kernel_rescomp" = ""; then
13679 if test "$aros_kernel_rescomp" = "no"; then
13682 if test "$req_avail" = "no"; then
13683 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
13687 # Set up the sources for the symlink farm
13688 if test "$crosstools" = "yes"; then
13689 crosstools_target
=tools-crosstools
13692 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
13693 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
13695 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/host/config"
13696 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
13697 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Developer/include/aros"
13698 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
13699 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
13700 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
13701 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
13703 # aros_cc_pre is a variable that is added to the front of the compiler name
13704 # in the generated aros-gcc shell script. We need this to enable the cache
13705 # to work across cleaned builds. Also, support DISTCC using the correct
13706 # environment variable.
13709 if test "x${DISTCC}" != "x" ; then
13710 if test "x${CCACHE}" != "x" ; then
13711 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
13713 aros_cc_pre
="${DISTCC} "
13716 if test "x${CCACHE}" != "x" ; then
13717 aros_cc_pre
="${CCACHE} "
13721 aros_target_nostdinc_cflags
=-nostdinc
13723 aros_target_nostartup_ldflags
=-nostartfiles
13725 aros_target_nix_ldflags
=-nix
13727 aros_target_detach_ldflags
=-detach
13729 aros_target_nostdlib_ldflags
=-nostdlib
13734 if test "$aros_target_toolchain" != "yes"; then
13735 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
13736 if test "$GCC" = "yes"; then
13737 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
13740 # We do not know which c compiler version we are going to build and what we need to know
13741 # here is different for different versions so this will be set later during the
13742 # build of crosstools.
13743 if test "$aros_toolchain" = "gnu" ; then
13744 prefix
="$AROS_CROSSTOOLSDIR/${aros_target_cpu}-aros-"
13745 elif test "$aros_toolchain" = "llvm" ; then
13746 prefix
="$AROS_CROSSTOOLSDIR/bin/"
13748 aros_target_cc_path
=@aros_target_cc_path@
13750 aros_target_cpp
="${prefix}${toolchain_cpp_preprocessor}"
13751 aros_target_cc
="${prefix}${toolchain_c_compiler}"
13752 aros_target_cxx
="${prefix}${toolchain_cxx_compiler}"
13753 aros_target_as
="${prefix}${toolchain_as}"
13754 if test "${use_ld_wrapper}" = "yes"; then
13755 aros_target_ld
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${aros_ld}"
13757 aros_target_ld
="${prefix}${toolchain_ld}"
13759 aros_toolchain_ld
="${prefix}${toolchain_ld}"
13761 aros_target_ar
="${prefix}${toolchain_ar} $aros_target_ar_flags"
13762 aros_target_objcopy
="${prefix}${toolchain_objcopy}"
13763 aros_target_objdump
="${prefix}${toolchain_objdump}"
13764 aros_target_ranlib
="${prefix}${toolchain_ranlib} $aros_target_ranlib_flags"
13765 aros_target_nm
="${prefix}${toolchain_nm} $aros_target_nm_flags"
13766 aros_target_strip
="${prefix}${toolchain_strip}"
13767 aros_plain_nm
="${prefix}${toolchain_nm}"
13768 aros_plain_ar
="${prefix}${toolchain_ar}"
13770 # Check whether --enable-includes was given.
13771 if test "${enable_includes+set}" = set; then :
13772 enableval
=$enable_includes; aros_target_incl
=$enable_includes
13774 aros_target_incl
=`$aros_kernel_cc -print-sysroot`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
13778 if test "$aros_kernel_includes" = ""; then
13779 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
13780 aros_kernel_includes
="-isystem $aros_target_incl"
13784 if test "$aros_kernel_includes" != "" ; then
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
13786 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
13787 if test "$aros_kernel_cc_includes" = "" ; then
13788 # Try to guess where the directory is.
13789 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
13790 if test -d $aros_kernel_cc_includes; then
13791 # Check if there is also an include-fixed directory and add it
13792 # to kernel compiler's include path as it may contain some of
13793 # the headers we need.
13794 if test -d "$aros_kernel_cc_includes"-fixed; then
13795 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
13797 # Check for specific includes directory. Needed for Ubuntu 11.10 and Debian
13798 if test -d "/usr/include/${aros_target_cpu}-linux-gnu"; then
13799 aros_kernel_cc_includes
+=" -isystem /usr/include/${aros_target_cpu}-linux-gnu"
13802 # The directory doesn't exist, we need to do some more work.
13803 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
13805 # These are the headers we're looking for.
13806 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13807 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13811 for h
in $headers; do
13812 # Which other headers are needed by each of the above?
13813 deps
=$
(echo "#include <$h>" | \
13814 $aros_kernel_cc -E -M - 2>/dev
/null | \
13815 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13817 # Copy all the needed headers to a directory beneath gendir.
13820 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
13821 sed -n "s,^.*/include\(/.*\),\1,p")
13822 ! test -d $dir && mkdir
-p $dir
13823 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
13829 $as_echo "$aros_kernel_cc_includes" >&6; }
13830 # Adding -nostdinc to kernel includes as they are always used together.
13831 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
13834 if test "$crosstools" != "yes"; then
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
13836 $as_echo_n "checking for the target compiler's include path... " >&6; }
13837 if test "$aros_target_cc_includes" = "" ; then
13838 #try to guess where the directory is
13839 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
13840 if ! test -d $aros_target_cc_includes; then
13841 #the directory doesn't exist, we need to do some more work
13842 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
13844 #these are the headers we're looking for
13845 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
13846 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
13850 for h
in $headers; do
13851 #which other headers each of the above headers needs?
13852 deps
=$
(echo "#include <$h>" | \
13853 $orig_target_cc -E -M - 2>/dev
/null | \
13854 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
13856 #copy all the needed headers to a directory beneath gendir
13859 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
13860 sed -n "s,^.*/include\(/.*\),\1,p")
13861 ! test -d $dir && mkdir
-p $dir
13862 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
13868 $as_echo "$aros_target_cc_includes" >&6; }
13870 # We do not know which c compiler version we are going to build and what we need to know
13871 # here is different for different versions so this will be set later during the
13872 # build of crosstools.
13873 aros_target_cc_includes
=@aros_target_cc_includes@
13877 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
13878 # On GCC >= 4.0 -iquote should be used
13882 save_cflags
="$CFLAGS"
13884 kernel_cflags_iquote
=$host_cflags_iquote
13885 kernel_cflags_iquote_end
=$host_cflags_iquote_end
13886 if test "x-$cross_compiling" = "x-yes"; then
13887 CC
="$aros_kernel_cc"
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
13889 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
13890 if test "x-$crosstools" != "x-yes"; then
13891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13892 /* end confdefs.h. */
13902 if ac_fn_c_try_compile
"$LINENO"; then :
13903 use_no_stack_protector
="yes"
13905 use_no_stack_protector
="no"
13907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13909 # we do know it is supported for the smallest version of gcc we are going to build
13910 # we assume it's also supported by later versions
13911 use_no_stack_protector
=yes
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
13914 $as_echo "$use_no_stack_protector" >&6; }
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
13916 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
13917 if test "x-$crosstools" != "x-yes"; then
13918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13919 /* end confdefs.h. */
13929 if ac_fn_c_try_compile
"$LINENO"; then :
13934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13936 # we do know it is supported for the smallest version of gcc we are going to build
13937 # we assume it's also supported by later versions
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
13941 $as_echo "$has_iquote" >&6; }
13942 if test "x-$has_iquote" = "x-yes" ; then
13943 kernel_cflags_iquote
=-iquote
13944 kernel_cflags_iquote_end
=
13946 kernel_cflags_iquote
=-I
13947 kernel_cflags_iquote_end
=-I-
13950 if test "x-$use_no_stack_protector" = "x-yes" ; then
13951 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
13954 #-----------------------------------------------------------------------------
13956 # Check if we can explicitly choose older version of symbol hashing
13958 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
13959 CC
="$aros_kernel_cc"
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
13961 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
13962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13963 /* end confdefs.h. */
13973 if ac_fn_c_try_link
"$LINENO"; then :
13974 use_hash_style
="yes"
13976 use_hash_style
="no"
13978 rm -f core conftest.err conftest.
$ac_objext \
13979 conftest
$ac_exeext conftest.
$ac_ext
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
13981 $as_echo "$use_hash_style" >&6; }
13982 if test "x-$use_hash_style" = "x-yes" ; then
13983 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
13986 CFLAGS
="$save_cflags"
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
13995 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
13997 # Check whether --with-resolution was given.
13998 if test "${with_resolution+set}" = set; then :
13999 withval
=$with_resolution; resolution
=$withval
14004 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
14005 if test "$resolution" = "yes" ; then
14008 if test "$resolution" = "no" ; then
14011 if test "$resolution" != "none" ; then
14012 aros_nominal_width
=`echo $resolution | cut -d'x' -f1`
14013 aros_nominal_height
=`echo $resolution | cut -d'x' -f2`
14014 aros_nominal_depth
=`echo $resolution | cut -d'x' -f3`
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&5
14017 $as_echo "$aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&6; }
14018 aros_cv_nominal_width
=$aros_nominal_width
14019 aros_cv_nominal_height
=$aros_nominal_height
14020 aros_cv_nominal_depth
=$aros_nominal_depth
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether serial debug is enabled" >&5
14023 $as_echo_n "checking whether serial debug is enabled... " >&6; }
14025 # Check whether --with-serial-debug was given.
14026 if test "${with_serial_debug+set}" = set; then :
14027 withval
=$with_serial_debug; serial_debug
=$withval
14032 if test "$aros_serial_debug" = 0 ; then
14033 serial_debug_forced
=""
14034 if test "$serial_debug" = "yes" ; then
14037 if test "$serial_debug" = "no" ; then
14038 serial_debug
="none"
14041 serial_debug_forced
="(forced)"
14042 serial_debug
=$aros_serial_debug
14044 if test "$serial_debug" != "none" ; then
14045 aros_serial_debug
=$serial_debug
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
14047 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14050 $as_echo "no" >&6; }
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether palm debug hack is enabled" >&5
14054 $as_echo_n "checking whether palm debug hack is enabled... " >&6; }
14055 # Check whether --enable-palm_debug_hack was given.
14056 if test "${enable_palm_debug_hack+set}" = set; then :
14057 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
14059 palm_debug_hack
="no"
14062 if test "$palm_debug_hack" = "yes" ; then
14063 aros_palm_debug_hack
="1"
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
14066 $as_echo "$palm_debug_hack" >&6; }
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usb3.0 code is enabled" >&5
14069 $as_echo_n "checking whether usb3.0 code is enabled... " >&6; }
14070 # Check whether --enable-usb30_code was given.
14071 if test "${enable_usb30_code+set}" = set; then :
14072 enableval
=$enable_usb30_code; usb30_code
="yes"
14077 if test "$usb30_code" = "yes" ; then
14078 aros_config_cppflags
="$aros_config_cppflags -DAROS_USB30_CODE"
14079 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
14082 $as_echo "$usb30_code" >&6; }
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether nesting supervisor support is enabled" >&5
14085 $as_echo_n "checking whether nesting supervisor support is enabled... " >&6; }
14086 # Check whether --enable-nesting_supervisor was given.
14087 if test "${enable_nesting_supervisor+set}" = set; then :
14088 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
14090 nesting_supervisor
="no"
14093 if test "$nesting_supervisor" = "yes" ; then
14094 aros_nesting_supervisor
="1"
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
14097 $as_echo "$nesting_supervisor" >&6; }
14099 if test "$aros_enable_mmu" = "" ; then
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MMU support is enabled" >&5
14101 $as_echo_n "checking whether MMU support is enabled... " >&6; }
14102 # Check whether --enable-mmu was given.
14103 if test "${enable_mmu+set}" = set; then :
14104 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
14106 aros_enable_mmu
="yes"
14109 if test "$aros_enable_mmu" = "" ; then
14110 aros_enable_mmu
="yes"
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
14113 $as_echo "$aros_enable_mmu" >&6; }
14115 if test "$aros_enable_mmu" = "no" ; then
14116 aros_enable_mmu
="0"
14118 aros_enable_mmu
="1"
14122 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
14124 if test "x-$need_dlopen" != "x-no" ; then
14127 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
14128 if test "x$ac_cv_func_dlopen" = xyes
; then :
14134 if test "x-$have_dl" = "x-no" ; then
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14136 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14137 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14138 $as_echo_n "(cached) " >&6
14140 ac_check_lib_save_LIBS
=$LIBS
14142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14143 /* end confdefs.h. */
14145 /* Override any GCC internal prototype to avoid an error.
14146 Use char because int might match the return type of a GCC
14147 builtin and then its argument prototype would still apply. */
14160 if ac_fn_c_try_link
"$LINENO"; then :
14161 ac_cv_lib_dl_dlopen
=yes
14163 ac_cv_lib_dl_dlopen
=no
14165 rm -f core conftest.err conftest.
$ac_objext \
14166 conftest
$ac_exeext conftest.
$ac_ext
14167 LIBS
=$ac_check_lib_save_LIBS
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14170 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14171 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14173 aros_host_ldflags
="$aros_host_ldflags -ldl"
14179 if test "x-$have_dl" = "x-no" ; then
14180 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
14186 # Check whether --enable-x11_hidd was given.
14187 if test "${enable_x11_hidd+set}" = set; then :
14188 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
14190 x11_hidd
="$need_x11"
14193 case "x-$x11_hidd" in
14194 x-yes|x-no|x-auto
) ;;
14195 *) x11_hidd
="$need_x11" ;;
14200 if test "x-$x11_hidd" != "x-no" ; then
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
14203 $as_echo_n "checking for X... " >&6; }
14206 # Check whether --with-x was given.
14207 if test "${with_x+set}" = set; then :
14211 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
14212 if test "x$with_x" = xno
; then
14213 # The user explicitly disabled X.
14216 case $x_includes,$x_libraries in #(
14217 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
14218 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
14219 $as_echo_n "(cached) " >&6
14221 # One or both of the vars are not set, and there is no cached value.
14222 ac_x_includes
=no ac_x_libraries
=no
14223 rm -f -r conftest.dir
14224 if mkdir conftest.dir
; then
14226 cat >Imakefile
<<'_ACEOF'
14228 @echo incroot='${INCROOT}'
14230 @echo usrlibdir='${USRLIBDIR}'
14232 @echo libdir='${LIBDIR}'
14234 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
14235 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14236 for ac_var
in incroot usrlibdir libdir
; do
14237 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14239 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14240 for ac_extension
in a so sl dylib la dll
; do
14241 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14242 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14243 ac_im_usrlibdir
=$ac_im_libdir; break
14246 # Screen out bogus values from the imake configuration. They are
14247 # bogus both because they are the default anyway, and because
14248 # using them would break gcc on systems where it needs fixed includes.
14249 case $ac_im_incroot in
14250 /usr
/include
) ac_x_includes
= ;;
14251 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
14253 case $ac_im_usrlibdir in
14254 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
14255 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
14259 rm -f -r conftest.dir
14262 # Standard set of common directories for X headers.
14263 # Check X11 before X11Rn because it is often a symlink to the current release.
14277 /usr/local/X11/include
14278 /usr/local/X11R7/include
14279 /usr/local/X11R6/include
14280 /usr/local/X11R5/include
14281 /usr/local/X11R4/include
14283 /usr/local/include/X11
14284 /usr/local/include/X11R7
14285 /usr/local/include/X11R6
14286 /usr/local/include/X11R5
14287 /usr/local/include/X11R4
14291 /usr/XFree86/include/X11
14295 /usr/unsupported/include
14296 /usr/athena/include
14297 /usr/local/x11r5/include
14298 /usr/lpp/Xamples/include
14300 /usr/openwin/include
14301 /usr/openwin/share/include'
14303 if test "$ac_x_includes" = no
; then
14304 # Guess where to find include files, by looking for Xlib.h.
14305 # First, try using that file with no special directory specified.
14306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14307 /* end confdefs.h. */
14308 #include <X11/Xlib.h>
14310 if ac_fn_c_try_cpp
"$LINENO"; then :
14311 # We can compile using X headers with no special include directory.
14314 for ac_dir
in $ac_x_header_dirs; do
14315 if test -r "$ac_dir/X11/Xlib.h"; then
14316 ac_x_includes
=$ac_dir
14321 rm -f conftest.err conftest.i conftest.
$ac_ext
14322 fi # $ac_x_includes = no
14324 if test "$ac_x_libraries" = no
; then
14325 # Check for the libraries.
14326 # See if we find them without any special options.
14327 # Don't add to $LIBS permanently.
14330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14331 /* end confdefs.h. */
14332 #include <X11/Xlib.h>
14341 if ac_fn_c_try_link
"$LINENO"; then :
14343 # We can link X programs with no special library path.
14347 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14349 # Don't even attempt the hair of trying to link an X program!
14350 for ac_extension
in a so sl dylib la dll
; do
14351 if test -r "$ac_dir/libX11.$ac_extension"; then
14352 ac_x_libraries
=$ac_dir
14358 rm -f core conftest.err conftest.
$ac_objext \
14359 conftest
$ac_exeext conftest.
$ac_ext
14360 fi # $ac_x_libraries = no
14362 case $ac_x_includes,$ac_x_libraries in #(
14363 no
,* |
*,no |
*\'*)
14364 # Didn't find X, or a directory has "'" in its name.
14365 ac_cv_have_x
="have_x=no";; #(
14367 # Record where we found X for the cache.
14368 ac_cv_have_x
="have_x=yes\
14369 ac_x_includes='$ac_x_includes'\
14370 ac_x_libraries='$ac_x_libraries'"
14376 eval "$ac_cv_have_x"
14379 if test "$have_x" != yes; then
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14381 $as_echo "$have_x" >&6; }
14384 # If each of the values was on the command line, it overrides each guess.
14385 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
14386 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
14387 # Update the cache value to reflect the command line values.
14388 ac_cv_have_x
="have_x=yes\
14389 ac_x_includes='$x_includes'\
14390 ac_x_libraries='$x_libraries'"
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14392 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
14396 if test -n "$x_includes"; then
14397 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14400 if test -n "$x_libraries"; then
14401 X_LIBS
="$X_LIBS -L$x_libraries"
14404 if test "x-$no_x" = "x-yes" ; then
14406 if test "x-$x11_hidd" != "x-auto" ; then
14407 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
14414 aros_host_x11_cflags
="$X_CFLAGS"
14415 aros_host_x11_ldflags
="$X_LIBS -lX11"
14417 # Check whether --enable-x11_shm was given.
14418 if test "${enable_x11_shm+set}" = set; then :
14419 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
14421 x11_hidd_shm
="auto"
14424 case "x-$x11_hidd_shm" in
14425 x-yes|x-no|x-auto
) ;;
14426 *) x11_hidd_shm
="auto" ;;
14431 if test "x-$x11_hidd_shm" != "x-no" ; then
14433 for ac_header
in sys
/ipc.h
14435 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
14436 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
14437 cat >>confdefs.h
<<_ACEOF
14438 #define HAVE_SYS_IPC_H 1
14445 for ac_header
in sys
/shm.h
14447 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
14448 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
14449 cat >>confdefs.h
<<_ACEOF
14450 #define HAVE_SYS_SHM_H 1
14458 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
14460 save_cflags
="$CFLAGS"
14461 save_ldflags
="$LDFLAGS"
14462 CFLAGS
="$CFLAGS $X_CFLAGS"
14463 LDFLAGS
="$LDFLAGS $X_LIBS"
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14465 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
14466 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
14467 $as_echo_n "(cached) " >&6
14469 ac_check_lib_save_LIBS
=$LIBS
14470 LIBS
="-lXext $LIBS"
14471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14472 /* end confdefs.h. */
14474 /* Override any GCC internal prototype to avoid an error.
14475 Use char because int might match the return type of a GCC
14476 builtin and then its argument prototype would still apply. */
14480 char XShmQueryExtension ();
14484 return XShmQueryExtension ();
14489 if ac_fn_c_try_link
"$LINENO"; then :
14490 ac_cv_lib_Xext_XShmQueryExtension
=yes
14492 ac_cv_lib_Xext_XShmQueryExtension
=no
14494 rm -f core conftest.err conftest.
$ac_objext \
14495 conftest
$ac_exeext conftest.
$ac_ext
14496 LIBS
=$ac_check_lib_save_LIBS
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14499 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14500 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
14504 CFLAGS
="$save_cflags"
14505 LDFLAGS
="$save_ldflags"
14509 if test "x-$have_xshm" = "x-yes" ; then
14510 DO_XSHM_SUPPORT
="1"
14511 elif test "x-$x11_hidd_shm" = "x-yes" ; then
14512 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
14514 DO_XSHM_SUPPORT
="0"
14518 # Check whether --enable-x11_vidmode was given.
14519 if test "${enable_x11_vidmode+set}" = set; then :
14520 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
14522 x11_hidd_vidmode
="auto"
14525 case "x-$x11_hidd_vidmode" in
14526 x-yes|x-no|x-auto
) ;;
14527 *) x11_hidd_vidmode
="auto" ;;
14532 if test "x-$x11_hidd_vidmode" != "x-no" ; then
14534 save_cflags
="$CFLAGS"
14535 save_ldflags
="$LDFLAGS"
14536 CFLAGS
="$CFLAGS $X_CFLAGS"
14537 LDFLAGS
="$LDFLAGS $X_LIBS"
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
14539 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
14540 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
14541 $as_echo_n "(cached) " >&6
14543 ac_check_lib_save_LIBS
=$LIBS
14544 LIBS
="-lXxf86vm $LIBS"
14545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14546 /* end confdefs.h. */
14548 /* Override any GCC internal prototype to avoid an error.
14549 Use char because int might match the return type of a GCC
14550 builtin and then its argument prototype would still apply. */
14554 char XF86VidModeQueryExtension ();
14558 return XF86VidModeQueryExtension ();
14563 if ac_fn_c_try_link
"$LINENO"; then :
14564 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
14566 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
14568 rm -f core conftest.err conftest.
$ac_objext \
14569 conftest
$ac_exeext conftest.
$ac_ext
14570 LIBS
=$ac_check_lib_save_LIBS
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
14573 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
14574 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
14578 CFLAGS
="$save_cflags"
14579 LDFLAGS
="$save_ldflags"
14582 if test "x-$have_vidmode" = "x-yes" ; then
14583 DO_VIDMODE_SUPPORT
="1"
14584 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
14585 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
14587 DO_VIDMODE_SUPPORT
="0"
14592 # Check whether --enable-sdl_hidd was given.
14593 if test "${enable_sdl_hidd+set}" = set; then :
14594 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
14599 case "x-$sdl_hidd" in
14600 x-yes|x-no|x-auto
) ;;
14601 *) sdl_hidd
="auto" ;;
14604 if test "x-$sdl_hidd" != "x-no" ; then
14608 # Check whether --with-sdl-prefix was given.
14609 if test "${with_sdl_prefix+set}" = set; then :
14610 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
14616 # Check whether --with-sdl-exec-prefix was given.
14617 if test "${with_sdl_exec_prefix+set}" = set; then :
14618 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
14623 # Check whether --enable-sdltest was given.
14624 if test "${enable_sdltest+set}" = set; then :
14625 enableval
=$enable_sdltest;
14631 if test x
$sdl_exec_prefix != x
; then
14632 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
14633 if test x
${SDL_CONFIG+set} != xset
; then
14634 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
14637 if test x
$sdl_prefix != x
; then
14638 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
14639 if test x
${SDL_CONFIG+set} != xset
; then
14640 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
14644 as_save_PATH
="$PATH"
14645 if test "x$prefix" != xNONE
; then
14646 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
14648 # Extract the first word of "sdl-config", so it can be a program name with args.
14649 set dummy sdl-config
; ac_word
=$2
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14651 $as_echo_n "checking for $ac_word... " >&6; }
14652 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
14653 $as_echo_n "(cached) " >&6
14655 case $SDL_CONFIG in
14657 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
14660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14661 for as_dir
in $PATH
14664 test -z "$as_dir" && as_dir
=.
14665 for ac_exec_ext
in '' $ac_executable_extensions; do
14666 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14667 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14675 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
14679 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
14680 if test -n "$SDL_CONFIG"; then
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
14682 $as_echo "$SDL_CONFIG" >&6; }
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14685 $as_echo "no" >&6; }
14689 PATH
="$as_save_PATH"
14690 min_sdl_version
=$SDL_VERSION
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
14692 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
14694 if test "$SDL_CONFIG" = "no" ; then
14697 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
14698 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
14700 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
14701 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
14702 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
14703 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
14704 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
14705 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
14706 if test "x$enable_sdltest" = "xyes" ; then
14707 ac_save_CFLAGS
="$CFLAGS"
14708 ac_save_CXXFLAGS
="$CXXFLAGS"
14709 ac_save_LIBS
="$LIBS"
14710 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14711 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14712 LIBS
="$LIBS $SDL_LIBS"
14714 if test "$cross_compiling" = yes; then :
14715 echo $ac_n "cross compiling; assumed OK... $ac_c"
14717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14718 /* end confdefs.h. */
14721 #include <stdlib.h>
14722 #include <string.h>
14726 my_strdup (char *str)
14732 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
14733 strcpy (new_str, str);
14741 int main (int argc, char *argv[])
14743 int major, minor, micro;
14746 /* This hangs on some systems (?)
14747 system ("touch conf.sdltest");
14749 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
14751 /* HP/UX 9 (%@#!) writes to sscanf strings */
14752 tmp_version = my_strdup("$min_sdl_version");
14753 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
14754 printf("%s, bad version string\n", "$min_sdl_version");
14758 if (($sdl_major_version > major) ||
14759 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
14760 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
14766 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
14767 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
14768 printf("*** best to upgrade to the required version.\n");
14769 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
14770 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
14771 printf("*** config.cache before re-running configure\n");
14778 if ac_fn_c_try_run
"$LINENO"; then :
14783 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14784 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14787 CFLAGS
="$ac_save_CFLAGS"
14788 CXXFLAGS
="$ac_save_CXXFLAGS"
14789 LIBS
="$ac_save_LIBS"
14792 if test "x$no_sdl" = x
; then
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14794 $as_echo "yes" >&6; }
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14798 $as_echo "no" >&6; }
14799 if test "$SDL_CONFIG" = "no" ; then
14800 echo "*** The sdl-config script installed by SDL could not be found"
14801 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
14802 echo "*** your path, or set the SDL_CONFIG environment variable to the"
14803 echo "*** full path to sdl-config."
14805 if test -f conf.sdltest
; then
14808 echo "*** Could not run SDL test program, checking why..."
14809 CFLAGS
="$CFLAGS $SDL_CFLAGS"
14810 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
14811 LIBS
="$LIBS $SDL_LIBS"
14812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14813 /* end confdefs.h. */
14818 int main(int argc, char *argv[])
14821 #define main K_and_R_C_main
14831 if ac_fn_c_try_link
"$LINENO"; then :
14832 echo "*** The test program compiled, but did not run. This usually means"
14833 echo "*** that the run-time linker is not finding SDL or finding the wrong"
14834 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
14835 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14836 echo "*** to the installed location Also, make sure you have run ldconfig if that"
14837 echo "*** is required on your system"
14839 echo "*** If you have an old version installed, it is best to remove it, although"
14840 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14842 echo "*** The test program failed to compile or link. See the file config.log for the"
14843 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
14844 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
14845 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
14847 rm -f core conftest.err conftest.
$ac_objext \
14848 conftest
$ac_exeext conftest.
$ac_ext
14849 CFLAGS
="$ac_save_CFLAGS"
14850 CXXFLAGS
="$ac_save_CXXFLAGS"
14851 LIBS
="$ac_save_LIBS"
14863 if test "x-$have_sdl" != "x-yes" ; then
14865 if test "x-$sdl_hidd" != "x-auto" ; then
14866 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
14871 aros_host_sdl_cflags
=$SDL_CFLAGS
14872 aros_host_sdl_libs
=$SDL_LIBS
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether building of dbus.library is enabled" >&5
14880 $as_echo_n "checking whether building of dbus.library is enabled... " >&6; }
14881 # Check whether --enable-dbus was given.
14882 if test "${enable_dbus+set}" = set; then :
14883 enableval
=$enable_dbus; dbus
="yes"
14888 if test "$dbus" = "yes" ; then
14890 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
14891 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
14892 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
14893 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
14898 $as_echo "$dbus" >&6; }
14900 if test "$use_kernel_cc_wrapper" = "yes" ; then
14901 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-${toolchain_c_compiler}"
14904 aros_kernel_cppflags
=$aros_config_cppflags
14905 aros_optimization_cflags
="$optimization_level"
14906 if test "$optimization" = "default"; then
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default optimization level to use" >&5
14908 $as_echo_n "checking default optimization level to use... " >&6; }
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization_level" >&5
14910 $as_echo "$optimization_level" >&6; }
14928 # Compatability with other Amiga-like operation systems
15040 # Hosted Graphics Related
15058 # Native version related
15063 # Palm native version related
15066 # Unix/Hosted version related
15072 # Apple iOS related
15077 # ARM default GCC target related
15105 # Collect-aros stuff: "-ius" to ignore undefined symbols
15108 # C compiler related
15113 #ObjC compiler related
15122 case "$aros_flavour" in
15123 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
15124 aros_flavour
="emulation" ;;
15125 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
15126 aros_flavour
="emulation" ;;
15127 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
15128 aros_flavour
="standalone";;
15129 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15130 aros_flavour
="standalone";;
15131 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
15132 aros_flavour
="native" ;;
15133 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
15134 aros_flavour
="native" ;;
15135 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
15136 aros_flavour
="linklib" ;;
15137 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15138 aros_flavour
="palmnative" ;;
15139 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15140 aros_flavour
="mac68knative" ;;
15141 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15142 aros_flavour
="ppcnative" ;;
15145 if test ! -d ${aros_inc_dir} ; then
15146 ${MKDIR} ${aros_inc_dir}
15148 if test ! -d ${aros_geninc_dir} ; then
15149 ${MKDIR} ${aros_geninc_dir}
15151 if test ! -d ${aros_hostcfg_dir} ; then
15152 ${MKDIR} ${aros_hostcfg_dir}
15154 if test ! -d ${aros_targetcfg_dir} ; then
15155 ${MKDIR} ${aros_targetcfg_dir}
15157 if test ! -d ${aros_tools_dir} ; then
15158 ${MKDIR} ${aros_tools_dir}
15160 if test ! -d ${aros_scripts_dir} ; then
15161 ${MKDIR} ${aros_scripts_dir}
15164 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
15167 # Generic build tools (metamake, etc)
15168 ac_config_commands
="$ac_config_commands genmf-executable-support"
15170 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"
15174 ac_config_commands
="$ac_config_commands binutils-support"
15176 if test "${use_ld_wrapper}" = "yes"; then
15177 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"
15180 # Bare Elf support script and spec
15181 if test "${use_kernel_cc_wrapper}" = "yes"; then
15182 ac_config_commands
="$ac_config_commands elf-compiler-support"
15184 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"
15188 # Host compiler support scripts and spec
15189 if test "${aros_target_toolchain}" = "no"; then
15190 ac_config_commands
="$ac_config_commands host-compiler-wrapper-support"
15192 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"
15197 if test "$aros_target_variant" == "android"; then
15198 ac_config_files
="$ac_config_files ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in"
15203 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in"
15206 cat >confcache
<<\_ACEOF
15207 # This file is a shell script that caches the results of configure
15208 # tests run on this system so they can be shared between configure
15209 # scripts and configure runs, see configure's option --config-cache.
15210 # It is not useful on other systems. If it contains results you don't
15211 # want to keep, you may remove or edit it.
15213 # config.status only pays attention to the cache file if you give it
15214 # the --recheck option to rerun configure.
15216 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15217 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15218 # following values.
15222 # The following way of writing the cache mishandles newlines in values,
15223 # but we know of no workaround that is simple, portable, and efficient.
15224 # So, we kill variables containing newlines.
15225 # Ultrix sh set writes to stderr and can't be redirected directly,
15226 # and sets the high bit in the cache file unless we assign to the vars.
15228 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15229 eval ac_val
=\$
$ac_var
15233 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15234 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15237 _ | IFS | as_nl
) ;; #(
15238 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15239 *) { eval $ac_var=; unset $ac_var;} ;;
15245 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15246 *${as_nl}ac_space
=\
*)
15247 # `set' does not quote correctly, so add quotes: double-quote
15248 # substitution turns \\\\ into \\, and sed turns \\ into \.
15251 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15254 # `set' quotes correctly as required by POSIX, so do not add quotes.
15255 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15264 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15266 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15268 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15269 if test -w "$cache_file"; then
15270 if test "x$cache_file" != "x/dev/null"; then
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15272 $as_echo "$as_me: updating cache $cache_file" >&6;}
15273 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15274 cat confcache
>"$cache_file"
15276 case $cache_file in #(
15278 mv -f confcache
"$cache_file"$$
&&
15279 mv -f "$cache_file"$$
"$cache_file" ;; #(
15281 mv -f confcache
"$cache_file" ;;
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15287 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15292 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15293 # Let make expand exec_prefix.
15294 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15296 DEFS
=-DHAVE_CONFIG_H
15301 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15302 # 1. Remove the extension, and $U if already installed.
15303 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15304 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15305 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15306 # will be set to the directory where LIBOBJS objects are built.
15307 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15308 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15310 LIBOBJS
=$ac_libobjs
15312 LTLIBOBJS
=$ac_ltlibobjs
15316 : "${CONFIG_STATUS=./config.status}"
15318 ac_clean_files_save
=$ac_clean_files
15319 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15321 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15323 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15325 # Generated by $as_me.
15326 # Run this file to recreate the current configuration.
15327 # Compiler output produced by configure, useful for debugging
15328 # configure, is in config.log if it exists.
15331 ac_cs_recheck=false
15334 SHELL=\${CONFIG_SHELL-$SHELL}
15337 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15338 ## -------------------- ##
15339 ## M4sh Initialization. ##
15340 ## -------------------- ##
15342 # Be more Bourne compatible
15343 DUALCASE
=1; export DUALCASE
# for MKS sh
15344 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15347 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15348 # is contrary to our usage. Disable this feature.
15349 alias -g '${1+"$@"}'='"$@"'
15350 setopt NO_GLOB_SUBST
15352 case `(set -o) 2>/dev/null` in #(
15364 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15365 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15366 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15367 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15368 # Prefer a ksh shell builtin over an external printf program on Solaris,
15369 # but without wasting forks for bash or zsh.
15370 if test -z "$BASH_VERSION$ZSH_VERSION" \
15371 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15372 as_echo='print
-r --'
15373 as_echo_n='print
-rn --'
15374 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15375 as_echo='printf %s
\n'
15376 as_echo_n='printf %s
'
15378 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15379 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15380 as_echo_n='/usr
/ucb
/echo -n'
15382 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15383 as_echo_n_body='eval
15387 expr "X$arg" : "X\\(.*\\)$as_nl";
15388 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15390 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15392 export as_echo_n_body
15393 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15395 export as_echo_body
15396 as_echo='sh
-c $as_echo_body as_echo
'
15399 # The user is always right.
15400 if test "${PATH_SEPARATOR+set}" != set; then
15402 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15403 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15410 # We need space, tab and new line, in precisely that order. Quoting is
15411 # there to prevent editors from complaining about space-tab.
15412 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15413 # splitting by setting IFS to empty value.)
15416 # Find who we are. Look in the path if we contain no directory separator.
15419 *[\\/]* ) as_myself=$0 ;;
15420 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15421 for as_dir in $PATH
15424 test -z "$as_dir" && as_dir=.
15425 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15431 # We did not find ourselves, most probably we were run as `sh COMMAND'
15432 # in which case we are not to be found in the path.
15433 if test "x$as_myself" = x
; then
15436 if test ! -f "$as_myself"; then
15437 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15441 # Unset variables that we do not need and which cause bugs (e.g. in
15442 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15443 # suppresses any "Segmentation fault" message there. '((' could
15444 # trigger a bug in pdksh 5.2.14.
15445 for as_var
in BASH_ENV ENV MAIL MAILPATH
15446 do eval test x\
${$as_var+set} = xset \
15447 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15460 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15463 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15464 # ----------------------------------------
15465 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15466 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15467 # script with STATUS, using 1 if that was 0.
15470 as_status
=$1; test $as_status -eq 0 && as_status
=1
15472 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15473 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15475 $as_echo "$as_me: error: $2" >&2
15476 as_fn_exit
$as_status
15480 # as_fn_set_status STATUS
15481 # -----------------------
15482 # Set $? to STATUS, without forking.
15483 as_fn_set_status
()
15486 } # as_fn_set_status
15488 # as_fn_exit STATUS
15489 # -----------------
15490 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15494 as_fn_set_status
$1
15500 # Portably unset VAR.
15503 { eval $1=; unset $1;}
15505 as_unset
=as_fn_unset
15506 # as_fn_append VAR VALUE
15507 # ----------------------
15508 # Append the text in VALUE to the end of the definition contained in VAR. Take
15509 # advantage of any shell optimizations that allow amortized linear growth over
15510 # repeated appends, instead of the typical quadratic growth present in naive
15512 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15513 eval 'as_fn_append ()
15524 # as_fn_arith ARG...
15525 # ------------------
15526 # Perform arithmetic evaluation on the ARGs, and store the result in the
15527 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15528 # must be portable across $(()) and expr.
15529 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15530 eval 'as_fn_arith ()
15537 as_val
=`expr "$@" || test $? -eq 1`
15542 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15543 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15549 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15550 as_basename
=basename
15555 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15561 as_me
=`$as_basename -- "$0" ||
15562 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15563 X"$0" : 'X\(//\)$' \| \
15564 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15566 sed '/^.*\/\([^/][^/]*\)\/*$/{
15580 # Avoid depending upon Character Ranges.
15581 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15582 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15583 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15584 as_cr_digits
='0123456789'
15585 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15587 ECHO_C
= ECHO_N
= ECHO_T
=
15588 case `echo -n x` in #(((((
15590 case `echo 'xy\c'` in
15591 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15593 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15600 rm -f conf$$ conf$$.exe conf$$.
file
15601 if test -d conf$$.dir
; then
15602 rm -f conf$$.dir
/conf$$.
file
15605 mkdir conf$$.dir
2>/dev
/null
15607 if (echo >conf$$.
file) 2>/dev
/null
; then
15608 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15610 # ... but there are two gotchas:
15611 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15612 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15613 # In both cases, we have to default to `cp -pR'.
15614 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15616 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15624 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15625 rmdir conf$$.dir
2>/dev
/null
15630 # Create "$as_dir" as a directory, including parents if necessary.
15635 -*) as_dir
=.
/$as_dir;;
15637 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15641 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15642 *) as_qdir
=$as_dir;;
15644 as_dirs
="'$as_qdir' $as_dirs"
15645 as_dir
=`$as_dirname -- "$as_dir" ||
15646 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15647 X"$as_dir" : 'X\(//\)[^/]' \| \
15648 X"$as_dir" : 'X\(//\)$' \| \
15649 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15650 $as_echo X"$as_dir" |
15651 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15655 /^X\(\/\/\)[^/].*/{
15668 test -d "$as_dir" && break
15670 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15671 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15675 if mkdir
-p .
2>/dev
/null
; then
15676 as_mkdir_p
='mkdir -p "$as_dir"'
15678 test -d .
/-p && rmdir .
/-p
15683 # as_fn_executable_p FILE
15684 # -----------------------
15685 # Test if FILE is an executable regular file.
15686 as_fn_executable_p
()
15688 test -f "$1" && test -x "$1"
15689 } # as_fn_executable_p
15690 as_test_x
='test -x'
15691 as_executable_p
=as_fn_executable_p
15693 # Sed expression to map a string onto a valid CPP name.
15694 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15696 # Sed expression to map a string onto a valid variable name.
15697 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15701 ## ----------------------------------- ##
15702 ## Main body of $CONFIG_STATUS script. ##
15703 ## ----------------------------------- ##
15705 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15708 # Save the log message, to keep $0 and so on meaningful, and to
15709 # report actual input values of CONFIG_FILES etc. instead of their
15710 # values after options handling.
15712 This file was extended by $as_me, which was
15713 generated by GNU Autoconf 2.69. Invocation command line was
15715 CONFIG_FILES = $CONFIG_FILES
15716 CONFIG_HEADERS = $CONFIG_HEADERS
15717 CONFIG_LINKS = $CONFIG_LINKS
15718 CONFIG_COMMANDS = $CONFIG_COMMANDS
15721 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15726 case $ac_config_files in *"
15727 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15730 case $ac_config_headers in *"
15731 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15736 # Files that config.status was made for.
15737 config_files="$ac_config_files"
15738 config_headers="$ac_config_headers"
15739 config_commands="$ac_config_commands"
15743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15745 \`$as_me' instantiates files and other configuration actions
15746 from templates according to the current configuration. Unless the files
15747 and actions are specified as TAGs, all are instantiated by default.
15749 Usage: $0 [OPTION]... [TAG]...
15751 -h, --help print this help, then exit
15752 -V, --version print version number and configuration settings, then exit
15753 --config print configuration, then exit
15754 -q, --quiet, --silent
15755 do not print progress messages
15756 -d, --debug don't remove temporary files
15757 --recheck update $as_me by reconfiguring in the same conditions
15758 --file=FILE[:TEMPLATE]
15759 instantiate the configuration file FILE
15760 --header=FILE[:TEMPLATE]
15761 instantiate the configuration header FILE
15763 Configuration files:
15766 Configuration headers:
15769 Configuration commands:
15772 Report bugs to the package provider."
15775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15776 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15779 configured by $0, generated by GNU Autoconf 2.69,
15780 with options \\"\$ac_cs_config\\"
15782 Copyright (C) 2012 Free Software Foundation, Inc.
15783 This config.status script is free software; the Free Software Foundation
15784 gives unlimited permission to copy, distribute and modify it."
15788 test -n "\$AWK" || AWK=awk
15791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15792 # The default lists apply if the user does not specify any file.
15798 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15799 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15803 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15815 # Handling of the options.
15816 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15818 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15819 $as_echo "$ac_cs_version"; exit ;;
15820 --config |
--confi |
--conf |
--con |
--co |
--c )
15821 $as_echo "$ac_cs_config"; exit ;;
15822 --debug |
--debu |
--deb |
--de |
--d |
-d )
15824 --file |
--fil |
--fi |
--f )
15827 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15828 '') as_fn_error $?
"missing file argument" ;;
15830 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15831 ac_need_defaults
=false
;;
15832 --header |
--heade |
--head |
--hea )
15835 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15837 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15838 ac_need_defaults
=false
;;
15840 # Conflict between --help and --header
15841 as_fn_error $?
"ambiguous option: \`$1'
15842 Try \`$0 --help' for more information.";;
15843 --help |
--hel |
-h )
15844 $as_echo "$ac_cs_usage"; exit ;;
15845 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15846 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15849 # This is an error.
15850 -*) as_fn_error $?
"unrecognized option: \`$1'
15851 Try \`$0 --help' for more information." ;;
15853 *) as_fn_append ac_config_targets
" $1"
15854 ac_need_defaults
=false
;;
15860 ac_configure_extra_args
=
15862 if $ac_cs_silent; then
15864 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15869 if \$ac_cs_recheck; then
15870 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15872 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15873 CONFIG_SHELL='$SHELL'
15874 export CONFIG_SHELL
15879 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15883 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15884 ## Running $as_me. ##
15890 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15895 AROS_CROSSTOOLSDIR=${AROS_CROSSTOOLSDIR}
15896 aros_tools_dir=${aros_tools_dir}
15900 aros_host_exe_suffix=${aros_host_exe_suffix}
15901 aros_tools_dir=${aros_tools_dir}
15902 aros_target_cpu=${aros_target_cpu}
15903 aros_target_arch=${aros_target_arch}
15904 aros_target_suffix=${aros_target_suffix}
15905 orig_target_nm=${orig_target_nm}
15906 orig_target_as=${orig_target_as}
15907 orig_target_ar=${orig_target_ar}
15908 orig_target_ranlib=${orig_target_ranlib}
15909 orig_target_objdump=${orig_target_objdump}
15910 orig_target_objcopy=${orig_target_objcopy}
15911 orig_target_strip=${orig_target_strip}
15912 aros_kernel_ld=${aros_kernel_ld}
15916 aros_host_exe_suffix=${aros_host_exe_suffix}
15917 aros_tools_dir=${aros_tools_dir}
15918 aros_target_cpu=${aros_target_cpu}
15919 aros_target_arch=${aros_target_arch}
15920 aros_target_suffix=${aros_target_suffix}
15921 aros_kernel_ld=${aros_kernel_ld}
15925 aros_host_exe_suffix=${aros_host_exe_suffix}
15926 aros_tools_dir=${aros_tools_dir}
15927 aros_target_cpu=${aros_target_cpu}
15928 aros_target_arch=${aros_target_arch}
15929 aros_target_suffix=${aros_target_suffix}
15935 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15937 # Handling of arguments.
15938 for ac_config_target
in $ac_config_targets
15940 case $ac_config_target in
15941 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
15942 "genmf-executable-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf-executable-support" ;;
15943 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15944 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
15945 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
15946 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
15947 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
15948 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
15949 "${aros_targetcfg_dir}/build.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/build.cfg:config/build.cfg.in" ;;
15950 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
15951 "compiler/include/geninc.cfg") CONFIG_FILES
="$CONFIG_FILES compiler/include/geninc.cfg:compiler/include/geninc.cfg.in" ;;
15952 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
15953 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
15954 "${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname") CONFIG_FILES="$CONFIG_FILES ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname:scripts/uname.in" ;;
15955 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
15956 "binutils-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS binutils-support" ;;
15957 "${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" ;;
15958 "elf-compiler-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS elf-compiler-support" ;;
15959 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
15960 "${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" ;;
15961 "host-compiler-wrapper-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS host-compiler-wrapper-support" ;;
15962 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
15963 "${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" ;;
15964 "${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" ;;
15965 "${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" ;;
15966 "${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" ;;
15967 "${aros_targetcfg_dir}/conf.cmake") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in" ;;
15969 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15974 # If the user did not use the arguments to specify the items to instantiate,
15975 # then the envvar interface is used. Set only those that are not.
15976 # We use the long form for the default assignment because of an extremely
15977 # bizarre bug on SunOS 4.1.3.
15978 if $ac_need_defaults; then
15979 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15980 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15981 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15984 # Have a temporary directory for convenience. Make it in the build tree
15985 # simply because there is no reason against having it here, and in addition,
15986 # creating and moving files from /tmp can sometimes cause problems.
15987 # Hook for its removal unless debugging.
15988 # Note that there is a small window in which the directory will not be cleaned:
15989 # after its creation but before its name has been assigned to `$tmp'.
15993 trap 'exit_status=$?
15994 : "${ac_tmp:=$tmp}"
15995 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15997 trap 'as_fn_exit 1' 1 2 13 15
15999 # Create a (secure) tmp directory for tmp files.
16002 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16006 tmp
=.
/conf$$
-$RANDOM
16007 (umask 077 && mkdir
"$tmp")
16008 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16011 # Set up the scripts for CONFIG_FILES section.
16012 # No need to generate them if there are no CONFIG_FILES.
16013 # This happens for instance with `./config.status config.h'.
16014 if test -n "$CONFIG_FILES"; then
16017 ac_cr
=`echo X | tr X '\015'`
16018 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16019 # But we know of no other shell where ac_cr would be empty at this
16020 # point, so we can use a bashism as a fallback.
16021 if test "x$ac_cr" = x
; then
16022 eval ac_cr
=\$
\'\\r
\'
16024 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16025 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16028 ac_cs_awk_cr
=$ac_cr
16031 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16036 echo "cat >conf$$subs.awk <<_ACEOF" &&
16037 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16039 } >conf$$subs.sh ||
16040 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16041 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16043 for ac_last_try in false false false false false :; do
16044 . ./conf$$subs.sh ||
16045 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16047 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16048 if test $ac_delim_n = $ac_delim_num; then
16050 elif $ac_last_try; then
16051 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16053 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16056 rm -f conf$$subs.sh
16058 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16059 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16063 s/^/S["/; s
/!.
*/"]=/
16073 s/\(.\{148\}\)..*/\1/
16075 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16080 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16087 s/\(.\{148\}\)..*/\1/
16089 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16093 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16098 ' <conf$$subs.awk | sed '
16103 ' >>$CONFIG_STATUS || ac_write_fail=1
16104 rm -f conf$$subs.awk
16105 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16107 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16108 for (key in S) S_is_set[key] = 1
16114 nfields = split(line, field, "@
")
16116 len = length(field[1])
16117 for (i = 2; i < nfields; i++) {
16119 keylen = length(key)
16120 if (S_is_set[key]) {
16122 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16123 len += length(value) + length(field[++i])
16134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16135 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16136 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16139 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16140 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16143 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16144 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16145 # trailing colons and then remove the whole line if VPATH becomes empty
16146 # (actually we leave an empty line to preserve line numbers).
16147 if test "x
$srcdir" = x.; then
16148 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16166 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16167 fi # test -n "$CONFIG_FILES"
16169 # Set up the scripts for CONFIG_HEADERS section.
16170 # No need to generate them if there are no CONFIG_HEADERS.
16171 # This happens for instance with `./config.status Makefile'.
16172 if test -n "$CONFIG_HEADERS"; then
16173 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16177 # Transform confdefs.h into an awk script `defines.awk', embedded as
16178 # here-document in config.status, that substitutes the proper values into
16179 # config.h.in to produce config.h.
16181 # Create a delimiter string that does not exist in confdefs.h, to ease
16182 # handling of long lines.
16184 for ac_last_try in false false :; do
16185 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16186 if test -z "$ac_tt"; then
16188 elif $ac_last_try; then
16189 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16191 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16195 # For the awk script, D is an array of macro values keyed by name,
16196 # likewise P contains macro parameters if any. Preserve backslash
16197 # newline sequences.
16199 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16201 s/.\{148\}/&'"$ac_delim"'/g
16204 s/^[ ]*#[ ]*define[ ][ ]*/ /
16211 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16213 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16217 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16218 D["\
1"]=" \
3\\\\\\n
"\\/p
16220 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16225 s/.\{148\}/&'"$ac_delim"'/g
16230 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16233 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16235 ' <confdefs.h | sed '
16236 s/'"$ac_delim"'/"\\\
16237 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16239 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16240 for (key in D) D_is_set[key] = 1
16243 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16245 split(line, arg, " ")
16246 if (arg[1] == "#") {
16250 defundef
= substr
(arg
[1], 2)
16253 split(mac1
, mac2
, "(") #)
16255 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16256 if (D_is_set
[macro
]) {
16257 # Preserve the white space surrounding the "#".
16258 print prefix
"define", macro P
[macro
] D
[macro
]
16261 # Replace #undef with comments. This is necessary, for example,
16262 # in the case of _POSIX_SOURCE, which is predefined and required
16263 # on some systems where configure will not decide to define it.
16264 if (defundef
== "undef") {
16265 print
"/*", prefix defundef
, macro
, "*/"
16273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16274 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16275 fi # test -n "$CONFIG_HEADERS"
16278 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16283 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16285 case $ac_mode$ac_tag in
16287 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16288 :[FH
]-) ac_tag
=-:-;;
16289 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16306 -) ac_f
="$ac_tmp/stdin";;
16307 *) # Look for the file first in the build tree, then in the source tree
16308 # (if the path is not absolute). The absolute path cannot be DOS-style,
16309 # because $ac_f cannot contain `:'.
16313 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16315 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16317 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16318 as_fn_append ac_file_inputs
" '$ac_f'"
16321 # Let's still pretend it is `configure' which instantiates (i.e., don't
16322 # use $as_me), people would be surprised to read:
16323 # /* config.h. Generated by config.status. */
16324 configure_input
='Generated from '`
16325 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16327 if test x
"$ac_file" != x-
; then
16328 configure_input
="$ac_file. $configure_input"
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16330 $as_echo "$as_me: creating $ac_file" >&6;}
16332 # Neutralize special characters interpreted by sed in replacement strings.
16333 case $configure_input in #(
16334 *\
&* |
*\|
* |
*\\* )
16335 ac_sed_conf_input
=`$as_echo "$configure_input" |
16336 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16337 *) ac_sed_conf_input
=$configure_input;;
16341 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16342 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16347 ac_dir
=`$as_dirname -- "$ac_file" ||
16348 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16349 X"$ac_file" : 'X\(//\)[^/]' \| \
16350 X"$ac_file" : 'X\(//\)$' \| \
16351 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16352 $as_echo X"$ac_file" |
16353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16357 /^X\(\/\/\)[^/].*/{
16370 as_dir
="$ac_dir"; as_fn_mkdir_p
16374 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16376 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16377 # A ".." for each directory in $ac_dir_suffix.
16378 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16379 case $ac_top_builddir_sub in
16380 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16381 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16384 ac_abs_top_builddir
=$ac_pwd
16385 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16386 # for backward compatibility:
16387 ac_top_builddir
=$ac_top_build_prefix
16390 .
) # We are building in place.
16392 ac_top_srcdir
=$ac_top_builddir_sub
16393 ac_abs_top_srcdir
=$ac_pwd ;;
16394 [\\/]* | ?
:[\\/]* ) # Absolute name.
16395 ac_srcdir
=$srcdir$ac_dir_suffix;
16396 ac_top_srcdir
=$srcdir
16397 ac_abs_top_srcdir
=$srcdir ;;
16398 *) # Relative name.
16399 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16400 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16401 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16403 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16415 # If the template does not know about datarootdir, expand it.
16416 # FIXME: This hack should be removed a few years after 2.60.
16417 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16428 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16429 *datarootdir
*) ac_datarootdir_seen
=yes;;
16430 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16432 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16434 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16435 ac_datarootdir_hack='
16436 s&@datadir@&$datadir&g
16437 s&@docdir@&$docdir&g
16438 s&@infodir@&$infodir&g
16439 s&@localedir@&$localedir&g
16440 s&@mandir@&$mandir&g
16441 s&\\\${datarootdir}&$datarootdir&g' ;;
16445 # Neutralize VPATH when `$srcdir' = `.'.
16446 # Shell code in configure.ac might set extrasub.
16447 # FIXME: do we really want to maintain this feature?
16448 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16449 ac_sed_extra="$ac_vpsub
16452 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16454 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16455 s|@configure_input@|
$ac_sed_conf_input|
;t t
16456 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16457 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16458 s
&@srcdir@
&$ac_srcdir&;t t
16459 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16460 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16461 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16462 s
&@builddir@
&$ac_builddir&;t t
16463 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16464 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16465 $ac_datarootdir_hack
16467 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16468 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16470 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16471 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16472 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16473 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16475 which seems to be undefined. Please make sure it is defined" >&5
16476 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16477 which seems to be undefined. Please make sure it is defined" >&2;}
16479 rm -f "$ac_tmp/stdin"
16481 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16482 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16484 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16490 if test x"$ac_file" != x-; then
16492 $as_echo "/* $configure_input */" \
16493 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16494 } >"$ac_tmp/config.h" \
16495 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16496 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16498 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16501 mv "$ac_tmp/config.h" "$ac_file" \
16502 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16505 $as_echo "/* $configure_input */" \
16506 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16507 || as_fn_error $? "could not create -" "$LINENO" 5
16511 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16512 $as_echo "$as_me: executing $ac_file commands" >&6;}
16517 case $ac_file$ac_mode in
16518 "genmf-executable-support":C)
16519 chmod a+x ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname
16520 chmod a+x ${aros_tools_dir}/genmf.py
16522 "binutils-support":C)
16523 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16525 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
16527 chmod a+x ${prefix2}-ld
16529 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
16530 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
16531 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
16532 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
16533 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
16534 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
16535 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
16537 "elf-compiler-support":C)
16538 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16540 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
16542 chmod a+x ${prefix2}-gcc
16544 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix2}-ld$aros_host_exe_suffix
16546 "host-compiler-wrapper-support":C)
16547 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
16549 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
16551 chmod a+x ${prefix2}-${toolchain_c_compiler} ${prefix2}-${toolchain_cxx_compiler} ${prefix2}-${toolchain_cpp_preprocessor}
16560 ac_clean_files=$ac_clean_files_save
16562 test $ac_write_fail = 0 ||
16563 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16566 # configure is writing to config.log, and then calls config.status.
16567 # config.status does its own redirection, appending to config.log.
16568 # Unfortunately, on DOS this fails, as config.log is still kept open
16569 # by configure, so config.status won't be able to
write to it
; its
16570 # output is simply discarded. So we exec the FD to /dev/null,
16571 # effectively closing config.log, so it can be properly (re)opened and
16572 # appended to by config.status. When coming back to configure, we
16573 # need to make the FD available again.
16574 if test "$no_create" != yes; then
16576 ac_config_status_args
=
16577 test "$silent" = yes &&
16578 ac_config_status_args
="$ac_config_status_args --quiet"
16580 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16582 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16583 # would make configure fail if this is the last instruction.
16584 $ac_cs_success || as_fn_exit
1
16586 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16588 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16593 #XXX compatability...
16594 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
16596 if test -n "$aros_shared_cflags" ; then
16597 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
16598 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg